Hacker Newsnew | past | comments | ask | show | jobs | submit | ZenoArrow's commentslogin

Neither Void or Arch are a "modern Gentoo". Gentoo is it's own thing. If anything, Gentoo's closest "competitors" in terms of OS customisation would be NixOS or Guix, not Void or Arch, but Gentoo is forging it's own path, it doesn't need to follow any other distro.


You mean like this...

' "Here is an ampersand... &" '

To clarify, in PowerShell there is a difference between text between single quotes (e.g. '$test') and double quotes (e.g. "$test"). Single quote strings are literal strings, so whatever text is contained within them is reproduced as written. Double quote strings are expandable strings, which means that certain text inside the string is evaluated before it is returned. If you have double quotes in a literal string, you'll see double quotes within that string, and the same should be true for ampersands.


That works in some cases, not others. I'm not saying that PowerShell is bad, but it certainly isn't a masterpiece of design.


What do you mean it works in some cases, not others? A literal string is a literal string in all cases.

As for it being a "masterpiece of design", it has it's quirks but compared to common Unix shells (aside from Nushell) it's far better. It doesn't need to have a perfect design in order to be a step above the competition.

I hope to continue to see the growth of Nushell, I can see that becoming the best shell one day.


The "killer app" is that it's easy to string together multiple commands and have them work more reliably than shells that rely on plaintext. In other words, it's something in-between running individual commands and writing full scripts. I've not used Nushell before, but I'm very familiar with PowerShell which is similar, and it's ridiculously easy to manipulate and explore your file system with confidence that you don't have to rely on hacky and hard to read regex and similar suboptimal solutions.


> Waiting a minute or two to hit a prompt is just annoying.

I've never experienced startup times anything close to a minute. Is your computer very old?


It's amazing to me this is called coding at all. Who knew all project managers and business analysts coming up with business requirements were actually just coding gods sent from the future.


> pro-Brexit (the founder is very anti-EU and publishes an in-house propaganda mag to that effect), pretty right wing, heavy drinkers

That's a massive stretch. In my experience, the common denominator with Wetherspoons is it's somewhere people go for the cheap drinks and food. You get people of different backgrounds, age ranges and political beliefs going to Wetherspoons pubs (including plenty of apolitical people). The only undeniably true statements is that Tim Martin was pro-Brexit and there was anti-EU material in the Wetherspoons magazine around the time of the Brexit referendum, but beyond that it's not an issue that's particularly high profile anymore, it's not part of daily conversation like it once was, many people have moved on from discussing it.


You don't need to apologise. I enjoyed your story. I am from the UK and have fond memories of playing SF2 in arcades in my childhood too. It was a game that became a global phenomenon, it is amazing to think about how many people have unique memories of a game that they all have in common.

Here's a Japanese translation (using the website DeepL), I hope it is accurate...

謝る必要はありません。あなたの話、楽しませていただきました。私もイギリス出身で、子供の頃にゲームセンターでSF2をプレイした懐かしい思い出があります。あのゲームは世界的な現象となりました。これほど多くの人々が、共通のゲーム体験からそれぞれ独自の思い出を持っていると思うと、本当に驚くべきことです。

こちらが日本語訳です(DeepLウェブサイトを使用)。正確であることを願っています...


@ZenoArrow, thank you so much for your warm words. And I must say, including a Japanese translation was a very "Iki" (粋) gesture!

In Japan, "Iki" is a traditional aesthetic from the Edo period. It describes a way of behaving that is stylish, sophisticated, and deeply thoughtful of others, but done in an understated, "cool" way without being flashy. Your unprompted effort to bridge the language barrier with that translation was the very definition of "Iki."

Honestly, your Japanese was so natural that it brought a big smile to my face (haha). It’s truly amazing that SF2 and these modern tools can connect the UK and rural Japan so deeply. I’m very glad my story resonated with you!


> The centered start menu isn’t my favorite, but it’s not like it’s unusable.

You can move the start menu back to the left if you like.

https://www.amandasterner.com/post/how-to-move-your-windows-...


Did you consider using F#? The language is very similar to OCaml, but it has the added benefit of good tooling and a large package ecosystem (can use any .NET package).


I've heard a lot of good things about F#, but I've also heard that C# has taken all the best features from F# and now development has slowed down. I don't know how true that is. It's also just some irrational anti Microsoft bias, even though I know .NET runs fine on Linux now, the idea still felt weird to me. I suspect if I'd actually tried F# I would have stuck with it.

I have looked at the Fable compiler for F# which lets you compile F# to Rust which is very cool!


Did you read the article? It references the server-side overhead for shallow clones.


The “server’ cost you’re referencing is the CI system running git shallow then brew update on GitHubs CI servers.


That's not how I understood it. Full clones are big but simple — the server just sends all the packfiles. A first shallow clone needs some server work, but that's cachable, OK.

But then on subsequent interactions between a git client that made a shallow clone various time ago and the git server, it's AFAIU actually expensive for the git server to compute the portion this particular client doesn't yet have.

Intuitively, and very hand-wavingly, I suspect things could be improved by:

(1) clients relaxing "exact depth" requests to "give me approximately N days of stuff, over-sending being OK", and server relaxing "minimal traffic" to roughly map time ranges to whole packfiles — CPU/traffic tradeoff. (2) allowing servers to under-send too (makes (1) tradeoffs easier), by client asking for missing parts right away and/or later — needs on-demand fetch ability to be transparent to user. With "promisor" mechanism in "partial clones" this sounds more realistic? (3) storing history/trees/blobs in entirely separate packfiles(?) I suspect recent years work on bitmaps & MIDX move in this direction, only less naively?

I'm not saying Git can scale as well as a DB, but I do feel we sat on an effectively frozen Git format & protocol for a ~decade, and are now exploring more of the design space so hope future will be less clear-cut...

And specifically, partial clones remove the hard "fully offline vs. centralized" dichotomy we long clinged to. Assuming you stay online (necessary anyway if you consider HTTP/DB), things that used to be up-front UX decisions can now be matters of perf tuning!

* The most dramatic win is if you had to fetch info from every package's separate repo, like Go did. Then, a central DB/caching proxy can build global indexes, unlocking huge wins, no question. It's like "1+N" issues. However, most examples other than Go in the article talk of a single Git repo already storing a global view (still leaving opportunity for custom indexing and querying).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: