Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ginden
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
Ginden
5y ago
ssh_rsa shouldn't be readable to browser, Spotify, Zoom or whatever is currently running. And browser files should be isolated from any other process etc. Linux security model (and I suppose other OSes too, but I'm most familiar w
92.
▲
by
Ginden
5y ago
I never met right people in real life and I spent majority of my life in Internet subcultures, with physical isolation. Then I moved to capital city and "boom" - majority of my Internet friends live here and we meet on regular b
93.
▲
by
Ginden
5y ago
Eg. module.exports = {foo: 3}; setImmediate(() => module.exports[Math.random() > 0.5 ? 'foo' : 'bar'] = 5); This is impossible for ES modules, because exports are static and known at parse time. Few w
94.
▲
by
Ginden
5y ago
It isn't default export, as you can see here: https://babeljs.io/repl#?browsers=node16&build=&builtIns=fal...
95.
▲
by
Ginden
5y ago
> I guess if you ever need to match on a specific prefix storing the numeric IP might be an issue? If you want to search for range, you can do: SELECT INET_NTOA(ip) FROM ips WHERE ip > INET_NTOA(:startOfRange) AND ip < INET_NT
96.
▲
by
Ginden
5y ago
> all the tools I used last time are now abandonware I think you are exeggarating. Over last few years, there were no hard deprecations, except for AngularJS. Many tools, popular in past, went "maintanence mode" and receive mos
97.
▲
by
Ginden
5y ago
I suggest the same solution as using sex toys with casual sex partners - use condom on toy .
98.
▲
by
Ginden
5y ago
> - "export already_imported_variable;" - why the HECK is this not in the specification? Having to declare new variable names for exports makes the creation of "index" files so damn painful. This syntax could fix this
99.
▲
by
Ginden
5y ago
> Life dies out if it over-consumes from its environment, so "by evolution" the life that survives _does_ "restrain itself for the next generation" in a sense. Dawkins deconstructs this argument in The Selfish Gene .
100.
▲
by
Ginden
5y ago
Statically analyzable tree. In CJS you have to depend on people not doing strange things to their `module.exports` and you are left with heuristics.
101.
▲
by
Ginden
5y ago
> Capitalism is killing the planet Humans are killing the planet. Every single political or economical system tried over last 100 thousands of years, resulted k in humans destroying environment for short-term benefits. Hunter-gatherers d
102.
▲
by
Ginden
5y ago
> lazily loaded imports are both missing from the ES Modules spec. What do you mean?
103.
▲
by
Ginden
5y ago
> Are there other promising anxiolytics on the horizon? Even more basic, what are the best options available now? Well, anxiolytics in general can be grouped in two groups - for acute treatment and for long-term treatment. For acute trea
104.
▲
by
Ginden
5y ago
Most of GABA agonists can be addictive and seemingly all of them are dependence-forming.
105.
▲
by
Ginden
5y ago
When asked questions about testing or design patterns on interviews, I respond with but what we want to achieve ? Tests are not masturbatory method of improving your self-esteem as developer, but a method to write robust code, easy to refa
106.
▲
by
Ginden
5y ago
There is catch for antiviral drugs - like antibacterial drugs, they can lead to selection of resistant strains. Therefore, we can't just give it away to everyone without any control.
107.
▲
by
Ginden
5y ago
For me that's argument against glorifying past of your nation (because every state was built on violence and conquest) rather than pro-annexing territories. Humans genocided other people for tens thousands of years. That's not a g
108.
▲
by
Ginden
5y ago
> So what is the problem with cooperating with Israel? Israel's maleficent behavior towards Arabs produces much stronger emotional response in Western people than misconduct of any other government. I suspect this has racist underto
109.
▲
by
Ginden
5y ago
npm ci --ignore-scripts
110.
▲
by
Ginden
5y ago
Any diet change induces changes in gut microbiota. Eating tomatoes? Less Mucispirillum in rodents. Eating potato starch? More Rikenellaceae. Eating chicken? More Lactobacillus. It's result of simple natural selection - species better a
111.
▲
by
Ginden
5y ago
Any protection offered by Deno isn't robust. Only OS-level protection is secure. Any tooling will require access to file system - and file system access is enough to compromise developer system. Let's assume that you have Deno co
112.
▲
by
Ginden
5y ago
You can build such library in any language with operator overloading, but the point is, it's optional library . It isn't built into language, therefore randomly picked library just won't support it.
113.
▲
by
Ginden
5y ago
Type system for primitive values that carries meaning. Meters shouldn't be added to feet, ID of one entity can't be used as ID of another etc. I know some languages implement such features, but these aren't mainstream ones.
114.
▲
by
Ginden
5y ago
> - request reordering arguments to find a match for when you don't remember the right order. I think this is better than named parameters and other hacks. It should be implemented at tooling (IDE) level. Otherwise, it would be just
115.
▲
by
Ginden
5y ago
Arguably, people in XIX century wasn't really aware of opioid addiction. Significant portion of treated troops in US were hooked up on opioids, because physicians weren't aware of issues.
116.
▲
by
Ginden
5y ago
> If it had been legal, pure, and known quality that likely wouldn't have happened (he could still have been affected by addiction like our mother with alcohol, but he wouldn't be dead). Overdoses on opiates happen even with le
117.
▲
by
Ginden
5y ago
> you can make it in a home lab. Even if drugs can be made in home lab, almost no one is willing to do this. Even for metamphetamine (it's very easy to produce in home), 80% of meth in USA is imported from Mexico. Producing alcohol
118.
▲
by
Ginden
5y ago
You should never use sparse arrays though. Over 7 years as Node.js developer I have never needed to use them and I don't see use appealing use case.
119.
▲
by
Ginden
5y ago
I'm building with Rollup and TS. See eg. this config. https://github.com/Ginden/userscripts/tree/master/hacker-new... Then I do `npm run build && cat dist/index.ts | xclip` and replace
120.
▲
by
Ginden
5y ago
Enough arable land to feed family of 4 can be bought in USA for $14k (and you can buy it outside of US). Add $7k for next 50 years of property taxes. You can also join Amish communities, if you are religious. You won't have access to p
More ›