Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nh2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
691.
▲
by
nh2
9y ago
You forgot Google Meet.
692.
▲
by
nh2
9y ago
Block device based replication for Postgres seems a bit unconventional given that Postgres has native synchronous replication support with WAL streaming. Intuition tells me that you might get better performance if you let the DB itself do t
693.
▲
by
nh2
9y ago
Can you elaborate on that? I haven't been able to conclude that from what it says on the pricing page [1]: > Data transfer is free. AWS does not charge for data transfer from your data producers to Amazon Kinesis Data Streams, or fr
694.
▲
by
nh2
9y ago
Further, the Android app doesn't have an issue tracker. According to [1] and links in there it was removed without explanation. [1] https://github.com/telegramdesktop/tdesktop/issues/1137
695.
▲
by
nh2
9y ago
That is wrong. If you read the thread, you would immediately see that, as I give examples there of how issues that were in the middle of being tested by users were closed, and that were acknowledged as real issues by the developers days bef
696.
▲
by
nh2
9y ago
> Developer velocity has no practical impact on the user experience. This may be true in a megacorp. I doubt it's true in a project like Signal where resources are limited and a few developers are the single bottleneck for everythin
697.
▲
by
nh2
9y ago
Tests and CI help you make sure that functionality actually works, that buttons you press have the desired effect, and that if I as a contributor ship you a pull request for a UX/feature improvement, both your and me can check that it
698.
▲
by
nh2
9y ago
One argument might be "because Signal * has (almost) no tests, * has no CI (at least I could find none), * lacks some basic features competitors have, * sometimes doesn't ring when you call, and * they just closed all 1100 open is
699.
▲
Debugging across pipes and sockets with strace [pdf]
(github.com)
111 points
by
nh2
9y ago
|
11 comments
700.
▲
by
nh2
9y ago
Blogger even blocks the "Go back one page" (Alt+Left / mouse side button) for me. Visitor, you better stay.
701.
▲
by
nh2
9y ago
shutdown() and half-closes are not "archaic" features. You need them to get even the basic stuff right (see https://blog.netherlabs.nl/articles/2009/01/18/the-ultimate-... ) and you need it even
702.
▲
by
nh2
9y ago
Usually you need "nameserver 8.8.8.8", not just the IP. Or is a plain IP accepted as well?
703.
▲
by
nh2
9y ago
Interesting article. > Your browser is usually clever enough to use the working IP address if the other one is not working. I found this to not work well. Have you tested it? For me it took 1-2 minutes for Chromium to switch over to the
704.
▲
by
nh2
9y ago
This doesn't need docker and not even 20 minutes. initdb -D mypostgresdatadir # creates the DB postgres -D mypostgresdatadir -p 1234 # runs DB on given port Done. On systems like Ubuntu, these binaries live i
705.
▲
by
nh2
9y ago
How do you know that? Look how much Redox has achieved in so little time and with so few people. It has everything from a kernel to a fully working desktop GUI. All because they use a good language that allows easy code reuse and proper lib
706.
▲
by
nh2
9y ago
In practice, it is an acceptable (as in, not great, but sufficient) solution. It is annoying to not have the high quality of IDE tooling you'd enjoy with Java, but in contrast to Java you can be very productive in Haskell even withou
707.
▲
by
nh2
9y ago
Why would iperf-created traffic not be a good indicator of real world performance? On pretty much all sensible networks I've tested iperf3 on, performance of actual applications sending data was close to its results.
708.
▲
by
nh2
9y ago
Overhead over what, and at which line speed? 1 Gbit/s, 10 Gbit/s? Tinc on bare metal hardware has pretty low CPU usage at 1 Gbit/s, but not so at 10 Gbit/s.
709.
▲
by
nh2
9y ago
I think much worse is forgetting to check the size returned by a read() or write() call, especially when dealing with sockets. Unchecked malloc() crashes very easily, data chopped off in the middle usually triggers problems on the /oth
710.
▲
by
nh2
9y ago
> The usual way is to ensure that after forking you only execute async-signal-safe code. Reading your comment I realised I misunderstood what the parent said. This misunderstanding is what made it a suprise for me. Critically, I missed &
711.
▲
by
nh2
9y ago
This sounds incredibly bad. For most more complex programs and libraries, you have no control over when they malloc(). If you spawn a thread and run any library function in it, it may malloc(). Doesn't this mean that any program writte
712.
▲
by
nh2
9y ago
> The reason for this snowball effect is largely due to a lack of confidence that feeds upon convenience as opposed to examination of why technical problems exist in the first place. I find this a great answer. Much time is spent these d
713.
▲
by
nh2
9y ago
I don't get it, isn't this from 2013? It also says 2013 in the paper. And papers from 2013 cite this paper according to Google scholar. And I'm relatively sure I read this paper years ago.
714.
▲
by
nh2
9y ago
HP OfficeJet Pro 8620. It's an all-in-one, but interestingly the best scanner for such purposes I've found so far (I'd love to find a better one). Scans both sides, up to 50 pages in a batch. Open-source drivers, works well w
715.
▲
by
nh2
9y ago
Something is broken with the scrolling on that page. If I press arrow-down or page-down, nothing happens. It just shows "toot toot", not a great experience. Only after 20 seconds I figured that clicking the page and then the butto
716.
▲
by
nh2
9y ago
Thanks for this quote. It prompted me to do a quick afternoon experiment with how git would handle a billion lines of code: https://news.ycombinator.com/item?id=15892518
717.
▲
Storing billions of lines of code in Git on a laptop
(github.com)
4 points
by
nh2
9y ago
|
0 comments
718.
▲
by
nh2
9y ago
I remember reading something about that on HN; digging it up I saw that it was indeed you who posted that: https://news.ycombinator.com/item?id=15422475
719.
▲
by
nh2
9y ago
I am currently using Stolon with synchronous replication for a setup, and overall it's great. It gives me automated failover, and -- perhaps more imporatantly -- the opportunity to exercise it a lot: I can reboot single servers willy-n
720.
▲
by
nh2
9y ago
On the other hand: With hosted Postgres, when a failure does happen, isn't it much harder to get at the log files? They seem extremely useful to diagnose the problem and make sure it doesn't happen again, as the article shows. Wha
More ›