Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Calzifer
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
Calzifer
7mo ago
> Because initramfs is just a (mostly) normal Linux system, that means it has its own init PID 1. On Arch, that PID is in fact just systemd. Debian has (or had; at least my Devuan still has) a simple shell script as first init. Was an in
2.
▲
by
Calzifer
7mo ago
I wouldn't even expect it on newly created stuff without the -p flag. Normal cp doesn't do it.
3.
▲
by
Calzifer
7mo ago
> 3) Google is biased towards sites that cover a topic earlier than others. > I’ve seen pages that are still top 3 for a particular competitive query years later, simply because they were one of the first to write about it. Reason why
4.
▲
by
Calzifer
7mo ago
Process substitution and calling it file redirect is a bit misleading because it is implemented with named pipes which becomes relevant when the command tries to seek in them which then fails. Also the reason why Zsh has an additional =(com
5.
▲
by
Calzifer
8mo ago
> Or is there some particular criteria an init system needs to satisfy to be included, that systemd doesn't satisfy but the others do? Reading the first sentence on that page was to much? "Init Freedom is about restoring a sane
6.
▲
by
Calzifer
9mo ago
> Data centers are built with redundant network connectivity, backup power, and fire suppression. [...] The question is their relative frequency, which is where the data center is far superior. Well, I remember one incident were a '
7.
▲
by
Calzifer
10mo ago
I was curious if they optimized the download. Did it download the 'optimized' ~150 GB and wasting a lot of time there or did it download the ~20 GB unique data and duplicated as part of the installation. I still don't know bu
8.
▲
by
Calzifer
1y ago
At least Prosody implements BOSH (xmpp over http) and communication over Websocket. https://prosody.im/doc/setting_up_bosh https://prosody.im/doc/modules/mod_websocket But I never tried it my
9.
▲
"End-to-end fraud" with hard drives: Seagate finds counterfeit workshop in Asia
(heise.de)
4 points
by
Calzifer
1y ago
|
0 comments
10.
▲
by
Calzifer
1y ago
It is apparently also hard to maintain over time. I heavily customized my Firefox and Thunderbird and it is annoying how often GUI components which should be equal (e.g. toolbar buttons in different places) look the same* but have multiple
11.
▲
by
Calzifer
1y ago
> I understand that search bar position is not changeable by theming, It is changeable. With enough dedication you can go a long way just with CSS. In this case it is even rather easy because the "unified toolbar" the thing con
12.
▲
by
Calzifer
1y ago
Also > it is also not possible to theme the settings areas. I don't see a reason why this should not work. If by settings area the author means the settings page which in modern Thunderbird is more or less a web page in the content
13.
▲
by
Calzifer
1y ago
Don't know what exactly PostCSS is but with a JavaScript addon it would probably be wiser to inject the custom css directly into the shadow dom instance if possible and avoiding such hacks. Also, by the way, when JavaScript addons get
14.
▲
by
Calzifer
1y ago
> Also, note that some areas of ThunderBird are rendered outside of the influence of userChrome.css in a "Shadow DOM" - as such, it is not possible to fully theme all elements of Thunderbird. With some limitations it is possibl
15.
▲
by
Calzifer
1y ago
> The service required is DNS not ping. ping 1.1 is short and easy to remember. Since I'm not using Cloudflare DNS, ping is actually the service I require :D
16.
▲
by
Calzifer
1y ago
Bash is slower than other POSIX compatible shells but once you start running external commands for any substring or replace operation you loose much of this performance edge since forking is comparable slow. One reason why I personally pref
17.
▲
by
Calzifer
1y ago
Just last week I had again some PDFs Okular could not open because of some more uncommon form features.
18.
▲
by
Calzifer
1y ago
(A)PNG supports semi-transparency. In GIF a pixel is either full transparent or full opaque. Also while true color gifs seem to be possible it is usually limited to 256 colors per image. For those reasons alone APNG is much better than GIF.
19.
▲
by
Calzifer
1y ago
A PiTest blog post [1] mentions an interesting article [2] on how mutation testing is (or was) used by Google. If I remember correctly, instead of overwhelming the developer with the full report, CI only presented a hand full of randomly ch
20.
▲
by
Calzifer
1y ago
Arrays are fast and ArrayList is like a fancy array with bound check and auto grows. Only the grow part can be problematic if it has to grow very often. But that can be avoided by providing an appropriate initial size or reusing the ArrayLi
21.
▲
by
Calzifer
1y ago
Since most things in Java are handled by reference, including Strings there should be not that much memory overhead. From a quick look I could not find any actual line duplication.
22.
▲
by
Calzifer
1y ago
And since benchmarking is hard is also has a helper to actually "waste" time. [1] The implementation [2] might give an idea that it is not always trivial to do nothing but still appear busy. Btw I found most of the jmh samples int
23.
▲
by
Calzifer
1y ago
for(int i=0;i<10000; ++i){ // do nothing just compute hash again and again. hash = str.hashCode(); } https://github.com/MayankPratap/Samchika/blob/eb
24.
▲
by
Calzifer
1y ago
My biggest annoyance with FastCGI is the ambiguity between FastCGI Server, FastCGI Application and FastCGI Proxy in documentation and articles. To give some examples what I mean: - Apache can be a FastCGI server (mod_fcgid) and proxy (mod_p
25.
▲
by
Calzifer
2y ago
Why wake up if your condition is not yet met? The wait timeout is the time after it should continue if it was not notified. It is meant to be waken up as soon as possible by a notify. If the value is available almost immediately it will wak
26.
▲
by
Calzifer
2y ago
That just opens the door for invalid combinations. As others said there is not only "_blank" but other special values like "_top". <a target-new-window=true target-top-frame=true target-self=true ... Now the br
27.
▲
by
Calzifer
2y ago
I'm late to the party but want to add that "reference date 1875-05-20 defaults to 150 years" explanation makes no sense to me. Assuming the reference date is correct and unknown birth date is stored as timestamp 0. Since we a
28.
▲
by
Calzifer
2y ago
https://en.wikipedia.org/wiki/Session_fixation In short, in at least one variation, the attacker is able to smuggle in a known (unauthenticated) session token into the victims browser. Once the victim logs in the sessi
29.
▲
by
Calzifer
2y ago
Java doesn't even allow to change the working directory also due to potential multi-threading problems. Another reason why Java isn't the greatest language to create CLI tools with.
30.
▲
by
Calzifer
2y ago
Great, a few more decades and it might become a usable bugtracker. What's next on the list? Maybe priority/severity or status/resolution? I helped on a quite large open source project for some time and loved working with Bugz
More ›