HNHacker News
TopNewBestAskShowJobs

gary4gar

440 karma · joined March 6, 2011

Ruby on rails Freelance Consultant
submissionscomments
gary4gar··on Twitter Shifting More Code to JVM, Citing Performance and Encapsulation
I wonder how the story had been, if twitter had opted for Python, instead of ruby.

Do they still have these problems or in these aspects python is better than ruby?

gary4gar··on Google made my son cry
Great idea!
gary4gar··on Google's search results are not relevant, example: PDF
Guys, I can understand on when you say query is lacks context but does my Point is those two results are fully irrelevant to my query. its maybe its I have held bar for search engines to high but I don't expect them to read my mind. Because most people when searching with "PDF" keyword will look for:

* pdf reader * pdf editor * pdf converter * pdf search engine etc etc.

But Java or R programming language results, that's not what I am NOT looking for. these two results are not even related.further, for other queries too -- I see ton of such irrelevant results stuffed into google which have to NO relation to original search term. This wasn't always like that -- earlier I used to get better results.

That's why I used this query to express my opinion that search result quality has gone down in past few years & you are now more likely to find spam results for your queries.

--Cross posted from Google Plus

gary4gar··on DjangoCon EU 2011 Videos
And for some reason, all videos are named after presenter. Please mention "talk title"/"topic". Thanks
gary4gar··on Groupon leaks entire Indian user database
I can guess, how this can happen.

--------------------- First,Take the db dump, for backups/setting up another server etc.

$ mysqldump -u <user> -p <password> <db name> > xyz.sql

Now, lets move db dump file to webroot, I hate SSH,FTP,RSYNC -- too complicated for me. I like clicking hyperlinks. KISS FTW!

I guess nobody will notice that file is present here. How can they know, I won't tell them!

$ mv xyz.sql public_html/uploaded/users

now, I can download it simply by going to

http://www.sosasta.com/uploaded/users/xyz.sql

See how easy this is, why complicate things unnecessarily.

---------------------

I guess the guy wouldn't have even imagined mighty google will index this & people from around will download the file, resulting in major security breach.

This is what you get when you act ignorant or plain lazy. poor guy...lol

gary4gar··on Mastering Git Basics by Tom Preston-Werner (video)
The thing I like about this that is not a presentation but more "hands on" step-by-step tutorial/guide which teaches you how git works in practice.

Good work Tom!

gary4gar··on JavaScript conquers the server
Article Summary:

1) Node.JS or other JavaScript platforms are NOT ready for prime-time. Only good for experimentation or prototyping.

2) For coding in callback style that javascript on servers needs, extreme discipline is required. Else, it will make your code hard to debug or maintain aka "callback hell".

3) Currently, projects like Node.js are not maintaining compatibility & things break often. that's not their current focus. This makes them unfriendly to enterprises.

4) Current state of Documentation is poor as the project are constantly changing at rapid pace. Tutorials just scratch the surface.

5) Event loop Style of programming is worth looking at for building real-time applications with thousands of concurrent users.

6) Some of ideas from Node.JS & other Javascript server side frameworks might be adopted into other languages.

gary4gar··on EC2 Users Should be Cautious When Booting Ubuntu 10.04 AMIs
Instead of 10.10, I would suggest switching to Debian Or CentOS.

Due its short support cycle, Maverick isn't suited for servers.

gary4gar··on John Resig joins the Khan Academy
Noble Cause. But I am curious to know will Khan Academy give a basic salary or he working for free? in which case, I salute you

Congrats!

gary4gar··on Thinking open source: How startups destroy a culture of fear
Good to see open source going mainstream but what comments "their ceo" is taking about? I only see single comment, unless I am looking at wrong thread[1]?

[1] http://news.ycombinator.com/item?id=2347076

gary4gar··on Building Your Own Dropbox Equivalent
Try Wuala, all data is fully encrypted and acts as "dumb storage"
gary4gar··on Stack Overflow Makes Slow Pages 100x Faster By Simple SQL Tuning
"__A NoSQLite might counter that this is what key-value database is for. All that data could have been retrieved in one get, no tuning, problem solved. The counter is then you lose all the benefits of a relational database and it can be shown that the original was fast enough and could be made very fast through a simple turning process, so there is no reason to go NoSQL.__"

Moral of Story: Relational database should be used in most cases. NoSQL is overated & extra-hyped.

gary4gar··on Poetics: The first native implementation of CoffeeScript on the Rubinius VM
Why Rubinius VM? Why not V8 or spidermonkey?
gary4gar··on SCREW IT, LET'S DO IT - Sir Richard Branson
404 - Page Not Found #FAIL
gary4gar··on IPv6 Deployment story of heise.de(one of the biggest news sites in Germany)
Another site I found that runs Dual-Stack IPv6-IPV4 without problem is the popular comics - xkcd.com

~$ host xkcd.com

xkcd.com has address 72.26.203.9

xkcd.com has IPv6 address 2001:48c8:1:d:0:23:5482:d026

gary4gar··on IPv6 Deployment story of heise.de(one of the biggest news sites in Germany)
While for short time IPv6 does not make sense but in Longer term, this reluctance might backfire because world will start adopting IPv6.there is no other way

I suggest not to wait that long, go ahead & start testing what your IPv6 readiness is. taking example Deployment story of heise.de, dual stack can be implemented without causing much problems.

A perfect day to do this will be June 8, 2011 which is World IPv6 Day, also known as "Test Drive Day".[1]

[1] http://en.wikipedia.org/wiki/World_IPv6_Day

gary4gar··on Ask HN: Why not fix JavaScript?
I would argue that Python & Ruby are pretty good general purpose programming languages & yet are easier to learn.

Hence, I don't buy your hypothesis that language has to be "hard" to learn; in-order to be useful.

gary4gar··on Ask HN: Why not fix JavaScript?
Easier said than done :(
gary4gar··on Ask HN: Where to get ideas?
"Scratch your own itch"

http://gettingreal.37signals.com/ch02_Whats_Your_Problem.php

gary4gar··on How not to protect against SQL injection (view source)
Javascript - It can be Disabled!

Every Web Dev needs to remember this and Yet people tend to forget

← PreviousPage 5 of 5