Readit News logoReadit News
robertjpayne commented on Swift is a more convenient Rust (2023)   nmn.sh/blog/2023-10-02-sw... · Posted by u/behnamoh
jabwd · 9 days ago
This makes me think you haven't really tried it ever? Sure writing a hello world is something but, one of the best features of Swift on the server side is that it seamlessly interopts with anything C (and nowadays C++, though that is after my time).

I wrote an entire, well performing backend in Swift because I could just directly plug in to already existing libraries without having ot provide a whole bunch of "FFI" glue.

All the other languages you suggest is something that Swift excels at while staying performant (also none of those have an IDE like Xcode so idk why you even bring it up). Though for actual systems programming I don't think Rust can be beaten by Swift, simply because of its more explicit (and therefore confronting) nature.

robertjpayne · 9 days ago
We use server side Swift extensively since about 2016 for decent production load and it's easily one of the worst decisions I've ever made.

- C/C++ interop is great but if we wanted to use C/C++ libraries why use Swift at all? It's annoying to interop with them even if there is no FFI and still requires a lot of glue code for memory management etc…

- The stdlib (Foundation) is not identical on all platforms even today. This has been a major thorn as releases constantly have discrepancies and subtle bugs that are hard to diagnose and track down. Even Swift 6.1 broke non UTF-8 string encodings by just returning "nil" on Linux and took until Swift 6.2 to be fixed (nearly a year).

- The compile times are awful, with a large Swift codebase it takes us ~10-20 minutes to compile our backend Docker container and thus deployments to dev take that long and it's only going to keep getting longer as Apple seemingly has no interest in making the Swift toolchain much faster and Swift has a fatal flaw in it's design around bi-directional type inference that ensure it can never be compiled fast.

- Talent is impossible to find. Yes lots of people know Swift for iOS apps but nobody knows Swift for server code and a backend dev is a very different skillset than an app dev.

We chose it because it allowed us to share some domain code between our flagship iOS product and the server with a custom built sync engine but as our platform has grown it's just gotten harder and harder to justify keeping Swift on the server which is why we're actively migrating off it.

robertjpayne commented on There's a ridiculous amount of tech in a disposable vape   blog.jgc.org/2026/01/ther... · Posted by u/abnercoimbre
denkmoon · a month ago
The vape ban in Australia is utterly stupid though. All vapes are banned, not just disposables, and guess what's easier to discretely sell to kids from a newsagency.

Doesn't seem to have stopped kids getting their vapes yet I need to import my cannabis vape via the black market.

robertjpayne · a month ago
They're not all banned, you just need a prescription to get one which realistically should've been implemented day 0.

Eventually it'll prove very impactful with the youth, it'll reduce the number of users and make it more cost prohibitive to be so prolific as it is right now.

robertjpayne commented on There's a ridiculous amount of tech in a disposable vape   blog.jgc.org/2026/01/ther... · Posted by u/abnercoimbre
smashed · a month ago
Many countries have deposits for single use bottles/cans but an electronic device with a lipo battery is seen as perfectly fine to throw away.

These things should have 100 times the deposit amount of a can of soda with mandatory requirements for retailers to take the 'empties' back.

robertjpayne · a month ago
Why though? Bottles/cans are easily recycled and I believe the small reimbursement is easily recovered during the recycling costs.

It's not profitable to recycle small electronic devices otherwise you'd see heaps of shops doing it. It's toxic, hazardous and labour intensive.

100 times the deposit amount would be like $5-10 USD per-device which is insane. I do agree that any retailers should be required to take back empties and dispose of them responsibly.

robertjpayne commented on Google AI Studio is now sponsoring Tailwind CSS   twitter.com/OfficialLogan... · Posted by u/qwertyforce
FooBarWidget · a month ago
If there is no value in newer Tailwind versions, then why would anybody upgrade past 1.0? Clearly there is value that you don't recognize.

I mean, I'm not a Tailwind user so I don't either. But it's incredibly easy to take open source value for granted. That's why so many maintainers burn out.

robertjpayne · a month ago
V2 to V3 was really good value, but V3 to V4 was mostly performance with a migration nightmare with little new features.

I don't know what a Tailwind V5 could add that is "breaking" and be worth the migration headache again.

robertjpayne commented on Google AI Studio is now sponsoring Tailwind CSS   twitter.com/OfficialLogan... · Posted by u/qwertyforce
troupo · a month ago
They don't only make TailwindCSS. They also make a large collection of components and templates at https://tailwindcss.com/plus
robertjpayne · a month ago
Yes but Tailwind Plus has a flawed business model, AI was not really the reason nobody bought it, it's that it's a lifetime purchase and that shadcn + LLMs has eaten their cake left right and central.

If LLMs didn't exist but shadcn still did, do you think people would pay and use Tailwind+ or shadcn?

robertjpayne commented on Creators of Tailwind laid off 75% of their engineering team   github.com/tailwindlabs/t... · Posted by u/kevlened
maxbaines · a month ago
I nearly always use Tailwind, had no idea there was even a Plus offering. Checking the site I see it now but it’s a subtle link. Also wonder if shad/cn had something to do with the reduced usage of plus.
robertjpayne · a month ago
shadcn/ui I'd argue is probably the single biggest factor in the declining Tailwind revenue more so than just LLMs in general.

As said is it is to say shadcn is what Tailwind should've created and maintained for a fee rather than some html/css templates that are easily replicated.

I say this as someone who bought Tailwind+ to support the project many years ago and still use Tailwind every single day.

robertjpayne commented on Donut Lab’s all-solid-state battery delivers 400 Wh/kg of energy density   donutlab.com/ces-battery-... · Posted by u/aeonfox
thrwwXZTYE · a month ago
I've looked at the stats, and it's:

- 45 flights per recon consumer quadcopter drone before it's lost

- 69 flights per heavy bomber drone before it's lost

They switch the batteries before each flight anyway, so even batteries that are rated for 10 cycles would be good enough if the price/performance is good enough.

Certainly batteries rated for 300 cycles are an overkill.

Source (from March 2025): https://www.forbes.com/sites/davidhambling/2025/04/16/hidden...

Also I'm listening to Piotr Ryczek talking about his time with drone unit in Ukraine, and he says recovering drones is complicated (because you have to land far away from your position and the enemy drones wait for people trying to recover a drone that landed, so you have to wait for hours before going there and do it at night). Which drains the batteries to 0 after every flight and reduces the drone availability by half or more.

So there's tactical reasons not to focus on quality too much, too.

robertjpayne · a month ago
It's less about cycles and more about the energy density per kg. Nothing on the market comes close to 400Wh/kg.
robertjpayne commented on You Need to Ditch VS Code   jrswab.com/blog/ditch-vs-... · Posted by u/kugurerdem
imron · a month ago
> Try debugging without breakpoints

Why would you need to give this up? I use breakpoints with terminal debuggers all the time.

robertjpayne · a month ago
Yea this take makes no sense. What in the world is wrong with debugging with breakpoints?
robertjpayne commented on Fifty problems with standard web APIs in 2025   zerotrickpony.com/article... · Posted by u/dhruv3006
spoiler · 2 months ago
I've been saying this for years, and it gets down voted occasionally, but safari/webkit feels like the new IE6. I know Chrome is very bullish with adding extra features and is aggressively pushing some standards, but I've rarely had to write "workarounds" or hacks for Chrome when writing web-standard compliant code for other browsers, but I've had to frequently do it for Safari.

It's been a few years since I've had battle Safari quirks, one example that stuck with me from a couple of years ago is that LocalStorage is not available in private browsing mode. Other browsers just treat it as ephemeral/SessionStorage basically.

Also I remember our Sentry being _littered_ with random React internals throwing (it was like a couple of different things), but it was only ever iOS that had those issues.

robertjpayne · 2 months ago
Chrome probably has the benefit of being updated frequently rather than more of an annual cycle. But Safari still isn't anywhere near IE6 levels of awfulness.
robertjpayne commented on GitHub postponing the announced billing change for self-hosted GitHub Actions   twitter.com/jaredpalmer/s... · Posted by u/coloneltcb
denismi · 2 months ago
Outside of work, I'm a very sporadic coder. On some side-projects where I'm using Actions, I'll have an inspired few days of progress followed by completely idle weeks/months/quarters.

Losing free Actions doesn't particularly bother me, and I have no issue with paying what is most likely a negligible amount, but I don't really want to have a credit card on file which could be charged some unbounded amount if somebody gets into my account. I've shut down my personal AWS for similar reasons.

Is there any way of me just loading up a one-time $20? That will probably last well into 2027, and give me the peace of mind that I can just let it run. If my account's compromised, or I misconfigure something that goes wild, I am perfectly happy to write off that amount and have my incredibly-low-stakes toy projects fail to build.

robertjpayne · 2 months ago
Put a spend limit in GitHub and issue a chargeback if they ever bill you more.

u/robertjpayne

KarmaCake day168January 3, 2015View Original