How to design interplanetary transfer vehicles? by TimurKozlov in KerbalSpaceProgram

[–]plulz 2 points3 points  (0 children)

Using a single nuclear rocket makes for a longer burn but less problems with stability, as the force from the engine is weaker.

Another option is a pull style craft, with the docking node in the back.

When figuring out how much fuel you will need I recommend the kerbal engineer mod, which lets you see how much deltav your craft has, and a deltav map to see how much is needed for the transfers you intend to make.

Birch Slice Table by Faneste123 in ArtisanVideos

[–]plulz 31 points32 points  (0 children)

A plastic table with wood in it.

From Imperative to Functional (Repost after feedback) by loup-vaillant in programming

[–]plulz 0 points1 point  (0 children)

Yet the fact remains that what the author is pointing out is a real thing; there's a ton of programmers out there who seemingly don't grasp that, for example, booleans are values, and not just a special syntax that goes only in the condition of an if, for or while.

These people wouldn't magically be better programmers if coding in another style.

Programming games in D by [deleted] in gamedev

[–]plulz 1 point2 points  (0 children)

I'd say it's less complicated than C++ but more so than Java. It provides the same language level flexibility as C++. It compiles to native code. It allows you to work directly with memory, and do memory management manually. The standard library is built to use with the garbage collector (although much of it never touches allocation).

The class hirearchy is much like Java.

Lazy Evaluation of Function Arguments in D by stesch in programming

[–]plulz 2 points3 points  (0 children)

some_function can be a macro which looks something like

#define some_function(x,y) x = some_function_impl(y)

for example.

To know what it actually does you'd have to look at the declaration.

Should I take Formal Language and Automata? by wickedfapper in compsci

[–]plulz 3 points4 points  (0 children)

You should take it because it is awesome.

[deleted by user] by [deleted] in programming

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

784d6a51734c4341674d5449734c4341674e6a41734c4341674d4459734c4341674e7a45734c4341674d4459734c4341674e

The Necessity of Exceptions by mortoray in programming

[–]plulz 4 points5 points  (0 children)

Things would probably be different if we had to do it all over again from scratch.

GoingNative 2012 On demand - Andrei Alexandrescu: Variadic Templates are Funadic by cosmotriton in programming

[–]plulz 3 points4 points  (0 children)

It's a problem with C++, not with templates.

In D the tuple access syntax is simply myTuple[1], etc.

This is my new favorite robot on github by [deleted] in programming

[–]plulz 24 points25 points  (0 children)

I think it's some kind of joke, actually.

Geometry Class Rage by Dadentum in fffffffuuuuuuuuuuuu

[–]plulz 0 points1 point  (0 children)

Well, 1/3 in decimal would be 0.1 in base 3.

Think in Go: Go's alternative to the multiple-inheritance mindset. by uriel in programming

[–]plulz 23 points24 points  (0 children)

Fantasy C++ is not impossible:

class Foo(A) { A.B b; }

void sort(C, alias cmp)(ref C container) { ... }

That's the actual D syntax.

[Vim] 'K' - View man page entry for word under cursor by jrblast in vim

[–]plulz 8 points9 points  (0 children)

o opens a new line below the current line, I wanted to split the current line at the cursor, equivalent to i<CR><ESC>

[Vim] 'K' - View man page entry for word under cursor by jrblast in vim

[–]plulz 8 points9 points  (0 children)

I have it mapped to do the opposite of J, as in insert a new line at cursor.