Last 250 Comments

re: Can I Get Some Feedback? (Moment.js in particular)
Check out Mocha's in-browser test harness. It has you set u...
re: dev.to karma rank
Karma opacity is a feature not a bug imo.
re: ELI5: What is IDE or an IDE?
It stands for "integrated development environment". An IDE ...
re: Is it necessary to learn touch typing?
It's only necessary if I have to sit and watch you hunt and...
re: What advice would you give someone looking to use their keyboard more and their mouse less?
Look for tools that support keyboard-driven workflows (vim,...
re: I'm joining the DEV team
Congrats! :)
re: One of those wtf moments when using docker
It still seems like you're going to a lot of trouble for it...
re: Can I Get Some Feedback? (Moment.js in particular)
Instead of going by feel or trial and error, why not write ...
re: Docker everywhere is not a good thing.
Use volumes!
re: Discuss: How should you handle errors in your library code?
That's understood! The important principle here is that a l...
re: Discuss: How should you handle errors in your library code?
Throw or reject, all the way. Libraries generally shouldn't...
re: [SOLVED] How I use a synchronous queries with mongoose on NodeJS with ExpressJS
Unless it's in the code you've omitted, you aren't actually...
re: Show me some bad web accessibility on major sites.
You might have an easier time using a purpose-built tool si...
re: SQL pronunciation
Either way is fine; the "sequel" pronunciation is more comm...
re: What Makes Good Developer Tools... Good?
It's all about net decrease in friction: REPLs give insta...
re: How can I make slides beautiful without a Mac?
There are a lot of things you can do, and a lot of dirty tr...
re: How can I make slides beautiful without a Mac?
I'm not the best person to talk about this seeing as I've u...
re: Documentation automation
I wrote something about this a while back; some of it's Git...
re: Music & Coding: let's take a survey
Not really, the black metal - dark ambient connection is pr...
re: What new language/tool/etc. have you been meaning to learn but haven't gotten around to yet?
I keep wanting to learn a Lisp or other solely-functional l...
re: Age of programmers, have you experienced drawbacks?
Ageism's a thing. IBM got caught recently trying to specifi...
re: How do you manage your dotfiles across multiple and/or new developer machines?
I use dotbot with mine.
re: What do you think of an #offthecuff tag for stories written spontaneously and without editing?
#healthydebate's been around for a bit but isn't super popu...
re: Jenkins: a job to check a Github organization’s public repositories list
Neat idea! Are you using Jenkins over cron/SystemD timers j...
re: I started using VIM a few weeks ago, now I am addicted. Ask Me Anything!
If you haven't, check out surfingkeys!
re: Hiring process: should I review some candidate's code looking for errors or potential for being better?
You didn't mention what benefits led your organization to a...
re: How and when to add foreign key constraints
Most databases don't automatically index foreign keys! MySQ...
re: Editor choices through the years?
I checked out Atom on the recommendation of a colleague and...
re: You are the perfect interviewee. How would you design an events booking system in five minutes?
Stop thinking about perfection! A perfect opportunity to de...
re: Editor choices through the years?
the dawn of time: Windows Notepad, QBasic ~2000: Notepad++ ...
re: Internship/Unpaid or Hold out for Entry-Level?
Don't work for free and don't let people take advantage of...
re: Explain Sass Like I'm Five
I've built some fairly complex workflows with Grunt and Gul...
re: How to write this SQL select the best way?
O/RMs don't help with this kind of situation. They operate ...
re: How to write this SQL select the best way?
select bom_id from line where item_id = 'KetchupBottle' or ...
re: Differences Between SQL And NoSQL Databases
There's a lot more to NoSQL than you've gotten into here, w...
re: How do you feel about chasing internet points, badges and the gamification of everything?
Some less-than-organized thoughts: internet points are cu...
re: Explain Sass Like I'm Five
I'm more familiar with Less but they're both CSS preprocess...
re: I am a Database Architect, Ask Me Anything!
How do you see the classical DBA role (robes, incense, occu...
re: MySQL/MariaDB: like a Petya ransomware for MySQL and ‘root’@’%’ access
I'm kind of amazed I hadn't heard of unsecured databases be...
re: Why Unix is everywhere?
There were plenty of other operating systems. What happened...
re: Tell me about a time you messed up
Last week I set up a load balancer to automatically forward...
re: I am an Industrial Automation engineer, Ask Me Anything!
Yeah, it's an RF tag reader. We were using it to track pall...
re: I am an Industrial Automation engineer, Ask Me Anything!
Have the Moby drivers gotten any easier to work with since ...
re: "Don't be evil" is not good enough
Google quietly dropped "don't be evil" last year. An indus...
re: Introduction to backend development for newbies!
@robmatyszewski you might think about the feedback that yo...
re: Introduction to backend development for newbies!
It's frustrating to see mom-in-the-abstract still being use...
re: Do you struggle with anxiety when you apply and interview for jobs? If you do, how do you deal with it?
Jobhunting sucks no matter what, but it gets less intimidat...
re: I got my first job and it's a contract, what now?
It sounds like you're working with several people who will ...
re: Have you ever quit a job without anything else lined up?
2008 was a bad time to work at a startup focused on commerc...
re: thefuck and Other Funny Useful Tools
tldr is fantastic when you just need to know which flag to ...
re: How to read others' code?
Have you seen ?
re: Is using git without the command line cheating?
It's not cheating, but plugins and graphical tools hide a l...
re: Is it possible to share npm packages between multiple projects
Look into lerna.
re: Earn a Build Passing Badge on GitHub ✅! Testing Your Express App with Travis CI
I used Travis years back and while I liked it quite well, t...
re: When you say you know a particular front-end language, library, or framework, what does that mean?
What does knowing mean? You can look at programming langua...
re: What's the last piece of software that you paid money for?
I'm a very fast touch-typer and mousing slows me down + isn...
re: What's the last piece of software that you paid money for?
I think the last one for me was renewing my IntelliJ licens...
re: Things to (not) do when starting first time as a project lead
I've led small teams on one project, large teams on many pr...
re: Hacktivism in the 2019 Political Landscape: An infosec consultant's response to Reuters' piece on Beto O'Rourke
The news that O'Rourke was in the CDC & therefore presu...
re: How Do You Name Your Boolean Variables?
Hungarian notation is dead and good riddance to it, but for...
re: My comment was marked as violating code of conduct. Why?
In the circumstances I think "what kinds of questions are y...
re: My comment was marked as violating code of conduct. Why?
I think that's an uncharitable characterization of Pavel's ...
re: Changing job - How often is too often?
Holy crap, that's up there with the Gulf state practice (no...
re: Changing job - How often is too often?
Do you know if those minimum term contracts have been teste...
re: What’s an unpopular software opinion you have?
Server-rendered templates now, server-rendered templates fo...
re: A subtle and clever way to prevent adblocks
It'd be more efficient and probably more effective, seeing ...
re: What is your advice for a senior engineer with 10 years of experience?
I started as a student intern at a commercial lending start...
re: What is your advice for a senior engineer with 10 years of experience?
Short answer: yes. A broad base of skills is an asset, but ...
re: Should you reply to all LinkedIn messages from recruiters?
I've worked with good recruiters! I'm glad you all are out ...
re: Find longest word in a given string
CREATE OR REPLACE FUNCTION get_longest_word (val TEXT) RETU...
re: Facing a bad time to decide what to do next?
good luck!
re: Facing a bad time to decide what to do next?
Put together a resume, if you don't already have one. Your...
re: Should you reply to all LinkedIn messages from recruiters?
You aren't hurting anybody's feelings when you leave a recr...
re: When can you safely make an assumption when developing anything?
1) Never. In practice, you have to. Risk management is the ...
re: If blockchain is the big new thing, why does it smell like snake oil?
One note: energy usage isn't a blockchain problem, it's a p...
re: Challenge: Get Closest Number in an Array
I looked at it again just now and the row_number is redunda...
re: Challenge: Get Closest Number in an Array
Window functions! SELECT unnest FROM unnest(ARRAY[100,20...
re: What is the easiest programming language to learn?
SQL! You only have to know four commands :D ....no, there ...
re: ‪How often have you created a state machine diagram?‬
At my last job I developed a criteria-driven state machine ...
re: The Curious Case Of Self-Exploitation
I haven't read Han's book but Franco Berardi's 2009 The Sou...
re: Roman Numeral Converter
The way it works is by subtracting until you can add based ...
re: Roman Numeral Converter
The last code test I took for an interview involved writing...
re: Best Tutorial For Java & SQL?
When it's time to bring Java in, look at MyBatis. Object-re...
re: What is self-hosting, and is there value in it?
As long as a language is Turing-complete, a self-hosting co...
re: Best Tutorial For Java & SQL?
I'd concentrate on learning basic database concepts and hon...
re: Best Tutorial For Java & SQL?
Java's bigger than Oracle, and the omnipresent fear of lice...
re: Best Tutorial For Java & SQL?
Where does Java come into the picture? You can learn SQL on...
re: If you're building for 'scale', what would your approach look like?
So much of building high-capacity and high-workload systems...
re: Get Yourself Profiled
Same -- I've rated INTJ, INFP, and I think ENFP once. I do...
re: How not to lint your code?
I've used ESLint for years; I keep telling myself I'll swit...
re: Dropping the working database (NO! NO! NO!)
It's a rite of passage. Welcome! And next time use a migrat...
re: What can developer learn from taking art classes
I took almost as many studio arts classes as I did programm...
re: Is there such thing as a bad programming language?
When people say a programming language is "bad", what they ...
re: Help gathering data
The first step is getting as many programs and resources in...
re: 10 best practices to protect your users’ data (and why they’re still not sufficient)
Requiring periodic rotations is another bit of conventional...
re: In programming, is it better to have many small files or one large file?
The idea of "files" is, for the most part, an abstraction d...
re: broot, a new way to browse directories
This is neat! I don't know if there's really an "interactiv...
re: Minimal Arch Linux Installation Guide: Get Ready In Half An Hour
I wouldn't run Arch on servers but as long as you exercise ...
re: How would you build a full stack Node.js web app today?
I did just this a few months ago: Primary database: Postgr...
re: What was your win this week?
I finished the incantations for staging reproducible, self-...
re: What was your win this week?
I wish SQL had a negative join operation consistent with ot...
re: How Does Open Source Track Adopters?
It's kind of a million-dollar question, or would be if we w...
re: In-Browser Crypto Mining (With Permission) As A Way To Monetize Traffic?
I don't doubt people will keep trying it, but I don't see i...
re: Implementing SQL- Like Cascades in Mongoose
The catch here is that you're hitting the database as many ...
re: Why would you consider Linux over Windows?
Windows as an end-user operating system is targeted primari...
re: Migrating from GitHub to Gitea
Interesting! I've been starting to consider the alternative...
re: Seven essential qualities of open source
The history is there for the reading; the Wikipedia entry f...
re: Seven essential qualities of open source
He's on point insofar as "open source" is considered in opp...
re: Production vs Synthetic Data for Testing
Production data has some issues: legal or regulatory requ...
re: Have tech perks gone too far?
Wait, who actually likes "open, collaborative office spaces...
re: The new MacBook Pros are overpriced
If you use the terminal at all, a lot of the concepts will ...
re: The new MacBook Pros are overpriced
At this point, the next time I'm due for an upgrade from my...
re: What are the differences between each databases solutions?
Databases are designed to handle "a lot of requests". Your ...
re: The problem with “you guys”
Speaking as someone with "lived experience of not being inc...
re: Resume Review
Your summary is a little too obviously a list of keywords; ...
re: Silly Repos
as-com / _zalgo_ Destroying GitHub ...
re: Understanding the basics of Ruby on Rails: SQL Databases and how they work
You don't mention different flavors of relational database,...
re: It's wrong to treat "Draft" mode as a state on the way to "Final"
Don't look too hard -- it probably isn't worth the effort i...
re: It's wrong to treat "Draft" mode as a state on the way to "Final"
You're not reinventing the wheel, you have a road with a we...
re: The right way to deploy a Fullstack application.
Complex deploys take many forms. Fundamentally code and ass...
re: The right way to deploy a Fullstack application.
As usual, it depends; if your environment is otherwise alre...
re: Dockerized PHP application with SSL
Let's Encrypt more or less assumes you're going to automate...
re: Bad terminal habits
I've piped curl into bash once or twice. It's so convenient...
re: Can it be done to make a server with an old computer just to upload my website?
Yes, with the caveat that your site is only up as long as y...
re: JavaScript for SysAdmin
Install Node and start playing around! If you're using Pyth...
re: How do we improve security in the npm ecosystem?
Somebody in the thread suggested treating ownership changes...
re: What's your atomic bomb?
That would be because you essentially are, in this scenario...
re: Objection + Knex = Painless PostgreSQL in your Node App
I have to admit I have not; the last time I had to search f...
re: How did you find the purpose of your life?
It's something you make, not something you find.
re: Black Friday Deals
If you're looking for hardware, NewEgg always runs extensiv...
re: What was the worst bug you've ever written?
It's been over ten years and I don't remember the exact det...
re: What can I do in terms of architecture?
Possibly the most important principle of software architect...
re: I am also an art historian. Ask Me Anything!
My thought was that there's still a history of UI design --...
re: Password manager recommendations?
I was really happy when it came out! I'd had to buy MacPass...
re: I am also an art historian. Ask Me Anything!
What possibilities do you envision for the next interface ...
re: Password manager recommendations?
I'm quite happy with KeePassXC.
re: How many programming languages should you support for a business?
As few as reasonably possible.
re: can anyone please explain the relationship between page table and category table in Wikipedia database?
Yeah, I got what you meant. There isn't a category table in...
re: Women in Computer Science: How bad can it be?
It can be good, bad, everywhere in between. About the only ...
re: Share your .bashrc
I put my zshrc on GitHub along with a bunch of miscellaneou...
re: can anyone please explain the relationship between page table and category table in Wikipedia database?
I don't know what the Wikipedia schema looks like firsthand...
re: Why did you pick the avatar you use?
I grew up in the "never ever use real information online" e...
re: What does it mean for a system to be not partition-tolerant?
CA is trivially satisfied by not being distributed or by to...
re: SQL 101: All about SQL JOINs
You're welcome! :) I should say that the case I mentioned w...
re: Does programming professionalise anxiety?
To take the semi-rhetorical question in the title at face v...
re: SQL 101: All about SQL JOINs
Also, the junction table approach still doesn't give me wha...
re: SQL 101: All about SQL JOINs
I already get metadata for free (it's event sourced), so a ...
re: SQL 101: All about SQL JOINs
That's not at all true. They're very rare in my experience,...
re: What am I missing out if I'm not using a VM/Container for my development setup?
This is basically it; using something like Vagrant, docker-...
re: Are we Developers helping Google to build an unstoppable monopoly?
The most effective antitrust measures at this point would p...
re: Are we Developers helping Google to build an unstoppable monopoly?
Not Google, but Facebook was experimenting on its users' em...
re: Attack on Titan seems pretty dope.
What's the development angle here? I admit I was pretty dub...
re: Storing user customisations and settings. How do you do it?
There's a subtle but important distinction between "not the...
re: Storing user customisations and settings. How do you do it?
hey, that one looks familiar! I've split data stores befor...
re: MySQL : InnoDB : RAM
You want to read about the buffer pool.
re: Storing user customisations and settings. How do you do it?
Your property bag idea is usually called the entity-attribu...
re: How did linguistics influence programming?
Mathematics and computer science having little to do with l...
re: It's good to identify what you don't need to bother learning
It's really about context more than anything. Monoliths are...
re: How did linguistics influence programming?
Various grammars come up with some frequency, particularly ...
re: Books I found at my parents'
I recognized the K&R even in Italian just from the type...
re: What are you not interested in learning?
The modern frontend toolchain is where I'm tapping out on t...
re: What tense do you use in Git Commit messages?
The imperative is a mood not a tense! :) I use present tens...
re: What are your snippets?
Both, although my preference is very much for backend and i...
re: What are your snippets?
I'm in the "snippets are a symptom of poor organization" ca...
re: A really funny book about program in Chinese
Last year I edited Rob Conery's A Curious Moon, which is so...
re: managing db users in postgres & mysql
A couple of Postgres points: 3. Checking privileges psql'...
re: Doing the wrong thing with good intentions
For a more inspiring example of "what to do as a security p...
re: Doing the wrong thing with good intentions
In theory having the source code doesn't help with breaking...
re: Why Java Interfaces Are Terrible
@forstmeier this is also good advice, look into mock frame...
re: Why Java Interfaces Are Terrible
Strictly speaking, you're "supposed" to buckle down and stu...
re: Why Java Interfaces Are Terrible
If one interface doesn't extend the other then no, you're n...
re: Should programming languages be made for IDEs rather than humans?
HTML and CSS also aren't programming languages as such but ...
re: Should programming languages be made for IDEs rather than humans?
You're missing the point: text files are easy. They can be ...
re: How to massively update records through a Web UI?
Bulk data can always contain errors, whether you're parsing...
re: How to Point New Devs to Older Posts?
The fact that there's a search bar at the top of every page...
re: Trying to Understand Open Source
That part's on you. Unit tests will help you sometimes, oth...
re: Say something nice about another DEV member
aw, thanks :)
re: Crypto Currencies - What do you think about it?
Cryptocurrencies are so volatile as to be worse than useles...
re: Persisting a Node API with PostgreSQL, without the help of ORM's like sequelize.
You can, but using template literals to interpolate query p...
re: Persisting a Node API with PostgreSQL, without the help of ORM's like sequelize.
Good on you for avoiding O/RMs, but you don't have to resor...
re: Do you have guards? or do you work at night?
Late nights happen. Either we schedule maintenance outside ...
re: Which units of measure do you use and why in CSS?
Hey, Liberia uses our system too! We're not completely alon...
re: Which monitor should I buy for programing?
I have the 34UM67-P. It's been a couple years so it may no ...
re: Which monitor should I buy for programing?
I've got one of the LG ultrawides and like it a lot. It mak...
re: Learning the Granular Details of a Programming Language?
Anything that bills itself as a 'Definitive Guide' is likel...
re: Why "Just Unionize" Doesn't Work
Those recent grads, or at least many of them, will eventual...
re: Beginner Node Help- take 2
req.body is a hash, not an array. You can't iterate it, but...
re: Why "Just Unionize" Doesn't Work
For us to demand a union when we're already very well-paid...
re: Beginner Node Help- take 2
When a form posts back, it only sends the values of named i...
re: Why "Just Unionize" Doesn't Work
I think the picture is a bit distorted in games where there...
re: Why "Just Unionize" Doesn't Work
The UK and EU have far more protections for workers than mo...
re: Why "Just Unionize" Doesn't Work
Certainly the mere existence of a union at places like Rock...
re: What editor/IDE are you using for Vim bindings?
I still use vim (or rather neovim). If you want to crib fro...
re: Beginner Node Help- take 2
Alright so: make sure your form's action attribute points b...
re: How many hours do you work?
8-9 hours a day five days a week on the clock, of course in...
re: Can Oracle be trusted with MySQL?
No. It means companies won't have access to updates unless...
re: Discuss: What is your Myers-Briggs Type Indicator (MBTI)?
It's a good time for new ventures and making decisions, but...
re: Discuss: What is your Myers-Briggs Type Indicator (MBTI)?
The last company I worked for wanted everybody to take it b...
re: Discuss: What is your Myers-Briggs Type Indicator (MBTI)?
I'm a Gemini.
re: #Help with passport and postgresql
It depends on what you're using to talk to Postgres. Here's...
re: What Tools Do You Use To Validate Jenkins Pipeline Syntax
If it comes to it you can invoke plugins manually in the DS...
re: I am not good at Database. Is there anything I can take so I reach to higher level?
There are a few different aspects of working with databases...
re: What Tools Do You Use To Validate Jenkins Pipeline Syntax
That looks new! The Jenkins instance I was working with was...
re: Come with me on a journey through this website's source code by way of a bug
It might be nice longterm to merge reactables if they're si...
re: Come with me on a journey through this website's source code by way of a bug
Another option is a complex junction table with reaction_id...
re: Come with me on a journey through this website's source code by way of a bug
Gross. The site runs on Postgres though iirc, so you could ...
re: Come with me on a journey through this website's source code by way of a bug
You could add an index without the proper foreign key const...
re: Come with me on a journey through this website's source code by way of a bug
O/RM methods like destroy_all really need to be renamed des...
re: SSH File System
You can also just create an entry in fstab to preserve the ...
re: What's in a name (validation)?
Gojko Adzic had a good talk about this too:
re: Start-up v Corporate, which do you prefer?
It's more a scale or spectrum than an either/or proposition...
re: Tim Berners-Lee, Solid, and the arrival of the Web 3.0
Also also, "Web 1.0" was a Cambrian explosion of individual...
re: Why do we have more male applicants than female ones?
The immediate answer to your last question is that you're n...
re: Why do some languages disrupt some common and habitual conventions?
The long & short of it is that the creators decided tha...
re: What is your best advice for a junior software developer?
Some overtime or off-hours stuff is more or less de rigueur...
re: Need help understanding: Filtering an array of objects in Javascript
The reduce accumulator doesn't have to be one value -- it's...
re: Need help understanding: Filtering an array of objects in Javascript
includes returns a boolean value but forEach does not (or r...
re: Which Linux should I install being a React developer
Another point in Arch's favor is that the wiki is some of t...
re: Got a crazy idea for user authentication, can I get some feedback?
That sounds like way more work and moving parts you have to...
re: Is it good or bad practice make developers pay money for his bugs?
I could see it not being a complete disaster if it was a to...
re: How to start contributing to open source as a junior or newbie?
I started because I found a couple of critical bugs in a qu...
re: Re-use personal modules via NPM/Yarn?
If you want to use npm to manage something you have to fact...
re: Let's talk about the new CoC for Linux
Extensively, both at work (Ubuntu) and at home (Arch and a ...
re: What is top 5 most valuable courses in a CS Degree?
Literature with a critical bent, something in the studio ar...
re: Do you manage your own Postgres or use a DBaaS?
I don't know anything about DigitalOcean specifically, but ...
re: Do you manage your own Postgres or use a DBaaS?
The real selling point for managed database solutions is th...
re: What is a Reasonable Sound-Level Expectation @ Panera?
It's Panera, not a library or church. You're going to get l...
re: Let's talk about the new CoC for Linux
The previous "code of conflict" was obviously not doing the...
re: I finished a Javascript bootcamp but got offered a PHP job. Should I accept it?
I'd take it. PHP experience isn't really going to help you ...
re: ​Linus Torvalds takes a break from Linux
These seem like positive signs all around. From everything ...
re: Number of followers to be shown on a profile?
There's some primal lizard-brain thing in us that loves wat...
re: My girl in IT
What do you know about? She's asking you! :)
re: My girl in IT
Give her an overview of what's out there in super general t...
re: What Tools Do You Use To Validate Jenkins Pipeline Syntax
I've always just run them until they work. I'm not sure the...
loading...