HNHacker News
TopNewBestAskShowJobs

bkq

596 karma · joined January 28, 2019

submissionscomments
bkq··on NordVPN Review
When it comes to VPN providers you're essentially moving your traffic from your ISP to the provider itself, so it's not entirely private. If you want to be absolutely sure that no logs are kept, then you're best off running your own VPN somewhere, so you remain completely in control.
bkq··on Life Is Good in America, Even by European Standards
>Many Americans used to admire the UK’s National Health Service, but right now the whole system is ailing.

As a byproduct of the austerity measures from the past 12 years. Though, I'd much rather have an NHS over what the US has, where healthcare is rationed through private insurers and drives people into debt.

Another commenter mentioned this coming off as a weird article. I think it comes off as just plain arrogant. Pointing to Europe that has suffered from the pandemic, and now suffering from the Russian invasion of Ukraine, and going "Now the US is doing better than Europe". It's a pretty disgusting attitude to have.

Overall, this just reeks of that arrogant American exceptionalism.

bkq··on How to pay your rent with your open source project (2020)
They wrote another article about how they went about building a $1M ARR open-source SaaS [1]. This details some of their approach to building the product in public as a form of marketing. The building in public approach works, if you already have a platform to stand on in my opinion. As someone who also has an open-source SaaS they're trying to market, I sometimes think if I should have also taken this approach, despite not having any reach at all.

[1] - https://plausible.io/blog/open-source-saas

bkq··on Ex-Twitter exec blows the whistle, alleging reckless cybersecurity policies
It is rather disconcerting how a platform that is apparently rather integral to the discourse of today is in the hands of a single private company. It doesn't matter who owns it, if it's Musk or someone else, the fact that it's at the whims of a private company, is the primary channel for discourse, and is something legislatures cannot even comprehend because of their age, should have alarm bells going off. Coupled with the fact that there is lacking IT education about hardware/software means that there is an environment that is ripe for the encroachment of digital rights, as we've been seeing this past decade.
bkq··on This is how I wrote those old Doctor Who scripts
Makes me think of Dune (2021) that was written on MS-DOS [1], also of GRRM who still uses Wordstar for writing too [2].

One thing GRRM notes about wanting to use Wordstar is how modern word processors nowadays will auto-correct as you write, either inserting a capital letter, or correcting a typo. Which no doubt can be annoying. The few times I've had to use a word processor I always end up gnashing my teeth at the "useful" features they have on offer.

I'm of the opinion that software should make the fewest assumptions as possible about what the user wants to do, ideally, software should be dumb not smart.

[1] - https://www.vice.com/en/article/wxdeay/the-dune-screenplay-w...

[2] - https://techcrunch.com/2014/05/14/george-r-r-martin-writes-e...

bkq··on A sane SSH(1) key management example
Really like the approach here. In the past, I've typically managed my SSH keys by naming them as id_<purpose> like so, then tinkering with the ssh_config to make use of them.

Never thought of using the token approach, though, definitely makes things simpler to work with.

bkq··on Ask HN: How do I disable middle-click paste in Chrome?
Middle-click paste functionality is something that is part of either Wayland or Xorg, so the solution will vary depending on which one you're using. From doing some preliminary search I came across this thread with a potential fix for Xorg: https://www.linuxquestions.org/questions/linux-newbie-8/disa...
bkq··on GitHub deleted accounts of people who contributed to Tornado Cash repos
For those wondering Tornado here appears to refer to Tornado Cash [1].

[1]: https://www.aljazeera.com/news/2022/8/8/us-announces-sanctio...

bkq··on What happened to simple, basic web hosting?
I'd argue simple web hosting still does exist. For my personal site I simply run a $5 Linux box on DigitalOcean, and SCP the files I want to host to it inside the /var/www directory. That's simplicity, no clunky CPanel interfaces or anything, just SCP.
bkq··on OneDev – A Lightweight Gitlab Alternative
You mention CI being done in a distributed fashion. Could you elaborate on what you mean by this?

I'm asking as I'm someone who has developed a CI platform [1], and one of its features is the offline runner [2]. The offline runner allows you to run your CI builds on your own computer, and does not communicate with the CI server whatsoever. Is this what you had in mind?

[1] https://about.djinn-ci.com

[2] https://docs.djinn-ci.com/user/offline-runner/

bkq··on Incident Report for Confluence
According to their Twitter the root cause of this was a maintenance script that was ran https://twitter.com/Atlassian/status/1511870509973090304. Must have been one hell of a maintenance script to knock out this many services, and cause potential data loss.
bkq··on The Joy of Small Projects
I've worked on simple projects, but nothing I would consider small in the sense that I had them done in a matter of hours. But it is satisfying having a project come together in terms of completion, even more so when you reap the benefits of its use. The one that comes to mind for me would be the static site generator I built for my site, something I spent some time working on as I continued to use it, and tweak it for my needs.
bkq··on Scala's Gitter-to-Discord migration mistake
>Information on Gitter is public, it does not require an account to read; >Information on Gitter can be linked from across the web; >Information on Gitter being public, is indexed by search engines and is being archived;

Regarding these points, is this really a necessity when the Scala community seems to have a public Discourse for both users [1] and developers [2]? A real time chat is not really an ideal place for information to be stored in the long term, forums would be a far better place for that. A chat would typically be for here and now discussions about Scala, and any one off issues people may need help with, what with the forum serving the more long form discussions that would benefit from being indexable by a search engine.

[1] https://users.scala-lang.org/

[2] https://contributors.scala-lang.org/

bkq··on Ask HN: Do you watch streams (on Twitch, etc.)?
I think a stream format could work if it was heavily focussed and structured. The main developer of SerenityOS [1][2] I know streams the work they do fairly often, and aims to keep segments within an hour, and focussed on a single issue. I think an ideal structure would be 1 hour of focussed work, where you explain what you're doing, followed by a Q&A session where you could go into detail about the decisions you made.

Typically with most programming streams what happens is you watch people silently mash the keys on their keyboard, whilst listening to music, and occasionally talking to themselves about what they're doing, and not really imparting that much knowledge or interacting much.

[1] https://www.youtube.com/c/AndreasKling/videos

[2] https://serenityos.org/

bkq··on Show HN: Djinn CI an open source CI platform
Hey everyone, author of Djinn CI here. I initially "launched" it last year, but didn't really publicise it that much short of off-hand mentions here and there in some comments across the internet. Since then, I've been the primary user, and have been slowly working on fixing bugs, improving usability, and working on some features. The most recent release for this is v1.2 which I've written about here: https://blog.djinn-ci.com/announcements/2022/04/05/v1-2-rele....

The main motivation for this was to learn Go. I wanted something meaty that I could sink my teeth into, so I chose a CI platform to build. I chose Go because from the standpoint of deployability, it made sense, have everything compiled into a single statically linked binary (including the HTML and CSS assets) I could just drop on to a server.

The platform offers an offline runner which can be used to execute build manifests, without having to submit them to the server, provided you have the necessary software configured. This can be useful in instances where you simply want to test the build manifest you have written up to see if it works as expected before submitting to the server.

There is still some work for me to do regarding the hosted platform, for example I need to setup a status page, and I need to work on getting an automated mechanism in place to keep the base QEMU images we have on offer updated. As of now, the hosted version has the Docker driver disabled, but I will enable this at some point should interest for it grow. I also need to work on custom Docker images too, since we only support custom QEMU images.

If you would like to get a feel for the UI of Djinn CI itself, then feel free to navigate through the public namespace which is used for building the platform itself here: https://djinn-ci.com/n/djinn-ci/djinn

My intention around this is to grow it out slowly. Feel free to send any questions you may have my way about this.

bkq··on Show HN: Req, an HTTP Scripting Language
Author here, I wrote up a blog post explaining what the language is and why I created it, https://andrewpillar.com/programming/2022/02/26/req-an-http-....
bkq··on SRE Teams: Hash
Having worked with some banks on software deployments I feel this pain. Waiting weeks for a CR to be processed just so they can apply a single patch. Diminishing returns in this regard are a real thing.
bkq··on Unix Toolbox (2008)
There's jc [1], that can return the JSON output of standard Linux CLI tools.

[1] - https://github.com/kellyjonbrazil/jc

bkq··on How to build a search engine with common Unix tools (2018) [pdf]
>How do you deal with words like "---" in your text that look like the match separator of grep?

For this one you can use the "--" flag to signal that everything else should be treated as an argument.

    $ grep -rn -- -
bkq··on Ask HN: Do you feel that the software industry is stagnating?
I get the feeling that most consumer software is consolidating on a single universal platform (the web). Whereby soon the web browser will essentially the gateway through which most users do their computing.

Rob Pike wrote Systems Software Research is Irrelevant [1], which I recommend you give a read based off the question.

[1] - http://doc.cat-v.org/bell_labs/utah2000/utah2000.pdf

bkq··on Ask HN: Curious to know if people still use IRC?
I infrequently hang out in the #go-nuts channel on freenode.
bkq··on Sourcehut's Year in Alpha
>I'm not sure what "Composable Unix-style mini-services" means.

Each service can be hosted independent from one another I'd imagine. Contrary to GitLab where each service, Git hosting, CI, ticketing, is all bundled into a single monolithic application.

bkq··on Ask HN: How do you organize and manage database migrations?
I've developed a simple migration tool called mgrt [1] to handle database migrations. It takes plain SQL files, and runs them in order, keeping a hash of the contents of the file in the database to ensure that it cannot be modified once run for the first time. I've posted about it here once before [2]. Check it out if you like.

Right now it only supports SQLite, MySQL, and PostgreSQL.

[1] - https://github.com/andrewpillar/mgrt

[2] - https://news.ycombinator.com/item?id=19517001

bkq··on Ask HN: Where to “hang out” online these days?
>4Chan is 4chan, some niche boards are great, but media bias.

When you curate the boards effectively, you can come across some nice generals for your interests.

bkq··on Ask HN: Show your own blog/vlog
https://andrewpillar.com

Blog a little about some of the programming I do in my free time. Most recent post I wrote was about using first class functions for idiomatic query building in Go [1].

[1] - https://andrewpillar.com/programming/2019/07/13/orms-and-que...

bkq··on Ask HN: File-based password manager for Linux
This sounds very similar to pass [1]. Are you looking for a password manager that fills these needs, or looking to develop what you have described?

- [1] https://www.passwordstore.org/

bkq··on Slack was down
I honestly don't know how Slack can tout themselves as the email killer [1], when they seem to have rather consistent downtime.

[1] https://www.nytimes.com/2019/06/19/style/slack-replace-email...

bkq··on One Program Written in Python, Go, and Rust
>What I like to do is to make the last arg take a struct such that you indirectly have named (and optional) arguments:

Rob Pike, and Dave Cheney both posted about this [1][2]. They summarised that using self-referential functions were a more optimal way for handling options to a function. This gives the benefit of allowing the options to be easily extensible by yourself, and any users that would be interacting with your API.

[1] - https://commandcenter.blogspot.com/2014/01/self-referential-...

[2] - https://dave.cheney.net/2014/10/17/functional-options-for-fr...

bkq··on 102KB ought to be enough for any email
The same subset that is used by Discord, and Slack. So mostly blockquotes, code, lists, bold, strikethroughs, and italics come to mind.
bkq··on 102KB ought to be enough for any email
Perhaps only a subset of Markdown.
← PreviousPage 2 of 3Next →