Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mayoff
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
mayoff
2y ago
I have this in-wall oven with French doors: https://www.bluestarcooking.com/cooking/ovens/30-electric-wa... The French doors do make it easier to get stuff in and out. But for something that's essentially a c
62.
▲
by
mayoff
2y ago
I have Xcode set up to play a sound effect when a build or a test run finishes successfully, and a different sound effect (the Metal Gear alert) when it fails.
63.
▲
by
mayoff
2y ago
Related: Java for Everything https://www.teamten.com/lawrence/writings/java-for-everythin... Previously HN discussion of "Java for Everything": https://news.ycombinator.com/item?id=269342
64.
▲
“A Story About Jessica" by SwiftOnSecurity
(harihareswara.net)
2 points
by
mayoff
2y ago
|
0 comments
65.
▲
by
mayoff
2y ago
> If you’re using Python, you’re stuck with the endless debates. For instance, you’ll never know why there’s a dict.get() to avoid KeyError but no list.get() to avoid IndexError. Probably for the same reason that, in Swift, dictionary lo
66.
▲
by
mayoff
2y ago
I bought one on eBay in 2000 for $610 (eBay item number 418348564).
67.
▲
by
mayoff
3y ago
Is this sound file itself under the MIT license?
68.
▲
by
mayoff
3y ago
Unshift, like push, adds an element to the array. “Unshift”, like “push”, contains the letter “u”.
69.
▲
by
mayoff
3y ago
I don’t think the article claims that a Java process tries to access some other process’s memory. In a typical modern operating system, a memory page can be non-writable and non-executable, writable and non-executable, or non-writable and e
70.
▲
by
mayoff
3y ago
You issue `pragma journal_mode=wal` once after creating the database. The change is persistent. https://www.sqlite.org/wal.html#persistence_of_wal_mode
71.
▲
by
mayoff
3y ago
The fib' function (the more efficient version of fib) is defined using f. So the goal is to prove that f computes the same thing as fib (given the appropriate arguments to f and fib). Hence the theorem needs to use f on at least one si
72.
▲
by
mayoff
3y ago
A few years ago, my then-employer (a smallish company, < 150 employees) had to deal with an Oracle compliance audit. I was shocked at the time to learn that there are companies (like Palisade Compliance mentioned in this article) that sp
73.
▲
by
mayoff
3y ago
I used Prompt 2 for a while, but switched to Secure Shellfish because - Shellfish can act as a file provider using SFTP, meaning it shows up in the Files app and in the document UI of other apps. - Shellfish supports port forwarding. As far
74.
▲
by
mayoff
3y ago
Watch the second half of WWDC 2023 session “Explore rendering for spatial computing” to see what Apple wants to tell developers about foveated rendering. Ivan never actual uses the term “foveated rendering” though. https://develo
75.
▲
by
mayoff
3y ago
He's not in the gaming space. You can find his apps here: https://underpassapp.com
76.
▲
by
mayoff
3y ago
Michael Snoyman has a great talk about this, “FP is the new OOP”. He argues that some major concepts that OOP popularized are now mainstream and accepted, and OOP-bashing ignores those concepts and just acts like OOP only means the bad part
77.
▲
by
mayoff
3y ago
It’s scammy because the gym business can very difficult unless you have people paying and not coming in. https://medium.com/bull-market/sweaty-january-and-how-gyms-m...
78.
▲
by
mayoff
3y ago
I also thought this was a major omission. After using languages with well-supported sum types (mainly Swift and Elm), I find it painful to go back to languages that lack native support.
79.
▲
by
mayoff
3y ago
I wouldn’t say static typing is privileged, but that testing is disadvantaged, because, in the words of Edsger Dijkstra, “Program testing can be used to show the presence of bugs, but never to show their absence!” https://www.cs.
80.
▲
by
mayoff
3y ago
Yes, we pick a deployment target (a lowest supported version of iOS/macOS/etc.) at build time, and we're then allowed to use language, standard library, and SDK features that are supported by that deployment target. We can al
81.
▲
by
mayoff
3y ago
What’s interesting to me is how big the steps in process node sizes are. I thought the 5nm to 3nm step was huge—it’s a 40% reduction! And 3nm to 2nm is similar—a 33% reduction. But then I looked at wikipedia’s list of process node sizes and
82.
▲
by
mayoff
3y ago
You can feel slightly less bad. M2 Max was announced in January, 10 months ago.
83.
▲
by
mayoff
3y ago
There's the obvious, that they want to say higher numbers. But also, I bought a 16" MacBook Pro M1 Max when it was announced. The M2 Max replacement was announced only 15 months later and didn't seem like a big enough improve
84.
▲
by
mayoff
3y ago
I wouldn’t say I learned it “for fun”, but when my sister was in college (25 years ago) as a business information systems major (or something like that), she had to take a Cobol course so I learned enough of it to help her get through the c
85.
▲
by
mayoff
3y ago
Neat! It reminds me a little of a screen saver called Fractal Clock that I wrote many years ago for MacOS X: https://www.dqd.com/programs/FractalClock/ Sadly, the screen saver stopped working as of (I think) Catal
86.
▲
by
mayoff
3y ago
This lesson is applicable to lots of languages, not just Go. For example, looking at Swift (where the equivalent of an interface is a protocol), we find many protocols in the standard library that either have one function requirement, or ad
87.
▲
by
mayoff
3y ago
The actual decision was discussed days ago: https://news.ycombinator.com/item?id=36764489
88.
▲
by
mayoff
3y ago
I just tried this with my iPhone 12 mini on my cars, which were parked in my garage out of direct sunlight. I was shocked by how well it worked.
89.
▲
by
mayoff
3y ago
There’s a link to “AP Computer Science A test”, which is a PDF, and the problem in question (question 4) starts on page 14 of the PDF. Here’s the link again: https://apcentral.collegeboard.org/media/pdf/ap23-frq-co
90.
▲
by
mayoff
3y ago
One twitter comment points out that this was the last free-response question on the exam, and that a preceding question was harder than usual. So examinees probably wasted too much time on the earlier question and lacked time to finish the
More ›