Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
program
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
151.
▲
by
program
15y ago
$ php -r '::' Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM Wat
152.
▲
by
program
15y ago
Put on bigger controls for embedded devices that have no keyboard.
153.
▲
by
program
15y ago
"a serious documentation flaw" The all-zeroes IV is documented in the official CCCrypt(3cc) man page at: http://developer.apple.com/library/ios/#documentation/System... this does not exonerate Apple having made a wrong choice of d
154.
▲
by
program
15y ago
"So to judge importance, I looked at projects that are influential, gaining in popularity , and/or technical standouts in new areas" So put WebKit on the list. If the growth continues, total usage of WebKit based browsers will surpass 50%
155.
▲
by
program
15y ago
I don't think that there is the need for a new character. The problem here is that JS has automatic semicolon insertion. This: var a = "abc def"; generate a "unterminated string literal" syntax error cause a semicolon is inserted
156.
▲
by
program
15y ago
Using the ` (backquote) character for multiline strings isn't a wise choice (probably inherited from Go) cause it's difficult to reach that character on non-english keyboard layout. In the italian layout it's alt+\ or alt+9 on the Mac but y
157.
▲
by
program
15y ago
This is a little bookmarklet for you. Select some text in a page then run it. It will open a new window {selected text}.jpg.to. javascript:(function(){var A='';if(window.getSelection) A=window.getSelection().toString();else if(document
158.
▲
by
program
15y ago
In the original COBOL specification there is the infamous "ALTER X TO PROCEED TO Y" statement which modify a GOTO X in a GOTO Y.
159.
▲
by
program
15y ago
"Of course, you stop worrying about that and wonder how the cable has managed to fray on this barely used drive:" This is because Apple cables miss the so called "strain relief". http://www.reddit.com/r/pics/comments/hvuhg/apple_why/c1yuah
160.
▲
by
program
15y ago
It's been a very long time and I'm very glad to see a new IOCCC. I clearly remember the day I read about (and successfully booted) the 2004 "best of the show" entry. http://www.ioccc.org/years.html#2004_gavin
161.
▲
by
program
15y ago
I am italian, I have a full-time job in an IT private company, I own an house and I know why you can't create a startup in Italy: money, burocracy and taxes. In Italy banks or companies will never invest money in your startup if you can't c
162.
▲
by
program
15y ago
In the movie saga "Back to the future" the DeLorean time machine needs to travel at 88 mph and the flux capacitor needs 1.21 gigawatts of power in order to activate the time circuits.
163.
▲
by
program
15y ago
I've read this story back in May: http://www.lessentiel.lu/fr/news/luxembourg/story/La-pomme-d...
164.
▲
by
program
15y ago
You can send SMS and email directly from the Siri panel, also Siri has been added to the system-wide keyboard and you can use dictation even in third-party apps.
165.
▲
by
program
15y ago
It seems that Chrome is indulgent with the font-family declaration. There is an error in the CSS. font-family: 'Istok Web' sans-serif; should be: font-family: 'Istok Web', sans-serif; Firefox 7 ignore the above declaration sho
166.
▲
by
program
15y ago
What browser are you using? I can see all the characters. They have specified 'sans-serif' (which most of the times means Helvetica).
167.
▲
by
program
15y ago
The standard display resolution of the NES is 256 horizontal pixels by 240 vertical pixels. Upscaling on a canvas context can be a very slow operation even if you use the nearest-neighbor approach.
168.
▲
by
program
15y ago
> To be honest – CSS3 animations have terrible syntax I think that this guy has never heard of the canvas element. Using CSS3 animations for making games is pure madness.
169.
▲
by
program
15y ago
Neither 1111111..11111111111111111111111 11111111..1111111111111111111111 111111..111111 // minimum case or any other integer combination. 6 digits is the minimum amount that spawn the bizarre error.
170.
▲
by
program
15y ago
I like the fact that this library has no dependencies. I suggest that the _MAP variable in keymaster.js should be equal to the specialKeys variable defined in jquery.hotkeys.js. https://github.com/jeresig/jquery.hotkeys/blob/master/jqu
171.
▲
by
program
15y ago
In iOS all UI measures are expressed in points and not in pixels. Saying 44 pixels is simply wrong. In the iPhone 4 the screen has the exact same size of the 3G but a scale factor of two so every point is two pixel.
172.
▲
by
program
15y ago
They will lose money: #triangle-up { width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 100px solid red; } is 143 bytes.
173.
▲
by
program
15y ago
I've read this example first time in a storic stackoverflow topic: http://stackoverflow.com/questions/1995113/strangest-languag... it will stay forever in my bookmarks.
174.
▲
by
program
15y ago
CYberdyne INC (Japan) has a very advanced Hybrid Assistive Limb project as well. It's not developed for military purposes but for helping the disabled and elderly in their daily tasks. They will begin production in 2012. http://www.cyberdy
175.
▲
by
program
15y ago
Given that "window" is the top level object in JavaScript: location === window.location === self.location and that objects are also associative arrays: oneObject.aMethod === oneObject['aMethod'] === oneObject['aMet' + 'hod'] you can write i
176.
▲
by
program
15y ago
It's called auto-termination: http://developer.apple.com/library/mac/#documentation/Genera... Only applications that support auto-save AND set NSSupportsAutomaticTermination to YES do quit when there are no open windows.
177.
▲
by
program
15y ago
I think that the author took inspiration from Objective C blocks: int (^aBlock)(int) = ^(int a) { return a; };
178.
▲
by
program
15y ago
I see two problems regarding the adoption of this device: 1) Non adapt for touch typists. In my opinion it would be very hard to find the home row without raised dots and the feeling of real keys. 2) Can increase the effect of repetitive st
179.
▲
by
program
15y ago
In Chrome, Firefox and IE the video don't go fullscreen but instead the div with the <video> does span all over the page.
180.
▲
by
program
15y ago
Addendum: the 'document' extras: http://tiny.cc/kaktu webkitCancelFullScreen webkitCurrentFullScreenElement webkitFullScreenKeyboardInputAllowed webkitIsFullScreen onwebkitfullscreenchange
More ›