HNHacker News
TopNewBestAskShowJobs

yazzku

848 karma · joined July 21, 2022

submissionscomments
yazzku··on Bocker: Docker implemented in around 100 lines of Bash (2015)
Should also be be /usr/local/bin.
yazzku··on Show HN: A Marble Madness-inspired WebGL game we built for Netlify
I'm here just for the game.

If you move fast enough, you can glitch the ball against the slides and get stuck.

yazzku··on Teach yourself to echolocate (2018)
The parent comment is obviously stupid and has already been down-voted, so HN is doing its job? There is no need to feed the troll.
yazzku··on The Bluesky firehose viewed in the style of a Windows XP screensaver
To be fair, you're crazy CPU-bound. This workload is peanuts for a modern GPU and there's no excuse for it not running at 500+ fps. But that's just how JS goes. You'd probably have better luck with C/wasm for this kind of thing if the web is your target.
yazzku··on The Bluesky firehose viewed in the style of a Windows XP screensaver
This did get rid of that bottleneck and the stutters are slightly better, but it still has some more work to go.

https://ibb.co/LgtJHMs

You'll want to get rid of glTexImage2D completely except for application startup (allocate a pool of N images up front, then re-use them and update with glTexSubImage2D). And short of being able to optimize the text render, which seems to be awfully stupid, you'll want to render offscreen to those textures ahead of time before you need to render them on-screen.

yazzku··on Teach yourself to echolocate (2018)
> literally how a submarine sonar works

And dolphins and whales, no need to go to submarines.

yazzku··on Everything Is Just Functions: Mind-Blowing Insights from SICP and David Beazley
Notion. Delivering value right at your fingertips.
yazzku··on Everything Is Just Functions: Insights from SICP and David Beazley
46 domains blocked by UBlock Origin, 3 by my own NoScript filter. Seems about right for a "modern" website.

Edit: also, the pop-up menu on the right side that completely breaks your scrollbar. Putting that UI/UX degree to use.

yazzku··on The Bluesky firehose viewed in the style of a Windows XP screensaver
"Works" on Firefox if you can stomach 300-400ms pauses every 2 seconds.

Edit: I just profiled it and it spends 42% of exclusive time in texImage2D. It would be better to allocate a set of textures up front and then use glTexSubImage2D to update their contents. glTexImage2D allocates a new texture every time.

yazzku··on Apple Smells Blood in the Water
Was the beef here mostly around the subscription model, then cherry on top with the AI?

Catching up with that 1hr interview...

yazzku··on The brain summons deep sleep for healing from life-threatening injury
Who would've thought that sleep is good for you, right? Apparently we needed several million dollars in research to find out.

> The findings, published today in Nature, could help to guide care for people after a heart attack,

This is just hilarious. Remember to get enough sleep after a life-threatening heart attack, folks!

But your comment resonates very much with me. I am tired of this capitalist culture that reduces the human essence to value output and shames people for not pretending to be working hard enough. Part of the reason I like working from home is that I can take that fucking 20-minute nap after lunch and be infinitely more productive throughout the rest of the day.

yazzku··on Two upstart search engines are teaming up to take on Google
You have just described how "innovation" is often just a power shift, often one that does not benefit the user. Old is new again, but in different hands; the right hands, of course.
yazzku··on When muscles work out, they help neurons to grow, a new study shows
It's a small town shop.
yazzku··on It's 10am and Dad's Doing Jell-O Shots. Must Be Parents' Weekend
Hilarious. I can attest that while not all Brits are drunk, all Brits in Spain certainly are.

Source: Spanish

yazzku··on It's 10am and Dad's Doing Jell-O Shots. Must Be Parents' Weekend
homo canem mordet
yazzku··on Web Locks API
I have a hard time picturing how an application can be considered anything other than completely broken once a couple threads/workers have deadlocked, so I don't know what any of that quote means. Yeah, I get that browsers isolate tabs and that the damage is contained.
yazzku··on California's gas prices to increase 65 cents per gallon with new fuel standards
That's what I thought too.

Why not raise the price in urban areas, where pollution is greater, as is the standard of living? Then throw in some more public transportation to make up for the difference. The lone white boy chugging gas in rural California and living paycheck to paycheck can probably take a break, and his emissions, I suppose, are largely irrelevant.

yazzku··on Web Locks API
Expect deadlocks in web applications now? I wouldn't necessarily trust a JS programmer with a lock, sorry. They are hard enough in C++ or other languages that generally require a lot more discipline.
yazzku··on Future Music magazine is closing after 32 years
Time to put glue on that pizza, folks.
yazzku··on Unix core utilities implemented in Haskell
[num**2 for num in numbers]

There's no way that C implementation is easier to read than the Python one. There's no high-level abstraction going on there and the list comprehension reads like natural language.

I agree Rust often gets distracting with unwrapping and lifetime notation.

yazzku··on Touchscreens are out, and tactile controls are back
A touch screen imposes additional lag, though. Detecting finger swipes for left/right, for example, requires more processing than spinning a fucking dial or pressing on a button. But, like you said, performance doesn't matter anymore to the companies that design these interfaces. We should have criminal laws for this type of thing along with the return to proper hardware interfaces. Lack of performance should be a criminal offense.
yazzku··on Ask HN: What would you preserve if the internet were to go down tomorrow?
You're mistakenly throwing books and music into the same bag.

I often download books before buying them because I otherwise have no reasonable means to judge their content. This is not much different from flipping through the pages of a book in a library before buying it. The appeal of reading from an actual physical book is not something that any digital form can replace, so the book being available in digital form won't stop me from buying a copy. I also have no interest in Kindles and DRM.

Music, on the other hand, might be a different story except for select audiophiles who prefer vinyl.

So I don't think we can generalize to "product" like you do in your argument. Details and facts actually matter.

yazzku··on Ask HN: What would you preserve if the internet were to go down tomorrow?
I think you meant "man pages", but "ma pages" works for me.
yazzku··on Touchscreens are out, and tactile controls are back
Even for non-impaired people, the lag on a touch screen is utterly miserable.
yazzku··on The rise of the U.S., the rise of China
Really? That's fantastic. In the US, three-letter government agencies work outside the scrutiny of the law.
yazzku··on The rise of the U.S., the rise of China
Is this Da real Walter Bright? Hello, sir.
yazzku··on The rise of the U.S., the rise of China
Why is it unsettling?
yazzku··on Nearly 90% of our AI crawler traffic is from ByteDance
No, you can't: https://apnews.com/article/828aefab64d4411bac257a07c1af0ecb
yazzku··on Nearly 90% of our AI crawler traffic is from ByteDance
And how much do you trust that shit? Has anyone set up a honeypot as an experiment?
yazzku··on Nearly 90% of our AI crawler traffic is from ByteDance
But the converse is not true? There is no guarantee the crawler is not amassing data for model training, or that a crawler (AI or otherwise) does not disguise itself as a normal user?
← PreviousPage 2 of 24Next →