Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
JNRowe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
901.
▲
by
JNRowe
6y ago
It isn't shown in TFA, but the zcalc keymap is bindable in the line editor so not only can you use it like qalc/irb/luap/whatever you can also take advantage of any other functionality of zsh within it. Admittedly, you
902.
▲
by
JNRowe
6y ago
I'd guess that xorcist added a space at the end of the function name because zsh uses =( to specify one type of process substitution. Without the space or an escape for = zsh will error on alpaca128's definition believing you w
903.
▲
by
JNRowe
6y ago
I'm a zsh user, and I disagree on it not being much of an issue. It is very easy to inadvertently rely on all manner of zsh-specific behaviour in scripts. Short form logic syntax, builtins with different arguments, internal stat&#x
904.
▲
by
JNRowe
6y ago
If you're looking to go full rabbit hole, the zsh native scripting handbook is good for a few examples. Easy to end up in linenoise if you're not careful though. A fair few really nice zsh things in zdharma's GitHub repos t
905.
▲
by
JNRowe
6y ago
In which case, I've won! Seriously though, I think you were probably lucky to have experienced zsh that way. The out of the box experience is incredibly bare. Said as a fellow oh-my-zsh user going back the full twelve years, accordin
906.
▲
by
JNRowe
6y ago
When actually inside vim Tim Pope's excellent vim-projectionist has a wonderfully useful feature for flipping between various related files(:h projectionist-alternate). The whole plugin is really cool, it makes it so simple to configu
907.
▲
by
JNRowe
6y ago
Built-in zsh behaviour in fact, oh-my-zsh just enables some extremely useful non-default options. With a compinit call the directory substring expansion will work. And, with auto_pushd enabled cd fiddles with the directory stack. The .....
908.
▲
by
JNRowe
6y ago
Not for you, but perhaps for others who also like that behaviour. With zsh you can enable the auto_pushd option, which makes cd manipulate the directory stack itself. You could probably simply alias cd as pushd too under zsh too, but in ba
909.
▲
by
JNRowe
6y ago
"CDPATH=<str>" without the export will work as you'd want, and won't pollute the environment for subshells and scripts. It is unlikely you really want to export anything listed in the shell variables section of th
910.
▲
by
JNRowe
6y ago
I wonder if the simplest "trick" is to do the exact opposite. Name your ~/.sqliterc something else, and then "alias sqlite3='sqlite3 -init ~/.sqliterc-interactive'" in your shell's config? Altho
911.
▲
by
JNRowe
6y ago
I've been really enjoying the litecli experience. Having been a ptpython¹ user I already knew about prompt_toolkit², but somehow had missed litecli. This comment is just a general recommendation for Python users to have a poke around
912.
▲
by
JNRowe
6y ago
I like Tom Morris' bees repository¹ as an example of recruiter practice, because you can really feel the frustration in the README. ¹ https://github.com/tommorris/bees
913.
▲
by
JNRowe
6y ago
Oi, you can't leave us hanging like that! I'd really love to read it if you have a link, even more so after the extra paragraph in your HN bio.
914.
▲
by
JNRowe
6y ago
Last week's discussion on this has over 500 comments, many of which are quite insightful. https://news.ycombinator.com/item?id=26080760
915.
▲
by
JNRowe
6y ago
Until you pointed it out I hadn't realised requests had stopped bundling all its deps¹, but that does make me wonder to what extent bundling distorts the usage statistics. For example, packages such as pip bundle over a dozen packages
916.
▲
by
JNRowe
6y ago
I feel like the increase in wheel width may have had the biggest effect on the tyre shift. It was hard to buy a road wheel that wasn't a 15mm bead width a few years ago, and it is becoming difficult to buy wheels that are not >20mm
917.
▲
by
JNRowe
6y ago
I wonder how much of it is basically a fashion issue? It is increasingly unusual to see new road bikes near me that are basic tubular constructions, to the point it feels like part of the design is simply showing that they're heavil
918.
▲
by
JNRowe
6y ago
While Nuntii Latini¹ shut down a couple of years ago, their back catalogue is still available². It won't put the new in news, but it is less stale than Latin ;) ¹ https://en.m.wikipedia.org/wiki/Nuntii_Latini ²
919.
▲
by
JNRowe
6y ago
chubot, I have to say I really admire your dedication! I only follow oilshell to the extent that I read your articles and dip in to the wiki, but even that is a joyful learning experience.
920.
▲
by
JNRowe
6y ago
> You don't edit raw png values either However, for when you want that there is SNG¹. It can be a surprisingly fun way to perform minor corrections or filters to an image. ¹ http://sng.sourceforge.net/
921.
▲
Debugging C Code on macOS
(julien.danjou.info)
5 points
by
JNRowe
6y ago
|
1 comments
922.
▲
by
JNRowe
6y ago
[Expanding my comment from another post on this¹] Direct links to the PEPs themselves, to perhaps save others a little time. Although the LWN write up linked in TFA is a very nice introduction to the topic and its big discussion in the c
923.
▲
by
JNRowe
6y ago
Direct links to the PEPs themselves, to perhaps save others a little time. Accepted: Specification https://www.python.org/dev/peps/pep-0634/ Motivation and Rationale https://www.python.org
924.
▲
by
JNRowe
6y ago
I don't believe I said it was. Let me try again. My point was that in the places where you may choose to use something else, but are firmly in the ocaml camp, then F# feels like it would be a more natural choice.
925.
▲
by
JNRowe
6y ago
So, I get that there is momentum behind rust but I'm still a little surprised they're hitching themselves to that as opposed to F#. I'm obviously missing the big picture, but it just feels like if you want ocaml but can'
926.
▲
by
JNRowe
6y ago
This is one of the many cool things that zsh comes with out of the box. It ships an autoload-able colors¹ script that does largely the same thing as your fragment, but you know it available wherever zsh is. In much the same way it comes wi
927.
▲
by
JNRowe
6y ago
While all of these projects are amazing. Yours is the one that made me genuinely smile, thanks for that! There is something so charming and cheerful about creating a niche tool to support a niche tool. Edit to add: Well documented too,
928.
▲
by
JNRowe
6y ago
Also, loved that show although I never really knew why. In series four, there was an episode in the US¹ that I found quite jarring with the discussion of prehistory finds only a few hundred years old. Obviously, the term has a different
929.
▲
by
JNRowe
6y ago
Wikipedia link for quirky 30 year old UK computer -- https://en.m.wikipedia.org/wiki/SAM_Coupé
930.
▲
Sam Coupé Screen$ Converter
(mfitzp.com)
1 points
by
JNRowe
6y ago
|
1 comments
More ›