Readit News logoReadit News
elcomet commented on Progressive JSON   overreacted.io/progressiv... · Posted by u/kacesensitive
hyfgfh · 3 months ago
The thing I have seem in performance is people trying to shave ms loading a page, while they fetch several mbs and do complex operations in the FE, when in the reality writing a BFF, improving the architecture and leaner APIs would be a more productive solution.

We tried to do that with GraphQL, http2,... And arguably failed. Until we can properly evolve web standards we won't be able to fix the main issue. Novel frameworks won't do it either

elcomet · 3 months ago
Too many acronyms, what's FE, BFF?
elcomet commented on Firefox tab groups are here   blog.mozilla.org/en/firef... · Posted by u/TangerineDream
alanbernstein · 4 months ago
Mainly because the interfaces for tabs, bookmarks, and history are all quite disparate instead of being unified like they should be. None of them are good, but the interface for tabs is more manageable.
elcomet · 4 months ago
Arc browser unifies the tabs and bookmarks in a very clever way.
elcomet commented on I've been using Claude Code for a couple of days   twitter.com/Steve_Yegge/s... · Posted by u/tosh
hleszek · 6 months ago
I must have been a little too ambitious with my first test with Claude Code.

I asked it to refactor a medium-sized Python project to remove duplicated code by using a dependency injection mechanism. That refactor is not really straightforward as it involves multiple files and it should be possible to use different files with different dependencies.

Anyway, I explain the problem in a few lines and ask for a plan of what to do.

At first I was extremely impressed, it automatically used commands to read the files and gave me a plan of what to do. It seemed it perfectly understood the issue and even proposed some other changes which seemed like a great idea.

So I just asked him to proceed and make the changes and it started to create folders and new files, edit files, and even run some tests.

I was dumbfounded, it seemed incredible. I did not expect it to work with the first try as I had already some experience with AI making mistakes but it seemed like magic.

Then once it was done, the tests (which covered 100% of the code) were not working anymore.

No problem, I isolate a few tests failing and ask Claude Code to fix it and it does.

Now for a few times I found some failing tests and ask him to fix it, slowly trying to fix the mess until there is a test which had a small problem: it succeeded (with pytest) but froze at the end of the test.

I ask again Claude Code to fix it and it tries to add code to solve the issue, but nothing works now. Each time it adds some bullshit code and each time it fails, adding more and more code to try to fix and understand the issue.

Finally after $7,5 spent and 2000+ lines of code changed it's not working, and I don't know why as I did not make the changes.

As you know it's easier to write code than to read code so at end I decided to scrape everything and do all the changes myself little by little, checking that the tests keep succeeding as I go along. I did follow some of the recommended changes it proposed tough.

Next time I'll start with something easier.

elcomet · 6 months ago
I'm wondering if you can prompt it to work like this - make minimal changes, and run the tests at each step to make sure the code is still working
elcomet commented on Microsoft begins turning off uBlock Origin and other extensions in Edge   neowin.net/news/microsoft... · Posted by u/thombles
SllX · 6 months ago
Arc is a Chromium web browser that also includes uBlock Origin in the default install.

Orion is a WebKit web browser from the folks at Kagi that supports both Firefox and Chromium extensions (including on iPhones and iPads) and has zero telemetry, and I have the Firefox version of uBlock Origin installed.

Firefox is not the only option for people that want alternatives to Chrome that support uBlock Origin.

elcomet · 6 months ago
If it's chromium based, they will need to remove manifest v2 at some point to stay close to the upstream version.
elcomet commented on Mistral Small 3   mistral.ai/news/mistral-s... · Posted by u/jasondavies
acoard · 7 months ago
> Because memory bandwidth is the #1 bottleneck for inference, even more than capacity.

But there are a ton of models I can't run at all locally due to VRAM limitations. I'd take being able to run those models slower. I know there are some ways to get these running on CPU orders of magnitude slower, but ideally there's some sort of middle ground.

elcomet · 7 months ago
You can offload tensors to the cpu memory. It will make your model run much slower but it will work
elcomet commented on Prime numbers so memorable that people hunt for them   scientificamerican.com/ar... · Posted by u/georgecmu
nurumaik · 7 months ago
Since divisibility by 2 and 5 is such a problem, why not look for memorable numbers in prime base, like base 7 or base 11?
elcomet · 7 months ago
I can't tell if this is a joke if if you're serious
elcomet commented on Why making friends as an adult is harder   theestablished.com/self/h... · Posted by u/rzk
PittleyDunkin · 8 months ago
> Find a group.

This is obviously great advice, but most groups don't organically sprout around interests. Sports, especially, are something that I have a very difficult time imagining enjoying. And with the slow enshittification of meetup, where do you find these groups? Your local library?

elcomet · 8 months ago
Book clubs, art clubs, movie club... Lot of options
elcomet commented on Ask HN: Who's building on Python NoGIL?    · Posted by u/grandimam
bhouston · 8 months ago
> In new code I try to use threads, but certain things like yield which rely on async are simply too common and useful to stop using.

Huh? I python you have to choose either threads or asynchronous/await? Why not combine both of them? I am so confused. C# allows for both to be combined quite naturally. And JavaScript as well allows for workers with async/await.

elcomet · 8 months ago
What do you mean? Async/await uses threads
elcomet commented on Offline Reinforcement Learning for LLM Multi-Step Reasoning   arxiv.org/abs/2412.16145... · Posted by u/belter
fnqi8ckfek · 8 months ago
Gee I can't even understand the abstract.

Can someone explain in plain English how RL is even doable here, let alone desirable?

elcomet · 8 months ago
Multi-step reasoning means that the LLM is giving a question (maths here), and generating an answer that consists of many intermediate words, before returning the solution. Here, we don't want to tell the LLM how to solve the problem word-by-word. We want to tell it at the end, "correct" or "incorrect", and have the model learn on its own to generate intermediate steps, to reach the solution.

That's typically a setup where RL is desirable (even necessary): we have sparse rewards (only at the end) and give no details to the model on how to reach the solution. It's similar to training models to play chess against a specific opponent.

elcomet commented on OpenAI O3 breakthrough high score on ARC-AGI-PUB   arcprize.org/blog/oai-o3-... · Posted by u/maurycy
modeless · 8 months ago
Actually I believe that he did mean 10 random people tested individually, not a committee of 10 people. The key being that the question is considered to be answered correctly if any one of the 10 people got it right. This is similar to how LLMs are evaluated with pass@5 or pass@10 criteria (because the LLM has no memory so running it 10 times is more like asking 10 random people than asking the same person 10 times in a row).

I would expect 10 random people to do better than a committee of 10 people because 10 people have 10 chances to get it right while a committee only has one. Even if the committee gets 10 guesses (which must be made simultaneously, not iteratively) it might not do better because people might go along with a wrong consensus rather than push for the answer they would have chosen independently.

elcomet · 8 months ago
He means 10 humans voting for the answer

u/elcomet

KarmaCake day2658May 26, 2018
About
elcomet at mailbox dot org
View Original