Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Lio
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
541.
▲
by
Lio
1y ago
Ah I have fond memories of my Hornet and then later a 959. There was always that thing that kids would do where you'd get the OK from your friend and then pick up their car to about 5cm and drop it to test the suspension. Then you
542.
▲
by
Lio
1y ago
LOL, who ran against Xi in his last "election"? Which "free press" runs stories against Xi? Where is the other half of the bell curve of public opinion that's critical of the CCP? Yeah they have elections alright, y
543.
▲
by
Lio
1y ago
Ah, I see the confusion. I think you've missed the word "from" there, as in some item taken from a car not the car itself. Where I live using the words Grand Theft Auto, with that capitalisation, implies the video game of th
544.
▲
by
Lio
1y ago
They're not really being arrested for criticising a law though. They're arrested for supporting a group that's been banned for causing around £30 million's worth of damage to our national defences at a time of hightened
545.
▲
by
Lio
1y ago
I think that in 2025 the standard ruby JSON library is now finally faster than Oj so it’s pretty it’s one more external dependency we can remove. Thanks for your service OJ, you were very helpful for a long time.
546.
▲
by
Lio
1y ago
You're mostly comparing frameworks here. For example, using the Roda framework instead of Rails you can define a route like this: r.get "products" { ProductsRepository.all } which is pretty close to your Express examp
547.
▲
by
Lio
1y ago
No one has mentioned Grand Theft Auto but you. I’m not sure why you’ve brought that up, it’s completely unrelated to the conversation.
548.
▲
by
Lio
1y ago
Hopefully this came across but I'm definitely not always rooting for either Tony Sorprano or Walter White. Like you say, you experience the story through these dubious characters. Especially on multiple watch throughs you can really
549.
▲
by
Lio
1y ago
Yes. There a tendency to ascribe charisma to the perpetrators of evil. You see this in the fascination with true crime. The reality is far more boring; these horrific actions were perpetrated by someone that occasionally had bad breath.
550.
▲
by
Lio
1y ago
Well… part of what made Breaking Bad so good was the artful way it manipulated your feelings for Walter. By the end I was back rooting for him. I wanted his plan to rescue Jessie (and to an extent Skyler) to work. It felt like a partial ato
551.
▲
by
Lio
1y ago
I think before the invasion of Ukraine the chance of China regaining Vladivostok would have been almost zero. Completely unthinkable. Now Russia is so dependant on China that they could just ask nicely for it back and Russia would have to h
552.
▲
by
Lio
1y ago
Hmm, good question. I think I'd probably start with Agile Web Development with Rails 8. It's the book I learned originally Rails with more years ago than I care to remember (pre version 1!). Sustainable Rails is really more about
553.
▲
by
Lio
1y ago
This is really nice, thank you. I can definitely see this being something I'll pass on anyone that wants to learn a bit of Rails.
554.
▲
by
Lio
1y ago
> > stop wasting time and money on things like that > What do you mean? The AMA? I’m not the parent but it’s not the AMA, it’s paying multi-million dollar salaries to CEOs that layoff engineers and divert money to political campaig
555.
▲
by
Lio
1y ago
This is great. I will definitely be using this in my next product demo. Chapeau on the idea. I just tried asking GPT to generate some Gibsonesque filler text, I'll same you the slop reading the slop but I think it did a pretty good jo
556.
▲
by
Lio
1y ago
Great advice. I’d follow up with Sustainable Rails[1] once yiu get the basics. The Polished Ruby book is also really good IMHO[2]. 1. https://sustainable-rails.com/ 2. https://www.packtpub.com/en-us/pr
557.
▲
by
Lio
1y ago
I’m guessing that must have been the 00s then. I haven’t seen anyone downplay database constraints for a very long time.
558.
▲
by
Lio
1y ago
Really? Which ones are broken? Every banking website I use works in Firefox. I can’t imagine voluntarily using a browser without working ad blocking.
559.
▲
by
Lio
1y ago
Rails fully supports constraints and encourages you to use them. You can either execute SQL in your migration or use add_check_constraint.
560.
▲
by
Lio
1y ago
I've used dry-rb a bit but had problems with breaking changes that put me off. I love some of the ideas but they seem a bit too heavy for my taste. e.g. I think (project) standardised results are a fantastic idea but I don't need
561.
▲
by
Lio
1y ago
I loved David's book Sustainable Rails[1], it's one of the books on Rails I always recommend. This is a really interesting take. I'd love see one of these small alternative frameworks full embrace Sorbet and use it for things
562.
▲
by
Lio
1y ago
You can use a static analysis tool to check Ruby types ahead of time (still not a compiler) or provide information for tooling. Alternatively you use them at runtime to check the correctness of data, which I don't think you can usually
563.
▲
by
Lio
1y ago
I agree with this. RSpec may be an extra dependency vs MiniTest but with MiniTest I'll almost always need extra plugins anyway for things like reporting, colour coding, etc. MiniTest is almost good enough but not quite there on its
564.
▲
by
Lio
1y ago
I prefer the silence of people with headphones to the noise of sodcasters broadcasting Tik Tok clips or just the worst cheesy autotune pop drivel[1]. 1. Apologies if autotune pop music is your thing but it makes my skin crawl so please, kee
565.
▲
by
Lio
1y ago
Aha! Thank you. I’ll go back and take another look.
566.
▲
by
Lio
1y ago
I have a similar story. I saw the Rails book in a library and decided to give a go. It was so easy to overtake what I was working on with Hibernate and Spring.
567.
▲
by
Lio
1y ago
Nice work. If I could suggest adding a file upload widget (sorry I couldn't see one in the search box). The page lists 120+ UI components but I could only see 24 of them. Am I missing something.
568.
▲
by
Lio
1y ago
As soon as I read "gravel road" I instantly started thinking about what it would be like to cycle it. I think I'm going to have to get hold of that book.
569.
▲
by
Lio
1y ago
I had this “great” idea to build a stun gun out of an old camera flashgun as a young teen. Got jolted across the room and decided to quietly give up the idea, luckily before anything serious happened.
570.
▲
by
Lio
1y ago
Aha! Thank you.
More ›