HNHacker News
TopNewBestAskShowJobs

tobz1000

222 karma · joined April 14, 2020

submissionscomments
tobz1000··on Template Literal Types in TypeScript
I'm browsing on mobile. Interested in reading about the language feature being discussed here, but not in fixing demo code. It seems as though I can't advance beyond page 3 without doing this.
tobz1000··on Ubuntu 22.10 replaces Gedit with new text editor
All in the name of "cleanness" - yet it actually increases my cognitive load, as I have to hunt the whole window to figure out what's clickable.
tobz1000··on Create YouTube playlists as links without having to log into YouTube
mpv will stream by default, but requires youtube-dl or yt-dlp to be installed separately.
tobz1000··on Crypto is an unproductive bubble
> any use of blockchain technology in which the ledger is not self-contained [is unusable because] there can be no trust-free link between the ledger and the physical world.

Sure, data would need to be verified by a trusted party when it's first entered. A blockchain still protects against forgery after this though.

tobz1000··on DuckDuckGo \u202E
Easter egg or bug?
tobz1000··on Rust extension traits, greppability and IDEs
I prefer the Rust/ES/Python etc. import syntax not because of ambiguity, but readability. Having everything traceable by quickly scanning the code, without IDE assistance, often speeds up my understanding of a file. And it becomes essential of you're reading code in an IDE-less environment, e.g. github gists. Worth the verbosity IMO.
tobz1000··on No Place to Hide – U.K. campaign against end-to-encryption encryption
The Lib Dems managed to mitigate a lot of damage done by the Conservatives during their time in the coalition. And they were rewarded with blame for everything they couldn't stop, and a hugely reduced voter base ever since.
tobz1000··on Linux Has Grown into a Viable PC Gaming Platform and the Steam Stats Prove It
I've had no luck with Photoshop in Wine or VB seamless mode (PS's custom window decorators are probably the reason for the latter). A full-desktop Windows VM is still good enough with guest extensions though, so I can easily resize the whole Windows desktop with just a maximised PS window inside.
tobz1000··on Stack safety for free?
This seems like a universal-ish mechanism for queueing your recursive function's calls onto a dynamically resizeable stack (placed in the process's heap). This is pretty cool, but I wouldn't say it's "for free", performance-wise, as demonstrated by the performance figures in the article. Although it certainly makes the transformation cheap, implementation-wise.
tobz1000··on Android’s Bluetooth latency needs a serious overhaul
The difference is very noticeable on a less-than-new CPU (my x240 with an i7 4600U for example) when the text input triggers other UI changes. Even on my Ryzen 3600, switching channels in Discord has visible lag, regardless of network activity.

Compare this to any operation in Sublime Text/Merge and the difference is obvious.

The implication is also that more battery power is used for every action (not to mention vastly more memory), which matters for machines of any capability; but these are not latency-related concerns.

tobz1000··on Android’s Bluetooth latency needs a serious overhaul
This is made irrelevant for 90% of users who then use their keyboard & monitor in Discord, VS Code, and dozens of other JS-powered programs and sites.
tobz1000··on Yt-dlp – A YouTube-dl fork with additional features and fixes
Luckily they're at the end of the video, and I believe your opinion is the minority.
tobz1000··on Oxide: The Essence of Rust (2020)
This is why my first instinct when looking something up is to check Wikipedia, not a search engine: the original article will take precedence rather than the more popular thing.
tobz1000··on Emoji Under the Hood
https://darkreader.org/
tobz1000··on Nvidia Uses AI to Slash Bandwidth on Video Calls
Admittedly I have no idea how resource-intensive this image processing is, but it's possible that it's less of a hit than the fact that all video call programs today run on HTML+JS. If Hangouts was a native program, there would be plenty of power to spare.
tobz1000··on PS5 Teardown [video]
Sony also did an official teardown of the PlayStation 4 Pro at launch: https://www.youtube.com/watch?v=euBlNq5kda0
tobz1000··on Rust 1.46
I believe in a talk[1] it was mentioned that Rust's const eval will support heap-allocated values (accessed as references). A quick search suggests that C++20 will also support this, although it may be safer in Rust as it can give a stronger guarantee that the static memory won't be written to.

[1]https://youtu.be/wkXNm_qo8aY?t=888

tobz1000··on Interview with Zig language creator Andrew Kelley [video]
Some of Zig's ideas fascinate me, both the great low-level concepts (e.g. arbitrary-sized ints), but much more than that, the high level concepts.

Particularly great is Zig's handling of both macros and generic types, the answer to both of which seems to be: just evaluate them at compile-time with regular functions, no special DSL or extra syntax. Andrew mentions in the video a big drawback of this system - implications for IDE complexity and performance. I imagine the performance side of this could be (maybe is?) mitigated by limiting recursion depth/loop counts for compile-time work.

I'm not particularly interested in taking on a language with manual memory management and the responsibilities it entails, but I would love to have access to Zig's compile-time capabilities, if it were available with some more memory safety.

tobz1000··on UK officially in recession for first time in 11 years
Yep, the "conservative" government made a huge economic gamble, hoping it would pay off by not affecting the economy at all. It backfired, costing both jobs and lives.
tobz1000··on Syntax changes from C++11 to C++20
I'm only mildly familiar with C++, but the support for template arguments in lambdas looks like an analogue for generic closures, which are absent from Rust, but would be really handy at times.
tobz1000··on Hospitals Sued to Keep Prices Secret. They Lost
I interpreted OP as a criticism of the move, implying that it isn't enough to drive down healthcare cost in the US. Transparent pricing is something libertarians support, I would've thought.
tobz1000··on ARM Mac Impact on Intel
Given the IPC gains of Zen 2, the single-threaded gap is closing, and even reversed in some workloads.

And I think Xeon L3 cache tops out at about 40MB, whereas Threadripper & Epyc go up to 256MB.

tobz1000··on Tim Bray told a union meeting Amazon should be broken up
That's not how I understood it. I think OP's first paragraph is better read with some quote marks:

> I often see many people show immediate solidarity with Amazon as soon as the ideas of anti-trust or monopoly are brought up. "If the government is allowed to break up a large corporation then where does it stop? Will they come after my small business next?"

tobz1000··on How Controllers Maximize SSD Life (2012)
That winner of that test, the 840 Pro, uses 2-bit (MLC) cells.

Nowadays, 3-bit (TLC) and 4-bit (QLC) are much more common (not sure QLC even existed back then). So whilst each of these technologies has matured, the drive a consumer may consider today is more likely to be bigger, replacing their HDD entirely, and will probably be capable of fewer writes than an MLC drive from 5 years ago, iiuc.

tobz1000··on Show HN: Tom Nook's Laptop
Seems to be broken on Firefox.
← PreviousPage 2 of 2