7,747 karma · joined Sep 15, 2007 (19y ago) · 2,391 submissions
93.
Artificial Intelligence Act: MEPs adopt law(europarl.europa.eu ↗)
62 points · by ericb · 2y ago · 59 comments
comment 2y ago · link · parent
Have you tested this? I ask because under the hood, Rails is using Faye, and Faye is using EventMachine.
About 10 years ago I load tested Faye vs. Node in a websocket scalability test for a websocket based chat app I was writing, that, funnily enough had a polling fallback. We had scalability needs up to around 10k or 20k simultaneous connections if I remember right and I wanted to know their ceilings before we wrote the real code and invested in either.
Faye kicked Node's butt on simultaneous connections and throughput. Node fell over while Faye was still going. Eventmachine, which Faye uses, can scale like nobody's business. It IS an F16.
comment 2y ago · link · parent
The Rails realtime story is going to be radically improved in Rails 8! I've been using the Turbo beta, and it is magical.
With 3 lines of code each, I made my index page, and show page live, and real-time updating.
I think Phoenix has something similar--perhaps it was the inspiration?
comment 2y ago · link · parent
I used Vantage, which helped me see the problem, but then taking action on it was traumatic.
The barriers are:
- who owns it?
- what service is it in (if it is logs, for example)?
- where is the screen it is on?
- how do I get the permissions to kill it?
comment 2y ago · link · parent
Feature request: I have really struggled with turning the thing costing me money off in AWS.
If, with the right master credentials, I could consistently and easily do that somehow, that'd be a 10x feature. If you made that use-case free, you'd get tons of installations from people who desperately need this in the top of your sales funnel.
edit: This used to say "in your app" and that wasn't quite what I want, so I changed that language, but jedberg's objections in the comments below were, and are, valid concerns with what I was stating and any implementation.
comment 2y ago · link · parent
If humans had come first instead of dinosaurs and built von Neumann probes at that time, our probes could be saturating scores other galaxies--not stars, galaxies by now. That's with only a 250 million year differential in technology emergence. It isn't hard to imagine the emergence of technology varying by even more than that.
comment 2y ago · link · parent
The probe doesn't require its parent civilization to continue existing to keep working. It self-replicates. You don't have to "pick" where self-replicating probes go. Each can self-replicate, and you can get nigh-infinite probes for "free." A von Neuman probe finds its own resources.
comment 2y ago · link · parent
> ...scale of industry
They don't have to do that. The probe just has to make more "child probes" before it dies. You don't need a huge industry if they are self-replicating. You need only one working probe to start, the rest handles itself.
comment 2y ago · link · parent
For the opposite position (they shouldn't be here) to make sense, there has to be either no other civilizations, or our probe-sending habits are so rare that no other civilizations do it, or we are the first.
Any of those other stances seem vastly more improbable, as they assume that our sample-of-one society just happens to be ludicrously different than all others.
comment 2y ago · link · parent
Ruby with browser:
https://browserup.com/docs/en/load/ruby-load-test.html
Command-line installation:
comment 2y ago · link · parent
* When I add-to-cart, it should update the cart total
* When I add-to-cart, it should not decrease the available stock
* When I purchase, it should decrease the available stock
While these might be tests, they are also a form of live-code documentation about what the author intends. If you find later code that violates these expectations, you know that the old behaviors were intentional and you are updating expected behaviors that were not a side effect.