Hacker Newsnew | past | comments | ask | show | jobs | submit | juancn's commentslogin

I use it to hide Zoom's screen sharing controls so they don't come back when pressing Esc:

    -- Hide Zoom's "share" windows so it doesn't come back on ESC keypress
    local zoomWindow = nil
    local originalFrame = nil
    
    hs.hotkey.bind({"cmd", "ctrl", "alt"}, "H", function()
      print("> trying to hide zoom")
      if not zoomWindow then
        print(">  looking for window")
        zoomWindow = hs.window.find("zoom share statusbar window")
      end
    
      if zoomWindow then
        print(">  found window")
        if originalFrame then
          print(">    restoring")
          zoomWindow:setFrame(originalFrame)
          originalFrame = nil
          zoomWindow = nil
        else
          print(">    hiding")
          originalFrame = zoomWindow:frame()
          local screen = zoomWindow:screen()
          local frame = zoomWindow:frame()
          frame.x = screen:frame().w + 99000
          frame.y = screen:frame().h + 99000
          zoomWindow:setFrame(frame)
        end
      else
        print(">  window not found")
      end
    end)

Oh my god, immediately worth installing just for this

Apple care is about user fuckups, not Apple's.

Some people use computers with utter disregard for their integrity.

Macs, specially Apple silicon ones are extremely reliable.


Not really. AppleCare is about apple's fuckups. AppleCare+ is about the users' ones.

Imprecision in manufacturing (adjust resistor values), different trace lengths (speed of light differences for parallel signals), etc... it's in the article.

Well, on one hand they lack new data. Lot's of new code came out of an LLM, so it feeds back.

On the other hand, LLMs tend to go for an average by their nature (if you squint enough). What's more common in their training data, it's more common in the output, so getting them better without fundamental changes, requires one to improve the training data on average too which is hard.

What did improve a lot is the tooling around them. That's gotten way better.


> Well, on one hand they lack new data. Lot's of new code came out of an LLM, so it feeds back.

Supposedly model curation is a Big Deal at Big AI, and they're especially concerned about Ouroboros effects and poisoned data. Also people are still contributing to open source and open sourcing new projects, something that should have slowed to trickle by 2023, once it became clear that from now on, you're just providing the fuel for the machines that will ultimately render you unemployable (or less employable), and that these machines will completely disregard your license terms, including those of the most permissive licenses that seek only attribution, and that you're doing all of this for free.


I would guess that it's because the second L in LLM is for Language, not Visual.

In any case, being technical myself I actually like that LLMs give me command line commands.

Those are unambiguous, composable and much easier to check what they do, but for muggles, yeah, they could be dangerous.


It's like Ctrl + ] on telnet.

The good old times!


Unlike CTRL ], at least ~. doesn't require that I press two modifiers at the same time ... CTRL ALTGR $. Because people who define those kinds of shortcuts never consider how they might work on non-QWERTY layouts.

At least on FI/SE layout, ~ is a dead key. So it needs a space after it.

Still not as bad as brackets and infinitely better than {} on a macbook.


Try Ctrl-5.

It can be done mechanically, it's essentially what a compiler does.

But yeah, it can be a useful technique, specially when there's tail recursion and the explicit stack just vanishes and the recursion turns into a plain old loop which the hardware just loves.


Couldn't this deadlock if two threads lazily import modules with cross dependencies?


I don't understand what this is about. What's a wasteland? What's a gas town?

Is this Ethereum related?

Help?


I don't get why PWM wouldn't work? Would the harmonics make the tuner ignore the signal?

Because the speaker is still slow, so if it got to it, there should be audio, but maybe the circuit filters out the PWM signal outright?



Highly recommend his Pico-based microcontroller course: https://www.youtube.com/playlist?list=PLDqMkB5cbBA4GisLzRSqw...

The PWM-based modulation is interesting, but as an amateur, I couldn't fully understand it or trust that the radio receiver reliably picks up the duty cycle as amplitude.


If you PWM a signal, I presume you could add a filter to convert to amplitude changes?

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: