Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ayende
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
by
ayende
4y ago
I don't think I ever heard such an appropriate turn of phrase as "woke clippy", bravo!
122.
▲
by
ayende
5y ago
Marking a page pointer as modified / accessed for example
123.
▲
Data Ownership in Distributed Systems
(ravendb.net)
2 points
by
ayende
5y ago
|
0 comments
124.
▲
by
ayende
5y ago
Just to note, they did ask, early 2000s iirc NATO primary reason to exist is to counteract Russia
125.
▲
by
ayende
5y ago
A really annoying aspect of keyrings in Linux is that if you are writing a generic Linux service (runs in the background, should support all distributions), there is no real option without 3rd party components. On Windows, there is the Data
126.
▲
by
ayende
5y ago
Less secure is exactly that. If `Mr Shady` is in the mandated list (by law), and the browsers are required to threat their certificates as trusted, what do you think is the impact on the whole ecosystem?
127.
▲
by
ayende
5y ago
When building databases, we care about durability, so database authors are usually well aware that you _have_ to use `F_FULLSYNC` for safety. The fact that `F_FULLSYNC` isn't safe means that you cannot write a transactional database on
128.
▲
by
ayende
5y ago
Except that the response would be that any product with that IP will be banned from EU/USA. That is a huge hit to take.
129.
▲
by
ayende
5y ago
As an aside, the code is also wrong and will fail in some rare cases because it assumes that the `read` syscall will only return partial information if you are at the end of the file. This is false, however, and will lead to data loss if ha
130.
▲
by
ayende
5y ago
Defer, comptime, far better cross file model, yo name just a few things
131.
▲
by
ayende
5y ago
That isn't the problem. This is the issue: let x = str.parse()?; someFunc(x); The function called here is dependent on what `someFunc` will accept. That means that I can change what values will be accepted here by changing
132.
▲
by
ayende
5y ago
For the record, I find Rust's ability to change the type of the variable _after_ it was declared to be absolutely bonkers for my ability to understand what is going on in the code. I understand what it is doing, but the fact that chang
133.
▲
by
ayende
5y ago
That actually doesn't matter This is orthogonal to mmap
134.
▲
by
ayende
5y ago
The key from my perspective is that I CAN design my access patterns to match what you'll optimized. Another aspect to remember is that mmap being even possible for databases as the primary mechanism is quite new. Go 15 years ago and yo
135.
▲
by
ayende
5y ago
Yes, isn't that wonderful? You get to take advantage of literally decades of experience What is more, if you can match the profile of the optimization, you can benefit even more
136.
▲
by
ayende
5y ago
Almost no one is going to have a lot of map calls Uou map the file once, then fault it in
137.
▲
by
ayende
5y ago
That is an interesting statement, when discussing what you want to do In this case, there is the issue of who is the you on question For the database in isolation, maybe not ideal For a system whre db and app run on the same machine? The
138.
▲
by
ayende
5y ago
I'm the author (well, one of) RavenDB You are correct to an extent, but there are a few things yo noted. * you can design your system so the access pattern that the OS is optimized for matches your needs * you can use madvise() to give
139.
▲
Re Are You Sure You Want to Use MMAP in Your Database Management System?
(ayende.com)
10 points
by
ayende
5y ago
|
1 comments
140.
▲
by
ayende
5y ago
The default Zig allocator will actually make it very hard to have unnoticed use-after-free. It doesn't re-use the virtual address space, it will discard the page entirely and get a new one, that make it far more likely that a use-after
141.
▲
by
ayende
5y ago
At which point you can setup your own relay, you don't have a block here
142.
▲
by
ayende
5y ago
That depend on how you do it. The client selects what you see, you can unsubscribe from accounts with spam, and your client will refuse to show posts from those you don't follow
143.
▲
by
ayende
5y ago
I hate this idea. What happens if the server starts at a point in time when it cannot do the AIA chasing? That means that you have a (silent) dependency that you are absolutely unaware of. When this fails, your service is down. Far be
144.
▲
by
ayende
5y ago
Here is a great example of something similar, see: https://twitter.com/congresstrading/status/14765572055707402... Here you have someone where some of the trades is public. Just the fact that they make such trades
145.
▲
by
ayende
5y ago
Sure, feel free
146.
▲
by
ayende
5y ago
Jason is very well known, already has code in the kernel and is touching a _highly_ visible part of the code. That's a pretty bold statement on your part, especially because there are many other, simpler, mechanisms that can be used
147.
▲
by
ayende
5y ago
I wonder how much abuse that kind of platform can generate. We had the Wall St Bets community pushing certain stocks, and the logical step of something like this is copying a trader. At this point, aren't you likely to run afoul into m
148.
▲
by
ayende
5y ago
How do you expect to get paid? That is a serious question, by the way. In general, let's say that you want to use credit card. That pretty much put you at the mercy of Visa & Mastercard. They charge you fees, and the cost of managi
149.
▲
by
ayende
5y ago
Being within 2 -3 times slower than the top of the line is quite reasonable for a new chip. The Java results being so much slower are likely the difference in optimizing for new arch, bot neseccarily the chip itself. Given that many apps li
150.
▲
by
ayende
5y ago
The problem with `fork()` is that its usage requires over commit. Consider the scenario of a process with 51% of memory usage, what happens when it forks? The system pretty much _has_ to allow overcommit at this point, otherwise fork() wi
More ›