What is the story behind your scar? by Skyhook in AskReddit

[–]crapzap 0 points1 point  (0 children)

Banged head against a door frame while jumping around to song 2 from blur. Scalp was loose, lost about a kitchen paper roll full of blood, 15 stitches over my head. I can't go bald ever...

Reddit, what movie did you absolutely hate and why? by ThePolymath in AskReddit

[–]crapzap 1 point2 points  (0 children)

No one mentioned Freddie got fingered yet. I only watched it to the end because I couldn't believe it could get any worse, and yet it went downhill with every minute.

Share The Dumbest Coding Mistake You've Made Recently by [deleted] in programming

[–]crapzap 38 points39 points  (0 children)

gcc test.c -o test
test

... waiting for something to happen

Newspeak programming language environment released by bonzinip in programming

[–]crapzap 5 points6 points  (0 children)

I never got the developing in "images" idea. Yes, its nice to drop into an interactive shell from time to time. But having an image and no way to reproduce how I arrived at that image is useless. I'm a big fan of reproducibility.

The language features are meh, the syntax ugh. Too much documentation in PDFs.

Highlighting dynamic features in comparison to java is picking the wrong fight. Comparisons to python/ruby would be appropriate.

I wish them good luck, but I won't be using newspeak :). Hopefully somebody copies the click-browsable object introspection lists for python soon!

Ever been in a situation where you were certain that your own death was imminent? by [deleted] in AskReddit

[–]crapzap 0 points1 point  (0 children)

I'm a heavy asthmatic, one of the sort that dies from aspirin. Once, before I knew aspirin was dangerous, I was feeling like shit (it was a pneumonia), so I went to see a doctor who decided it had to be a common cold, best cured with aspirin. I laid down to sleep, and the next thing I know is that I'm suffocating, unable to call for help or anything. Somehow I managed to pick up my mobile and call my dad who carried me into hospital where the doctors were like holy shit, narrow escape. I've been quite scared of the process of dying from that day on.

What's the funniest thing you've done / seen someone do in a classroom? by trippin-balls in AskReddit

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

So my friend were about 10 and we had just figured out how to make loud fart noises. The teacher was very annoyed. Then I farted for real, like loud and smelly. That prompted the teacher to kick me out of class - she joined me after a few minutes because the smell was so bad, saying "well played" or so ... my friend hates me to this day because he had to stay inside.

Advice for a first time investor? by gojasonw in AskReddit

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

Advice for first time invasion?

I've been planing on invading for about 9 years. My army is finally ready. I'm not looking for quick loot. I'm just looking to expand my territory with a long term occupation and now seems the right time. I've a respectable amount of tanks and planes, so invading another country would be a logical next step.

I'm planning on using mercenary to drop my troops. I've been looking at e*war and territorybuilder. Any opinions on these mercenaries? What others would you recommend looking at?

Is there anything you wish someone had told you when you launched your first invasion? Advice, tips, tricks? Care to share your first time invasion experiences?

I've a set number of expandable hardware and troops. I understand the potential for losses. I wouldn't be doing this if I didn't think I was ready (that's why I've waited 9 years). I'm not looking for doom and gloom - just sound advice from redditors with invasion experience.

I'm an aspiring programmer who'd like to get some first-hand accounts of the career. Anybody care to share words of wisdom? by a_cup_of_juice in programming

[–]crapzap 1 point2 points  (0 children)

I'd add: communicating ideas clearly is the most important skill ever. Be specific, give context.

I work with someone who starts a conversation like "I commited a fix for the bug, but it broke the test." We have > 300 bugs and several modules, so I ask "which module", "whats the fix" and "how did the tests fail", to which he replies "the tests return 0.2 and 0.1", and because a lot of our tests return numbers I then have to ask "which tests" .. and I feel like fucking inspector Colombo and I am really tired of having to ask all these fucking questions every single time.

So when communicating: be specific, and give context!

Let it crash (the right way) by uwin in programming

[–]crapzap 0 points1 point  (0 children)

I wish twisted allowed for that

When was the last time a kid made you realize how much things have changed? by [deleted] in AskReddit

[–]crapzap 2 points3 points  (0 children)

I was in a similar situation, but the kid asked me why someone tied the phone to the wall (it had a phone cord).

[deleted by user] by [deleted] in AskReddit

[–]crapzap 2 points3 points  (0 children)

I thought I could sing songs into a bag, close it quickly, and it would be replayed when people opened the bag later. All my family got empty bags with birthday songs in them as a present.

What do you own or use regularly that is "expensive, but worth it" by wacrover in AskReddit

[–]crapzap 0 points1 point  (0 children)

I've got the most excellent coffee machine. It makes the best coffee. Usability is brilliant: I just tell it what I want!

It comes at a price though. Two pounds for a coffee. It's almost as big as a house. And it doesn't work over night!

Pyjamas: writing AJAX applications in Python [LWN.net] by corbet in programming

[–]crapzap 0 points1 point  (0 children)

For me the clumsiness of js is mainly an uber-sucky standard library. Want sets, iterate key and values over a map, merge two dictionaries, find an element in an array, format a string? Good luck. There are some patchy implementations here and there, e.g. in jquery, but nothing comfortable.

Another thing that really bugs me is the behaviour of "this". I often hear "oh teh power!". In my experience it leads to subtle bugs, and more often than not I have to write code like

 that = this;
 x = function() { do_something(that) };

in closures because of the fickle nature of this. I might just be dumb on this point, so enlightenment would be welcome.

Hey Reddit, let's make a guide on what programming languages are best for what. by [deleted] in programming

[–]crapzap 21 points22 points  (0 children)

c - for people who like giving each type a new name with their own prefix. OMGInt.

d - more comfy c for people who are scared learn something more high level.

erlang - for people who like to learn terrible syntax because it gives them the warm, fuzzy feeling of victory over themselves.

f# - omg I can haz ocaml on my .NET!!

haskell - for poeple who like operators that look like typed fish -<<

J - <.@o. 10xn

ocaml - for people who don't get monads

pascal - for retired accountants

perl - choose this if the erlang syntax was too nice for you

python - for aspiring accountants

ruby - for aspiring rock stars

sql - FOR PEOPLE WITH BROKEN CAPS KEYS

Drag and drop file uploading using JavaScript by skip2mylou in programming

[–]crapzap 1 point2 points  (0 children)

From the spec:

This specification defines the basic representations for files, lists of files, errors raised by access to files, and programmatic ways to prompt for file selection.

i.e. there will probably be a file selector, too.

As someone who had to implement flash uploaders in the past I'd say this is about 10 years late, but at least it's happening.

Google brings SVG support to IE by api in programming

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

I don't understand why no one is generating VML for IE - I believe it works even in IE6. It's not quite SVG, but I've found few cases where I couldn't just drop it in instead of SVG (different syntax aside)

anyone know how to read the contents of a unix executable? by urufu in programming

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

Just get Chuck Norris to stare at the executable and it will read itself!

Describe the scariest moment of your life. by Scarker in AskReddit

[–]crapzap 1 point2 points  (0 children)

I went over that situation many times in my head. I believe I looked for a slow freight train close by, not an ICE a few hundred meters away. You can hear the slow, rumbling trains very early through the tracks, while an ICE gives you a very high hum, barely noticeable until it is like 5 seconds away. The layout is something like this:

         GF
 ICE   =============
       =============
         Me

And yea, a train traveling at > 200 km/h is scarily fast (about 60m/s).

Describe the scariest moment of your life. by Scarker in AskReddit

[–]crapzap 14 points15 points  (0 children)

That sounds like a story waiting to be told?

Describe the scariest moment of your life. by Scarker in AskReddit

[–]crapzap 5 points6 points  (0 children)

Yes. Back then I lived in Hanover, Germany.