<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: mkdirp</title><link>https://news.ycombinator.com/user?id=mkdirp</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 17 Apr 2026 10:29:39 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=mkdirp" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by mkdirp in "Keycloak: Open-Source Identity and Access Management"]]></title><description><![CDATA[
<p>Pretty sure it's because the core devs are RH employees, who owns Quay. Seems reasonable to keep things on your own infra.<p>Having said that, I know there has been some falling out between RH and Docker some time ago, which was one of the reason RH ended up creating Podman.</p>
]]></description><pubDate>Wed, 04 May 2022 12:02:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=31259297</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=31259297</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31259297</guid></item><item><title><![CDATA[New comment by mkdirp in "Go's Concurrency Examples in Java 19"]]></title><description><![CDATA[
<p>This is also part of how you could interrupt `time.Sleep`.<p>> In Go there is less noise, but also there no way to interrupt Go's time.Sleep.<p>The full piece would be something like:<p><pre><code>    func sleepCtx(ctx context.Context, delay time.Duration) {
        select {
        case <-ctx.Done():
        case <-time.After(delay):
        }
    }

    func main() {
        fmt.Printf("%v\n", time.Now())
        ctx, cancel := context.WithTimeout(context.Background(), 500*time.Millisecond)
        defer cancel()
        sleepCtx(ctx, 1*time.Second)
        fmt.Printf("%v\n", time.Now())
    }
</code></pre>
Runnable example on Go playground: <a href="https://go.dev/play/p/S5TY3CRmsYO" rel="nofollow">https://go.dev/play/p/S5TY3CRmsYO</a></p>
]]></description><pubDate>Wed, 04 May 2022 07:44:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=31257807</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=31257807</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31257807</guid></item><item><title><![CDATA[New comment by mkdirp in "Show HN: Favicons for HN"]]></title><description><![CDATA[
<p>Sorry! I meant to integrate the favicons into the extension, not to integrate the extension into the website :)</p>
]]></description><pubDate>Wed, 20 Apr 2022 15:18:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=31098181</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=31098181</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31098181</guid></item><item><title><![CDATA[New comment by mkdirp in "Show HN: Favicons for HN"]]></title><description><![CDATA[
<p>As an aside, there's Refined Hacker News[0] which seems like it would be a great option for this to be built into. It has lots of great features while keeping things minimal.<p>[0] <a href="https://github.com/plibither8/refined-hacker-news" rel="nofollow">https://github.com/plibither8/refined-hacker-news</a></p>
]]></description><pubDate>Wed, 20 Apr 2022 12:54:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=31096143</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=31096143</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31096143</guid></item><item><title><![CDATA[New comment by mkdirp in "Podman Desktop Companion GUI – Parity on All Major Operating Systems"]]></title><description><![CDATA[
<p>Why not?<p>Podman has an almost identical CLI to Docker, and can have a daemon that is fully Docker compatible (thus, all Docker integrations work against it including docker-compose). It is literally a drop-in replacement but it doesn't require your company to buy licenses. So yes, you should if you can.</p>
]]></description><pubDate>Sat, 16 Apr 2022 21:09:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=31056126</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=31056126</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31056126</guid></item><item><title><![CDATA[Golds is an experimental Go local docs server, docs generator, and code reader]]></title><description><![CDATA[
<p>Article URL: <a href="https://go101.org/apps-and-libs/golds.html">https://go101.org/apps-and-libs/golds.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=31051576">https://news.ycombinator.com/item?id=31051576</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Sat, 16 Apr 2022 11:48:43 +0000</pubDate><link>https://go101.org/apps-and-libs/golds.html</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=31051576</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31051576</guid></item><item><title><![CDATA[New comment by mkdirp in "Hints for Writing Unix Tools (2014)"]]></title><description><![CDATA[
<p>Aah, thank you so much! Very helpful!</p>
]]></description><pubDate>Sat, 02 Apr 2022 12:33:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=30887741</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30887741</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30887741</guid></item><item><title><![CDATA[New comment by mkdirp in "Useful Shell Prompt (2020)"]]></title><description><![CDATA[
<p>If you're running zsh, I suggest using powerlevel10k[0]. It is stupid fast, and extremely customisable.<p>[0] <a href="https://github.com/romkatv/powerlevel10k" rel="nofollow">https://github.com/romkatv/powerlevel10k</a></p>
]]></description><pubDate>Sat, 02 Apr 2022 11:54:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=30887523</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30887523</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30887523</guid></item><item><title><![CDATA[New comment by mkdirp in "Hints for Writing Unix Tools (2014)"]]></title><description><![CDATA[
<p>On a related note, there was an article/website that talked about how to design the ux of a cli tool properly. E.g. how to design the arguments among other things.<p>I've been struggling to find it again. Does anyone remember what the article/site was called?</p>
]]></description><pubDate>Sat, 02 Apr 2022 09:57:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=30887038</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30887038</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30887038</guid></item><item><title><![CDATA[New comment by mkdirp in "Vim Color Schemes"]]></title><description><![CDATA[
<p>I used dracula for a while, but I just can't deal with it during the day. So I've been looking for a uniform light theme for day time coding. I hope nord theme can fill in the gaps there, but it looks like it's still early days for it.</p>
]]></description><pubDate>Sat, 02 Apr 2022 08:58:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=30886832</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30886832</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30886832</guid></item><item><title><![CDATA[New comment by mkdirp in "Vim Color Schemes"]]></title><description><![CDATA[
<p>I came across the themer.dev the other day. It's comes close to this, but I struggled to get a theme to be consistent across apps. There are still some apps it doesn't support.</p>
]]></description><pubDate>Sat, 02 Apr 2022 08:56:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=30886826</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30886826</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30886826</guid></item><item><title><![CDATA[New comment by mkdirp in "My macOS keyboard shortcuts"]]></title><description><![CDATA[
<p>GNOME does this too. Their reasoning was exactly what your parent commenter said. I can't find a link now. Not that it's helpful to you, but there is a GNOME extension that does away with the 200ms delay.</p>
]]></description><pubDate>Fri, 01 Apr 2022 23:31:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=30884386</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30884386</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30884386</guid></item><item><title><![CDATA[New comment by mkdirp in "Authorization in a Microservices World"]]></title><description><![CDATA[
<p>As in OPA determines if a user has access to a resource? Do you have some resources on how to do this?</p>
]]></description><pubDate>Fri, 01 Apr 2022 16:02:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=30879632</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30879632</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30879632</guid></item><item><title><![CDATA[New comment by mkdirp in "OpenBB wants to be an open source challenger to Bloomberg Terminal"]]></title><description><![CDATA[
<p>> There's an old adage "pick your battles".<p>I suppose, so we shouldn't try breaking monopolies any more? There are plenty of examples where $big_corp is basically ubiquitous to $their_market until $competitor comes along.<p>The data Bloomberg uses can probably mostly be licensed outside of Bloomberg. Nothing stopping from these guys getting at least some of that data. Being it is open source, it likely means you can pick and choose your data instead of having _everything_. At which point the price can go down.</p>
]]></description><pubDate>Fri, 01 Apr 2022 15:12:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=30878937</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30878937</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30878937</guid></item><item><title><![CDATA[New comment by mkdirp in "My macOS keyboard shortcuts"]]></title><description><![CDATA[
<p>> Command-Backtick: cycle current application’s windows<p>For the Brits among us, or perhaps anyone with a non-US keyboard layout, I recall when I still had my Mac, this wasn't mapped properly. It was the button on the right of the left shift. This was quite strenuous when I had to switch within the same application. I can't remember if I just re-mapped the shortcut or what it was, but I suggest you look into having that mapped to the button right above Tab (below ESC). It makes it a lot easier.</p>
]]></description><pubDate>Fri, 01 Apr 2022 13:21:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=30877806</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30877806</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30877806</guid></item><item><title><![CDATA[New comment by mkdirp in "Go mod’s lesser known features"]]></title><description><![CDATA[
<p>I'd love to understand what you think the issue is. I feel like go dependencies have been extremely easy since modules were introduced and I've rarely had issues.</p>
]]></description><pubDate>Fri, 01 Apr 2022 10:14:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=30876671</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30876671</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30876671</guid></item><item><title><![CDATA[New comment by mkdirp in "Go mod’s lesser known features"]]></title><description><![CDATA[
<p>I can shed some light on some of your questions for you.<p>> most of the documentation talks of gopath<p>Historically go used a GOPATH env var. Go code had to live under there under `$GOPATH/src/<module-path>`. When doing an import, go would look at the import path, and find it in GOPATH. This wasn't flexible enough but still exists under the hood as it's where go saves (caches?) packages globally. If you have a go.mod/go.sum file in your project, in general, you won't have to worry about GOPATH.<p>Worth noting that go, while widely used, was created to solve Google's problems (I guess at least initially?), where (from my understanding) they have a huge monorepo. At that point, having everything live under such a GOPATH somewhat makes sense.<p>> why are go mod vendor and go mod tidy different commands?<p>Go mod vendor puts all the dependencies in a ./vendor directory. Often used to commit your packages directly into git. There might be other advantages, not sure, but personally I don't use it. Go is able to pick up the packages in your go.mod directly from $GOPATH.<p>Go mod tidy ensures your go.mod matches your used package. E.g. if you remove usage of a package in your code, go mod tidy is able to pick that up. In addition, it also ensures your go.sum matches go.mod.<p>> the lack of “one true way” is very strange. some projects module. some projects check in dependent source code<p>This is a historic issue. Prior to 1.12 (I think), go modules didn't exist, and there were different community projects that attempted to solve go package management.<p>> do i download with go get? or go install? or go get -u?<p>Again, historic issues, iirc go get -u forces an update of a package, meaning this updates your go.mod file. Go get without -u does not force update the package. It update your go.mod file if you haven't included the module previously. Go install is used for go main packages. It fetches the code, builds it (so it must be a main package), and puts the final binary in $GOPATH/bin. Assuming you have that in your patch, you can use it straight away.</p>
]]></description><pubDate>Fri, 01 Apr 2022 04:25:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=30875180</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30875180</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30875180</guid></item><item><title><![CDATA[New comment by mkdirp in "Cryptocurrency doesn’t address the hard parts of financial inclusion"]]></title><description><![CDATA[
<p>Which part? The part that I quoted was the last paragraph of the article with only a paragraph of hiring opportunities afterwards, unrelated to the article..</p>
]]></description><pubDate>Thu, 31 Mar 2022 20:54:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=30872087</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30872087</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30872087</guid></item><item><title><![CDATA[New comment by mkdirp in "Cryptocurrency doesn’t address the hard parts of financial inclusion"]]></title><description><![CDATA[
<p>Right, I never said you can trust exchanges. You do not have to use an exchange. That's the whole point of the decentralised nature of cryptocurrencies.</p>
]]></description><pubDate>Thu, 31 Mar 2022 15:23:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=30868235</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30868235</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30868235</guid></item><item><title><![CDATA[New comment by mkdirp in "Cryptocurrency doesn’t address the hard parts of financial inclusion"]]></title><description><![CDATA[
<p>Cryptocurrencies have never claimed they address the hardest parts of financial inclusion. Cryptocurrencies solve the issue of trust.<p>> We need to keep track of our customers’ account balances.<p>Right. That's what the blockchain is able to do. It can assert that you, who says you have 1 bitcoin in your wallet, actually really have 1 bitcoin in your wallet (assuming no attack vectors such as 51% attack).<p>> We need them to trust that their Wave balance is correct and Wave won’t lose the money.<p>This is the same argument as above.<p>> We need to comply with relevant regulations—know-your-customer laws, capitalization requirements, account limits, etc.<p>Not something cryptocurrencies have claimed they can solve.<p>> We need to provide an easy way for users to exchange their balance for cash and vice versa.<p>This is an implementation detail, and entirely depends on how the UX of the wallet is. Sure running a CLI tool and GUI that looks like it's from 2008 (at least it was last time I looked at bitcoin's GUI) isn't great UX, but you can build a different GUI for it. Something plenty of exchanges have already done.<p>> Of course, the above aren’t the main use cases of cryptocurrency today: those are speculation, theft, extortion, more theft, drugs, even more theft, and speeding up climate change. It remains to be seen whether legitimate, productive uses of cryptocurrency will ever justify the hype. We hope so!<p>There it is. This is just an article blindly bashing cryptocurrencies. I implore you to ask yourself, what has previously been used to do all the above? That's right. Fiat currencies such as the GBP, USD, and other currencies.<p>I may possibly be biased, because, I certainly believe cryptocurrency has its place, though I don't believe it will replace fiat. But this article is just unnecessary fear mongering with zero merit.</p>
]]></description><pubDate>Thu, 31 Mar 2022 15:11:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=30868088</link><dc:creator>mkdirp</dc:creator><comments>https://news.ycombinator.com/item?id=30868088</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30868088</guid></item></channel></rss>