Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rhdunn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
451.
▲
by
rhdunn
4y ago
It's probably operating on UTF-8 data on a byte-per-byte level without any additional processing. Just feeding it the raw string data and letting it assign the tokens. It's similar to how it is splitting words at arbitrary points,
452.
▲
by
rhdunn
4y ago
There's an open source game called Widelands ( https://www.widelands.org/ ) that is very similar in aesthetics to Settlers 2.
453.
▲
by
rhdunn
4y ago
The site is more readable if you remove the min-width CSS from the body and content -- it is set for content wider than a HD screen at 1500px. Or at least set it to something like 800px. I tend to have my browser at 50% width split with ano
454.
▲
by
rhdunn
4y ago
That will also remove: 1. medical pages/docs using the medical terms anus, rectum, nipple, and semen (note that other medical terms are not on that list). 2. pages/docs using "sex" to refer to males and females. 3. pages
455.
▲
by
rhdunn
4y ago
Epic Rap Battles of GPTry!
456.
▲
by
rhdunn
4y ago
I don't think programming careers are/will be over. 1. The latest model is nowhere close to taking in the number of lines of code in internal projects, so will be difficult to understand the design of those systems. 2. Companies d
457.
▲
by
rhdunn
4y ago
It would be interesting to see how these LLMs work in a REPL environment. The model could take a (language, version, compiler, sourceText) tuple as input, and have the model generate the same. It could also be fed the compiler output in a (
458.
▲
by
rhdunn
4y ago
That quote isn't saying not to optimize. It's saying not to optimize at the start. When you initially write your code, you won't know where the bottlenecks are. So first choose and write a sensible implementation using approp
459.
▲
by
rhdunn
4y ago
That follows one of the core optimization strategies: "do less work", or more precisely, "don't do work you aren't going to use, and don't repeat work you've already done". Here, the extra work is tha
460.
▲
by
rhdunn
4y ago
I generally don't mock in my TDD-style approach to writing tests. If you have a dependent class, e.g. writing nested serialization logic for JSON objects, you shouldn't mock the inner classes or the JSON serialization classes. Wel
461.
▲
by
rhdunn
4y ago
There is Leela Zero ( https://github.com/leela-zero/leela-zero ) for Go and lc0/Leela Chess ( https://github.com/orgs/LeelaChessZero/repositories ) for Chess, where both provide trained weig
462.
▲
by
rhdunn
4y ago
The interesting thing is that these can be used as a starting point, not the end result. Tools like ChatGPT can generate the basic framework for the song/story/TTRPG adventure hook that you as a creator can then run with, polishin
463.
▲
by
rhdunn
4y ago
Isn't that what SAX (event based) and reader (pull based) XML parsing is for? Those allow you to incrementally/partially parse XML.
464.
▲
by
rhdunn
4y ago
I've also experienced that. It would be better if the presentations at the end had to be based on the things developed during the hackathon. -- It does not have to be anything groundbreaking, and it can be a shoestring "hacked tog
465.
▲
by
rhdunn
4y ago
TBH, if Bing with ChatGPT can a) understand what I'm trying to search for (e.g. when searching about specific errors like "windows taskbar bug showing empty windows in the taskbar for icons in the system tray"), b) find the r
466.
▲
by
rhdunn
4y ago
Keyboard shortcuts and navigation are accessibility. Dark/light mode is accessibility. Reduced animations/not animating tiles, etc. is accessibility. Being able to scale/zoom in on fonts and images is accessibility. Ensuring
467.
▲
by
rhdunn
4y ago
That would depend on a) how OpenAI are marketing it, and b) what disclaimers/etc. they put in the UI.
468.
▲
by
rhdunn
4y ago
The key issue is the "Living Standard" part, not the technical details of the specification. Practically, it means that an implementor needs to record the date at which they implemented a given piece of functionality. It means tha
469.
▲
by
rhdunn
4y ago
All 3 use the `Class<T>` syntax and have the ability to create functions that operate on any type. If they weren't influenced by each other (e.g. C++ allows you to specify a template/generic type for a function) they would h
470.
▲
by
rhdunn
4y ago
With the evolution of any languages you get cross-pollination between them, be it lambda functions, var/val, Markdown comments, value classes, .... For example, Java borrowed generics from languages like C++, and C# borrowed them from
471.
▲
by
rhdunn
4y ago
Yes. Imagine you have a 2-bit integer. `11 + 1` in binary is `100`. The last `1` does not fit so only the remaining `00` gets included. The same applies for any N-bit integer.
472.
▲
by
rhdunn
4y ago
Copyright is a good thing. The issue with copyright is that it has been extended too long, from 20+20 years (the latter of which is a manual extension) to 95 years (for publication) and life+70/80/100 years for the author. -- I un
473.
▲
by
rhdunn
4y ago
MathJax is that, but it has issues with being an additional downloadable script, not fully integrating with accessibility, css, copying, etc. There are also some things like stretchable brackets that are hard to implement outside the browse
474.
▲
by
rhdunn
4y ago
The OGL 1.1 license (according to the leaked draft/text) explicitly says that OGL 1.0a is no longer an authorized license. The 1.1 license is clear that any content using SRD (System Reference Document) content will be in violation unl
475.
▲
by
rhdunn
4y ago
There are a number of games released under the OGL, e.g.: 1. 13th Age 2. Castles & Crusades 3. Fudge 4. Pathfinder Note that some of these (e.g. Pathfinder) make use of the D&D base rules and setting (System Reference Document, SRD)
476.
▲
by
rhdunn
4y ago
My understanding (from sources such as Roll For Combat and Indestructoboy) is that: 1. various creators were sent OGL 1.1 licenses, a contract to sign, FAQ, and an NDA on/around Dec 21 to be signed by Jan 4th. 2. Rumours were circulati
477.
▲
by
rhdunn
4y ago
That's posted Dec 21. The OGL 1.1 leak happened on Jan 4th. They mention that the OGL 1.1 will only apply to static (ePub/PDF) and printed media, and the revenue terms, but they don't mention the other OGL 1.1 changes that ha
478.
▲
by
rhdunn
4y ago
Not all games and other material published under the OGL references/uses the WotC SRD (System Reference Document) or D&D material (beholders, magic missile, etc.). The license changes also affect any non-PDF content, which would in
479.
▲
by
rhdunn
4y ago
This is already having an effect on the community, as people like The Arcane Library ( https://www.youtube.com/@TheArcaneLibrary ) are shifting away from using/referencing the OGL despite having pre-prints of material us
480.
▲
by
rhdunn
4y ago
If your application has any reasonably complex data, validating that data when it is being added into the system (i.e. if it meets the invariants) prevents bugs later down the line. If the data is different to what the application expects,
More ›