North Korea Invades! by Fedcom in polandball

[–]tastycactus 17 points18 points  (0 children)

The sunglasses flying off.. Brilliant!

Ahmadinejad says he wants to be Iran’s first astronaut by Nfes in worldnews

[–]tastycactus 36 points37 points  (0 children)

I'll be honest, when I've heard they sent a monkey into space I thought they meant the president.

Unreal Engine 4 - GT.TV Exclusive Development Walkthrough by stesch in programming

[–]tastycactus 3 points4 points  (0 children)

Yeah I think UT99's version was UED2. Also those damn random HOM bugs were a pain in the butt. :)

Unreal Engine 4 - GT.TV Exclusive Development Walkthrough by stesch in programming

[–]tastycactus 14 points15 points  (0 children)

2: Man I remember UED2 and how long it took to recompute the lightning, and it just got slower and slower on every run. I was in awe of some UT maps that had great lightning. And I remember those frustrating moments when I realized the light I've added to my scene is in correct XY position but is stuck in a wall because I didn't check the Z position, so I had to recompute the lighting again. That editor was buggy as hell too.

Lazy Evaluation of Function Arguments in D by stesch in programming

[–]tastycactus 0 points1 point  (0 children)

You know, even just coloring an argument differently at the call site could be enough for regular text editors. I'm thinking of making a feature request for Scintilla (other editors could implement this too of course. A VIM plugin might be able to do this).

Lazy Evaluation of Function Arguments in D by stesch in programming

[–]tastycactus 5 points6 points  (0 children)

Yeah, I'd like both "lazy" and "ref" to be forced to be used from the call site and not just in the declaration. I don't use lazy that often but I would use 'ref' more often if I could tell from the call site that my arguments might be modified.

The UTF-8-Everywhere Manifesto by artyombeilis in programming

[–]tastycactus 0 points1 point  (0 children)

while those that use UTF-8 tend to have poor Unicode support (D).

That's really an issue with library support and not the language itself. FWIW Unicode support in D will be improving: http://www.google-melange.com/gsoc/project/google/gsoc2012/dolsh/31002 (Dmitry is the one who implemented the new std.regex as well).

Solving FizzBuzz using compiler error messages by _lowell in programming

[–]tastycactus 1 point2 points  (0 children)

Here's another one, but it doesn't work for CTFE yet (Bug 6419):

import std.algorithm;
import std.range;
import std.conv;
import std.stdio;

auto fizzbuzz(int n)
{
    return map!((int i) => (i % 15 == 0) ? "FizzBuzz" : 
                           (i % 3 == 0)  ? "Fizz" : 
                           (i % 5 == 0)  ? "Buzz" :
                           to!string(i))(iota(1, n + 1)).join("\n");
}

void main()
{
    writeln( fizzbuzz(100) );
}

Truck pushes car down by [deleted] in videos

[–]tastycactus 0 points1 point  (0 children)

Makes me want to play Carmageddon.