Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SloopJon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
271.
▲
by
SloopJon
6y ago
More cores is an obvious next step, but I'm curious to see how well Apple can scale the unified memory architecture. Can you put 32 cores (plus cache) and enough memory to keep them busy on a chip that retains the advantages of the M1
272.
▲
by
SloopJon
6y ago
I have an Argon NEO: https://www.argon40.com/argon-neo-raspberry-pi-4-case.html It gets hot to the touch, so I presume that it's dissipating heat like it's supposed to.
273.
▲
by
SloopJon
6y ago
Yeah, min() returns the most negative int, so it seems like it should do the same for float. Then the float with the least magnitude could have been, say, smallest().
274.
▲
by
SloopJon
6y ago
I used intmax_t just yesterday in an ODBC type conversion test. I wrote a template for use in a Google Test typed test to find the highest and lowest values supported by the client and server type. Something like: max( static_cast
275.
▲
by
SloopJon
6y ago
> > Long ago "modern" C++ crossed into a territory that I will never understand or use. > Do you know where the line is? C++11? Later versions? It's funny to read this, because I purposely avoided C++ for the better
276.
▲
by
SloopJon
6y ago
Do I understand correctly that you cracked about half of the 12,000-iteration PBKDF2 hashes using a first-gen ThreadRipper and a GTX 1060, and would have cracked more except for a formatting problem in the hashes? That's eye opening.
277.
▲
by
SloopJon
6y ago
I read Gruber frequently even though he annoys me (he's sort of like John Dvorak that way), and this piece is kind of emblematic of why he does. To be clear, the ARM Macs are way more exciting than I expected, and I'll probably b
278.
▲
by
SloopJon
6y ago
It's hard to discuss in the abstract, especially with bad names like MinorFunction1() and MinorFunction2(). In style C, you may have to scan over lower levels of abstraction than you care about: MajorFunction() { //
279.
▲
by
SloopJon
6y ago
I've been noodling with Hans Boehm's constructive reals package since the "Toward an API for the Real Numbers" post: https://news.ycombinator.com/item?id=24700705 The Android calculator app. got some nic
280.
▲
by
SloopJon
6y ago
In Python 2, int and long were separate types, where int was either a 32- or 64-bit signed integer, and long was arbitrary precision. Python 3 unified the types under the name int: https://www.python.org/dev/peps/
281.
▲
by
SloopJon
6y ago
Although the source for the fourth edition is not available, the man page for the ctime(3) library function is: https://minnie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man3/ct... It confirms that the day of
282.
▲
by
SloopJon
6y ago
> Apple did not promise anything wrt. 3rd party apps Of course they did: "With the introduction of Rosetta 2, M1 and macOS Big Sur seamlessly run apps that haven't yet transitioned to Universal versions. So without updating, yo
283.
▲
by
SloopJon
6y ago
For those who read the comments before the article, the initial batch of comments are burying the lede: > The new tensorflow_macos fork of TensorFlow 2.4 leverages ML Compute to enable machine learning libraries to take full advantage of
284.
▲
by
SloopJon
6y ago
Surrogates are technically a UTF-16 only thing. Realizing that sometimes they nevertheless escape out into the wild, WTF-8 defines a superset of UTF-8 that encodes them: https://simonsapin.github.io/wtf-8/ To be clear
285.
▲
by
SloopJon
6y ago
Indeed, the author writes of the captain she worked for: > Originally from Connecticut, she worked one summer on a whale-watching boat in Bar Harbor, saw the lobstermen, and thought: I want to do that, that looks real.
286.
▲
by
SloopJon
6y ago
One of my round tuit projects is to set up a Snow Leopard VM to run PowerPC apps. with Rosetta, and a Mojave VM to run 32-bit Intel apps.
287.
▲
by
SloopJon
6y ago
Note that .NET 5.0 is not an LTS release: > .NET 5.0 is a current release. That means that it will be supported for three months after .NET 6.0 is released. As a result, we expect to support .NET 5.0 through the middle of February 2022.
288.
▲
by
SloopJon
6y ago
Here's a page to download Linux binaries: https://developer.amd.com/amd-aocl/amd-math-library-libm/ The license there looks much less friendly than the 3-clause BSD on Github. I was unable to build this on ma
289.
▲
by
SloopJon
6y ago
That actually wasn't true when I bought a Canon MG6000-something. When the price of the printer went below the price of ink, I bought a second one and stuck it in the attic, which came in handy when the first one died. Both printers
290.
▲
by
SloopJon
6y ago
If I understand correctly, it's a printf-style function for which the %g format code outputs the shortest decimal string that round trips. This implies that it would output no more than seventeen significant figures, regardless of the
291.
▲
by
SloopJon
6y ago
I think Python was the first to bring this into my consciousness. See this enhancement request, which changed the float-to-string conversion from seventeen significant figures to shortest: https://bugs.python.org/issue1580
292.
▲
by
SloopJon
6y ago
I'm in the market for a new car with decent driver assistance, so a round up like this is just what I've been looking for. One of the first things that stands out is what Mazda told Consumer Reports about its Lane Departure Warni
293.
▲
by
SloopJon
6y ago
I definitely have some password manager anxiety. I'm not too concerned about hacks or losing my password database. For me, it's more about the sense of independence, and being able to log in to my accounts using just my noggin.
294.
▲
by
SloopJon
6y ago
> Restoring a session is 17% quicker, meaning you can more quickly pick up where you left off I actually wouldn't mind if they throttled this a bit. I keep a tab or two (dozen) open to Hacker News posts I haven't gotten around
295.
▲
by
SloopJon
6y ago
> If the results are reliant on your RNG method I would not settle for less than crypto strength Whenever a post on PRNGs comes up, I'm reminded of this post from a while back about Chrome: https://medium.com/@betabl
296.
▲
by
SloopJon
6y ago
I looked at the dizzying list of install options, then noticed pip at the top. After installing into a virtual environment, I found a tutorial that said to run the vd command. I wasn't sure if pip would install a command in my path,
297.
▲
by
SloopJon
6y ago
> No, just use address sanitizer In fairness, the next sentence in the post is: > Techniques like this can be a nice complement to external tools like Valgrind or AddressSanitizer.
298.
▲
by
SloopJon
6y ago
I saw one question from Gorsuch quoted in reports about the arguments that bothered me: "What do we do about the fact that the other competitors, Apple, Microsoft ... have, in fact, been able to come up with phones that work just fine
299.
▲
by
SloopJon
6y ago
I haven't read the paper yet, but if I understand the post correctly, this interface represents numbers as the product of a rational and a recursive real, where the latter may be 1.
300.
▲
by
SloopJon
6y ago
I guess technically, the title should be "Boa release v0.10." Better? Rather than curse the darkness, I'll quote the first sentence from the page: "Boa is an experimental Javascript lexer, parser and compiler written in
More ›