Better HN
topnewbestaskshowjobs
Log inSign up

aa0

123 karma · joined Jul 1, 2013 (13y ago) · 99 submissions

Submissions

comment 13y ago · link · parent

This isn't SurfaceReviews.com

comment 13y ago · link · parent

Seriously?

comment 13y ago · link · parent

And it's not cheap, $35..

comment 13y ago · link · parent

Java is slow. It's going nowhere fast. LLVM on the other hand...

comment 13y ago · link · parent

You need a bookmarklet.

comment 13y ago · link · parent

Amazon has always seemed to me to offer the best support of any industry. They truly are honorary when it comes to customer treatment

comment 13y ago · link · parent

You're such a brave white knight aren't you.

comment 13y ago · link · parent

You forget you're on HN where slow ass designer languages are all the hail. Sigh..

comment 13y ago · link · parent

Ruby on Rails and your single-origin latte is calling. C is the most performant for years now, a large part of the kernel is in assembly. Remember to download your gems tonight, rude boy.

comment 13y ago · link · parent

I see, makes sense - it is easy to multiply big nums together but insane to factor the bignums out of them. You explained it more succinctly than I've ever understood it, thanks a ton!

comment 13y ago · link · parent

No shit, you don't have time to do what you want when you're strapped for cash. What's new aristocat?

comment 13y ago · link · parent

Couldn't a cross-comparison be used, encrypting different known blocks and observing certain key properties? I would imagine that any kind of reversible operation would be able to be deduced if it can be applied to specific data that reveals its true form/operation.

13.

A question on public/private key encryption

1 points · by aa0 · 13y ago · 4 comments

comment 13y ago · link · parent

This pattern is egregious and shows a lack of knowledge of the architecture and language.

All these private methods are going to be duplicated for every object created. The whole point of the 'this' magic in javascript is to allow the same function, ie. the same memory usage, to be used with 1000s of objects with no hit. Here, you're going to get unique functions, extra memory, for just having the 'this' operator substituted by a variable named _elem. This code is fundamentally flawed and I severely suggest to never use closures for shared object methods when instead a shared method that is bound using '.bind' will ensure much better performance and memory usage.

15.

The October 2013 MAD Magazine Cover(i.imgur.com ↗)

2 points · by aa0 · 13y ago · discuss

16.

Why the rampant fanboyism around CoffeeScript worries me(andrewluetgers.com ↗)

1 points · by aa0 · 13y ago · discuss

comment 13y ago · link · parent

Emscripten is far more worthy of the phrase 'saved JS dev.'

comment 13y ago · link · parent

Yes, render,reflow,timeouts,event handling, etc happens.. You might need to set a CSS property and then animate it. In this case you'll need to wait for a render in between the two steps

Also useful if you need to wait until after all event handlers are executed in the current context

comment 13y ago · link · parent

CoffeeScript is a debauchery of JS. With ECMAScript 6 you won't need CoffeeScript for anything except maybe it's inline printf-like string substitution.

comment 13y ago · link · parent

Timeouts are not checked on every event loop, hence the 4ms delay. And no, setTimeout is asynchronous and processed during the event loop.

Basic event loop is; timeouts, js execution, repaint, reflow, etc

comment 13y ago · link · parent

You wouldn't if the whole house is metallic would you?

comment 13y ago · link · parent

This article is great because it doesn't argue for piracy or against it. I do feel that it is missing a discussion about the colour of bits being amalgated by other bits. IE, if I buy a movie and then I torrent that same movie, is the torrented copy still illegal? Cloudy at best, I'd say.

comment 13y ago · link · parent

Ah I see, thanks it's working now.

comment 13y ago · link · parent

While it may be cool that Kal compiles itself, unless there is a source tree for the Kal binaries themselves, there is a indubitably huge issue of trust with distributing binaries.

Relevant: http://cm.bell-labs.com/who/ken/trust.html

comment 13y ago · link · parent

Nothing is interactive for me except for the email input and subscribe button

comment 13y ago · link · parent

This just brings me to some spam about subscribing for a scala tutorial, c'mon HN.

comment 13y ago · link · parent

That was a great video, thank you! Knowing basic gear mechanics helps a lot in understanding how cars function.

This 1937 video about differentials is also enlightening:

http://www.youtube.com/watch?v=yYAw79386WI

Why is it that old tutorial videos are so thorough and informative?

comment 13y ago · link · parent

You're wrong. The relationship is different, the graph of the speed limit vs velocity would also be different, for the same masses/cars.

comment 13y ago · link · parent

An operation queue where dependencies can be set is also very relevant. For example, if you have to do 2 different json requests, followed by a render - but they are mutually exclusive, you can do a 2->1 dependency. If they do depend on each other's result, you can do a 1->1->1

I like this async syntax but I'm more fond of native JS generator trampoline. I think the JSOperation with dependencies could even use generators in its implementation.

All these solutions coming about after the C# async article are very enlightening to this problem of the synchronic vs diachronic vs asynchronic.

The JSOperations lib is in alpha but can be found here https://github.com/iandrewfuchs/JSOperations/blob/master/REA...

comment 13y ago · link · parent

Microsoft pretty much let their c compiler rot. It doesn't support dynamic allocation, ie, int arr[numElts];, it doesn't even support var declaration anywhere but at the beginning of a function. Making code I've been writing compatible with msvc has been a pure headache.
1234