HNHacker News
TopNewBestAskShowJobs

whilenot-dev

1,261 karma · joined May 2, 2016

https://blog.whilenot.dev/ https://github.com/whilenot-dev https://gitlab.com/whilenot-dev https://codeberg.org/whilenot-dev
submissionscomments
whilenot-dev··on HackerTube: YouTube built from videos recommended by HN
Genuinely curious, is this sarcasm? I don't use any YouTube mobile app, but doesn't "new and unseen [...] videos predominantly from people I follow but occasionally interspersed with others' you think I might like in a similar vein" just sound analogous to "recommend me videos I'd like to see".
whilenot-dev··on An illustrated online book on Hewlett-Packard equipment
Large means 428 MB
whilenot-dev··on Today, we hacked what we'd set out to hack: the iPhone
It's good to have that option for every phone out there.
whilenot-dev··on How close can pure functional programming get to C?
That's a nice explanation, thanks.

Are there any common resources for this kind of access methods and patterns that specifically aim to bridge the soft-/hardware gap? The best one I can come up with is Performance Analysis and Tuning on Modern CPUs[0] by Denis Bakhvalov.

[0]: https://github.com/dendibakh/perf-book

whilenot-dev··on Ask HN: If the models are so good, why doesn't OpenAI just start 100 companies?
I don't get it... you seem to be quoting some definitions from DeepMind's Levels of AGI for Operationalizing Progress on the Path to AGI[0] for competent and emerging AGI from July 2024, and yet you're saying that anybody that doesn't follow those new definitions did move the goalpost in 2016?

[0]: https://deepmind.google/research/publications/66938/

whilenot-dev··on Ask HN: If the models are so good, why doesn't OpenAI just start 100 companies?
Unambiguously?
whilenot-dev··on The Last Museum: Semantic search across 5.8M artworks from major museums
There's nothing between 1975-2026?

EDIT: Ok, there is, but it needs a query...

whilenot-dev··on eMudhra to exit global SSL/TLS certificate business
And the key is a LEGO brick.
whilenot-dev··on ZX Spectrum Next Laptop
Title needs a (2020).
whilenot-dev··on AfD Leak: What 421,179 Hacked Emails Show about the German Far Right
As the misinformation botnet commands!
whilenot-dev··on AfD Leak: What 421,179 Hacked Emails Show about the German Far Right
Nobody is nudging anything.

If you wish to quote me, then do it accordingly: the AfD is blaming the established democratic processes for the current "cartel" situation. As if that's the only thing to blame, and not that the AfD is not willing to collaborate with other democratic parties or even respect the democratic process.

whilenot-dev··on AfD Leak: What 421,179 Hacked Emails Show about the German Far Right
I think you didn't get the point GP was making, so let me rephrase:

A popularity in election results doesn't define a parties position on the political spectrum. A lot of people are voting for change to occur, but that doesn't mean that that change already happened just by counting the votes.

whilenot-dev··on AfD Leak: What 421,179 Hacked Emails Show about the German Far Right
Yes, they do that by fearmongering, calling the current government a "cartel", as if such a level of corruption could only arise due to current democratic processes.
whilenot-dev··on AfD Leak: What 421,179 Hacked Emails Show about the German Far Right
I'm confused, do you seriously think the AfD runs on phrases like "we want to get rid of the democratic system"?

It's actually quite the opposite, they are running on things like a direct democracy[0], with phrases such as "Wir sind überzeugte Demokraten"[1] (eng: We are confident democrats). And they do that for good reason, as running a party that openly wants to abandon the democratic process would be against the constitution.

[0]: https://de.wikipedia.org/wiki/Alternative_f%C3%BCr_Deutschla...

[1]: https://www.afd.de/wp-content/uploads/2018/01/Programm_AfD_D...

whilenot-dev··on AfD Leak: What 421,179 Hacked Emails Show about the German Far Right
Are you saying the AfD represents "mildly conservative views"?
whilenot-dev··on An ad-free Android TV
> the issue with me having to login to JellyFin every few days for no apparent reason

I only get shown the login prompt when the network connection to my server isn't established yet. I'm on Wi-Fi and need to wait for the connection before launching the client.

whilenot-dev··on Java sealed classes and exhaustive pattern matching
Agree, python calls this little helper assert_never[0]. I opened an PR to add it to the TypeScript docs some time ago: https://github.com/microsoft/TypeScript-Website/pull/3599

[0]: https://docs.python.org/3/library/typing.html#typing.assert_...

whilenot-dev··on How the Elizabeth Holmes documentary “You Can See Everything” is deceiving
> this film remains relatively neutral/ambiguous [...] with ambiguous subject matter?

There's a big difference in ambiguousness and ambivalence, especially in documentaries. "Ambiguousness" represents an uncertain logical conclusion, whereas "ambivalence" stands in for (the strength of) conflicting forces.

I'd wager that an ambiguous documentary would be close to being unwatchable, and I can't remember that I've seen any. Since I've yet to see You Can See Everything, unfortunately I can't comment about it in any way.

whilenot-dev··on Nine-Inch Snails
OT, but giant African snails love to eat colored paper, and since their body won't absorb the pigments, they'll produce colorful excrements which can be used as experimental material: https://dornob.com/bright-blue-snail-poo-excrement-used-to-m...
whilenot-dev··on How Amazon pushes up prices all across the Internet
> No-questions-asked returns

That's the Right of withdrawal[0] by EU law, though. Do you mean something else?

I mean, sure, smaller shops might not cover the costs for the return shipping, but I don't really mind.

[0]: https://europa.eu/youreurope/citizens/consumers/shopping/ret...

whilenot-dev··on Making big downloads resumable in Firefox
Varia is a nice GUI and download manager built around aria2: https://giantpinkrobots.github.io/varia/
whilenot-dev··on 2D Vehicles
Losing control of the vehicle in birds-eye view felt closer to reaching my human limits than reaching the vehicle limits, I really missed that with the change to 3D. The whole city also truly felt like it was designed around the birds-eye view, like the group of Hare Krishna (GTA I) or Elvis impersonators (GTA II) behaving like virtual ants when rushing into them was always something magical and wasn't quite the same in 3D.
whilenot-dev··on Sorry, I'm in a meeting
What are all the names for the category of such software... "Self-defense Software", "Busy Simulation Software", "Faux Work Software", "Fake Meeting Software"[0], "Virtual Meeting Simulator"[1], "Prank Screens"[2], ...? Are there many others?

[0]: https://fakemeeting.app/

[1]: https://z.tools/t/fake-meeting

[2]: https://www.whitescreen.online/

whilenot-dev··on Once: Cache CLI Commands
I have the same question, especially since any CLI output can be stored explicitly in some variable or temp file. What's the advantage of storing the output implicitly?
whilenot-dev··on Push ifs up and fors down: The idiom, its algebra, and its limits
If the data don't need to be processed in batches by category, and if the category is derivable from an data item alone, I don't really see the benefit you're proposing.

Even worse, by splitting one state (and one derivable category from that state) into two separate arguments for do_thing, something can be off rather badly. I'd then feel the need to design an assertion of the relation of the arguments in order to make things bearable again:

  def do_thing(category, data):
    # to avoid shadowing lets rename your function `category` to `category_from_item`
    assert all(category == category_from_item(item) for item in data)
    ...
But that would add a third loop to your two loops, and would duplicate the computation of a category.

Instead, if category would be a property of data item:

  class DataItem:
    
    @property
    def category(self):
       ...
...and the do_thing function would work on a single data item, then it'd just become a simple matter of one for loop and one match/case:

  def do_thing(item):
    match item.category:
      case ...:
        ...
whilenot-dev··on A font recreated from photographs of classic Commodore 64 keycaps
Had one too, it's rather on the loud side of clicking and the build quality is great.
whilenot-dev··on Friendship ended with Deno, now Node is my best friend
I presume you didn't get the "Let me sign a deal with the devil!"-part OP mentioned in TFA then.
whilenot-dev··on Friendship ended with Deno, now Node is my best friend
Sure, that's all correct, of course a performance hit would be noticeable if thousands of dependencies would need to be checked additionally.

OP is talking about type stripping nonetheless, and I'd put type stripping into the same ballpark as reading ambient declarations, performance wise.

whilenot-dev··on Friendship ended with Deno, now Node is my best friend
Type stripping can and does ignore tsconfig.json files, from the provided link:

> Node.js ignores tsconfig.json files and therefore features that depend on settings within tsconfig.json, such as paths or converting newer JavaScript syntax to older standards, are intentionally unsupported.

Of course import aliases and such features would break.

whilenot-dev··on Friendship ended with Deno, now Node is my best friend
> A mismatch would mean you would get type errors inside the library code

OP doesn't want the types to be checked, they want the types to be stripped. Type stripping ignores tsconfig.json files and any of its features, see: https://nodejs.org/api/typescript.html#type-stripping

Page 1 of 19Next →