Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nhanb
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
nhanb
9mo ago
>And for the UI I just pipe everything to the system's "less" command. I never thought of that as an option. Thanks for the tip haha.
2.
▲
by
nhanb
9mo ago
By "it" do you mean landlock or fil-c? Also elaboration would be nice.
3.
▲
by
nhanb
11mo ago
I read somewhere that Hacker News should have been named Startup News, and sometimes interactions like the one upthread reminds me of that. I'm not saying it's wrong - if you're good at something don't do it for free and
4.
▲
by
nhanb
1y ago
That's gross misrepresentation. He wrote _lots_ of helpful educational articles on zig that painted it in a good light. I would know because I learned a great deal from his posts when I started with zig. Recently he posted a grand tota
5.
▲
by
nhanb
1y ago
Idk, Andrew's comment seems fair enough to me.
6.
▲
Arcan September Hackathon Report #1
(arcan-fe.com)
2 points
by
nhanb
1y ago
|
0 comments
7.
▲
by
nhanb
2y ago
I once explored doing just that: https://github.com/nhanb/boast However I never got around to finishing it, mainly because I couldn't decide on where to stop: should I also generate commits from all non-master bra
8.
▲
by
nhanb
2y ago
FWIW he _is_ an example already: https://rsync.net/
9.
▲
by
nhanb
3y ago
A static site generator: https://hi.imnhan.com/s4g/ Not the most original of ideas, but I was really sold on djot [1] and wanted something less fussy than pelican [2], so it just happened. [1] https://djot.n
10.
▲
The FreeBSD Appliance [video]
(youtube.com)
2 points
by
nhanb
3y ago
|
0 comments
11.
▲
by
nhanb
3y ago
Husky (android app) does support multi-account. I'm using it right now. I imagine there should be something equivalent for ios. It's not rocket science.
12.
▲
by
nhanb
3y ago
> I didn't get a larger monitor just so that everything can waste more space with giant text. That's what the outer min() is for: it makes sure the font size caps out at 1.3em which usually translates to 16 x 1.3 = 20.8px, whic
13.
▲
by
nhanb
3y ago
You misread. They said the opposite: > Websites in the, (late), 1990s were characterised by many things, but a typical list might include: > - Serif fonts
14.
▲
by
nhanb
3y ago
I would only use this kind of thing on the root element, then size all other elements relative to the root element e.g. h1 { font-size: 1.5rem; }. It's more manageable that way IMHO. Thanks for the tip on clamp() by the way, TIL.
15.
▲
by
nhanb
3y ago
I've always liked ExoticSilicon's design, but not until this post did I realize their smart bit of CSS for default font size: font-size: min(max(1em, 1.3vw), 1.3em); Which explains why it looks just right on my high-DPI Chr
16.
▲
Replying to comments about our web page design
(research.exoticsilicon.com)
282 points
by
nhanb
3y ago
|
203 comments
17.
▲
by
nhanb
4y ago
Yeah that's the one!
18.
▲
by
nhanb
4y ago
Not GP but one disadvantage of updating one huge file is it's harder to do efficient incremental backups. Theoretically it can still be done if your backup software supports e.g. content-defined chunking (there was a recent HN thread a
19.
▲
by
nhanb
4y ago
> Or do you mean that your implementation of fs.FS generates the content on-demand, when net/http serves it? It's closer to this. The actual content was already written to an sqlite db, and my read-only FS allows reading that d
20.
▲
by
nhanb
4y ago
Go's io/fs[0] design is one of the more successful ideas inspired by Plan 9 imho. If we can't have a 9p-centric OS, the next best thing is a 9p-like interface in a language's standard library. For example, I have been de
21.
▲
GrapheneOS – Common usability misconceptions debunked [video]
(youtube.com)
3 points
by
nhanb
4y ago
|
0 comments
22.
▲
by
nhanb
7y ago
Could you share your current phone model and OS?
23.
▲
by
nhanb
8y ago
For python we've been using poetry[1] at work. Dep resolution is a bit slow but otherwise it works well enough, definitely a saner choice than pulling in a completely different stack just for one tool. [1]: https://poetry.eu
24.
▲
by
nhanb
8y ago
cttet probably meant this: https://github.com/mdgriffith/elm-ui
25.
▲
by
nhanb
11y ago
That's in extremely bad taste.
26.
▲
by
nhanb
12y ago
As a web developer, I use VMs to have a completely isolated and reproducible development environment for each project. Vagrant [1] is a popular tool to achieve this, so take a look if you're interested :) [1]: https://www.va
27.
▲
by
nhanb
12y ago
The github repo description says "Deprecated!" [1] Seems like there's not much activity lately either [2] [1]: https://github.com/appjs/appjs [2]: https://github.com/appjs/appjs/
28.
▲
by
nhanb
12y ago
For those interested, someone has been maintaining a list of such acqui-hires: http://ourincrediblejourney.tumblr.com/
29.
▲
by
nhanb
13y ago
(I already posted this reply on his blog, but seems like it has been deleted along with a bunch of other disagreeing comments there) What if you want to add a new element at the top? And even when you need to add it at the end, if you use a