Tag: programming
-
Beating Children at Mastermind
Sick of losing Mastermind to his kids, Dan cheats by implementing a brute-force solver he can run on his phone.
-
Bash+Batch In One File
A single file that can be executed in Bash, Zsh, Windows Command Prompt, and MS-DOS? Yup, and it's disgusting.
-
Pronouns in Three Rings
Via a quick linguistics lesson, Dan explains how Three Rings handles volunteers' pronouns, and how it might need to improve in future.
-
Making an RSS feed of YOURLS shortlinks
After switching his personal shortlinks from S.2 to YOURLS, Dan dusts off his XSLT experience to make himself an RSS feed of his shortlinks!
-
Quickly Solving Jigidi Puzzles
Forced with a digital jigsaw puzzle to unlock the location of a geocache... Dan resorts to hacking.
-
Higher/Lower Datepicker
Can Dan make an even-worse "date of birth" field than those spinner ones?
-
Getting Twitter Avatars (without the Twitter API)
Twitter's API sucks so hard that Dan resorts to screen-scraping for avatar images rather than bothering to use it "properly".
-
Ireland and the UK Aren't In The Same Timezone!
Dan is surprised to find that Ireland isn't actually in the same timezone as the UK, and looks into how any why this is.
-
Big List of Naughty Strings
# Reserved Strings
#
# Strings which may be used elsewhere in code
undefined
undef
null
NULL
...
then
constructor
\
\\
# Numeric Strings
#
# Strings which can be interpreted as numeric
0
1
1.00
$1.00
1/2
1E2
...
Max Woolf
Max has produced a list of "naughty strings": things you might try injecting into your systems along with any fuzz testing you're doing to check for common errors in escaping, processing, casting, โฆ -
OpenAI-powered Linux shell uses AI to Do What You Mean
River implements an OpenAI-powered Linux terminal. Just tell it what you want, let it work out what commands are needed!
-
The most important feature of Sublime Text
Nikita Prokopov shares his favourite feature of Sublime Text. It's one of Dan's favourite, too.
-
Break Into . Us (lock puzzle game)
Some people, when faced with a puzzle, try to solve it. Dan tries to recreate it. That's how he wrote his latest game: Break Into Us.
-
Third-party libraries and security issues
A month or so ago Chris Ferdinandi recommended that developers avoid third-party libraries for security reasons. Dan partially-agrees, but feels the need to explain where and why he disagrees too.
-
The 7 Types Of StackOverflow Answers
StackOverflow's a great resource, but it's also a terrible one. Dan explores the seven types of answers you'll get to any question you post to the site.
-
An app can be a home-cooked meal
Author Robin Sloan tells the story of the app he wrote just for his family, and Dan reflects on his own experience of making apps for audiences of few (or one!).











