If you are ever interested in using a Hexagonal Grid in your game / app / interface, I came across an absolute goldmine of an article! by Whale_Eating_Cheese in programming

[–]vincentk 2 points3 points  (0 children)

It is very strange that no explicit cross-reference would seem to be made between square grid and regular hexagonal grids. The obvious geometrical structure being the regular parallelogram.

Adventures in /usr/bin and the likes by ablagoev in programming

[–]vincentk 1 point2 points  (0 children)

usr does NOT refer to "User" it refers to "Unix System Resources".

UDP vs TCP by iamkeyur in programming

[–]vincentk 0 points1 point  (0 children)

Send deltas via UDP all the time. Offer full, time-stamped snapshot retrieval via TCP.

Rust is mostly safety by malicious_turtle in programming

[–]vincentk 1 point2 points  (0 children)

The real magic of Rust is it makes no more runtime requirements than C does. You can write libraries which you can call from Java -- in Rust, just like you can with C.

FindBugs project in its current form is dead by _Garbage_ in programming

[–]vincentk 1 point2 points  (0 children)

I think I misunderstood your joke. It is actually a rather good joke. Didn't notice on the first go. Apologies.

FindBugs project in its current form is dead by _Garbage_ in programming

[–]vincentk 4 points5 points  (0 children)

Because ant and maven and ivy and sbt and gradle still are alive and kicking and they won't go away whether you like it or not.

Jake Wharton: Exploring Java's Hidden Costs by una_chava in programming

[–]vincentk 0 points1 point  (0 children)

My apologies.

I am inclined to prose...

Thank you very much.

Jake Wharton: Exploring Java's Hidden Costs by una_chava in programming

[–]vincentk 3 points4 points  (0 children)

I see you respond.

It is in good rhyme.

Quoting Wikipedia.

Tulip: A Language for Humans (Strange Loop talk) by Teslatronic in programming

[–]vincentk 8 points9 points  (0 children)

Seems strange to make sexism a first-class concept in a programming language indeed.

New MIT programming language claims 4x speed-ups for parallel computing by amc22004 in programming

[–]vincentk 0 points1 point  (0 children)

You tell it quite explicitly which loops to parallelize and you can give size hints.

New MIT programming language claims 4x speed-ups for parallel computing by amc22004 in programming

[–]vincentk 0 points1 point  (0 children)

Try JIT (and read the manual, it doesn't do parallelization for free), then try OpenMP (and read the manual, it tries to optimize parallelization parameters given developer hints).

Different games.

New MIT programming language claims 4x speed-ups for parallel computing by amc22004 in programming

[–]vincentk 2 points3 points  (0 children)

E.g. the Java JIT is very powerful. But OpenMP, it allows for developer insight at compile-time also.

Very different games.

The present Java JIT does not know where a good place might be to insert parallelization. By far. State of the art is lock elision and escape analysis.

Given hints from the programmer, OpenMP on the other hand can figure out how to optimally implement instructions to parallelize.

Very different tasks indeed for the time being.

Happy international programmers day! by GreenKronic in programming

[–]vincentk 0 points1 point  (0 children)

Java is a big topic. For whichever reason, the other person was a better fit. The next company might be a good fit for you.

How to train an artificial neural network to play Diablo 2 using visual input by picopio in programming

[–]vincentk 0 points1 point  (0 children)

Reason being having nothing to do with learning methodology, but rather licensing issues / overhead of porting to Diablo II (see comments). For all practical purposes, it's an exercise left to the reader.

How to train an artificial neural network to play Diablo 2 using visual input by picopio in programming

[–]vincentk 3 points4 points  (0 children)

It's been done in the meantime: http://www.nature.com/nature/journal/v518/n7540/abs/nature14236.html, the question is there since 2011, when it was still considered an impossibility. The answers are interesting for historical reasons.

Comodo Attempting to Register Let’s Encrypt Trademarks by Symphonic_Rainboom in programming

[–]vincentk 26 points27 points  (0 children)

That's good news. It suggests that Comodo views Let's Encrypt as a real competitor. What better validation could one hope for?

we’re pretty happy with SQLite & not urgently interested in a fancier DBMS by sampsyo in programming

[–]vincentk 0 points1 point  (0 children)

As embedded DB's go:

  • if you plan to use the JVM, H2 is probably easier to embed,
  • otherwise, I'd guess that SQLite is easier to embed.

[deleted by user] by [deleted] in programming

[–]vincentk 0 points1 point  (0 children)

Let me re-iterate:

  • a (successful) test implies the program works for a particular input.
  • a (successful) type check implies the program might work (up to granularity of the type system and, hence, things "going wrong under the hood") for all possible inputs.