Better HN
topnewbestaskshowjobs
Log inSign up

theCodeStig

143 karma · joined May 18, 2015 (11y ago) · 149 submissions

Submissions

comment 3w ago · link · parent

At the very least, you could have given it a cute Italian grandmother mascot

comment 3w ago · link · parent

I’m a big fan of Hurl for this purpose. It’s just a thin declarative layer over curl.

https://hurl.dev/

comment 1mo ago · link · parent

I use nix-darwin as a replacement for homebrew, and it’s served me well for circa 8 years. Nix isn’t for everyone, but I find it to be far more stable.

comment 1mo ago · link · parent

They also have a museum in Singapore, which I highly recommend.

comment 1mo ago · link · parent

Yes, exactly that. Org predates Markdown, however the Achilles heel is that it's tied to Emacs. I love Emacs, but I can't (ethically and pragmatically) force any editor/IDE on anyone. And as soon as a lone emacser commits an org file to a repo, it creates a disconnect.

Markdown (although it doesn't adhere to a strict standard) is ubiquitous, and support for Ledge notebooks degrades gracefully. If one doesn't have Ledge installed to run it, it can be assumed that their editor is able to render markdown. Even opened in a plain text editor, markdown is a lot easier on the eyes than org (IMHO).

UX matters.

comment 1mo ago · link · parent

As an Emacs user for over a decade I think this is brilliant, it solves my biggest gripes with org-babel which prevent me from using it in a team setting. Ledge is a lot like org-babel from Emacs, but for muggles: a familiar UI, and common format go a long way.

comment 2mo ago · link · parent

Those are two of their products that are actually solid wood. No coincidence

comment 3mo ago · link · parent

I will now forever call tokens “slop rations”. Thank you for that ;)

comment 9mo ago · link · parent

There are many, but one particular example is the type syatem.

comment 10mo ago · link · parent

I’m an adult with combined type ADHD. I feel very strongly that any device which has other apps is a terrible tool for ADHD management and organization. No matter how well intentioned, and I know that you are.

One needs to spend less time on devices. Go analogue. Pen and paper. The best tool that I have found is the Bullet Journal Method. It takes time, effort, and there is a learning curve. The ROI is higher than from any app. No other tool has impacted my life and productivity more.

That said, I have found some tertiary apps to be helpful, though my BuJo is my compass. Endel for time boxing/Pomodoro, and sleep. Headspace for guided meditation.

No, it doesn’t have to be aesthetic, with pretty lettering and doodles (as seen in social media).

comment 11mo ago · link · parent

With Metals the Scala 3 development experience is better; plus one is no-longer tied to one specific IDE.

comment 2y ago · link · parent

No, you're right. It is perfectly clear from the type signature

comment 2y ago · link · parent

Exactly. I've long held the sentiment, that pure functional programming is easier than imperative programming. The only hard part, is switching from an imperative mindset.

comment 2y ago · link · parent

Meta, Jane Street, IO Global, Standard Chartered Bank

comment 2y ago · link · parent

Has anyone tried Uno with F#?

comment 2y ago · link · parent

9 years in Singapore, and I’ve never gotten Myna feces on my pants (nor anywhere else on my person)

comment 2y ago · link · parent

It's an Indian ringneck parakeet (aviculture name) https://en.wikipedia.org/wiki/Rose-ringed_parakeet

comment 2y ago · link · parent

Sounds like you have a sun conure

comment 2y ago · link · parent

predators hunt, humans farm

comment 2y ago · link · parent

One can run Emacs in the terminal. What’s the use case for this?

comment 2y ago · link · parent

This is definitely true in Asia

comment 2y ago · link · parent

Here we go again

comment 2y ago · link · parent

Lispy https://github.com/abo-abo/lispy

comment 3y ago · link · parent

I use exa daily, and this is the first time that I’ve heard of eza. From a marketing standpoint, eza should be merged upstream.

comment 3y ago · link · parent

I trialed a similar set up with code-server for a few weeks, and was shocked at how well it works, provided stable and fast internet access.

Although VSCode is impressive, at the end of the day, I'm an emacser. I went back to: emacs in a terminal over mosh, accessed with Blink Shell on the iPad; or access the same instance over Microsoft Remote Desktop for a desktop experience.

comment 3y ago · link · parent

The compiler/type system is your friendly assistant. Learn to use it, and it's your greatest asset.

comment 3y ago · link · parent

This exactly.

The Scala community caters a lot to JVM/Java inter-op, and to recruitment of Java engineers. In the peak-hype days, Java compatibility, and Scala for Java engineers learning resources were a huge selling point for Scala. Now it is one of its greatest weaknesses holding it back. Even as late as June 2023, the second edition of Functional Programming in Scala is catered toward Java programmers.

Functional purity is an option in Scala (no pun intended), and the org/team must have the collective discipline to write pure code in-order to make it work.

Pure/lazy effect handling is not included, one must use a 3rd party library. There should be one, or a small handful of compiler options which would enforce purity by the compiler. There isn't. The -Xlint options are not easily discoverable. WartRemover is a 3rd party library, which doesn't get enough visibility. Some of the "good stuff" from Typelevel should be absorbed into the standard lib.

The numeric types are not ergonomic, there is no natural number type for example.

I haven't had issues with Haskell tooling, though I also use Nix. On the flip side, I've never heard anyone say "I love SBT". Yes there are alternatives to SBT (Mill for example), but again they suffer from low visibility. Martin Odersky has admitted faults with SBT, and praised Mill; yet, what does the Scala community push... SBT.

comment 3y ago · link · parent

It's like a specialised case of org-babel for the masses.

Anyone with emacs can do this today, for free. The huge caveat is that it requires emacs. Where this tool shines, is that it's a superset of markdown, and thus not tied to any particular editor.

comment 3y ago · link · parent

Yes, most likely. Many organisations are still tied to manual/semi-manual deployments due to company policy or regulatory compliance (banks for example).

comment 3y ago · link · parent

You’re right. I love emacs, though I must admit it’s quite a barrier to entry
12345