Last 250 Comments

re: Daily Challenge #66- Friend List
Missed the point but thanks for playing. 😉 What’s potential...
re: Daily Challenge #66- Friend List
Thanks. It’s potentially too clever, but it does avoid the ...
re: What do you use for password management?
Been a pretty heavy 1Password user for a long time, still l...
re: Daily Challenge #66- Friend List
Just a naive Ruby method chain: s .upcase .split(/[;:...
re: What was your win this week?
Got accepted into the F# mentorship program. There were onl...
re: Follow Friday: Which DEVs would you recommend following?
Not a single user, but the AppSignal group often posts good...
re: Follow Friday: Which DEVs would you recommend following?
I only post F# stuff, turns out that's my gateway drug into...
re: Are You a Mediocre Developer? ME TOO
As someone who has done a lot of interviewing over the past...
re: Which fictional story (book, movie, etc.) is the best allegory for software development?
The Trial by Franz Kafka, about "a man arrested and prosecu...
re: Daily Challenge #64- Drying Potatoes
F#, but this will pretty much look the same in every langua...
re: Daily Challenge #63- Two Sum
F# The other solutions posted so far were O(n2 ), I opted...
re: Daily Challenge #63- Two Sum
My guess is it only evaluates combinations until it finds ...
re: Book giveaway: Phoenix for Rails Developers
I only had one copy, it's long gone.
re: Haskell for madmen: Setup
Also you can actually mark posts as belonging to a series, ...
re: Haskell for madmen: Setup
Great that you're continuing the series! This post has some...
re: Daily Challenge #60 - Find the Missing Letter
Sure, was just trying to have a discussion. Generally the p...
re: Daily Challenge #60 - Find the Missing Letter
Nice, but I think there are a few edge cases you might cons...
re: Daily Challenge #60 - Find the Missing Letter
F#: module MissingLetter let private missingLetter' lett...
re: What would you use as a sortable, globally unique, ID?
Was just talking about this recently and we settled on ULID...
re: Who wants to join the DEV Fantasy Football League?
Pass, but definitely in if you ever do a basketball one. Al...
re: Daily Challenge #57 - BMI Calculator
F#: module BMI [<Measure>] type kg [<Measure&g...
re: How much Dev.to owner (Ben) earning from this site?
How much do you earn from your job? In case you're not will...
re: Type Checking in Ruby — Check Yo Self Before You Wreck Yo Self
Glad you liked it, would be great if you can let us know ab...
re: Type Checking in Ruby — Check Yo Self Before You Wreck Yo Self
Between the AppSignal blog, Twitter and here only one perso...
re: Daily Challenge #56 - Coffee Shop
Am I missing something or is the import of isJust a leftove...
re: Daily Challenge #56 - Coffee Shop
F#, pattern matching + Option to make it at least a little ...
re: Book giveaway: Phoenix for Rails Developers
Gone already, sorry only had one voucher.
re: Book giveaway: Phoenix for Rails Developers
Gone already, sorry only had one voucher.
re: Book giveaway: Phoenix for Rails Developers
Gone already, sorry only had one voucher.
re: Book giveaway: Phoenix for Rails Developers
Alas it was first come, first serve, and Kartikey got there...
re: Apple wants to remove scripting languages from macOS
No Ruby or Python developer I know used the system versions...
re: Apple wants to remove scripting languages from macOS
Same for Ruby. macOS ships with 2.3.7, and 2.3 is EOL alrad...
re: Book giveaway: Phoenix for Rails Developers
Sent you a private message on here.
re: Daily Challenge #54 - What century is it?
Always nice to see another F# solution :-)
re: Daily Challenge #54 - What century is it?
This may be missing a couple of special cases: centurify(...
re: Daily Challenge #54 - What century is it?
Sometimes Rust and F# really show their common ML roots, se...
re: Apple wants to remove scripting languages from macOS
Generally I find the outdated preinstalled versions are jus...
re: Daily Challenge #54 - What century is it?
F#: module Century let private parseYear s = let n =...
re: What was your win this week?
Thanks Ben!
re: What was your win this week?
Wrapping up preparations for RubyConf Thailand next week.
re: Daily Challenge #53 - Faro Shuffle
F#: module FaroShuffle type Deck = string list let faro...
re: Function vs Object
Not sure what you mean, even the Wikipedia entry on closure...
re: Function vs Object
Closures aren't pure FP. Lambda calculus has functions w...
re: Daily Challenge #51 - Valid Curly Braces
F#: module BraceMatching type ParseResult = bool type P...
re: Which unproductive activities are typically mistaken for productivity?
Worrying about productivity. Not trying to be snarky, but y...
re: Reactgate Recap
This has been a frustrating situation in a few ways with m...
re: Where in the world do you DEV?
Like most of this bizarre city. Around 6 years in and I sti...
re: 10 simple Linux tips which save 50% of my time in the command line
Cool. Nobody is stopping you or your distribution from cust...
re: Where in the world do you DEV?
Wearing some DEV swag on the weekend:
re: Daily Challenge #47 - Alphabets
Perl6: sub alphabet-position(Str $text) { $text.lc()....
re: Daily Challenge #48 - Facebook Likes
F#: let likes names = match names with | [] ->...
re: Where in the world do you DEV?
Nice, enjoy! Sebastian (one of the co-organizers) was suppo...
re: Where in the world do you DEV?
View from the office window, 19th floor. We're on the outer...
re: Where in the world do you DEV?
View from the train station close to my house:
re: Daily Challenge #46 - ???
I know, that's why I wrote "especially with the character l...
re: Where in the world do you DEV?
Bangkok, Thailand. Been here for close to 6 years now. It's...
re: Daily Challenge #46 - ???
Ha, you probably confused some people there, especially wit...
re: Daily Challenge #45 - Change Machine
You’re absolutely right there, I had misunderstood the inte...
re: Daily Challenge #45 - Change Machine
A pure function is a function where the return value is on...
re: Daily Challenge #45 - Change Machine
F#: [<Measure>] type c let COINS = [ 25<c>; ...
re: Daily Challenge #41 - Greed is Good
Nice use of Ruby 2.7's pattern matching :-)
re: 10 simple Linux tips which save 50% of my time in the command line
Technically these are not "Linux commands", but builtins/fe...
re: Daily Challenge #43 - Boardgame Fight Resolver
One could also turn the fight itself into a type: type Pi...
re: Daily Challenge #43 - Boardgame Fight Resolver
This looks quite similar to my F# solution, I like it. :-)
re: Daily Challenge #43 - Boardgame Fight Resolver
F#: type Piece = Archer | Swordsman | Pikeman | Cavalry ...
re: Let's Get Clever #1: Fibonacci Sequence
No worries, Perl6 is a strange beast and most people don't ...
re: Let's Get Clever #1: Fibonacci Sequence
The code Christian posted above already does that, just rep...
re: 5 Powerful Programming Languages to Stretch Your Brain
how much it stretches your brain is subjective I find th...
re: 5 Powerful Programming Languages to Stretch Your Brain
While I like most languages on your list I'm not sure they ...
re: My 5 Favorite Software Design Principles 
Not sure if you're sarcastic here, but if you're not our un...
re: My 5 Favorite Software Design Principles 
M. Shemayev ...
re: Fullstaq Ruby: First impressions, and how to migrate your Docker/Kubernetes Ruby apps today
Funny, read your first paragraph, thought “sounds like REE”...
re: "Haskell for madmen" started
I can only come up with a clumsy workaround: Medium has a w...
re: "Haskell for madmen" started
I opened a MR for some typos/grammar, but I really wish the...
re: You Either Have It Or You Don't
Yes, I understand the difference. The question is if there’...
re: You Either Have It Or You Don't
correct me if I'm wrong, but clojure is a lisp and everyth...
re: You Either Have It Or You Don't
Good point, the way Java handles Optionals is something I d...
re: You Either Have It Or You Don't
While I generally find myself mostly agreeing with Rich Hic...
re: What are your computer’s specs? Which specs are particularly important to you?
My private computer is the current MacBook Air (16GB RAM). ...
re: What conferences are you most excited about this fall?
RubyConf Thailand because I’m coorganizing it. 😉
re: What’s the best vacation you’ve ever had?
There are many to choose from, but in the past few years ba...
re: What are you "old enough to remember" in software development?
Of course. I also remember how nervous I was when I first s...
re: My New Friends filter() and map()
A functor in FP is the thing that is mapped over (a typecla...
re: Daily Challenge #12 - Next Larger Number
No worries, the snippet is a bit dense. But what’s the po...
re: What Programmers Can Learn From Rappers
Ever heard of nerdcore?
re: What Programmers Can Learn From Rappers
I kind of envision myself in a “freestyle dis track” minds...
re: Changelog: Pin posts you want to feature to the top of your profile feed
Very nice new feature, Ben! BTW, sometimes the caching on t...
re: What's your greatest software development skill?
I feel you. The first computer I programmed on had 64k RAM ...
re: What's your greatest software development skill?
Over the past few years I realized that fucks are an invers...
re: Daily Challenge #12 - Next Larger Number
If a larger number cannot be composed using those digits, ...
re: Interest in a Haskell tutorial?
I haven't. But does it have what I'm looking for, i.e. buil...
re: Interest in a Haskell tutorial?
The reason that Haskell tends not to start with webservers...
re: Daily Challenge #12 - Next Larger Number
Read this, sat down, just typed the following into irb, see...
re: What's your greatest software development skill?
BTW, I don't think this book is particularly great, it coul...
re: What's your greatest software development skill?
re: The Power of Waking Up at 4:00 AM
I go to bed ~1:30am, wake up between 8:00am and 8:30am and ...
re: ELI5: Why self-host a compiler?
So, there is no direct influence on the generated code, li...
re: ELI5: Why self-host a compiler?
Ruby (C) isn't self-hosted, neither are Python (C), Lua (C)...
re: Haskell as Training Wheels
Spot on, though tradeoffs I’m happy to make. Escape hatches...
re: Haskell as Training Wheels
I think there's a definite place for both communities T...
re: Haskell as Training Wheels
My main gripe with Haskell is that IMHO there’s not enough ...
re: Do you have your next vacation planned?
I ALWAYS have at least one trip planned. Did 2 shorter ones...
re: There are 10 types of people...
Alas I can't remember where I originally found it, but I sa...
re: Two Programmers Walk Into a Bar...
I feel this should have been "Two programmers walk into a f...
re: There are 10 types of people...
Can't resist:
re: Revisiting old topics
Up to you of course, but then maybe rework the old posts mo...
re: Revisiting old topics
I’d leave the old posts and reference them from the new one...
re: Reverse an Integer - Code Challenge
I'd probably do this in Ruby: -123.to_s.gsub(/\d+/) { |m...
re: Convince me that types are awesome
No convincing from my part, use what feels good to you. But...
re: Yes, You Should Have Hobbies Outside of Code
Nothing special, I generally just do what I feel like. Some...
re: How often do you restart your computer?
OS updates. Power cuts.
re: Understanding Array.prototype.flatMap
Also, I need to learn what monads are. Less than most pe...
re: Understanding Array.prototype.flatMap
I mean I could also just have waived my hands and pretended...
re: What time of day are you most productive?
2-4pm for day job, 11pm to 1am for personal projects.
re: Understanding Array.prototype.flatMap
In the context of FP in languages like Haskell, flatmap is ...
re: Tell me some useless (or useful) software trivia
Array indexing didn’t always start at 0 (it still doesn’t ...
re: What's new and interesting in Java?
The animated GIF here sums it up quite nicely, especially i...
re: There's only one way to validate an email address
Works for me. Make sure you select PCRE as regex type and a...
re: There's only one way to validate an email address
Your regular expression is invalid; it's not good enough. ...
re: Which dotfiles (e.g. .bashrc, .vimrc) do you actually customize/depend on for your daily dev machine setup?
Oh, and since I'm slowly switching from Homebrew to Nix any...
re: Which dotfiles (e.g. .bashrc, .vimrc) do you actually customize/depend on for your daily dev machine setup?
github.com/citizen428/dotfiles + github.com/citizen428/nvim...
re: What was your win this week?
Late to the party, but this weekend we had the second PyCon...
re: What's your worst nightmare as a coder?
Not being able to code anymore. I'm serious, there are very...
re: Learning F# — A Simple Parser
Well, I made a "Dev.to F#" team on Exercism: teams.exercis...
re: Ruby 2.7: The Pipeline Operator
array.each {|cat, dog, hare, some_strange_name_here, some_...
re: Ruby 2.7: The Pipeline Operator
Like many other of the proposed 2.7 changes (pattern matchi...
re: Have you called your method object lately?
Over the past 10 or so years working with Rails I’ve seen t...
re: My Favorite Linux Tools
This made me remember an incident at work sometime around 2...
re: Learning F# — A Simple Parser
Thanks :) It's not very sophisticated and for anything less...
re: How do you manage your github notifications?
Only notifications page. To be fair we use a self-hosted Gi...
re: Are CSS and HTML programming languages?
Ok, I missed the server.rb file before, there are some shen...
re: Are CSS and HTML programming languages?
He uses Ruby to have a webserver that serves the HTML and C...
re: Are CSS and HTML programming languages?
Turing complete IMHO an overrated criterion. Many things...
re: Are CSS and HTML programming languages?
github.com/kkuchta/css-only-chat, impractical for sure, but...
re: Are CSS and HTML programming languages?
Does it really matter? github.com/kkuchta/css-only-chat ...
re: Have you called your method object lately?
When reading this, I thought Procto probably doesn't do muc...
re: Have you ever fought back against a task on the basics of ethics?
Yes. Told my back then employer that I’d rather resign. The...
re: AMA, Sam 10-yr Googler in Web DevRel
How do you feel about Chrome becoming so dominant that it'...
re: Haskell by example - Utopian Tree
While I have no problem with pointfree style per se and use...
re: What are you surprisingly terrible at, despite being otherwise competent?
lifehacker.com/macgyver-tip-use-yo...
re: How do you onboard a new team member?
Good to hear that your new hires get to visit HQ. Putti...
re: How do you onboard a new team member?
We worked on this process for a while, but it's pretty good...
re: How do you limit or avoid procrastination?
I embrace it. I have a full-time job, a wife I like spendin...
re: Project Euler #4 - Largest Palindrome Product
If your intention really is to learn then you'd be better o...
re: Project Euler #4 - Largest Palindrome Product
This code generates the sequence of all palindromes which a...
re: Project Euler #4 - Largest Palindrome Product
A naive F# implementation: let reverse (s : string) = s ...
re: What are your thoughts on the 4-day work week?
I love it. A few years ago I had a 30h/week job where I eit...
re: Yes, You Should Have Hobbies Outside of Code
Things I do besides coding: I spend a lot of time with my...
re: Learning F# — Binary Search Tree
I agree. As much as I like Haskell in general, I take pragm...
re: Who is hiring? (As of May 2019)
Go-Jek is hiring backend and mobile developers (Go, Ruby, J...
re: What are your worst coding habits?
If you start using —force-with-lease instead the habit beco...
re: What was your win this week?
3 weeks ago, I finally got a great mechanical keyboard (Leo...
re: Follow Friday: What DEV member would you recommend following?
One of my favorites was @mudasobwa , but he disappeared/got...
re: DEV Summer Style
Could you not have released the vintage hat a few days ago ...
re: Are most of your friends developers too?
If we open the definition a bit and also include SRE, DBA, ...
re: What's your commute like?
urbandictionary.com/define.php?ter... (definition 3): Hac...
re: What's your commute like?
Teenage Engineering Pocket Operator Googled it, I think ...
re: What's your commute like?
My standup is at 8:15 AM In Hacker Standard Time (HST) t...
re: What's your commute like?
30-40 minutes. The first 7-10 are walking to the train stat...
re: Fibonacci in Every Language
As much as I like Haskell in general, monadic IO really isn...
re: What are you "old enough to remember" in software development?
Haha, yes I was totally talking about X11 above. The early ...
re: What are you "old enough to remember" in software development?
Basic and 6502 assembly on a C64 (1991) The Borland Turbo ...
re: I'm joining the DEV team
Somehow I don’t find this surprising, but it’s still exciti...
re: Discuss: GitHub Special Event
Some Azure integration, potentially around CI/CD flows.
re: Ruby's Hidden Gems, Delegator and Forwardable
Glad you liked it :)
re: Microsoft will be shipping a Linux kernel with Windows
Speaking from the outside — I switched to Linux around the ...
re: Microsoft will be shipping a Linux kernel with Windows
Considering how many disgruntled Mac users there are right ...
re: How To Get Any Job You Want - A Guide To Employability Skills
Sorry if this sounds cynical, but IMHO a better approach is...
re: When Do You Become A Developer?
Self-doubt is pretty normal in any creative endeavor, a com...
re: You are the perfect interviewee. How would you design an events booking system in five minutes?
In one of our later interview rounds we have a similar ques...
re: RelaxedReader — A Firefox Addon to Fight Reading Anxiety
No worries :-) FIFO is a somewhat common term in computing,...
re: RelaxedReader — A Firefox Addon to Fight Reading Anxiety
First In First Out Fear Of Missing Out
re: What was your win this week?
This week, I managed to carve out some time to teach myself...
re: Google decides to not phase out Inbox!
Got me, I totally forgot about that. 😂
re: Google decides to not phase out Inbox!
Too obvious for April Fool's, Google never keeps the good p...
re: Joel is stepping down from Stack Overflow
Pretty much this. I'd happily give away some of my imaginar...
re: Joel is stepping down from Stack Overflow
I was super into it for a while, but that time ended many y...
re: Joel is stepping down from Stack Overflow
If you want to think so, be my guest.
re: Joel is stepping down from Stack Overflow
Yes, some sort of gradual decay is what I had in mind. It w...
re: Joel is stepping down from Stack Overflow
SO is quite flawed, the more rep you have, the more rep you...
re: What are your favorite programming language syntax features?
Most languages have something nice, but here are a few rand...
re: In Praise of Multiple DB setups and Rails 6
I haven’t looked closely at Rails 6 since I don’t really do...
re: How to find the max id in an array of objects in JavaScript
Be careful benchmarking on small datasets like this, result...
re: Minimal API in c
Probably best to look at the source code of Ulfius or a sim...
re: In Praise of Multiple DB setups and Rails 6
Last time I used multiple databases in a Rails app was for ...
re: How does it feel to be a junior developer
“How am I going to ask for help if I don’t even know what ...
re: Iteration, recursion, and tail-call optimization in Elixir
As you already noted, a tail-recursive function that doesn'...
re: Using A VPN
I've been with Nord for a couple of years now and just exte...
re: Mozilla launches Firefox Send (free encrypted file transfer)
This. Sometimes I get funny looks from people because I use...
re: Mozilla launches Firefox Send (free encrypted file transfer)
It's more an alternative to wetransfer.com/ and friends tha...
re: Last call! Be a co-author of the complete guide for junior devs
I'm interested.
re: How To Get Your First Web Dev Job With No Experience
That's my experience too. Though as mentioned, at my curren...
re: How To Get Your First Web Dev Job With No Experience
As someone who has done quite a few interviews from the oth...
re: What makes a 10x Developer?
git stash git pull git checkout -b my_new_feature git st...
re: Peacock v1 Released
Yes, the workaround would work, but I was looking for somet...
re: Peacock v1 Released
Nice idea. I work in a lot of different languages, would be...
re: Remove terrible bus routes (find an algorithm)
Hence “simple” not “efficient‘ 😉
re: Remove terrible bus routes (find an algorithm)
Here we go for a simple Ruby solution (I couldn't be bother...
re: Is programming for me?
More than 2 years in and I'm still second-guessing my abil...
re: Value objects in Ruby
Note that if you have pry-doc installed, you can also use s...
re: What was your win this week?
Sure can, just wait for next week's post. Or if you don't w...
re: Which game are you playing right now?
That's nice. While I do play games with my wife and friends...
re: What was your win this week?
This week, I... Released a new Crystal library Announced...
re: Easier usage of Rails 5.2 credentials and app-specific configuration
I currently don't use Rails, but when I did I usually added...
re: 5 Specific Actions to Achieve Success
Not sure, but I have a good Idea on how you don’t: overthin...
re: 5 Specific Actions to Achieve Success
What techniques do usually use for achieving your goals? ...
re: What was your win this week?
What can I say, I know my vintage sewing machines. 😉
re: What was your win this week?
I might be imagining things, but it looks like an old sewin...
re: Unraveling Classes, Instances and Metaclasses in Ruby
You hinted at classes being instances themselves, but I gue...
re: Would you program a human?
On the topic of ethics, I try not to include affiliate link...
re: What is your "Coder/Language Fit"
I seem to have struck a chord with Crystal these days, so ...
re: What is your "Coder/Language Fit"
I had a lot of fun with Clojure from 2009-2012 :-) Then I m...
re: What is your "Coder/Language Fit"
For many years my answer would have been Ruby. Nowadays I...
re: What is your job title?
Contract says "VP of Engineering", which is a reasonable ap...
re: Top 5 DEV Comments from the Past Week
Anyway, that's my take on it. It just really bothers me th...
re: Do you work on call?
Do you or your team work on-call? Yes, we do. Is there...
re: Automating code checks with overcommit
Apart from this being an interesting post, the hiring pitch...
re: Feature request: disable comments for the post
I do not want my readers (who are 99% not dev.to members) ...
re: Plug in JSON API Readonly Webserver
Nice library! But — and maybe this is just me — I really di...
re: Go Outta Here
I can actually write the code in almost any language witho...
re: Go Outta Here
The first few times I looked at Go, I felt almost exactly t...
re: The Three Ghosts of FizzBuzz: A Christmas Story
You might like this one too: ['FizzBuzz', 'Fizz', 'Buzz'...
re: AoC Day 5: Alchemical Reduction
Ruby solution for parts 1 & 2. Nothing special here, li...
re: Changelog: Mastodon URLs in profile
My original implementation didn't have a whitelisting mecha...
re: Changelog: Mastodon URLs in profile
You can make a PR and add the instance to the whitelist: g...
re: Changelog: Mastodon URLs in profile
You can make a PR and it to the following whitelist: githu...
re: Changelog: Mastodon URLs in profile
It's a URL, did you include the protocol part? This uses th...
re: Changelog: Mastodon URLs in profile
Are you missing the http:// bit?
re: Asynchronous Notifications in Postgres
For example two applications already connected to the same ...
re: Ruby/Ruby on Rails conferences to visit in 2019
Nice list, there's a dedicated website for this too: rubyco...
re: AoC Day 4: Repose Record
Had an afterwork event that included drinks which didn't mi...
re: Keep learning, should you invest your own time?
I spend a lot of my free time learning, not only work relat...
re: AoC Day 3: No Matter How You Slice It
Indeed :-) Of course this isn't really code I'd write for a...
re: AoC Day 3: No Matter How You Slice It
Part 1 and 2 in 25 lines of brute force Ruby: CLAIM_REGE...
re: Running multiple web application on a single web server with LXC
Docker is using the LXC technology. Docker switched from...
re: AoC Day 2: Inventory Management System
Parts 1 and 2 in Ruby: require 'set' box_ids = DATA.rea...
re: AoC Day 1: Chronal Calibration
This is my code for parts 1 & 2 in Ruby: require 'se...
re: Are there some good videos for learning Go?
Gophercises
re: Docker Best Practices: Images
You might find this interesting: dive - A tool for explorin...
re: Favourite albums to listen to while coding
If you like the ambient stuff by Aphex Twin, check out Losc...
re: Why is the software industry so competitive?
Downloaded the paper from Arxiv, will check it out when I h...
re: Clean Up Feed + Clean Up Notifier
I doubt anybody is going to change their tastes three time...
re: Clean Up Feed + Clean Up Notifier
The intention of the "0" button was to be able to change a ...
re: Clean Up Feed + Clean Up Notifier
I think tags should be given weight via a number as a prim...
re: Why is the software industry so competitive?
[citation needed] — What is the question based on, are ther...
re: Clean Up Feed + Clean Up Notifier
Maybe just open a PR, it's open source after all. I know yo...
re: Emulating "Private" Variables in JavaScript with Closures and Factory Functions
Despite the recent implementation of classes in JavaScript...
re: I am full-time blockchain developer for 6+ months, AMA!
I have quite a few questions, don't feel obliged to answer ...
re: How I'm dealing with Imposter Syndrome and Stress
Missed this last comment until now, but that only works if ...
re: Rails quick tips #4: Keep your bundle secure with bundler-audit
Nice! The founder's a good friend of mine, he'll be happy t...
loading...