HNHacker News
TopNewBestAskShowJobs

kruhft

1,034 karma · joined April 7, 2011

Artist, musician, meta-linguist, and Lisp hacker.

Email: kruhft@gmail.com

https://www.github.com/scarlet31.github.io

submissionscomments
kruhft··on How Your Cat Is Making You Crazy
My cat is so self reliant I love any attention he gives me.

But then again, I raised him.

But, WTF, cat stories on Hacker News? I don't know what to say!

kruhft··on ASCII interactive fluid animation
http://nkwiatek.com/fluid.solver.js

http://nkwiatek.com/fluid.display.ascii.js

Looks readable.

kruhft··on Over the Hill at 35
I'm 36 and after a hiatus and restart (of about 2 1/2 years) I'm just about to really get started again with my programming career. I'm tired of these stories.
kruhft··on You are worth more on Google+ than you are on Facebook
From my experience, I'm worth more on Linkedin than either.
kruhft··on Wayland Preparing For 1.0 Stable Release
After watching the video, being able to rotate my windows N degrees as the main showoff feature does not seem like a big selling point to me. Maybe I'm old school, but sideways and upside down windows seems like a bit of a waste of time to lose the stability, drivers and network transparency of a working window system.
kruhft··on Ask HN: What would you finally learn if you had 3 uninterrupted days to do so?
Statistics.
kruhft··on Where is the Web Going?
The aggregation of data can be considered content, such as the yellow pages or delicious, which, I think can also be copyrighted. So if your intent is to collect links to content, I would say technically, you are creating content. Look at this site, at least at the top level.
kruhft··on Zsh is your friend.
I say typeset, you say declare, let's call the whole thing off! :)
kruhft··on Zsh is your friend.
I reccommend ksh over bash. That's all I use these days. It was sh done right, although it does have a bit of history to it for compatibility.

To use associative arrays in ksh:

  typeset -A table
  column="name"
  table[$column]="value"
  echo ${table[$column]}
ksh is much more decent than bash, although I reccommend using in an emacs M-x shell buffer for better command line editing.

Edit: forgot to dereference column when setting value in table.

kruhft··on Zsh is your friend.
Once you learn the zen of shell script, like any programming language, those problems pretty much go away. Shell script is a tiny language packed with features and can be learned through constant use in a week, but like any language, it takes time to master.

It's incredibly powerful for interactive use and data manipulation combined with the standard Unix tools and sometimes pulling out perl or python is more work than just banging out a pipeline on the command line.

Quoting does take some time, but just remember that when in double to quote your variable expansions with double quotes. There's more too it, but that's a good rule to start with.

kruhft··on Dear business people, an iOS app actually takes a lot of work
> building high quality apps that one can be proud of.

And that's the problem right there. The developer is not being paid to do that, they are paid to finish the app that was asked for as quickly and cheaply as possible, at least from the client's perspective. Of course they want a high quality app, but are not willing to pay the price, so most development ends up being shovelware. But it is work, just not the most glamorous work that one can dream of.

kruhft··on Caution on Twitter urged as Britons barred from US
True, but I think IRC will be around in another 10-20 years, twitter, not so sure. I can setup my own IRC server in an hour, can that be done with twitter? As you might have guessed I use IRC and have 'tweeted' about 10 times in my life not really getting this twitter thing, mostly because the simpler, older alternatives are just that much better. Of course, IMNSHO.
kruhft··on Caution on Twitter urged as Britons barred from US
> * A secret (or not so secret govt.) web searching and filtering program.

Does nobody remember Carnivore? Imagine what has been developed since then.

kruhft··on Caution on Twitter urged as Britons barred from US
No, but at least there isn't one central popular company that is on the constant monitor list. IRC allows for multiple disparate networks which are more difficult to take down (one goes down, another just pops up).
kruhft··on Caution on Twitter urged as Britons barred from US
I consider IRC a step forward over twitter. Real conversations, choice of clients, multiple distributed servers, fast. And if you use emacs it's just a M-x irc away (at least to connect to freenode).
kruhft··on Caution on Twitter urged as Britons barred from US
Actually, that's not too bad of an idea. I remember years back with John Carmac's plan file being read by quite a few users. Much easier than keeping up a web page, plus no artificial limits. No conversation though.
kruhft··on Caution on Twitter urged as Britons barred from US
Maybe it's time to go back to IRC?
kruhft··on Ask HN: Will you buy Facebook shares when it goes IPO?
No.
kruhft··on Why Developers Hate Antiviruses
I was trying to install netcat on a work windows box to transfer some files (long story). Every attempt at copying the executable out of the zip file would throw up an error about the file not existing, no explanation as to why or who was causing the error. After an hour I removed the antivirus. File copied just fine after that. I guess netcat is a 'hacker tool' and not allowed on protected windows system; too bad I had work to do.
kruhft··on Lisp in 32 lines of Ruby
I was a bit hasty, here is the complete version:

  (loop (print (eval (read))))
kruhft··on Lisp in 32 lines of Ruby
#'eval
kruhft··on Lisp in 32 lines of Ruby
A real lisp: http://sbcl.org
kruhft··on "Reply All" shuts down German Bundestag Mail (Google translate)
But hitting "Reply All" makes everyone know (think) that you're working!

I kid, I kid...

kruhft··on Emacs and Common Lisp, Part 2
I guess I missed the part about writing a C translator, so that should make keeping up with the C code changes quite a bit easier.
kruhft··on Emacs and Common Lisp, Part 2
Nice to see s/he's following up with the initial idea. A fork would be interesting, but quite a bit of work, especially keeping up with the current emacs C language core development. Best of luck though, I look forward to what comes out of this.
kruhft··on Average Is Over
> I could not find one that would trigger an email from my Gmail account if a contact had not responded.

You might want to look into a more powerful email client. Gnus (a part or emacs) could be programmed to perform such a task. Setting it up to download your gmail over IMAP and the running a process filter would probably do the trick.

kruhft··on More Hacker Less News
And I've since changed it to /discuss.
kruhft··on More Hacker Less News
I'm not sure how to deal with it. I'm just working on setting the site up and getting into a general posting habit. I've crossposted interesting discussions from HN that I find interesting, and so far I'm the only person that's posting to kruhft, so as the problems come up I'll deal with the issues as they come along.

Kruhft is more about the links and the content of the site with hopefully a discussion that goes along with the type of content I'm posting. It's an experiment, but it's quite fun so far.

kruhft··on Waking up at 5am to code
Funny enough, that's exactly what I did this morning.
kruhft··on More Hacker Less News
For some reason HN changed my link when I submitted and removed /news from the end. The link I originally submitted was http://kruhft.dyndns.org/discussion
← PreviousPage 18 of 21Next →