Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
EmilStenstrom
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
EmilStenstrom
19d ago
Yes, I can confirm. The main advantage is that you can build a site that feels like a React site, but with 100x less code, and no frontend to maintain.
2.
▲
by
EmilStenstrom
2mo ago
The reason novelty matters for mathematics is that they strictly deduplicate all claims. If someone claim they proved something that we already knew was solved, than that wouldn't be considered novelty. Novelty and deduplication is the
3.
▲
by
EmilStenstrom
3mo ago
There's something unnerving about this blog post. Paraphrasing: "The world's top security researches and AI labs are pouring all their VC money into finding as many security issues in curl as possible". At the same time,
4.
▲
JustHTML 3.0.0: A new HTML5 parser architecture
(friendlybit.com)
1 points
by
EmilStenstrom
3mo ago
|
0 comments
5.
▲
by
EmilStenstrom
4mo ago
Here's a free, fact-packed, breakdown on both smoking and "snus" in Sweden: https://www.folkhalsomyndigheten.se/the-public-health-agency... Numbers are from 2024, but smoking was at 5.4%, and snus at 15.7%.
6.
▲
by
EmilStenstrom
6mo ago
I somehow find the concept of a general time series model strange. How can the same model predict egg prices in Italy, and global inflation in a reliable way? And how would you even use this model, given that there are no explanations that
7.
▲
by
EmilStenstrom
6mo ago
Here is the link to the blogpost, that actually describe what this is: https://github.com/google-research/timesfm?tab=readme-ov-fil...
8.
▲
by
EmilStenstrom
6mo ago
"Simply put: It’s a big mess, and no off-the-shelf accounting software does what I need. So after years of pain, I finally sat down last week and started to build my own. It took me about five days. I am now using the best piece of acc
9.
▲
Software Bonkers
(craigmod.com)
2 points
by
EmilStenstrom
6mo ago
|
1 comments
10.
▲
by
EmilStenstrom
7mo ago
Doesn't matter which one. All of them can do things like this now, given a good enough feedback loop. Which your problem has.
11.
▲
JustHTML 1.0.0 Released
(github.com)
1 points
by
EmilStenstrom
8mo ago
|
1 comments
12.
▲
by
EmilStenstrom
8mo ago
Added features since initial release: - Bleach-like sanitization feature built in and enabled by default - Transforms API for simple HTML mutations - Rewamped docs - Playground powered by PyOdide (thanks for the idea simomw!)
13.
▲
by
EmilStenstrom
8mo ago
I see that the blog post is mentioning not finding the web100k dataset, it's here: https://github.com/EmilStenstrom/web100k
14.
▲
by
EmilStenstrom
8mo ago
As the author, it's a stretch to say that JustHTML is a port of html5ever. While you're right that this was part of the initial prompt, the code is very different, which is typically not what counts as "port". Your milea
15.
▲
by
EmilStenstrom
8mo ago
To see the actual errors, just paste your HTML here and see: https://emilstenstrom.github.io/justhtml/playground/ - any parsing errors show up below the input box. Some tags do require ending tags, others do not.
16.
▲
by
EmilStenstrom
9mo ago
Data driven test suites are really good for building trust in a library. Both the html5lib-tests suite and my recent xss-bench are examples of this!
17.
▲
by
EmilStenstrom
9mo ago
The reason for this was to be able to build trust in the new sanitization features of my other project: https://friendlybit.com/python/justhtml-sanitization/
18.
▲
Cross-site Scripting-benchmark of Python sanitizers against real browsers
(github.com)
4 points
by
EmilStenstrom
9mo ago
|
1 comments
19.
▲
by
EmilStenstrom
9mo ago
Thanks for flagging this. Found multiple errors that are now fixed: - The quoted test comes from justhtml-tests, a custom test suite added to make sure all parts of the algorithm are tested. It is not part of html5lib-tests. - html5lib-test
20.
▲
by
EmilStenstrom
9mo ago
I've checked the numbers for html5lib, and they are correct. They are skipping a load of tests for many different reasons, one being that namespacing of svg/math fragments are not implemented. The 88% number listed is correct.
21.
▲
by
EmilStenstrom
9mo ago
Excellent feedback. I'll have a look at the running of html5lib tests again.
22.
▲
by
EmilStenstrom
9mo ago
Hi! The expected errors are not standardized enough for it to make sense to enable --check-errors by default. If you look at the readme, you'll see that the only thing they're checking is that the _numbers of errors_ are correct.
23.
▲
by
EmilStenstrom
9mo ago
I think the reason this was an evening project for Simon is based on both the code and the tests and conjunction. Removing one of them would at least 10x the effort is my guess.
24.
▲
by
EmilStenstrom
9mo ago
The other way around works as well! ”Get me to 100% test coverage using only integration tests” is a fun prompt!
25.
▲
by
EmilStenstrom
9mo ago
My feeling is that my code depends more on the html5lib-tests work than on html5ever. While inspired by, I think the macro-based Rust code is different enough from the source so that its new work. I’m guessing we’ll never know.
26.
▲
by
EmilStenstrom
9mo ago
Another interesting experiment is to start from the html5lib-tests suite directly, instead of JustHTML. Worth another experiment?
27.
▲
by
EmilStenstrom
9mo ago
Talking about "thieves" is very much going back to the idea that software is the same thing as physical things. When talking about software we have a very simple concept to guide us: the license. The license of html5ever is MIT, m
28.
▲
by
EmilStenstrom
9mo ago
Would it be a problem if you maintained the GPL license and released your code as open source?
29.
▲
by
EmilStenstrom
9mo ago
For me (original author of JustHTML), it was enough the put the instructions on how to run tests in the AGENTS.md. It knows enough about coding to run tests by itself.
30.
▲
by
EmilStenstrom
9mo ago
This is a namespacing test. The reason the tag is <svg title> is that the parser is handling the title tag as the svg version of it. SVG has other handling rules, so unless the parser knows that it won't work right. I would be
More ›