Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brumar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
31.
▲
by
brumar
1y ago
1 day later: it's a total mess.
32.
▲
by
brumar
1y ago
Very good. I was wondering why nobody did something like that before. At least this was my conclusion from my google searches few months ago. From a design perspective, I don't like storing state in the DOM itself, I would have find mu
33.
▲
by
brumar
1y ago
Thanks. I'll add the answer to my own question too: pdfLib is the dependency at work to make it work in the browser runtime.
34.
▲
by
brumar
1y ago
I like the idea but that seems complex to put in place and would risk degrading the perfs. You can test this prompt yourself elsewhere, you will notice that you get sensibly the same experience.
35.
▲
by
brumar
1y ago
I got this one which seems to confirm yours : https://gist.github.com/brumar/5888324c296a8730c55e8ee24cca9...
36.
▲
by
brumar
1y ago
20 years ago I was addicted to a game like that named Globalcombat.com. Good times. Few years ago it was still alive. Now it seems gone.
37.
▲
by
brumar
1y ago
Correction: extract monstreous profits. When I read about the revenues associated with Reddit AI deals, I can't even imagine what could possibly be deals that cover half of the internet. Cynically speaking, it's a genious level mo
38.
▲
by
brumar
1y ago
I am doing pdf-as-software so that I can get a free ticket for hell or a nearby mental asylum.
39.
▲
by
brumar
1y ago
So LLMs have their alpha go zero moment where training on human data is has-been? Sounds exciting? Terrifying?
40.
▲
by
brumar
1y ago
Very important comment. My workflow changed dramatically with the increased capabilities of these tools.
41.
▲
by
brumar
1y ago
Sampling is to my eyes a very promising aspect of the protocol. Maybe its implementation is lagging behind because it's too far from the previous mental model of tool use. I am also fine if the burden is on the client side if it enable
42.
▲
by
brumar
1y ago
> that plaintiff shall not file any other documents with the cartoon dragon or other inappropriate content Formal answers to goofiness (voluntary or not) will always amuse me.
43.
▲
by
brumar
1y ago
Hello fellow context owner. I like my modules with their context.sh at their root level. If crafted with care, magic happens. Reciprocally, when AI derails, it's most often due to bad context management and fixed by improving it.
44.
▲
by
brumar
1y ago
True. I learned this the hard way.
45.
▲
by
brumar
1y ago
Impressive! Is it english only at the moment?
46.
▲
Show HN: I asked Gemini2.5 pro to create a "bro version" of a stoic book
(github.com)
8 points
by
brumar
1y ago
|
0 comments
47.
▲
by
brumar
2y ago
Interesting! I think I never tried to update xonsh in 7 years or so.
48.
▲
by
brumar
2y ago
For me it shines when you need to write shell scripts but you prefer do some parts in python. As another commenter wrote os.system or calling the subprocess module works too, but I find it less satisfying.
49.
▲
by
brumar
2y ago
I don't remember exactly why and how some shell scripts refused to run, but on top of my head I think 'alias' was not working and 'sudo !!' too.
50.
▲
by
brumar
2y ago
I would not advise to replace your interactive shell with it as it's a pain when you stumble upon uncompatible commands, but writing shell scripts with xonsh is a wonderful experience.
51.
▲
by
brumar
2y ago
> Do not isolate code when you test it. > Only isolate your code from truly external services That makes tests more trustworthy but also sometimes harder to maintain I think. I have seen cases where small changes on the code base crea
52.
▲
by
brumar
2y ago
I think I got your point but might have expressed myself badly. The pdf can run js and messes with the display right at opening time, without any warning or ask for permission.
53.
▲
by
brumar
2y ago
You can manipulate form fields at anytime, and setInterval is provided so you can have things that run in an infinite loop. But yeah, as a first approximation, the only things js in pdf can do is mutate form fields and react to events relat
54.
▲
by
brumar
2y ago
I made a game of life in pdf using this technique, but pdf.js is less open to chromium to respect the standard on letting the pdf designer defining the ON and OFF state. One other way would be to use normal text fields and leveraging custom
55.
▲
by
brumar
2y ago
This is even in the ISO standard now
56.
▲
by
brumar
2y ago
I was considering doing exactly that ahah. We should connect to share our hacks and pains. One could project would be to run wasm4 games because, yes, pdfium and pdf.js can run webassembly.
57.
▲
by
brumar
2y ago
Thanks. I tried the AI assistant but ended up mindlessly mining crypto...
58.
▲
by
brumar
2y ago
I regret there is not a merciful option like "wait for death in a corner". Great job! I had fun and got bored to death at the same time.
59.
▲
by
brumar
2y ago
Med student working on sophisticated RAG system... What kind of beast are you? Thanks for sharing anyway, I'll keep tab on it.
60.
▲
by
brumar
2y ago
I second this recommendation for early startups. We learn from tons of lean books that customer discovery is crucial to not build the wrong thing, but this book gives very practical ways to do that well. Most recent useful read for me. Stil
More ›