HNHacker News
TopNewBestAskShowJobs

ysleepy

2,222 karma · joined September 23, 2012

submissionscomments
ysleepy··on I didn't return my Apple Studio Display
They sort of imply that only the Studio display would have given him a DPI increase over his previous 27" 1440p display. Any 4k screen would have also done that.

Then he concludes that 600nits is unnecessary and that he doesn't need or want the USB-C ports.

I have no idea why he went with the apple display instead of any good 4k screen for 400$, or two of them.

ysleepy··on Why isn't there a Swagger/OpenAPI for binary formats?
Automatic generation of wireshark dissectors would be amazing.

I wrote a few in Lua, but it still felt second class citizen to built-in C dissectors, loading them was annoying and the UI to use them was too.

A good dissector will annotate fields with semantic meaning and group and nest them, giving wireshark the precise bit offset+length where a value came from.

Those are some different requirements than other parsers and reuse is therefore a bit difficult.

ysleepy··on Update Firmware of Samsung SSDs in Linux
Probably Linux is 1% of install base and 95% of support tickets. (Yes it's hyperbole)

I get why samsung doesn't want to get sucked into this. It does suck though, at least the ISO should work.

ysleepy··on Software engineering ethics by Uncle Bob
He makes a career of telling developers what businesses want him to tell them.

In my personal opinion he lacks experience with actual development and skill to even talk about code, let alone good development practices. He is a book author, not a developer sharing his expertise.

He spouts hot air for money.

ysleepy··on Software engineering ethics by Uncle Bob
Ugh, can we just stop talking about that guy?
ysleepy··on The decline and fall of Java on the desktop
That's absurd, the ops tooling is top notch and claiming python deployments are better is laughable.

FlightRecorder, single jar deployables, the JDK cli utils to get stacktraces and heap dumps etc are good.

No npm getting a zillion files. Just get some jvm, point it at your jar and done.

If you are talking 2001 servlet container and so on, sure terrible, but if you are running those, switch jobs, thats not java's fault.

ysleepy··on The impossible suddenly becomes possible
https://en.wikipedia.org/wiki/Second_Chechen_War

The numbers might not be referring to the ukraine conflict.

ysleepy··on Germany commits €100B to defense spending
The dependence is true, but I feel like this was accepted by most with the hope that economic integration of russia would avoid war in europe. Losing so much business would be a deterrent.

I and many other, probably mistakenly, believed this would keep putin in check. You have to remember that for the US russia is far away, but for us it's a neighbor and our history is bound together for centuries. East germany was part of the soviet union for decades.

We live, lived, in the longest stretch of peace on the european continent and maybe it was NATO and a common enemy but it was also because of diplomancy, compromise and economic integration.

The US is also importing $25bn of crude oil from russia while telling germany to cut down on gas imports from a reliable parter at that point.

https://www.eia.gov/dnav/pet/hist/LeafHandler.ashx?n=PET&s=M...

Putin is a whacko, damn.

ysleepy··on I tested four NVMe SSDs from four vendors – half lose FLUSH’d data on power loss
Were samsung and WD consistent in this or did you have drives from them that behaved differently?
ysleepy··on Why I Like Java (2014)
This is short sighted. Teams do not build everything from scratch, probably most shipped executables are 90% outside libraries, open source or not.

Code being predictable is a huge win, not only with other people but also with your own code from 10months ago.

It also makes change more calculable.

ysleepy··on Why I Like Java (2014)
*sequential consistency, not linerarizability
ysleepy··on Why I Like Java (2014)
Java programs are usually daemons and internally use a logging library, per default stdout is set up as one output for logging. One can usually configure the logging with the log4j or logback config files and even suppress stdout.
ysleepy··on Why I Like Java (2014)
Yeah, keep writing perl and spout cynicism about everything.

I feel like they are chasing a aesthetic of conciseness, their perfect little haskell program, not recognizing that regularity and good api design are much more important.

What is beautiful for a 100loc program becomes ugly and wrong for a 100kloc program. Other aspects become much more important.

I'm not a huge fan of go, but it proved there is a necessity for boringness in cooperation.

Boring syntax does not mean the upper limit is mediocrity, saying that is revealing shallowness.

ysleepy··on Study: Effectiveness of Apple's app tracking transparency
Apple could start allowing users to disable internet access for an app.

Before that happens Apple's privacy campaign is just a lot of hot air.

ysleepy··on Ask HN: Software you hate but can't replace?
Hahahaha, also had a moto z with the same problem. I think the sensor driver got confused when the pins bumped and stopped working until a reboot for me.
ysleepy··on Can I have a smaller Prometheus
FAANG are the worst offenders. Didn't facebook employ ungodly hacks to unload/load parts of the android app to navigate around the 65k method limit of dex? Have you looked at the js monstrosity of the Google hardware shop website?
ysleepy··on Panwriter – Distraction-free Markdown editor with pandoc integration
Looks good.

Pulls in two pretty huge dependencies though, electron and pandoc.

ysleepy··on French moratorium on prion studies after two cases of fatal brain disease (2021)
Prions survive autoclave, meat has to be charred inside out for prions to die. It's nightmare fuel.
ysleepy··on Ask HN: Senior FAANG engineer, going back to school for PhD. Is it a bad idea?
There is precedent, IBM was pretty glad in hindsight that Codd got a PhD. I remember the anecdode only vaguely though.

https://en.m.wikipedia.org/wiki/Edgar_F._Codd

ysleepy··on UK schools receive 300k CO2 monitors in gov initiative to reduce COVID19 spread
You can set the calibration mode to manual using either the serial port or a pin on the mh-z19. Mine is configured to manual and after a few months it still reads reasonable values for outside air.

But yes, the default is autocalibration. But honestly, the difference isn't that bad, it's probably like 100ppm offset for stale room air from outside, and 100 doesn't make a huge difference when you are trying to measure around 1500.

ysleepy··on How bad is my gas stove?
Nope, only co2.
ysleepy··on Quadrable: Multiversion DB – Sparse binary Merkle tree with partial-tree proofs
Nice, I built a radix version of this in 2013. It didn't have a GC though (was left for later :D) Mine was networked as an overlay to a linearizable range scannable kv-store with single-writer multiple-reader access and a three party model with the data owner just periodically signs the root to continue to delegate trust.

Had n-ary nodes though, the nice thing is that the proof is equal to the path to the node in that case (well because of radix/trie).

Was always playing with the idea of writing it down especially with all the crypto bullshit going on, but I was too lazy.

ysleepy··on How bad is my gas stove?
I got a MH-Z19 co2 sensor attached to an esp with esphome, works really well.
ysleepy··on An update on 0day CVE-2021-43798: Grafana directory traversal
As far as I can see the post does not mention the affected releases nor the versions to upgrade to.

Is 8.3.1 patched?

ysleepy··on Rust support in the Linux kernel
That can be achieved by linux dropping support for architectures not supported by rust :D

I'm joking of course, but the platform support list of rust is pretty good looking at [1].

I'm pretty sure people developing for arm5 aren't building the linux kernel on arm5.

[1] https://doc.rust-lang.org/nightly/rustc/platform-support.htm...

ysleepy··on On Hubris and Humility: developing an OS for robustness in Rust [video]
Love the technical insights, but I comment here to praise the presentation style.

My first judgement was that it seemed a bit rehearsed, but I ended up really enjoying the style. It felt very respectful of my time as a viewer, very concise and well prepared. I'm sure a lot of time went into that and I appreciate it.

So thanks, for both an awesome application of rust and an amazing presentation.

ysleepy··on T-Wand: beating Lucene in less than 600 lines of code
The tone of the article makes it incredibly annoying and the author 100% lands on the hall of shame list of ridiculous benchmarks he mentioned.

tf-idf and phrase search alone make lucene 10x better, not speaking of the compression, fuzzy search, advanced query features etc.

I love new search engines like tantivy etc, but this is, due to the tone, a sad joke.

ysleepy··on Dealing with the Evasive Witness
These techniques only really make sense if you want to make someone say something specific you already know, I strongly assume they even prevent actually finding out what someone really is thinking about or means.
ysleepy··on Shocked: X32 can be 10% faster, but musl Libc 40% slower
This is a linux kernel compilation benchmark comparing build tools of amd64-glibc, x32-glibc and x32-musl.

x32-glibc is about 10% faster than amd64-glibc, but surprisingly x32-musl is 40% slower than the glibc time.

Author mentions that it might just be stdout buffering, implicitly done by glibc but not by musl hinted at by 54min of kernel time vs 7min with glibc.

I'm actually more interested in memory usage.

ysleepy··on Ask HN: What unprecedented measures could be taken to stop climate change?
So affluent people can go on as usual and low income families are priced out of travel and heating.

It's not that simple.

← PreviousPage 9 of 20Next →