News for hackers. Stuff that matters.

grav

Re:Qwen 3.8 27B available on Cerebras at 1500 tokens/s on Thursday September 03, 2026 @03:55PM (#49555899)
Should be available in OpenCode once this lands: https://github.com/anomalyco/models.dev/pull/6199/changes
Re:MAI-Code-1-Flash on Tuesday June 02, 2026 @03:51PM (#48375328)
Fix:

  (() => {
  const KILL = ['wheel', 'mousewheel', 'DOMMouseScroll', 'touchmove'];
  const block = e => e.stopImmediatePropagation();
  for (const t of KILL) {
    window.addEventListener(t, block, { capture: true, passive: true });
    document.addEventListener(t, block, { capture: true, passive: true });
  }
  document.documentElement.classList.remove('lenis','lenis-smooth','lenis-scrolling','lenis-stopped');
  console.log('Scroll hijack disabled — native scrolling restored.');
  })();
Re:Claude Sonnet 4.6 on Tuesday February 17, 2026 @02:51PM (#47052272)
I fail to understand how two LLMs would be "consuming" a different amount of tokens given the same input? Does it refer to the number of output tokens? Or is it in the context of some "agentic loop" (eg Claude Code)?
> Interestingly, the malware checks for the presence of Claude Code CLI or Gemini CLI on the system to offload much of the fingerprintable code to a prompt.

Can anyone explain this? Why is it an advantage?

Re:Gemma 3n preview: Mobile-first AI on Wednesday May 21, 2025 @12:54AM (#44048409)
Re:Show HN: Real-time AI Voice Chat at ~500ms Latency on Tuesday May 06, 2025 @03:04AM (#43902478)
In the demo, is there any specific reason that the voice doesn't go "up" in pitch when asking questions? Even the (many) rethorical questions would in my view improve by having a bit of a pitch change before the question mark.
Re:The Pain That Is GitHub Actions on Thursday March 20, 2025 @03:01AM (#43420415)
At [previous company], we initially required branches to be up to date with main. Since it was a relatively big mono repo, it slowed down productivity quite a bit.

Eventually we tried dropping that requirement and instead relied on testing main before deploying to production. It sped us up again, and main never broke because of bad merges while I was there.

I give up, why?
Re:Claude 3.7 Sonnet and Claude Code on Monday February 24, 2025 @02:58PM (#43164178)
Claude 3.7 Sonnet seems to have a context window of 64.000 via the API:

  max_tokens: 4242424242 > 64000, which is the maximum allowed number of output tokens for claude-3-7-sonnet-20250219
I got a max of 8192 with Claude 3.5 sonnet.
It is possible, since spending has an API. I’ve recently implemented it on Azure for a company, to ensure our storage costs didn’t run wild.

Couldn’t find an out-of-the-box solution, maybe, as you say because it’s not in their interest.

Re:Enhancing your MIDI devices with Perl on Sunday February 02, 2025 @11:10AM (#42909507)
Couldn't get the code to run with Perl on Mac:

   $ plenv exec perl midi.pl
   Not enough arguments for main::pedal_notes at midi.pl line 107, near "$note)"
   BEGIN not safe after errors--compilation aborted at midi.pl line 150.
I got something similar working in Supercollider though, which has a lot of tools for these sort of things, eg:

   MIDIIn.addFuncTo(\noteOn, ~myNoteOnHandler);
Re:No GPS required: our app can now locate underground trains on Thursday November 14, 2024 @06:25AM (#42135166)
> no motion data

How come there's no motion data?

Re:No GPS required: our app can now locate underground trains on Wednesday November 13, 2024 @01:53AM (#42123540)
Very impressive. Also interesting that the motion type prediction ("is this a moving train?") generalizes to underground trains in other cities.

I see they support the the largest cities in Sweden and Norway, wonder if there are any plans for Copenhagen, Denmark?

Re:On whether we're living in a simulation on Thursday February 08, 2024 @07:21AM (#39301092)

  (swap! state update :co2-level (partial * 0.8))
Re:How to find a lost phone in a no-cell-coverage camping site? on Thursday October 26, 2023 @07:47AM (#38024310)
TL;DR: created a wifi-network on another phone with same SSID and password as the one that the lost phone usually connects to, walked around waiting for the phone to connect, receive the "Find my phone" notification and send out a sound.

Cool :)

Re:Touch Pianist on Friday September 08, 2023 @09:13AM (#37433037)
Nice idea. I'm really missing a way to contol the dynamics. Maybe just mapping 1-9 keys to a velocity scaling?
Re:UTM – Virtual Machines for iOS and macOS on Thursday August 31, 2023 @04:17PM (#37343120)
I also experienced performance problems with Arch Linux ARM through UTM. Parallels seems to perform much better for me.

One issue might be that only OpenGL 2.1 is supported: https://github.com/utmapp/UTM/issues/4285

Re:Compuserve on Tuesday August 22, 2023 @01:53AM (#37219139)
PrevJS
Re:Critique of Lazy Sequences in Clojure on Wednesday August 16, 2023 @08:06AM (#37145773)
I've been using the trick with enforcing realization by serializing to strings a few times. Slow, but quite useful in many contexts. However, instead of using `(with-out-str (pr ...`, there's simply`pr-str`, which is easier to remember.

I'm typically using it like so:

  (defn realize [v] (doto v pr-str))

  (binding [*some* binding]
    (realize (f some-nested-lazy-seq)))
Re:Opus Databending Drumkit on Tuesday August 01, 2023 @05:15PM (#36963070)
Works for me. You probably need to unmute the phone.
Re:Show HN: Automating Daily reports, because fuck it on Friday June 02, 2023 @05:03PM (#36170720)
Flee.
I can highly recommend Arch AMD64 under Parallels on M1. GPU acceleration, clipboard integration, stuff generally works
Re:Scanning your iPhone for Pegasus on Sunday August 01, 2021 @03:57PM (#28029334)
On Arch Linux, I installed libimobiledevice from source (https://github.com/libimobiledevice/libimobiledevice), as the newest version in Pacman didn't connect to my iPhone.

I also installed usbmuxd via Pacman.

Re:Tesla Full Self Driving Demo on HW3 on Tuesday April 23, 2019 @03:29AM (#19726348)
A CNN journalist experienced the new autopilot on a test drive, and he has a brief description of a situation in which the Tesla representative chooses to hit the brakes:

https://edition.cnn.com/2019/04/22/success/tesla-navigate-on...

iZotope RX 7, mentioned in a comment above, has something called de-reverb. I didn't try that particular feature, but I did try the music rebalance feature, and it's pretty impressive.
Re:Cancelling Dropbox Pro is hard on Friday January 25, 2019 @05:10PM (#19003035)
I was expecting a 500 server error.
I agree it's a good response, both marketing wise (the compensation in the form of cheaper upgrade) and technically (the improved health visibility).

Regarding your concerns:

1) The software update that improved the power management was released for iPhone 6 and later only according to the article.

2) They state "Early in 2018". I think this is a pretty conservative, yet realistic estimate, considering they don't want to risk the user experience.

Re:Why many developers still prefer Objective-C to Swift on Saturday October 07, 2017 @02:37AM (#15422578)
How's the story with source code obfuscation in Swift-land? Wouldn't that be an option for you?
Re:Vue.js vs. React on Saturday August 19, 2017 @03:13PM (#15055064)
Agree that Elm is a good all-in-one solution for SPAs.

You should also give ClojureScript with the simple React-wrapper Reagent a spin. All the functional stuff is built into the language, like Elm, albeit without the types, which both has its pros and cons.

Older »