Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thomasbacklund
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
thomasbacklund
6y ago
It sounds like you need Bash then :) I totally agree Bash has some powerful features, some I go out of my way to reimplement in sh (as for example string operations [0]). But not all can ofc be replicated then bash it is. Maybe then: sh->
32.
▲
by
thomasbacklund
6y ago
If you need some bash specific features, I'm not going to argue with that. In my experience, having portability of the script is quite nice when not necessarily controlling the environment it is going to run in, and aiming for ash/
33.
▲
by
thomasbacklund
6y ago
Using `shellcheck --shell sh` is a good start :) If adhering to POSIX it should run the same in bash, ash and dash. Bash is kind of a moving target in it self, since it comes with many new features. You have to be aware of which version you
34.
▲
by
thomasbacklund
6y ago
If serious about creating shell script "apps", I think standard POSIX shell is the way to go. The Bashism is seldom needed, even though it is powerful. Why? Because shell scripting is often used in DevOps, and containers very ofte
35.
▲
by
thomasbacklund
6y ago
Hey :) Thanks for the tip! Yes, upping the site with articles and examples is on the TODO :) In the SSH module doc [0] there are a few examples, such as: space -m ssh /ssh/ -e SSHHOST=jump1.example.com,jump2.example.com,jump3.
36.
▲
by
thomasbacklund
6y ago
Nice read, makes me happy to see people invest in CLI. "Humans first"... How about "Humans with Tools first" ? :) I would say that ALL logging should go to stderr (level should be --configurable of course), so that when
37.
▲
Humanity First Ultramarathon (140 Km in Japan) in Support of Yang2020 and UBI
(thomasbacklund.com)
2 points
by
thomasbacklund
7y ago
|
0 comments
38.
▲
7RollDB – A MongoDB replacement, written in BASH
(github.com)
1 points
by
thomasbacklund
12y ago
|
0 comments
39.
▲
by
thomasbacklund
12y ago
Looks like an interesting read. How big is the audio download? (I'm on a quota here in the jungle) Can you name an Android pod app to use with it? Thanks
40.
▲
by
thomasbacklund
13y ago
Good tip, you never know when it's time for SF.
41.
▲
by
thomasbacklund
13y ago
Welcome :)
42.
▲
by
thomasbacklund
13y ago
It is some of a problem. Especially because I must keep display strength to a minimum to save battery. But it works. I use the colorsheme morning (think its part of solarized) in Vim and let the sun hit the screen. And then when the screen
43.
▲
by
thomasbacklund
13y ago
Agree on that. There is some overhead in making food and taking care of the camp but there is also another peace of mind that (we'll see if) could be good for your creativity. But in either way, I feel very good on the inside now. No stress
44.
▲
by
thomasbacklund
13y ago
Exactly what my family said :) "Your doing a Doppler!"
45.
▲
by
thomasbacklund
13y ago
Hi peeps, This was a nice surprise getting on HN =) First of all, I was a weirdo before I moved to the forest. But now I'm a very happy weirdo. I do have 4G (LTE) broad band, so Internet is almost everywhere I go. I come from Stockholm but
46.
▲
by
thomasbacklund
13y ago
As they say "winter is coming".. Yeah, when winter does come it will be hard using the electronics.. We'll see where I'll go then I guess.
47.
▲
by
thomasbacklund
13y ago
Thanks, thats kind of how I see it too =)
48.
▲
by
thomasbacklund
13y ago
Haha, yeah.. But the food poisoning come from some nasty sliced pepper salami I had for dinner. (Can't even think about them..) That was one b a d day..... Luckily a friend of mine did a rescue mission and brought me some coke and salts in