Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
richard_todd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
richard_todd
6y ago
I didn’t hear a difference, and some even claim it’s a benefit since a lot of cheap hardware only speaks 48k, so it’s better to encode for it in advance than resample during playback. But, what can I say? It nagged at me in a totally unscie
92.
▲
by
richard_todd
6y ago
Opus is weird because it can use fewer bits to encode complex sounds, and more bits on simple sounds. MP3/Vorbis/AAC all do the opposite. I’ve read it is because it has relatively poor frequency precision, for which it gains excel
93.
▲
by
richard_todd
6y ago
To me it's really not about whether it's a good idea or not. What works for an 8-year-old project that has always done it that way, may not work for a 33-year-old project which has never done it that way. The latest perl will
94.
▲
by
richard_todd
6y ago
That's actually really nice. It does appear that Rust will peel all the layers away when opt-level is 2 or higher. I could live with that. You can (re)set the value from anywhere, but at least it has to be marked unsafe. Fair enoug
95.
▲
by
richard_todd
6y ago
It's not about "dead set," it's just a thought experiment. Setting global constant data at the beginning of a program, before "the real work" starts, is totally safe to do, but there's not a language I&#x
96.
▲
by
richard_todd
6y ago
Yes, or on a more primitive level how traditional UNIX lets a process drop setuid-root permissions once you've done what you need to do with them. In some managed languages, you can define classes with constant members, but obviously t
97.
▲
by
richard_todd
6y ago
Yeah, I've seen lazy_static. From the documenation [1]: > The Deref implementation uses a hidden static variable that is guarded by an atomic check on each access. That's totally unnecessary in the scenarios I'm talking a
98.
▲
by
richard_todd
6y ago
I would love to play with a programming language that has a notion of an initialization phase, where constraints are relaxed. So often, especially in cli programs, you just want to set up some ambient state based on arguments or whatever t
99.
▲
by
richard_todd
6y ago
I love perl, so I’ll definitely spend some time tonight trying to find out more about the plans. From just this article, it’s hard to see how this is different than just making ‘use v5.34;’ flip some switches. That’s just business as usual
100.
▲
by
richard_todd
6y ago
From 2020/retrospect it seems obvious that people would not want to switch from local files to web-pages in the same window, but it's also kind of a shame that their integrated rich-content vision didn't work out. I would ra
101.
▲
by
richard_todd
6y ago
Presumably some women would have had an exam in February but developed enough cancer to be visible in March, so delaying a couple of months had a huge positive impact on their outcome. How can we measure the net result of all these variable
102.
▲
by
richard_todd
6y ago
That's a good description of where I'm at, and I keep wondering if maybe the definition most people are using for "consciousness" just doesn't match mine. The longer I meditate, the less consciousness matters to me
103.
▲
by
richard_todd
6y ago
Sounds like things have improved in the last couple years, thanks for the information. If they get to the point where a basic database-querying microservice will usually compile on all three platforms, I could imagine a lot more server-side
104.
▲
by
richard_todd
6y ago
Whenever I've looked at examples on Swift on Linux in the past, the code always started with (hazy memory here) `use glibc` or similar, whereas the macOS version used a different library. So for example even just to produce a random n
105.
▲
by
richard_todd
6y ago
I assume if you want good results actually using these today, you need to be careful to select a VGA font that was originally on square pixels. Is there an easy way to tell which those are?
106.
▲
by
richard_todd
7y ago
It's funny that they only have 120 or so words, and one of them (pu) means "interacting with the official Toki Pona book."
107.
▲
by
richard_todd
7y ago
It's really more like the Interpreter pattern (another one of the original GoF patterns)[0]. Instead of doing something directly, you create a description of it, and then provide an interpreter to do the work elsewhere in the program.
108.
▲
by
richard_todd
7y ago
What they could more easily do, and what seems to fit with their strategy lately, is open source further portions of Windows 10. (MIT rather than GPL though, obviously) They are already way down the path (winUI, NET5, PowerShell, terminal,
109.
▲
by
richard_todd
7y ago
It was chilling to read the last section (starting “This was pretty cool ... for a while ...“). The network got big enough that people who “had nothing to do with the design, creation or maintenance of the FidoNet software” started asserti
110.
▲
by
richard_todd
7y ago
When I was looking through the twitter replies last night, multiple people claimed the opposite happened (the female got the higher limit). It’s sad that the journalist either didn’t look into it or preferred not to stray from the implicati
111.
▲
Microsoft’s Java Language Projection for WinRT
(github.com)
1 points
by
richard_todd
7y ago
|
1 comments
112.
▲
by
richard_todd
7y ago
Earlier he had said that we shouldn’t keep old grudges, so I was surprised he then turned around and asked for them to renounce statements from 20+ years ago, made by people that aren’t even there anymore. In my mind, .net core and vs code
113.
▲
by
richard_todd
7y ago
Yeah jumping ahead by X permutations would be good as well.
114.
▲
by
richard_todd
7y ago
Randomly shuffling the bits _is_ a new permutation (of those bits). There may be a faster way to shuffle the bits of whole bytes/words on some architectures, but for the general case I suspect a normal shuffling algorithm (like Fisher-
115.
▲
by
richard_todd
7y ago
By the time you are tracking misses on each class of event and adjusting the probabilities, you might as well just use random permutations of the desired distribution of outcomes. Like if the sword is supposed to hit 90%, just run through a
116.
▲
by
richard_todd
7y ago
In this case, I don't know how much it matters--EPUB is basically HTML, so you are going to be based around a browser-like component anyway. Might as well code the UI in js.
117.
▲
by
richard_todd
7y ago
There is still WordPerfect for Windows, which has it. I tried using it again in 2010 or so, but found he program to be a little clunky UI-wise. My impression after reading support forums was that they spend minimal money on maintenance and
118.
▲
by
richard_todd
7y ago
I immediately wondered about macOS, which is dropping 32-bit support as well. One of the first links I found[1] seems to say that there is no 64-bit wine on macOS regardless of library issues, due to an ABI incompatibility. So on the surf
119.
▲
by
richard_todd
8y ago
How did this come about? At some point you realized you were listening to mostly Autechre, and made a conscious decision to cut everything else out? (I’m listening to LP5 now, somehow it has always been my favorite)
120.
▲
by
richard_todd
8y ago
It’s weird that the project options dialog still offers to work around the Pentium FDIV bug. Are any of the current compile targets still afflicted? Like, can 2019 Delphi still compile me a win95 pentium binary?
More ›