Readit News logoReadit News
3cats-in-a-coat commented on Claude Code weekly rate limits    · Posted by u/thebestmoshe
3cats-in-a-coat · a month ago
If you wanted a more equitable experience for all you wouldn't just limit the high-end users, but return the money to low-end users.

Charging a low flat fee per use and still warning when certain limits hit is possible. But it's market segmentation not to do it. Just charge a flat fee, then lop off the high-end, and you maximize profit.

3cats-in-a-coat commented on Never write your own date parsing library   zachleat.com/web/adventur... · Posted by u/ulrischa
sms95 · a month ago
That trick has been used in movies before that too. "Judgment at Nuremberg" does something similar. A character is speaking German, slow zoom, then a switch to English.
3cats-in-a-coat · a month ago
We're zooming into their miiiiiind!
3cats-in-a-coat commented on Never write your own date parsing library   zachleat.com/web/adventur... · Posted by u/ulrischa
stevage · a month ago
I found that incredibly clunky when I saw it. Also, it's a little bit extra jarring that Sean Connery goes from speaking Russian to speaking English with a Scottish accent.
3cats-in-a-coat · a month ago
That's just how the Babel Fish works. It translates perfectly, but it tacks on a random accent.
3cats-in-a-coat commented on Never write your own date parsing library   zachleat.com/web/adventur... · Posted by u/ulrischa
davidw · a month ago
It's like that joke someone posted on Twitter: "I was in favor of space exploration until I realized what it would mean for date/time libraries"
3cats-in-a-coat · a month ago
Every time someone mentioned "days" or "months" or "years" in Andor I had to mentally zap my brain not to think about how it doesn't make a sense across a galaxy.
3cats-in-a-coat commented on The United States withdraws from UNESCO   state.gov/releases/office... · Posted by u/layer8
micromacrofoot · a month ago
I'm just talking about people who are angry and mean to the point that it's harmful to themselves
3cats-in-a-coat · a month ago
I see the general phenomenon of those people as an outlet for a set of social defects we have. Keep in mind that "immigrants bad" and so on cultural wars repertoire is always the go-to of populists when they want to point to an easy enemy to rile up the population.

It works because it's like short-circuiting. You have the easy to identify superficial traits, and so the current goes straight through, and shorts the system. Except it's social electricity in this case. My point is while we can blame the individual assholes in this, their generation itself is an inevitability in the right toxic environment. These populist explanations seek to address real concerns of people like bad work conditions, inflation and so on, but it invents an easy to digest (and entirely wrong) premise about why their lives are bad.

I wish I could say hating the assholes works, but that's just another short-circuiting of social electricity. Polarization, hate, enemies. It all just serves to divide and conquer us. Unity is strength, division is weaknesss.

3cats-in-a-coat commented on When Is WebAssembly Going to Get DOM Support?   queue.acm.org/detail.cfm?... · Posted by u/jazzypants
tpm · a month ago
Can you point me to a howto/tutorial?
3cats-in-a-coat · a month ago
This is wasm-dom for Rust: https://crates.io/crates/wasm-dom There's also web-sys. Those are Rust centric, I'm sure there are others, but basically you only need the whim once, and then you write in your language of choice and compile to WASM, you never have to think about JS. Although... I may question the purist attitude. But you can do it.

Think of it like HTMX, the way people say it "avoids working with JS" (HTMX itself is written in JS). Same principle.

3cats-in-a-coat commented on When Is WebAssembly Going to Get DOM Support?   queue.acm.org/detail.cfm?... · Posted by u/jazzypants
tpm · a month ago
With access to DOM it could run with no (or just very little) js, no ts-to-js transpiler, no web-framework-of-the-month wobbly frontends perpetually reinventing the wheel. One could use a sane language for the frontend. That would be quite the revolution.
3cats-in-a-coat · a month ago
You already can do that. You need a tiny shim and you can forget it's JS and use all WASM.
3cats-in-a-coat commented on When Is WebAssembly Going to Get DOM Support?   queue.acm.org/detail.cfm?... · Posted by u/jazzypants
apatheticonion · a month ago
High performance web-based applications is pretty high on my list.

Low memory usage and low CPU demand may not be a requirement for all websites because most are simple, but there are plenty of cases where JavaScript/TypeScript is objectively the wrong language to be using.

Banking apps, social network sites, chat apps, spreadsheets, word processors, image processors, jira, youtube, etc

Something as simple as multithreading is enough to take an experience from "treading water" to "runs flawlessly on an 8 year old mobile device". Accurate data types are also very valuable for finance applications.

Another use case is sharing types between the front and back end.

3cats-in-a-coat · a month ago
But... we already have all that.

Multithreading could've been a bit more convenient, but if you want it, you can get it. Don't tell me those revolutionaries that want to revolutionize the web give up so easily.

3cats-in-a-coat commented on When Is WebAssembly Going to Get DOM Support?   queue.acm.org/detail.cfm?... · Posted by u/jazzypants
secondcoming · a month ago
Why did Java fail though, and why would wasm succeed when the underlying philosophy is the same?
3cats-in-a-coat · a month ago
Java didn't fail, it was replaced by the web to a large part, but remains strong not only as the original JVM, but the Android clone and .NET. As for why the clones... IP issues. Otherwise Java would dominate, like the web does.
3cats-in-a-coat commented on When Is WebAssembly Going to Get DOM Support?   queue.acm.org/detail.cfm?... · Posted by u/jazzypants
apatheticonion · a month ago
The web is a platform that has so much unrealized potential that is absolutely wasted.

Wasm is the perfect example of this - it has the potential to revolutionize web (and desktop GUI) development but it hasn't progressed beyond niche single threaded use cases in basically 10 years.

3cats-in-a-coat · a month ago
Give me one thing that your theoretical WASM can "revolutionize". Aside from more efficient covert crypto mining on shady sites.

u/3cats-in-a-coat

KarmaCake day2359June 17, 2023View Original