Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
691.
▲
by
spion
6y ago
I'll put it in context. Let's say I have leftover garbage in usr/local/lib. I clone a new project that I need to patch because it's broken. I try to fix the new project but the fix isn't working. I have no idea
692.
▲
by
spion
6y ago
The system is not well designed. For example: if I have 3 projects I'm developing locally, each needing a dozen (somewhat overlapping) libxxx-dev dependencies to build, how can I automatically clean up the dependencies that are no long
693.
▲
by
spion
6y ago
The benefit of global libraries is that they are easier to update or patch. If there is a vulnerability in an npm package, you will need to update it in all your node projects (and/or rebuild all your docker images analogously). A hybr
694.
▲
by
spion
6y ago
Why does a "default" need to exist at all at the system level? Why not just have various versions available and have version decisions be local to the software being developed/used.
695.
▲
by
spion
7y ago
Based on several studies using different methods, the death rate (infection fatality rate, or IFR) is likely around 0.5% So if you go back the average time from infection to death (2-3 weeks) you can get a sense what the ratio was in your a
696.
▲
by
spion
7y ago
Yeah, he simply lives there.
697.
▲
by
spion
7y ago
Yes, please.
698.
▲
by
spion
7y ago
There is a huge backlash and they seem to be backing off of that idea. We'll see.
699.
▲
by
spion
7y ago
This isn't quite true. For many, keto truly is an easier way to achieve the goal of eating less. Our metabolism uses various signals and pathways to detect satiety and even in the early stages of metabolic syndrome some of the pathways
700.
▲
by
spion
7y ago
This depends a lot on the individual. I would suggest it to anyone who often has post-meal slumps, for example - its likely to work wonders for them.
701.
▲
by
spion
7y ago
To start with, I would try to fix the list here https://www.tiobe.com/tiobe-index/programming-languages-defi... as well as adjust the query for programming-specific engines like GitHub. To have a programming language i
702.
▲
by
spion
7y ago
If you take the time to read about it, you'll quickly realize TIOBE is pretty bad.
703.
▲
by
spion
7y ago
You don't have to trust me, here is a diff you can apply of the work I did: https://gist.github.com/spion/2779ae6dc9552c229c1eeacd90c03b... you can run ./tfb --test express-postgres and compare. If you can&#x
704.
▲
by
spion
7y ago
It might be a good idea, although I fear that if I only fix one node framework and keep the rest intact it will create a false impression that that framework is somehow amazing. Still better than a false impression that nodejs is somehow sl
705.
▲
by
spion
7y ago
I had another glance at the framework benchmark, and the quality is absolutely dreadful I removed the unnecessary middleware bloat (pug html renderer middleware for an API server, really? body-parser and form parser even for endpoints where
706.
▲
by
spion
7y ago
This benchmark mainly measures the performance of the HTTP parsing and database libraries, often in a suboptimal default configuration. In node land, they're admittedly not amazing, but nothing about the language prevents them from bei
707.
▲
by
spion
7y ago
I wanted to illustrate the fairly "wide dynamic range" available. A lot of typed, GCed languages require significant effort to write highly optimized code anyway, and the optimized code rarely looks like the idiomatic one. But eve
708.
▲
by
spion
7y ago
An interesting blog post on how that might be done: https://mrale.ph/blog/2018/02/03/maybe-you-dont-need-rust-to...
709.
▲
by
spion
7y ago
For those situations where the GC becomes a performance (or more likely memory usage) problem, it seems reasonable that the built-in WASM support of most engines will be able to provide an adequate performance (its already getting quite clo
710.
▲
by
spion
7y ago
https://benchmarksgame-team.pages.debian.net/benchmarksgame/... https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
711.
▲
by
spion
7y ago
Main strengths: * The ecosystem is pretty strong and constantly evolving. Lots of companies and individuals are putting a serious amount of work into making high-quality tooling and libraries. (Although with that also comes a lot of lower q
712.
▲
by
spion
7y ago
For reference, here is a "simple" app - a parametric EQ designer that supports doing pink noise measurements of speakers (or headphones if you have the right equipment) with FFT in the browser: https://eq.spion.dev/
713.
▲
by
spion
7y ago
One of the reasons is the difficulty of writing reusable interactive components with server-side rendering such as maps, rich text editors, autocompletes, hover previews, menus. The components work with data. Let's say you need an auto
714.
▲
by
spion
7y ago
They are good, as they try to paint a varied picture of how a complex phenomenon is affecting people's everyday lives. Sometimes you need more than charts to see.
715.
▲
by
spion
7y ago
And that's the funny bit because a lot of the quirks in TS are actually bits that are needed to integrate with other imperfect tools and libraries and deliver a fully functional product.
716.
▲
by
spion
7y ago
You can hide some of your structure using "private". There are also branded types: https://github.com/spion/branded-types
717.
▲
by
spion
7y ago
https://imgur.com/gallery/2O5zM
718.
▲
by
spion
7y ago
Yep, now that we have lots of version controls histories publically available there is no excuse for this.
719.
▲
by
spion
7y ago
The real problem with software is that it's hard to change your mind once things are built on top of it. The real solution is to find a way that makes it easy to do this. Complexity is one of the manifestations of this problem, but tha
720.
▲
by
spion
7y ago
I don't see the security angle either. You could design the system in a way that makes it able to force updates into the individual user's broken packages. Heck, it shouldn't even be connected to a user - it's just that
More ›