Readit News logoReadit News
mayoff commented on Show HN: I was curious about spherical helix, ended up making this visualization   visualrambling.space/movi... · Posted by u/damarberlari
mayoff · 3 days ago
You can play with the equations on 3D Desmos here: https://www.desmos.com/3d/t66etxi1y8

Interesting to note that the parametric equations of the spiral are linear in spherical coordinates. https://en.wikipedia.org/wiki/List_of_common_coordinate_tran...

mayoff commented on Window Activation   blog.broulik.de/2025/08/o... · Posted by u/LorenDB
dmart · 15 days ago
As a recent Linux (and Wayland) switcher, I love this behavior. It has always felt insane to me that macOS will just let some random auto-updater steal focus and eat your keystrokes while trying to work on something.
mayoff · 15 days ago
Supposedly this was improved in macOS 14 (Sonoma, late 2023) with "cooperative app activation". It's discussed in this WWDC 2023 video:

https://developer.apple.com/videos/play/wwdc2023/10054/?time...

mayoff commented on Replicube: 3D shader puzzle game, online demo   replicube.xyz/staging/... · Posted by u/inktype
tda · a month ago
I finished it with a code size of 118, 19.82 cycles per voxel. Don't feel like making an account, but how does that compare?
mayoff · a month ago
I golfed mine down to 15.623 cycles / voxel.

    d2 = x^2+y^2
    -- 6 / pi = 1.909859317102744
    angle = 6 + 1.909859317102744 * atan(x, y)
    
    if z ~= 0 or d2 > 20 then return EMPTY end
    if d2 < 11 then return GREEN end
    if angle > t then return PURPLE end
    -- ugly special case because reference isn't smooth at 13
    if t == 13 or angle + 12 > t then return RED end
    return PURPLE

mayoff commented on College baseball, venture capital, and the long maybe   bcantrill.dtrace.org/2025... · Posted by u/bcantrill
system7rocks · 2 months ago
A profoundly wise and great article.

My son is a big kid and is playing high school football. It was not on our radar, so we have begun to navigate these kinds of questions. Like - do you want to play at the next level? What do you even need to do if you would like to? But also the realization of how much money is made off of these kids and how cruel and unforgiving it can be.

mayoff commented on I convinced HP's board to buy Palm and watched them kill it   philmckinney.substack.com... · Posted by u/AndrewDucker
mayoff · 2 months ago
When I think about HP as a software & services company, I think about the times I booked Disney vacations in the 2010s. The Disney web site for managing your reservations, looking at park attraction wait times, etc., was usually painfully slow, and the bottom of every page proudly featured the HP logo.

It's probably still slow (I haven't been to Disney in a while) but no longer mentions HP.

mayoff commented on I convinced HP's board to buy Palm and watched them kill it   philmckinney.substack.com... · Posted by u/AndrewDucker
kccqzy · 2 months ago
Prior to true multitasking on iOS, Apple would tell you to tag view controllers for preservation so that when your app launches, the OS will restore the original view controllers, as if the app has been running the whole time. Old documentation here: https://developer.apple.com/library/archive/featuredarticles...

(These days few apps bother to do this anymore. I switch away from an app in a minute and upon switching back I'm back at the app's home screen.)

mayoff · 2 months ago
The state preservation API wasn't added until iOS 6.0 in 2012.

https://developer.apple.com/documentation/uikit/uiviewcontro...

mayoff commented on OxCaml - a set of extensions to the OCaml programming language.   oxcaml.org/... · Posted by u/lairv
robertlagrant · 2 months ago
Is this relevant to OCaml?
mayoff · 2 months ago
ha ha oops I got confused
mayoff commented on OxCaml - a set of extensions to the OCaml programming language.   oxcaml.org/... · Posted by u/lairv
jitl · 2 months ago
Sure, if you know how much you allocate per minute (and don’t exceed your budget) you just buy enough RAM and it’s fine.
mayoff · 2 months ago
(this comment was off topic, sorry)
mayoff commented on RSyncUI – A SwiftUI based macOS GUI for rsync   github.com/rsyncOSX/Rsync... · Posted by u/mickelsen
mayoff · 3 months ago
This is a copy of an infamous comment about the then-new Dropbox: https://news.ycombinator.com/item?id=9224

u/mayoff

KarmaCake day1739June 2, 2010
About
Random bits of iOS programming
View Original