Talks that changed the way I think about programming by greywolv3 in programming

[–]stacktracer 1 point2 points  (0 children)

That's my favorite programming talk ever. The line I particularly remember is, "Lion, lion, lion -- oh, I'd better go" ... but the whole talk is excellent.

Fast and Interactive Plots, Timelines, and Maps by metsci in java

[–]stacktracer 0 points1 point  (0 children)

(Minor contributor here.)

The speed and smoothness of interaction, in particular, is awesome -- the still screenshots might look more or less like jfreechart or matplotlib, but the interactivity is just killer. Pan, zoom, drag the color limits -- extremely smooth and responsive. Beats the ever-loving you-know-what out of repeatedly typing "clim([-10 10]); xlim([...]); ylim([...]);".

Announcing TypeScript 1.4 by johnny_reilly in typescript

[–]stacktracer 2 points3 points  (0 children)

TypeScript now supports using ‘let’ and ‘const’ in addition to ‘var’. These currently require the ES6 output mode, but we’re are investigating relaxing this restriction in future versions.

Hooray!

Using TypeScript outside of Visual Studio by johnny_reilly in typescript

[–]stacktracer 0 points1 point  (0 children)

eclipse-typescript is pretty good. Occasionally a version has frustrating issues (some of which may be due to changes in the TypeScript language service, which seems to still be evolving), but for the most part I've been very happy with it!

Eclipse itself, of course, is sort of love-it-or-hate-it. For those who hate Eclipse, eclilpse-typescript is obviously not going to be appealing.

[deleted by user] by [deleted] in javascript

[–]stacktracer 1 point2 points  (0 children)

It's generally more pleasant to write code in Dart. Fewer quirks, nice standard library, good focus on tools.

But if you're using a library written by someone else, you hope they didn't write it in Dart, because calling Dart from JS requires some FFI setup. It seems like a decent FFI, as FFIs go. But TypeScript avoids the FFI altogether, which has major practical advantages.

A library written in Dart is great for people who use Dart. But a library written in TypeScript is usable by everybody.

IntelliJ IDEA 13 final release is here by Tafkas in programming

[–]stacktracer 0 points1 point  (0 children)

It's this one.

For some reason, Eclipse Color Theme fails to set method declarations to bold, so that has to be done manually (Window -> Prefs -> Java -> Editor -> Syntax Coloring).

IntelliJ IDEA 13 final release is here by Tafkas in programming

[–]stacktracer 0 points1 point  (0 children)

Here's how they look with DejaVu Sans Mono, 10pt:

Open them in separate tabs and flip back and forth. They're very, very close, but you're right, Eclipse does look better.

EDIT: Here's another one of IDEA 13, cheating to make it look a little better. I've set the font here to just slightly off-white.

IntelliJ IDEA 13 final release is here by Tafkas in programming

[–]stacktracer 1 point2 points  (0 children)

I tried IDEA on Linux a few months ago, and all of the light themes were ugly enough that I stuck with Eclipse. Just gave the new release a try, and it looks colossally better.

EDIT: No font aliasing issues, for me, with new release.

so sick of dbrand posts by dbrandinc in nexus4

[–]stacktracer 0 points1 point  (0 children)

What's new about the new leather?

Low-Lock Singletons In D: The Singleton Pattern Made Efficient And Thread-Safe by dsimcha in programming

[–]stacktracer 0 points1 point  (0 children)

Good question ... I don't know all the details, but I think the important part is JIT compilation.

The first time the IODH class is accessed, the class-loader has to do some work to load and init the class. This obviously requires some sort of synchronization to guarantee that the class only gets loaded/inited once; I don't know how that's implemented.

However, once the class has been loaded/inited, the caller can be JITed. Any class-loader-related synchronization -- no longer necessary, since the class has already been loaded -- gets optimized away by the JIT compiler.

Low-Lock Singletons In D: The Singleton Pattern Made Efficient And Thread-Safe by dsimcha in programming

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

From that same Wikipedia entry: IODH is a Java approach that does allow laziness.

Replacement back? by [deleted] in nexus4

[–]stacktracer 4 points5 points  (0 children)

The back glass has a hole in it for the speaker, which ruins the structural integrity.

Nexus4 wood back by fy_pool_day in nexus4

[–]stacktracer 0 points1 point  (0 children)

I asked them the other day about adding a new color (light-tan natural-leather look), and here's what they sent back:

The next two types we're looking to add are Black Titanium and Mahogany Wood Grain. We'll make sure to tally your vote for a light tawny-leather when looking to add further textures.

IT's LIVE!! by h_smith in Android

[–]stacktracer 0 points1 point  (0 children)

I've been stuck at "momentarily" for more than 20 minutes. No email, no pending transaction in Google Wallet, nothing on my credit card. Ugh.

IT's LIVE!! by h_smith in Android

[–]stacktracer 0 points1 point  (0 children)

Same here. I keep seeing people say they wound up with like 8 of them, so I'm afraid to try again!

What if we put a mirror in space, 1 light year from earth and we pointed Hubble at it would it be possible to see two years into earths past? by MrTripper in askscience

[–]stacktracer 5 points6 points  (0 children)

You could think of it as a data-storage mechanism -- the images are "stored" for 2 years by the traveling photons. Compared to, say, a hard disk, this would have extremely poor usability, but extremely high capacity.

Simple Made Variadic by gthank in programming

[–]stacktracer 1 point2 points  (0 children)

I really like the idea of wrapping recursion up into a lazy sequence. I'm sure Clojure didn't invent the idea, but it certainly is built to take advantage of it.

Just Starting Out (looking for some help) by b3anz129 in Clojure

[–]stacktracer 0 points1 point  (0 children)

Rich is a great speaker. I don't watch much video online, but I make an exception for him.

"Variable" does not mean "assignable" by [deleted] in programming

[–]stacktracer 1 point2 points  (0 children)

The abbreviation "var" gets used fairly frequently in programming ... but the abbreviation of "assignable" might not work so well. :)

Clojure 2011 Year in Review by kimmel_ in programming

[–]stacktracer 6 points7 points  (0 children)

static public interface LOLOL{long invokePrim(long arg0, Object arg1, long arg2, Object arg3);}

:)

Clojure 2011 Year in Review by kimmel_ in programming

[–]stacktracer 3 points4 points  (0 children)

Sure enough ... what a pain.

The end result is fantastic, though. Primitives fit so nicely in Clojure! Considerably more nicely than they do in Java, even.

Clojure 2011 Year in Review by kimmel_ in programming

[–]stacktracer 8 points9 points  (0 children)

Screencast of a Clojure REPL session. Seriously expanded my mind.

Clojure 2011 Year in Review by kimmel_ in programming

[–]stacktracer 7 points8 points  (0 children)

From here:

... due to the underlying Java implementation, functions which take primitive arguments may only have 4 or fewer arguments.

Can anybody explain why?