HNHacker News
TopNewBestAskShowJobs

ysleepy

2,222 karma · joined September 23, 2012

submissionscomments
ysleepy··on CERN's Exabyte Data Center
Redundancy is handled at a higher layer. They are probably using ceph on top.
ysleepy··on Broadcasting LoRa packets wihout a radio [video]
wow, that is a great hack
ysleepy··on Two open source projects with great architecture documentation
Reminds me of the "The Architecture of Open Source Applications" series.

It has some interesting insights.

https://aosabook.org/en/

ysleepy··on htmx 2.0.0-beta1
The premise of migrating away from an SPA framework might make it seem weird, but I don't think that's the common adoption path.

There are a lot of server side templated web facing applications out there, and htmx provides a simple and gradual UX improvement with very litte investment.

It depends on what you deem "internal tooling" but a lot of b2b software isn't built to be flashy.

ysleepy··on Show HN: Tiny-aria2 a small UI for aria
I appreciate the premise, aria is a powerful tool.

However I immediately have two concerns:

1. Why would the author use a screenshot obviously downloading copyrighted material instead of linux ISOs? It's either on purpose, which I support, or lack of foresight.

2. As much as I love the JVM, it feels like the wrong platform for this UI. It's a bit of command routing and server side simple html rendering. Go or something would do just fine. The name says tiny, but it ships a UI in a 100M+ docker container, for aria, a 5M cli tool.

If I was building it for myself, I would have no issue with the larger overhead, because I'm comfortable with the ecosystem, but for other people to run it's not a great trade off.

Edit: Sorry, I think this reads pretty one-sided in retrospect, feel free to disregard. I'm trying to be less negative.

ysleepy··on Nvtop: Linux Task Monitor for Nvidia, AMD and Intel GPUs
I tried that, tensorflow is actually better for general purpose compute, jax a lot better. Pytorch seems to omit most of the non-ml basic building blocks, while tf kind of gives you most of the XLA api.
ysleepy··on HDMI Forum Rejects Open-Source HDMI 2.1 Driver Support Sought by AMD
Bunnie's work on HDMI mitm is really cool.

https://fahrplan.events.ccc.de/congress/2011/Fahrplan/events... (Slides and long write up)

His 28C3 talk https://www.youtube.com/watch?v=37SBMyGoCAU

ysleepy··on Javalin – a simple web framework for Java and Kotlin
https://microprofile.io/
ysleepy··on Javalin – a simple web framework for Java and Kotlin
Nowadays I prefer starting with a microprofile subset consisting of jersey+jetty offering the standard JAX-RS APIs.

Is really lightweight at only 6MiBs shaded and grows opportunistically into the microprofile stack of quarkus etc. - you can even integrate the jax-rs bits into spring if you want. Microprofile has a bunch of standards compliant implementations, so you aren't locked into a specific implementation project.

I think the option is overlooked because the landscape is complex and this setup doesn't have a marketing name, but it is very stable and polished.

You also get IDE support, because JAX-RS is part of microprofile, and formerly part of JavaEE.

ysleepy··on Spark – A web micro framework for Java and Kotlin
Spark is nice, I switched to usinh jersey+jetty though, you get the mature API of jax-rs and everything in under 6MiB of dependencies. you can even use the jdk http server to be even smaller.

I'm very happy with that setup.

ysleepy··on On-demand JSON: A better way to parse documents?
You need a parser for validation, - preferably a fast, possibly even a streaming one.
ysleepy··on Zstd Content-Encoding planned to ship with Chrome 123
Brotli was kind of forced on the web by google.

zstd is ubiquitous now and for good reason. I played with both a bunch and really prefer zstd, it is versatile, fast and generic.

Additionally, hardware accelerators such as intel's QAT support zstd, but not brotli.

Since compression algorithms are optional, I welcome the zstd addition, it is everywhere else and i feel like a consolidation is nice.

ysleepy··on Apple's Plans for the DMA in the European Union
It is telling that he never reflects on the users position in this, it's just 4d chess analysis of state level actors.

I bought the device, I should be the arbiter on what software I want to run.

ysleepy··on Daily multivitamin improves memory in older adults: meta-analysis study
The cynic in me immediately thought "Probably excluded forgetful participants due to non-compliance with daily intake."

I assume they controlled for that though :P

ysleepy··on Migrating from Java 8/11 to Java 21, and Spring Boot 2 to Spring Boot 3.2
Don't conflate a specific criticism with a general one.

I don't necessarily hate frameworks, but I do dislike Spring. It's a heavyweight framework, an empty project spits out a 50MiB jar that takes like 5s to start, requiring full classpath scanning, bytecode modification and a full DI setup.

There are much more lightweight and friendly approaches, such as some of the microprofile implementations. A jersey+jetty setup fits into a 5MiB jar and starts in 200ms.

ysleepy··on More than 100k protest across Germany over far-right AfD's deportation plan
The title is misleading, people are on the street against the afd in general. They represent the global anti-democracy movement and got a number of votes in some regions that woke up people assuming that they aren't a real threat.

The "deportation" thing is part of it, but not that central IMO. They had an actual nazi conference with afd higher ups attending, discussing these topics. It was the catalyst that stirred action.

ysleepy··on Intel AMX
I honestly feel cheated by intel with my 13th gen cpu. They took away avx512, even though the P cores are capable of it, but also did not ship AMX with it.

I'm honestly more interested in Apple's AMX "co-processor", in my tests it often beats the GPU in ML tasks with smaller batch sizes. It's really cool. I hope it becomes more common for training/inference/numerics capable accelerators to be included in consumer hardware.

Apple's AMX is really under-documented, while the instructions were reverse engineered, Virtually no benchmarks are available comparing current chip generations, models and variants.

https://github.com/corsix/amx https://github.com/philipturner/amx-benchmarks

Curious to see how Intel's AMX stacks up to Apple's AMX in real world perf.

ysleepy··on Winding down Google Sync and Less Secure Apps support
Can't alternative clients like k9 implement OAuth on their own? I believe I set up Thunderbird on my desktop with OAuth and it works (With office365).

Sadly the number of email clients I would trust is limited, many send off your credentials to some remote server.

EDIT: k9 already supports oauth for imap.

https://docs.k9mail.app/en/6.400/accounts/incoming_imap/

ysleepy··on Speedbump – a TCP proxy to simulate variable network latency
IIRC FreeBSD had dummynet which allows creating slow, laggy and lossy virtual networks.
ysleepy··on Apple starts sending 'batterygate' settlement payments
One is however solved more easily, replacing the battery for 80 bucks. The other necessitates a new device for 800 bucks. Apple benefits from hiding the cheaper fix in order to make $$$.

The mechanism might be technically reasonable, but intentionally misleading customers is not.

ysleepy··on PHOLED Will Transform Displays
My LG G3 had a 538ppi IPS display and it is from 2014, 9 years ago.

Now that I think about it, smartphones have stagnated a lot.

ysleepy··on PHOLED Will Transform Displays
I'm not quite sure what you say is true.

Apple Notebooks have 224-254ppi, the external displays 218ppi. The only higher ppi displays from Apple are on the iphone, and they are not special, most decent (android) phones from 5 years ago have 400ppi+. Funnily Apple was dragging their feet in this space back then.

Apple is more consistent, but it really isn't hard to get 4k laptop displays now.

ysleepy··on Why a spritz of water before grinding coffee yields better results
The main known benefit is the reduced static electricity which reduced the amount of coffee sticking in and onto the grinder.

The paper observes some difference in espresso brewing time in some grinder/brewer combinations, but this does not replicate well and wasn't investigated in regards to taste.

ysleepy··on The costs of microservices (2020)
Was with you until you mentioned Robert Martin. I have no respect for that shill.
ysleepy··on 400M PCs can't run Win 11: PIRG petitions Microsoft to extend Win 10 life
That's a red herring. Win11 supports cpus with lots of bugs. Imagine what the errata document for the Snapdragon CPUs looks like.

Afaik it's mostly about TPM 2.0 and virtualization support.

If people are happy or stuck with their fully working machines, it should not be up to Microsoft to arbitrarily turn them into e-waste.

ysleepy··on The fun factor of the video game Uplink
Loved to play this way back. The aesthetic is awesome and it really lets you experience the vibes from the hacker movies at the time.

I really enjoyed upgrading my workstation to 40Ghz and such, optimizing for attack time and stealth.

Darwinia is great as well, I really dig their style.

ysleepy··on GPT-4 vision prompt injection
We clearly need to design a sense subject and object into the model, anchored by self awareness, so it can differentiate between the to be obeyed user, the dutiful model self and objects it operates on.

Maybe governed by a set of encoded rules to never...

Wait a minute!

ysleepy··on OpenCore Legacy Patcher project brings macOS Sonoma support to 16-year-old Macs
Monterey still receives security updates. Even Big Sur does and it supports models from 2013 and up. While I agree that Apple artificially abandons older models to sell more, old devices are not trash yet.
ysleepy··on 20 Years of Grml.org
Thank you for having my back whenever things went bad. Grml is still my go-to debug/repair/problem solver linux.

These are the resources Which are quietly there for when you need them, surprising with their fitness for purpose.

ysleepy··on Should I Rust or Should I Go?
I remember reading years ago that the hack compiler was built in ocaml. compilers and such are often built using languages with nice ADTs afaik.
← PreviousPage 4 of 20Next →