HNHacker News
TopNewBestAskShowJobs

ysleepy

2,222 karma · joined September 23, 2012

submissionscomments
ysleepy··on BYD has reportedly received 10 GWh of orders from Tesla for LFP batteries
Tidbit: Flixbus, the origins of FlixMobility which bought Greyhound tried the BYD C9 bus on the Mannheim - Frankfurt route in 2018-2019.

They stopped because of re-occurring partially multi-day outages due to battery issues, which were LiFePo. The press coverage is vague, but explicit in mentioning battery issues.

I assume that tesla did their due diligence and BYD fixed the issues by now.

ysleepy··on Windows 11 WSL2 Performance Competitive Against Ubuntu 20.04 LTS / Ubuntu 21.10
The bottlenecks were in WSL1, 2 is "just" a linux VM with good guest additions.
ysleepy··on Lesson of ivermectin: meta-analyses based on summary data alone are unreliable
Being a contrarian fits that description somewhat.
ysleepy··on Enumerating and analyzing 40 non-V8 JavaScript implementations
I would be interested in some spec test suite coverage figures. I have used a few js engines in the past (nashorn, rhino, otto) and all had problems with missing edge cases in the APIs or really weird quirks in the interop with the host environment.

https://github.com/tc39/test262 is the ecma test suite.

rhino for example has extensive gaps: https://github.com/mozilla/rhino/blob/master/testsrc/test262...

It is really frustrating that in the end, there aren't really that many actually compliant implementations. Especially implementing the exact regex behaviour.

EDIT: apparently this exists, at least partially: https://kangax.github.io/compat-table/es6/

The smaller engines are missing however.

ysleepy··on Geizhals – Tech Product Price Comparison and Tracking
Geizhals is at it since 1997 and tables with a product image at the left is hardly something distinguishing.
ysleepy··on Geizhals – Tech Product Price Comparison and Tracking
My main shopping site. Proof that UX and "pretty" aren't always the same, this page has the best experience by a mile.

You know there is a lot of optimization in the background for all the faceting and search, I'd be really interested how they implemented that.

A lot of the value also comes from meticulously integrating shop product datasets either by scraping or cooperating, combining offers etc.

Disruptive by putting in the hard work and keeping at it.

ysleepy··on Fastest table sort in the West – Redesigning DuckDB's sort
Have you looked at the https://www.sqlite.org/pragma.html#pragma_cache_size

I think per default it's only 2MiB, increasing it might help. Probably won't beat the other contenders but sqlite has defaults for being a good citizen.

ysleepy··on The Nelua Programming Language
Uses 0-based indexing, if you were wondering like me.
ysleepy··on Strict Tables – Column type constraints in SQLite - Draft
Nice to see. I almost never want mixed values in a column, so being able to turn on a strict mode preventing inserting a string into an int column is very welcome.

Also the per-table opt-in is reasonable.

sqlite is really becoming this bedrock thing in the computing landscape, it's silently everywhere and all agree that it is kind of a good thing.

ysleepy··on Apple iPhone charger teardown: quality in a tiny expensive package (2012)
Any thoughts on the ikea koppla usb power supply?

I sort of stuck with it for the price/performance/safety.

Here is a teardown (might be dated): https://lygte-info.dk/review/USBpower%20Ikea%20Koppla%20UK.h...

ysleepy··on Show HN: Micro HTTP server in 22 lines of C
I consider Header value parsing and URL parsing part of HTTP, those are certainly not trivial.

The charset problems alone are a nightmare.

Parsing the wire format is pretty breezy, (Don't forget trailers!)

ysleepy··on Apple pays out millions to student after repair techs shared her personal images
Phones actually do have that option. Android bootloader supports fastboot boot of an image file on the host PC, usually a recovery ROM.

Apple is certainly capable to do that and I'm even sure that this exists on their devices too.

ysleepy··on IconVG is a compact, binary format for simple vector graphics
With both compressed using `gzip -9` the advantage is still 2x. Tested with the samples in the test dir.
ysleepy··on Amazon offers 'wellness chamber' for stressed staff
THX 1138 becomes reality.

Don't forget, everyone:

"Work hard, increase production, avoid accidents, and be happy."

ysleepy··on Discord Rebranding
I'm disliking the new colour, looks like some disney channel hooli fake product.

The some of the changes to the UI are pretty annoying.

If you want to fix the reactions background, here is a bookmarklet:

    javascript:(function(){var a=document.createElement('style'),b;document.head.appendChild(a);b=a.sheet;b.insertRule('div[class^="reaction-"] {background: var(--background-modifier-selected) !important; border-radius:4px;}',0);})();
ysleepy··on Bootstrap 5 Released
Does it finally have a built-in dark theme?

Made my own previously using a customizer gui, but tuning all the colours, shadows, transparencies etc. so it looks good has no end.

ysleepy··on The Death of Java (Packages)
The "competing pkg-manager" issue is still unsolved.

Rarely does it makes sense to manage libraries centrally in a distro if all the developers of the language ecosystem use their own package manager.

I develop java and I never even had the idea to get dependencies through my distro. If there is zero buy in from the devs, all the work of integrating the central managed lib classpath is on the port/package maintainer.

I think most of npm/mvncentral/cargo/pypi/go+git/cpan/rubyforge don't have distro packages.

The work is very valuable for the user facing applications, but I have trouble seeing it continue apart from essentially treating it like statically linked binaries and automate more based on that.

ysleepy··on Why has nuclear power been a flop?
The article is full of surface-level thinking.

Probably read a propaganda book and is still buzzing with the anecdote-based arguments and "why can't we just play around with cool reactors??" rethorics.

Afaik reactors are only really built with national backing due to risk and externalized costs of decommissioning and long term waste disposal.

We stopped dumping nuclear waste into the coastal ocean and now it became a lot more expensive.

We can't even deal with fricking plastic in the ocean and phtalates in drinking water, I have real trouble taking someone seriously who swats away any sort of concern, wishing back thr good old 60s way of doing things.

"Cool" anecdotes about strict regulation seeming rediculous, superficially mind you.

I really struggle with the nuclear propaganda as of late, especially with this anti-renewable stance mixed in.

Meh, even if I like the technology from a nerd-perspective, fuck nuclear power. We can't even get mainstream software buffer-overflow free. The techno-progress enthusiasm of our grandparents era has long lost it's shine.

ysleepy··on Forgotten Memories of Traumatic Events Get Some Backing from Brain-Imaging
Scientology "science" by Hubbard. For anyone wondering.
ysleepy··on Germany restricts use of AstraZeneca vaccine to over 60s in most cases
The article has a whole section on it.

There have been, again, increased cases of sinusvein thrombosis in younger people, almost all young women, 9 died. Not so in older people.

ysleepy··on World Beer Index 2021: The Cost and Consumption of Beer Around the World
That average beer price is to be taken with a large grain of salt. It is the un-weighted average of some random prices they found.

Weighted by volume sold it would probably be a lot closer between countries.

In a super market, brand beer is usually 0.79€/0.5L, store brand is at less in germany. That 4€ figure is what you pay for a beer in a moderately expensive restaurant.

ysleepy··on Ask HN: Always on low power home server
I ran a dockstar with the same kirkwood soc that was in the plugs.

Ran well, even gbit. Had mpd, dhcp, dns, nat running on it.

The plug variants were overheating left and right though.

ysleepy··on Ask HN: Always on low power home server
I deployed one, it is good hardware, but the performance is pretty low, behind an rpi3.

The advantages of x86 aren't really realized because you only have serial port and run of the mill installers aren't all handling it well.

I'd only go for it for router purposes. no way you can run a re-encoder on it for media use.

ysleepy··on Ask HN: Always on low power home server
Deskmini with a low end pentium and an arctic 12lp.

its inaudible (I am sensitive) below 800rpm.

with ram and ssd you are at around 250 bucks.

I have an old NUC5 but its fan is whiny.

ysleepy··on Lyra: A New Very Low-Bitrate Codec for Speech Compression
1 hour of audiobook in 2.6MB ?

I quite love this.

ysleepy··on Lyra: A New Very Low-Bitrate Codec for Speech Compression
Lyra distinctly swallows some syllables.

The "th" in "with" of the video sample, or the second "looking" in the first sample.

I found Opus to have more artifacts, but less ambiguous.

I feel like there will be a false/unjustified confidence in the Lyra audio because its artifacts sound like speech, as opposed to noise, giving the listener clear sounding audio with altered content.

ysleepy··on Illegal involuntary sterilisations in California’s women’s prisons
I was pretty appalled when I read about the history of eugenics in the US, it was a thing till the 70s iirc.

https://en.wikipedia.org/wiki/Eugenics_in_the_United_States#...

Pressuring women to sterilize, giving them biased information, lack of actual informed consent.

It is a complex topic, I think women should have access to these procedures if they want them, but making it a government agenda can't end well IMO.

ysleepy··on Xiaomi is undercutting the whole tech industry. And it’s working
I'm not experiencing this icon loading behavior on any of my android devices. I am however aware of at least two people who are annoyed with xiaomi's android customization and bugginess.

Maybe grab another device to see if it's an android or xiaomi problem.

I say that as sort of a fan of xiaomi, just their android isn't something I'll be getting anytime soon.

ysleepy··on How I Collected a Debt from an Unscrupulous Merchant
Luck played a role in this instance as well.

Having a representative admit to violating their own policy/terms in writing is sort of a slam dunk.

The principle still applies though, good advice afaict.

ysleepy··on macOS to FreeBSD migration a.k.a. why I left macOS
Ever used systemd-timesyncd or the systemd-dhcp thing, oh and systemd-resolved ? All these inferior implementations are barely configurable and lack features for use-cases outside of desktop users.

The init system is nice, but why the hell does it re-implement svchost.exe

← PreviousPage 10 of 20Next →