4 ms·
Hacker Typer: How To Look Insanely Busy In A Coffee Shop (2011)
- cylinder 13y agoClever and satirical. Nice.
- spectre256 13y agoThe file you appear to type is groups.c from the linux kernel: https://github.com/torvalds/linux/blob/dc0755cdb16cb129c4054c85d62bce83a18bcbcf/kernel/groups.c https://github.com/torvalds/linux/blob/dc0755cdb16cb129c4054...
- granttimmerman 13y agoTip: Hit Cap Lock 3x (Then hit Alt 3x)
- w1ntermute 13y agoThe code comes from the Linux kernel: http://lxr.free-electrons.com/source/kernel/groups.c http://lxr.free-electrons.com/source/kernel/groups.c
- cookrn 13y agoOriginal post: https://news.ycombinator.com/item?id=2480946 https://news.ycombinator.com/item?id=2480946 Another: https://news.ycombinator.com/item?id=3997664 https://news.ycombinator.com/item?id=3997664
- cantcatch22 13y agoThis has been posted so many times, very old
- adam419 13y agoThis is hilarious! Great work
- ja27 13y agoI once wrote a quick Java program that recorded our project's build output (about 5 minute's worth at the time) and captured the time between each line of the output. Then it could play back the build output at the same pace. I could run that in a loop in a shell window and I could nap for an hour while it looked like I was waiting on a build to finish. We joked about having a screensaver that looked like code being written and played realistic keystroke sounds like you were typing.
- peferron 13y agoGenius!
- adamnemecek 13y agoOT but this is the first time I've seen the ternary operator used with only one operand. Apparently, it's only valid in GNU C though. https://en.wikipedia.org/wiki/%3F:#C https://en.wikipedia.org/wiki/%3F:#C
- conradev 13y agoI've seen it used a lot in Objective-C for default values: NSNumber *value = dict[@"key"] ?: @1;
- cpeterso 13y ago?: is the "Elvis" operator.
- adamnemecek 13y agoThat's pretty a hilarious name for it. Is this from the Groovy community?
- vorg 13y agoThe standard name is the "Null-coalescing" operator, see http://en.wikipedia.org/wiki/Null_coalescing_operator http://en.wikipedia.org/wiki/Null_coalescing_operator . It's only called "Elvis" in Groovy. The name was announced one day by its Project Manager as part of a marketing campaign to make the name "G-String" mean a string on Elvis's guitar instead of a revealing item of clothing.
- erikig 13y agoYeah, it is a pretty nice shortcut. They also added it to PHP in 5.3 so you can do something like this now: $var = trim($_POST['var']) ?: 0;
- chewxy 13y agoThe best part IMO is that backspace functions like backspace.
- chmike 13y agoIt's not hilarous on an iPad 1. Nothing happens beside the prompt blink. How could I look insanely busy with that in a coffee shop ? ;)
- alexvr 13y agoI cracked up when I tried this. Not sure why
- stbullard 13y agoCan we get a (2011) appended, please? Sources: https://news.ycombinator.com/item?id=2480946 https://news.ycombinator.com/item?id=2480946 https://news.ycombinator.com/item?id=2485159 https://news.ycombinator.com/item?id=2485159 http://whois.domaintools.com/hackertyper.net http://whois.domaintools.com/hackertyper.net
- zoom 13y agoAhhhh, so this is how Win8 was written.
- shire 13y agoThis is very funny to me I started cracking up right away nice.
- cpeterso 13y agoI remember readying an magazine article (K-Power?) about the 1983 TV series "Whiz Kids". They used a similar typing simulation to make the hacker kids appear to be perfect speed typists. The magazine even include a BASIC program so you could run it on your home computer, too. :) The Associated Press review of the show said: "Whiz Kids does not make a whimper on the sex-and-violence scale, yet it may be more dangerous to children than anything on television this season. Our adolescent heroes – sort of Hardy Boys high on silicon chips – engage, willy-nilly, in assorted illegal activities: computer tampering, driving without licenses and grave-robbing." https://en.wikipedia.org/wiki/Whiz_Kids_%28TV_series%29 https://en.wikipedia.org/wiki/Whiz_Kids_%28TV_series%29
- brianwillis 13y agoBe warned: if you type like this: http://www.youtube.com/watch?v=sffBHGpIRZE http://www.youtube.com/watch?v=sffBHGpIRZE ...people will know that you're faking it.
- Houshalter 13y agoOnly if you make the "bing" noise though. Don't be so obvious.
- pokpokpok 13y agothis hardly belongs on the front page of hn.
- haydenjameslee 13y agoFirst day of freshmen programming class our professor made everybody go on this site when students came in late... One kid literally walked in, turned around, walked out and dropped the class.
- eponymous 13y agoThis is hilarious! I wish I could really write code that fast. Most of my actual coding is head-scratching and browsing documentation.