Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nh2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
571.
▲
by
nh2
7y ago
Could you elaborate/link on the loader-independency topic?
572.
▲
by
nh2
7y ago
> spent hours figuring out how to debug-print a value from a pure function What method did you try to figure it out? If I google "haskell debug print pure function" , the first three results I get are: * https://hac
573.
▲
by
nh2
7y ago
A friend of mine built SMOS, an open-source terminal UI task manager similar to TaskWarrior, fully based on a tree editor (but IIRC not a DAG -- no merging): https://smos.cs-syd.eu/features.html In general I think that tree
574.
▲
by
nh2
7y ago
OpenSCAD uses CGAL which allows for exact definitions for the rendered-out objects (as opposed to floating-point-inaccurate results; often observed as e.g. flickering coincident planes in OpenSCAD's non-CGAL OpenGL preview). What does
575.
▲
by
nh2
7y ago
Hetzner's dedicated storage servers cost ~180 $/month for 100 TB storage: https://www.hetzner.de/dedicated-rootserver/matrix-sx?countr... That is pretty close to the $2 per TB per month from the article (assu
576.
▲
by
nh2
7y ago
Yes, the Nix ecosystem makes running both servers and services much easier than any other tools I have used. I describe the deployment I run with it here: https://news.ycombinator.com/item?id=21468506 Nix is not typed (it w
577.
▲
by
nh2
7y ago
Check out some of the recent Phoronix benchmarks.
578.
▲
by
nh2
7y ago
"Stardate 2020. There is a mainstream OS with great driver support and the best gaming performance, that everybody uses (Linux). There are two other OSs battling for survival: One run by open source fanatics that release open source ed
579.
▲
by
nh2
7y ago
These are fair points. POSIX shell being fixed forever though also means it will /never/ get "fixed". Shell's silent-failure-by-default, implicit-by-default, principle-of-most-surprise semantics will always be there
580.
▲
by
nh2
7y ago
It even has code intelligence, for example in https://code.onedev.io/projects/onedev-server/blob/master/se... Impressive! Some questions: * How long did it take you to build OneDev (e.g. in hours time in
581.
▲
by
nh2
7y ago
What's keeping me on Slack instead of Zulip is its inability to mark messages as unread [1] (Alt+Click on Slack). I think that's critical for a communication app when you want to ensure that you've answered all things that ne
582.
▲
by
nh2
7y ago
Computer vision, specifically reconstruction of 3D models from 2D photos, as a service.
583.
▲
by
nh2
7y ago
I rent dedicated servers at Hetzner. No cloud machines, no hosted cloud services for production beyond DNS. * 3 machines in separate data centers (equivalent of AWS AZs) for >= 30 EUR/month each. ECC RAM. * These machines are /
584.
▲
by
nh2
7y ago
Having worked with both Redux and a "real" FRP implementation (Haskell's Reflex library), I wouldn't call Redux FRP. In Redux one explicitly, imperatively sends messages to a top-level message dispatcher, which then invo
585.
▲
by
nh2
7y ago
Paying things yearly makes 12x less effort in accounting.
586.
▲
by
nh2
7y ago
Cannot confirm this claim. I've always got full 1Gbps out of Hetzner, even across the ocean, and for periods of multiple days of transfers. (Like on all machines, you need to set the right TCP settings for windows sizes to make it phys
587.
▲
by
nh2
7y ago
I would recommend anyone using NixOS in production to use the release versions. That's what I do on my servers.. Like for other distros, the point of releases is that they don't upgrade random software under your feet, resulting i
588.
▲
by
nh2
7y ago
Where I did my CS degree (Imperial College London) , Haskell is the first language taught (before Java and C). To my knowledge across 4 years there, nobody ever dropped out because of the Haskell. People usually struggled with the maths ins
589.
▲
by
nh2
7y ago
Making your code public -- this works. I open-source all my code by default, and giving it to the world in good quality is a big motivator to do it well. It also builds you a nice portfolio which is useful outside of "work for yourself
590.
▲
by
nh2
7y ago
Recursion based implementation of parsers in languages with limited stack size is a programmer mistake.
591.
▲
by
nh2
7y ago
Protobuf crashes with data larger than 2GB (json does not). This severely limits its usefulness, unless you want to put workarounds of this shortcoming into your application. Other protobuf-like things like capnproto don't have that r
592.
▲
by
nh2
7y ago
It was a normal reboot via the Start menu. Quite certainly a cold reboot will wipe GPU RAM, but that's beside the point that software should make sure that unprivileged software from one OS should be able to read privileged contents fr
593.
▲
by
nh2
7y ago
The machine was rebooted directly from Windows into Linux, not power-shut-off. I'm not complaining about the lack of physical decay in DRAM, but about software.
594.
▲
by
nh2
7y ago
Hi, I accidentally found that my Linux screenshare program is able to send leftover video memory from a previous Windows boot (shut down 5 days ago) over the Internet, showing the private Windows desktop contents of the last logged in user.
595.
▲
Windows desktop GPU memory leaking into Linux screenshare app
(github.com)
3 points
by
nh2
7y ago
|
6 comments
596.
▲
by
nh2
7y ago
I'm not super convinced. Wouldn't it be nicer if I can easily make it fail e.g. the current request, instead of crashing the process completely?
597.
▲
by
nh2
7y ago
For many low-level languages, it's simply a matter of finding all malloc()s, checking the return value, and failing as appropriate. That can mean "not accepting this TCP request", "not loading this file", "not
598.
▲
by
nh2
7y ago
My hunch regarding overcommit is that Linux should sort out this situation, making disabled-overcommit a first-class scenario. We (application developers) will follow and adjust our programs to correctly handle malloc() failure -- after all
599.
▲
by
nh2
7y ago
This is good advice overall, in my experience. Most of the small/medium sized companies I've consulted for could have been easily served by a triple-redundancy Hetzner dedicated server setup for 200 EUR/month. Yet they they c
600.
▲
by
nh2
7y ago
Note that using function-call based recursion is a programming mistake in most common programming languages, as they have a fixed sized stack. This includes many "functional" languages like Scala. Even Haskell had a default stack
More ›