News for hackers. Stuff that matters.

gregburek

Re:Trillion-frame-per-second video on Tuesday December 13, 2011 @02:53AM (#3346828)
The press release (edit: and I) skipped a step: "A portion of the laser beam is split off with a glass plate and directed to a photodetector that provides the syn- chronization signal for the camera. The camera images the incoming light on a slit and this slit on a photocathode where photons excite electrons. These electrons are accelerated in a vacuum tube and deflected by an electric field perpendicular to their direction of motion and perpendicular to the direction of the slit. The signal generating this field is obtained by filtering and amplifying the synchronization signal from the laser. The image is thus spread out over time in a “streak” that hits a micro channel plate at the far end of the vacuum tube that further amplifies the electrons and directs them to a phosphor screen where they are converted back to photons. The screen is than imaged on a conventional low noise CCD camera. The complete time interval captured in this way spans about 1 nanosecond." [Picosecond Camera for Time-of-Flight Imaging]

So a photo cathode generates electrons which are deflected.

Re:Trillion-frame-per-second video on Tuesday December 13, 2011 @02:22AM (#3346761)
More informative link: http://web.mit.edu/newsoffice/2011/trillion-fps-camera-1213....

Imaging Systems Applications Paper "Picosecond Camera for Time-of-Flight Imaging": http://www.opticsinfobase.org/abstract.cfm?URI=IS-2011-IMB4

ACM paper "Slow art with a trillion frames per second camera": http://dl.acm.org/citation.cfm?doid=2037715.2037730

Re:Trillion-frame-per-second video on Tuesday December 13, 2011 @02:18AM (#3346752)
The MIT News Office article has more details than the PR video and a link to the paper: http://web.mit.edu/newsoffice/2011/trillion-fps-camera-1213....

The actual imaging device is just a long line of photosensors. The camera aperture uses a varying electric field to deflect photons that arrive later to sensors further down the line, producing an image in effective 2D - 1D of space and 1D of time. By repeating the scene and slowly scanning the camera's mirror, a composite video is built that shows diffusion of a picosecond laser pulse.

Re:Ask HN: Who is Hiring? (December 2011) on Wednesday December 07, 2011 @03:20AM (#3323003)
Enable javascript to load current positions.
Re:Functional Programming Is Hard, That's Why It's Good on Sunday August 21, 2011 @02:03AM (#2908626)
I have an electrical engineering background and all this FP VS IP sounds like Async Logic VS State Machines. How far off base is that description?
Re:Scale Fail (part 1) on Thursday May 19, 2011 @05:16PM (#2565415)
I'm getting the feeling that with all the unique server setups in use, monitoring and metrics systems are going to be just as unique and specific.

There are some interesting process monitoring projects out there like god, monit and bluepill, as well as ec2/cloud specific stuff from ylastic, rightscale and librato silverline. Have you ever used any of those tools?

Fitting all these together for my setup is trial and error, but it really does force me to think hard about my tools and assumptions even before I get hard data.

Re:Scale Fail (part 1) on Thursday May 19, 2011 @02:24PM (#2564923)
How does everyone here gather and analyze their metrics? What do you have always deployed and what do you use when shit hits the fan?

[Edit for typo]

Re:Company was hosting cardiac patient monitoring on EC2 on Saturday April 23, 2011 @04:28PM (#2477519)
Unfortunately, this last AWS problem affected multiple AZs in the us-east region. The OP very well may have had an alternate AZ failover plan, but like Quora, Sencha, Reddit, FourSquare and Heroku, they probably kept it region specific.

As for backing up to multiple regions, I can imagine them thinking that sending everything over the public internet as being a bad idea. However, not having a multi-region/multi-provider failover plan was a worse one.

I think that Microsoft Corp. v. i4i Limited Partnership, which was argued before the Supreme Court on April 18, may change how this plays out in the end.

"Since 1983, the courts have followed a clear, firm rule: In order to overcome the statutory presumption that a patent is valid, a litigant must provide clear and convincing evidence that a patent is invalid. That's a high hurdle to overcome. ... Many observers expect the Supreme Court will reject the current bright-line rule and, at least under some circumstances, make it easier for parties to attack the validity of patents." - http://www.abajournal.com/magazine/article/court_may_make_it...

Previously on HN: http://news.ycombinator.com/item?id=2453895 and http://news.ycombinator.com/item?id=2464698

Convore is pretty new, but have you tried it for private chats? When it was announced, I immediately started to think how much easier it would be to set up for my non-technical co-workers.

Link that explains basic functionality: http://gigaom.com/collaboration/set-up-real-time-conversatio...

Build-out Script for Postgres/PostGIS with RAID 10 on Amazon EBS volumes: http://sproke.blogspot.com/2010/12/build-out-script-for-post...
I found a benchmark from 2008 that details the problems with RAID10 and sourced it in a comment above [1]. These are just raw disk transfer numbers, though. I can only imagine how they would change as CPU usage/postgres load climbs. IIRC disk IO is network traffic and network traffic is CPU dependent, so as load increases, IO will suffer greatly.

[1] http://news.ycombinator.com/item?id=2341425

It also seems that in 2008 adding mirroring also hurt performance. I'm going to dive into this tonight to see if things have changed at all with these benchmarks.

"His results show a single drive maxing out at just under 65MB/s, RAID 0 hitting the ceiling at 110MB/s, RAID 5 maxxing out about 60MB/s, and RAID 10 “F2″ at under 55MB/s."

Summary source: http://www.nevdull.com/2008/08/24/why-raid-10-doesnt-help-on...

Data source (google cache): http://webcache.googleusercontent.com/search?q=cache:Vscz-VX...

Re:Why Reddit was down for 6 hours on Friday March 18, 2011 @03:49AM (#2339727)
Duly noted. I started with this talk and have been using it as a guide to scaling edge cases with python as well as AWS. I thought raid10 was overkill before I started digging into the postgres/EBS mess, but now it seem almost routine enough that Amazon should have it as a configuration option.
Re:Why Reddit was down for 6 hours on Friday March 18, 2011 @02:10AM (#2339571)
Thanks for the extra info! I'm doing a lot of work now with python on EC2 and the reddit write ups + presentations have been a huge help. Thanks again.
Re:Why Reddit was down for 6 hours on Friday March 18, 2011 @12:35AM (#2339342)
So, I assume instances reddit uses have instance storage root volumes instead of EBS root vols. I've always assumed the persistence of ebs AMIs was a plus without a downside. Why would you opt for instance-storage AMIs instead of ebs root volume EC2 AMIs?
Re:Study: Diet May Help ADHD Kids More Than Drugs on Saturday March 12, 2011 @10:17PM (#2318186)
On page 500, under Discussion: "Blood tests assessing IgG levels against foods did not predict which foods might have a deleterious behavioural effect. ... We recorded no difference in behavioural effects after challenge with high-IgG or low-IgG foods. These results suggest that use of IgG blood tests to identify which foods are triggering ADHD is not advisable. However, IgG blood tests might be useful in other diseases."
Re:Study: Diet May Help ADHD Kids More Than Drugs on Saturday March 12, 2011 @10:12PM (#2318176)
That conclusion was really buried in there. Some form of confirmation bias on the part of a reader, perhaps?
Re:Study: Diet May Help ADHD Kids More Than Drugs on Saturday March 12, 2011 @09:00PM (#2318070)
The hypothesis was that IgG tests may pinpoint foods that in some way trigger ADHD symptoms. This was found to be incorrect.

"We recorded no difference in behavioural effects after challenge with high-IgG or low-IgG foods. These results suggest that use of IgG blood tests to identify which foods are triggering ADHD is not advisable. However, IgG blood tests might be useful in other diseases." [1]

To me, this says that any deviation from restricted diet caused a relapse in ADHD symtoms. A less technical explaination about IgG testing here: http://www.tldp.com/issue/174/IgG%20Food%20Allergy.html

[1] http://marrym.web-log.nl/files/adhd-and-elimination-diet-rct...

Re:Disk Encryption by Default in Chrome OS on Tuesday December 07, 2010 @10:27PM (#1981741)
kgo may have been referring to how the contents of /private/tmp, /private/var/log and /private/var/tmp are not encrypted and may contain private information, such as com.apple.QuickLook.thumbnailcache.

I've had some success using scripts on the following website to plug these holes, but recently, I have been more concerned with my data's survivability than my privacy. Once that grad degree is done, I hope to return to a more secure approach.

http://xercestech.com/fixing-filevault-random-key-disposable...

I loved this series so much. It is a nice companion to this guide on creating a sick system: http://issendai.livejournal.com/572510.html
In my experience with business school and engineering school, EVERYONE asserts power before they earn it. Others may call it "fake it till you make it", but I would say that over-confidence and power games are rewarded in social constructs which make me (and other techies I know) very uncomfortable.