Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stevelosh
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Learning Nalbinding
(stevelosh.com)
1 points
by
stevelosh
15d ago
|
0 comments
2.
▲
by
stevelosh
2y ago
If you were around in the 80's and 90's you might have already memorized the prime 8675309 ( https://en.wikipedia.org/wiki/867-5309/Jenny ). It's also a twin prime, so you can add 2 to get another pr
3.
▲
by
stevelosh
2y ago
That quote is from https://berthub.eu/articles/posts/immune-system/ Could have also seen it via https://jsomers.net/i-should-have-loved-biology/ which quotes it directly
4.
▲
by
stevelosh
4y ago
I've been using it during the beta and plan on paying for it once they start charging. Previously I had tried switching to DuckDuckGo, but found myself using !g half the time because I knew the DDG results would be garbage compared to
5.
▲
by
stevelosh
4y ago
Alternate source, with fixed formatting: https://gist.github.com/mjdominus/3841427
6.
▲
by
stevelosh
5y ago
Common Lisp isn't that esoteric! (defun fun-reader (stream arg) (declare (ignore arg)) (read-delimited-list #\⸨ stream t)) (set-macro-character #\⸨ (get-macro-character #\) nil)) (set-macro-character #\
7.
▲
by
stevelosh
5y ago
NES tetris and modern tetris are VERY different games. NES tetris didn't have hard drop, hold, SRS, 7-bag randomizer, or multiple piece previews, all of which are in all modern guideline tetris games and can help you go faster. Tetr.
8.
▲
by
stevelosh
5y ago
WR for 40L is 14.9 by Reset[1] last I heard. 15 is definitely humanly possible. [1]: https://twitter.com/jstrisgame/status/1424548438096683011
9.
▲
by
stevelosh
5y ago
If your goal is to force a touch to decrypt passwords, https://www.palkeo.com/en/blog/perfect-password-manager.html works. You can keep the GPG private key on a Yubikey and require a touch to decrypt.
10.
▲
by
stevelosh
5y ago
The user might copy a block of text with multiple URLs, all of which get pulled out by the grep.
11.
▲
by
stevelosh
5y ago
The golang one also silently drops rows.Err() on the floor. https://golang.org/pkg/database/sql/#Rows
12.
▲
by
stevelosh
5y ago
Paper: https://www.sciencedirect.com/science/article/pii/S0022202X1... > For instance, in our work, we noted that the algorithm appeared more likely to interpret images with rulers as malignant. Why? In ou
13.
▲
by
stevelosh
5y ago
Postmodern can do the right thing if you use prepared queries. See `defprepared`.
14.
▲
by
stevelosh
6y ago
You can set this up with `pass` and a Yubikey: https://www.palkeo.com/en/blog/perfect-password-manager.html
15.
▲
by
stevelosh
6y ago
> However, the CL type system is very much lacking compared to Rust or Haskell. I'm hoping one day someone will make a statically, strongly typed Lisp that still doesn't sacrifice its flexibility and expressive power. I'd
16.
▲
by
stevelosh
6y ago
I don't use/like Roswell, so I'd really prefer a .deb if at all possible.
17.
▲
by
stevelosh
6y ago
Thirded. I would also add Clasp to my projects' list of implementations to run unit tests on[1] if I could easily install it on Ubuntu with a .deb. [1]: e.g. adding a test-clasp clause to https://github.com/sjl/cl
18.
▲
by
stevelosh
6y ago
> Are there any other languages that change as slowly as C? ANSI Common Lisp has had the same spec since 1994. (This is not a problem, because Common Lisp gives you enough high and low level power to do (almost) whatever you want in user
19.
▲
by
stevelosh
7y ago
`n` is the position in the sequence: n=1 = (mod (* 1504170715041707 1) 4503599627370517) = 1504170715041707 n=2 = (mod (* 1504170715041707 2) 4503599627370517) = 3008341430083414 n=3 = (mod (* 1504170715041707 3) 4503599627370
20.
▲
by
stevelosh
7y ago
I guess years of using single page Javascript webapps where the back button is a complete shitshow has trained me to not even consider trying it. I'm impressed it actually works on Google Maps.
21.
▲
by
stevelosh
7y ago
I just recorded a two minute video me of me trying to do this. Maybe it will help you understand why people like Gravis (and myself) are frustrated. The video is at http://paste.stevelosh.com/1983.webm but it's a lit
22.
▲
by
stevelosh
7y ago
This would save me literally thousands of lines of code at my day job: (defmacro ?= (symbol-or-symbols expr) (let* ((symbols (etypecase symbol-or-symbols (cons symbol-or-symbols) (
23.
▲
by
stevelosh
7y ago
> That's also probably not the best example, since that's also trivial if you have an editor supporting multiple cursors. Yeah, it's hard to come up with a decent example because I don't even think about it any more
24.
▲
by
stevelosh
7y ago
You're talking about how it's easy to move to a function or a file, and then you're "ready to edit", but edanm is talking about actually doing the editing . For example: say I jump to this function and want to fix
25.
▲
by
stevelosh
7y ago
https://github.com/wee-slack/wee-slack#threads
26.
▲
by
stevelosh
7y ago
> Handling large arbitrary JSON objects where I need to operate on their keys but don't need to work with their values by unmarshaling to map[string]interface{}. If you just need the keys, you should unmarshal to `map[string]json.Ra
27.
▲
by
stevelosh
7y ago
And the fourth: scope creep.
28.
▲
by
stevelosh
7y ago
> For example the bell character, after which Bel is named, is \bel
29.
▲
by
stevelosh
7y ago
The anonymous pipes are also called "process substitution", and are done with `psub` in fish: sjl at alephnull in ~/scratch/tmp ><((°> diff -U0 (ls -1 | psub) (ls -1 | grep -v foo | psub) --- /
30.
▲
by
stevelosh
7y ago
Yeah I considered trying some dynamic-extent declarations but just didn't care all that much. Can you post your version? I'm curious how far into the declaration weeds you need to go to get that extra 2x. EDIT: I'm also cur
More ›