Readit News logoReadit News
apazzolini commented on Hammerspoon   github.com/Hammerspoon/ha... · Posted by u/tosh
zdw · a day ago
I fake a tiling window manager on Mac with Hammerspoon, resizing to fit in specific corners/sizes:

     -- resize based on ratios
    function ratioResize(xr, yr, wr, hr)
      return function ()
        local win = hs.window.focusedWindow()
        win:moveToUnit({x=xr,y=yr,w=wr,h=hr})
      end
    end

    -- 4 corners, different sizes
    hs.hotkey.bind({"cmd", "ctrl"}, "w", ratioResize(0,     0, 2/5, 2/3))
    hs.hotkey.bind({"cmd", "ctrl"}, "e", ratioResize(2/5,   0, 3/5, 2/3))
    hs.hotkey.bind({"cmd", "ctrl"}, "s", ratioResize(0,   2/3, 2/5, 1/3))
    hs.hotkey.bind({"cmd", "ctrl"}, "d", ratioResize(2/5, 2/3, 3/5, 1/3))
And to throw windows to other monitors:

    -- send to next screen
    hs.hotkey.bind({"cmd", "ctrl"}, ";", function()
      local win = hs.window.focusedWindow()
      local screen = win:screen()
      local next_screen = screen:next()

      win:moveToScreen(next_screen)
    end)

apazzolini · a day ago
I like the miro windows manager plugin: https://github.com/miromannino/miro-windows-manager

It's nice to be able to iterate through the halves/thirds configurations for different cases.

apazzolini commented on The dead Internet is not a theory anymore   adriankrebs.ch/blog/dead-... · Posted by u/hubraumhugo
yakattak · 3 days ago
Honestly the $10 barrier to SomethingAwful back in the day (and I guess now since it’s still around) definitely made a huge difference. I hate the idea of subscribing to a site like HN or Reddit… but one time $10 to post? I’d accept that if it meant less bots.
apazzolini · 3 days ago
It's a beautiful system. And if you were a dipshit and got banned, you paid another $10 and hopefully learned your lesson.

Deleted Comment

apazzolini commented on GrapheneOS – Break Free from Google and Apple   blog.tomaszdunia.pl/graph... · Posted by u/to3k
apazzolini · a month ago
I wish there were a good iPhone Mini sized phone I could install GrapheneOS on.
apazzolini commented on The AI Vampire   steve-yegge.medium.com/th... · Posted by u/SilverElfin
MrScruff · a month ago
There's going to be a long tail of domain-specific tasks that aren't well served by current models for the foreseeable future, but there's also no question the complexity horizon of the SotA models is increasing over time. I've had decent results recently with non-trivial Cuda/MPS code. Is it great code/finely tuned? Probably not but it delivered on the spec and runs fast enough.
apazzolini · a month ago
> you can't win, because as soon as you voice this opinion you get overwhelmed with "you dont have the sauce/prompt"

> I've had decent results recently with non-trivial Cuda/MPS code.

apazzolini commented on Discord will require a face scan or ID for full access next month   theverge.com/tech/875309/... · Posted by u/x01
apazzolini · a month ago
Based on the (lack of) people I see refusing the optional facial recognition check at the TSA checkpoint for flying, I can't imagine this will be anything other than an overwhelming success for Discord and the surveillance state.
apazzolini commented on Capital One to acquire Brex for $5.15B   reuters.com/legal/transac... · Posted by u/personjerry
Twisol · 2 months ago
Setting your incredulity aside, I'm curious why you think using a debit card would be so shocking. I effectively don't use a credit card at all: I use a debit card (or an equivalent Apple Pay representation thereof) exclusively. From my perspective, if I want something and I have the money, I'll pay for it. If I want something and I don't have the money, I won't pay for it. I don't often want things outside my budget (and I am not well-off, as a grad student), so I don't often feel any pressure to amortize the purchase over time with a credit card. And I prefer that state of affairs, because I don't want to get in the habit of using someone else's money if I can't afford to pay them back.

This isn't a value judgment on people who do use credit cards. There are plenty of reasons why using a credit card by default would be appropriate, and I'm not shocked to hear of someone who does so. But I am curious where your shock comes from, so I shared my story as a data point.

apazzolini · 2 months ago
Because you're leaving 2-3% on the table for every transaction. Using a credit card doesn't mean you can't pay it off in full every month, costing you zero in interest, while taking advantage of reward programs.
apazzolini commented on Liquid Glass Is Cracked, and Usability Suffers in iOS 26   nngroup.com/articles/liqu... · Posted by u/uxjw
noname120 · 5 months ago
Is it even possible?
apazzolini · 5 months ago
It was, but Apple is no longer signing the old releases. (https://ipsw.me/iPhone14,4).

I downgraded about 10 minutes after trying iOS 26. Sorry to all who missed the window.

apazzolini commented on The treasury is expanding the Patriot Act to attack Bitcoin self custody   tftc.io/treasury-iexpandi... · Posted by u/bilsbie
TheGRS · 6 months ago
I have deep disagreements with my father on this subject. He worked as a federal agent for 30 years, mostly in digital forensics. He does not believe in the right to privacy in any of the same ways I do. Whereas I believe a right to privacy in your tools and communication is essential, he believes they infringe on the government's ability to catch criminals. Classic justification of "if you're not a bad guy, what do you have to hide?"

I just thought this was worth sharing, my dad was a tech guy (though not much of a programmer), the folks on HackerNews and related sites mostly have a privacy-first worldview. But not everyone shares this view, especially those who work in or around law enforcement. Civilians who believe in the right to privacy must stand their ground in the face of this.

apazzolini · 6 months ago
> If you're not a bad guy, what do you have to hide?

Next time ask him if he'd be OK living in a glass house, since, as he's not a bad guy, he has nothing to hide.

apazzolini commented on Omarchy, a Linux Distribution by DHH   omarchy.org/... · Posted by u/weakfish
tasuki · 7 months ago
It appears there's no versioning, nor even an upgrade path? I'm a fan of DHH but I think actual distro maintainers do a better job of this.
apazzolini · 7 months ago
This isn't true at all, it uses a Rails-inspired migration system: https://github.com/basecamp/omarchy/tree/master/migrations

u/apazzolini

KarmaCake day748September 8, 2011View Original