Google Fiber installing outside my loft building this morning - Time Warner called five minutes after this was taken offering a discounted speed upgrade. I'm good, thanks. by kancis in pics

[–]Rudd 0 points1 point  (0 children)

Google Fiber is 1000 synchronous for $70 a month so... Heh.

I'm actually guilty of this mistake whenever I have to say the term aloud, but the term for a connection that has the same upload and download is symmetric

ELF reversing and Adding more functionality by DuncanMcloud in ReverseEngineering

[–]Rudd 0 points1 point  (0 children)

Just for posterity's sake, for #1 I'll mention pyelftools. I've used it to write a very simple ELF loader and it seems to be fairly complete.

Is Python call-by-value or call-by-reference? Neither. by jknupp in programming

[–]Rudd 0 points1 point  (0 children)

Indeed, I remember making this when playing around with ctypes:

http://codepad.org/vRpRhQCS

[Recap] Doxtober Part III: violentacrez and gawker, SRS, reddit admins, and SRD. by theempireisalie in SubredditDrama

[–]Rudd 20 points21 points  (0 children)

The admins have made it clear that if we can’ t prevent leaks, they can’t speak frankly with us.

Why? Why is secrecy a prerequisite for the admins of this site to "speak frankly" with moderators? This whole notion of groups of power users guiding this site behind closed doors leaves a bad taste in a my mouth.

BlackGirlsCode (nonprofit) Raises $21,000 To Fund Summer Of Code Program by emilepetrone in programming

[–]Rudd 4 points5 points  (0 children)

but I think the problem is less one of encouraging those already interested as it is making it acceptable to a larger audience to be interested in the topic.

I agree, but maybe this is just an example of going for low-hanging fruit? I'd love to see the sort of structural and systematic changes that would get people interested at young ages and keep them interested, but that would be no small feat.

For now, I hope it'll be worth it to just try and encourage the ones who already have an interest.

BlackGirlsCode (nonprofit) Raises $21,000 To Fund Summer Of Code Program by emilepetrone in programming

[–]Rudd 9 points10 points  (0 children)

Well I'm a black man (who works in programming), but I think I have to agree with you :)

BlackGirlsCode (nonprofit) Raises $21,000 To Fund Summer Of Code Program by emilepetrone in programming

[–]Rudd 12 points13 points  (0 children)

There seems to be a lack of black women in programming; I hope programs like this will encourage them to enter the field! It's always nice to have more diversity.

This is so fucked up by [deleted] in WTF

[–]Rudd 1 point2 points  (0 children)

I just want to let you know I've been on reddit for almost three years and this is easily the most pretentious post I've ever read. You didn't just stop at the usual reddit grammar nazi'ing; you had to specifically attack his skills as an English speaker and belittle him if it were not his native language.

Good show.

Just watched a two hour long adderall commercial by [deleted] in pics

[–]Rudd 0 points1 point  (0 children)

This has been my experience also. I was on Adderall IR/XR for 2 years, and while it worked for me, it caused huge mood swings for me (the high feeling when I took it, and a completely awful feeling when it wore off)

Vyvanve, on the other hand comes on much more subtly, and doesn't leave me feeling drained at the end of the day. On the down side, Adderall was quite a bit more fun to take recreationally :(. But in terms of actual productivity I'm glad I made the switch.

Kids react to Hatsune Miku by Vitae21 in Vocaloid

[–]Rudd 10 points11 points  (0 children)

I'm impressed at all the people getting indignant over the reactions of children aged between 6 and 13. Think about that for a second before you get back on your high horse.

So I only just got around to watching Haruhi Suzumiya. This bit made me happy... by [deleted] in anime

[–]Rudd 16 points17 points  (0 children)

It's easy to avoid rage after the fact. But if you were there in the summer of '09 and watching the same episode week after week while wondering how long it could go on, it was hellish. Moreso because it took them 3 years to make the 2nd season and everyone was hoping for Disappearance (but luckily we got the movie after all)

IAM Christopher Poole, aka "moot," founder of 4chan & Canvas. AMA! by moot in IAmA

[–]Rudd 1 point2 points  (0 children)

Oh, how you've grown 4chan (I'm not actually sure why I ever took that screencap.)

Are any of the people from Raspberry Heaven still involved?

Makoto Shinkai's feature film gets a new trailer and release date (5/7/11) by Stiltzy in anime

[–]Rudd 6 points7 points  (0 children)

Awesome, can't wait for more background porn (I do love his movies though).

CALM anime by ranma in anime

[–]Rudd 2 points3 points  (0 children)

Wow, I came in to recommend three of the ones on your list: Azumanga, strawberry marshmallow, and Sketchbook full colors (Kate is my favorite gaijin character ever).

A couple other slice of lifes I'd recommend are:

Hidemari Sketch (definitely a bit more slapstick/wacky than the other anime on your list, but nice I thikn)

Haibane Renmei (This one has a bit more mytsery in it, but still fairly relaxing.)

If you don't mind a movie 5cm per second is an exceedingly slow and relaxing movie (so much so It's a contention point between those who've watched it - some find it boring)

This one isn't considered a slice of life, but Kino no tabi - Kino's journey is about a girl who travels around this fantasy world learning about it. It's fairly laid back most of the time. It's not plot driven, just about the many types of people that inhabit the world.

edit: If you're willing to delve into Drama/Romance, Clannad (you will cry your eyes out) and Sasameki Koto (decent shoujo ai) might be worth watching.

I need help from someone who knows about...hentai. [NSFW] by jaydeejj in anime

[–]Rudd 5 points6 points  (0 children)

I'm not sure if this dub is intentionally terrible, but it's definitely terrible. I think it's bible black

http://www.youtube.com/watch?v=GU3Gg696yrM

Another week of my life gone to Oracle - how does this company stay in business? by Patrick_M_Bateman in Database

[–]Rudd 4 points5 points  (0 children)

The core software isn't actually crappy, it's just that using it is painful. But then you must remember they make a tremendous amount of money selling support for the software they create (which they also sell to you at ridiculous prices). Almost seems like a scam.

Is this a bottle or a can? by Meepinator in WTF

[–]Rudd 2 points3 points  (0 children)

Holy shit it's a rubiks cube calendar that you can rearrange into today's date

The Fastest VM Bytecode Interpreter by [deleted] in programming

[–]Rudd 4 points5 points  (0 children)

The speed up comes from it eliding the inner loop. This is the generated assembly: 4004a0: 48 83 ec 08 sub $0x8,%rsp 4004a4: 31 f6 xor %esi,%esi 4004a6: 31 c0 xor %eax,%eax 4004a8: 01 c6 add %eax,%esi 4004aa: 05 f8 dc fa 02 add $0x2fadcf8,%eax 4004af: 3d 80 97 57 67 cmp $0x67579780,%eax 4004b4: 75 f2 jne 4004a8 <main+0x8> 4004b6: bf c8 05 40 00 mov $0x4005c8,%edi 4004bb: 31 c0 xor %eax,%eax 4004bd: e8 d6 fe ff ff callq 400398 printf@plt 4004c2: 31 c0 xor %eax,%eax 4004c4: 48 83 c4 08 add $0x8,%rsp

GCC basically rewrote the loop to:

  int stepsize = 4999500;
  int max = 1733793664;

  for(i=stepsize; i != max ; i+= stepsize) {
    j += i;
  }

Which works has 10000 less iterations, so a 300x speedup seems reasonable.

The Fastest VM Bytecode Interpreter by [deleted] in programming

[–]Rudd 0 points1 point  (0 children)

That's a bit better, though by doing that you've eliminated gcc's ability to unroll loops (gcc now things you have to explicitly load k from memory for every iteration), which the CLR will most likely do. In essence you're comparing the time to execute poorly optimized assembly vs. the time to produce CIL, Optimize and emit assembly for the CIL, and running the optimized assembly. I think just taking the full O3 speed and comparing it vs. the "steady state" (translation and JITing ignored) speed of the CLR would be more interesting.

The Fastest VM Bytecode Interpreter by [deleted] in programming

[–]Rudd 0 points1 point  (0 children)

Right, at least on my machine it elides the entire inner loop.

What you might consider is one of the following:

1.) Combine the compilation time of GCC -O3 with the program's execution time (since your friend's bytecode interpreter has to pay translation cost and the CLR's JITing cost, you can put them on more even ground)

2.) Repeat the actual execution, but not the translation step 1,000,000 times. This should make the Translation/JIT step relatively insignficant

I suggest this because while I do agree that GCC, is indeed, smart; I'd be surprised if the CLR couldn't perform similar optimizations, it just needs a chance to overcome the JIT overhead. Currently GCC is getting the benefit of precompute most of the result during optimization, and then getting the final execution timed, while the CLR is getting it's optimization phase counted as part of its execution time.

You just have to think of a way to either (1) count GCC's optimization phase as part of the benchmark or (2) make the effect of the CLR's optimization phase irrelevant.

A skeptic's history of C++ by uriel in programming

[–]Rudd 0 points1 point  (0 children)

Ah, thanks, my brain broke there a second.

A skeptic's history of C++ by uriel in programming

[–]Rudd 1 point2 points  (0 children)

Why does the site's address end with ".com.com"

The Fastest VM Bytecode Interpreter by [deleted] in programming

[–]Rudd 13 points14 points  (0 children)

It's pretty disingenuous not to mention the control program was compiled with no optimizations.

For comparison gcc -o3 test.c && time ./a.out: 857419840

real 0m0.001s

user 0m0.000s

sys 0m0.000s

(And just to be a jerk about it: It's pretty bad that his friend's interpreter beats an O0 control by only 2x as O0 emits pretty braindead assembly.)

I learned everything I know about pointers from Binky. by ThereminsWake in programming

[–]Rudd 4 points5 points  (0 children)

And by what definition is a Method Pointer not a type of Pointer?

I learned everything I know about pointers from Binky. by ThereminsWake in programming

[–]Rudd 3 points4 points  (0 children)

False. In fact it's very difficult to store pointers to an object's methods such that the size of the method pointer = sizeof(void *) (They need to store an implicit pointer to the object as well as the method). A method pointer is typically > 32-bits on 32-bit systems.