~/devreads

#stack overflow

11 posts

7 Jan 2025

Jeff Atwood 11 min read

We are at an unprecedented point in American history, and I'm concerned we may lose sight of the American Dream.

activismcharitable givingnonprofit organizationsamerican dreamstack overflow

22 Oct 2018

19 Sept 2018

jonskeet 1 min read

This is more of a quick, explanatory “heads-up” post than anything else. On March 31st 2018, I started an experiment: I created a new Stack Overflow user called “Daisy Shipton” with no picture and a profile that just read “Love coding in C#” (or similar). I wanted to see how a new user presenting with … Continue reading Farewell, Daisy…

stack overflow

17 Mar 2018

jonskeet 9 min read

This blog post was most directly provoked by this tweet from my friend Rob Conery, explaining why he’s giving up contributing on Stack Overflow. However, it’s been a long time coming. A while ago I started writing a similar post, but it got longer and longer without coming to any conclusion. I’m writing this one … Continue reading Stack Overflow…

stack overflow

26 Apr 2017

jonskeet 2 min read

This is a brief post documenting a very weird thing I partly came up with on Stack Overflow today. The context is this question. But to skip to the shock, we end up with code like this: That just shouldn’t happen. You shouldn’t be able to create an instance of an open type – a … Continue reading Surprise! Creating…

c#evil codestack overflow

23 Apr 2017

jonskeet 6 min read

This post is an attempt to reduce the number of times I need to explain things in Stack Overflow comments. You may well be reading it via a link from Stack Overflow – I intend to refer to this post frequently in comments. Note that this post is mostly not about text handling – see … Continue reading All about…

javastack overflow

7 Nov 2015

lukaseder 1 min read

A very interesting problem that can be solved very easily with SQL is to find consecutive series of events in a time series. But what is a consecutive series of events in a time series? Take Stack Overflow, for example. Stack Overflow has a cool reputation system that uses badges to reward certain behaviour. As … Continue reading How to…

sqlconsecutive eventsstack overflowtime serieswindow functions

5 May 2015

jonskeet 7 min read

There are many, many questions on Stack Overflow about both parsing and formatting date/time values. (I use the term “date/time” to mean pretty much “any type of chronlogical information” – dates, times of day, instants in time etc.) Given how often the same kinds of mistakes are made, I thought it would be handy to … Continue reading Common mistakes…

generalnoda timestack overflow

8 Aug 2014

jonskeet 3 min read

I started writing a post like this a long time ago, but somehow never finished it. Countless posts on Stack Overflow are vulnerable to SQL injection attacks. Along with several other users, I always raise this when it shows up – this is something that really just shouldn’t happen these days. It’s a well-understood issue,and … Continue reading The BobbyTables…

c#evil codestack overflow

3 Jun 2014

jonskeet 4 min read

(Note that I’m not talking about "processing collections in parallel, which is definitely not an anti-pattern…) I figured it was worth starting to blog about anti-patterns I see frequently on Stack Overflow. I realize that some or all of these patterns may be collected elsewhere, but it never hurts to express such things yourself… it’s … Continue reading Anti-pattern: parallel…

anti-patternsstack overflow

20 Jan 2014

jonskeet 6 min read

I see a lot of problems which look somewhat different at first glance, but all have the same cause: Text is losing “special characters” when I transfer it from one computer to another Decryption ends up with garbage Compressed data can’t be decompressed I can transfer text but not binary data These are all cases … Continue reading Diagnosing issues…

diagnosticsgeneralstack overflow