All 138 Comments

re: Terrible Interview Questions
When I worked for Surevine, "Cat or Dog?" was a normal inte...
re: Terrible Interview Questions
What's wrong with it is that you can't validate an email ad...
re: Versioning in APIs
Pretty much every major protocol and API has tried to do th...
re: what is the proper way for api versions
Never use versioning, loosely. I was going to explain why i...
re: [C++ CODE] First Non Repeating Char in String
I'd have thought this would be effective: std::string::v...
re: I'm a Visual Studio PM at Microsoft, working on developer services like Live Share. Ask Me Anything!
Right, that makes sense - it gives you, in effect, a much s...
re: An Absolute Beginner Learns React, Part II
That comma wasn't a typo - Javascript (like many scripting ...
re: I'm a Visual Studio PM at Microsoft, working on developer services like Live Share. Ask Me Anything!
Hi Jonathan. I'm so old I remember when Google was good and...
re: What's your favorite coding joke/comic etc?
"There are 2 hard problems in computer science: cache inval...
re: 15 Git Commands You May Not Know
Oh, I didn't know about the --patch to stash and checkout, ...
re: A Complete Beginner's Guide to Programming
I always thought it was a Harry Harrison reference.
re: Joel is stepping down from Stack Overflow
So, Ben - have you applied yet?
re: On Salary Negotiations
Loads of great advice here. There's another two tricks in ...
re: Do you know who really owns your code?
Thanks for writing this. You're absolutely right that this ...
re: There is No U in CRUD
I stumbled onto this via Twitter, and I agree wholeheartedl...
re: Fibonacci++
No, I think you're right - in most cases, the allocators th...
re: Beware of Python dict.get()
Checking the return value properly. Or, just going for it a...
re: What's your desk setup?
Portrait screens FTW. I use one for web browsing, lots of f...
re: Fibonacci++
The timer reports in whatever it feels like. More boringly,...
re: Is it safe to host many droplets in one digital ocean account?
I would: Divide your operation deployments into "staging"...
re: Χ—ΧœΧ•ΧŸ ΧͺΧ•Χš Χ§Χ©Χ¨Χ™ מ׀Χͺחים
Is it just me or is this failing to do RTL properly? (Not t...
re: Yes, I still fall victim to Imposter Syndrome
I slouch corrected. English is always delightful at support...
re: Double Pointers in C/C++
A struct is several bytes long, and you'd need to add in th...
re: C++ References
A reference is, of course, a bit of syntactic sugar for a p...
re: C++ References
It will be int&, I think: en.cppreference.com/w/cpp/lan...
re: Programming in the Adult Entertainment Industry II
I really wish you'd replace that. It was a fascinating disc...
re: Yes, I still fall victim to Imposter Syndrome
I say I've got Impostor Syndrome, but honestly I think I'm ...
re: What would your ideal developer interview process look like?
Well, Surevine are 100% remote, and work with Government, s...
re: You're Not An Impostor
See also: dev.to/dwd/living-with-impostor-sy...
re: The Many Masks of `const`
Glad you found it interesting. But the casts aren't inhere...
re: The Many Masks of `const`
Impossible, eh? Strong words. On a member function, the su...
re: What would your ideal developer interview process look like?
I would run interviews like this: surevine.com/a-day-in-th...
re: Fantastic Passwords and how to generate them
I would highly recommend using a verified online password p...
re: Programming in the Adult Entertainment Industry is Broken
Damn it. I spent a while just now looking for this exact po...
re: Impostor Syndrome.
You're a developer with a marketing and design background? ...
re: Living with Impostor Syndrome
So, folks, listen up! I've had the privilege to have been ...
re: What's wrong with this code?
const. I hate const in Javascript, because it's not const a...
re: Code price-tag
There are three ways of pricing anything: Comparative Pri...
re: Survey: Lack of install access to dev computer: show stopper or storm in a teacup?
Vital. Yes, but not hugely. The restrictions we have are t...
re: Living with Impostor Syndrome
I think I agree with you. So maybe I don't. Damn, this st...
re: Living with Impostor Syndrome
Impostor Syndrome is, explicitly, an internally generated t...
re: I'm planning to ditch my MacBook and move away from laptop computing
Surevine gave me a MacBook Pro when I joined, and I've spen...
re: Advice for a new entrepreneur?
Imposture Syndrome is when you stand badly, right? (Serious...
re: 2FA, SMS, and you
U2F is great because it's a relatively cheap hardware dongl...
re: Challenge: Write the recursive Fibonacci algorithm in a different language.
#include <iostream> constexpr long long fibonacci(lo...
re: Challenge: Write the recursive Fibonacci algorithm in a different language.
#include <iostream> template<long long i> long...
re: Challenge: Write the recursive Fibonacci algorithm in a different language.
def fib(arg): curr, prev = 1, 1 n = int(arg) if n != ...
re: 2FA, SMS, and you
OK, mostly I agree with this, but - and a big but - SMS-bas...
re: SHE CAN CODE!
Actually, I call all of them programming, I was just lettin...
re: Using Python's Type Annotations
Actually it's much cleverer than having a comment: Your I...
re: SHE CAN CODE!
Oh, there were some guys involved too, I think.
re: SHE CAN CODE!
In the old days, electronic computers fell into two camps -...
re: SHE CAN CODE!
There's plenty of role models to follow - people who defini...
re: Who Tests Code
At Surevine, we have Test Engineers as part of the developm...
re: Being average in > 1 things is easier and more valuable than being excellent at 1 thing.
Just to add one thing: It's much much easier to go from bei...
re: Why I'm (not) an Asshole
Yup, I have a copy on my bookshelf. Good old Dale even chan...
re: Why I'm (not) an Asshole
I was, it must be said, writing somewhat tongue-in-cheek. I...
re: Microsoft buying GitHub: Am I being naive ?
Please join my professional network on Github.
re: Microsoft GitHub Acquisition: Thoughts of a Full-time Open Source Developer
You do know that Github is a company, with shareholders, an...
re: What does "Big-O notation" mean anyway?
Well, yes, or at least sort of. So if an algorithm takes a ...
re: How do you clean your screen, keyboard, etc?
Don't. Look. Under. Your. Mouse. So my keyboard gradually ...
re: Git Submodules Revisited
When you checkout a project's commit, you also checkout the...
re: Git Submodules Revisited
For us, the problem wasn't when committing individual depen...
re: Git Submodules Revisited
No, I didn't find that section - I found the sections on --...
re: Git Submodules Revisited
Yeah, that was pretty much the conversation at Surevine. I ...
re: Do online video streaming sites use TCP or UDP
Short answer: Neither directly. Mostly HTTP (and thus TCP) ...
re: Cryptoheist!
There is literally no way that an ISP could detect a BGP hi...
re: Write a function that shows off something unique or interesting about the language you're using
And another one. C++ can do some pretty impressive things a...
re: Write a function that shows off something unique or interesting about the language you're using
So does C: int a = 1, b = 999; a ^= b; b ^= a; a ^= b; ...
re: Cryptoheist!
That's possible. I'd note it's only Google doing this switc...
re: Creatively Display Time
github.com/dwd/about-time So this one was an interesting c...
re: Open layout vs closed layout? Something in between? What's the ideal office layout?
I like a desk in one corner, and an old armchair my dogs sl...
re: I'm a UX UI developer, ask me anything!
So, as a PROGRAMMER WHO HAS SPENT YEARS AT THE BOTTOM OF TH...
re: Standards Are Boring
Thanks for the enormous comment - I feel I owe an equally e...
re: Write a function that shows off something unique or interesting about the language you're using
Yeah - sorry, meant to demonstrate that you can attach a fu...
re: Write a function that shows off something unique or interesting about the language you're using
Right - something like this is fine: class Foo { meth...
re: Write a function that shows off something unique or interesting about the language you're using
Javascript... Yes, Javascript is a barrel of pure quirk. Ju...
re: Write a function that shows off something unique or interesting about the language you're using
Lots of languages support that, including most obviously Ja...
re: I’m Ben and I am a Rails developer
Or, from Blaine Cook, who I'd see as a slightly more reliab...
re: I’m Ben and I am a Rails developer
I genuinely had no idea Rails was thought of as anything ot...
re: Write a script to find permutable prime numbers
So this doesn't sort... But on the other hand it uses recur...
re: Standards Are Boring
Oh, I don't know. Making something truly boring takes a a l...
re: What I've Learned After Working Remotely for 10+ Years
I don't. But at Surevine, where I work, we make a point of ...
re: What I've Learned After Working Remotely for 10+ Years
I work in a completely remote team. It's great for cases li...
re: What I've Learned After Working Remotely for 10+ Years
I've been working remote since, erm, around 2002. Totally a...
re: I Have Beef With Accelerated Mobile Pages
Back in the good old days, when Google wasn't evil and Micr...
re: Replace operating system shell/explorer on Linux and Apple systems.
For the command line shell, there's an actual command to do...
re: How Lua Banished the Semicolons
You missed a full stop at the end, there. twitches
re: How Lua Banished the Semicolons
Now, I rather like semicolons. I think they provide the pun...
re: Blogging My Programming Challenges
Now, my problem would have been that I have, after two deca...
re: What does "Big-O notation" mean anyway?
I'm sorry, but I'm going to entirely disagree with the prim...
re: Which mainstream programming language has the ugliest syntax?
Well, obviously Perl. There was a long-running gag that Per...
re: Self-Deprecation Needs to πŸ›‘
Ah... A few thoughts: Claiming that something which is ac...
re: Say "hello world" your own way.
I confess to not having done this in a while, but mine's a ...
re: Authentication and Authorization
So, years ago, at FOSDEM, I did a talk on Authentication an...
re: A unicode substitution cipher algorithm
β’βŽ„βŽβ΄βŒ½βŒ―β™βŽ„βŽ‚βŽƒβŒ―βŽβ΄βΌβ΄βΌβ±β΄βŽβŒ―βŽƒβΎβŒ―β΄β½β²βΎβ³β΄βŒ―βŽˆβΎβŽ„βŽβŒ―βŽ‚βΏβ°β²β΄βŽ‚βŒ―β½β΄βŽ‡βŽƒβŒ―βŽƒβΈβΌβ΄βŒ½
re: If you could write a programming language how would it be?
You like those scoping rules? You think hoisting is in any ...
re: A unicode substitution cipher algorithm
>>> u''.join([ c if c == ' ' else unichr(ord(c) - ...
re: What are the best options on the market for external computer monitors?
Dell. I have five around the house - two are cheap ones, n...
re: Is Bitcoin vulnerable to a "bank run"?
You're asking entirely the wrong audience. We're computer p...
re: Why do people like Perl?
While I was at university - so about 20 years ago now - I d...
re: Imposter Syndrome: PHP Edition
I used to love PHP. But then it broke my code on a minor ve...
re: On Science and Software Development
No, Mathematics isn't a science, because it relies on forma...
re: short-circuits && clean code
I think it comes down to idiom. Idioms in programming are ...
re: On Science and Software Development
This makes a vast amount of sense. I'm almost tempted to re...
re: Which Programming Language To Learn?
You say you want to learn a strong typed low level language...
re: How do you learn a new programming language?
I have to admit, I've not learned new languages recently - ...
re: Is testability a reason to change your design?
Absolutely - a working test suite is a great way to get con...
re: Are global variables bad?
It's more that code with unknown side-effects is bad. Globa...
re: Moving your workflow to Linux
Also Docker. Docker's native on Linux. On a Mac, for instan...
re: Is testability a reason to change your design?
I think that "BECAUSE TEST!" is roughly the same as "BECAUS...
re: Is git the be all and end all of version control?
Subversion... I used to dream of Subversion. I had to use C...
re: Is git the be all and end all of version control?
For developers new to Git, I like to tell them that Git is ...
re: How do you populate your development databases?
Ah, so, a little story, that won't answer your question in ...
re: Do you ever get frustrated with your Junior Developer(s)?
Sometimes I get frustrated. Then I take a deep breath, and ...
re: What should I do when I get hit on by colleagues?
Want a man's perspective? So, first, let me make some assu...
re: Kerberos explained in pictures
See also: web.mit.edu/kerberos/dialogue.html
re: How to store an email archive?
Archiveopteryx. It's an IMAP server backed onto a SQL data...
re: Explain WebSockets like I'm five
One day, some clever people were looking at a river, and wo...
re: I think I love you
And to chip in as well: This is an impressive community he...
re: When and how do you make time to learn?
I'm a little bit worried about the "YOU MUST NOT ENJOY ANYT...
re: What are the most interesting, readable software books?
So glad someone else recommended this. But yeah, the last e...
re: What are the most interesting, readable software books?
Not hardcore programming - which is just as well since it r...
re: Debug Like a Champion
See also: Debugging with Bacon.
re: Emojifying my Bash Prompt (and why you should too)
Nice. I'm now tempted to change from thumbs-up to thumbs-do...
re: Getting stand-ups right
I agree, wholeheartedly. The point of Agile was to use the ...
re: Non isomorphic C++ refactoring
I'd make safe.open(...) return a Door as a guard. Maybe: ...
re: Non isomorphic C++ refactoring
OK, I'll bite. RAII uses a clean-up action which occurs at ...
re: Brief(ish) explanation of how https works
Which I've done: Licensed Revoked; Certificate Status Check...
re: Brief(ish) explanation of how https works
This is a really nice article. By way of a little history, ...
re: On Walking before Running
Air crashes are more interesting than computer crashes. Mos...
re: On Walking before Running
Now that's an interesting point. And no, it's not as if I t...
re: How to be a Follower
I am such a grump, sorry. Management and leadership are t...
re: Why using Yoda conditions you should probably not be
Agree do I. Yoda conditions I used as well. Better tools we...
re: How to be a Follower
OK, grumpy old man cynicism coming. It's not empowering pe...
re: What fonts do you use in your editor(s)?
I use Comics Sans, just for the look on people's faces when...
re: Share Your Experiences with Impostor Syndrome
I am, actually, an impostor, having no qualifications at al...
re: What are the skills that a public school Computer Science teacher should possess?
Teach the kids to debug. I just can't emphasise this enough...
loading...