We're a place where coders share, stay up-to-date and grow their careers.
404 bio not found
All private interactions must abide by the code of conduct.
It's nice, maybe for prototyping, but just writing a small wr...
Jan 6
They literally have free tiers, and then then the pricing is ...
Buffer.from('06608503303207606607203207806908203207807408307...
Jan 5
What other languages do you use?
Please annotate your code blocks with language to enable synt...
You want to use of with iterators, in is for string keys of ...
Yeah, unless they wanted to print keys (including inherited)...
I usually write it as const sleep = ms => new Promise(r...
Dec 31 '20
Wow, what an amazing error! Good job, npm developers! It tell...
Dec 8 '20
lmao
Since you clearly have npm and this is happening in a directo...
Dec 7 '20
A similar topic 2 years and 2 days ago: ...
Bad order of answers. "3" is ambiguous. error 4 3 would...
Dec 2 '20
My "bad", it's a carryover from my other, simpler, comment. T...
Nov 28 '20
Rust Haskell Typescript Javascript
Nov 26 '20
With rescheduling when empty, consider: const {log} = cons...
Any await point yields to the eventloop, much like using setI...
Nah, you're good. But for correct treatment of strings, such...
Nov 24 '20
What language are you using? Javascript? Are you on the NodeJ...
One possible RegEx that creates these matches is const re ...
I updated my post, you were just too quick to reply :D What ...
That looks like tokenisation, except It's strange that the ke...
I wonder what activated this feature for me, then. Perhaps it...
Nov 23 '20
Not gonna lie, struct Milk { fat: f32, } Enter ...
Sorting is O(n log n) - O(n²) depending on if you allocate ad...
Nov 20 '20
Rust use itertools::Itertools; fn wave(nums: &a...
Rust #![feature(array_windows)] pub fn adjacent...
Nov 11 '20
JavaScript const remove_url_anchor = url => ...
I totally missed the part that you work on Marko now. Does th...
Nov 7 '20
Have you tried the "concise syntax" at all? It is kinda like ...
Nov 6 '20
Perfect. Now what actually politically incorrect thing could ...
JavaScript Efficient (for small strings) ...
Nov 4 '20
Bruh.
Oct 30 '20
Rust #![feature(once_cell)] use aho_corasick::...
Oct 29 '20
Almost every technology is right for something. Without any d...
Then, in the style of my other answer: async function getA...
Oct 26 '20
I wish it let me do while (token = res.newToken), but res goe...
I would avoid naming them, by doing the following: functio...
Do you use fooValueNextToken? or is there only ever one page ...
I wouldn't be surprised, but I'd expect massive evidence.
Oct 24 '20
And blindly believing the claims that he got hacked (or that ...
Oct 23 '20
subdirectory (path), because: Maintain HTTP2/HTTP3 connecti...
Oct 21 '20
RIP
Oct 20 '20
So first and last non-whitespace character are less likely to...
Oct 19 '20
Where it really shines is if you do something like * { f...
Oct 14 '20
I can absolutely deny the value of institutional education.
Horrible that the comment was deleted. Do you have it backed ...
Learn Rust. It will be less insecure.
This article is a lie! React has 157k stars!
how to name a competing database
HTML already has modularity and templating built in, if copy...
Numbers correspond to those in the article: - Code splittin...
Maybe delete it then :3
Oct 13 '20
There's at least github.com/jimmywarting/StreamSave... (or fo...
I get that it has many "components" that all change at the s...
Oct 8 '20
Why bootstrap at all? Why specifically moonjs? Why not solid...
Oct 7 '20
Would it be completely insane to suggest learning Javascrip...
Coming back to it today, honestly it's not that bad. I think ...
Oct 5 '20
What do you mean?
Oct 4 '20
I think they mean that is syntactically/semantically looks li...
Is this a good link? Peepee poopoo, as described in my arti...
How can you make portable modules for web and deno with ES mo...
Definitely. This was before they used solderless switches, so...
Oct 3 '20
Thank you, I updated the link. (was previously web.archive.or...
Oct 2 '20
A plain, white Ergodox EZ Shine with sculpted/blank keys, but...
Oct 1 '20
Easier to do clean updates/uninstalls for smaller services. T...
What do we return for 1 1 1 and 2 2 4 ?
Sep 29 '20
Nothing wrong with the last one if you don't take over one da...
Sep 23 '20
Haha Mazda ^ high quality comment
Sep 16 '20
For CLI tool written in Rust, see github.com/mattgathu/duma
Sep 14 '20
Rust lol generics use core::ops::{Add, Sub}; fn ...
Sep 8 '20
JavaScript const manhattan = ([x1, y1], [x2, y2]...
I wonder what the result with asm.js would be. There are some...
Could you plese write ```python for the last code block?
Sep 6 '20
You already did the skimming, but you could also avoid string...
Rust (without stringification) fn euthanize(mut ...
Sep 5 '20
What is the definition of "unique triplets"? Are all the inp...
Aug 30 '20
Rust pub fn cost(mut mins: usize) -> usize { ...
Aug 14 '20
mov rcx, rsi imul rcx, rdi lea...
use core::iter::Enumerate; #[derive(Debug, PartialEq)] struct...
Aug 10 '20
Rust fn solve(mut chips: [u64; 3]) -> u64 { ...
Jul 31 '20
"constant time" in Javascript const solve = chip...
2D plane xxYxx this is a 1D plane
Jul 29 '20
javascript const solve = arr => { const val...
Jul 28 '20
Epic, but also this relies on the array being sparse in the f...
Nope
(a => [...new Set(a)])([3, 4, 4, 3, 6, 3]) is [3, 4, 6...
how to count with javascript regex const perro =...
Jul 24 '20
nodejs const perro = wurd => { let i = 0 ...
If you're using generators, go wild :v const chain = (...fn...
Jul 22 '20
No An admin should delete all comments on this post and lock...
Jul 15 '20
Oh no, it's myspace
Jul 10 '20
And you can use a regex to do it :D
Jun 30 '20
I like the word problem in the question, where decimals are m...
Jun 13 '20
Does "until you reach a decimal" mean "until the result of in...
const half = n => n && half(n>>1) + n :v
JavaScript normal (aka filthy coercion) const le...
Jun 8 '20
I knew that the "pilots" of the dragon cargo capsule are not ...
Jun 1 '20
Rust 🔗 the below code in a runnable playground ...
May 29 '20
Why is the outer a unordered_map and not a vector? It's conse...
Doesn't produce correct answers for extremely high numbers du...
There's also String.prototype.includes const letters = "abc...
May 20 '20
Rust yay fun with bitsets fn change(hay: &st...
May 19 '20
Rust Assuming that replacement with X is per chara...
May 14 '20
whackathon
May 9 '20
Javscript With the assumption that in a long array...
May 5 '20
We have iterators now, so it was trimmed
Apr 25 '20
Wow! How long are the strings you test against? I'd be intere...
Apr 23 '20
You did "string consists only of", not "string includes all o...
// Javscript const regex_contains_all = chars =&...
I take it all back, this thread is the most important thing...
Apr 19 '20
It might be faster, more precise, and you might already be ...
Rawr xD lol
Apr 18 '20
@notch, the only reason to have twitter. But whi...
Apr 17 '20
GLORY TO THE CSS
Gotchas All throws in a function marked async ar...
Apr 16 '20
A Promise is a "handle" to a value that may or may not alre...
There's a time and a place for everything.
It's a message broker/"database" (what an overloaded word). I...
For me, it's the fear of overengineering that causes not-in...
Conduct like this will not be tolerated. The police are on ...
Rust, precomputed here #[derive(Debug)] enum B...
Rust bruteforce solution #[derive(Copy, Clone)...
Sounds like googleapis.com/robot/v1/metadata/x... is the J...
There's also pnpm, whose workspaces hoist all node_modules an...
I'm concurrently building a backed service in TypeScript an...
creating a BigInt object: const value = new BigInt(500) ...
I too wish to know this 👌
That is a view of nothing but pure inertia. Imagine using l...
Apr 15 '20
The objectness is also very obvious in the fact that [] is ...
Apr 14 '20
Most dark themes are just pastel themes with low luminosity...
Poorly, but I'm not sure I should dedicate even the littles...
I see what he is trying to teach, and I understand the need...
If you need server rendering today, I recommend looking at gi...
It definitely pays off, just don't obsess over it. For gree...
The other gotcha is that it mutates the source array, and t...
Sum of squares is the default example of the Rayon crate: ...
Butt what is it? For example, what database does it provide? ...
Rust fn validize(pwd: &str) -> bool { ...
Apr 13 '20
No, how do you mean?
UPS tracker.
No systematic approach has taught anyone anything as much as ...
Things that are easy about CSS: Overall grammar...
OG is an interesting usecase. I currently spend more of my ...
Server side rendering of "private" pages is seriously overr...
Which dependencies are you talking about? Just like github....
Static hosting is cheaper and faster at every level and sca...
github.com/Pauan/rust-dominator/ tho.
Henlo. I've never used python, so this might be a stupid qu...
Rust. Who needs error checking when you can support multili...
Apr 9 '20
Ah, makes sense. I just don't see a lot of advantages to se...
Mar 31 '20
Why have an executable for a static site? Is it not static,...
Mar 30 '20
Afaik, scratch isn't "nothing", it just downloads nothing. ...
I can never get over the shame of (products || []).map(. Wh...
Mar 26 '20
Dumb quotes FTW
Object#fromEntries() to the rescue: const allNames = { ...
const tableData = props.item && props.item.deta...
Roost fn dtoa(dna: &str) -> String { ...
It was strange for me that you used |> and not <| eve...
pls fix Andrei Gatej ...
Mar 22 '20
Is this actually a good one? takeWhile(() => this.aliv...
Just to show off
Mar 21 '20
Maybe match ch :v
Mar 17 '20
Based corona-chan
Mar 16 '20
Serious question: Why are there 100 unique developers writi...
Whoops, looks like someone didn't specify the base of the n...
Mar 3 '20
Nodejs (not web): const rgb = (...args) => Buffer.f...
Jan 25 '20
Wouldn't you say the two are basically opposites?
Nov 15 '19
Relying on normal spam protection that doesn't impact usabi...
const bepis = (s, x) => { let max = 0 const lasti = ...
Nov 12 '19
what-if.xkcd.com/11/
Nov 8 '19
There's a modification where we don't know if the counterfe...
Nov 7 '19
You mean a row? A row where only m<n out of n columns ar...
Nov 4 '19
Extra credit: Convert from l/100km to SI units and visualiz...
What should the output for n other than 1, 2, 5, 10, 25 and...
Nov 3 '19
Doesn't match the first word, should be /(?:^|\s)([a-z])/g ...
Oct 23 '19
I guess that's no more contrived than the solution that wou...
Why do they give 0?!
Maybe because 🅱️inary search is 🅱️rogramming? 🤷 Edit: 🅱️ 🅱...
Jesus Christ
Oct 21 '19
I don't understand, what is the difference between a try an...
Isn't that why they call it XSS?
Sep 30 '19
Check timestamp by hovering the date lol
Sep 17 '19
"first" lmao const movie = (card, ticket, part) => { ...
IMO it lends itself to patterns like: useWidth(this.props...
Sep 16 '19
Is there any issue in Ruby with people overusing this featu...
Sep 15 '19
Oh come on, that's not coding :v
Sep 11 '19
Doesn't this suggest we end up "paying" more than we'd agre...
Aug 31 '19
Buffer goes buf-buf const rename = name => { const...
Aug 11 '19
Do you have Telegram messenger? There's a group I should pr...
Jul 22 '19
Probably all the hate comments made this bot content seem "...
Jul 20 '19
Serverless developer machine xD
Jul 18 '19
Rust, sort of in place fn reverse_in_place(input: &m...
Jul 16 '19
Shid, you're right! But I procured it in Poland. Going to ...
Real multithreading is much better than "clustering". You j...
Jul 4 '19
Yeah. For example the way you schedule network actions wit...
You could still write this with callbacks, in fact, getUser...
Jul 3 '19
Yeah, I'm such a basic b**** that I use a stock ErgoDox EZ.
If I understand the frustration here correctly, I would lik...
How did I never hear about this product? :o
For me, it boils down to "If you publish all of your events, ...
Jun 29 '19
That's an option as well. I tend to use interface whenever ...
Jun 28 '19
I think you accidentally wrote type User { /* props */ ...
A little confused: How do you use feature branches for draf...
Jun 25 '19
What's bad about stock Gnome?
Jun 24 '19
It's sugar free.
All publicity is good publicity
All publicity is good publicity :v
Jun 23 '19
Wow, so react hooky!
Jun 22 '19
I code exclusively on weekends. During the week I am too bu...
Jun 21 '19
Sure, it's a positive feedback loop. All I'm saying is they...
Jun 20 '19
Yeah, I understand. Sorry about your experience. This one ...
Can you link to the Reddit thread please?
Exactly, and their target audience is developers, meaning t...
Illusion of choice. From birth to void(0)
Perhaps you should switch your Notion link to a referral li...
I wish I had first-hand reclining experience, but the AltWo...
Everyone talks about standing, but what about reclining? Is...
Yeah, it's a bit too dark, and way too high contrast.
I mean yeah, you do end up constructing a write model to un...
Jun 14 '19
I'd argue that the more complex the domain, the more likely...
Jun 12 '19
I feel like having "validation" in the constructor, or on t...
Is the "not prematurely naming your object" from the DDD bo...
Yup, my "highly scientific" browser benchmark also makes it...
May 3 '19
MM is afraid he doesn't. I did golf a dweet once.
Another hilarious one: function sockMerchant(n, ar) { ...
May 2 '19
@theodesp this was just me commenting on the code without ...
Do you have any idea where Telegram API servers are located...
Apr 28 '19
My own solution would be: function stockAndCount( n, arr...
Apr 27 '19
I'd write the provided code as follows: function stockAndC...
I'm sorry, I don't understand what you're asking of me.
Apr 16 '19
Transpilation seems like the cheapest of the three possible...
For total newcomers: developer.mozilla.org/en-US/docs/Web d...
Wow, that's... humbling. BTW, you could beat out ForLoop wi...
Mar 30 '19
How is that relevant to this article?
Mar 29 '19
Prudent & Inadvertent and Reckless & Inadvertent ar...
const r = {valueOf: Math.random} Not really a one-liner...
Oh SHID. This is exactly what I needed so many times, and i...
Be serious 😂
Mar 26 '19
It doesn't matter what kind of code you write if your depen...
Mar 24 '19
shrinkwrap.json gets published :v
#hashtag
I have a problem with the way Subtle logic errors section i...
Mar 19 '19
Some stuff I'd like to add: Write regression tests for al...
Hewwo, pwease change - if (hidden) { show(); } else { h...
Im🍐ative, like recipe steps. It's usually less characters t...
Mar 18 '19
Last 250 comments
Why Axios Is Awesome (and how to get started with it)
It's nice, maybe for prototyping, but just writing a small wr...
Google Firebase Good or bad?
They literally have free tiers, and then then the pricing is ...
ROT13: awful answers only
Buffer.from('06608503303207606607203207806908203207807408307...
Code Smell 53 - Explicit Iteration
What other languages do you use?
Exceptions and Streams
Please annotate your code blocks with language to enable synt...
Code Smell 53 - Explicit Iteration
You want to use of with iterators, in is for string keys of ...
Code Smell 53 - Explicit Iteration
Yeah, unless they wanted to print keys (including inherited)...
Sleep function in javaScript
I usually write it as const sleep = ms => new Promise(r...
how to resume multiple commands on one command
Wow, what an amazing error! Good job, npm developers! It tell...
how to resume multiple commands on one command
lmao
how to resume multiple commands on one command
Since you clearly have npm and this is happening in a directo...
Stickers on your laptop?
A similar topic 2 years and 2 days ago: ...
What will be the result of following code?
Bad order of answers. "3" is ambiguous. error 4 3 would...
NodeJS Non-Blocking Processing
My "bad", it's a carryover from my other, simpler, comment. T...
Quick Poll
Rust Haskell Typescript Javascript
NodeJS Non-Blocking Processing
With rescheduling when empty, consider: const {log} = cons...
NodeJS Non-Blocking Processing
Any await point yields to the eventloop, much like using setI...
How I can extract words from strings using regular expressions?
Nah, you're good. But for correct treatment of strings, such...
How I can extract words from strings using regular expressions?
What language are you using? Javascript? Are you on the NodeJ...
How I can extract words from strings using regular expressions?
One possible RegEx that creates these matches is const re ...
How I can extract words from strings using regular expressions?
I updated my post, you were just too quick to reply :D What ...
How I can extract words from strings using regular expressions?
That looks like tokenisation, except It's strange that the ke...
Setting up git+ssh+gpg on Windows
I wonder what activated this feature for me, then. Perhaps it...
Daily Challenge #309 - Coffee Customization
Not gonna lie, struct Milk { fat: f32, } Enter ...
Daily Challenge #308 - Wave Sort
Sorting is O(n log n) - O(n²) depending on if you allocate ad...
Daily Challenge #308 - Wave Sort
Rust use itertools::Itertools; fn wave(nums: &a...
Daily Challenge #306 - Largest Possible Product
Rust #![feature(array_windows)] pub fn adjacent...
Daily Challenge #305 - Remove Anchors from URLs
JavaScript const remove_url_anchor = url => ...
A First Look at MarkoJS
I totally missed the part that you work on Marko now. Does th...
A First Look at MarkoJS
Have you tried the "concise syntax" at all? It is kinda like ...
Change Azure Repos Default Branch
Perfect. Now what actually politically incorrect thing could ...
Daily Challenge #304 - Consecutive Letters
JavaScript Efficient (for small strings) ...
Firebase or MongoDB ?
Bruh.
Daily Challenge #300 - Username / Password Comparison
Rust #![feature(once_cell)] use aho_corasick::...
Firebase or MongoDB ?
Almost every technology is right for something. Without any d...
Is there a good temporary variable name that you use?
Then, in the style of my other answer: async function getA...
Is there a good temporary variable name that you use?
I wish it let me do while (token = res.newToken), but res goe...
Is there a good temporary variable name that you use?
I would avoid naming them, by doing the following: functio...
Is there a good temporary variable name that you use?
Do you use fooValueNextToken? or is there only ever one page ...
President Trump’s Twitter accessed by security expert who guessed password "maga2020!"
I wouldn't be surprised, but I'd expect massive evidence.
President Trump’s Twitter accessed by security expert who guessed password "maga2020!"
And blindly believing the claims that he got hacked (or that ...
Do you prefer subdomains or subdirectories?
subdirectory (path), because: Maintain HTTP2/HTTP3 connecti...
Daily Challenge #297 - Loneliest Character
RIP
Daily Challenge #297 - Loneliest Character
So first and last non-whitespace character are less likely to...
Write Fewer Media Queries With the Clamp() CSS Function
Where it really shines is if you do something like * { f...
Stop using frameworks and libraries
I can absolutely deny the value of institutional education.
Stop using frameworks and libraries
Horrible that the comment was deleted. Do you have it backed ...
Stop using frameworks and libraries
Learn Rust. It will be less insecure.
Stop using frameworks and libraries
This article is a lie! React has 157k stars!
Assassin ⚡️ - An open source, free database for killing slow webpages
how to name a competing database
Stop Using React
HTML already has modularity and templating built in, if copy...
Stop Using React
Numbers correspond to those in the article: - Code splittin...
Why not dismantling capitalism alltogether?
Maybe delete it then :3
Google Chrome enables file system API ... Super Cool 😁
There's at least github.com/jimmywarting/StreamSave... (or fo...
So I decided to enter Web Dev
I get that it has many "components" that all change at the s...
So I decided to enter Web Dev
Why bootstrap at all? Why specifically moonjs? Why not solid...
So I decided to enter Web Dev
Would it be completely insane to suggest learning Javascrip...
Partial links are inaccessible
Coming back to it today, honestly it's not that bad. I think ...
Is Deno the future of JavaScript?
What do you mean?
Is Deno the future of JavaScript?
I think they mean that is syntactically/semantically looks li...
Partial links are inaccessible
Is this a good link? Peepee poopoo, as described in my arti...
Is Deno the future of JavaScript?
How can you make portable modules for web and deno with ES mo...
What keyboard do you use?
Definitely. This was before they used solderless switches, so...
You must read: Deno Style Guide.
Thank you, I updated the link. (was previously web.archive.or...
What keyboard do you use?
A plain, white Ergodox EZ Shine with sculpted/blank keys, but...
When Does It Make Sense to Use Docker?
Easier to do clean updates/uninstalls for smaller services. T...
Daily Challenge #293 - Name the Operations
What do we return for 1 1 1 and 2 2 4 ?
Top 10 Pieces of Advice for Becoming the Worst Developer Possible
Nothing wrong with the last one if you don't take over one da...
Where do you host server-side code?
Haha Mazda ^ high quality comment
fastget - ultra fast download files over HTTP(S)
For CLI tool written in Rust, see github.com/mattgathu/duma
Daily Challenge #289 - Manhattan Distance
Rust lol generics use core::ops::{Add, Sub}; fn ...
Daily Challenge #289 - Manhattan Distance
JavaScript const manhattan = ([x1, y1], [x2, y2]...
Daily Challenge #287 - 16+18=214
I wonder what the result with asm.js would be. There are some...
Today I Learned: BST Traversal
Could you plese write ```python for the last code block?
Daily Challenge #287 - 16+18=214
You already did the skimming, but you could also avoid string...
Daily Challenge #287 - 16+18=214
Rust (without stringification) fn euthanize(mut ...
Three Number Sum (2 Pointer) in Python
What is the definition of "unique triplets"? Are all the inp...
Daily Challenge #280 - Driving School
Rust pub fn cost(mut mins: usize) -> usize { ...
Daily Challenge #281 - Area or Perimeter
mov rcx, rsi imul rcx, rdi lea...
Daily Challenge #278 - Find all non-consecutive numbers
use core::iter::Enumerate; #[derive(Debug, PartialEq)] struct...
Daily Challenge #275 - Casino Chips
Rust fn solve(mut chips: [u64; 3]) -> u64 { ...
Daily Challenge #275 - Casino Chips
"constant time" in Javascript const solve = chip...
Daily Challenge #274 - Aerial Firefighting
2D plane xxYxx this is a 1D plane
Daily Challenge #273 - Remove Duplicates
javascript const solve = arr => { const val...
Daily Challenge #273 - Remove Duplicates
Epic, but also this relies on the array being sparse in the f...
Daily Challenge #273 - Remove Duplicates
Nope
Daily Challenge #273 - Remove Duplicates
(a => [...new Set(a)])([3, 4, 4, 3, 6, 3]) is [3, 4, 6...
Daily Challenge #272 - Printer Errors
how to count with javascript regex const perro =...
Daily Challenge #272 - Printer Errors
nodejs const perro = wurd => { let i = 0 ...
Daily Challenge #271 - Simulate Population Growth
If you're using generators, go wild :v const chain = (...fn...
Should DEV allow you to disable comments on your posts?
No An admin should delete all comments on this post and lock...
Design Github profile using README.md
Oh no, it's myspace
How YOU can learn enough RegEx in JavaScript to be dangerous
And you can use a regex to do it :D
Daily Challenge #257 - Halving Sum
I like the word problem in the question, where decimals are m...
Daily Challenge #257 - Halving Sum
Does "until you reach a decimal" mean "until the result of in...
Daily Challenge #257 - Halving Sum
const half = n => n && half(n>>1) + n :v
Daily Challenge #254 - The Vowel Code
JavaScript normal (aka filthy coercion) const le...
JavaScript made it into space 🚀
I knew that the "pilots" of the dragon cargo capsule are not ...
Daily Challenge #251 - Largest Number in a Sequence
Rust 🔗 the below code in a runnable playground ...
Daily Challenge #250 - Last Digit of a Large Number
Why is the outer a unordered_map and not a vector? It's conse...
Daily Challenge #250 - Last Digit of a Large Number
Doesn't produce correct answers for extremely high numbers du...
Daily Challenge #244 - Search for Letters
There's also String.prototype.includes const letters = "abc...
Daily Challenge #244 - Search for Letters
Rust yay fun with bitsets fn change(hay: &st...
Daily Challenge #243 - Redacted!
Rust Assuming that replacement with X is per chara...
Share Your Grant for the Web Hackathon Updates!
whackathon
Daily Challenge #237 - Delete Extra Occurrences
Javscript With the assumption that in a long array...
What's your favorite software idiom/aphorism?
We have iterators now, so it was trimmed
Daily Challenge #232 - Regex Pattern
Wow! How long are the strings you test against? I'd be intere...
Daily Challenge #232 - Regex Pattern
You did "string consists only of", not "string includes all o...
Daily Challenge #232 - Regex Pattern
// Javscript const regex_contains_all = chars =&...
ASK DEV: Who to follow on Twitter?🤔
I take it all back, this thread is the most important thing...
and the second top voted question on StackOverflow is...
It might be faster, more precise, and you might already be ...
Adobe XD to Wordpress | Full Development Process for Making a Website
Rawr xD lol
ASK DEV: Who to follow on Twitter?🤔
@notch, the only reason to have twitter. But whi...
⭐️🎀 JavaScript Visualized: Promises & Async/Await
GLORY TO THE CSS
Explain Async/Await Like I'm Five
Gotchas All throws in a function marked async ar...
Explain Async/Await Like I'm Five
A Promise is a "handle" to a value that may or may not alre...
Explain Async/Await Like I'm Five
There's a time and a place for everything.
Explain Apache Kafka like I'm five
It's a message broker/"database" (what an overloaded word). I...
The over-engineering trap
For me, it's the fear of overengineering that causes not-in...
Wanna learn a new language? Why not C++?
Conduct like this will not be tolerated. The police are on ...
Daily Challenge #227 - Android Lock Screen
Rust, precomputed here #[derive(Debug)] enum B...
Daily Challenge #227 - Android Lock Screen
Rust bruteforce solution #[derive(Copy, Clone)...
How do I authorize firebase JWT on BaaS (MongoDB stitch)?
Sounds like googleapis.com/robot/v1/metadata/x... is the J...
How do you frontend-backend monorepo?
There's also pnpm, whose workspaces hoist all node_modules an...
The Trouble with TypeScript
I'm concurrently building a backed service in TypeScript an...
ES2020: Summary of new features & examples 🔥
creating a BigInt object: const value = new BigInt(500) ...
⭐️🎀 JavaScript Visualized: Promises & Async/Await
I too wish to know this 👌
Tell us what your top unpopular tech opinion is 😈
That is a view of nothing but pure inertia. Imagine using l...
Tell us what your top unpopular tech opinion is 😈
That is a view of nothing but pure inertia. Imagine using l...
TypeOf Array is Gotcha!
The objectness is also very obvious in the fact that [] is ...
I think Dev.to needs a Pastel theme
Most dark themes are just pastel themes with low luminosity...
How do you manage your browser bookmarks?
Poorly, but I'm not sure I should dedicate even the littles...
Easy functional programming techniques in Rust for everyone
I see what he is trying to teach, and I understand the need...
Write a frontend application with Rust
If you need server rendering today, I recommend looking at gi...
Are you still happy with the decision to use TypeScript?
It definitely pays off, just don't obsess over it. For gree...
TypeOf Array is Gotcha!
The other gotcha is that it mutates the source array, and t...
Daily Challenge #225 - Square'n'Sum
Sum of squares is the default example of the Rayon crate: ...
Why I moved from BaaS to Appwrite (self-hosted Backend)
Butt what is it? For example, what database does it provide? ...
Daily Challenge #224 - Password Validator
Rust fn validize(pwd: &str) -> bool { ...
You can learn this? 🤔
No, how do you mean?
Which trackers do you use?
UPS tracker.
You can learn this? 🤔
No systematic approach has taught anyone anything as much as ...
What if CSS was imperative?
Things that are easy about CSS: Overall grammar...
Tell us what your top unpopular tech opinion is 😈
OG is an interesting usecase. I currently spend more of my ...
Tell us what your top unpopular tech opinion is 😈
Server side rendering of "private" pages is seriously overr...
Tell us what your top unpopular tech opinion is 😈
Which dependencies are you talking about? Just like github....
Tell us what your top unpopular tech opinion is 😈
Static hosting is cheaper and faster at every level and sca...
Tell us what your top unpopular tech opinion is 😈
github.com/Pauan/rust-dominator/ tho.
Pub/sub with PyZMQ: Part 2
Henlo. I've never used python, so this might be a stupid qu...
Daily Challenge #222 - Parse Bank Account Numbers
Rust. Who needs error checking when you can support multili...
Use Multi-Stage Docker Builds For Statically-Linked Rust Binaries
Ah, makes sense. I just don't see a lot of advantages to se...
Use Multi-Stage Docker Builds For Statically-Linked Rust Binaries
Why have an executable for a static site? Is it not static,...
Use Multi-Stage Docker Builds For Statically-Linked Rust Binaries
Afaik, scratch isn't "nothing", it just downloads nothing. ...
Washing your code: avoid conditions
I can never get over the shame of (products || []).map(. Wh...
Six donts of web app internationalization
Dumb quotes FTW
Washing your code: avoid loops
Object#fromEntries() to the rescue: const allNames = { ...
Washing your code: avoid loops
const tableData = props.item && props.item.deta...
Daily Challenge #212 - DNA to RNA
Roost fn dtoa(dna: &str) -> String { ...
Elm(とHaskell)でシーザー暗号
It was strange for me that you used |> and not <| eve...
Don't follow RxJS Best Practices
pls fix Andrei Gatej ...
Don't follow RxJS Best Practices
Is this actually a good one? takeWhile(() => this.aliv...
Daily Challenge #206 - Pound Means Backspace
Just to show off
Daily Challenge #206 - Pound Means Backspace
Maybe match ch :v
#COVID2019 is setting up work from home quickly and effectively
Based corona-chan
You Can Do it in SQL, Stop Writing Extra Code for it
Serious question: Why are there 100 unique developers writi...
Daily Challenge #189 - Convert Number into Reversed Array
Whoops, looks like someone didn't specify the base of the n...
Daily Challenge #158 - RGB To Hex Conversion
Nodejs (not web): const rgb = (...args) => Buffer.f...
Recommended Terminal for Windows?
Wouldn't you say the two are basically opposites?
How to create a simple Honeypot to protect your Forms against Spammers
Relying on normal spam protection that doesn't impact usabi...
Daily Challenge #114 - Speed Control
const bepis = (s, x) => { let max = 0 const lasti = ...
Daily Challenge #106 - Average Fuel Consumption
what-if.xkcd.com/11/
Daily Challenge #108 - Find the Counterfeit Coin
There's a modification where we don't know if the counterfe...
Daily Challenge #104 - Matrixify
You mean a row? A row where only m<n out of n columns ar...
Daily Challenge #106 - Average Fuel Consumption
Extra credit: Convert from l/100km to SI units and visualiz...
Daily Challenge #104 - Matrixify
What should the output for n other than 1, 2, 5, 10, 25 and...
Daily Challenge #95 - CamelCase Method
Doesn't match the first word, should be /(?:^|\s)([a-z])/g ...
Daily Challenge #97 - Greed is Good
I guess that's no more contrived than the solution that wou...
Daily Challenge #97 - Greed is Good
Why do they give 0?!
Daily Challenge #96 - Easter Egg Crush Test
Maybe because 🅱️inary search is 🅱️rogramming? 🤷 Edit: 🅱️ 🅱...
Daily Challenge #96 - Easter Egg Crush Test
Jesus Christ
Daily Challenge #96 - Easter Egg Crush Test
I don't understand, what is the difference between a try an...
What's your favorite coding joke/comic etc?
Isn't that why they call it XSS?
Daily Challenge #69 - Going to the Cinema
Check timestamp by hovering the date lol
Daily Challenge #69 - Going to the Cinema
"first" lmao const movie = (card, ticket, part) => { ...
😲🤯The most outstanding new feature in Javascript you need to know about: Optional Chaining
IMO it lends itself to patterns like: useWidth(this.props...
😲🤯The most outstanding new feature in Javascript you need to know about: Optional Chaining
Is there any issue in Ruby with people overusing this featu...
Daily Challenge #64- Drying Potatoes
Oh come on, that's not coding :v
Ads In Your Linters
Doesn't this suggest we end up "paying" more than we'd agre...
Daily Challenge #37 - Name Swap
Buffer goes buf-buf const rename = name => { const...
I Am Mesmerized By Our New Robotic Vacuum
Do you have Telegram messenger? There's a group I should pr...
Top 10 JavaScript Frameworks for Developers
Probably all the hate comments made this bot content seem "...
Developing 10x faster with a Surface Go, thanks to VS Code and Azure
Serverless developer machine xD
Daily Challenge #15 - Stop gninnipS My sdroW!
Rust, sort of in place fn reverse_in_place(input: &m...
Show off your stickers!
Shid, you're right! But I procured it in Poland. Going to ...
Some people try to solve problems using threads...
Real multithreading is much better than "clustering". You j...
How do you handle the disposable IF statements ?
Yeah. For example the way you schedule network actions wit...
How do you handle the disposable IF statements ?
You could still write this with callbacks, in fact, getUser...
Hand and wrist pain?
Yeah, I'm such a basic b**** that I use a stock ErgoDox EZ.
How do you handle the disposable IF statements ?
If I understand the frustration here correctly, I would lik...
Hand and wrist pain?
How did I never hear about this product? :o
Why Event Sourcing is a microservice communication anti-pattern
For me, it boils down to "If you publish all of your events, ...
Boolean - The Good, The Bad and there is no place for the Ugly
That's an option as well. I tend to use interface whenever ...
Boolean - The Good, The Bad and there is no place for the Ugly
I think you accidentally wrote type User { /* props */ ...
Do you have your own Gatsby site? Let's brainstorm a dev.to cross-poster
A little confused: How do you use feature branches for draf...
🔥 🤩 My Fucking Awesome Dev Setup 🤩 🔥
What's bad about stock Gnome?
How do you handle unproductive days at work?
It's sugar free.
Vue's Darkest Day
All publicity is good publicity
Vue's Darkest Day
All publicity is good publicity :v
VueJS is dead, long live VueJS!
Wow, so react hooky!
Do you code on the weekend? How often, what’s your routine like?
I code exclusively on weekends. During the week I am too bu...
Your powerful dev computer is your weakness.
Sure, it's a positive feedback loop. All I'm saying is they...
How My VIM Setup and Open Source Code Ended Up In an AAA Video Game
Yeah, I understand. Sorry about your experience. This one ...
How My VIM Setup and Open Source Code Ended Up In an AAA Video Game
Can you link to the Reddit thread please?
Your powerful dev computer is your weakness.
Exactly, and their target audience is developers, meaning t...
Uninstall Boi
Illusion of choice. From birth to void(0)
How To Boost Your Productivity & Get Sh*t Done
Perhaps you should switch your Notion link to a referral li...
How To Transition From Sitting to Standing at Work
I wish I had first-hand reclining experience, but the AltWo...
How To Transition From Sitting to Standing at Work
Everyone talks about standing, but what about reclining? Is...
Pink Theme > Any Other Theme
Yeah, it's a bit too dark, and way too high contrast.
Where Do I Put My Business Rules And Validation?
I mean yeah, you do end up constructing a write model to un...
Where Do I Put My Business Rules And Validation?
I'd argue that the more complex the domain, the more likely...
Where Do I Put My Business Rules And Validation?
I feel like having "validation" in the constructor, or on t...
Where Do I Put My Business Rules And Validation?
Is the "not prematurely naming your object" from the DDD bo...
Javascript Sock Merchant Challenge - Solution 2
Yup, my "highly scientific" browser benchmark also makes it...
Javascript Sock Merchant Challenge - Solution 2
MM is afraid he doesn't. I did golf a dweet once.
Javascript Sock Merchant Challenge - Solution 2
Another hilarious one: function sockMerchant(n, ar) { ...
Javascript Sock Merchant Challenge - Solution 2
@theodesp this was just me commenting on the code without ...
🚀 Building a Telegram Bot with AWS API Gateway and AWS Lambda
Do you have any idea where Telegram API servers are located...
Javascript Sock Merchant Challenge - Solution 2
My own solution would be: function stockAndCount( n, arr...
Javascript Sock Merchant Challenge - Solution 2
I'd write the provided code as follows: function stockAndC...
The 7 Myths of Learning to Code
I'm sorry, I don't understand what you're asking of me.
Please don't "overchain" array methods
Transpilation seems like the cheapest of the three possible...
The 7 Myths of Learning to Code
For total newcomers: developer.mozilla.org/en-US/docs/Web d...
JavaScript One-Liners That Make Me Excited
Wow, that's... humbling. BTW, you could beat out ForLoop wi...
How to publish packages to npm (the way the industry does things)
How is that relevant to this article?
Using Technical Debt as your next Tool
Prudent & Inadvertent and Reckless & Inadvertent ar...
JavaScript One-Liners That Make Me Excited
const r = {valueOf: Math.random} Not really a one-liner...
JavaScript One-Liners That Make Me Excited
Oh SHID. This is exactly what I needed so many times, and i...
Using npm's `ls` command for Fun and Insight
Be serious 😂
Using npm's `ls` command for Fun and Insight
It doesn't matter what kind of code you write if your depen...
Using npm's `ls` command for Fun and Insight
shrinkwrap.json gets published :v
Stop using so many divs! An intro to semantic HTML
#hashtag
Towards zero bugs
I have a problem with the way Subtle logic errors section i...
Towards zero bugs
Some stuff I'd like to add: Write regression tests for al...
Towards zero bugs
Hewwo, pwease change - if (hidden) { show(); } else { h...
What tense do you use in Git Commit messages?
Im🍐ative, like recipe steps. It's usually less characters t...