Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nh2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
601.
▲
by
nh2
7y ago
Agreed. I found that the best way to get reliable ops long-term is to mercilessly dive into the code for every issue encountered, and fix it at fundamental level. It takes significant time, but after following this practice for a while, thi
602.
▲
by
nh2
7y ago
How can I use it? The simplest way seems to be to use the "Celeste" color scheme which implements this. Is this the only way? I'd like to use a dark theme, like the default Monokai.
603.
▲
by
nh2
7y ago
I've asked it here now: https://github.com/timberio/vector/issues/568
604.
▲
by
nh2
7y ago
That is correct, but it doesn't answer the question whether it's Bytes or bits (which makes an 8x difference). Given that the reported values don't care about the "m" (which means "milli" -- clearly doesn&
605.
▲
by
nh2
7y ago
For clarification, does "mib/s" mean "Mbit/s" (since lowercase b usually stands for bits, and uppercase B usually for Bytes)? If yes, how comes log processing runs at only so low throughput in general? That is
606.
▲
by
nh2
7y ago
Awesome. Some feedback: * When you click one of the lower videos, nothing happens. That is because what actually happens is that far far up, the video got replaced. But the user can't notice the action happens scrolled off-screen. Very
607.
▲
by
nh2
7y ago
@tptacek I have seen various endorsements of Signal from you, Bruce Schneier, Edward Snowden and so on. I am honestly curious about how this aligns with the fact that Signal * has no tests [1], * has no CI [2]. How can the security of a sof
608.
▲
by
nh2
7y ago
Found the list of things that work and don't work yet: https://git.jami.net/savoirfairelinux/ring-project/wikis/fea... Looks like the traditionally hard ones "Group chat" and "Chat history
609.
▲
by
nh2
7y ago
That's a good question (and the downvotes are unjustified), but > you'll never convert the majority of your friends/connections to use these niche messaging services isn't true -- it's certainly possible, if you
610.
▲
by
nh2
7y ago
Is their Gitlab broken? For me all relevant subrepos are "Not found". Clicking "Features -> Gitlab -> jami-project", which brings me to https://git.jami.net/savoirfairelinux/ring-project , and
611.
▲
by
nh2
7y ago
Please allow swiping the address bar to switch tabs. Otherwise it's just too slow. That is what keeps me away from using Firefox on mobile (15 years Firefox user).
612.
▲
by
nh2
7y ago
/proc doesn't really tell you much about userspace concerns such as "how much memory has the malloc implementation handed out to the program. It describes only the kernel-userspace parts of memory usage. For example, malloc f
613.
▲
by
nh2
7y ago
Sure, my patches are linked in the bugs I filed: https://sourceware.org/bugzilla/show_bug.cgi?id=24026 - "malloc_info() returns wrong numbers" https://sourceware.org/bugzilla/show_bug.cgi
614.
▲
by
nh2
7y ago
Are there functions available with which I can at run-time query how much OS memory is used, how much handed out in allocations, how many mmap()ed pools are used, and so on? I find that one of the most important features of a malloc library
615.
▲
by
nh2
7y ago
I'm currently working on a "scriptable strace" in Haskell that you can use to inject arbitrary faults via syscall modification. https://github.com/nh2/hatrace I've used it so far to find and determi
616.
▲
by
nh2
7y ago
Can confirm. For me also sometimes input "buffers up", not showing up for over a second, and then appearing at once. I attribute most of that to the first bug in my list for now, as it freezes everything.
617.
▲
by
nh2
7y ago
I can confirm both. Often, closing a tab in Chromium simply does nothing. Chromium has lost my tabs multiple times (not by profile corruption, but not restoring them on startup). Firefox hasn't lost my tabs for over 10 years -- one big
618.
▲
by
nh2
7y ago
> 800 tabs As you commented, most of them are unloaded and only 10-20 are actually "real tabs". Have also tested with less by now, same problem. On Chrome on Android I have more tabs, 16x less RAM and 50x less CPU power, and it
619.
▲
by
nh2
7y ago
I can't really speak to the Windows (FF/Chrome) -> Linux (FF) switch, but I have seen so many Windows setups that 100%-CPU-loop for unknown (likely browser unrelated) reasons that I would not be surprised if people considered s
620.
▲
by
nh2
7y ago
> Why did you reference that last issue? Because it's still happening, also on Quantum. I still see the 5-15% CPU usage on idle. If you strace Firefox, you'll see the syscall spam, even when the browser is apparently fully idle
621.
▲
by
nh2
7y ago
Firefox has significant performance and correctness problems. * Multi-second UI jank/freeze ( https://bugzilla.mozilla.org/show_bug.cgi?id=1546847 ) * HTTP2 is broken, infinite-stalls and internal errors surface if you u
622.
▲
by
nh2
7y ago
The container stuff can be very buggy. A few weeks ago I tried to run Debian and Ubuntu on an older Chromebook with Crouton (also a container solution). Systemd failed booting, because the last published Chromebook kernel for that device ha
623.
▲
by
nh2
7y ago
The Nix package manager can help keeping packages that are not available for your distribution updated and customised ( https://nixos.org/nix/ ). In the past I used to install newer, or customised, versions of e.g. `git`
624.
▲
by
nh2
8y ago
I don't think so: Full immediate mode rendering on the GPU would require scene graph and application logic on the GPU. People don't do that stuff in shaders or CUDA, because they were neither designed for it, nor is it fast, nor i
625.
▲
by
nh2
8y ago
Rust can run on the Arduino Nano. Here is one example I ran on it: https://github.com/nh2/quadcopter-simulation/blob/master/ard...
626.
▲
by
nh2
8y ago
You can also do some simple math to arrive at a justification: Assume a 4k x 2k display at 60 FPS. Compute the throughput needed (Bytes per second) to draw an RGB framebuffer. That is: 8M pixels x 3 Bytes x 60 fps = 1.44 GB/s Note how
627.
▲
by
nh2
8y ago
> ... people scroll almost constantly in which case the ImGUI wins by a landslide I think this is a misrepresentation of how fast scrolling is usually implemented. For fast scrolling, you render the page (which is larger than the viewpor
628.
▲
by
nh2
8y ago
I've always found the name `assert()` to be particularly bad. Many people do not know that their compilers optimise away assertions in `-O` ("release") builds. They use assertions for control flow and input validation, which
629.
▲
by
nh2
8y ago
As per other comments in this thread, it seems to classify emails from Google products as Spam as well. Also for a minor correction (not that I think this matters): It's not free, it's paid for, because it's a G Suite account
630.
▲
by
nh2
8y ago
Nevertheless, here are the email headers, in case anybody can spot something that Google didn't: https://github.com/nh2/gmail-spamfilters-paypal-security-mes...
More ›