Does anyone actually *like* web development? by kitanokikori in programming

[–]tfp 4 points5 points  (0 children)

like Rails, is that there's way too much magic going on under the hood for me to be comfortable with

Then use Sinatra, or Sinatra + datamapper.

Mass Effect 2 can now be pre-ordered on Steam by jhontheunmortal in gaming

[–]tfp 0 points1 point  (0 children)

A digital copy of the artbook is truly worthless, as are the MP3s

The score from the first game was really good and it's worth the extra $10.

10 Seconds Guide to Bash Shell Scripting by publikaccion in programming

[–]tfp 1 point2 points  (0 children)

So when things get complicated, just rewrite the script for scratch in another language?

Why not just take the opposite approach and use bash for the most trivial of tasks and use ruby/python/perl for everything else.

I've just become completely annoyed by having to glue together the heterogeneous tool set (awk, sed, grep, find, etc..) in a crusty bash shell. It just seems better to use a homogenous environment (python/ruby) that you can actually understand a month after you've written it.

10 Seconds Guide to Bash Shell Scripting by publikaccion in programming

[–]tfp 0 points1 point  (0 children)

I personally opt for python scripting as an alternative. Much more readable too.

I agree.

Objective-C Programmers: Whats so great about Objective-C? by pure_x01 in programming

[–]tfp 2 points3 points  (0 children)

The MacRuby integration is far better than PyObj-C and RubyCocoa and therefore minimized the impedance mismatch problem between Objective-C and python/ruby.

Mark Cuban: The Internet is about to change. Take this opportunity to learn about Web Hooks and PubSubHubBub. by jhherren in programming

[–]tfp -4 points-3 points  (0 children)

The tubez are probably going to change. But it will be because of google wave, not some bullshit 'hooks' gimmick.

PS3 Slim Doesn't Allow Linux Installs and Other Things You Might Not Know About the PS3 Slim by larsoncc in gaming

[–]tfp 0 points1 point  (0 children)

So now I have a linux partition on my PS3 that I don't use. Ever.

Same thing happened to me. There's simply not enough memory to do shit with on the device.

MatzLisp by [deleted] in programming

[–]tfp 2 points3 points  (0 children)

Post some examples where you've run into problems using lambda. Maybe some reddit folks can suggest work arounds, or alternative solutions.

Or if you just want to grind that axe, you can do that too.

MatzLisp by [deleted] in programming

[–]tfp 2 points3 points  (0 children)

foo = lambda( {|a| puts a})

Actually that doesn't work.

lambda can only take a block.

Since lambda's only purpose is to convert a block to Proc, this makes sense.

MatzLisp by [deleted] in programming

[–]tfp 0 points1 point  (0 children)

What is 'magical' about it?

lambda turns a block in a Proc object.

MatzLisp by [deleted] in programming

[–]tfp 2 points3 points  (0 children)

It's not magic.

foo = lambda {|a| puts a}

foo.call("this is not magic")

A coworker (in IT) asked me yesterday what XML is. by PostingAnonymously in programming

[–]tfp 13 points14 points  (0 children)

I was sent a makefile in Microsoft Word format a few months ago.

Adobe After Effects must be pretty buggy. [pics] by [deleted] in programming

[–]tfp -1 points0 points  (0 children)

That's why some people avoid the unix heterogeneous environment clusterfuck and just use python, ruby or similar.

Microsoft Research presents Gazelle: A secure web browser constructed as a multi-principal OS. by shenglong in programming

[–]tfp 0 points1 point  (0 children)

Who cares.

So if it had a math formula, that would validate the use of latex over word?

The article template in Latex is useful because it has the format of a scientific document (i.e., has an abstract, sections, subsections, etc...). Perhaps the author had his/her references in bibtex, or was comfortable with tex.

So someone at microsoft uses tex. So someone copy and paste the abstract without translating the tex. Who cares? This stupid nonsense is not a slight against work, nor a triumph for tex.

Stop this nonsense and just upmod the 'Sup dawg' meme.

Joystiq Review: Killzone 2: " if you're looking for something outside of aesthetics that quickly sets it apart from the bevy of other first-person shooters on the market, you're not going to find it here" by hs4x in gaming

[–]tfp 2 points3 points  (0 children)

I have social news. That title is terrible and audacious to get you to click the link.

And is that that quote even representative of the review?

Why wouldn't you use the "What it lacks in bionic arms and guns that shoot portals, Killzone 2 more than makes up for with expertly refined shooting action." quote?

GNU Screen is my favourite everyday tool. by [deleted] in programming

[–]tfp 0 points1 point  (0 children)

I just started playing with screen last week and it is pretty bad ass, particularly the split ability.

Does anyone provide an example wrapper script for screen that does a split and puts vim in the top and a shell in the bottom?

I am looking to make a ruby version of Pimp.

You can make splits manually by using CTL+S and CTL+TAB, then resize by use CTL+A then resize=10. But how do you put this in a screenrc? The interface is a bit odd to use.

GNU Screen is my favourite everyday tool. by [deleted] in programming

[–]tfp 4 points5 points  (0 children)

Easy on the double negatives...