Hacker Newsnew | comments | ask | jobs | submit | mlacitation's commentslogin
mlacitation 145 days ago | link | parent | on: Bash Pitfalls

I have a mirror of this site. wooledge.org runs off of greycat's (#bash on freenode) home DSL connection:

http://bash.cumulonim.biz/BashPitfalls.html

-----

Sivart13 145 days ago | link

Seriously? They can't find a better place to host a site like this here in 2013?

-----

clarry 145 days ago | link

If you already have a machine serving stuff at home, adding a remote server is only time, money, and effort spent. Is it worth it? Not all sites are high in volume, and even well prepared sites on decent lines can go down if it hits the HN front page.

People do occasionally bitch and moan about slow downloads from my home host, but nobody ever offered money for a pain-free alternative.

-----

jjwiseman 144 days ago | link

Google doc, gist, tumblr, any free blog engine.

-----

clarry 144 days ago | link

None of which are pain-free to me.

-----

Dylan16807 144 days ago | link

Dropbox? Unless you're pushing gigabytes per day it should make a perfect static host with urls no more ugly than previously mentioned services.

-----

wyclif 145 days ago | link

Thanks. I don't understand why people submit links with content that can't be accessed by more than a few users simultaneously.

-----

jamesbritt 145 days ago | link

How would one know this in advance?

-----

wyclif 145 days ago | link

How would one know in advance that submitting to HN would result in traffic consisting of more than a handful of users?

-----

jamesbritt 144 days ago | link

How would one know in advance whether a site can handle high traffic?

And did I really have to spell this out?

-----

joshbaptiste 145 days ago | link

Well it is the main reference but it won't sustain the "HN effect", thanks for the mirror link. I typically use http://wiki.bash-hackers.org/doku.php which also provides a mirror and some extras.

-----

mlacitation 225 days ago | link | parent | on: Linode Longview

Have you tried a recent version? This commit should have made things much better:

https://github.com/linode/longview/commit/dc48b6ddce04dc7155...

-----


Do you remember any? I'd love to hear some!

-----

crm416 362 days ago | link

I do! Although not totally sure if Professor Kernighan intended for them to leave the classroom. Occasionally he'll throw an email from a former associate into the lecture slides (e.g., James Gosling), but I've noticed that he's removed them from the public-facing slides on the site, which makes me think I should be somewhat cautious. Maybe eventually, with his permission, I'll write some up and post them on HN.

-----


With regards to the real-time analysis, you might find perl's Regexp::Debugger fun to use:

http://search.cpan.org/~dconway/Regexp-Debugger-0.001011/lib...

That's the documentation for using the module in your code. If you're interested in the standalone tool, you'll want rxrx:

http://search.cpan.org/~dconway/Regexp-Debugger-0.001011/bin...

-----


Off-topic, but you searched AltaVista? Did you choose to use it specifically or is it your daily driver?

-----

jack7890 472 days ago | link

AltaVista is just a re-skinned version of Yahoo Search (which itself is driven by MSFT, but has some modifications vs Bing). So this isn't as odd a choice as it might first seem.

-----


Rob Pike actually wrote something similar in his short, self-proclaimed polemic, "Systems Software Research is Irrelevant":

http://herpolhode.com/rob/utah2000.pdf

"Only one GUI has ever been seriously tried, and its best ideas date from the 1970s. Surely there are other possibilities. (Linux’s interface isn’t even as good as Windows!) There has been much talk about component architectures but only one true success: Unix pipes. It should be possible to build interactive and distributed applications from piece parts. The future is distributed computation, but the language community has done very little to address that possibility."

"The world has decided how it wants computers to be. The systems software research community influenced that decision somewhat, but very little, and now it is shut out of the discussion..."

And particularly relevant to the HN community at large: "Be courageous. Try different things; experiment. Try to give a cool demo."

-----


I'm copying this from a previous comment of mine because I always end up writing about the great features of Taskwarrior:

Seconding taskwarrior for being a great todo handler. It has a minimalistic interface, but doesn't lack any features that you (might) find yourself wanting after a while of use. The IRC channel (#taskwarrior on Freenode) is active too. The command-line tools are perfect and let you make your system as minimal or as complex as you want. Over time, I've:

1) Set up a cron job that pumps my current list out to a text file behind an .htaccess'd directory. This way, I can see my list without needing SSH access.

2) I've also got a little Dashboard widget that pulls that text down, so I can swipe to the top-left hot corner and see them at a glance.

3) I'm using Alfred (http://www.alfredapp.com/) on my Mac, so I wrote a simple trigger called "task add" that connects to my box and adds it there. There's also a few posts out there for DropBox integration if you use that.

4) I didn't write this, but if you use oh-my-zsh, there's a plugin for Taskwarrior. I've learned about a couple options by pressing tab.

-----

Adaptive 738 days ago | link

Nice tips. I'm using Alfred on OS X and Xmonad.Prompt on Arch but the cron to web view is a new clever idea.

-----


Seconding taskwarrior for being a great todo handler. It has a minimalistic interface, but doesn't lack any features that you (might) find yourself wanting after a while of use. The IRC channel (#taskwarrior on Freenode) is active too. The command-line tools are perfect and let you make your system as minimal or as complex as you want. Over time, I've:

1) Set up a cron job that pumps my current list out to a text file behind an .htaccess'd directory. This way, I can see my list without needing SSH access.

2) I've also got a little Dashboard widget that pulls that text down, so I can swipe to the top-left hot corner and see them at a glance.

3) I'm using Alfred (http://www.alfredapp.com/) on my Mac, so I wrote a simple trigger called "task add" that connects to my box and adds it there. There's also a few posts out there for DropBox integration if you use that.

4) I didn't write this, but if you use oh-my-zsh, there's a plugin for Taskwarrior. I've learned about a couple options by pressing tab.

-----

lepht 820 days ago | link

A bit late, but I'm also a huge fan of Taskwarrior- and on a slightly related note, I wrote the oh-my-zsh plugin and was always a bit curious as to whether anyone actually used it. Glad to hear that at least one other person finds it useful.

I do find myself using Taskwarrior's shell mode[1] almost exclusively these days though, as it significantly cuts down on the number of keystrokes necessary to interact with my todo list. If you wrap task shell in rlwrap[2] you can still get autocompletion from within the shell.

[1] `task shell`

[2] I use 'ts' aliased to `rlwrap -i -r -C task task shell` for this

-----


Of course, there's always Hacker News Daily, an automatically generated list (RSS available) of the top HN stories:

http://www.daemonology.net/hn-daily/

I particularly like the one aspect of non-repeating entries,

"The 10 highest-rated articles on Hacker News on September 29, 2011 which have not appeared on any previous Hacker News Daily are:"

On an unrelated and related note, while I appreciate the effort that goes into a hand-picked newsletter, I also accept that I might end up getting sucked into a cool example of technology. The solution isn't a newsletter or even a condensed RSS feed -- the fix is self-control (which can come in different forms and is typically a mix of motivation, guilt, and software).

-----

miscmach 931 days ago | link

Another option is http://hndigest.com where you get the daily HN summary in an email. It has more items than Hacker News Daily.

-----


What was the problem?

I use MacFuse on Snow Leopard daily at work and home and the worst I've ever seen was TextMate move slow when I woke from sleep (and the drive wasn't mounted)

-----

pagekalisedown 947 days ago | link

Building code, doing a "find .", any type of disk-heavy operation was like playing russian roulette.

-----

mlacitation 947 days ago | link

This warning is much clearer (and useful). I completely agree -- disk-heavy moves can be painful.

On that note, if you're using TextMate with MacFusion/SSHFS, you'll want to get the ReMate plugin. It disables refresh on regaining focus for TextMate: http://ciaranwal.sh/remate/. No more beachball when you bounce over to the browser for a second :)

-----

More

Lists | RSS | Bookmarklet | Guidelines | FAQ | DMCA | News News | Feature Requests | Bugs | Y Combinator | Apply | Library

Search: