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!
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.
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.
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.
I'm 43 years, Indian and have never had a problem squatting. Was surprised this is such a tough thing to do for some. I work sitting on a chair for 8-10 hours everyday, but ensure I take a squat break every 1 hour or so. To make it a habit, I take every opportunity to squat, when I have my green tea, play with my son, watch TV. It does feel great after squatting for 3-4 minutes. I also workout in the gym and perform 4-5 sets of squats with 30Kgs.
I read this yesterday - “Every joint in our body has synovial fluid in it. This is the oil in our body that provides nutrition to the cartilage. Two things are required to produce that fluid: movement and compression. So if a joint doesn’t go through its full range—if the hips and knees never go past 90 degrees—the body says ‘I’m not being used’ and starts to degenerate and stops the production of synovial fluid.”
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.
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.
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.
I always use a tab and set the IDE to show two spaces for each tab. Visual Studio has a setting for this. In the same project if someone wants 4, they can just change it to 4 spaces. In the file, its always stored as a tab