Better HN
topnewbestaskshowjobs
Log inSign up

postalcoder

5,254 karma · joined Jul 19, 2024 (2y ago) · 609 submissions

developing llm systems

side: https://hcker.news

ryan [at] hcker [dot] news

Submissions

comment 1y ago · link · parent

I think the entire premise of the article should be challenged. Not only is 35mm not meant to be canonical, but the 35mm scans the author presented are not what we saw, at least for Aladdin.

I've watched Aladdin more than any as a child and the Blu-ray screenshot is much more familiar to me than the 35mm scan. Aladdin always had the velvia look.

> Early home releases were based on those 35 mm versions.

Here's the 35mm scan the author presents: https://www.youtube.com/watch?v=AuhNnovKXLA

Here's the VHS: https://www.youtube.com/watch?v=dpJB7YJEjD8

comment 1y ago · link · parent

I think amrrs is referring to the x.com API.

comment 1y ago · link · parent

I'm disappointed that they haven't done more to make the /resume command more usable. It's still useless for all intents and purposes.

comment 1y ago · link · parent

Out of sheer curiosity, I put three screenshots of the noise into Claude Opus 4.1, Gemini 2.5 Pro, and GPT 5, all with thinking enabled with the prompt “what does the screen say?”.

Opus 4.1 flagged the message due to prompt injection risk, Gemini made a bad guess, and GPT 5 got it by using the code interpreter.

I thought it was amusing. Claude’s (non) response got me thinking - first, it was very on brand, second, that the content filter was right - pasting images of seemingly random noise into a sensitive environment is a terrible idea.

comment 1y ago · link · parent

i love jobs but i do remember the “everybody please turn off your laptops” presentation.

live demonstrations are tough - i wish apple would go back to them.

comment 1y ago · link · parent

-u searches through ignored files

-uu searches through ignored and hidden files (eg dotfiles)

-uuu searches through ignored, hidden, and binary files (ie everything)

comment 1y ago · link · parent

I saw that you added it, thanks! I'll give this a shot for a few days.

comment 1y ago · link · parent

For example I have a Stop hook that scans my messages to see which files we've worked on. It'll check to see if the changes to those files have been committed and, if not, it will prevent Claude from stopping and send it a message to commit the specific files in a specific style that includes the id of the current session. The same script also cleans up all previous instances of the same message in the conversation, saving like 5k tokens per session.

I have a lot of PreToolUse hooks that injects guideline messages whenever certain tools are called or bash commands run. My hooks also prune older versions of those out of context. All of the transcripts are in ~/.claude/projects/ in jsonl format and are hot-editable.

comment 1y ago · link · parent

if you’re concerned about context you can trivially make a hook that will prune your conversation history of older semantic search results.

i do a lot of context management with hooks for all sorts of tool calls.

comment 1y ago · link · parent

It'd be nice if respected gitignore. It's turning my M4 MBP into a space heater too.

comment 1y ago · link · parent

To those wondering why the MacBook would have a sensor for this, it’s likely there to support Desk View[0]. It shows the items on your desk in a geometrically correct, top-down view. Knowing the angle of the display is very helpful when applying keystone correction.

0: https://support.apple.com/en-us/121541

comment 1y ago · link · parent

It’s likely there to support Desk View[0]. Desk View presents the items on your desk in a geometrically correct, top-down view. Knowing the angle of the display is very helpful when applying keystone correction.

0: https://support.apple.com/en-us/121541

comment 1y ago · link · parent

It's a personal blog. I didn't read this as an employer. Someone greener may read this and think "this guy is really hard on himself but, unlike me, he's done so much more! Maybe we'll always feel this way so I should just be kinder to myself."

The modern internet is stuffed to the gills with branding and bravado. Some vulnerability is fine.

comment 1y ago · link · parent

Besides being a faster slot machine, to the extent that they're any good, a fast agentic LLM would be very nice to have for codebase analysis.

comment 1y ago · link · parent

The right middle ground is running Little Snitch in alert mode. The initial phase of training the filters and manually approving requests is painful, but it's a lot better than an air gap.

comment 1y ago · link · parent

You can no longer answer "what is the state of the art” by pointing to a model.

Generating a state-of-the-art response to your request involves a back-and-forth with the agent about your requirements, having a agent generate and carry out a deep research plan to collect documentation, then having the agent generate and carry out a development plan to carry it out.

So while Claude is not the best model in terms of raw IQ, the reason why it's considered the best coding model is because of its ability to execute all these steps in one go which, in aggregate, generates a much better result (and is less likely to lose its mind).

comment 1y ago · link · parent

you may have to change the spelling of Control Center to Control Centre depending how your computer is localized. The first script should work.

comment 1y ago · link · parent

Audacity can do most of the audio editing functions of Audio Hijack.

OBS can replicate the audio routing (though not as smoothly) though I'm not too familiar with its audio processing capabilities. I mostly see OBS and Audio Hijack as complementary products.

That said, Audio Hijack is so good for routing and processing audio that it's not even a competition, AH all day.

I've done so much mischief and tinkering with AH just because it's so easy. You can reroute audio between applications, fiddle with L/R channels and filtering, and pipe it through to others, all on the fly. I've used it for everything from being a DJ in zoom calls, to setting up presentation audio, to setting up a virtual sound board that repeated audio snippets I collected in real time from the conversation, to connecting a facetime audio call from one teammate into a zoom meeting.

There's so much flexibility and setting up the workflows is a breeze. AH hurdles the bar IMO.

comment 1y ago · link · parent

I have been testing google's SynthID for images and while it isn't perfect, it is very good, insofar that I felt some relief from that same creeping dread over what these images will do to perceived reality.

It survives a lot of transformation like compression, cropping, and resizing. It even survives over alterations like color filtering and overpainting.

comment 1y ago · link · parent

> so playing with Audio Hijack, it seems my "Airplay" audio output is only present in the interface if I'm currently choosing "Airplay" as my default audio output from the system

Airfoil will maintain a connection with your Airplay device even after resetting your system audio device.

Though not perfect, but you can use applescript to force Airfoil's discovery of your airplay device by way of control center:

  tell application "System Events" to tell process "Control Center"
      repeat with menuBarItem in every menu bar item of menu bar 1
          if description of menuBarItem as text is "Sound" then
              set soundMenuBarItem to menuBarItem
              exit repeat
          end if
      end repeat
      
      click soundMenuBarItem
      
      repeat with currentCheckbox in every checkbox of scroll area 1 of group 1 of window "Control Center"
          set deviceId to value of attribute "AXIdentifier" of currentCheckbox
          set deviceName to text 14 thru -1 of deviceId
          if deviceName as string is equal to "DEVICE NAME" then -- DEVICE_NAME is the name of your airplay audio device in control center.
              click currentCheckbox
              click soundMenuBarItem
              exit repeat
          end if
      end repeat
  end tell

Airfoil supports scripting[0] so you can connect an application to the airplay speaker using this AppleScript:

   tell application "Airfoil"
       set safariSource to make new application source
       set application file of safariSource to "/Applications/Safari.app"
       set current audio source to safariSource

       set aSpeaker to (first speaker whose name is "INSTANCE_NAME") -- Paste the Airplay speaker's instance name here
       if not (connected of aSpeaker) then
           connect to aSpeaker
       else
           disconnect from aSpeaker
       end if
   end tell

You can run this command in the command line to get the instance name of your airplay device:

  dns-sd -B _airplay._tcp


You can make some combination of this to form a workflow that suits you.

[0] https://rogueamoeba.com/support/knowledgebase/?showArticle=A...

1
161718
21