Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shiomiru
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
151.
▲
by
shiomiru
2y ago
Isn't what you want basically *, *::before, *::after { all: unset } ?
152.
▲
by
shiomiru
2y ago
You must consider the use cases, though. With Gopher, if an attacker knows who connected to which server, they can normally deduce the transmitted content too, since (IME) gopherholes tend to be structured as static blogs. Gopher is not the
153.
▲
by
shiomiru
2y ago
Well, it's just a bot, so no need for it to instantly react to any and every update. I also have my doubts on whether it is possible to implement efficiently (or at all). I suspect that just yanking in the article and all the sources i
154.
▲
by
shiomiru
2y ago
I think the idea is that you feed the LLM the article & the source material (from citations) and it checks if they match up.
155.
▲
by
shiomiru
2y ago
> Are there any binary packages to test it on Linux/WSL? Some kind strangers have created unstable packages on the AUR[0] and NixOS[1]. The former is quite recent, the latter is somewhat older. > Have you considered support for
156.
▲
by
shiomiru
2y ago
If you like Carbonyl, but want something simpler, you may also find my TUI browser Chawan[0] interesting. It supports CSS and JS (kind of...), but unlike Carbonyl, it has its own browser engine written from scratch. It also bears similariti
157.
▲
by
shiomiru
2y ago
It is indeed often used as an amplified star. I often see "fork and star this repo if you find it useful" used similarly to "like and subscribe" on YouTube.
158.
▲
by
shiomiru
2y ago
If the program you're running prints red text, then you get red bgcolor with red fgcolor. Good luck reading that. (Also, users with the wrong color scheme get that experience by default. Though that is a niche use case enough that I&#x
159.
▲
by
shiomiru
2y ago
It seems the decision was made in the name of security: https://hsivonen.fi/no-encoding-menu/ > Supporting the specific manually-selectable encodings caused significant complexity in the HTML parser when trying to s
160.
▲
by
shiomiru
2y ago
Because JavaScript is the last thing you need to serve a blog post consisting of plain text and a couple of images. Forcing more powerful technology than necessary on readers is the polar opposite of what a luddite would do. It's almo
161.
▲
by
shiomiru
2y ago
> Consider how some browsers will remember what you input into forms when you hit the back button: I think representing this as a cached version of the modified DOM makes a lot more sense than whatever magic browsers currently use to rem
162.
▲
by
shiomiru
2y ago
Good article, but misses one very interesting detail. E.g. in the example with 司る (tsukasadoru "be in charge"): the article says they "gave" the phrase a kanji. I would however assume that it happened the other way : th
163.
▲
by
shiomiru
3y ago
> Eww should support minimal CSS rules to parse at least simple pages as HN. HN does not need CSS to display more or less correctly, just tables. I hear there is a w3m emacs package, maybe try that?
164.
▲
by
shiomiru
3y ago
From the website: > JS Naked Day started because we were jealous of CSS Naked Day.[0] [0]: https://css-naked-day.github.io/
165.
▲
by
shiomiru
3y ago
> `margin: 0 auto` for block elements. margin: 0 auto adds an equal amount of margin to its left and right. This often does have the effect of getting the element centered, but may or may not be what you really need; e.g. it doesn't
166.
▲
by
shiomiru
3y ago
> Should you use icon fonts for icons in 2024? > Are you limited by 1970-s tech e.g. terminal? This accidentally highlights yet another problem with icon fonts. Terminal-based browsers with image capabilities, e.g. w3m, can display im
167.
▲
by
shiomiru
3y ago
> again, there are legitimate use cases for this I'm curious: what legitimate use cases exist for embedding a turing-complete scripting language into an image format?
168.
▲
by
shiomiru
3y ago
> Writing proper error handling in C is a very tedious and error prone task. Managing C dependencies is even more tedious and error prone. And even in C, opening a UNIX domain socket to write a single packet is not that hard.
169.
▲
by
shiomiru
3y ago
It's why I bind caps lock to control and tab to escape. I also got a programmable keyboard so I can make my escape send alt when combined with another key, and also bind C-i to tab. Then xterm turns alt-<key> into ESC <key>
170.
▲
by
shiomiru
3y ago
Indeed. Nim also has significant whitespace, and your example translated: proc some_function(a, b: proc(a: int): int) = echo a(1) echo b(2) some_function(proc(a: int): int = return a , proc(b: int): int =
171.
▲
by
shiomiru
3y ago
DOS also has a "pipe", which works exactly like that. (Obviously, since DOS can't run multiple programs in parallel.)
172.
▲
by
shiomiru
3y ago
The problem is that this kind of philosophy is fundamentally incompatible with HTML5. There was an attempt for a "strict-mode" HTML, it was XML, but it failed (on the web) for various reasons (including IE). HTML5 specifies the ex
173.
▲
by
shiomiru
3y ago
However, window.location calls it "hash". (Also, the query string is "search". I wonder why Netscape named them this way...)
174.
▲
by
shiomiru
3y ago
Besides, the code does not use BigInts at all, so the fact that JavaScript has them does not help much. I agree with the sibling commenter that this seems to be automatically generated. The disclaimer is weird, you don't just use a ran
175.
▲
by
shiomiru
3y ago
See also the C port here: https://github.com/eafer/rdrview/ It works well with text-mode browsers like w3m.
176.
▲
by
shiomiru
3y ago
> My understanding is that sr.ht doesn't allow a user without an account to collaborate with a user that has one. So effectively _all_ developers must pay for the privilege to "work" on a project. That is a misunderstandi
177.
▲
by
shiomiru
3y ago
> What's the alternative? Many websites listed on the page don't even need JS.[0] Consider how just a few years ago there used to be an entire suite of alternative frontends to major "web apps"/"social med
178.
▲
by
shiomiru
3y ago
Sorry, but if this is the only thing you were pointing out, then I don't see how your comment is related to mine? <center> was marked obsolete because it's not semantic HTML, and centering stuff is the task of CSS, not HTML.
179.
▲
by
shiomiru
3y ago
I mean exactly that it's not obsolete, because there is no standard CSS property that could have obsoleted it. (Even though every browser does have one; it's just vendor-prefixed.) Ok, maybe this will make my point clearer:
180.
▲
by
shiomiru
3y ago
It's all the more ridiculous because browsers can in fact center divs (block boxes), in an incredibly straightforward way, using the <center> tag. And all browsers implement this using a vendor-specific CSS rule (e.g. text-alig
More ›