52 karma · joined November 18, 2013
(() => {
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.');
})();Can anyone explain this? Why is it an advantage?
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.
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.Couldn’t find an out-of-the-box solution, maybe, as you say because it’s not in their interest.
$ 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);How come there's no motion data?
I see they support the the largest cities in Sweden and Norway, wonder if there are any plans for Copenhagen, Denmark?
(swap! state update :co2-level (partial * 0.8))Cool :)
One issue might be that only OpenGL 2.1 is supported: https://github.com/utmapp/UTM/issues/4285
I'm typically using it like so:
(defn realize [v] (doto v pr-str))
(binding [*some* binding]
(realize (f some-nested-lazy-seq)))I also installed usbmuxd via Pacman.
https://edition.cnn.com/2019/04/22/success/tesla-navigate-on...
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.
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.