Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nh2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
541.
▲
by
nh2
6y ago
Not "consumer", but the only M.2 SSD with 80 mm length (M.2 2280) I found that has power loss protection is this one: https://www.kingston.com/en/ssd/dc1000b-data-center-boot-ssd
542.
▲
by
nh2
6y ago
This is evidently false. It is a well-known result of Computer Science how static types and mathematical proofs are equivalent (see https://en.wikipedia.org/wiki/Curry%E2%80%93Howard_correspon... ). If you make static t
543.
▲
by
nh2
6y ago
I think you're pretty much right. E.g. https://github.com/thestinger/allocator/tree/f42a6c2dffb63d5... (found via Google) explains: > The Linux kernel also lacks an ordering by size, so it has to use
544.
▲
by
nh2
6y ago
This is correct. malloc_trim() can make the unused memory pages (within an mmap() that malloc did) available for use by other processes using madvise() (turning them from grey squares into white squares in the linked article's visualis
545.
▲
by
nh2
6y ago
Why do you have to call malloc_trim()? According to the docs [1,2] it should be called automatically when the free space exceeds the default M_TRIM_THRESHOLD of 128 KiB. Is it because of this bug [3] or for another reason? [1] https:&
546.
▲
by
nh2
6y ago
Pledged.
547.
▲
by
nh2
6y ago
It works in ZSH; press Enter first. (Enter, ~, .)
548.
▲
by
nh2
6y ago
I'm a programmer, have done server sysadmin since I was 12, Linux on the desktop since 16, startup since 25. I'm now 29. Edit: Because other replies in the thread complain that "technically competent" is not well defined
549.
▲
by
nh2
6y ago
I got that, and it's an often-heard argument, which is why I stated that it worked as described for other companies as well.
550.
▲
by
nh2
6y ago
Yes: Ganeti, an open-source cluster-management system: https://en.wikipedia.org/wiki/Ganeti
551.
▲
by
nh2
6y ago
> Your 3 months is 5 years for someone trying to learn on their own in their spare time. I learned the key parts of Haskell in 3 months of my spare time from university (where I had much less spare time than I have now in industry). And
552.
▲
by
nh2
6y ago
> “secret weapon” and do not advertise it Both Standard Chartered and Barclays loudly advertise that they use Haskell. A quick web search turns up their job offers on Reddit, and both also send people to conferences such as Haskell eXcha
553.
▲
by
nh2
6y ago
It's odd how the various smaller companies I referred to, many of which are normal enough that you may never have heard of them, get summarised as "It was Google". I only mentioned it to also include the largest org I know wh
554.
▲
by
nh2
6y ago
Counter point on "investment": I was in a Haskell team at Google, and have trained groups at various companies professionally. From that experience, for a normal developer with working experience in Java, Python, or C++: * It take
555.
▲
by
nh2
6y ago
strace. Even after having learned many programming languages and contributed to various projects, it was only when I started using strace that I felt like truly, efficiently understand what any program does, and can reliably write programs
556.
▲
by
nh2
6y ago
I expect Nix to become more popular due to its ability to build static binaries. The key benefit that nixpkgs has over other Linux distributions' package sets on this topic are: 1. It allows you to _program_ your package set, thus addi
557.
▲
by
nh2
6y ago
You may enjoy this StackOverflow answer on The Return of Static Linking, summarising advancements on the topic: https://stackoverflow.com/questions/3430400/linux-static-lin...
558.
▲
by
nh2
6y ago
If you just want to enable it in your kernel (in case your distribution hasn't already), the config option is called `CONFIG_NET_DROP_MONITOR`. I've recently made it on-by-default in NixOS and also collected some info about which
559.
▲
by
nh2
6y ago
I'd argue that these things are comparatively easy to address, as one use of `strace` will immediately show bad IO patterns like that, and it works the same way across all programming languages.
560.
▲
by
nh2
6y ago
> I’m not sure whether this has been true in the past Phoronix.com has a lot of Clang benchmarks over the years. I recall seeing some benchmark that showed that as Clang approached GCC in performance of compiled output, the compile speed
561.
▲
by
nh2
6y ago
Hey, this is cool, I'm looking to switch from a proprietary accounting app to something open-source. It being open-source is important mainly because accounting apps UX usually sucks for some specific types of data entry and I want to
562.
▲
by
nh2
7y ago
Last year I did a course on learning braille, run by two blind friends. Definitely get a refreshable braille display, and learn it and set up your usual development workflow while you can still see. I was amazed by how plug-and-play the bra
563.
▲
by
nh2
7y ago
Yes, and the announcement even says: "Binaries for Mac and Linux are available."
564.
▲
by
nh2
7y ago
Why would you have to "add Haskell to your CI" to run the tool? You also don't have to install C++ and Rust compilers to be able to run Firefox, or a Haskell compiler to run Pandoc.
565.
▲
by
nh2
7y ago
My understanding is that WebRTC echo cancellation seems to work work by just attenuating down the everybody who is not the loudest speaker. You could try an app like Mumble, where you can turn that off (and also have other detail controls,
566.
▲
by
nh2
7y ago
You may want to check out our startup, it focuses on smooth transitions from just panorama photos. https://benaco.com It works quite nicely for museums and supports hosting everything on your own server / offline if needed.
567.
▲
by
nh2
7y ago
Is this really a compelling argument for the given case? A detailed audit does not seem necessary here: This is not some surprising behaviour hidden in some random dependency. This is the Facebook SDK, from Facebook, and everybody knows w
568.
▲
by
nh2
7y ago
> I don't think these companies are sharing data with Facebook intentionally. That would imply they are incompetent and negligent. Would one not expect large companies like LG to have internal security and privacy reviews of the sof
569.
▲
by
nh2
7y ago
It seems that Julia is simply discovering the effects of memory fragmentation and the corresponding glibc malloc tunables. I have commented with some details there: https://github.com/JuliaLang/julia/issues/30
570.
▲
by
nh2
7y ago
Fear not, static linking is back on the rise! https://stackoverflow.com/questions/3430400/linux-static-lin... I've also linked this Zig post into that list (and happy to add further languages if you can provi
More ›