Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
janpot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
241.
▲
by
janpot
7y ago
If we have to pay it eventually, then it's not "a discount".
242.
▲
by
janpot
7y ago
we never pay for the environmental cost. when we buy stuff, we basically always pay only part of the cost, the immediately visible cost, the intrinsic value of a product. the other costs they basically steal from us in the form of a destroy
243.
▲
by
janpot
7y ago
makes total sense for transferring state for a server side rendered app.
244.
▲
by
janpot
7y ago
> A wildcard at the end can use a regular (btree) index. depending on the locale your db is in, it might be a little less "regular". recently fell in that trap. http://blog.cleverelephant.ca/2016/08/pg
245.
▲
Computing Indentation from Syntax Trees
(marijnhaverbeke.nl)
2 points
by
janpot
7y ago
|
0 comments
246.
▲
by
janpot
7y ago
https://help.github.com/en/articles/about-pull-requests
247.
▲
by
janpot
7y ago
It doesn't matter how precise the value is, as long as it's precise enough for your use-case and as long as machines are handling it. If the value is displayed in a UI and it's rounded off to a reasonable decimal there, I don
248.
▲
by
janpot
7y ago
well, programming is hard. It has always been hard. regardless of the field. classic web development is complicated as well.
249.
▲
by
janpot
7y ago
I usually prefer https://regexper.com/ . Especially when trying to make sense of regexes I come across in code I didn't write.
250.
▲
by
janpot
7y ago
When I compose small "do one thing well" shell scripts together, people call it "the unix philosophy". When I compose small "do one thing well" modules together in node.js, people call it "a dependency hel
251.
▲
by
janpot
7y ago
Meanwhile, also in France: https://www.bbc.com/news/world-europe-49092653
252.
▲
by
janpot
7y ago
This is that second episode
253.
▲
World's Worst Video Card?
(youtube.com)
5 points
by
janpot
7y ago
|
3 comments
254.
▲
by
janpot
7y ago
If nothing else, you can always serve as a good example of a bad example.
255.
▲
by
janpot
7y ago
I used to write php and JavaScript at the same time. Turns out nested ternaries get evaluated differently in both languages, leading to some subtle bugs sometimes. I will never write those without parentheses again.
256.
▲
by
janpot
7y ago
Couldn't agree more, html should be just one implementation amongst others. It's good for documents, it's lousy for richer experiences. The rich experience shouldn't be built on top of HTML, it should live next to it.
257.
▲
by
janpot
7y ago
I never said you wouldn't have to dereference and check the implementation. That's debugging. I said that it would make my intent clear. That I wrote the code below that line with the assumption that url is absolute and not specif
258.
▲
by
janpot
7y ago
My example is literally the real world version of the example in the article, only thing I did was change string values and identifier names. If you say my example works as an abstraction, it means that it successfully refutes the argument
259.
▲
by
janpot
7y ago
Ok, to take a real world example instead: if (url.startsWith('http://')) { vs. if (isAbsoluteUrl(url)) { If the next developer comes by in 2 months to fix the case for https:// urls (and pro
260.
▲
by
janpot
7y ago
I'd say that finding relevant information fast is one of the primary skills of a developer.
261.
▲
by
janpot
7y ago
I ordered one a few years ago. The whole experience was by very far the most delightful purchase I made ever.
262.
▲
by
janpot
7y ago
Exactly, why are we so ok with businesses trying to manipulate us into buying things that we don't ask for? I mean I understand that a business needs to make money, but that shouldn't excuse you for doing this manipulation. You ca
263.
▲
the Ocean Cleanup – Road to relaunch
(youtube.com)
2 points
by
janpot
7y ago
|
0 comments
264.
▲
Nasa Spacecraft Spots 'Star Trek' Logo on Mars
(space.com)
2 points
by
janpot
7y ago
|
0 comments
265.
▲
by
janpot
7y ago
Being described as "_my_ developer" by a manager or designer. It says a lot about how these people see themselves within a team, and it's the kind of team I don't want to work in.
266.
▲
DailyMail: fifty percent drop in traffic after Google update
(seroundtable.com)
82 points
by
janpot
7y ago
|
119 comments
267.
▲
by
janpot
7y ago
I love how conferences and tech communities these days emphasise the importance of inclusion of every individual. I wish they would put as much effort in creating eco-friendly environments. I attended a conference two weeks ago, and the amo
268.
▲
by
janpot
7y ago
That's it, Getting myself a pi-hole.
269.
▲
by
janpot
7y ago
I tend to avoid software that has "quick", "simple" or "easy" in their name. More often than not they are neither of those things :D. All jokes aside, congrats on getting this out!
270.
▲
by
janpot
7y ago
Wondering how .flat() compares. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
More ›