Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
imurray
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
imurray
2y ago
Nelder–Mead has often not worked well for me in moderate to high dimensions. I'd recommend trying Powell's method if you want to quickly converge to a local optimum. If you're using scipy's wrappers, it's easy to sw
32.
▲
by
imurray
2y ago
See also: https://www.scale2x.it/ https://johanneskopf.de/publications/pixelart/
33.
▲
by
imurray
2y ago
> And do you know a good speech to text model? OpenAI's whisper, code+model are available, and multiple projects have built on it. You could try this wrapper: https://github.com/m-bain/whisperX -- or for short
34.
▲
by
imurray
2y ago
Machine learners might think of "Microtome publishing", who used to print JMLR (the Journal of Machine Learning Research -- community run and free for all authors and readers). It turns out they don't bother to publish on pap
35.
▲
by
imurray
2y ago
The paper says they tried that: https://arxiv.org/abs/2402.14905 Deep link to the relevant snippet in html version: https://ar5iv.labs.arxiv.org/html/2402.14905#S3.SS5 "So far, we trained co
36.
▲
by
imurray
2y ago
Nicely done; thanks.
37.
▲
by
imurray
2y ago
That code in the EDIT is suboptimal. It doesn't saturate the Kraft inequality. You could make every codeword two bits and still encode 4 symbols, so that would be strictly better.
38.
▲
by
imurray
2y ago
> It would be interesting to see a uniquely decodable code that is neither a prefix code nor one in reverse. More interesting than I thought. First the adversarial answer; sure (edit: ah, I see someone else posted exactly the same!):
39.
▲
by
imurray
2y ago
This open source android keyboard supports pinyin Chinese input: https://github.com/osfans/trime
40.
▲
by
imurray
2y ago
You're right, GHASH has 128 bits output. I'd wrongly assumed it was 96 from my quick reading of the conclusion on p29: > unless an implementation only uses 96-bit IVs that are generated by the deterministic construction: The t
41.
▲
by
imurray
2y ago
> When I use AES-GCM I just use a bigger nonce and use a random one. I don't think nonces bigger than 12 bytes will help. My quick reading of the AES-GCM spec is that when using a nonce that's not 96 bits (12 bytes), it is hash
42.
▲
by
imurray
2y ago
See also (from the same author) https://github.com/karpathy/llm.c — "LLMs in simple, pure C/CUDA with no need for 245MB of PyTorch or 107MB of cPython."
43.
▲
by
imurray
2y ago
> A few years back I have heard from a lot of people working in ML communities that they are surprised that `numpy.load` is able to execute arbitrary code. This is correct, before version 1.16.3 (April 2019) `numpy.load` was unsafe by de
44.
▲
by
imurray
2y ago
Google translate uses TPUs, and has done since they swapped to neural models: https://cloud.google.com/blog/products/ai-machine-learning/a...
45.
▲
by
imurray
3y ago
I've found advice from seat61.com useful a few times. He recommends https://raileurope.com/ -- When I used them back when they were loco2, I was impressed by the customer service. I needed to change my train ticket, so
46.
▲
by
imurray
3y ago
It's nice how it breaks down the patterns, and explains everything step by step. If you would like 3D in-browser animations of a subset of passing patterns, you could look here: https://passist.org/patterns These only
47.
▲
by
imurray
3y ago
Thanks! Adapted into a single command-line version for an alias/script that toggles: pactl unload-module module-loopback 2>&1 | grep -q 'Failed' && pactl load-module module-loopback > /dev/nu
48.
▲
by
imurray
3y ago
This is the quick hack I use to check my microphone is working with my browser: https://homepages.inf.ed.ac.uk/imurray2/tmp/echo_recorder.ht... It's a self-contained page, using just javascript without sendin
49.
▲
by
imurray
3y ago
As a reward for installing ESM/Ubuntu Pro, that version of ffmpeg will break vlc: https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/204274... Manually upgrading the source .deb to the (ABI compa
50.
▲
by
imurray
3y ago
> Although length-1 axes already being in the data sounds worrying: you have an array that doesn't depend on an axis, but there's an axis anyway to show where it would go if it did? Example: A / A.sum(axis=3, keepd
51.
▲
by
imurray
3y ago
Thanks for the pointer. I can believe that a language that looks so different will find that different patterns and primitives are natural for it. My experience from writing a lot of array-based code in NumPy/Matlab is that broadcastin
52.
▲
by
imurray
3y ago
I don't know APL, but from what I found quickly, APL's "conformability" rules[1] only seem to be a subset of the Yorick/NumPy broadcasting? Here's a Python example of broadcasting that APL doesn't seem to
53.
▲
by
imurray
3y ago
Doesn't look like it: https://www.youtube.com/watch?v=imVKSskCB4I#t=3m50s
54.
▲
by
imurray
3y ago
Thanks so much for the IJDb Colin E!
55.
▲
by
imurray
3y ago
The JIS database of clubs was already out of date and not responding to update requests ~25 years ago. For an actively-maintained list of events and clubs there is: https://www.jugglingedge.com/ -- which is where most of th
56.
▲
by
imurray
3y ago
I found an archive of another juggling animator by Paul Klimek, the first known discoverer of siteswap, who called it "quantum juggling": https://web.archive.org/web/20140105002226/https://quant
57.
▲
by
imurray
3y ago
Siteswaps can be juggled with any number of hands, such as the 4 hands of two jugglers: https://passing.zone/4-handed-siteswap/ A really nice web-app for searching and animating passing siteswaps is: https:/&#x
58.
▲
by
imurray
3y ago
You might be interested in David MacKay's old conjugate gradient implementation in C that also only uses derivatives: https://www.inference.org.uk/mackay/c/macopt.html (It was written in another time, don
59.
▲
by
imurray
3y ago
I've also found that DeepL's consistently better or equal when it applies for my personal usage. Some users will care that DeepL doesn't support as many languages, doesn't have TTS, and doesn't offer transliteration
60.
▲
by
imurray
4y ago
While I didn't like the form of the title, I assumed it was referring to other tutorials with similar titles. Indeed there exists "you don't know JS" and "you don't know bash".
More ›