Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rraval
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
rraval
3y ago
No mention of libgfshare, which comes with utilities `gfsplit` and `gfcombine`: https://manpages.ubuntu.com/manpages/trusty/man1/gfsplit.1.h... We use it in production to pregenerate a pool of certificate req
2.
▲
by
rraval
4y ago
> But ctypes being a terrifying pain in the ass, people tread very carefully around it. I'm not sure how much people treading carefully actually translates into safety in practice. CPython in particular has ad-hoc refcounting semant
3.
▲
by
rraval
4y ago
https://snapdrop.net is my go to for this. Works on any modern browser on the same LAN. Supports files and plain text. Previous HN discussion: https://news.ycombinator.com/item?id=25524472
4.
▲
by
rraval
4y ago
Hah, you beat me to this by a minute. I guess I'm not the only one that looks back on this paper with fondness.
5.
▲
by
rraval
4y ago
Related: Graham Hutton's classic paper: a tutorial on the universality and expressiveness of fold [PDF]: https://www.cs.nott.ac.uk/~pszgmh/fold.pdf Section 5.1 walks the reader through implementing foldl in terms
6.
▲
by
rraval
5y ago
> I separate file backup and version control. I keep every git repository I'm working on in Dropbox, and don't ever worry about how often I'm committing and pushing. Motivated by a slightly different use case (seamless syn
7.
▲
Effective terminal presentations with asciinema and doitlive
(zeroindexed.com)
1 points
by
rraval
5y ago
|
0 comments
8.
▲
by
rraval
5y ago
I too wanted to preserve privacy and avoid a cookie banner for my blog. I ended up rolling a privacy preserving proxy via Cloudflare workers that forwards `pageview` events to Google Analytics. It's a single HTML tag to drop in and pre
9.
▲
by
rraval
5y ago
I evaluated both Plausible and Matamo as privacy preserving analytics options for my blog, and ended up rolling my own solution for cost reasons. Cloudflare workers and Pulumi make this pretty trivial to self host. Here's the Show HN t
10.
▲
by
rraval
5y ago
I was able to make the switch over cold turkey after ~11 years of ArchLinux. By sheer happenstance, I blogged earlier this week about one particular killer feature that doesn't get enough air time: https://news.ycombinator.c
11.
▲
by
rraval
5y ago
> How do NixOS users typically manage software that is not a Nix package By writing a Nix package for it (I don't mean for this to sound flippant, tone is a bit hard to convey over text). For example I have this alpha quality rust b
12.
▲
by
rraval
5y ago
> I don't think it's a perfect analogy, but I see what the author is getting at - you need to break the abstraction of some packaging tool, but you want the functionality it provided to still work as well as possible. You got i
13.
▲
by
rraval
5y ago
Thanks, I didn't know about this. It's been about a decade since I actually used Gentoo and I was writing from the hip. I've published a correction: https://zeroindexed.com/nix-ejection-problem#on-gentoo
14.
▲
Nix solves the package manager ejection problem
(zeroindexed.com)
68 points
by
rraval
5y ago
|
49 comments
15.
▲
Show HN: Synchronize work-in-progress Git branches in a light weight fashion
(github.com)
2 points
by
rraval
5y ago
|
0 comments
16.
▲
PGP encryption subkeys are less useful than I thought
(zeroindexed.com)
2 points
by
rraval
5y ago
|
1 comments
17.
▲
by
rraval
5y ago
My blog [1] has expanded commentary on the motivation: > I thought that surely in 2021, somebody would have built a simple page view counter that I could just plug into my dinky blog for minimal cost. I ended up evaluating all the popula
18.
▲
Show HN: Toph, privacy preserving analytics for my blog
(github.com)
1 points
by
rraval
5y ago
|
2 comments
19.
▲
by
rraval
6y ago
We use StackExchange's blackbox to check in GPG encrypted secrets into our monorepo: https://github.com/StackExchange/blackbox
20.
▲
by
rraval
6y ago
Accumulating loop results in an array is bad for perf, but won't necessarily cause logic bugs. My favourite implicit return gotcha comes from the intersection of CoffeeScript and jQuery, where implicitly returning `false` from an event
21.
▲
by
rraval
6y ago
> What statically typed language lets me define a type as “number between -180 and +180”, or “string which contains only alphanumeric chars”? Pretty much all of them. Any simple predicate like this can be encoded with witness types. Here
22.
▲
by
rraval
7y ago
This... isn't even using the `make` part of Makefiles at all. If you look at the final example, every [1] rule is marked as `.PHONY`. `make` bundles 2 capabilities: a dependency graph and an out-of-date check to rebuild files. This dem
23.
▲
by
rraval
7y ago
> That being said though, I'd expect that a tuple would satisfy a `any[]` type. You have it backwards, the error in question is complaining that `any[]` does not satisfy the tuple type. Minimal repro: function f(x: any[]): [nu
24.
▲
by
rraval
7y ago
That's fair, I too use a trucker's hitch for the ridgeline of a tarp. However, I'll use adjustable grip hitches for the guylines. That lets me freely adjust how my tarp is placed and holds up the tension reasonably (from expe
25.
▲
by
rraval
7y ago
Incidentally, my favourite knot of all time is also listed first: the adjustable grip hitch, https://www.animatedknots.com/adjustable-grip-hitch-knot Take 5 minutes out of your day, find a small piece of rope (or CAT5, head
26.
▲
by
rraval
8y ago
> If the username could be an email address (or the email address is a required field on signup) you don’t have to pass back a message saying that the username is already taken. You simply let them go through the flow and do verification
27.
▲
by
rraval
8y ago
I disagree with the section titled "Username enumeration and the impact on anonymity". The author is trying to make the point that you shouldn't tell users that their username is invalid in a password reset flow. The author t
28.
▲
by
rraval
8y ago
As you say, I'd question the technical motivation for enforcing uniqueness on unicode data in the first place (and as a primary key on top of that???) However, if someone really wanted to accomplish this, they could probably use Postgr
29.
▲
by
rraval
8y ago
> the solution for which is to use icu We ran headfirst into this issue at my company and we've actually been recommending the opposite (use the "C" locale on the database, treat collation as a render level concern). I hav
30.
▲
by
rraval
8y ago
This is my attempt to be sympathetic to the GP's point of view, perhaps they have a different example in mind. One example comes from the new-style / old-style classes distinction and the method resolution order when considering m
More ›