HNHacker News
TopNewBestAskShowJobs

koko775

990 karma · joined September 27, 2009

submissionscomments
koko775··on Sane Async Patterns in JavaScript
These patterns apply to Javascript, which I wasn't expecting from the title. Mods, could you edit in "Javascript" somewhere in the title, please?
koko775··on The Handshake Deal Protocol
I'm aware of it, but I don't think it's perfect, at least not for one of the older versions of OS X which his computer runs. Moot point, anyway, he doesn't want me messing with the way he has his display set up.
koko775··on The Handshake Deal Protocol
But people's eyesight declines. My dad now puts his 27" iMac at 1024x768 because website font sizes are typically too small for him now.
koko775··on $2 Million for ‘Veronica Mars’ Breaks Kickstarter Records
"cons" is not just not a "reddit acronym", but is also a common term for "conventions" and "conferences" that has been in use for at least three decades. I haven't lived longer than two and a half but I wager it's older than I am.

You're not entitled to your own ignorance, and not everyone uses language the same way you do. Please lighten up, open your mind a little bit to that, and grow a thicker skin.

koko775··on The Start-Up Trap
Phrased that way, I agree completely. An established codebase needs to be verified in some ways. But writing code and running it against tests is not exactly equivalent to TDD.

TDD as I understand it is characterized by writing a failing test, followed by implementation code, followed by test-fixing, etc.

However, I can write plenty of good code that does what it's supposed to and works and is stable. THEN I'll refactor as needed, write tests, and since I anticipated my needs, making those tests good and the code testable will be relatively straightforward. That's not TDD, though. It's a pragmatic approach that doesn't prioritize setting requirements (or solidifying an API) over starting simple and iterating quickly.

koko775··on The Start-Up Trap
> Not doing TDD often leads to tightly-coupled brittle software, which can be very fast to implement but also difficult to change down the road. It certainly doesn't have to, but in reality that's what happens 90% of the time.

This is flatly wrong. It may be a tool for productive programmers to keep their code on the right track, but assuming that loosely-coupled code isn't written without it is a huge overreach. Certainly, tests do help, but TDD is just a tool in the toolbox. I have seen many very talented programmers and many of them do not need TDD to produce stable, well-architected projects.

koko775··on A peek into the curious world of HDMI copy protection
I have an insider's view of the industry, as well as an understanding of the interplay that happens between different target platforms, content providers, and the engineers implementing the actual streaming platform.

I have no need to lie nor any investment in being verifiably correct. My viewpoint is simply my own and carries its own validity according to however much people wish to believe me.

koko775··on A peek into the curious world of HDMI copy protection
> DRM is popular not because it makes the possible impossible (not even the least technical people at the studios think this), but because it makes copying more expensive

No, it exists because it's usually a contractual obligation for licensing the content for distribution to at least make a token effort to protect content. That's really the biggest reason.

Source: I work at an entertainment company

koko775··on An important announcement to the Vert.x community
Consider Finagle (from Twitter), perhaps?
koko775··on Quitting LinkedIn
Chris, you've jumped from Zoosk, to Formspring, to Amazon, to Etsy all in the period of two to three years. Maybe you've proven yourself resourceful enough at this point to not need the value it gives?

(also, hi, former coworker!)

koko775··on Ask HN: What unwanted domain names are you sitting on?
do.co.no & so.co.no
koko775··on Reeddit - Minimalist, elastic and read-only web app client for Reddit
That's their right, though.

The same process that allows a teen to invade a subreddit and fill it with memes is the same thing that allows anyone to invade a subreddit and fill it with their opinions.

No matter how valid that opinion is, it's still disruptive to a community. If subreddits are to be self-policing, they can't be obligated to not live in a bubble, however unfortunate that bubble may be, if that is what they have agreed upon.

If you want to see an example of a heavily moderated forum done right, head to SomethingAwful. It has some lightly-moderated pressure valves, but the more topical forums keep a leash on discussions without chilling the conversation.

koko775··on Behind enemy lines: 3 months as an iOS developer at Google
I stopped having merge conflicts with pbxproj files - ever - once I started making use of this tool in my projects:

https://github.com/WebKit/webkit/blob/master/Tools/Scripts/s...

It can be run while Xcode is open; it'll just reset the tree view. It basically alphabetizes everything, so there is one canonical ordering to items that you add to the project.

koko775··on The FreeBSD Foundation falls short of its 2012 fundraising goal by 50%
OS X has a BSD subsystem, but is based on the XNU kernel (Darwin). It's not FreeBSD in any realistic sense.
koko775··on Guido says goodbye to Google
While I don't have personal experience with it myself, things like games lend themselves well to a limited use of OOP but also require performance-critical code and tight control over the language. With static analysis tools, I bet that C++ could be audited more comprehensive through automated tests than C could be.
koko775··on Guido says goodbye to Google
C++ gives you an insane amount of control, is exceedingly manual, hard to use, hard to learn, and you can easily screw yourself over by using it - but it gives you so much performance that it's worth the necessary expertise.

Go tries to be safer and more automatic, like Java. While it's more organized and prescriptive than C or C++, it's less religious than Java about everything being a class. So it encourages the pragmatism and low-levelness of closer-to-the-metal languages while also abstracting out a lot of the details which get in the way of just writing systems.

koko775··on A young person's guide to quitting your day job
Not until you have enough that you're not clawing just to stay afloat. Until that point, stress and paranoia about job security are a pretty big deal.
koko775··on A new log4j 2.0
Okay, now we're getting somewhere, but as someone who has used Java more client-side than server-side, I'm not familiar with the problems everyone's else been through. I would love for you to enlighten me, if you could!

Also, what would you substitute in place of StaticLoggerBinder? It did strike me as somewhat janky to rely on a class with a matching name and class just existing.

koko775··on A new log4j 2.0
The creator of slf4j and logback originally created log4j, so "Not Invented Here" is literally not true as the inventor invented those three libraries.
koko775··on A new log4j 2.0
Specifics, please. I just implemented a logging backend for slf4j on Android in roughly ~1 hour with virtually no prior knowledge other than generally how to use slf4j and how to use Android's Log class.

It just worked, and it was pretty darn simple, and now I have fancy log messages. I even customized the tags so that instead of com.example.some.path.to.Something, I can summarize that to c.e.s.p.to.Something.

koko775··on A new log4j 2.0
SLF4J basically won, IMO. Barring extremely specialized uses, there's not hugely compelling reasons to use anything else than slf4j-api as the logging interface to your backend of choice, I think. So there is a good default choice, and the "proper logging API" exists.

Flume uses it, logback uses it, log4j is compatible with it, and it's compatible with pretty much everything, or you can write your own logger however you like.

P.S. You sound really pissed about this. Do you have personal experience with logging frameworks?

koko775··on Silicon Valley's dirty secret - age bias
> (a) avoid income volatility that becomes more unacceptable with age, (b) evade the "job hopper" stigma

(a) Ding! I had to drop out of college to support my parents.

(b) Ding! I stuck around with jobs that made my physically unstable and emotionally depressed because otherwise I would have been unemployable.

I was originally an iOS dev, which I love, and I hate Android programming, but I've been forced by circumstance to get reasonably good at it over the past two years. And yet to some of the people I know, I'm the "old" guy, and I haven't even hit my mid-twenties.

koko775··on VLC Core is LGPL
Did you even read the link?

> Even though SQLite is in the public domain and does not require a license, some users want to obtain a license anyway. Some reasons for obtaining a license include:

>

> * You are using SQLite in a jurisdiction that does not recognize the public domain.

> * You are using SQLite in a jurisdiction that does not recognize the right of an author to dedicate their work to the public domain.

> * You want to hold a tangible legal document as evidence that you have the legal right to use and distribute SQLite.

> * Your legal department tells you that you have to purchase a license.

>

> If you feel like you really have to purchase a license for SQLite, Hwaci, the company that employs the architect and principal developers of SQLite, will sell you one.

koko775··on When it comes to DRM, Amazon is a bottom feeding Hell Beast
Amazon may have been DRM free because the music companies wanted to hedge on a competitor to test the waters. Just FYI.
koko775··on Objective-C in The Cloud
Nope, OS X can only be virtualized on Apple hardware. ESXi (baremetal hypervisor) supports OS X on Apple hardware
koko775··on This service lets you use Netflix, Pandora, Hulu, and Rdio from any country
I see what you're saying and I think I agree with what you're getting at but to do so Netflix would need to build a radically different service and license it differently as well.
koko775··on This service lets you use Netflix, Pandora, Hulu, and Rdio from any country
It's not that they haven't figured it out, it's that Hulu's average revenue per user earns much less than DVD sales or TV sales.

Hulu, Netflix, etc. all WANT licenses in perpetuity worldwide. It's not they don't want to offer it everywhere, it's that the licensors won't let them.

Profits for online media need to be higher to kill broadcast. The average user watches 6 episodes on Hulu per month and earns $2 for that month. Buying a 12-episode season for $30 means that a DVD buyer is 750% as profitable as a Hulu watcher. Hulu has about 30 million users, but in terms of TV profitability, you can wave your hands a little bit and equate the importance of that audience to 4 million TV watchers.

Similarly, Dish Network has 14 million subscribers, a much lower number than Hulu or Netflix, yet has far greater profit and therefore much greater purchasing power for content licenses.

It's a bitter pill to swallow, but Hulu and Netflix are such a great value that they're not providing enough of one to be the destination for the newest, best content. Which is why they're working on creating original content - hoping that, among other things, it increases eyeballs, which increases ad sale profits, which makes it more profitable to the entrenched content producers - which, finally, is their path to dominating the online entertainment market.

I think their strategy is wrong and that there's a better path.

koko775··on The island where people forget to die
Seconded. Any posts having to deal with entertainment media have proven to have armchair experts all over them, and few if any voices of reason.
koko775··on Jon Stewart: Lower entrepreneurial risk
Agreed. I'm 24 and the overriding reason why I haven't started a startup is that for the past three+ years I've had my hands full supporting my family, who fell on hard times due to the economic downturn. I can't risk my parents being on the streets dying from lack of healthcare. I'm willing to take the risk for myself, but right now my parents have nobody to turn to.

It's exceedingly clear to me that "they would start a startup anyways" takes a very privileged view, as if risks are there to be taken willy-nilly, and the fallout of a failure nothing much in the grand scheme of things. That may be true for the self, but if others depend on you, it's a whole different perspective and some responsibility must be taken.

koko775··on How to use Gmail to destroy your relationship with your investors and customers
http://www.eicar.org/86-0-Intended-use.html

It's designed to be automatically flagged as a virus, without actually being a virus. I found this with a simple Googling; you can too!

← PreviousPage 5 of 10Next →