Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rebane2001
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
rebane2001
8mo ago
The 40MB of data is Wikipedia data, the site itself is 21kB.
32.
▲
by
rebane2001
8mo ago
This app IS made in under 1mb. The entire app, including all the assets minus all the actual Wikipedia data, is 21kB (no minification or compression). And all of it is in a single html file with human-readable code.
33.
▲
by
rebane2001
8mo ago
I wrote this project by hand in Sublime Text, which is more of a text editor than an IDE. I don't use ai, even for autocomplete. All of the code is unminified/unobfuscated in the index.html file, you can right click the page and v
34.
▲
by
rebane2001
8mo ago
that's really cool!!
35.
▲
by
rebane2001
8mo ago
I might add a proper explanation at some point, but for now you can view-source the page and read the code, there really isn't that much of it.
36.
▲
by
rebane2001
8mo ago
That's a very silly claim considering I bought the domain the same day I released the project. I'm sure whoever would've been interested in buying the domain could've already swept it up for 10 bucks before me.
37.
▲
by
rebane2001
8mo ago
Mastodon/HN do not have a personalized weighted algorithm. On HN you see what everyone else sees, and on Mastodon the feed is chronological. DuckDuckGo offers some privacy, but still sends your search queries to Bing. Also, all three o
38.
▲
by
rebane2001
8mo ago
> no but...why are you passing 40mb from your server to my device in a lump like that? Because you need all of the cross-article link data, which is the majority of the 40mb, to run the algorithm. The algorithm does not run on the serv
39.
▲
by
rebane2001
8mo ago
> Why are you serving so much data personally instead of just reformatting theirs? Because then you only need to download 40MB of data and do minimal processing. If you were to take the dumps off of Wikimedia, you would need to download
40.
▲
by
rebane2001
8mo ago
The loading issue is just a hug of death, the site's currently getting multiple visitors per second, and that requires more than a gigabit of bandwidth to handle. I sort of need to pull all the data at the initialization because I need
41.
▲
Show HN: Wikipedia as a doomscrollable social media feed
(xikipedia.org)
441 points
by
rebane2001
8mo ago
|
142 comments
42.
▲
by
rebane2001
9mo ago
> I’ve made the radio buttons half-visible in the demo for clarity, but with the opacity: 0 they would not actually be visible.
43.
▲
by
rebane2001
9mo ago
I would suggest not using this as it's not compatible with NoScript
44.
▲
by
rebane2001
10mo ago
For tabs, see: https://lyra.horse/blog/2025/08/you-dont-need-js/#lyres-and-... As far as I can tell, my implementation there fits the guidelines.
45.
▲
by
rebane2001
10mo ago
> Because it's pretty much the only thing you can do when sanitizing server-side I'd suggest not sanitizing user-provided HTML on the server. It's totally fine to do if you're fully sanitizing it, but gets a little sk
46.
▲
by
rebane2001
10mo ago
im not sure how you counted that as 145, but here's 137 for the css <style>p{--n:counter(n);counter-increment:n;&:before{content:var(--n)};&:nth-child(5n){--n:"";&:after{content:"Buzz"}}&:nth-c
47.
▲
by
rebane2001
10mo ago
> I'm so lost, or at least, struggling. Why is modern HTML/CSS like this? I think it's pretty neat. It allows me to build cool interactive stuff such as the post in question without having to use JavaScript. > And also
48.
▲
by
rebane2001
10mo ago
> What specifically does Google Docs do that requires it? Google wants documents to be embeddable on external sites. > How do you frame the victim site without iframes? You don't, you use it in a different scenario. For example i
49.
▲
by
rebane2001
10mo ago
I don't think invalid spam reports mean something is overrated. Spam reports are spam reports. That'd be like saying buffer overflows are overrated because there are a bunch of AI-generated invalid spam reports with them. A valid
50.
▲
by
rebane2001
10mo ago
it's not all solved because some applications require framing (eg google docs), and you can run this attack against a non-frame target, such a website with html injection, but strict CSP
51.
▲
by
rebane2001
10mo ago
not as much as you would think, the if statements don't really affect the css crimes scene because pretty much everything was already possible before
52.
▲
by
rebane2001
10mo ago
I don't think clickjacking is overrated, it's usually the opposite with it being not even accepted by many bug bounty programs. I've been able to make realistic attacks against multiple targets. Many services, such as Google
53.
▲
by
rebane2001
10mo ago
As a user: Browsers let you manually disable JS, but you can also use an extension such as NoScript (I do). As a web developer: You can use Content Security Policy to limit or disable JS, as well as other resources such as CSS and images.
54.
▲
by
rebane2001
11mo ago
on android and browser i get that behavior, on ios it just says "something went wrong" after the email confirm part
55.
▲
by
rebane2001
1y ago
thank you for the response! i am aware that the link color specifically is not ideal and i have been playing around with designs that feel similar while having better contrast - but your comment seemed to call the entire site un-accessible,
56.
▲
by
rebane2001
1y ago
I do care about accessibility, so seeing comments implying I'm doing something wrong without telling me what's wrong just kind of sucks.
57.
▲
by
rebane2001
1y ago
Which part are you referring to? What browser/version are you using?
58.
▲
by
rebane2001
1y ago
Could you point out ARIA APG patterns the blogpost and its examples are not hitting due to no JS?
59.
▲
by
rebane2001
1y ago
What version? I tested my blogpost on Safari and added stuff specifically to accommodate it - the only known broken thing is the color picker, and I mention it in the post.
60.
▲
by
rebane2001
1y ago
Which ones? What browser/version are you running?
More ›