HNHacker News
TopNewBestAskShowJobs

nonane

443 karma · joined April 19, 2008

submissionscomments
nonane··on Goodbye Heroku
What are the alternatives to Heroku? I'm looking for something that makes it easy to deploy and launch services. http://deis.io looks promising but it isn't production ready yet.
nonane··on Virtual Bare Metal: DevStack Multi Node on EC2
Thank you very much - this helps.
nonane··on Virtual Bare Metal: DevStack Multi Node on EC2
Hi there,

I'm struggling to understanding where OpenStack fits in and what features it provides over a stock Ubuntu install or perhaps a CoreOS cluster? Does it provide a consistent platform to deploy apps on?

Thanks!

nonane··on Chrome Is The New C Runtime
I second this. Would love to see an actual app skeleton that links with Chromium's sources.
nonane··on Coworking Spaces
Toronto Canada, I work out of Gizmolabs: http://gizmolabs.ca . Small space, meeting room available, great part time packages and interesting people. Lots of web developers here.
nonane··on Why Does Windows Have Terrible Battery Life?
Almost all UI frameworks work this way including Android, iOS and Cocoa. They receive events from the OS or window manager (mouse moved, keyboard button pressed, touches moved) and dispatch it to the app. The only difference is how the events are dispatched.
nonane··on WebRTC Copy – OTR and fast file transfers over WebRTC
1. WebRTC is natively compiled into browsers. This app uses WebRTC's data channel to transfer files and WebRTC guarantees that the data channel is encrypted (via DTLS). So - tehcnically the crypto is not javascript based - it's native code similar to crypto over HTTPS.

2. WebRTC tries to create a P2P connection between the devices. The ISP is only involved in the initial bootstrapping of the P2P connection - the actual data packets travel over the LAN and not through your ISP. In the rare case a P2P connection can't be established, a relay might be used (though this is optional).

nonane··on Coroutines in one page of C
Actually, the link you've posted is much simpler than the parent post: no assembly voodo required and no longjump shenanigans. It's also much easier to debug under a debugger. I've successfully used this in production code. It effectively boils down to these 3 defines:

  #define COR_BEGIN(stateVar)            switch(stateVar) { case 0:;
  #define COR_END(stateVar)              }; stateVar = -1;
  #define COR_RETURN(stateVar)           do { stateVar=__LINE__; return; case __LINE__:;} while (0)

  void dofunc(int* pstate)
  {
   COR_BEGIN(*pstate);

   while (computation1)
       COR_RETURN(*pstate);

   while (computation2)
       COR_RETURN(*pstate);

   COR_END(*pstate);
  }
nonane··on CloudFlare, PRISM, and Securing SSL Ciphers
Can you please expand on this? Does using TLS (vs SSL2v3) automatically ensure you're using ephermal diffie hellman?
nonane··on Tarsnap – Online backups for the truly paranoid
Sync is not backup. For backups you also need the ability to look back at the previous versions of your files. For example in your sync solution if a file gets corrupted, all copies of the file will also have the corrupted bytes sync'd. With a backup solution you'll be able to rollback to a previous non corrupted version.
nonane··on Return of the Borg: How Twitter Rebuilt Google’s Secret Weapon
Isn't Microsoft's trying to build something similar with Azure? It'd be best described as an 'operating system for the cloud'.
nonane··on Attack of the Cosmic Rays
This might be the Microsoft paper you're referring to: http://research.microsoft.com/pubs/144888/eurosys84-nighting...

I worked on one of the Windows Error Reporting (WER) server components that detected memory corruption from bluescreen memory dumps submitted to the WER service. It's a debugger extension called !chkimg (http://msdn.microsoft.com/en-us/library/windows/hardware/ff5...). It compares the executable code in the memory dumps with the actual binaries that Microsoft shipped and flags differences between the two. This way you can tell what code was actually running on the machine vs what it should have been running. It was quite effective at detecting corruption patterns this way. Usually one-bit corruptions (just a single bit flip) and stride patterns (i.e. one corruption after every 4, 8, 16 or 32 bytes etc) were a good indicator of hardware problems.

nonane··on Why doesn't `kill -9` always work?
It think one of the reasons the kernel can't kill a process is because one of the process's threads is blocked inside a kernel call (not completely sure about this). Hes using ps's 'wchan' option to get the address of the kernel function that the process is currently blocked or sleeping on. After he gets the wchan address, he uses gdb to map the address to function name.

Taken from: http://unixhelp.ed.ac.uk/CGI/man-cgi?ps

nwchan WCHAN address of the kernel function where the process is sleeping (use wchan if you want the kernel function name). Running tasks will display a dash ('-') in this column.

nonane··on Windows 8 Arrives
I'm not exactly sure what you want to do. If you just want to handle touch input in Windows 8 then take a look at this: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh... .

If you want to simulate touches programatically then take a look at this api: http://msdn.microsoft.com/en-us/library/windows/desktop/hh80...

Edit: I don't think you'll need to write a driver either way.

nonane··on Windows 8 Arrives
Right. The Android app doesn't have this functionality at the moment, but we're going to port it over soon.
nonane··on Windows 8 Arrives
Thank you! Appreciate it :-)
nonane··on Windows 8 Arrives
Plug: If you're running Windows 8 Pro and have an iPad you can try out the Win 8 Metro's multitouch features using my app (http://www.youtube.com/watch?v=HWUEAx4dqP4&hd=1). Send me an email: support at jumpdesktop.com and I'll send you a free coupon.
nonane··on Yes, I was hacked. Hard.
> but still I'll panic pretty badly if my laptop is ever stolen, because in there, somewhere, is probably a plain text password stored in a file

You really should consider using using whole disk encryption like FileVault or PGP-WDE. Encrypting a single directory or a home directory is not a good solution.

nonane··on New Year's Resolution: Full Disk Encryption on Every Computer You Own
This is probably not answering your question but a possible solution is to switch to using OSX 100% of the time and then use Parallels/VMWare/VirtualBox to virtualize Windows and Ubuntu. It's much more practical than having to worry about partitions / boot volumes and general sharing problems. This way you can even encrypt your entire OS X volume and not use encryption on the VMs.
nonane··on New Year's Resolution: Full Disk Encryption on Every Computer You Own
Have you noticed crashes and general instability on OS X Lion + Filevault 2?

We've tried it on a Core2Duo Macbook Pro (early 2007) and MacBook (Mid 2010). We've seen lots of OS crashes (Macbook) and general performance issues when running XCode (Macbook Pro).

We're also running virtualization software on the Macs (Parallels and VMWare) - I'm not sure if they're interacting with Filevault 2 (shouldn't be).

Just wonder if anyone else has noticed this.

nonane··on Gecko is too big - Firefox development stalls over code linking issue
What prevents these projects from building on a 64bit OS with a 64bit compiler? Isn't that the simplest solution to getting rid of the ceilings rather than to continually restructure?
nonane··on Windows Phone is currently five times more profitable for us than the iPhone
Would love to hear more about it.

Also porting is interesting - we're in a position where we have a bunch of highly optimized, debugged C/C++ 'backend' code. Since native code isn't supported on Windows 7 Phone, we'll have to port our app by rewriting it all in C#. Unfortunately, it's not practical option for us at the moment.

nonane··on Windows Phone is currently five times more profitable for us than the iPhone
Anyone one on HN developing on Windows Phone and seeing similar results?
nonane··on Poll: HN readers, where's your residence?
Karachi, Pakistan here.
nonane··on The relationship between Readability and Instapaper
I didn't down vote you and I do agree with most of what you've said regarding competition (I suspect the rest of HN also agrees).

What you didn't address though is Marco's past relationship with the founders. Specifically he says that he advised the founders, promoted Readability on his website and even created a white-labeled Instapaper version of Readability. Now they've created a direct competitor to Marco's app. This is generating the sentiment.

nonane··on Bootstrapping a $30k profit/month company from our internship earnings (Part 2)
You can do this by reporting it to Apple. App search keywords can not be trademarked or copyrighted names. I had this happen to me once - Apple gave me a week to resolve the issue or have my app taken down. I had to update my binary to remove the keyword.
nonane··on Bootstrapping a $30k profit/month company from our undergrad internship earnings
Yes, it's probably a dozen or so different apps if you go over their website: http://www.fiplab.com/
nonane··on Microsoft offers webOS developers free Windows Phones and dev tools
HP didn't have a chance - they don't have the software DNA that Google, Apple and Microsoft have.

Microsoft is the underdog here but they have a much better chance of making something happen.

nonane··on Faster JavaScript parsing
Also, don't forget that in most cases the JS code is probably loaded from the browser's cache anyway.
nonane··on How To Safely Store A Password
The article claims it takes bcrypt 0.3 seconds to hash a 4 char password on a laptop.

How does a server authenticate users in high volume with bcrypt? ~0.25 secs per auth request might warrant having a separate server just for authentication.

← PreviousPage 3 of 4Next →