Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
janpot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
janpot
5y ago
We have a tuxedo cat that is named after her.
92.
▲
by
janpot
5y ago
> Is curiosity a desire to gain knowledge? Is it a desire to see if you are right or wrong? Is it a drive to test existing hypotheses? Is it a motivation sparked by novelty or uncertainty? For me it's not just the desire to solve a
93.
▲
by
janpot
5y ago
My parents telling me as a kid not to start smoking definitely didn't prevent me from doing it later in life.
94.
▲
by
janpot
5y ago
> I think part of the problem today with individuals trying to figure out how to moderate their social media usage is that it's not clear what specifically within social media constitutes harm. I believe it's advertisement-driv
95.
▲
by
janpot
5y ago
I was just using XSS as an analogy.
96.
▲
by
janpot
5y ago
Don't know the details of the vulnerability, but from the comfort of my armchair, it sounds like it's being patched in the wrong location. e.g. It's better to fix an XSS issue by escaping the input, rather than restricting t
97.
▲
by
janpot
5y ago
In practice, more often than not “X always happens” doesn't hold, there's always exceptions. Next thing you know, you're bringing your business logic into your infrastructure.
98.
▲
by
janpot
5y ago
> vaccination does not prevent transmission I keep hearing this but I don't understand where it comes from. IIUC, it doesn't matter that you're as contagious when sick and vaccinated as unvaccinated. When vaccinated you ar
99.
▲
by
janpot
5y ago
Which law should we abide by then? Didn't he sell his spyware all over the world?
100.
▲
by
janpot
5y ago
If I had a choice, I prefer that these millions were spent in a way that's governed by the same democratic principles that ultimately enabled generating them.
101.
▲
by
janpot
5y ago
Often I hear the argument, people saying "I prefer ads that are relevant for me over random ads". But the result of the tracking is not only that you get "relevant" ads, it's that your timelines and your feeds and y
102.
▲
by
janpot
5y ago
What is it with modern frontend development that people think you can just quickly "get up-to-speed" with it? Nobody would accept these complaints of complexity had you said "I'm just trying to get these web developers u
103.
▲
by
janpot
5y ago
> decades of self-serving, power-hungry, and occasionally outright corrupt organizations that do not serve the interests of workers. Are you talking about unions, or companies?
104.
▲
by
janpot
5y ago
Sure, makes sense in this case, without any other extra functionality in the class. But there could be more functionality needed. It feels highly subjective to me.
105.
▲
by
janpot
5y ago
Oh ok, I guess I could also do the following then class JsonBody extends Blob { constructor (obj) { super([JSON.stringify(obj)], { type : 'application/json' }) } } fetch(url, { method: &
106.
▲
by
janpot
5y ago
Oxygen (2021)
107.
▲
by
janpot
5y ago
With complex migrations, like spanning multiple tables or depending on external APIs, I sometimes use a variant of this. Where instead of migrating the underlying database in "Migration 2", my version 3 would migrate on read: - Re
108.
▲
Orbital debris strikes ISS robotic arm
(cnet.com)
2 points
by
janpot
5y ago
|
0 comments
109.
▲
Some French horn players solder coins to their instrument
(coincommunity.com)
3 points
by
janpot
5y ago
|
0 comments
110.
▲
Brain adapts when you get an extra thumb
(newscientist.com)
7 points
by
janpot
5y ago
|
0 comments
111.
▲
Galapagos Islands: Erosion fells Darwin’s Arch
(bbc.com)
62 points
by
janpot
5y ago
|
12 comments
112.
▲
For 15 Years Sweden Thought Russian Submarines Were Invading. It Was Fish Farts
(iflscience.com)
2 points
by
janpot
5y ago
|
0 comments
113.
▲
Fort Queyras: A medieval castle that's for sale
(fortqueyras-vente.fr)
1 points
by
janpot
5y ago
|
0 comments
114.
▲
by
janpot
5y ago
What works for me is picking a task that I estimate at about 10 to 15 minutes and just execute it. Even if it's just cleanup, or writing some docs, or polishing an API interface. If I haven't gained momentum after finishing this i
115.
▲
by
janpot
6y ago
It's so refreshing how this article doesn't try to impose an opinion on me. It really engages me to think about the matter and form my own.
116.
▲
by
janpot
6y ago
Last few years I've been using a similar workflow with something like https://www.npmjs.com/package/pg-template-tag in combination with `pg`. I'm never going back to ORMs and query builders.
117.
▲
by
janpot
6y ago
> you can find out if customers are using your new useful feature or if they can't find it How do you find out if your "useful" feature isn't as useful as you thought it was? Or is it really always "the user can&
118.
▲
by
janpot
6y ago
Compiling! ( https://xkcd.com/303/ )
119.
▲
by
janpot
6y ago
I often browse private code in github when I intend to store or share links to certain lines in our codebase. e.g. to use in tickets or PRs, or during Slack discussions.
120.
▲
by
janpot
6y ago
Exactly, that's what democracy should be and what it unfortunately isn't. 1 Person should be 1 Vote, regardless of their wealth.
More ›