Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ayende
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
ayende
4y ago
They mean fraud against them. Assume you rent a GPU to do PoW mining, using a stolen credit card, they can't charge you, but you have your coins and can disappear
92.
▲
by
ayende
4y ago
The impact of IO_Uring on the overall design is really interesting Because it push you toward everything as async by default I can easily imagine node.js implemented on top of that, for example The move to async in modern languages also sup
93.
▲
by
ayende
4y ago
There are also additional issues with this arrangements. For example, social security payments. Pension plans, etc. A simple example, Israel has mandatory pension plan requirement for all employees. If you are working remotely in Israel &qu
94.
▲
by
ayende
4y ago
Really hot, ACID rain. Not really
95.
▲
by
ayende
4y ago
That amount of money is not even a rounding error. And it is likely to be very obvious and public. You will crash the market, so can't really do that multiple times. And if you can Crack this there are better targets
96.
▲
by
ayende
4y ago
The desire here is to avoid rebuilding a node if there is a single error in the disk no? Because otherwise, it would make sense to just bounce the node entirely and let it build itself from the replicas. As a database guy, the number of edg
97.
▲
by
ayende
4y ago
And to put that in context, 2.0 was around 2003, iirc
98.
▲
by
ayende
4y ago
The idea is that you make holding a lot of cash much harder to work with on day to day life. That means the incentives for that are far lower. It also complicate illegal activities in general. The idea isn't that your typical criminal
99.
▲
by
ayende
4y ago
At which point you are probably guilty of "structuring". Which is a crime all on its own. Also, that only holds up until someone actually looks at you.
100.
▲
by
ayende
4y ago
RavenDB has this feature https://ravendb.net/learn/inside-ravendb-book/reader/4.0/9-q...
101.
▲
by
ayende
4y ago
RavenDB has this feature, but it will also go ahead and create the relevant indexes needed on the fly. It is able to do so without harming production performance. See: https://ravendb.net/learn/inside-ravendb-book/
102.
▲
by
ayende
4y ago
You show add a screen shot showing this off Right now, no idea what this is for
103.
▲
by
ayende
4y ago
Spectre & Meltdown had a huge impact of the performance of cloud computing. They are certainly putting pressure on the CPUs. See: https://www.phoronix.com/scan.php?page=article&item=3-years-...
104.
▲
by
ayende
4y ago
That is a killer for performance for databases
105.
▲
by
ayende
4y ago
That was DirectTV, I think. See: https://hardware.slashdot.org/story/01/01/25/1343218/directv...
106.
▲
by
ayende
4y ago
Unless I missed something, China just got the biggest wheat export in the world in its pocket (Russia). And the fifth is Ukraine. That means that food security issue is far less of a problem.
107.
▲
by
ayende
4y ago
Transaction merging allows you to handle that nicely. By handling concurrent writes and merging them into a single write to the disk.
108.
▲
by
ayende
4y ago
4% - 6% overall query time improvement? That is absolutely an actual problem that is very attractive to solve. You'll see database people jump through far bigger hoops to get much smaller improvements.
109.
▲
by
ayende
4y ago
The linker can usually merge identical functions, and the compiler does this too. You'll only get different copies if they are relevant, and usually the branch elimination is more than enough to compensate. Another aspect about this is
110.
▲
by
ayende
4y ago
Generally, really bad idea. Assume a 512gb RAM and most of that being in use. With a log file for durability. It sounds fine, but... What is the cost of restarts? You need to read through the log, apply it, etc. That can take a LOT of time
111.
▲
by
ayende
4y ago
That reminds me very strongly how Zig does it
112.
▲
by
ayende
4y ago
A better term might be state of the art, but that has its own issues. In this case, I mean, recent
113.
▲
by
ayende
4y ago
Can you explain what you mean by generics modules?
114.
▲
Modern programming languages require generics
(ayende.com)
29 points
by
ayende
4y ago
|
25 comments
115.
▲
by
ayende
4y ago
Spaces are heavily used where I am right now as a replacement for radio with plenty of really interesting topic. Basically, "everyone can open a station" scenario. Off the top of my head, there is a big trial going on, and peopl
116.
▲
by
ayende
4y ago
Something like this: struct cmp { hash: *fn(_:*void) u64, eq : *fn(_:*void, _:*void) bool, free: *fn(_:*void) void } With maybe some default options should be enough for at least the basics. Note that
117.
▲
by
ayende
4y ago
Linked list has a O(N) search time, which is atrocious. A really common optimization is to replace a linear scan on a list with a hash table. In most languages, that is a trivial step to do, which means that it gets done. There isn't a
118.
▲
by
ayende
4y ago
I think that there is a problem here with regards to what you are trying to do. You are conflating the _implementation_ of a hash table with the _existence_ of a hash table. You list a few problems: Computing the hash for arbitrary structur
119.
▲
by
ayende
4y ago
The issue is _generic_ data structures, not external code. If I have to re-create a hash table for each scenario, I'll not invest the proper time to do so. So if I need a hash table to map inodes to strings and another to map strings t
120.
▲
Criticizing Hare language approach for generic data structures
(ayende.com)
151 points
by
ayende
4y ago
|
265 comments
More ›