News for hackers. Stuff that matters.

stewars

Re:Gun – Distributed, embedded graph engine on Monday April 14, 2014 @04:12PM (#7588565)
What license is the code distributed under? It is not clear from the site or the code that is available through npm.
Re:Walmart Node.js Memory Leak on Friday November 22, 2013 @10:50PM (#6785116)
Not bash. '~~' gets replaced by the MANTA_USER environment variable by the manta command line tool mput.
Re:S3for.Me – cheap alternative S3 cloud storage on Saturday September 07, 2013 @12:23PM (#6345477)
S3 claims 99.999999999 (eleven nines) of durability. This is not comparable S3.
I think in this case it's phase inversion of one of the signals as opposed to a phase shift which would imply a time difference.
Re:Ask HN: Best Git GUI For Windows? on Friday May 11, 2012 @08:29PM (#3962163)
Tortoise git is the windows git gui of choice at our work and is the one I recommend to install for our clients who use windows. Haven't tried any others though.

Since I know the command line client best, I always install msysgit first, set up ssh keys in "git bash" using ssh-keygen and then install tortoise git. Warning, if you use msysgit, make sure to not use the "plink" ssh that is installed with tortoise but use the msysgit one. That setup has had the least issues for us.

Re:Apple ][ game server on Thursday January 05, 2012 @01:23AM (#3427692)
Very cool. I had a flashback this fall after discovering an old book I made for some school project about programming the Apple 2. Code looked horrible (to my 2011 eyes) but with an emulator I was able to get it working. Those few old pages were the only traces left of my childhood programming.

Put the book and code up on github if anyone is interested: https://github.com/markstewart/ProgrammingIsFun

Re:Have a Flash SWF File? convert it to HTML5 with Google Swiffy on Saturday November 12, 2011 @07:49AM (#3227738)
Swiffy saved the day for us recently on a project where we needed an animation to support IE7+ as well as iPad. We were able to have our designer create a flash animation and upload to swiffy to test that the conversion worked. We then used the swf as a fallback for when canvas was not available.

The one HUGE drawback for me with swiffy is there was no standalone compiler that we could use and integrate into the site build. So we now have this manual step of converting the files on the (hopefully still functioning) swiffy website every time a change is required to the animation.

A related interview here with the researcher: http://www.smartplanet.com/blog/pure-genius/as-brain-pathway...

How significant is the degradation?

It’s hard to have absolutes. It’s not like it’s completely gone. These were 60- to 80-year-olds we tested. These are folks that are completely healthy. It’s along the lines of a 10 to 20 percent degradation. That degradation was enough to cause memory deficits.

Node does not create a new V8 context for each request so the 2ms => max 500 requests per second scaling problem does not exist with Node.
Re:Where can I find great/new programming tech talks? on Monday April 18, 2011 @02:55AM (#2458249)
Probably not what you're after but the computer history museum videos are great: http://www.youtube.com/user/ComputerHistory
Re:Decentralizing the Internet So Big Brother Can’t Find You on Wednesday February 16, 2011 @05:59AM (#2225940)
I believe IPv6 provides a start for what is necessary to solve Step 2.

IPSec is part of the protocol so these connections can be trusted. Also no NAT issues so connecting directly between trusted 'plugs' may be simpler than with IPv4. May need to start with a mesh network over a mix of paths that you own and paths that you may not.

I have no real world experience implementing IPv6, just been looking into it lately.

Re:Mea Culpa: GitHub works well, my mistake made them look bad on Wednesday February 02, 2011 @07:50AM (#2170024)
You don't need to allow others write access to your repositories on github. Simply have them fork your public repository but don't add them as a collaborator. They can commit all they want and send you or any one of your 'admin' collaborators a pull request. This idea that git/github is losing changes is not true. You have at least until the next time the gc is run (90 days at github?), which is well beyond the time required to resolve the issue in any active project.
Re:Leaving .Net on Wednesday December 15, 2010 @12:16AM (#2007153)
I've just recently ported a python/Django site to c#/.NET. The switch was not done for performance reasons (or community for that matter) but as a consideration the .NET version was an order of magnitude faster on the same hardware without any effort to optimize.
Re:Rethinking JavaScript for-loops on Monday October 11, 2010 @09:12PM (#1781927)
Re-thought for-loops hurt the brain. Please don't do that.

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." – Brian W. Kernighan

Re:DeviantArt Muro on Saturday September 04, 2010 @10:07AM (#1662717)
Can confirm it works great with a Wacom tablet. Pressure and erasing works. Info on using the Wacom plugin is here: http://www.wacomeng.com/web/release_notes.htm
Re:Did the Manhattan Transfer Use Auto-Tune? on Thursday September 02, 2010 @10:04PM (#1658371)
Another complication to note is that pitch != frequency. Pitch is how we perceive the thing. The same frequency at different volumes can be perceived as different pitches. So you really can't ever find perfect without knowing some exact context.

See wikipedia entry on pitch perception for more examples:

  http://en.wikipedia.org/wiki/Pitch_(music)#Perception_of_pitch
Re:Steven Levy On The Hacker Spirit on Saturday July 03, 2010 @09:57AM (#1483800)
"He's like the early hackers at MIT such as [open source advocate Richard] Stallman who fought for people not to have passwords or secrets." .. and now fights for people not to confuse "Free Software" and "Open Source"

http://www.gnu.org/philosophy/open-source-misses-the-point.h...

I was looking at the terms of service here: http://www.MusicTrainer.com/lgl/tos/

"ALL PERSONS UNDER THE AGE OF 18 ARE DENIED ACCESS TO THIS WEBSITE. IF YOU ARE UNDER 18 YEARS OF AGE, IT IS UNLAWFUL FOR YOU TO VISIT, READ, OR INTERACT WITH THIS WEBSITE OR ITS CONTENTS IN ANY MANNER. THIS WEBSITE SPECIFICALLY DENIES ACCESS TO ANY INDIVIDUAL THAT IS COVERED BY THE CHILD ONLINE PRIVACY ACT (COPA) OF 1998."

The site looks like it will be a great resource especially for young people learning. Just curious why are you disallowing anyone under 18 from using it?
Re:The Art of Computer Programming Reading Group on Thursday June 24, 2010 @10:48PM (#1459844)
The pace seems too fast to me. Working through some of the exercises should be attempted and these are not your typical textbook exercises.
Re:HTML5 Web Standards Tests for IE9 on Thursday June 03, 2010 @01:21AM (#1400476)
Their test for "Set selectionStart and selectionEnd on a text field" tests that selection start and end can be set which should pass in Safari but their test fails because they are asserting that window.getSelection().anchorNode == null after they've set the selection start and end points. This doesn't make sense to me and I don't get that from my reading of the spec. Am I missing something?
Re:Ask HN: Good programming language for kids on Sunday March 28, 2010 @08:52AM (#1224526)
I would definitely recommend scratch. My nephew has been experimenting and making simple games with it for a while. There is a certain pride that an uncle feels when asked to explain the "abs" function to a child.