HNHacker News
TopNewBestAskShowJobs

bartbes

305 karma · joined May 31, 2012

[ my public key: https://keybase.io/bartbes; my proof: https://keybase.io/bartbes/sigs/j_9UeRUxLLF13lmXp8-QAcU3pP66LFXGqk69Fj-wmCc ]
submissionscomments
bartbes··on Cdecl – Turns English phrases into C declarations
Sure. Here's one: https://godbolt.org/z/vWl4NE
bartbes··on Learn just a little Awk (2010)
Easily solved by just keeping some state:

    /^=====/ { inentry = !inentry; next }
    inentry
Possibly without 'next' if you want the marker lines too.
bartbes··on Vim 8.1
You can go to terminal-normal mode using ctrl-w N, and then you can select and yank as usual. To paste, you can use ctrl-w " <register>. Also see :help terminal.
bartbes··on How do groups work on Linux?
You can load your .profile into your current shell using either '. ~/.profile' or 'source ~/.profile'.
bartbes··on OpenSSH Keys: A Walkthrough
The "key" in that sentence, the one that gets padded, is the (RSA) private key, not the AES key.
bartbes··on Using Gmail with Mutt
Sure, but you can revoke them without changing your password or revoking other app passwords, making it much easier to recover if they do leak.
bartbes··on Using Gmail with Mutt
I was honestly surprised to see all this gpg setup, yet no mention of application-specific passwords. I've been using email clients with what google now calls an "App password" for years.
bartbes··on Gopherpedia: The Gopher Interface to Wikipedia
Looks like it only supports the english wikipedia: https://github.com/muffinista/gopherpedia.com/blob/master/fe...
bartbes··on TOTP SSH port fluxing
I think they mean "remove the last digit".
bartbes··on Ask HN: Why is it still so hard to host your own email/calendar that just works?
Thanks, I'll give those a go!
bartbes··on Ask HN: Why is it still so hard to host your own email/calendar that just works?
I see a lot of replies on the mail side of things, but I don't really see anything detailing solutions for calendars.

Any recommendations on "the rest": calendar, notes, contacts?

I've looked at owncloud before, but that's a fairly large-footprint php project, are there any decent self-hosted alternatives, either as a suite or as separate programs?

bartbes··on How computer programming languages for kids have evolved and where they're going
Something that kind of mimics the C64 experience is load81: https://github.com/antirez/load81
bartbes··on Embedding PyPy in a C application
That was a really interesting talk, thanks for sharing!
bartbes··on Global Task Exchange Protocol
It sounds to me like the OP is actually looking for SRV records, which are basically generalised MX records.
bartbes··on Possible BGP hijack
Why would they be blocking it? Google promotes 8.8.8.8 as the primary dns server, and, as far as I know, as long as it keeps answering, clients won't fall back to the secondary 8.8.4.4.
bartbes··on Show HN: Hasp – A minimal CSS preprocessor using the M4 macro language
I just started using it (for nothing serious). I'm going to have so much fun when I rediscover this in a year or so.
bartbes··on Show HN: My SSH server knows who you are
As much as the keys contain public data, I wouldn't consider (but it apparently is) the list of keys with access to my github account public data. Github willingly reveals information about pseudonyms, etc.

This is a data vs metadata thing, the data is public, but who it belongs to, and what one can do with it need not be.

bartbes··on Fun with BPF, or, shutting down a TCP listening socket the hard way
The rest of the blog post seems to imply the application needs to be aware this is happening anyway, so it can clear the backlog, so it may as well be in charge of this. Conveniently, this also means (setuid) root is never involved at any point, whereas it would be for your iptables solution.
bartbes··on A game whose source code fits in one tweet
A few years ago I put a tiny game in a data uri in a QR code, unfortunately I lost the QR code, but I thought it was a neat concept.
bartbes··on Two self-driving cars involved in 'near miss' in California
Should probably resync the title to the article, I'm guessing the guardian realised a "near miss" is a hit.
bartbes··on Perl Cannot Be Parsed: A Formal Proof (2008)
Except that doesn't change the way 'spew("hello")' is parsed, as far as I know. The 'proof' given for perl actually means you can't fully parse the file without also running it.
bartbes··on Add Amazon root certificates
It's always hard to read such light grey text, I misread it as "giving them our private keys".
bartbes··on Add Amazon root certificates
Which is why certificate signing requests contain only the public key.
bartbes··on LLMNR, Multicast DNS and Names on Your LAN
Bit disappointing that it mentions a script that produces a bridge, then never names it or links it.
bartbes··on Using BitTorrent with Amazon S3
That's 40 gigabit limited, I suppose.
bartbes··on Hacker tries to compromise and resell an internet-facing Linux server
The owner of HutHos does appear to be female, so that may be related?
bartbes··on How We Use Make
It's really only relevant when specifying multiple targets, like 'make clean all', or the more common 'make all install'. It just seemed odd to me.
bartbes··on How We Use Make
Then I'd like to bring to your attention that you can have the @ come from a variable too, which means you can have conditionally silent files too. That always seemed to me like the perfect middle ground between silent compiles and knowing what's going on if things do fail.
bartbes··on How We Use Make
I realise their standard probably doesn't include all, but it seems like the obvious choice. Maybe I've just been conditioned by autotools, but I think it's standard practice to have all be your default target.
bartbes··on How We Use Make
It's interesting how they list targets that have "practically become a convention", yet they're missing "all".

I'm also intrigued by their claim they used @ in the recipes, yet they never did.

Page 1 of 2Next →