Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nh2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
361.
▲
by
nh2
3y ago
If you'd like to meet some likeminded people reasonably-nearby, feel invited to the Zurich Nix meetup [1] or the largest Haskell conference [2]! [1]: https://www.meetup.com/nix-zurich/ [2]: https://zfoh
362.
▲
by
nh2
3y ago
What is the license? The repo doesn't say.
363.
▲
by
nh2
3y ago
Changing the setting redirects me to " https://www.dropbox.com/team/admin/settings/ai " in the Admin Console so I assume this controls it for the entire team.
364.
▲
by
nh2
3y ago
(How) Can I turn that off for the entire company account?
365.
▲
by
nh2
3y ago
Those are not the same. You can see cache usage in htop; it has a different colour. With MADV_FREE, it looks like the process is still using the memory. That sucks: If you have some server that's slow, you want to SSH into a server and
366.
▲
by
nh2
3y ago
Yes, almost everybody who looks at memory usage in production will eventually discover glibc's memory fragmentation issues. This is how I learned about this topic. Setting the env var MALLOC_MMAP_THRESHOLD_=65536 usually solves these p
367.
▲
by
nh2
3y ago
Be aware `jemalloc` will make you suffer the observability issues of `MADV_FREE`. `htop` will no longer show the truth about how much memory is in use. * https://github.com/jemalloc/jemalloc/issues/387#issueco
368.
▲
by
nh2
3y ago
No. If you don't call fsync(), there's no guarantee that your data will _ever_ be written to disk. Some file systems with some settings may write data to hardware after some delay or periodically, but others may not. fsync() "
369.
▲
by
nh2
3y ago
"memfd + linkat"? How shall that work? memfd is for files in RAM. linkat cannot get them onto disk. What you seem to have in mind is what the grandparent post already described: "O_TMPFILE + linkat".
370.
▲
by
nh2
3y ago
The throwaway acccount is right. In POSIX, file content data and metadata (directory entries) are separate. Atomicity and durability are separate. It is likely that the LWN post author understands this very well, but omitted this important
371.
▲
by
nh2
3y ago
For people who want to read more about this in _up-to-date_ documentation: * `auto_da_alloc` section of https://www.kernel.org/doc/html/latest/admin-guide/ext4.html * https://en.wikipedia.org&
372.
▲
by
nh2
3y ago
What you say is correct, and ext4's current default behaviour can be quite confusing: * ext4 turns rename() into an invisible fsync(), if the target file existed. * ext4 turns close() into an invisible fsync(), if the opened file exist
373.
▲
by
nh2
3y ago
> I believe Joel Spolsky mentions this. Anybody happen to know the link?
374.
▲
by
nh2
3y ago
Futhark ( https://futhark-lang.org ) is an example of a functional language specifically designed for writing "normal" high-level functional code that compiles to parallel execution.
375.
▲
by
nh2
3y ago
What is the current story regarding replication between B2 and GCS Archive Storage? B2 currently costs 6 $/TB/month, GCS Archive Storage costs 5x less at 1.2 $/TB/month. Do both of these guarantee that if a single data c
376.
▲
by
nh2
3y ago
"Just starting a postgres" is possible but it's a lot harder than it should be. Generally, you can just run the `postgres` command, but it creates many unnecessary hurdles: * Just want to invoke `postgres`? Not possible, you
377.
▲
by
nh2
3y ago
I'm currently waiting on the integration between Delta and Difftastic: https://github.com/dandavison/delta/issues/535 Difftastic now has JSON output, whic should make it much easier to build this.
378.
▲
by
nh2
3y ago
I'm asking what people actually use in production. It is part of a thread that started with > All People I have interacted with have never seen Kalman Filters outside Academica. Do anyone here have industry experience where Kalman F
379.
▲
by
nh2
3y ago
That paper [1] is from 2010. What did "industry" use before that for pysically moving objects? If this is the current state of the art, are there generally-available/open-source libraries existing that implement this and prac
380.
▲
by
nh2
3y ago
I am still confused by this too: Lots of typical "industry applications" given for Kalman Filters involve moving objects, like air planes, rockets, and so on. But all these objects generally rotate in some way, rotation is non-lin
381.
▲
by
nh2
3y ago
> It's rock-solid. Unfortunately, I cannot confirm. Sharing my experience: I used tinc over multiple years on production servers and it would sometimes create netsplits that did not recover. I also suspect that there's a race o
382.
▲
by
nh2
3y ago
We're using Nomad, and appreciate its comparative simplicity (we launch plain binaries created with Nix), but there are still basic features missing that can create struggles. The ones I hit are: * It can't work down batch jobs in
383.
▲
by
nh2
3y ago
I understood "the usual proposal" as "how people usually propose to format current code when others complain about lack of trailing comma", not as a proposal for an actual change to the language.
384.
▲
by
nh2
3y ago
Your syntax is incorrect, it should be data Profile = Profile { name :: T.Text , birthday :: Time.Day } deriving Show (You can't write `,` directly after `{`.) This is also why the commas are _not
385.
▲
by
nh2
3y ago
Indeed, the NixOS module works well. I just tried it: services.paperless.enable = true; In contrast to Docker, it composes well with other things on the same system (e.g. the Samba server already set up to receive documents from my
386.
▲
by
nh2
3y ago
(2022) Previous discussion: https://news.ycombinator.com/item?id=31592934
387.
▲
by
nh2
3y ago
OnlyOffice seems to be the only FOSS office suite that handles Microsoft Office documents correctly. When I open my Word docs in LibreOffice, they still look significantly different than in Word after all these years. In OnlyOffice they loo
388.
▲
by
nh2
3y ago
German computer magazine c't reviewed the "Hoverboard" in the past. I liked the article because its opening page was a full A4 x-ray image of the editor's broken arm. A small version can be seen on: https://ww
389.
▲
by
nh2
3y ago
A proper review tool such as reviewable.io (which is on top of Github) addresses all points in his "problems" list.
390.
▲
by
nh2
3y ago
If only there was a person, maybe even an organisation, to preach [1] to people that proprietary software will respect their interests and freedoms temporarily at best... Maybe they could even come up with a "Respects Your Freedom"
More ›