Category: Web work
These days, most of my work is very related to the online world. Building web sites, reviewing web applications, integrating with web services, coordinating people who are far away from each other, etc. Whenever I find a new tool or service or an innovative, interesting idea about working online, I share it in this category.
JavaScript Date.UTC() with a month off by one
It’s like they say – there are two difficult things in Computer Science: naming things, invaliding cache, and off-by-one errors. Â Today I came across a weird issue with JavaScript’s Date.UTC() shifting the month by one. Â The day and year were fine, but the month was off by one. Â Interesting, considering that the date was parsed from a standard MySQL date (like 2013-07-12). Â Well, another thing they say: when all else fails, read the manual. Â And that’s where the solution is:
Parameters
- year: A year after 1900.
- month: An integer between 0 and 11 representing the month.
- date: An integer between 1 and 31 representing the day of the month.
Fun.
DigitalOcean – simple cloud hosting
Genericons— a free, GPL, flexible icon font for blogs!
Women are the new leading demographic in technology
These stats are all from the last year’s article, but they are interesting non-the-less – I don’t think that much have changed since.
Let me break out the categories where women are leading tech adoption:
- Internet usage
- Mobile phone voice usage
- Mobile phone location-based services
- Text messaging
- Skype
- Every social networking site aside from LinkedIn
- All Internet-enabled devices
- E-readers
- Health-care devices
- GPS
Also, because women still are the primary caretakers of children in many places, guess who controls which gadgets the young male and female members of the family get to purchase or even use?
Via this Slashdot post.
