HNHacker News
TopNewBestAskShowJobs

se85

102 karma · joined May 31, 2012

submissionscomments
se85··on Show HN: Matches.js -- Powerful Pattern Matching for Javascript
I've come across aspects of this functionality before in a couple of languages now, even psql, however looking at this JavaScript way of doing it, I have to question whether it helps code readability or hurts it.

edit: dyslexia

se85··on There is something magical about Firefox OS
Javascript performing well on mobile is NOT magic, its just good engineering.

The big problem I see with Firefox OS is that it is not going to take much to make the entire "App Store" full of app's that perform horribly, and in return that will make Firefox OS look bad as a result.

Abstracting away all the complexities of making JavaScript/HTML/CSS perform well on mobile into a set of API's that anyone can use regardless of skill doesn't seem feasible to me but I could be wrong and If they have actually pulled this off, great! But it's still not magic.

se85··on Sequoia’s Jim Goetz: Shocking More Startups Are Not Building For The Enterprise
Makes plenty of sense to me.

If you actually sit down and think of it from a entrepreneur point of view as opposed to a corporate point of view, it's pretty clear that more often than not, the risk proposition is just not worth it, and the odds are already stacked against you as an entrepreneur without bringing the enterprise into the equation.

se85··on Facebook’s Strength: Zuckerberg ignores shareholder stock price complaints
I don't believe for a second this has been a plan in the making for over 8 years and if it was, it was just to keep control of his company, nothing more, not an overly elaborate plan specially designed to keep stockholders at bay when facebook would IPO 8 years later and the stock would inevitably flop and he would need to "rebuild" the companies strategies, what the hell is that?

What a far fetched story!

se85··on Full quote of what Mark Zuckerberg actually said about HTML5
All the context that is needed is said in the first sentence.

To claim this was facebook's biggest mistake is surely one of the most ridiculous things i've ever seen or heard the guy say.

edit: Mark Zuckerberg has his head up his arse :-)

se85··on Depression lies
Why not?
se85··on Mark Zuckerberg: Our Biggest Mistake Was Was Betting Too Much On HTML5
That is facebook's biggest mistake?

Is he blind or just wilfully ignorant?

se85··on Java's Cover (April 2001)
Completely understand where you are coming from, knowledge is power after all!

I just don't understand how your going to get that knowledge if you avoid large areas of importance in every language you come across. Avoiding prototypes and closures in JavaScript means that there is a HUGE area of functional object orientated programming that you have no idea about, which means there is a number of languages you are never truly going to get your head around, including JavaScript, not a good position for a widely skilled hacker to be in, and creeping errors like this can really mess with your future prospects.

In my case this huge area of functional object orientated programming ended up becoming my career, after many years of being a jack of all trades master of none php and python developer.

I don't agree with a lot of the mainstream opinions around OOP myself, and I feel that functional programming has lots of merit in its own right, so maybe you should consider looking more into functional programming if you don't like the typical OOP MVC approach. If nothing else it will open up your mind to the many different ways that OOP can be implemented and might remove some of the fear or hate around OOP. :-)

I guess what I am saying is that, in many ways programming IS OOP, if only because of the sheer number of modern languages out there that have OOP design concepts within, by actively avoiding OOP you are actively avoiding learning some really important stuff that will help you learn many other key languages and programming concepts in the future.

Don't make the mistakes of letting your opinions around any given language, influence your opinions on any other language.

Next time you come across something OOP related please consider what I have said and don't fall into the same trap that so many other programmers fall into. You will be doing you and your future self a great favour!

se85··on Javascript the right way
I somewhat agree with your points.

You can't just explain every single design pattern available in any given language and then say, you now know how to write that language "The right way!".

Thats the feeling I got from this, it just goes into way too much detail about way too many things, and forgets to start with the basics, which is all you need to know to write JavaScript the right way.

How can you write any language the right way without knowing the basics?

This book could be an absolute disaster in the hands of people who don't know any better.

+1 for steering clear of this resource.

se85··on Java's Cover (April 2001)
The verbose and non-transparent nature of Java should not deter you from learning and using object orientated programming in other environments, especially since these concepts had already been explored decades before Java existed.

Object orientated programming is a good thing when it is done right, and horrible when it's done wrong, just like anything.

If your not doing functional programming and your not doing object orientated programming (they are both different types of OOP) then your not growing as a programmer, and this will come back to bite you much worse than any verbose Java code ever could.

I'm not at all a fan of Java personally and I too think its way more verbose and complicated than things need to be, but OOP != Java.

se85··on Just Scroll
Nope :-)
se85··on Why I think Node.JS is a terrible platform
What is your definition of fast?

Javascript performance has come a long way since the days of IE6.

Saying that node.js is more difficult to work with than Python is just a matter of perspective isn't it?

Like any technology, in the hands of individuals that know what they are doing it is really not any more difficult than anything else.

For me personally, the fragmented Python community was what scared me to Node.Js in the first place. This was year's ago now, so perhaps Python has gotten better at that, but from a getting started point of view Node.js was and still is pretty easy, at the time the only thing that compared in Python in terms of ease of use was CherryPy, but It was not stable enough at the time for me to feel comfortable staying with Python for the one library that was not production ready.

se85··on Why I think Node.JS is a terrible platform
The entire post was an opinionated piece of crap based on the author's opinion that anything to do with callbacks are evil.

I couldn't help but see in the comments that the author states that avoiding callback hell in node.js is somehow different to using the same javascript design patterns in browser side javascript to avoid callback hell. What's the difference?

The author's problem is he doesn't understand JavaScript, so he never had a chance at properly understanding Node.Js and where it's strengths and weaknesses are let alone how to build something in such a way to ease developer pains associated with learning any new language.

se85··on Just Scroll
I understand that IE9 uses the GPU to render the DOM.

That would help vastly with things like this, unfortunately it does little for its JavaScript performance, but since this page doesn't seem to execute any JavaScript during scrolling (i think) i guess it's not relevant for this one edge case scenario :-)

se85··on Just Scroll
Thats fascinating that Chrome on Android is capable of delivering the desktop experience of this concept even with the limited hardware specs of the Galaxy Tab.

I wonder whats so different under the hood of Safari Mobile on iOS 5 vs Chrome on Android 4 to deliver such different results, maybe its a hardware thing with tablets vs phones?

se85··on Just Scroll
Not sure. My safari is completely broken at the moment (my fault!)
se85··on Apple's Genius Bar Manual That Teaches its Employees How To Manipulate Customers
I believe that. San Fransisco is an amazing place full of amazing people.

Unfortunately over here in Australia, I suspect it is just the general state of any industry involving customer service.

When going to many of the restaurants in Sydney it is extremely rare to experience the kind of customer service which you take for granted over there. We don't do tipping, so that probably explains that.

There are no shortage of apple geeks in Sydney. Theres two Apple Stores in Sydney now as a matter of fact - both on George St (the main street that goes through the Sydney CBD)!

Sydney is a lot like SFO was to me in the sense that its impossible to go out in public for more than a couple of minutes without seeing somebody using an apple product!

For whatever reason though, it seems that Apple Australia keeps hiring the people who really don't show a great deal of passion in Apple at all (or people for that matter)

I'm sure theres plenty of good people working at the Apple stores around Australia, unfortunately I always seem to get the opposite, perhaps I'm just extremely unlucky, but I feel its gone well past that point now.

se85··on New Firefox Command Line helps you develop faster
I don't understand what this does that can't already be done a hell of a lot better with the combo of firefox/firebug and the web developer toolbar?

What is the value proposition here? Perhaps I'm missing something but it just looks like a CLI interface over the top of JavaScript (as opposed to the GUI/CLI approach with firebug - which is a far more scaleable approach).

Is this thing going to need 1000 plugins installed within the plugin just to offer the same functionality as firebug?

I didn't understand the 3d view of web pages either and their GUI for their version of firebug is completely inferior (even though it looks fancier).

Looks are not everything.

Why has any of this stuff even been allowed to be prioritised over core browser performance and functionality.

It is a sad state of affairs to see what Firefox has devolved into compared to how it was in its glory days.

se85··on Just Scroll
Interesting design concept - but a horrible implementation of it.

You can't just go and load a thousand divs and not expect a wide variety of performance issues across all the different platforms.

You need to have a tile manager or something behind the scenes the same way that Google maps does, especially when targetting smaller consumer devices with limited hardware specs like tablets and phones.

* iOS5 - with an iphone 3gs (laggy to the point of being unusable)

* iOS5 - with an iphone 4 (laggy to be the point of being unusable, unless your patient). I don't have an iphone 4gs to test on, but I suspect it might be more on par with ipad 2 performance. The differences could be to do with retina display vs non retina display as well I suppose.

* iOS5 - with an iPad 1 - roughly same performance as an iphone 3gs - crappy

* iOS5 - with an iPad 2 - not too bad (but thats because of the gpu tile rendering in safari going on behind the scenes i suspect.

* Firefox 15 on a quad core i7 imac - massive ram spike, and crazy lag with the scrolling

* Chrome on a quad core i7 imac - no problem.

I'm not even going to bother trying this out in IE!

edit: Latest version of Opera has provided the poorest results yet, it keeps lagging and pausing and reloading the images after they have already been loaded (didn't check to see if it was actually downloading them again though)

se85··on How Long Will You Need to Save to Buy a Home In Your City?
Yep, I actually migrated from a small country town out west to sydney BECAUSE of the commuting.

Now i'm thinking I just need to move to a country that isn't so ridiculous when it comes to living costs.

se85··on How Long Will You Need to Save to Buy a Home In Your City?
This is correct.

Its definitely not a 1 to 1 comparison because of the crazy cost of living here.

Theres also the jump in the amount you get taxed (disregarding additional things we have to pay for such as private health care/medicare levy, superannuation, etc), so even if you were earning say 100k a year, you automatically lose a quarter of it before you ever see any of it.

Most people I know that live in the city do not have a salary that exceeds 50k a year, so all of this plus the cost of housing is leading to several generations of renters instead of home buyers. I dont actually know a single person in the city that has a mortgage, everybody seems to be renting because few people can afford to have a mortgage in the city.

I can only speak from my experiences knowing the people I know, but I know many people from all walks of life, so i doubt my view is that biast.

I pay as much in rent for a 1 bedroom apartment in the sydney than I would with a mortgage for a 3 bedroom home well outside of the city.

Heres another example of how expensive things are here that always makes my blood boil - a bottle of coke is going to cost you 4-6 dollars at your typical convenience store.

When i was last in San Fransisco 4-5 years ago, It cost around a $1.50 including tax.

se85··on Digg Archive lets you download your old data
They would have been better off not offering this feature at all, then half assing it like they have.

My account apparently has 0 diggs and 0 comments.

Seeing that some people are getting other peoples stories and comments in their exports...well thats just sloppy!

And still no commenting system? What is this, 1999?

Quickly losing faith in the new Digg, not that I care though and not that I ever had much faith to begin with.

se85··on Apple's Genius Bar Manual That Teaches its Employees How To Manipulate Customers
My taste of their return policy involved me taking back my busted iphone 4 that was 3 months old into the Apple store expecting a good outcome, like I always hear on the internet, instead I was accused of being a liar and that the phone was water damaged and that they could not do anything for me.

Mind you, I had not even gotten to the genius bar at this point and they had not even looked at the white stickers inside the phone and socket to look for water damage.

Looking up my name also would have indicated I too had spent thousands on apple products.

I had to fight and claw my way through multiple managers and then multiple people at the genius bar before I finally got my phone replaced, and in the end, the way the replacement phone was issued to me was almost like I was being given hush money to shut up and go away. It was pretty ridiculous and extremely unprofessional.

It's not even my worst experience at an Apple Store, which says a lot.

I'm still a big fan of Apple's products, but not a fan at all of the Apple Store, and it is unlikely I will ever step foot in one again after what I've had to endure.

Then again, this all happened in Australia, and our standards with customer service are noticeably much, much lower than in America, so maybe that had something to do with it and the Apple Stores in America do have the excellent customer service I keep hearing about

se85··on PonyDebugger: Chrome Developer Tools for Native iOS Apps
Wow, I never thought it would be possible to use the webkit developer tools for a completely different technology stack to such an extent.

Impressive to say the least.

se85··on TechCrunch is a bully
LMAO!

Thats a really good idea!

se85··on TechCrunch is a bully
Come on people, she is a con artist! She deserved every last bit of it, and then some.

If only more con artists got destroyed like this in public, the world would be a better place for sure.

se85··on Controversial programming opinions
Yeah I really have to agree with you on this one.

There is a reason why programming chops are not usually measured in lines of code.

In my opinion the "art" of programming is to keep things simple yet still solve the complex problems.

I'd say the guy was being humble for sure, as it seems extremely unlikely he would have the discipline to sit down and write something SIMPLE from scratch if he really was a bad programmer.

I've never seen it.

se85··on The Talented Ms. Hornstein: How Shirls Fooled The Valley
lol, what a pathetic person.

I laughed when I saw the photoshops.

I pity the fool, her career in technology is most certainly over at this point now that the cat is out of the bag.

se85··on How Long Will You Need to Save to Buy a Home In Your City?
I live in Sydney Australia, so to me these prices look fairly reasonable in comparison.

To give some of you non-aussies an example...

The average price for 2 bedroom victorian era terraces (hundred year old plus buildings) with next to no real land except the land the property sits on in sydney can be anywhere from 800k (AU) to millions of dollars.

Our interest rates are also higher then US.

se85··on Improve [iOS] Usability with a Black Status Bar and Rounded Corners
Yep.

I am a designer/UXer and programmer, so I understand the art behind building software from both sides, believe me.

I have even had to port parts of UIViewAnimation over to JavaScript to enable controllable touch scrolling on both left and top scrollbars on any scrollable element. Turns out that CSS3 animations don't perform anywhere near as well as using this method, but thats another story!

I'm not criticising design, UX or the author's point, because I agree.

His way of going about making that point being completely over the top is what I was poking fun at ;-)

← PreviousPage 3 of 4Next →