HNHacker News
TopNewBestAskShowJobs

operator-name

1,084 karma · joined July 24, 2019

submissionscomments
operator-name··on The beauty and terror of modding Windows
I’ve been using WindHawk for a bit, and my favourite mods have been:

- Slick Window Arrangement (better window snapping): https://windhawk.net/mods/slick-window-arrangement

- Better file sizes in Explorer details: https://windhawk.net/mods/explorer-details-better-file-sizes

operator-name··on And then? And then Mullvad was censored in the UK
Previously on HN: https://news.ycombinator.com/item?id=45925971
operator-name··on I found a vulnerability. they found a lawyer
This wasn’t a pen test? It was a drive by “oh fuck the platform I’m using is completely insecure”.
operator-name··on Turn Dependabot off
The custom Github Actions approach is very customisable and flexible. In theory you could make and even auto approve bumps.

If you want something more structured, I’ve been playing with and can recommend Renovate (no affiliation). Renovate supports far more ecosystems, has a better community and customisation.

Having tried it I can’t believe how relatively poor Dependabot, the default tool is something we put up with by default. Take something simple like multi layer dockerfiles. This has been a docker features for a while now, yet it’s still silently unsupported by dependabot!

operator-name··on Turn Dependabot off
The refined github extension[0] has some defaults that make the default view a little more tolerable. Past that I can personally recommend Renovate, which supports far more ecosystems and customisation options (like auto merging).

[0]: https://github.com/refined-github/refined-github

operator-name··on FBI couldn't get into WaPo reporter's iPhone because Lockdown Mode enabled
I think they mean if they already have her fingerprint from somewhere else, and a secret backdoor into the laptop. Then they could login, setup biometrics and pretend they had first access when she unlocked it. All without revealing their backdoor.
operator-name··on Show HN: GitHub Browser Plugin for AI Contribution Blame in Pull Requests
I'm not sold at the idea - for most projects it makes sense that the author of the PR should ultimately have ownership in the code that they're submitting. It doesn't matter if that's AI generated, generated with the help of other humans or typed up by a monkey.

> A computer can never be held accountable, therefore a computer must never make a management decision. - IBM Training Manual, 1979

Splitting out AI into it's own entity invites a word of issues, AI cannot take ownership of the bugs it writes or the responsibility for the code to be good. That lies up to the human "co-author", if you want to use that phrase.

operator-name··on What's up with all those equals signs anyway?
This is new to me, and a wonderful dive that I wish I was aware of during my OS course. Thanks!
operator-name··on Archive.today is directing a DDoS attack against my blog
also previously from the owner of archive.is/today: https://archive-is.tumblr.com/tagged/patokallio
operator-name··on I'm returning my Framework 16
> a PC laptop with Apple build quality and display quality, and there definitely aren't many options

There’s been a bunch of Windows ARM laptops that aim to directly compete with the M series Macs. Linux compatibility will depend on make on model.

operator-name··on Does our “need for speed” make our wi-fi suck?
Wow, that is an awesome resource and something I wish I knew about earlier!
operator-name··on Liquid Glass Is Cracked, and Usability Suffers in iOS 26
There’s also a hell of a lot of gestures that I’ve just learned of: https://www.cnet.com/tech/i-finally-got-used-to-the-new-ios-...
operator-name··on Liquid Glass Is Cracked, and Usability Suffers in iOS 26
The article makes an interesting point about the search focus. I wonder if there were plans for AI assisted search? That is a direction that could explain why search became so prominent.
operator-name··on Liquid Glass Is Cracked, and Usability Suffers in iOS 26
From reading this thread I’m glad I’m not alone. It seems their “compact” mode has a bunch of invisible gestures that you’re just supposed to know about.

Luckily I’ve also discovered that you can revert back to “bottom” tab mode in the settings, which brings back something similar to the old UI.

operator-name··on Liquid Glass Is Cracked, and Usability Suffers in iOS 26
As a long time Android user, I find these magical gestures frustrating difficult to discover. How on earth is someone supposed to guess such a gesture exists, and how am I supposed to guess the rules for when certain gestures work and certain gestures don’t?

Even long time friends who are iOS fanatics, and who have used iOS since the beginning are often surprised when I show them a new gesture I’ve learnt. Am I missing something? I’m really grateful to learn this now but I can’t imagine the “Apple way” is to stumble upon these by forum comments?

operator-name··on My new Git utility `what-changed-twice` needs a new name
Could you elaborate how it is better?
operator-name··on DuckDB NPM packages 1.3.3 and 1.29.2 compromised with malware
The browser ensures that a passkey can only be used on the correct site.
operator-name··on The staff ate it later
In the west we have “No Animals Were Harmed in the making of …”, which I’m only just learning comes from the American Humane Society: https://en.m.wikipedia.org/wiki/American_Humane_Society#No_A...

I had always thought it were a generic phrase!

operator-name··on Python has had async for 10 years – why isn't it more popular?
httpx also supports sync and async, but I remember seeing an issue in their repo about worse performance than aiohttp.
operator-name··on Python has had async for 10 years – why isn't it more popular?
Not to mention sync_to_async and async_to_sync are also part of a library, asgiref that the Django developers made to wrap a thread pool runtime!
operator-name··on Reusing Computation in Text-to-Image Diffusion for Efficient Image Generation
This looks similar to https://github.com/chengzeyi/ParaAttention or https://github.com/ali-vilab/TeaCache.

It’s a shame they don’t compare against or mention them.

operator-name··on That boolean should probably be something else
I strongly disagree. Making invalid state unrepresentable is important.

> wastes space > premature optimisation

A timestamp is a witness of when the email was verified. Since if they’ve verified can be calculated from it, having both is not only redundant but allow invalid states to be represented.

Cases like email verified are often followed by the need to know when. Say an expiry system. Going from bools, you are faced with the hard choice of how to migrate existing state.

Databases also warrant more care as a source of persistent state - accessed by multiple versions of your software. If you don’t have this persistency, then it matters less.

> any other fields that happen to be strings or numbers or blobs were changed > implement proper event logging

Event logging is orthogonal to your database state. If your business logic needs dirty flags or timestamps they should be stored in the database, not queried.

And if you do need it for other fields, adding the bool is the perfect time to ask yourself if what you need is a timestamp.

> way we don't start with floats rather than ints "just in case" we need fractional values later on

Floats are a subset of int, and a natural migration. A bool can be calculated from a timestamp, but not the other way.

operator-name··on uBlock Origin Lite now available for Safari
Just tested it out on iOS. It’s scored 94% against Adguard’s 79% on this test page: https://adblock.turtlecute.org/
operator-name··on Superfunctions: A universal solution against sync/async fragmentation in Python
You frame that as if python doesn’t have a choice, but it chose to have explicit syntax.

There’s no reason a python-like language couldn’t have deeper semantics for async, and language level implementation.

operator-name··on Superfunctions: A universal solution against sync/async fragmentation in Python
I think that only applies to tilde_syntax=False but way it is written isn’t very clear.
operator-name··on Superfunctions: A universal solution against sync/async fragmentation in Python
Certainly an interesting approach compared to asgiref or synchronicity but I have doubts about the approach.

Does this not add further function colors - that of a transfunction, tiddle superfunction and non-tilde superfunction? Now every time you call one from another you need to use both the context managers and know what variant you are calling.

asgiref provides the simple wrappers sync_to_async() and async_to_aync(). Easy to understand and to slowly transition. Caveat is the performance impact if overused.

synchronicity uses a different approach - write 100% async code and expose both a sync and async interface. async def foo() becomes def foo() and async def foo.aio().

https://github.com/django/asgiref https://github.com/modal-labs/synchronicity

operator-name··on Discord Is Threatening to Shutdown BotGhost
The video is linked in the article, amongst the response, timeline and further fixed exploits.

But it is correct that the article does not reiterate the technical details of the exploit.

operator-name··on Chromium Switching from Ninja to Siso
If Android was anything to go by, migrating build systems is a risky endeavour. Miso claims compatibility with ninja, so I’m guessing this route was deemed easier to make incremental improvements.
operator-name··on Chromium Switching from Ninja to Siso
https://pkg.go.dev/go.chromium.org/infra/build/siso#readme-k...
operator-name··on Chromium Switching from Ninja to Siso
https://pkg.go.dev/go.chromium.org/infra/build/siso#section-...

Ninja compatible, for the flags that chromium uses. There’s some behaviour they’ve tuned for their use case.

Page 1 of 13Next →