HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jweir

no profile record

comments

jweir
·26 dni temu·discuss
According to projections this year will hit 300 GWh in the US

https://www.canarymedia.com/articles/clean-energy-manufactur...
jweir
·2 miesiące temu·discuss
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.
jweir
·2 miesiące temu·discuss
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
jweir
·3 miesiące temu·discuss
This but attached targeting a 3D printer.
jweir
·3 miesiące temu·discuss
If you see a fraud and do nothing you are part of the fraud.
jweir
·4 miesiące temu·discuss
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.
jweir
·5 miesięcy temu·discuss
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.
jweir
·5 miesięcy temu·discuss
Lewes Delaware has the Cannonball house which was struck in the 1812 bombardment. Delightful town and beach, worth a visit.
jweir
·5 miesięcy temu·discuss
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
·5 miesięcy temu·discuss
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
·6 miesięcy temu·discuss
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
·7 miesięcy temu·discuss
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
·7 miesięcy temu·discuss
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
·7 miesięcy temu·discuss
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
·7 miesięcy temu·discuss
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
·8 miesięcy temu·discuss
And moms are the gate keeps of their kids friends.
jweir
·8 miesięcy temu·discuss
Speaking of compiling Ruby. And Stripe coders who have used the Sorbet compiler?

https://sorbet.org/blog/2021/07/30/open-sourcing-sorbet-comp...
jweir
·8 miesięcy temu·discuss
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.
jweir
·9 miesięcy temu·discuss
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).
jweir
·10 miesięcy temu·discuss
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.