Readit News logoReadit News
PapaPalpatine commented on It’s not wrong that "\u{1F926}\u{1F3FC}\u200D\u2642\uFE0F".length == 7 (2019)   hsivonen.fi/string-length... · Posted by u/program
zahlman · a day ago
> I have, on the other hand, always wanted the string length.

In an environment that supports advanced Unicode features, what exactly do you do with the string length?

PapaPalpatine · a day ago
I don’t know about advanced Unicode features… but I use them all the time as a backend developer to validate data input.

I want to make sure that the password is between a given number of characters. Same with phone numbers, email addresses, etc.

This seems to have always been known as the length of the string.

This thread sounds like a bunch of scientists trying to make a simple concept a lot harder to understand.

PapaPalpatine commented on More assorted notes on Liquid Glass   morrick.me/archives/10068... · Posted by u/freediver
PapaPalpatine · 2 months ago
I’m not a professional designer, but I like Liquid Glass. If you don’t like it, stay on iOS 18 or switch to Android.

Aside from the criticism of icons, every complaint in the article just came across as nit-picks.

PapaPalpatine commented on Microsoft pushes staff to use internal AI tools more   businessinsider.com/micro... · Posted by u/taubek
PapaPalpatine · 2 months ago
I really hate all of these executives trying to shove AI our throats.
PapaPalpatine commented on Ruby on Rails Audit Complete   ostif.org/ruby-on-rails-a... · Posted by u/todsacerdoti
Hnus · 2 months ago
You don't miss things like enums, exhaustive switch or any other basic language features? How about `method_missing` its such a crazy idea to me that something like this exists, I know why it exists but I am like why, why such bloat and complexity.
PapaPalpatine · 2 months ago
No, I honestly don’t. I can emulate an Enum without having an Enum type. I rely less on a compiler and more on myself with automated tests.
PapaPalpatine commented on Ruby on Rails Audit Complete   ostif.org/ruby-on-rails-a... · Posted by u/todsacerdoti
Hnus · 2 months ago
Serious question: do people actually enjoy writing Ruby? I feel I’m writing in something like Bash. I never felt this way until I picked up other languages like Rust, Zig, C#, and learned a tiny bit of programming language theory. After that, the loose and squishy feel of Ruby really started to bug me. Also, it seems like every Ruby programmer I know only ever uses other dynamic languages like Python. It’s never like they’re experts in C++ or something and then decided to start programming in Ruby.
PapaPalpatine · 2 months ago
What an odd question lol. Yes, people like writing in Ruby. I’m one of the. Switched from C# in 2016.
PapaPalpatine commented on FAA to eliminate floppy disks used in air traffic control systems   tomshardware.com/pc-compo... · Posted by u/daledavies
evanjrowley · 2 months ago
If it works, then don't change it.

I would trust a floppy-powered Windows 95 system over the horror show that passes for common operating systems in 2025.

What will they think of next? Adding AI to the ATC system?

PapaPalpatine · 2 months ago
Let's be a little more reasonable. I don't think anyone is saying we need AI. There are numerous other technological advances between floppy drives and AI that our air traffic control system could benefit.
PapaPalpatine commented on We fell out of love with Next.js and back in love with Ruby on Rails   hardcover.app/blog/part-1... · Posted by u/mike1o1
gedy · 4 months ago
Was using TeamCity, then dropped some moving to another system.

The broader point was basically that the Rails UI integration tests took a very long time, and required the whole system up, and we had a pretty large team constantly pushing changes. While not 100% unique to Rails, it was exacerbated by RoR conventions.

We moved much of the UI to a few Next.js apps where the tests were extremely fast and easy to run locally.

PapaPalpatine · 4 months ago
> Rails UI integration tests took a very long time

How many integration tests do you have? I generally only test a few core flows and then leave the rest to controller/request tests.

PapaPalpatine commented on The Miscalculations of Covid School Closures   newyorker.com/books/under... · Posted by u/pseudolus
cempaka · 4 months ago
Your numbers and etiology are complete nonsense, and again I'm not sure how they're relevant to the question of school closures, unless you believe schools (and I would think, to be consistent, all of public life itself?) should be shut down indefinitely to prevent COVID infections?
PapaPalpatine · 4 months ago
> Your numbers and etiology are complete nonsense, and again I'm not sure how they're relevant to the question of school closures

Are you really this dense or do you just enjoy arguing about COVID? The school closures were in response to COVID, you suitcase.

PapaPalpatine commented on Ask HN: What's the ideal stack for a solo dev in 2025    · Posted by u/kieloo
PapaPalpatine · 5 months ago
As a lover of Rails, I’d vote that. It’s known as the single-developer framework.
PapaPalpatine commented on Japan plans to sell rice from emergency stockpiles to cut prices   japantimes.co.jp/news/202... · Posted by u/Pamar
Havoc · 7 months ago
Surprised a rich country like Japan cares so much. Rice is super cheap

Is this not in rounding error territory for most household?

PapaPalpatine · 7 months ago
> The price of rice in Japan is up 60% year-on-year as of last month

Maybe read the article a bit before jumping into the discussion.

u/PapaPalpatine

KarmaCake day62November 14, 2021View Original