Readit News logoReadit News
jweir commented on Rome is studded with cannon balls (2022)   essenceofrome.com/rome-is... · Posted by u/thomassmith65
lapetitejort · a day ago
Fort Pulaski in Savannah, Georgia also has cannonballs embedded in the brick walls: https://en.wikipedia.org/wiki/Fort_Pulaski_National_Monument
jweir · 20 hours ago
Lewes Delaware has the Cannonball house which was struck in the 1812 bombardment. Delightful town and beach, worth a visit.
jweir commented on Speed up responses with fast mode   code.claude.com/docs/en/f... · Posted by u/surprisetalk
kristianp · 5 days ago
This is gold for Anthropic's profitability. The Claude Code addicts can double their spend to plow through tokens because they need to finish something by a deadline. OpenAI will have a similar product within a week but will only charge 3x the normal rate.

This angle might also be NVidias reason for buying Groq. People will pay a premium for faster tokens.

jweir · 5 days ago
I switched back to 4.5 Sonnet or Opus yesterday since 4.6 was so slow and often “over thinking” or “over analyzing” the problem space. Tasks which accurately took under an minute in Sonnet 4.5 were still running after 5 minutes in 4.6 (yeah I had them race for a few tasks)

Someone of this could be system overload I suppose.

jweir commented on How to effectively write quality code with AI   heidenstedt.org/posts/202... · Posted by u/i5heu
jweir · 6 days ago
Remember having to write detailed specs before coding? Then folks realized it was faster and easier to skip the specs and write the code? So now are we back to where we were?

One of the problems with writing detailed specs is it means you understand the problem, but often the problem is not understand - but you learn to understand it through coding and testing.

So where are we now?

jweir commented on NYC Mayoral Inauguration bans Raspberry Pi and Flipper Zero alongside explosives   blog.adafruit.com/2025/12... · Posted by u/ptorrone
0x1ch · a month ago
An unmarked car pulls alongside you, all men are masked inside and the windows tinted. You're ready to fight back or run, but then it turns out it's the police attempting to harass and bully you. Wonderful.
jweir · a month ago
Look up Sean Bell - not a stop a frisk, just an open fire.

Once, my wife and I were stopped, but not frisked, and cited for riding bikes, on a sidewalk at 2AM on a stretch of Atlantic Ave that would kill you to ride on. It made no sense, until I found out that my neighbor and his friend had been murdered at a street party. There was a drag net out trying to find the killer and they stopped anyone for anything.

A tough city.

jweir commented on T-Ruby is Ruby with syntax for types   type-ruby.github.io/... · Posted by u/thunderbong
zingar · 2 months ago
I’d love to hear from you or someone in your shoes: what are some patterns or examples of tests that are made redundant by types?

“It has a field of type X” has never been a useful test for me, my tests are always more like:

“if I send message X I get return value or action Y”

… with my admittedly limited experience of types I don’t see how they replicate this.

Therefore it looks like I’d only be “replacing” tests that I’d never write in the first place.

What am I missing?

jweir · 2 months ago
We have some tests that ensure the interface is correct - that the correct type of args are passed say from a batch process to a mailer and a mail object is returned.

For these tests we don’t care about the content only that something didn’t get incorrectly set or the mailer interface changed.

Now if the developer changes the Mailer to require a user object the compiler tells us there is an error. Sorbet will error and say “hey you need to update your code here and here by adding a User object”

Before we would have had test coverage for that - or maybe not and missed the error.

jweir commented on T-Ruby is Ruby with syntax for types   type-ruby.github.io/... · Posted by u/thunderbong
MGriisser · 2 months ago
(I'm not sure if this still holds under a world where LLMs are doing the majority of writing code but this is my opinion from prior to LLMs)

From someone who has worked mostly in Ruby (but also Perl and TypeScript and Elixir) I think for web development, a dynamic language with optional types actually hits maybe the best point for developer productivity IMO.

Without any types in a dynamic language, you often end up with code that can be quite difficult to understand what kinds of objects are represented by a given variable. Especially in older poorly factored codebases where there are often many variations of classes with similar names and often closely related functions it can feel almost impossible until you're really familiar with the codebase.

With an actual fully typed language you're much more constrained in terms of what idioms you can use and how you can express and handle code by the type system. If you're not adept or knowledgeable about these things you can spend a lot of time trying to jam what you're attempting into the type system only to eventually realize it's impossible to do.

A gradual type system on top of a dynamic language gets you some of the best of both worlds. A huge amount of the value is just getting typing at function boundaries (what are the types of the arguments for this function? what is the type of what it's returning?) but at the same time it's extremely easy to just sidestep the type system if it can't express what you want or is too cumbersome.

jweir · 2 months ago
This is our experience. We have added Sorbet to a 16 year old Rails app. It is a big win in avoiding errors, typos, documentation, code completion, fewer tests are required, etc.

And the LLMs take advantage of the types through the LSP and type checking.

jweir commented on Ruby 4.0.0   ruby-lang.org/en/news/202... · Posted by u/FBISurveillance
ergocoder · 2 months ago
I haven't looked at Ruby for a long time. I've moved away due to the lack of typing. Any degree of typing would be helpful. Does it support typing yet?
jweir · 2 months ago
We have been adding Sorbet typing to our Rails application and it is a positive enhancement.

It’s not like Ruby becomes Haskell. But it does provide a good deal of additional saftey, less testing, LSP integration is good, and it is gradual.

There is a performance hit but we found it to be quite small and not an issue.

But there are area of our application that use Grape and it is too meta for Sorbet so we don’t try and use it there.

jweir commented on I failed to recreate the 1996 Space Jam website with Claude   j0nah.com/i-failed-to-rec... · Posted by u/thecr0w
manbash · 2 months ago
Ah, those days, where you would slice your designs and export them to tables.
jweir · 2 months ago
And use a single px invisible gif to move things around.

But was Space Jam using multiple images or just one large image with and image map for links?

jweir commented on Childhood Friends, Not Moms, Shape Attachment Styles Most   nautil.us/childhood-frien... · Posted by u/dnetesn
jweir · 3 months ago
And moms are the gate keeps of their kids friends.
jweir commented on Compiling Ruby to machine language   patshaughnessy.net/2025/1... · Posted by u/todsacerdoti
jweir · 3 months ago
Speaking of compiling Ruby. And Stripe coders who have used the Sorbet compiler?

https://sorbet.org/blog/2021/07/30/open-sourcing-sorbet-comp...

u/jweir

KarmaCake day2698August 24, 2012View Original