HNHacker News
TopNewBestAskShowJobs

sluukkonen

173 karma · joined March 28, 2013

submissionscomments
sluukkonen··on Adi Shamir Prevented from Attending Crypto and Cryptology Conferences
Quoting attributes is optional in HTML (though recommended).
sluukkonen··on Why Java Now Rocks More Than Ever: Part 1 – The Java Compiler
If you're using the new G1 collector which ships in JDK 7, the only configuration parameters you really need to care about are the minimum and maximum heap sizes (-Xms and -Xmx) and perhaps the latency target (-XX:MaxGCPauseMillis).

So it's not all bad.

sluukkonen··on Ruby 2.1 Garbage Collection to Address Criticism on Large Scale Deployments
For anyone interested in how it will be implemented, see ko1's presentation slides from Euruko 2013.

http://euruko2013.org/speakers/presentations/toward_more_eff...

sluukkonen··on Trampolines in JavaScript
Small steps. Just using some simple functional constructs like `map` and `filter` will do wonders for your code. You don't have to start writing everything in a purely functional manner to benefit from it.
sluukkonen··on Largest Homeless Camp In US is in Silicon Valley
What? Copenhagen alone has thousands of homeless people. And what makes you think that people choose to be homeless?
sluukkonen··on Don't use bcrypt (2012)
Be sure to read Moxie Marlinspike's comment (the first comment on the page) there.
sluukkonen··on Linux 3.9 introduced a new way of writing socket servers
What he means is true parallelism (although alternate ruby and python implementations have it).
sluukkonen··on Top Sites Built with Ruby on Rails
The newer link doesn't mention them using Rails anymore. It's probably still in use in some internal apps, but the main twitter.com site should be 100% Scala now.
sluukkonen··on Announcing TypeScript 0.9.1
Does anyone have experience with using TypeScript with existing libraries like Angular.js?

I know that there are definition files for it [1] (and many other popular libraries), but unfortunately I haven't had the time to check out their quality.

[1] https://github.com/borisyankov/DefinitelyTyped/tree/master/a...

sluukkonen··on Angular or Backbone: what are startups using?
Angular supports data-attributes as well.
sluukkonen··on Bootstrap 3
If nothing else, it's easier to override with your own styles.
sluukkonen··on Scoping in CoffeeScript and JavaScript
Very nice article. This is easily the biggest problem I have with CoffeeScript.
sluukkonen··on Googleusercontent.com fun
Google uses a different domain for user content, namely googleusercontent.com.
sluukkonen··on How do I “think in AngularJS” if I have a jQuery background?
There is a simple todo app example on the angularjs homepage. It's one of the first examples there.
sluukkonen··on Mozilla’s WebGL2: an experimental WebGL implementation based on OpenGL ES 3.0
Good standards stem from real-world experience. It's best to implement something yourself (even better if there are other competing implementations), and then seek standardization.
sluukkonen··on Unsure if I understand TransactionAwarePersistenceManagerFactoryProxy
It's an internal, automatically generated class. No programmer is ever going to use it.
sluukkonen··on Our web development workflow is completely broken
The Live Edit functionality is provided by a plugin, so it should work in PyCharm as well. I know that it works in RubyMine.
sluukkonen··on Apple now shows iOS usage share on App Store
Small correction: the iPad version isn't out yet, but apparently they're releasing it this summer.
sluukkonen··on TypeScript 0.9 released
ES6 is very important for them. For example, classes and modules in Typescript are essentially lifted directly from ES6, and they aim to remain compatible with ES6 as it evolves.
sluukkonen··on Vim as a Python IDE, or Python IDE as Vim
I can share much of the thoughts regarding RubyMine (a Ruby IDE by JetBrains). While it is not the best text editor out there (I used to use Emacs for Ruby stuff), the IDE features are great and (for me) outweight some of the niceties that Emacs or Your Favourite Text Editor has. Symbol navigation works across libraries and the graphical debugger is great. Autocompletion could be better, but I understand how the dynamic nature of Ruby (and especially Rails, which uses a lot of metaprogramming magic to do its thing) makes it sometimes hard to do 100% accurately.

(I'm not affiliated with JetBrains, just a happy customer)

sluukkonen··on Free Official MSIE VM's for Linux and Mac
The EULA forbids you to run OS X on non-Apple hardware though.

"to install, use and run up to two (2) additional copies or instances of the Apple Software within virtual operating system environments on each Mac Computer you own or control that is already running the Apple Software, for purposes of: (a) software development; (b) testing during software development; (c) using OS X Server; or (d) personal, non-commercial use."

http://www.apple.com/legal/sla/docs/OSX1082.pdf

sluukkonen··on A conversation with the Go team
It can be more convenient, but the added type safety prevents the programmer from doing many kinds of common mistakes. It's a trade-off.
sluukkonen··on Why I Dislike EC2
It's also 2 years old, so a lot might've changed.
sluukkonen··on Shocking response from Facebook about request to remove this offensive page
Fair enough.
sluukkonen··on Shocking response from Facebook about request to remove this offensive page
Facebook has rules forbidding hate speech. Is that not hate speech to you?
sluukkonen··on Things I set on new servers
Either Last-Modified or Etag is sufficient. Most servers will add both, though.

Edit: The difference is that Last-Modified allows clients to use a heuristic to determine if the response should be cached for a certain duration (unless explicit Cache-Control or Expires headers are used). The heuristic isn't specified, but a 10% fraction of Date - Last-Modified is suggested, and in fact, that is what e.g. Internet Explorer does.

sluukkonen··on ApiDoc - Inline Documentation for RESTful web APIs
One such tool is Swagger [1]. The nice thing about it is that it can automatically write you a client as well. There are client implementations for many programming languages, such as Java, Scala, Clojure, Ruby, Python, PHP, Javascript and C#.

[1] https://developers.helloreverb.com/swagger/

sluukkonen··on PLTTS - Find your perfect color palette
I like the idea, but the layout is pretty broken in non-Webkit browsers.
sluukkonen··on Web Framework Benchmarks
For Play, you'll want to either 1) handle the (blocking) database queries using Futures/Actors that use a separate thread pool (this might be easier to do in Scala) or 2) bump the default thread pool sizes considerably. The default configuration is optimized purely for non-blocking I/O.

See e.g. https://github.com/playframework/Play20/blob/master/document... and https://gist.github.com/guillaumebort/2973705 for more info.

← PreviousPage 2 of 2