Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nh2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
331.
▲
by
nh2
2y ago
After playing with the software a bit: The view that diffs environment variables of a process with the ones from the parent process is very nice. Could you add a feature that makes it possible to search/filter the "Environment&quo
332.
▲
by
nh2
2y ago
Ah yes, very good! More such tools are needed that make common strace tasks more convenient. strace is the ultimate debugging tool to dive into almost every problem where a program doesn't do what you want, but its stream based nature
333.
▲
by
nh2
2y ago
Ah, I see. I was assuming that the achievement of consistent state must somehow be achieved in the child. If the parent can achieve consistent state (e.g. doing the equivalent of pressing "pause"), why not do the following instead
334.
▲
by
nh2
2y ago
> Or until the short-lived child process finishes its work and exits on its own. I was talking about the malloc-deadlocked child. That will not finish.
335.
▲
by
nh2
2y ago
How do you know that the game state is in a consistent state in the child? A stopped thread may be in the middle of mutating an array or struct.
336.
▲
by
nh2
2y ago
It still seems super error prone: It is very difficult to write general purpose C++ code that does not call malloc somehere. Something fails and you want to display a message `"Error: " + reason`? Bam, malloc right here, serialisa
337.
▲
by
nh2
2y ago
> I especially don't believe in kluges to the effect of 'superuser doesn't have all permissions anymore' This comes from a postgres developer? Postgres is the only software I know that has a hardcode that forbids runn
338.
▲
by
nh2
3y ago
My experience is: Downtime does matter. Customers ignore downtime when you're a service with big lock-in or no real alternative (GitHub, Facebook, etc). Because then they can't do anything about it. When you're a small/m
339.
▲
by
nh2
3y ago
While a possible explanation, that sounds extremely inconvenient, and a silly default. It's Google's own group of my own org. Does it make sense that the spam button would punish my group own email? Also, if I mark it spam in the
340.
▲
by
nh2
3y ago
My favourite Nix error message is infinite recursion encountered, at undefined position
341.
▲
by
nh2
3y ago
I'm not the person you asked, but say you have 10 TB of logs. Assuming 3 GB/s SSD, 10 SSDs, and a compression as you suggested of 10x, a query for finding a string in the text would take 10000 / 3 / 10 / 10 = 33 sec
342.
▲
by
nh2
3y ago
I agree on the technical part, but: A problem is that you can do everything technically right, and sitll land in spam, because some big players don't play by the usual rules. For example, Microsoft apparently has an allowlist for IPv4
343.
▲
by
nh2
3y ago
Cannot confirm. We get a large number of false positives at our business GMail: Customer requests for quotes, Paypal/Stripe security messages, lots of other important emails go to spam. See e.g. https://github.com/nh2&#
344.
▲
by
nh2
3y ago
Because you want to find all occurrences of "error abc123" over the last year, immediately?
345.
▲
by
nh2
3y ago
For completeness: The orignal post says: S3 has no rename or move operation. Renaming is CopyObject and then DeleteObject. CopyObject takes linear time to the size of the file(s). This comes up fairly often when someone ha
346.
▲
by
nh2
3y ago
I don't quite follow the argument: > it’s on you to ensure the foreignptr’s lifetime becomes interlinked with the returned b Yes; the simplest way to do that is to make sure that your data types never contain raw `Ptr`, only `Foreig
347.
▲
by
nh2
3y ago
The key difference between lexicographically keyed flat hierarchies, and directory-nested filesystem hierarchies, becomes clear based on this example: dir1/a/000000 dir1/a/... dir1/a/999999 di
348.
▲
by
nh2
3y ago
> listing based on file prefixes is extremely fast This functionality does not exist to my knowledge. ext4 and XFS return directory entries in pseudo-random order (due to hashing), not lexicographically. For an example, see e.g. https:&
349.
▲
by
nh2
3y ago
If it is an NFS concept, not FUSE, then "use interrupt mounts for things like sshfs" does not really make sense, because sshfs is a FUSE program and not related to NFS.
350.
▲
by
nh2
3y ago
Haskell's FFI has `withForeignPtr :: ForeignPtr a -> (Ptr a -> IO b) -> IO b` [1]. A ForeignPtr is a GC-managed pointer with an associated finalizer. The finalizer runs when the ForeignPtr gets GC'd. `withForeignPtr` crea
351.
▲
by
nh2
3y ago
What's an "interrupt mount"?
352.
▲
by
nh2
3y ago
When we went to test it in an Apple store a few days ago, Apple staff could not answer product questions such as "does it support WebXR". The in-person demo of the Vision Pro in the Apple Store is scripted to a few actions and app
353.
▲
by
nh2
3y ago
I posted this on https://github.com/seaweedfs/seaweedfs/discussions/5290
354.
▲
by
nh2
3y ago
Agreed, it depends on the use case. For some "more storage" is all that matters, for others you don't want to be bottlenecked on getting it into / out of the machine or through processing.
355.
▲
by
nh2
3y ago
First, the feature set you have built is very impressive. I think SeaweedFS would really benefit from more documentation on what exactly it does. People who want to deploy production systems need that, and it would also help potential contr
356.
▲
by
nh2
3y ago
"1PB in a rack"? You can apparently already buy 2.5PB in a single 4U server: https://www.techradar.com/pro/seagate-has-launched-a-massive...
357.
▲
by
nh2
3y ago
We do not require to have experience with all tech listed, but the more of it one is familiar with, the faster onboarding will be. For example, our last hire knew Haskell/Python/TS/React well, and got into C++ in our project.
358.
▲
by
nh2
3y ago
Benaco | full stack | 100% REMOTE (global) | https://benaco.com Founder-owned, bootstrapped Computer Vision startup. Benaco creates high-quality 3D models out of photo and laser data. We bring photorealistic digital twins into b
359.
▲
by
nh2
3y ago
What is alpha quality about bupstash? It has less features than Kopia, but what's there looks like high-quality to me. (I'm also using it to back up 150 TB (300 million files), on which all other dedup programs run out of memory.)
360.
▲
by
nh2
3y ago
One reason for using Ceph instead of other RAID solutions on a single machine is that it supports disk failures more flexibly. In most RAIDs (including ZFS's, to my knowledge), the set of disks that can fail together is static. Say you
More ›