Better HN
topnewbestaskshowjobs
Log inSign up

jweir

2,752 karma · joined Aug 24, 2012 (14y ago) · 579 submissions

Submissions

comment 1mo ago · link · parent

Universal context - or uni-context is an idea that could use some more attention.

The idea is universally we can all relate to the negative, but the good is rarely universal, but often local.

This is what drives social media or media in general to tend negative.

https://matthewevanseducation.substack.com/p/why-context-mat...

comment 4mo ago · link · parent

I enjoy my copy of RESearch’s Ballard

https://www.researchpubs.com/shop/p/research-89-jg-ballard-l...

comment 4mo ago · link · parent

See first post at https://news.ycombinator.com/item?id=48870988

4.

Who cleans up after the vibe-coding party?(ft.com ↗)

27 points · by jweir · 4mo ago · 1 comment

comment 5mo ago · link · parent

According to projections this year will hit 300 GWh in the US

https://www.canarymedia.com/articles/clean-energy-manufactur...

comment 6mo ago · link · parent

generate a story where there is not much of a story. What is unfortunate is this has gotten upvoted and is now part of the noise.

comment 6mo ago · link · parent

Ah memory lane. I created the "speaker head" characters and lead the redesign of the WinAmp web site back in 2004. Good times. Through Odopod in San Francisco

https://x.com/WebDesignMuseum/status/1700520818478854523

comment 7mo ago · link · parent

This but attached targeting a 3D printer.

comment 7mo ago · link · parent

If you see a fraud and do nothing you are part of the fraud.

comment 8mo ago · link · parent

True, but with visual art there is what is correct and what looks correct. When things are moving and the area small no one is going to notice.

But now that is problem is solved a director will come along and say... I want a scene with a big glass of water and the camera will zoom in on it and will see the monster refracted through the glass.

comment 9mo ago · link · parent

Something, well may things, kill about Microsoft. The Office suite have a wonderful API and loading a JS app with an an interface in the apps works great.

We took an Elm app from our web app and put into Excel to control downloading reports. Works great.

Except you have to side load this and that is a pain - or you have to go through the MS App Store, which is a whole other headache.

If anyone has any advice on making it easy for customers to install Office apps please let me know.

comment 9mo ago · link · parent

Lewes Delaware has the Cannonball house which was struck in the 1812 bombardment. Delightful town and beach, worth a visit.

comment 9mo ago · link · parent

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.

comment 9mo ago · link · parent

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?

comment 10mo ago · link · parent

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.

comment 11mo ago · link · parent

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.

comment 11mo ago · link · parent

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.

comment 11mo ago · link · parent

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.

comment 11mo ago · link · parent

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?

comment 1y ago · link · parent

And moms are the gate keeps of their kids friends.

comment 1y ago · link · parent

Speaking of compiling Ruby. And Stripe coders who have used the Sorbet compiler?

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

comment 1y ago · link · parent

And won’t the authService.register function also error if the user already exists? Or will it allow double registering the account?

There are deeper problems here that a Result type is not gonna fix.

comment 1y ago · link · parent

Something that the type system should do is "make impossible states impossible" as Evan Czaplicki said (maybe others too)

We have started to use typed HTML templates in Ruby using Sorbet. It definitely prevents some production bugs (our old HAML templates would have `nil` errors when first going into production).

comment 1y ago · link · parent

Many years ago a 4.5 hit when I living in Berkeley, about 2 miles aways and I thought a truck ran into my house. No rolling - just one giant jolt.

25.

The IBM Selectric(ibm.com ↗)

3 points · by jweir · 1y ago · discuss

comment 1y ago · link · parent

Nothing worse than starting off a talk and bombing.

comment 1y ago · link · parent

I spent 17 years without a car - first Berkeley then Brooklyn. It was a huge boost in financial freedom and stability - nothing worse than a major repair on something you depend on.

But most of the US this is impossible by design. Where I grew up you might live right next to a grocery store- but it is a mile walk because of the wall and road design. Nuts.

comment 1y ago · link · parent

Fly to a state with no sales tax. Portland, Oregon serves this purpose for high end shoppers that come from out of state and out of the country. Folks fly in to buy their Rolex, Gucci, etc, with no tax.

comment 1y ago · link · parent

we have investigate that, but it requires sudo access which is not allowed but the running user.

comment 1y ago · link · parent

fast installs will be great. compiling ruby is the only slow part left in our provisioning process.
12345
20