Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Keithamus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
Keithamus
14y ago
This looks very similar to a library I created/am working on: http://keithcirkel.co.uk/jwerty/
62.
▲
by
Keithamus
14y ago
Problem is the word "should", which isn't "has". Which means this trick doesn't help those of us who have to support IE<=7
63.
▲
by
Keithamus
14y ago
Actual URL is http://www.bbc.co.uk/news/technology-18440979 (no trailing /) Edit : Main discussion is here: http://news.ycombinator.com/item?id=4109137
64.
▲
by
Keithamus
14y ago
Why would I purchase something like this over, say, a beagle board or raspberry pi? Is the bundled Android OS the only USP?
65.
▲
by
Keithamus
14y ago
To paraphrase your own comment: Timestamps are human readable. You just need a machine to change them into a human readable format
66.
▲
by
Keithamus
14y ago
Reliability and lack of information. The problem with a "format" such as timestamps is that there is no defined parameters, especially cross language. I cannot rely that sending a timestamp in seconds will be read in seconds the other side
67.
▲
by
Keithamus
14y ago
It's true, I should have mentioned RFC3339 in the article. I will make some amendments to it later today.
68.
▲
by
Keithamus
14y ago
Well, 3600 seconds can be expressed much more simply than that: 'PT1H'. Which is more human readable than '3600'. The point in intervals is a compromise between human and machine readability - the point being that we can more easily determi
69.
▲
by
Keithamus
14y ago
This is a great recommendation but if you're trying to be interoperable with other languages it's just not possible. If you're in control of the output format though, I would fully agree.
70.
▲
by
Keithamus
14y ago
If you look at the website this article is on ( http://tempus-js.com/ ) it is a JavaScript library for replacing the Date object with something that offers more functionality and is browser compatible down to IE6 & co.
71.
▲
by
Keithamus
14y ago
I agree. The main barrier to actually reading the ISO8601 spec is that it costs money, and is not cheap (if memory services its ~$150), leaving people to read the draft specs (which are harder to get a hold of in their full form) or the Wik
72.
▲
by
Keithamus
14y ago
Yes, this is one thing that I've had a lot of difficulty with when trying to implement a reliable ISO parser. I've found that Python is one of the worst offenders with this, as by default the datetime classes have no concept of tz, and it i
73.
▲
Start sending dates the right way (aka The ISO8601 101)
(tempus-js.com)
86 points
by
Keithamus
14y ago
|
80 comments
74.
▲
by
Keithamus
14y ago
Yes, in -webkit- browsers you can achieve the same effect with this CSS: &::-webkit-input-placeholder { -webkit-transition: text-indent 200ms ease-in-out; visibility: visible !important; }
75.
▲
by
Keithamus
14y ago
It has been removed by moderators, but here is the original URL: http://stackoverflow.com/questions/2694603/add-a-number-to-a... seems like it could be likely... shame
76.
▲
by
Keithamus
14y ago
The trick is to overlay an element over the top of a link, with the CSS of "pointer-events: none;". Clicking the div will click the underlying link, which will (if you're logged into facebook) "like" the Facebook Developer group. Is this an
77.
▲
by
Keithamus
15y ago
One thing which the article didn't highlight, which I discovered when our team tried to switch to a 100% pair environment - the variable skill and speed of individuals. One of the biggest problems we had was developers getting frustrated in
78.
▲
by
Keithamus
15y ago
I think Backbone JS might be useful for facilitating communication between the different components that Chrome uses (ie. contentscript <-> browser button). I can't see anything in the Gists you provided that highlight this. Did you
79.
▲
by
Keithamus
15y ago
The script duplicates the images inside of a <canvas> tag, which goes exactly on top of the current image. It then uses the canvas to provide the blend-mode functionalities. Here is the source: http://dl.dropbox.com/u/45557606/Enva
80.
▲
by
Keithamus
15y ago
On the "git as a backup tool", the author missed a tool which looks quite interesting, called Bup ( https://github.com/apenwarr/bup ) which is based on git's toolchain. It is still immature but worth looking at.