Readit News logoReadit News
pcl commented on Apple I Advertisement (1976)   apple1.chez.com/Apple1pro... · Posted by u/janandonly
rpastuszak · 8 days ago
Oh boy, I have I've been working with offline-first web apps since the late 2000s... then the particular app I have in mind has been used as a PWA for the past 6-7 years.

I really, really, love building stuff for/on the web. When working with founders/clients we'd often start with building the MVP as a PWA, because of how easy it is to iterate and test. (https://untested.sonnet.io/notes/web-and-feedback-loops/)

That said, some reasons off the top of my head in random order:

- seemingly small but UX critical features breaking or not working at all (wake, audio, notifications, scroll breaking).

- most of the users don't know/haven't been taught they can install a site or assume that PWAs are inherently worse

- PWAs are harder to monetise (no super easy way to let the user pay a lifetime licence for the app, customers want super easy, and that's not for me to judge)

- critical, but non-obvious to a non-technical person (and thus difficult to explain) features are unstable or janky on iOS when running standalone/via home screen (example: wiping offline storage every few days).

In some ways things work better than, say 10 years ago, but at the same time there's the *unpredictability*. I really don't want to worry about my app breaking in some impossible to fix way next year. Not, when the app is meant to pay my rent.

Performance was rarely an issue, discounting experiments like running image recognition inside a "service worker" in JS, on iPhone 7 for an AR game I was messing with. That was in 2016 (before Pokemon Go came out and kind... of dumbed down the idea or AR).

pcl · 4 days ago
I think the offline storage situation is improved with the latest manifest structure, although I haven’t experimented in depth. I know that at least one of my PWAs has local data going back a couple years at this point.

I really wish Apple had kept investing more fully in this space. So many of the pieces are there, but like you said, there are still assorted blockers.

It’s clear they still care about this space to a certain extent, since they have been fixing bugs and making improvements (screen-lock APIs and offline support, for example). But it could be so much better.

pcl commented on My AI Adoption Journey   mitchellh.com/writing/my-... · Posted by u/anurag
atomicnumber3 · 4 days ago
"When was the last time you reviewed the machine code produced by a compiler?"

Compilers will produce working output given working input literally 100% of my time in my career. I've never personally found a compiler bug.

Meanwhile AI can't be trusted to give me a recipe for potato soup. That is to say, I would under no circumstances blindly follow the output of an LLM I asked to make soup. While I have, every day of my life, gladly sent all of the compiler output to the CPU without ever checking it.

The compiler metaphor is simply incorrect and people trying to say LLMs compile English into code insult compiler devs and English speakers alike.

pcl · 4 days ago
”I've never personally found a compiler bug.”

I remember the time I spent hours debugging a feature that worked on Solaris and Windows but failed to produce the right results on SGI. Turns out the SGI C++ compiler silently ignored the `throw` keyword! Just didn’t emit an opcode at all! Or maybe it wrote a NOP.

All I’m saying is, compilers aren’t perfect.

I agree about determinism though. And I mitigate that concern by prompting AI assistants to write code that solves a problem, instead of just asking for a new and potentially different answer every time I execute the app.

pcl commented on Apple I Advertisement (1976)   apple1.chez.com/Apple1pro... · Posted by u/janandonly
rpastuszak · 9 days ago
Haha, excellent timing:

I opened HN just now because:

1. I got tired of waiting 2h for my app to get notarized because

2. I can't sell it on the AppStore in the EU... because

3. the AppStore Connect page gets stuck at their DSA compliance form (it's been 10 days).

And, to add insult to injury, the whole thing could be a PWA, without any compromises in the UX whatsoever.

I misread the title, but I still posted this comment as an example of confirmation bias* in the orange book for posteriority. Time to step away from the computer!

* (sunk cost fallacy)

pcl · 9 days ago
Have you built a PWA solution for it? If not, why not?
pcl commented on Heathrow scraps liquid container limit   bbc.com/news/articles/c1e... · Posted by u/robotsliketea
breppp · 14 days ago
most of airport security rests on the notion of going over a series of long tests will elicit unusual (fear, stress) responses from malicious actors and these can then be flagged for even thorougher checks which will then eventually lead to discovery, banning or removal of luggage

so it's not the test accuracy by itself but rather then the fact that these tests are happening at all

pcl · 14 days ago
{{citation needed}}
pcl commented on White House alters arrest photo of ICE protester, says "the memes will continue"   arstechnica.com/tech-poli... · Posted by u/wmeredith
pcl · 16 days ago
That's not at all what the person you responded to said. I'm not sure if you're intentionally misrepresenting their statement or if you're just reading too quickly or are under-caffeinated or whatever.
pcl commented on Hypnosis with Aphantasia   aphantasia.com/article/st... · Posted by u/danhite
ryanjshaw · 20 days ago
I wonder if author is one of the lucky aphantasics who doesn’t have SDAM [1].

I tried the exercise they described… and nothing happened.

I can’t even remember major life events that everybody is supposed to. Best I can do is recall there’s a photograph of the event, and using my recollection of the existence of the photograph, I can pull up a few facts I’ve intentionally made note of.

And now cue the other commenters telling me my experience isn’t real, or I’m misunderstanding how other people can recall stuff like getting married and or the birth of their kids when I can’t.

[1] https://www.sciencedirect.com/science/article/abs/pii/S00109...

pcl · 20 days ago
I’m one of those lucky ones! It sounds like you’re implying that most aphantasics have SDAM. Is that the case? Do you have any sources?
pcl commented on Fathers’ choices may be packaged and passed down in sperm RNA   quantamagazine.org/how-da... · Posted by u/vismit2000
sigmoid10 · a month ago
>I also feel that this could maybe contradict what we learned from evolution theory.

It doesn't, but the article doesn't go into this detail, so people unfamiliar with the field wouldn't understand why. The keyword is epigenetics. I.e. how certain genes become activated or deactivated through behaviour and/or environmental influences. But the DNA sequence itself remains unaltered. So no evolution necessary. There are basically a bunch of molecules than sit on top of your DNA that regulate gene expression. They don't just tell a cell to behave like a skin cell or a brain cell, they also regulate the entire cellular metabolism. The discovery that male sperm can also transmit this epigenetic information to offspring is relatively new, but now that we know that, it makes total sense that these gene-expression-modifying behaviours in fathers could affect their children. After all, they simply get to start with a good (or bad) bunch of epigenetic markers. They will not persist across many generations though, so it has no real long term effect on evolution. It may even be an evolved mechanism that allows organisms to respond to environmental changes on timeframes that would be prohibited by evolution.

pcl · a month ago
> ”They will not persist across many generations though”

Why not? Is there some tempering mechanism on epigenetic transfer? I could imagine that some sperm-conferred epigenetic markers could continue down the male descendants unbroken.

pcl commented on A guide to local coding models   aiforswes.com/p/you-dont-... · Posted by u/mpweiher
bilater · 2 months ago
Good to have fallbacks but in reality most ppl ( at least in the west) will have internet 99% of the time.
pcl · 2 months ago
Sure, but I am not one of them. I find myself wanting to code on trains and planes pretty often, and so local toolchains are always attractive for me.
pcl commented on A guide to local coding models   aiforswes.com/p/you-dont-... · Posted by u/mpweiher
bilater · 2 months ago
If you are using local models for coding you are midwiting this. Your code should be worth more than a subscription.

The only legit use case for local models is privacy.

I don't know why anyone would want to code with an intern level model when they can get a senior engineer level model for a couple of bucks more.

It DOESN'T MATTER if you're writing a simple hello world function or building out a complex feature. Just use the f*ing best model.

pcl · 2 months ago
Or if you want to do development work while offline.
pcl commented on CSS Grid Lanes   webkit.org/blog/17660/int... · Posted by u/frizlab
jonah · 2 months ago
Aahh. The way you phrased your question was pretty ambiguous.

The other posters have good answers. One thing to consider for a smooth interaction would be to eagerly load the next x elements before they scroll into view.

pcl · 2 months ago
Yeah I’d assume you’d eagerly load enough to make sure everything gets at least partially into the viewport, and maybe a fee more to optimize for network latency. And then perhaps track elements whose trailing ends are not in the viewport, and load more once those become fully visible?

u/pcl

KarmaCake day4369August 26, 2011
About
plinskey (at) gmail.com. Is against Daylight Losing.
View Original