Recent submissions

Comment · 5 years ago
Start small. This is what I do - Drink a large glass of water as soon as I sit at my desk. This forces me to pee within 45-60 minutes. When I go to the bathroom, I ensure I do 20 squats before coming out. Sometimes I do 10 lunges on each leg. Takes about 2-3 minutes. Back to my desk and take another gulp. Repeat!
Comment · 5 years ago
Delete From "APCRoleTableColumn" Where "ColumnName" Not In (Select SC.column_name From (SELECT SC.column_name, SC.table_name FROM information_schema.columns SC where SC.table_schema = 'public') SC, "APCRoleTable" RT Where SC.table_name = RT."TableName" and RT."TableName" = "APCRoleTableColumn"."TableName");

I know this is not an optimized SQL. But this takes about 5 seconds in Postgre while the same command runs in milliseconds in MSSQL Server. The APCRoleTableColumn has only about 5000 records. The above query is to delete all columns not present in the schema from the APCRoleTableColumn table

I used to be a heavy MSSQL user. I do love Postgre and have switched over to using it in all my projects and am not looking back. I wish it was as performant as MSSQL. This is just one example. I can list a number of others too.

Comment · 7 years ago
Of course it doesn't help. Just shows local governments that they are trying all they can to stop spread of fake news
Comment · 8 years ago
What I'm really looking for is a H Series processor with a 14" screen. I want to replace my desktop with a laptop, hooked on to dual monitors. So I don't even need a Ultra HD screen. A laptop helps on the rare occasions I want to travel. But all the manufacturers seem to brand laptops with H Series processors as gaming machines and have a 15.6 inch screen minimum.
Comment · 8 years ago
I just switched to Edge and it looks great. One of the reasons I had used Chrome and had recommended all my customers to use Chrome was the ability to print to PDF, which Firefox did not have (not sure if it does now). Edge does and will be recommending all my clients to try out Egde.
Comment · 8 years ago
Comment · 8 years ago
Let alone using CSS Grid. Here in India, I can't even use Flexbox. Thanks to UC Browser having a 30% market share. Sigh, back to those IE 6 days.
Comment · 9 years ago
I was wondering if I could use this (using a plugin) or Chrome to generate PDF files on the web server. Most of the PDF generation software out there are quite expensive.
Comment · 9 years ago
Here in India, you are not only asked your previous salary, you have to provide your last (sometimes three) payslip while joining. Some companies have a policy of NOT giving more than a 30% hike from your previous salary - you need top management approval for such a hike.
Comment · 9 years ago
I just returned to India after working in the US for one year. I find it extremely difficult to believe such a culture can exist in the country let alone an organization. People there were friendly, extremely polite and well mannered. I never once faced any incidents or racism or hatred in my work place and out. I can't imagine things like this even in my wildest dreams.

-Chauvinistic, racist and homophobic attitudes were far too normal

-It was normal for guys to openly refer to attractive female colleagues as sluts

-They had private chats where guys wrote sexual fantasy stories about female colleagues and supervisors where they performed all sorts of demeaning acts on the women

Also the fact that she talks about driver compensation makes it look like it was an article written just to smear Uber. I may be wrong though, but really, really hard to believe.

Edit: She refused to meet Freda Kapor (see comments in post) makes it all the more suspicious.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton