HNHacker News
TopNewBestAskShowJobs

salmanapk

83 karma · joined September 19, 2011

I get hellbanned for nothing.
submissionscomments
salmanapk··on Developer Freedom At Stake As Oracle Clings To Java API Copyrights
What Java alternatives do we have other than Mono/C#?
salmanapk··on Pestilence: Ruin Someone’s Day with JavaScript
God.. I got scared thinking my new laptop is having a hardware problem or something.
salmanapk··on Why Asm.js Bothers Me
writing yucky Java and still dealing with yucky JavaScript? :P
salmanapk··on Global Internet slows after 'biggest attack in history'
Interesting.. they were also attacked a week ago (and started using CloudFlare): http://blog.cloudflare.com/the-ddos-that-knocked-spamhaus-of...
salmanapk··on Ubuntu tapped by China for national operating system
> PUT for update (and PATCH too).

PUT for update and PATCH for partial update.

salmanapk··on Bills seek end to farm animal abuse videos
From having feelings? WTF is wrong with you people.
salmanapk··on Google Reader shutting down
Thanks! Was trying to remember this one.
salmanapk··on SSL + CNAME + static files hosting on GAE: almost free
>One-year validity

Yes but you can renew for free.

salmanapk··on Flat UI DMCA Takedown
Damn people are so dumb.. way to ruin your reputation. This is why I should start my own start-up :|

Oh and did the developer of Flat UI file a counter takedown notice?

Edit: Sorry if I offended anyone, just posted what I thought.

salmanapk··on Chrome 26 Beta: Template Element and Unprefixed CSS Transitions
Does this break Meteor.js? (It uses <template> for.. templates)
salmanapk··on Ember.js or Angular.js?
Actually that's the only bit confusing part of the documentation (which now everyone is quoting to troll Angular).
salmanapk··on Bootstrap 2.3 Released
AFAIK CSS uses camelCase for variables.[1]

1: http://css-tricks.com/currentcolor/

salmanapk··on Google’s Supposed Chromebook Pixel (And Its Touch Display) Stars In Leaked Video
Even if it only runs Chrome OS?
salmanapk··on Migrating from Ember.js to AngularJS
I don't find that post hilarious but good thing: they no longer need to do the dirty-checking in the latest Chrome[1], which will improve performance significantly.

1: https://plus.google.com/112439678898563138768/posts/RZKRBiGX...

salmanapk··on The PNG image file format is now more popular than GIF
>JPEG XR†, seems vastly superior to WebP in almost every way

No animations duh.

salmanapk··on Stack Overflow User Survey Results
haha in-joke.
salmanapk··on Apple Pulls 500px’s Mobile Apps From The App Store
Well you have no idea how much shit and limits I have to go through because of these sickos.
salmanapk··on '2 girls 1 cup' producer sentenced to 4 years in federal prison
"During the trial, jurors were forced to watch hours of videos in which females engaged in sex acts involving human waste and animals."

Made me chuckle.

salmanapk··on Apple Pulls 500px’s Mobile Apps From The App Store
What's with this Arab/Muslim mentality? What harm can non-pornographic nude photos do to kids?
salmanapk··on SSH client in Google Chrome
It might not be very safe at the moment, but this _is_ the future no matter how much you troll.
salmanapk··on Continuum - A javascript ES6 VM
There's also Caja by Google: http://code.google.com/p/google-caja/
salmanapk··on Rant: Backbone, Angular, Meteor, Derby
Angular is used internally by Google for bit-more-than-complex projects so its possible my friend. It was also used for the Double Click for Advertisers rewrite.[1]

>and still lot of things they didn't support like proper callbacks upon rendering, etc

Heh render callbacks in Angular? That's so Backbone. Did you read the hello world tutorial?

1: https://www.youtube.com/watch?v=oJoAnVRIVQo

salmanapk··on Rant: Backbone, Angular, Meteor, Derby
>Angular.js. Now this is more like it in terms of magic. Then, the other day, I decided to add a date picker to one of my forms. Uh oh: http://www.grobmeier.de/angular-js-binding-to-jquery-ui-date.... - how many lines of code just to make it a date picker? I couldn't have written that code myself without several more days of banging my head. Wonder what'd happen if I really try and do something it doesn't agree with... So out the window with that for the time being.

To be fair, you can just use Angular UI as that article says: <input ng-model="date" ui-date> for a date picker and the ui-jq directive for any other jQuery plugin.

salmanapk··on Web Scraping with Node.js and Chimera
Just in case this saves someone's time:

phantomjs-node uses ridiculous hacks. Not being rude but I think the author was drunk when writing that. I ended up wasting quite some time when trying to customize it.

You do NOT need to use any hacks whatsoever to run dnode on phantom, just browserify(https://github.com/substack/node-browserify) the shoe and dnode modules and use the example code at https://github.com/substack/dnode .

salmanapk··on John Resig's ‘Secrets of the JavaScript Ninja’ has been released
Makes me kinda hate the book since he was such an awesome blogger. :(
salmanapk··on Web scraping with Node.js
>There’s no way to download resources with phantomjs – the only thing you can do is create a snapshot of the page as a png or pdf. That’s useful but meant we had to resort back to request() for the PDF download.

That's not a "problem", you shouldn't be using Webkit to download files.

salmanapk··on Average age of StackExchange users for each tag
Looks like Google App Engine.
salmanapk··on Zed Shaw's Template for "Learn X The Hard Way" Books
Totally agree. Even worse is when someone tries to shove another language down your throat in a JavaScript tutorial i.e., CoffeeScript.
salmanapk··on How to start with Backbone.js: A simple skeleton app
Same. I also feel bad for the people stuck with Backbone.
salmanapk··on Google Play comes to Google Apps: Enterprises can distribute apps internally
I won't suggest any non-technical person to use the "open web" you guys want.
Page 1 of 3Next →