HNHacker News
TopNewBestAskShowJobs

alisnic

407 karma · joined January 2, 2012

[ my public key: https://keybase.io/andrei; my proof: https://keybase.io/andrei/sigs/e8cnY6Lb2RugH_oSgwaaYhOg8oifE9DytXzEpteyteU ]
submissionscomments
alisnic··on JustFab Raises Another $40M Led By Hong Kong’s Shining Capital
How many millions someone would need to sell some shoes online?
alisnic··on SteamOS
The biggest benefit as I see it, is that the users won't have the hassle of setting something up: just install the OS and login. No drivers ppa, no recovery console, no xorg.conf patches. If this is true, Valve will do something very big for the gaming community.
alisnic··on jor1k: OR1000 Javascript Emulator Running Linux
If I remember correctly, the source is not obfuscated either
alisnic··on Google Glass has new rival in GlassUp smart specs
tl, dr; a much more lame, monocolor version of glass, which can't take take any input from user whatsoever except via smartphone.
alisnic··on Rundown of the newest features in C++11 [pdf]
proposal: cpp.wikipedia.org - to categorize and store all the stuff cpp had and have.

</sarcasm>

alisnic··on AMD’s “heterogeneous Uniform Memory Access” coming this year in Kaveri
Pardon me, but this is fucking awesome!
alisnic··on Godit - A very religious text editor written in Go
"the tab size is always an equivalent to 8 spaces/characters" - our faiths are incompatible
alisnic··on Aggressive negative advertising by Microsoft against Google.
This is just pathetic, first the whole Android virus thing, now it's the email. What the actual f*ck?

I'm not a pro product guy, I always choose the right tool for the job, but this stuff enrages me and makes me look at MS as scumbags.

alisnic··on Former Microsoft executive says Ballmer culls internal rivals to retain power
I may be wrong, but I always had the impression on Ballmer as a weird (in a bad sense weird) and inadequate guy. I also usually give credit to him for all ”WTF MS?” moments.
alisnic··on Bringing functional to the frontend – Clojure and ClojureScript for the web
My biggest problem with ClojureScript is that is very hard to reason about code written in it if you are a beginner.
alisnic··on Warrantless wiretaps? Congress votes yes
This will sound silly, but after watching The Wire, I am tempted to support
alisnic··on IF-less programming
I totally agree with you, the purpose of the article was to explore but not to obsess over the subject.
alisnic··on IF-less programming
I guess it depends on what you learn from the subject. The general attitude I have is "Here's this thing, let's think about it", rather than "ZOMG, drop your ifs, they are BAD"
alisnic··on IF-less programming
I was talking in terms of the constructs which the language can provide to avoid ifs.

> And suggests that this is better:

It depends in what terms are you thinking. A syntactic improvement is a also a benefit, isn't it?

alisnic··on IF-less programming
> "ifs are a smelly thing in a Object Oriented language."

It is partially my fault because I failed to express what I really ment. English not my native, so sorry.

What I really ment in this sentece is "why using (a lot of) ifs can be a bad practice in a Object Oriented language"

alisnic··on IF-less programming
You did not read the article, by no means I suggest to get rid of the IFs completely.
alisnic··on On logic in a Rails app
I don't think I agree with the fact that every time you isolate a piece of logic you add a layer. But I don't think I have a solid argument for that yet :)

You do make a good point though that in having many small objects is easy to mess with external dependencies. But in my case, the testing always suggested if I had done something like that, and I improved. If an object becomes hard to test in isolation, then something has been done wrong.

alisnic··on On logic in a Rails app
I am not sure I understand your point, can you elaborate?
alisnic··on On logic in a Rails app
> it seems to do more harm than good to their understanding good OO design.

Can you provide an example?

alisnic··on On logic in a Rails app
I guess, but I am not informed enough to make a well-grounded statement about this. I guess this is Don't-keep-your-logic-in-delivery pattern.
alisnic··on On logic in a Rails app
So far, I got a lot of feedback here and on my blog, which I didn't expect (also the frontpage). There seems to be a general attitude of "why complicating things from day 1?" towards the article I wrote. While I do agree that there is no need to isolate things from the start, I do not see the complications at all.

The cost of creating a file and moving behaviour there is exactly 0, but the benefits are there from day 1.

alisnic··on On logic in a Rails app
> claim you just discovered a pinnacle of object-oriented design since you respect the "Single Responsibility Principle"...

I never said that, why all the hate? I stated pretty clear that this is my approach on things, and I never pretended it to be the "right" one.

alisnic··on On logic in a Rails app
If you do TDD, I don't see how this slows you down when you are isolated from the start. (Rails takes ~1 second to boot in the beginning).

And you are right, this was not intended to be presented as refactoring pattern, although it qualifies as one, this is how I manage code in my projects from day 1. And I do agree with you that is not always reasonable to do that, but I just feel more benefits rather than penalties doing it from the start.

alisnic··on On logic in a Rails app
Totally agree.
alisnic··on On logic in a Rails app
I don't understand what is the problem of having a lot of small classes? They are there when you need them, and they get out of the way you don't, and I think that's the most important thing.
alisnic··on On logic in a Rails app
> A file (not a pattern) is the most effective unit of code organization and navigation

This can be misinterpreted in many ways.

alisnic··on On logic in a Rails app
There was a quote in Ruby Rogues podcast which said that "Ruby people use factories a lot, they just don't call them like that"
alisnic··on On logic in a Rails app
sounds fancy, can you elaborate?
alisnic··on MS IE Bubbles performance test shows results based on User-Agent
I get 15 FPS in Chrome on my machine, when I change the User-Agent to IE9, I get 22 FPS.
alisnic··on Making your ruby fly
Please note that this difference is only in this scenario (rake routes), it largely varies in other ones.

Also, a big part of falcon patch is the ruby 2.0 garbage collector, which obviously will be available in ruby 2.0.

← PreviousPage 2 of 3Next →