HNHacker News
TopNewBestAskShowJobs

DelightOne

533 karma · joined April 6, 2017

submissionscomments
DelightOne··on 30k lines of SwiftUI in production later
Yep! I currently use Composable Architecture for the same purpose.
DelightOne··on 30k lines of SwiftUI in production later
TLDR:

1) Don't watch too much state with Observable/EvironmentObject. When any watched property changes EVERYTHING RELOADS every time.

2) ScrollView.scrollTo is bugged with ForEach.

3) TextField and keyboard-interactions can be slow and buggy.

DelightOne··on Runlike: Given an existing Docker container, prints the command line to run it
Why is it so much manual work to turn Docker runs/Containers into Kubernetes yaml anyway? Or is that only me.
DelightOne··on Supply Chain Attack Using PyPI Packages “Colorslib”, “Httpslib”, and “Libhttps”
Knowing the source code would make it easier.
DelightOne··on Memory loss: Expert advice for improving memory and concentration
I see it like a program. It gets worse over time due to lack or even non-existence of effort/maintenance to make it good. Problem is we don't know how to write said program, we only know what the effect of all past behavior put together is. Is it even changeable later in life, or is it hardcoded now after enough of certain interactions having burnt it into the disk => requiring permanent workarounds and effort.

Also just a hypothesis.

DelightOne··on Premium .dev domain with Google costs $850
One can argue scalpers expecting 3000 for a domain means the domain is premium-enough to be worth that renewal.
DelightOne··on GitHub 2022 Wrap
Does Github still not have read-only repo access?
DelightOne··on You might not need a CRDT
Small question: How do databases fit into using CRDTs? Are CRDTs normalized, storable inside the database somehow, allowing queries on them? Or do database completely fall on the wayside? This confuses me.
DelightOne··on Using CRDTs for multiplayer text editing
How would you recommend an interested student to get up-to-speed? There is so much development in so many fields, but often no idea where to even begin to get there.
DelightOne··on Huawei phones automatically deleting videos of the protests?
Do They have access to who enables this setting frequently? If so, it does not seem harmless.
DelightOne··on SwiftUI Is Convenient, but Slow
TCA stands for Composable Architecture. I don't understand the system well enough either, feeling like everything re-renders. That's why I just use TCA instead. The library also needs discipline in what data is made available locally and in how much changes the system can take before things get laggy due to architectural constraints. But it can show where and why TCA view bodies get re-rendered.
DelightOne··on SwiftUI Is Convenient, but Slow
> When is the system creating fine-grained subscriptions automatically?

With TCA you can side-step these issues to an extent, in that you can scope the store down to what the view needs. Then, the view body only re-renders when the data you scoped down to changes.

DelightOne··on China state CCTV avoids crowd close ups at the World Cup
And to be useful they would have to be infected over the time the vaccine is effective to build longer-lasting immunity instead of losing the vaccine effectiveness over time completely, no? (Just a guess, I'm no expert.)
DelightOne··on An unconfirmed tweet about Freeport LNG is upending gas markets
> meaning they will pay pretty much any price to get it

They would buy it at current market rate, which is dropping atm. That's why LNG tankers wait at the coast for a hopefully future higher price.

DelightOne··on GitHub Blocks – waiting list signup
Its sad to have to open a new web page/App for everything. Happy to see things go the integration-direction and hopefully seeing some synergies.
DelightOne··on Ex-Reddit CEO on Twitter moderation
Can there be a moderation bot that detects flamewars and steps in? It could enforce civility by limiting discussion to only go through the bot and by employing protocols like "each side summarize issues", "is this really important here", or "do you enjoy this".

Engaging with the bot is supposed to be a rational barrier, a tool to put unproductive discussions back on track.

DelightOne··on Video gaming may be associated with better cognitive performance in children
Its too addicting.
DelightOne··on The bosses who silently nudge out workers
In some countries this might be illegal, with having their work defined in their employment contract?
DelightOne··on Notes against note-taking systems
Ahh.. so you want to only sync locally between devices.. or you want it to support your special cloud-protocol so you can run your own cloud-server... . But wouldn't the second part be cheating, not naming it cloud-based?
DelightOne··on Notes against note-taking systems
> non-cloud & cross-platform

Small question: how do you expect "automatic sync" to work "between platforms without a cloud"?

DelightOne··on We Burned Down Players’ Houses in Ultima Online
Are there ready-to-use blockchain libraries to simply create such a blockchain or does everything have to be custom-written and tested manually -> requiring the developer be an expert?
DelightOne··on Why are nuclear power construction costs so high? Part III – the nuclear navy
If that is true: why do people care about cost when they don't pay the price themselves?
DelightOne··on Ask HN: Ads triggered by WhatsApp “end to end encrypted” messages?
Just uninstall the apps.
DelightOne··on GitHub backtracks on deprecating the trending tabs page
Maybe add a page-improvement survey banner, where one option is to take the survey and another is to say "it does all that I need" and another is "I don't need it". Note on the banner that this is about the page not seeing much use.
DelightOne··on Xcode Cloud overview
> load to test flight

The web page says it supports test flight.

DelightOne··on Why I quit using SwiftUI
My mouse pointer also disappeared for a time when it by accident crossed over to my iPad. After disabling that feature it never happened again.
DelightOne··on Ask HN: Are Linux HowTos dead? Why?
If we could get the search results from a couple years ago, without the SEO.
DelightOne··on Tell HN: Apple Pay works in non-Safari browsers in iOS 16 Beta 3
> Allow users to install apps from third-party app stores and sideload directly from the internet.

Do third-party app stores have to pay fees to Apple for each purchase? Can they change the rate from the current 30%? That's what I'm wondering about.

DelightOne··on FTC committed to enforcing law against illegal use, sharing of sensitive data
The problem is that clauses unfair or suprising to the consumer are not considered invalid.
DelightOne··on Russian gas flows to Europe
> shutting down secure

That is under dispute. Its the entire reason they are shut down in the first place.

← PreviousPage 4 of 15Next →