Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
JoshuaRLi
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
JoshuaRLi
6y ago
Happy to see PEP 582 gaining traction, the last attempt I saw in this space was https://github.com/cs01/pythonloc .
2.
▲
Walks in San Francisco
(joshuarli.substack.com)
1 points
by
JoshuaRLi
6y ago
|
0 comments
3.
▲
by
JoshuaRLi
6y ago
> The only thing that matters is wall clock time so if cache layout is making a 300% difference to wall clock, focusing on instructions counts will mislead you on the most impactful optimization to make Ahh, very well said!
4.
▲
by
JoshuaRLi
6y ago
It isn't surprising to me that instruction counts as a performance metric would have less variance than wall time. Did you know that the environment size can actually affect wall time? > We see that something external and orthogonal
5.
▲
by
JoshuaRLi
6y ago
I suspect it might be something mentioned in https://github.com/masukomi/arc90-readability . I believe it's what powers "readability" view in modern browsers (firefox https://github.com/mo
6.
▲
by
JoshuaRLi
6y ago
Have a look at https://github.com/zyedidia/micro , which has those keybindings by default. Mouse support too. Completely eliminated the text editing learning curve for me, and years later, I still use it happily. Edit:
7.
▲
by
JoshuaRLi
6y ago
Yeah, I was happy to see the switch away from C random/srandom or rand/srand. Not my area either, but a little surprised why a PCG-family non-CSPRNG algorithm wasn’t used: https://www.pcg-random.org/posts/a-qu
8.
▲
by
JoshuaRLi
6y ago
Love how my old Galaxy S6 is stuck on ancient Android 7. And it's the verizon version too, so I can't unlock the bootloader. Perfectly capable device, what a shame. Switched to iPhone SE a while ago because of this.
9.
▲
by
JoshuaRLi
6y ago
Maybe https://github.com/anacrolix/torrent/tree/master/cmd/torrent... ?
10.
▲
by
JoshuaRLi
6y ago
On my work laptop (macOS Catalina), I get a bunch of `in-addr.arpa` - seems to be reverse lookups. Is that the case for you, too?
11.
▲
by
JoshuaRLi
6y ago
go mod init github.com/your/project Then, go get -v will download your dependencies to GOPATH, and (re)generate go.mod, go.sum. For info on how to update dependencies, read `go help get`. When using modules (presence of a valid go
12.
▲
by
JoshuaRLi
6y ago
I switched from pointing various things to cloudflare to simply using NextDNS a while ago, and it's just excellent. The onboarding flow was way faster and easier than I thought it would be (fantastic setup documentation). Configuration
13.
▲
by
JoshuaRLi
6y ago
> Even worse, iOS forces you to use a fake VPN to change DNS servers at all on cellular! This is a major pain point for me - I'm trying to use both NextDNS and Tailscale on my iPhone SE 2016, and confirmed that they clash with each
14.
▲
by
JoshuaRLi
6y ago
Agree with all these points (also an iPhone SE 2016 user). One more point to consider is whether or not the iPhone SE 2016 will continue to get OS updates.
15.
▲
by
JoshuaRLi
6y ago
Yes. I've long been impressed with the single core performance and power efficiency of apple's mobile SoCs. Same-generation SoCs used on a variety of androids can't even compare. Google Maps for example was running like total
16.
▲
by
JoshuaRLi
6y ago
This looks pretty clean! The enhanced readability reminds me of Wikiwand. If you're looking for a bit of feedback, the search doesn't seem to handle fast typing well. I tried searching for "Frank Chu" and it seems that i
17.
▲
by
JoshuaRLi
7y ago
Shameless plug: I rewrote the "dotfile-relevant" featureset of GNU stow in plain python as a PoC of a simpler batch symlinker: https://github.com/joshuarli/sym-prototype It's worked really well for me. U
18.
▲
by
JoshuaRLi
7y ago
> the general public actually doesn’t care about privacy at all It's not that people don't care; privacy is probably undervalued in the context of making privacy vs. convenience/utility decisions. (Digital) privacy's
19.
▲
by
JoshuaRLi
7y ago
At least on linux, go's native resolver follows a sane subset of glibc conventions like parsing /etc/nsswitch.conf, /etc/resolv.conf, /etc/hosts [1]. As long as your dns configuration is defined there, you
20.
▲
by
JoshuaRLi
7y ago
Hi Dima - I'm assuming you're aware of dnscrypt-proxy and wrote nss-tls because you wanted a lighter weight implementation of a subset of dnscrypt-proxy's features on a specific platform (linux/glibc, for example this wo
21.
▲
by
JoshuaRLi
7y ago
see https://www.reddit.com/r/css/comments/bb73cw/58_bytes_of_css...
22.
▲
by
JoshuaRLi
7y ago
Very cool - thanks for sharing, and the shoutout (consider also replacing 38rem/2rem with 70ch/2ch)!
23.
▲
by
JoshuaRLi
7y ago
https://github.com/joshuarli/dotfiles/blob/master/misc/firef... Also have a bunch of umatrix rules, but not inclined on sharing those. Regarding gmail, keep a pinned tab open on about:memory and per
24.
▲
by
JoshuaRLi
7y ago
I have never had any performance or memory related issues with firefox, on a modest xps 13 9343 with 4gb ram. In fact, with regular usage, firefox rarely exceeds 2gb usage, and cpu usage is never an issue. Though I have tweaked my firefox q
25.
▲
by
JoshuaRLi
7y ago
Exactly this. The "purity" of OSS development needs to be reflected in the "purity" of donations for this to work. Small donations should represent nothing more than a token of appreciation. Large donations, well... mone
26.
▲
by
JoshuaRLi
7y ago
Agreed. Although alternatively, some ARM SoCs have relatively weak iGPUs, which make them great hobbyist headless machines.
27.
▲
by
JoshuaRLi
7y ago
The recent STX form factors are a wonderful boon to SFF consumer computing, and this is a welcome step towards wider SFF adoption. Looking forward to the gradual miniturization of desktops, love efficiency at lower TDPs.
28.
▲
by
JoshuaRLi
7y ago
Right, there's always going to be some additional cognitive overhead with every new tool you adopt. The question is how much you value its benefits for your use case, and is it worth those costs. If you're so used to find, and it
29.
▲
PEP 594 – Removing dead batteries from the standard library
(python.org)
3 points
by
JoshuaRLi
7y ago
|
1 comments
30.
▲
by
JoshuaRLi
7y ago
fd is excellent for casual interactive use, i've had a great UX with it and performance feels on par with GNU find.
More ›