News for hackers. Stuff that matters.

lojic

Re:Telling our children the truth: response to Paul Graham on Saturday May 24, 2008 @11:49PM (#199324)
pg "master of the straw man"

I sure wish he'd stick to technical stuff. The combination of arrogance and ignorance displayed in that essay is a bit too much. I'd be a lot happier if he'd release another version of Arc than to peddle this drivel :(

Re:You Used Ruby to Write WHAT?! on Tuesday March 04, 2008 @09:59AM (#128869)
Yawn. I'm getting rather sick of Zed - whether it's his toddler tantrum tirades, or this jumbled, rambling brain dump.

"The truth is: Any language that's Turing Complete and supports enough language features can solve any problem."

Really? Wow, thanks Zed.

Re:Please tell us what features you'd like in news.ycombinator on Tuesday February 19, 2008 @09:17AM (#118897)
Now that a comments link exists. It would be nice to have points displayed also:

http://news.ycombinator.com/item?id=118589

Re:Thanks for comments in the RSS feed, can haz points too? on Tuesday February 19, 2008 @09:09AM (#118891)
Are there any folks using RSS for Hacker News out there? I'm surprised there isn't more demand for displaying the points in the RSS feed.
Re:Rails vs. Django on Monday February 18, 2008 @09:43PM (#118620)
Wow, in light of recent Zed events, I think I owe you an apology! That must be one heck of a grapevine.
I like the phrasing:

"The difference between practice and theory is greater in practice than in theory."

Re:There are many things you can say about Emacs... on Monday February 18, 2008 @08:42PM (#118582)
Hard to say what would be a good reason for you, but I had used vim for a couple of years and really liked it. I still like its conciseness.

I became interested in emacs because of the good support for Lisp w/ slime, etc. Plus, I thought I'd prefer extending my editor with Lisp vs. vim script - I was right. I hadn't written any vim scripts while using vim, but I've quickly written many little elisp functions and bound them to convenient keys.

The dired (directory editing) feature is great. I like the way it handles buffers & bookmarks better than vim. I actually use the calendar feature.

I like how the functions you right get integrated into the help facility automatically.

The "Learning GNU Emacs" book is great.

The architecture seems better than vim.

I wasn't thrilled with all the "chording", but I'm writing new functions and making the keybindings comfortable for me.

The help facility seems superior to me. Dynamic abbreviations, window/frame control.

I'm sure there's more, but I only switched about 10 days ago :)

Re:There are many things you can say about Emacs... on Monday February 18, 2008 @08:32PM (#118577)
I recently switched from vim to emacs. It's so easy to extend with elisp functions, and the buffer handling & directory editing is great. Not to mention ecb, etc. I still like vim, emacs just works better for me presently.

I did have to put in some effort to get nice fonts, but as the article states, if you use emacs 23, you can get it to look beautiful. I wrote a post about how to get it running with nice fonts:

http://lojic.com/blog/2008/02/07/nice-fonts-for-gnu-emacs-on...

Re:One benefit of a Lisp-driven website on Tuesday February 12, 2008 @09:00AM (#113992)
"Couldn't you write some standalone scripts to run from the commandline to insert new posts into your blog?"

As someone mentioned in the comments on that site, there's no need to write special scripts for this - using script/console does the job nicely with Rails.

  script/console
  post = BlogPost.new("title", "body", ... )
  post.save
  ^d
You're modifying the database vs. in memory objects, but when you're scaling up via multiple app server instances, it's handy to store the info in the db.
Re:Io on Monday February 11, 2008 @06:06PM (#113677)
Re:Please tell us what features you'd like in news.ycombinator on Thursday January 31, 2008 @03:35PM (#107543)
+1 I'm surprised this feature doesn't exist. I don't have many saved items yet, but I would think it could clutter up rather quickly.
Re:Ask PG: Database, flat files or other for YC News? on Wednesday January 30, 2008 @01:54PM (#106974)
Would you mind elaborating on the persistence a little? What is the granularity of persistence? For example, does each submission get written to its own file with associated comments? Do you utilize a memory mapped file? Inquiring minds want to know :)
Re:Geeks wanted (neat job application puzzle) on Wednesday September 19, 2007 @03:05AM (#56759)
Yeah baby! I missed one true/false Ruby idiosyncracy, and that did the trick :)
Re:Geeks wanted (neat job application puzzle) on Wednesday September 19, 2007 @02:38AM (#56753)
Oh yeah, Ruby has a slightly different interpretation of true/false, so I changed while(z) to while (z != 0) - likewise with if. No help though :(
Re:Geeks wanted (neat job application puzzle) on Wednesday September 19, 2007 @02:27AM (#56747)
Looks pretty close to Ruby: 1) remove semi-colons 2) replace a = b - - with a = b followed by b -= 1 3) while (z) { .. } with while (z) ... end

However the if modifier (if it works as in Ruby) doesn't work out very well. I haven't touched Perl in 9 years, so I don't know how different the operator precedence is if at all.

What's the deal with the if? Is it a regular modifier?

Re:Rails vs. Django on Monday September 10, 2007 @10:49PM (#53131)
Oh really? Why don't you either stop spreading FUD, or back up that statement with some reality. "heard through the grapevine" - give me a break.
Re:What podcasts can people recommend? on Tuesday July 31, 2007 @12:20AM (#37836)
{ 'Buzz Out Loud', 'Cranky Geeks', 'NPR: Technology', 'Ruby on Rails', 'Science Friday', 'TWiT' }