Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rhdunn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
211.
▲
by
rhdunn
11mo ago
It depends on what you are doing. If you are working on an application that has several services (database, local stack, etc.) as docker containers, those can take up more memory. Especially if you have large databases or many JVM services,
212.
▲
by
rhdunn
11mo ago
The entire publishing and standards industries are built around XML (JATS and other XML formats). They use XSLT to generate HTML, PDF, EPUB, and other format files. I don't see the XML-based SVG image format going anywhere. The ODF, EP
213.
▲
by
rhdunn
11mo ago
I used Gitea for a while. I eventually switched to gitolite and CGit primarily because Gitea (and Forgejo) force you into a flat organization/project structure. This makes organizing personal projects harder because: 1. you need to cre
214.
▲
by
rhdunn
11mo ago
Yeah. I think I got to around 10-15 before I got stuck. It's been several years since I attempted it though.
215.
▲
by
rhdunn
11mo ago
I've personally found the opposite. In order to advance you need to know the specific techniques or mathematics and there are no hints or information on how to approach the problem. So it boils down to how much of that mathematics you
216.
▲
by
rhdunn
11mo ago
Here's Sabastian Lague's (Coding Adventure) video on font rendering -- https://www.youtube.com/watch?v=SO83KQuuZvg .
217.
▲
by
rhdunn
11mo ago
There are many accessibility issues with using a screenshot of text instead of text directly: - displaying a white background image of text when I'm using dark mode; - using a small font to a user with a visual imparement or on a high
218.
▲
by
rhdunn
11mo ago
libxslt != XSLT. It's like removing JPEG support because libjpg is insecure!
219.
▲
by
rhdunn
11mo ago
Widelands is based on/inspired by Settlers II.
220.
▲
by
rhdunn
11mo ago
Yes. It's used heavily in the publishing and standards industries that store the documents in JATS and other XML-based formats. Because browsers only support XSLT 1.0 the transform to HTML is typically done server side to take advantag
221.
▲
by
rhdunn
11mo ago
They are still keeping the XPath APIs so XPath locators will still work.
222.
▲
by
rhdunn
11mo ago
A 4090 has 24GB of VRAM allowing you to run a 22B model entirely in memory at FP8 and 24B models at Q6_K (~19GB). A 5090 has 32GB of VRAM allowing you to run a 32B model in memory at Q6_K. You can run larger models by splitting the GPU laye
223.
▲
by
rhdunn
1y ago
XSLT 2.0 is not a failed spec. From [1] RaptorXML (XSLT 3.0) and xjslt (XSLT 2.0) are listed as implementing that spec. MarkLogic also provides XSLT 2.0 support. Saxon has a free HE version [2] that has the source code available and impleme
224.
▲
by
rhdunn
1y ago
CSS based views of XML are somewhat useful, but are limited in what they can do. Especially things like setting the HTML title, generating a table of contents, or transforming data like dates and times.
225.
▲
by
rhdunn
1y ago
Part of the issue is that XSLT in the browser is stuck at version 1.0 so lacks a lot of the improvements added in 2.0 and later that make working with it a lot nicer.
226.
▲
by
rhdunn
1y ago
It's used a lot in the publishing industry, which stores the content in JATS and other similar XML markup. It's also used by the US government for bills, etc. Typically, these use XSLT on the backend to transform the content to HT
227.
▲
by
rhdunn
1y ago
You can say the same thing about HTML forms (see CORS et. al.), innerHTML, rendering user-submitted data, SQL, JSON, etc. That does not mean that you remove HTML forms or SQL databases. If you removed support for anything that has/coul
228.
▲
by
rhdunn
1y ago
The body can also synthesize vitamin A from beta-carotene which is effectively two vitamin A molecules joined together (one rotated 180deg relative to the other).
229.
▲
by
rhdunn
1y ago
Speech to text and text to speech typically operate on the audio spectrogram, specifically the Mel-scale spectrum. This is a filtered spectrogram that decreases the noise in the data. Thus, they are not working on the images of these spectr
230.
▲
by
rhdunn
1y ago
To add to this, HTML 5/LS have a section on rendering HTML elements [1]. That section provides default CSS rules that a conforming web browser must use. Therefore, modern browsers effectively have built-in normalize.css rules, providin
231.
▲
by
rhdunn
1y ago
From the post he's referring to text input as well: > Maybe it makes more sense that all inputs to LLMs should only ever be images. Even if you happen to have pure text input, maybe you'd prefer to render it and then feed that
232.
▲
by
rhdunn
1y ago
Slack is having issues with huddles, canvas, and messaging per https://slack-status.com/ . Earlier it was just huddles and canvas.
233.
▲
by
rhdunn
1y ago
You should be able to -- https://www.dosbox.com/wiki/GAMES:King%27s_Quest:_Quest_for_... .
234.
▲
by
rhdunn
1y ago
You need an editor (like IntelliJ) that can do highlighting in two phases: 1. syntax highlighting -- This either works at the lexical/token level (like IntelliJ) or via regular expressions and other patterns (like VSCode and Vim). 2. s
235.
▲
by
rhdunn
1y ago
For one-to-one I was thinking of the Unicode Character Database single-character upper, lower, and title case entries in the UnicodeData.txt file [1] -- i.e. the simple case mappings [2]. The one-to-many mappings are specified in SpecialCas
236.
▲
by
rhdunn
1y ago
There are 3 types of case folding: 1. Simple one-to-one mappings -- E.g. `T` to `t`. These are typically the ones handled by `lower()` or similar methods as they work on single characters so can modify a string in place (the length of the s
237.
▲
by
rhdunn
1y ago
The issue is around maintenance/development burden. For example, when manifest V2 was dropped in favour of manifest V3 it is possible for a downstream project (Edge, etc.) to maintain V2 support. However, that gets harder the further a
238.
▲
by
rhdunn
1y ago
The value proposition is not having vendor lockin and having WebKit/Blink be the defacto behaviour. For example the Ladybird team have found and raised spec issues in the different specs. Another example is around ad blockers -- if Bli
239.
▲
by
rhdunn
1y ago
I was trying to think of examples. A better example for Java would be something like lambda expressions on functional interfaces. There, the compiler is creating an anonymous object that implements the interface. A reversable decompiler wil
240.
▲
by
rhdunn
1y ago
https://www.jetbrains.com/help/idea/annotating-source-code.h... > When you compile your project with IntelliJ IDEA build tool, the IDE adds assertions to all code elements annotated with @NotNull. These asserti
More ›