Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
antirez
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
931.
▲
by
antirez
4y ago
Redis has LFU, implemented many years ago.
932.
▲
by
antirez
4y ago
Apparently I reinvented almost the same code several years after Pike: https://github.com/redis/redis/blob/99ebbee2b260b3466672b4fa...
933.
▲
by
antirez
4y ago
Sure, it can drive screens without issues. The problem is the cost of the screen. If I'm selling, right now, a plastic miniature for $20, if I can make it "smart" and selling it for $30 or $35, that's ok, but $50? Nope.
934.
▲
by
antirez
4y ago
Great news, I played with the Pi Pico a few months ago: the idea was to make certain 3D printing products I produce not just dumb miniatures, but "alive", doing something. The Pi Pico price point and capabilities were perfect, but
935.
▲
by
antirez
4y ago
They will start the rolling out in the next days.
936.
▲
by
antirez
4y ago
Well I hoped Italy and CPUs had a better story in Federico Faggin. Designer of both the Intel 4004 and the Z80.
937.
▲
by
antirez
4y ago
Thanks for the nice words romange. The complexity here can be seen in two ways: complexity of deploying more Redis instances, or complexity of the single instance. It's a trade off. But I think that Redis may go fully threaded soon or
938.
▲
by
antirez
4y ago
I'm no longer involved in Redis, but I would love if people receive a clear information: from what the author of Dragonflydb is saying here, that is, memcached and Draonflydb have similar performance, I imagine that the numbers provide
939.
▲
by
antirez
4y ago
I think you can avoid taking the square root in the distance formula (by squaring the comparison term), so this actually could be the fastest way possible to reach the effect, because of all the sampling, the points outside are a minority.
940.
▲
by
antirez
4y ago
Alternative: sample random points on a r*r square, and refuse all the ones outside the distance of the radius. This can be generalized for any shape where we have a f(x,y) -> bool that tells us if a point is inside or outside our shape.
941.
▲
by
antirez
4y ago
The macro does not look (necessarily) as a bug, it simply does a counter intuitive thing of zeroing everything, including the capacity. Maybe the way it is used, the capacity is saved, then the array cleared, then it is set back; or more li
942.
▲
by
antirez
4y ago
Prusa is going to eat the entry level 3D printing world, unless some giant enters the consumer market. Makerbot is fading into the irrelevance: moved away from the entry level market but I'm not sure there is really space for them in t
943.
▲
by
antirez
4y ago
Worked remote 80% of my career. I understand the advantages, but here there is, I fear, an undervaluation of the advantages that seeing other coworkers at least a few days every week brings on the table. Especially if you are doing innovati
944.
▲
by
antirez
4y ago
The Z80 was not much slower than the 6502 (2x slower at the same clock speed if you factor in the more complex operations). The limitations of the spectrum were not related to the CPU itself, but the fact the CPU had to do everything, and e
945.
▲
by
antirez
4y ago
Yes, exactly, and a channels abstraction to output formatted text on different targets: screen, printer, ...
946.
▲
by
antirez
4y ago
I always thought that maybe they went too far with the compromises with the Spectrum. Yep, it was still a huge success (and I had one when I was 8 years old) but maybe with a few tens of bucks more three of the terrible limits could be remo
947.
▲
by
antirez
5y ago
Tools: PlayZX is awesome.
948.
▲
by
antirez
5y ago
Life is too short, normally. But it is too long to focus on a single thing for a lifetime.
949.
▲
by
antirez
5y ago
Code quality, internal modularity and clean interfaces between the parts don't have anything to do with how it is split into files.
950.
▲
by
antirez
5y ago
The problem is that private companies that become a de facto standard for content sharing can't decide unilaterally what users can publish and what not. We need new laws, the same laws that should limit what you can publish: is it ille
951.
▲
by
antirez
5y ago
I think likewise. When I had to write the radix tree implementation for Redis I faced two problems: - I needed a stable implemention as soon as possible, I had a performance issued that needed to be solved by range queries. - The radix tree
952.
▲
by
antirez
5y ago
It's incredible how in a matter of minutes the game becomes so much simpler compared to the first times.
953.
▲
by
antirez
5y ago
Good point.
954.
▲
by
antirez
5y ago
Because the article was modified. [Note] Another HN user mentioned that the statement was dubious, cited the original statement, got downvoted to hell: https://news.ycombinator.com/item?id=30406644
955.
▲
by
antirez
5y ago
It's very hard to accept the statement that writing fast programs is now simpler with Go/Rust. I think that what happened is more like this: * With Go is now possible to write reasonably fast (not as fast as C) programs in a simpl
956.
▲
by
antirez
5y ago
Nope. Try yourself with a, b, c, d, e, f, g as guesses. You will see that green letters that are coincident will be the same. So to reconstruct the original SHA256 of the password is easy. The problem then turns like every other hash ->
957.
▲
by
antirez
5y ago
You can easily guess the right sha256 just using random strings and overlapping correct characters and then you can run a dictionary attack on it, or a brute force one if it's not too long.
958.
▲
by
antirez
5y ago
So cool, incredibly fun to be such a simple game. Sounds are a big part.
959.
▲
by
antirez
5y ago
Related (and shameless plug): http://antirez.com/news/124
960.
▲
by
antirez
5y ago
When I was 10 I had floppy disks with short porn loops. CGA display adapter, 8086 machine.
More ›