Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rgoulter
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
75 ms
·
961.
▲
by
rgoulter
5y ago
If you can excuse the low quality, here's a video I recorded typing on a smaller split keyboard. https://www.youtube.com/watch?v=g7Msizi1cJ4 I also have videos typing a more difficult symbol-heavy JavaScript program. I
962.
▲
by
rgoulter
5y ago
I think layers are great. Though, when someone says "I don't want a keyboard with layers", it's obtuse to say "you don't want the shift key?!". Many things in tech are trade-offs. There are big benefits wh
963.
▲
by
rgoulter
5y ago
> on a declarative system there should not be a way to add packages without declaring them anyway :) (I'm glad I'm wrong) home-manager is one popular way of declaring what packages should be installed. The nixpkgs manual explai
964.
▲
by
rgoulter
5y ago
The "-i" shortflag is for "--install". The "-A" shortflag indicates that the argument given is an "attribute path". Roughly: without the "-A", the command searches for packages named "g
965.
▲
by
rgoulter
5y ago
This is a pretty good take. Although I'd further emphasise: knowledge of Linux is "necessary but not sufficient" for using NixOS. NixOS requires additional knowledge, rather than a different set of knowledge. I think for many
966.
▲
by
rgoulter
5y ago
I think Nix's syntax is comparable to jq or to some subset of JavaScript (well, the recent ecmascript versions, anyway).
967.
▲
by
rgoulter
5y ago
Rollbacks are a convenient benefit that you get from using Nix. Nix (and guix) allow for a declarative description of a package, (or, e.g. a collection of packages). In addition to rollbacks, I think some of the other benefits are neat. e.g
968.
▲
by
rgoulter
5y ago
One more demonstration like this is in Matt Parker's "Clutching at Random Straws" lecture. https://www.youtube.com/watch?v=sf5OrthVRPA
969.
▲
by
rgoulter
5y ago
The Dumang keyboard uses magnets: http://xahlee.info/kbd/dumang_dk6.html
970.
▲
by
rgoulter
5y ago
> I think I might live with a smaller space bar On typical keyboards, the spacebar is just about the width of 6 keys. -- Comparing what's allocated to the thumb vs to the pinky: the thumb is strong, the pinkies are weak, but the thu
971.
▲
by
rgoulter
5y ago
I think an important part of tech is continuously learning. e.g. if you can't find jobs as a PHP developer, but you see there are many jobs for (say) NodeJS web development, or Golang API development, you may need to learn some things,
972.
▲
by
rgoulter
5y ago
Let alone other 'magical' techniques Ruby affords, e.g. you can re-open a class to monkey-patch more methods in; or even define method_missing so that the methods an object has are dynamic. Some very neat stuff.
973.
▲
by
rgoulter
5y ago
> I can see a name and match that to an import and match that to a package. I like this too, but... I don't find dynamic languages to be very explicit. Given that Python is a dynamic language, I only going to know what I can do wit
974.
▲
by
rgoulter
5y ago
MNT reform is also the best bet at getting a laptop with an ortholinear keyboard. https://www.reddit.com/comments/ocf32y (I've seen some thinkpads with PCBs which use the Kailh chocs, but I don't think the la
975.
▲
by
rgoulter
5y ago
Most of those feature in this list of recommended defaults https://github.com/commercialhaskell/rio#language-extensions which is cited as an example in simplehaskell's page on recommendations. https://w
976.
▲
by
rgoulter
5y ago
Although I see nix is required, it would be possible to run the ihp-new program with just nix installed, but without needing to change your PATH permanently. e.g. with a shell.nix file with contents: { pkgs ? import <nixpkgs> {} }
977.
▲
by
rgoulter
5y ago
I like the term 'simple haskell' more. It links to a few blogposts with similar sentiments. http://simplehaskell.org/
978.
▲
by
rgoulter
5y ago
The idea of "a perfect code editor which could instantly provide the solution you want" reminds me of this commitstrip comic: https://twitter.com/commitstrip/status/885146229281366017 One person explains
979.
▲
by
rgoulter
5y ago
There were many things I liked about the Windows Phone OS. The alphabetical listing UI is far better than what Android/iOS have. (in iOS you can jump to a specific letter with a precise tap along the side. In WP, you could tap on a let
980.
▲
by
rgoulter
5y ago
As someone who has only touched Haskell for hobbyist stuff, I wish this got more attention: https://www.simplehaskell.org/
981.
▲
by
rgoulter
5y ago
https://ourworldindata.org/extreme-poverty This page provides some useful info. With just the briefest of glances, some cited numbers: 1.9 billion people in extreme poverty in 1990, 730 million in 2015, 650 million in 2018.
982.
▲
by
rgoulter
5y ago
Right. I think saying 'Vim/Emacs aren't as good as other editors because they're unapproachable to new learners' is like saying 'Linux is a worse OS than Windows because it's hard to use'. -- Sure, yo
983.
▲
by
rgoulter
5y ago
There's more to vim keybindings and modal editing than "nav keys on home row". e.g. if the editor has the line `println("Hello |World")` where the cursor is at |, you can change the whole text inside the ""
984.
▲
by
rgoulter
5y ago
A moonlander keyboard makes for an interesting comparison here: It's worth taking time to learn something to get a better experience. Keyboard layering takes some time to get used to (especially if you can already use a standard keyboa
985.
▲
by
rgoulter
5y ago
> Obviously the solution would be "just learn vim already" but I'm lazy. Vim keybindings are great. :) But I'd rather people learn vim keybindings out of curiosity rather than necessity.
986.
▲
by
rgoulter
5y ago
For one, yeah, I think in important part is that the choice of technical tools is made for good reasons. A default, boring choice is probably okay. A more exciting choice might be okay. For people who pick NodeJS.. for some, it may be the o
987.
▲
by
rgoulter
5y ago
I think golang makes for an interesting example: Your program won't compile if you have unused imports, or even unused variables. Which is low-friction for maintenance. You're not going to have to worry if deleting something is
988.
▲
by
rgoulter
5y ago
Ah, you're right. I mainly meant to emphasise how it was a less severe word than in the US.
989.
▲
by
rgoulter
5y ago
I think it inevitably comes down to trade-offs. If you can write highly maintainable code without paying the cost of slower speed, surely that's a winning strategy. But I suspect an increase in maintainability means "more friction
990.
▲
by
rgoulter
5y ago
Steve Yegge had a series of essays where he discussed two flavours of programmers. "liberal", which e.g. likes lower-friction dynamic languages, prefers magic to boilerplate; and "conservative", which e.g. would prefer t
More ›