HNHacker News
TopNewBestAskShowJobs

theCodeStig

143 karma · joined May 18, 2015

submissionscomments
theCodeStig··on Elixir Livebook is a secret weapon for documentation
Org-babel can do a lot of this, no?
theCodeStig··on Show HN: DevPod – Codespaces but Open Source, Client-Only, and Unopinionated
Are there any plans for an iPadOS client?
theCodeStig··on IKEA Redesigns Its Bestsellers
IKEA furniture, is essentially temporary and disposable. Consider the environmental impact.
theCodeStig··on Scala Resurrection
Scala's type inference is not very good, especially in comparison with Haskell
theCodeStig··on Scala Resurrection
The Java ecosystem is hardly a benefit
theCodeStig··on Scala Resurrection
They aren't diametrically opposed, though OO methods obscure function composition (point-free style).
theCodeStig··on Scala Resurrection
Over 9 years of Scala here. Scala definitely has quite a few warts.
theCodeStig··on Emacs 29 is nigh
This echos my set up, and it's quite stable, particularly if the overlay is pinned.
theCodeStig··on Emacs 29 is nigh
I use Nix on macOS to install emacs. No special ports.
theCodeStig··on Ask HN: Sites like Hacker News but in other languages
There was gambe.ro, which was an Italian site like Lobste.rs. Unfortunately it’s down now.
theCodeStig··on In defense of linked lists
Assuming rust or other systems language.

Linked lists are optimal for head access; not random access. For random access, yes a vector would be better.

theCodeStig··on Functional programming should be the future of software
Haskell has to have an escape hatch in order to work, though fortunately it is hidden away.

Every program has effects. A program that does not have any effects (IO) would not be useful, as you can't get anything into or out of it. In FP we manage those effects, in order to help ensure correctness, with the additional benefit that good effect management makes the program easier to comprehend (nee reason about).

Contrast a procedural program with effects littered throughout the codebase, with a program wherein effects are pushed to the edges. In the latter, you and your team know exactly where all of the effects occur. Everything else is pure code: easier to test, easier to comprehend, easier to compose.

Category theory is not required for good effect management. It just so happens that monads like IO fit the problem space nicely; although the same could be achieved with a lazily evaluated definition of computation (i.e. a function).

theCodeStig··on Functional programming should be the future of software
Exactly my point above, about Java.
theCodeStig··on Functional programming should be the future of software
> Not a pure function at all. And not really a function either. Just a mapping.

A function is a mapping of an input to an output.

theCodeStig··on Functional programming should be the future of software
In contrast, I find juniors to be the easiest to teach. Those with more experience, are stuck in their ways, often stubbornly.
theCodeStig··on Functional programming should be the future of software
Unfortunately, a lot of Java programmers write imperative code in Java. Although I have seen "good" Java programmers write "good clean code", it's the exception, rather than the norm. Most of the good Java programmers that I know have moved on to better languages and platforms.
theCodeStig··on Diode: Build, program, and simulate hardware projects in the browser
Does it simulate “magic smoke”?
theCodeStig··on Show HN: IHP v1.0 – Batteries-included web framework built on Haskell and Nix
The academic analogue would be: Programming in Haskell, by Graham Hutton http://www.cs.nott.ac.uk/~pszgmh/pih.html
theCodeStig··on Scala isn't fun anymore
Cats effect can do the same
theCodeStig··on We want to make Nix better
What aspect of lambda calculus is not declarative?
theCodeStig··on We want to make Nix better
Laziness, and purely functional go a long way toward declarative.
theCodeStig··on We want to make Nix better
Not all lisps are declarative, but a lisp certainly can be declarative.
theCodeStig··on We want to make Nix better
Ok then, would you consider markup languages declarative, XML... XSLT?
theCodeStig··on Launch HN: Artemis (YC S22) – Use comments to give code an interactive interface
To avoid duplication of input/output tags; it would be nice to have a bridge that coincides with existing documentation comment tools. For example Scaladoc has @param, and @return.
theCodeStig··on Launch HN: Artemis (YC S22) – Use comments to give code an interactive interface
It’s like the inverse of org-babel
theCodeStig··on I spent a year designing a low profile, minimal mechanical keyboard
I think auto-switch to USB makes a lot more sense. That’s also how the Apple keyboards, and trackpads work.
theCodeStig··on Why your daily stand-ups don't work and how to fix them
This sounds eerily familiar. Let me guess, there were sprint planning sessions that went on for hours. More time was allocated to planning the work, than for the actual work.

Replacing one dogma (waterfall) with another (dogmatic agile), is not agile.

theCodeStig··on An accentuated Emacs experiment (à la macOS)
This is great! Have you considered to make this into a package?
theCodeStig··on Shimano Forces Hammerhead to Remove All Di2 Related Functionality From Karoo
I hear you but... I myself, would not be trying to ride the best line, and hit every apex on a descent that I'm not intimately familiar with. I'd take it slow, and exercise caution until I am intimately familiar with the entire route.
theCodeStig··on I got a computer science degree in 3 months for less than $5000 (2020)
What is TESU?
← PreviousPage 2 of 5Next →