HN user

jupp0r

6,376 karma

[ my public key: https://keybase.io/jupp0r; my proof: https://keybase.io/jupp0r/sigs/m5KnS-Z4d6zpBdJ3S9d0pTARm_TnJuzJzXr2MTmDJtA ]

Posts50
Comments1,995
View on HN
www.theatlantic.com 1y ago

The dangerous, secretive world of extreme fishing

jupp0r
3pts0
humanprogress.org 2y ago

Desalinating Water Is Becoming "Absurdly Cheap"

jupp0r
47pts52
insideclimatenews.org 3y ago

Short-Term Climate Shock Bringing 2 Degrees of Warming by 2050

jupp0r
1pts0
en.wikipedia.org 3y ago

Kantubek

jupp0r
2pts0
en.wikipedia.org 3y ago

Toba Catastrophe Theory

jupp0r
3pts0
support.apple.com 3y ago

Use Clean Energy Charging on Your iPhone

jupp0r
2pts0
huggingface.co 3y ago

GPT-2 Output Detector Demo

jupp0r
2pts0
www.goto.com 3y ago

LastPass owner GoTo has been hacked

jupp0r
187pts6
gist.github.com 3y ago

Keyboard-Only Mac Cheatsheet

jupp0r
3pts0
sharktastica.co.uk 3y ago

What's Better – Model Fs or Model Ms?

jupp0r
1pts0
github.com 4y ago

SheetJS: Why the move away from NPM registry?

jupp0r
6pts0
en.wikipedia.org 4y ago

Peaceful Nuclear Explosion

jupp0r
2pts1
en.wikipedia.org 4y ago

FGM-148 Javelin

jupp0r
2pts0
www.ft.com 4y ago

San Francisco is scaring away the tech crowd

jupp0r
8pts1
gizmodo.com 4y ago

Architect Says Dystopian Dorm Is a Dangerous Psychological Experiment

jupp0r
4pts0
www.cambus.net 5y ago

Speedbuilding LLVM/Clang in 2 minutes on ARM

jupp0r
2pts0
docs.google.com 5y ago

FAQs on Protecting Yourself from Covid-19 Aerosol Transmission

jupp0r
4pts0
www.nature.com 5y ago

The false promise of herd immunity for Covid-19

jupp0r
39pts120
www.fastcompany.com 6y ago

Campaign encourages Americans to do more to fight anti-vaxxers

jupp0r
3pts0
www.nytimes.com 6y ago

Advertiser Exodus Snowballs as Facebook Struggles to Ease Concerns

jupp0r
2pts0
github.com 6y ago

E2E encryption for Zoom Meetings [pdf]

jupp0r
1pts0
github.com 6y ago

Slack still doesn't allow you to mute bots

jupp0r
2pts0
www.blog.google 6y ago

Google Duo rolls out realtime AV1

jupp0r
392pts341
www.reddit.com 6y ago

UK critical care doctor AMA on Covid-19

jupp0r
10pts0
blog.drewolson.org 6y ago

Asynchronous Purescript

jupp0r
1pts0
twitter.com 6y ago

Slack still doesn't have syntax highlighting

jupp0r
1pts0
iina.io 6y ago

IINA The modern media player for macOS

jupp0r
1pts0
twitter.com 6y ago

Slack has refused to implement user blocking for years

jupp0r
6pts4
www.nytimes.com 6y ago

Grasshopper Invasion of Las Vegas May Last Weeks, Experts Say

jupp0r
1pts0
blog.mozilla.org 7y ago

Fixing Antivirus Errors

jupp0r
1pts1

Just have your agent use an existing design system. They provide coherence and many styles to choose from (and customization if you really need that for your personal use). I wouldn't expect agents to invent a coherent component library from scratch for every project. It's a solved problem. I'd personally just use something very popular like MUI and be done.

I don't think that needs to be true either anymore. Exhaustive specifications and comprehensive test suites are easily created now too. That's why I think software engineering will not go away, it will just change drastically.

Dependencies. There are billions of lines of C++ out there that have been optimized and production hardened over decades that you might want to reuse. Rust lang interoperability with anything but C sucks in practice.

What caused the drop in popularity in RoR?

Async/await. JavaScript and all other modern languages and frameworks have a great concurrency story. Rails still hasn't (but it's coming next year, it's been coming next year for a decade).

I think you should appreciate more how much the tens of billions of dollars Google has invested in Chrome has benefited the web and open source in general. Some examples:

Webrtc. Google’s implementation is super widely used in all sorts of communications software.

V8. Lots of innovation on the interpreter and JIT has made JS pretty fast and is reused in lots of other software like nodejs, electron etc.

Sandboxing. Chrome did a lot of new things here like site isolation and Firefox took a while to catch up.

Codecs. VP8/9 and AV1 broke the mpeg alliance monopoly and made non patented state of the art video compression possible.

SPDY/QUIC. Thanks to Google we have zero RTT TLS handshakes and no head of line blocking HTTP with header compression, etc now and H3 has mandatory encryption.

You're being overly dramatic. Germany has been spending low amounts of money on its military for two and a half decades. Circumstances changed and spending needs to be increased to adjust to the new situation. This is not militarization, it's the state fulfilling fundamental purpose of providing external security for its citizens. Spending is going to be less (relative to GDP) than in the 70s and 80s.

The Rails documentation has lots of info about this: https://guides.rubyonrails.org/tuning_performance_for_deploy...

Concurrency support is missing from the language syntax and this particular library as a concept. This is by design, to not distract from beautiful code. Your request will make zero progress and take up memory while waiting for the LLM answer. Other threads might make progress on other requests, but in real world deployments this will be a handful (<10). This server will get 10s of requests per second when something written in JS or Go will get many 1000s.

It’s amazing how the Ruby community argues against their own docs and doesn’t acknowledge the design choices their language creators have made.

Yes, it does. Ruby has a global interpreter lock (GIL) that prevents multiple threads to be executed by the interpreter at the same time, so Puma does have threads, they just can’t run Ruby code at the same time. They can hide IO though.

Well instead of looking at the two first hits of Google I spent several years on a platform team of a multi billion dollar company using mostly Rails and worked on solving real world problems caused by Ruby/Rails’ design choices which lead me to believe that Ruby concurrency as of today is hot garbage.

They need fundamental breaking changes to the language to fix this, which means people won’t be able to use their beloved pile of 438 gems that haven’t seen a commit in 7 years. If I had to bet, I’d say the language is dead. It might still be a nice niche language for easy prototyping, but the world has moved on to async/await (js/python/Rust/C++) or stackful coroutines (Go).

Unfortunately, 5 years after the release you linked, almost none of this has made it to Rails or even to relatively new libraries this post is about. The reason (imho) are unfortunate design choices in how the language incorporates concurrency - it’s just not well done.

The API looks nice on the surface, but this will be expensive to operate due to Ruby and Rails’ lack of support for concurrency. Everything is blocking, which is not a great match for the async nature of interacting with these models.

This will synchronously block until ‘chat.ask’ returns though. Be prepared to be paying for the memory of your whole app tens/low hundreds of MB of memory being held alive doing nothing (other than handling new chunks) until whatever streaming API this is using under the hood is finished streaming.