HNHacker News
TopNewBestAskShowJobs

UNIXgod

71 karma · joined February 22, 2013

submissionscomments
UNIXgod··on Lisp Tips
I saw one in the form of a wiki awhile back. schemers cookbook maybe. The venerable (lambda-the-ultimate) and readscheme still excellent. We can always use more lisp and scheme oriented sites.
UNIXgod··on Why GNU grep is fast (2010)
This is a classic post.
UNIXgod··on 'Learn Ruby on Rails' is free today
I think it's relevant

Heres some more:

http://ruby.railstutorial.org/ruby-on-rails-tutorial-book

http://ruby.bastardsbook.com/

http://rubymonk.com/

http://ruby-kickstart.com/

http://railsforzombies.org/

http://www.scottaaronson.com/blog/?p=459

UNIXgod··on 'Learn Ruby on Rails' is free today
The information wants to be free!

Great books which do not need registration based shilling techniques for your hacking careers:

https://mitpress.mit.edu/sicp/full-text/book/book.html

http://www.paulgraham.com/onlisp.html

http://htdp.org/

https://gustavus.edu/+max/concrete-abstractions.html

https://www.cs.cmu.edu/~dst/LispBook/

Open and Free FTW!

UNIXgod··on Why was '~' chosen to represent the home directory?
I'd be more interested on why the control key was removed from the home row to help out those who where too lazy to use the shift key or macro a simple translit to their workflow: tr 'a-z' 'A-Z'

When the datamining show is over let me know. I'm in need of a well paying position and interested in moving out to california. I can teach shell automation, programming paradigms and productive workflow to eager learners new to the UNIX programming environment, hacking and building their own tools.

UNIXgod··on What is the enlightenment I'm supposed to attain after studying finite automata?
It's tricky with HTML but can be done. The C language was one of it's initial use cases.
UNIXgod··on Ask HN: Why no O'Reilly Golang book?
The real question is why doesn't Kernighan and Pike have a book on the subject. Even better Kernighan and Thompson; better yet all three K&T&P.
UNIXgod··on How I Read Fancy Ruby
It's actually really intuitive once you understand logic. We all can't be computer scientists. FWIW it's good to have choices.
UNIXgod··on Rubinius X, an experiment in modernizing Ruby
why break regex support just because it's not what one person wants to use; the philosophy of more than one way to do it goes back to the beginning of computer science. I like Rubinius for the fact that it has educational value to see ruby implemented in ruby but feel breaking unix system programming features sounds more like turing it into someones personal DSL than actually modernizing it.
UNIXgod··on ZenPayroll Is Not Hiring Hackers
Interesting. Maybe they should hire a small training department to teach their programmers how not to be hackers.
UNIXgod··on Final draft of R7RS – small Scheme standard
This is very exciting!
UNIXgod··on Vim 7.4a ready for beta testing
I've used nvi for over 15 years. Also use a small vim install here and there. Also have done several talks on grokking ex mode and regex at local vim user groups.

In my early days when first learning the system I used ee, a HP public domain pico clone which is distributed on *BSD systems for new users.

The original Berkeley UNIX had a modded vi named edit which was aliased to ee and while normal vi operation was aliased to e. I'm assuming ee stood for easyeditor back then.

The video you linked states in its about section that nvi is not customizable. This is simply not true. It's just as easy to script as ed and ex.

Though Bostic never included lisp support like the Joy's editor for extending vi with the shell has always been the main UNIX way of doing it. The classic tutorial to show someone how to extend nvi is to have them do external spell checking with one of the many spell programs.

UNIXgod··on Ruby 1.8.7 retired
I didn't forget it. That is pmake my friend =)
UNIXgod··on Ruby 1.8.7 retired
There's gentoo/alt and fink which predates DarwinPorts. I'm sure there is even a pkgsrc user out there. I've occasionally used this one called make. It's sort of a meta language to homebeer. In fact it comes in two flavors pmake and gmake. =P
UNIXgod··on The Future of Computing - An Interview with Yukihiro “Matz" Matsumoto
Thank you for the post and translation. I really enjoyed reading it.
UNIXgod··on Ubuntu's Bug #1 is fixed
Referring to the Berkeley TCP/IP stack?
UNIXgod··on The Effects of Computer Programming on the Brain (2012)
Interesting blurb which negates the opportunity to explore the mental flow we acquire through the state which programmers go through when working through a problem set or pet project.

Though I agree that avid learners new to programming concepts may experience anxiety or euphoria depending on the problems which they are working on defeating. I wouldn't necessarily call it an addiction; no more than I would suggest that a musician is addicted to playing their instrument or writer is addicted to creating prose.

The art of programming in which begins with exploring computational programming models and processes ultimately ends with the craft in which itself is as fluid as a master composer composing whom subsequently is also a master musician.

Though it's that "Teach Yourself Programming in Ten Years" which may be what TFA is referring. Not everyone programs inside skinner's box, even in their early years of programming. There is better research on the subject than this generalized blog post which is far from aphoristic of the effects of computer programming on the brain.

UNIXgod··on Linux To Become Exclusive OS Of The International Space Station
NetBSD: https://en.wikipedia.org/wiki/NetBSD#Examples_of_use

Agreed. The Debian developers should feel proud of the accomplishment.

UNIXgod··on Why Awk for AI? (1997)
Ruby does awk for the most part. I can't comment on strength since awk has a small footprint compared to both ruby and perl clocking in just under 96k. Also both emacs and ed are descendants of TECO =)

The editors have had major impact on our languages mainly because regular expressions, called regular sets at the time, where implemented in Thompson's ed which was based on an earlier line editor implementation called qed used on ctss and multics.

One can follow the evolution almost in dialect fairly well.

ed -> grep -> sed -> awk

ed -> em -> ex -> vi

awk -> perl -> ruby

so

ed -> grep -> sed -> awk -> perl -> ruby

The right tool for the right job when all you know is a chainsaw everything looks like a hammer unix process are cheap and all that yada yada philosophical paradigmy finite state automata pipelines vs pointers vs classes vs recursive enumeration iterative parenthesis backtick mind expansions expression logic =P

UNIXgod··on GNU awk 4.1.0
sed is just a cut down version of ed. Natural evolution of UNIX syntax came mainly from the 'one true' editor.

I use awk more as a anonymous function at the end of a pipeline nowadays and mainly for small stuff where I'm too lazy to use cut or when grep sed and tr may not be sufficient for complex filtering.

Surprised there isn't more of a response here on this site. Even users that don't use awk directly use a language which has been directly influenced by it like ruby and of course the original chainsaw perl.

UNIXgod··on How zsh is more useful than bash
Bash is the gnu shell which is a superset not posix which is basic no frills mixture of minimal ksh and bourne syntax.

BSD has the almquist shell as it's /bin/sh and tcsh as it's /bin/csh. Various commercial vendors licensed the korn shell from bell labs. The korn shell is public domain and open for 13 years now. The default sh on most UNIX boxes are either ash or a hard link to ksh which emulates the POSIX definition of sh. zsh and bash also provide the option to hard or soft link so depending on your distro you may have /bin/sh linked to bash.

Debian at one point repackaged the BSD almquist shell as their system sh calling it dash mainly for speed and stability. I believe they removed it as their programmers apparently couldn't program system level scripts without their non portable bashisms or maybe just one of the NIH moments where everything must live under a single mono-cultural license and identity.

UNIXgod··on How zsh is more useful than bash
save a kitten =)
UNIXgod··on Plans for Vim 7.4
Want lisp the original source for Bill Joy's vi supports it.

http://ex-vi.sourceforge.net/

Happy hacking =)

UNIXgod··on Plans for Vim 7.4
vi with mouse integration? They have had this for years. Download the source and grok my friend. You probably are running nvi and not vim. Also in either your terminal or x you can simply middle click your mouse if you need to mouse copy/paste. I recommend addressing in ex mode or using the vi visual mode commands to do it. If your really dependent on "drag/drop" gui style editing using ex proper will defeat that. In vim I'm sure a simple script would even bring it to the gui drag/drop concept to the editor by automating addressing from mouse selection. Though it would be slower for the end user and simply not provide the flow and control ed and vi/ex users have had for years.
UNIXgod··on The Sed FAQ
actually that's a perfect use case for ed

for example:

Offending key in /home/user/.ssh/known_hosts:12

ed .ssh/known_hosts

12d

w

q

UNIXgod··on Why I still love Perl
http://web.archive.org/web/20010304112803/http://www.onlamp....

diff that against this one:

http://www.onlamp.com/pub/a/onlamp/2001/01/25/lamp.html

I love the obvious later edit:

"Of course, there are plenty of excellent open source variants for any of the pieces of LAMP. Let the L stand for Linux, FreeBSD, NetBSD, OpenBSD, and Darwin/Mac OS X, all of which are open source operating systems and all but the latter have open source GUI layers. Let the M stand for MySQL and PostGreSQL. Let the P stand for PHP, Perl, Python, and Ruby."

UNIXgod··on The Sed FAQ
Here you go!

http://man.freebsd.org/sed

also reading the ed man page will help as well for newbies.

--------------------------

IEEE Std 1003.1-2008 :

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ed...

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex...

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/se...

UNIXgod··on Why Kickstarter Won't Sell
I love the idealism. It's an essential, yet abstract one if your not an artist, to view your labor as love. Nothing is more of an art form than to not "sell out". Hopefully the suggestion which may be seen as hubris will keep kickstarter running for the 1000 year company which the founder considers his end game. Ironically it may be interesting to view the growth, or decay, of the company over the next decade whereas it's business model is not to pivot outside of the founders vision nor open up to other art forms outside of film, music etc. Time will tell whether Chen may be the next Carnegie.
UNIXgod··on Node v0.10.0 (Stable)
They are actually using meaningful numbers. 1.x generally describes maturity. More so it means the software toolkit is, for the most part, stable and ready for the real world. Since version numbering in the closed source world generally helps sell products it's nice to see an open source project act as it should where the first number after the point increments as features are added and the second number with an optional second point reflects bug fixes and patches. It's a big deal when a version hits 1.x. A project like node.js doesn't have to pander to the masses like mozilla did with the firefox so called pseudo psychological numbering scheme.
UNIXgod··on How I Explained REST to My Wife (2004)
Yes it's a classic. Supplemental to RFC 2616.
← PreviousPage 3 of 4Next →