Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rhdunn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
241.
▲
by
rhdunn
1y ago
Yes, that's what it is doing. If you have a block of code a compiler will compile a language expression or statement into a particular set of assembly/bytecode instructions. For example converting `a + b` to `ADD a b`. A reversing
242.
▲
by
rhdunn
1y ago
IIUC, complex numbers are a number system that supports rotations -- one representation is as an angle and a magnitude. As such they work well at describing systems that have rotational components. This makes them useful for working with wa
243.
▲
by
rhdunn
1y ago
It can be useful to fix window positions when a window gets stuck off-screen: 1. Alt+Space to activate the menu; 2. Down Arrow; Enter to restore the screen (if maximized or minimized); 3. Alt+Space to activate the menu; 4. Down Arrow; Down
244.
▲
by
rhdunn
1y ago
In a pyproject.toml file you can create/define scripts that reference an entry function. E.g.: # myapp/app.py def main(): print('Hello!') and in the pyproject.toml: [project.scripts] app =
245.
▲
by
rhdunn
1y ago
It's not gone per se -- you can still write out the long form version if you want (this is required for backward compatibility). What's now permitted is: 1. a simpler way of declaring a main method on a class -- you don't nee
246.
▲
by
rhdunn
1y ago
I'm not advocating that the verification should be on the maintainer. It should definitely be on the contributor/submitter to verify that what they are submitting is correct to the best of their abilities. This applies if the re
247.
▲
by
rhdunn
1y ago
I use coding LLMs as a mix of: 1. a better autocomplete -- here the LLM models can make mistakes, but on balance I've found this useful, especially when constructing tests, writing output in a structured format, etc.; 2. a better searc
248.
▲
by
rhdunn
1y ago
You can use LLMs as part of the process of identifying bugs, developing features, etc. but you must verify the results. Accepting what the LLM says without testing, checking, and verifying the output is lazy and likely to produce errors,
249.
▲
by
rhdunn
1y ago
And Linkin Park. In movies there's Heat and 13 among others.
250.
▲
by
rhdunn
1y ago
There are places where it says the equivalent of "Works the same as Word 95" [3], but does not specify in the specification what that means. It's essentially a serialization of the binary format to XML. ODF 1.4 is around 1,10
251.
▲
by
rhdunn
1y ago
What language? In Python, the `find`, `findall`, etc. methods take a namespace dictionary. E.g. result = doc.findall("//w:t", namespaces={"w": "..."}) In C# you can do: var navigator = d
252.
▲
by
rhdunn
1y ago
There's also various videos by Welch Labs that are very good. -- https://www.youtube.com/@WelchLabsVideo/videos
253.
▲
by
rhdunn
1y ago
Podcasts tend to be available from different sources to extend their reach YouTube and Spotify don't offer RSS feeds, however other services like redcirle.com, megaphone.fm, anchor.fm, and audioboom.com all offer RSS feeds. Even Apple
254.
▲
by
rhdunn
1y ago
They've also introduced automatic dubbing for foreign language videos. While this can be useful, I'd prefer it to be opt-in like how you can select the language for subtitles.
255.
▲
by
rhdunn
1y ago
A lot of publishers use XML formats like JATS [1] for articles and other documents. Those are rendered to HTML server-side using XSLT 2/3 and shown to users. [1] https://jats.nlm.nih.gov/ ("Journal Article Tag Sui
256.
▲
by
rhdunn
1y ago
The intention behind this is dropping existing behaviour (XSLT support) and that will break at least some websites. I was saying that when they created HTML 5 they went to great lengths to preserve the HTML parsing behaviour, resulting in t
257.
▲
by
rhdunn
1y ago
I'd say it is the other way around. -- Support for the Tories/Conservatives has collapsed to the point where they are 4th or even 5th place! Reform have benefitted most from this shift. [1]-[4] The left wing is seeing Labour voter
258.
▲
by
rhdunn
1y ago
The suggestion to move the RSS/Atom feed links to a hidden link element is a horrible one for me and presumably others who want to copy that and paste it into their podcast applications. With that suggestion it adds another layer of in
259.
▲
by
rhdunn
1y ago
You only need the ASR bits -- this is where I got to when I previously looked into running Parakeet: # NeMo does not run on 3.13+ python3.12 -m venv .venv source .venv/bin/activate git clone https://gi
260.
▲
by
rhdunn
1y ago
You can do something like this currently with schema.org metadata: { "@context": "https://schema.org", "@type": "WebPage", "contentRating": "18+",
261.
▲
by
rhdunn
1y ago
The slow mo guys did a video [1] at 10 trillion FPS. They also recently did another video [2] at 5,000,000 FPS. Their other videos vary between 50,000 FPS and 850,000 FPS. Edit: They mention in [2] that the Phantom camera they have can go t
262.
▲
by
rhdunn
1y ago
1. Welch Labs (Complex Numbers, AI) 2. Mathologer (Various maths-related theorems and properties) 3. Simon Roper, Colin Gorrie (Old English) 4. Jackson Crawford (Norse) 5. Doctor Mix (Synthesizers; Recreating classic songs) 6. Numberphile &
263.
▲
by
rhdunn
1y ago
For 1 I tried looking through the bootstrap documentation but couldn't find it because they called it "Pills" and not what I was thinking. So I then tried google to search for it but that didn't work. For 3 -- Sure, that
264.
▲
by
rhdunn
1y ago
I'm using AI assistants as an interactive search and coding assistant. I'm still driving the development and implementing the code. Where I use it for is: 1. Remembering what something is called -- in my case the bootstrap pills c
265.
▲
by
rhdunn
1y ago
I've seen 'unalived' used as a synonym for 'died' or 'killed' by YouTube minecrafters (e.g. CaptainSparkles) to avoid YouTube's demonitization/censorship. For example, using "I was unalived
266.
▲
by
rhdunn
1y ago
It's not adding roles/alt tags/etc. that's the issue. It's finding out that a screen reader doesn't support the ARIA markup (from the ARIA spec) that you are trying to use [1]. -- For example, using aria-descri
267.
▲
by
rhdunn
1y ago
If you are doing front-end web development then you really need to have some knowledge about accessibility, screen readers, etc. so you don't make simple/common mistakes. More so if you are involved in addressing accessibility iss
268.
▲
by
rhdunn
1y ago
Screen reader heuristics are the wrong approach. If you want to use "click here", "download", "pdf", or something generic then use aria-label, aria-labelledby, or some other mechanism to give the additional con
269.
▲
by
rhdunn
1y ago
If the company doesn't have any money to run the servers then they should allow users/communities to run their own servers. The company can have subscriptions and/or microtransactions, but the moment they stop providing the s
270.
▲
by
rhdunn
1y ago
You can see a similar effect with LLM finetunes. If you finetune a base model (or other instruct/finetune model) for a new task (e.g. better maths or programming language comprehension) it performs worse at other tasks like creative wr
More ›