Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zerodensity
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
zerodensity
3y ago
So not having used twitter how does that algorithm differ from this one? I mean he did not follow anything... Does Twitter have some magic sauce that unguided gives you exactly what you want or something?
32.
▲
by
zerodensity
3y ago
I don't really care for this argument. We are currently not living in a meritocracy. In a true meritocracy everyone must have the same starting point and rise up within the ranks based on their merits from there. In our society we do n
33.
▲
by
zerodensity
3y ago
This was magical really made my day. Thanks for this.
34.
▲
by
zerodensity
3y ago
Are people's self worth really intricately tied to what they do for a living? I mean I enjoy my work, for the most part anyway. But if I could spend all my time with my family and hobbies I see that as an improvement rather then someth
35.
▲
by
zerodensity
3y ago
And who will be that sanctioning agency? The US? The EU? Russia? China? A global collaboration? Who will enforce?
36.
▲
by
zerodensity
3y ago
How exactly does quantized space-time contradict the Standard Model and General Relativity?
37.
▲
by
zerodensity
3y ago
That sounds like good old Waterfall to me. Or in its current form SAFE. 90% communication 10% code. And something like that is basically what it takes when you have hundreds or thousands of people working on the same product. Making sure th
38.
▲
by
zerodensity
3y ago
If you are making a commercial product I think not. Or do you mean educational as in educating the AI itself?
39.
▲
by
zerodensity
3y ago
I might hold an unpopular view here but I do not like reviewing small focused changes. When a feature is implemented I preferably want the entire thing before me when reviewing. Otherwise I find it hard to keep track of everything that has
40.
▲
by
zerodensity
3y ago
Wow just wow
41.
▲
by
zerodensity
3y ago
I have heard of this magical beast "readable code" but have not yet encountered it in the wild.
42.
▲
by
zerodensity
3y ago
All code is not created equal. In a project there is normally some divide between shared code and service specific code. This divide can be as simple as a base class and its children or a library and the microservices that use it. I declare
43.
▲
by
zerodensity
3y ago
That clears that up thanks.
44.
▲
by
zerodensity
3y ago
In static languages sure types are very important for performance. But in a dynamic language like python your options are limited. Consider: def add(a: int, b: int) -> int: return a + b assert add(1,2) == 3 a, b = random.choice((3, 4)
45.
▲
by
zerodensity
3y ago
I don't know about this, from my point of view to learn how to program you need to actually... program. Trying stuff over and over again in different variations using maybe different languages, dealing with all the errors the frustrati
46.
▲
by
zerodensity
3y ago
How so you mean calculating them on the fly? You need to at least load the data to perform operations on it.
47.
▲
by
zerodensity
3y ago
JSON is better than xml which it replaced. It's now such a defacto standard that if you make an API without json it will just be a hassle for your api users. Doesn't really matter if your encoding format is better or not. You can
48.
▲
by
zerodensity
3y ago
Well the idea is orthogonal to performance really. Static types makes it simpler to automatically spot issues in the "static" portion of the code. It's also very useful for metaprogramming since types are included at runtime.
49.
▲
by
zerodensity
3y ago
You make a valid point but if the last century has shown us anything it's that our global civilisation hates the ocean (all large bodies of water really, above or below ground) and we want them gone or poisoned and dead. So if this cos
50.
▲
by
zerodensity
3y ago
Questing regarding error correction and logical qbits. From my very limited understanding logical qbits could mitigate some of the error but uses multiple physical qbits for every logical qbits. Has anyone created a quantum computer that h
51.
▲
by
zerodensity
3y ago
But self driving cars have a much lower accident rate than humans. How did you lose the bet?
52.
▲
by
zerodensity
3y ago
According to the bible ( https://www.agner.org/optimize/ ) it's faster to use a loop with length than walking though a pointer so not having a length will make it slower to walk the string whole also making things l
53.
▲
by
zerodensity
3y ago
Can't think of a single case where null terminated strings are more efficient. Could you give some examples?
54.
▲
by
zerodensity
3y ago
When is electric heating not 100% efficient? I thought they were by definition.
55.
▲
by
zerodensity
3y ago
For a time that is what happened. Every year you would get a new CPU and that would be faster at pretty much everything than the version the year before. But then we hit the clockspeed wall and the only way of making faster CPUs was to add
56.
▲
by
zerodensity
4y ago
I'm pretty sure Apple updates it's browser just as much as Google chrome, firefox or edge is updated. Browsers in general do often change with new temporary user facing features. People choose iOS because it's a status symbol
57.
▲
by
zerodensity
4y ago
I mean 2 element arrays will be fast to sort.
58.
▲
by
zerodensity
4y ago
I mean as a field we love to reinvent the wheel over and over again, even in the same language if it's not in the stdlib (or even if it is) it's not uncommon to find multiple versions of the same thing. Take for example SQL databa
59.
▲
by
zerodensity
4y ago
Could you explain how functional without side effects helps cache locality?
60.
▲
by
zerodensity
4y ago
I mean they have the math down it's the interpretation (and for us mortals the math) that's causing all the confusion. Particles behave non-locally which is really really not cool :(. From that you only have a bad list of options
More ›