Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rgrau
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
31.
▲
by
rgrau
6y ago
For fast iteration with pipes, using only basic unix tools, and arguably less risky to fat-fingering, I write it in a file, and use watch -n1. Easy to modify, temporarily comment parts of it, etc... Also, I wrote this plog function (for pi
32.
▲
by
rgrau
6y ago
Yep, https://github.com/sshaw/git-link and it's available in melpa
33.
▲
by
rgrau
6y ago
There is some special casing in the ifs conditions though. Even if you `set -e`, the command in the test can fail and your script won't exit.
34.
▲
by
rgrau
6y ago
There's also closh ( https://github.com/dundalek/closh ) which also provides scripting capabilities appart from the pure interactive shell. As a newcomer to clojure my question is: what would be the practical differ
35.
▲
by
rgrau
6y ago
Incognito mode works. There's this userscript I created a few days ago that can open the incognito window for you in those cases: https://gist.github.com/kidd/d53ca34477c45ee927105fc03b41797... . Not rocket scien
36.
▲
by
rgrau
6y ago
It's been ages (literally) since I felt so helplessly out of a conversation not being able to check a reference instantaneously. Weird feeling...
37.
▲
by
rgrau
6y ago
Each one of the fonts default in the CSS to 'Comic Sans MS' :)
38.
▲
Splash 2020 conf is happening this week
(2020.splashcon.org)
1 points
by
rgrau
6y ago
|
0 comments
39.
▲
by
rgrau
6y ago
It reminds me of this playful talk on similar topics by Damian Conway using Raku: https://www.youtube.com/watch?v=ORjyXcLDd9M
40.
▲
by
rgrau
6y ago
zsh also has them. Another neat way of wrapping code in pushd/popd is to use a subshell. (cd $dir do-stuff ) Oilshell ( https://www.oilshell.org/ ) has support for code blocks so you can: cd &
41.
▲
by
rgrau
6y ago
I feel ya, my friend. I also have read the org manual a few times, and it feels so big you can't hold a mental model for long enough to make sense while incorporating all its features. As you know, org mode has too many features to us
42.
▲
by
rgrau
6y ago
Cool thanks! I will link back and credit you :)
43.
▲
by
rgrau
6y ago
You've a lot of cool stuff in that repo! I hope you don't mind me 'stealing' some stuff for a kind of booklet I'm working on with several shell tips and tricks. https://github.com/kidd/scripting
44.
▲
by
rgrau
6y ago
I haven't found much about this topic and I agree there's a need for more info on that. I remember finding this talk useful and general good advice: https://www.youtube.com/watch?v=wN4ZuGruiNw but would love to
45.
▲
by
rgrau
6y ago
With a friend we started having those, and we've been thinking about streaming them, but they always end up being quite chaotic. It'd be very interesting to figure out how to make them fluid enough and yet easy to follow for more
46.
▲
by
rgrau
6y ago
This is part of a series that keeps happening in the Online Lisp Meetings that are held (bi?)weekly since the last ELS. Today there's one! https://mailman.common-lisp.net/pipermail/online-lisp-meets/...
47.
▲
by
rgrau
6y ago
I had something like "If you have read this far, please mention Bananas in title of your Message" in the middle of my linkedIn profile to know which recruiters would read through the whole profile. Good times when I got 'bana
48.
▲
by
rgrau
6y ago
Wow, thanks so much for this answer. I'm just going to add this link here to another explanation of yours I found around that expands on some of the unique aspects of Red: https://www.reddit.com/r/redlang/comm
49.
▲
by
rgrau
6y ago
Both REBOL and Red feel magical to me. How is this simplicity achievable? Where is the trick? I never could dig too deep into those, and couldn't find much info on the net. Is there a set of seminal papers/articles on the princip
50.
▲
by
rgrau
6y ago
Why is vim so addictive, and somehow it's difficult to explain to non vim fanatics? I think it's a reification of the process of walking through a text file and doing stuff to it. A concrete way to talk about processes onto text f
51.
▲
by
rgrau
6y ago
A bit tangential to the main topic, but I can't wait for that book to be out. IIRC (I read it somewhere??) it's based on his 'Robust Systems' thoughts and experiments. Total mystery here: https://mitpress.mit.
52.
▲
by
rgrau
6y ago
cheers! happy hacking :)
53.
▲
by
rgrau
6y ago
As others commented, this only acts when the first word in your commandline ends with '.git'. - "git", alone isn't going to be hooked. - you can do "cd .git". - even if you have 'autocd&
54.
▲
by
rgrau
6y ago
I also love them global aliases! To push them even further (like the xargs one), I have those aliases to allow me to do quick iterations in 'streaming' fashion: alias -g FORI='| while read i ; do ' alias -g IRO
55.
▲
by
rgrau
6y ago
suffix aliases do not even have to refer to a real existing file. They are an alias. That's what I use to clone git repos I copypaste: alias -s git="git clone"
56.
▲
by
rgrau
6y ago
Since 2012 I'm using a userscript I wrote to inject a button to each github code comment to open my editor at the file-and-line. It feels strange this is not something more people want, but I haven't seen any other project that ad
57.
▲
by
rgrau
6y ago
Nicely written summary! This paper was written by Richard Stallman in 1981 and delivered in the ACM Conference on Text Processing which touches on all of your points and a few more: https://www.gnu.org/software/emacs&#x
58.
▲
by
rgrau
6y ago
Santa Fe Institute has a podcast on complex systems. There's a chapter on cities that might be interesting if you liked 'A City is not a Tree': https://complexity.simplecast.com/episodes/4 .
59.
▲
European Lisp Symposium 2020 will be online and for free
(european-lisp-symposium.org)
4 points
by
rgrau
6y ago
|
0 comments
60.
▲
by
rgrau
7y ago
Die hard emacs user here (but looking sometimes into vscode). Which things you get from vscode that couldn't get in emacs? Are you definitely set?
More ›