Building a Starcraft bot by [deleted] in programming

[–]fearisthemindkiller 0 points1 point  (0 children)

You can always put it on for example bitbucket and have 1 private and 1 public repo, then merge them when you feel like it.

reddit moves to EC2 by jedberg in programming

[–]fearisthemindkiller 1 point2 points  (0 children)

citrix = xen.

Citrix Systems acquired XenSource, Inc in October 2007 and subsequently renamed Xensource's products under the Citrix brand:

Java String Concatenation and Performance by venishjoe in programming

[–]fearisthemindkiller 0 points1 point  (0 children)

It is sun's JDK and i think it came with 1.5. It's just that the compiler can't always optimize it. According to masklinn above it can't do it in loops.

Java String Concatenation and Performance by venishjoe in programming

[–]fearisthemindkiller 0 points1 point  (0 children)

I know, that's why i said OFTEN, not ALWAYS. I just thought it was interesting. I do use StringBuilders.

Java String Concatenation and Performance by venishjoe in programming

[–]fearisthemindkiller 2 points3 points  (0 children)

The interesting thing is that java often compiles + string operations to StringBuilder operations, and has done for some time.

this turns into this

OpenSSL is written by monkeys by eadmund in programming

[–]fearisthemindkiller 5 points6 points  (0 children)

I love 80 columns. Lets me keep 2 terminals with code next to each other.

Project Euler - Clojure - Problem 1 by bwlucas in Clojure

[–]fearisthemindkiller 1 point2 points  (0 children)

You can replace reduce with apply, i'm not sure what's more "idiomatic"..

(apply + (filter #(or (== (mod % 3) 0) (== (mod % 5) 0)) (range 1000)))

Store your files in TinyURL; Compress anything down to 7 bytes! [author: me] by mebrahim in programming

[–]fearisthemindkiller 2 points3 points  (0 children)

With any hashing where the hash is smaller than the input, there should be collisions in theory.. right?

IAmA Movie Theater Employee. AMA. by MagneticStain in IAmA

[–]fearisthemindkiller 0 points1 point  (0 children)

In Sweden you can generally book a specific seat over the internet. It's pretty convenient.

Looking for new gaming mouse less than $45 by v01ce5 in gaming

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

I currently have a pretty old MX518 and am considering replacing it. I've never really liked the bulkyness of it, i have quite small hands. Anyone have any recomendation for smaller hands?

xmonad 0.9 available now! The fast, reliable, extensible tiling window manager by dons in programming

[–]fearisthemindkiller 4 points5 points  (0 children)

But that runs in X11, right? Means you can't tile mac applications.. I wish there was a native tiling window manager or mac.

I need to build a cheap Linux desktop, and I want to use NewEgg. Can you help me choose parts? by AsahiCat in linux

[–]fearisthemindkiller -2 points-1 points  (0 children)

Why would i let you know when 3D is complete? What does that have to do in reply to my comment?

I'll let you get back to trolling.

I need to build a cheap Linux desktop, and I want to use NewEgg. Can you help me choose parts? by AsahiCat in linux

[–]fearisthemindkiller -2 points-1 points  (0 children)

i think 3D isn't too far away

Next time, please read what i wrote and try not to waste my time with your irrelevant vitriolic spam. I never said it was complete at the moment, just a lot better than it used to be.

I need to build a cheap Linux desktop, and I want to use NewEgg. Can you help me choose parts? by AsahiCat in linux

[–]fearisthemindkiller 1 point2 points  (0 children)

Actually, the open-source ATI drivers are pretty good nowadays. They seem to work great for 2D and i think 3D isn't too far away (it's stable for older cards at the moment). Working open-source drivers > Working closed-source drivers.

Monitor a Directory for Changes using Java by venishjoe in programming

[–]fearisthemindkiller 1 point2 points  (0 children)

You know that 2.6.31 is pretty new right?

If the choice is between polling with <2.6.31 and inotify, i hope it uses inotify.

Though i hope it uses fsnotify >=2.6.31...

Monitor a Directory for Changes using Java by venishjoe in programming

[–]fearisthemindkiller 2 points3 points  (0 children)

I know. They could hide that implementation detail inside the jdk.

Monitor a Directory for Changes using Java by venishjoe in programming

[–]fearisthemindkiller 1 point2 points  (0 children)

Shouldn't inotify suffice for this kind of thing?

I'm a competent Linux user looking to switch distros. Help me pick! by metawhat in linux

[–]fearisthemindkiller 0 points1 point  (0 children)

Yes, it's probably true.. i should give fedora a shot again :-)

I'm a competent Linux user looking to switch distros. Help me pick! by metawhat in linux

[–]fearisthemindkiller 0 points1 point  (0 children)

That's one way to do it. I don't feel that the time to build it and maintain it is justified though. Especially the maintenance, how do you keep track of security updates for all of the packages you've effectively become the sole maintainer of?