HNHacker News
TopNewBestAskShowJobs

jcsalterego

4,272 karma · joined April 27, 2009

submissionscomments
jcsalterego··on Is BSD The New GPL?
"Is X The New Y?", TechCrunch style.
jcsalterego··on Ask HN: review my web app, a wiki for code snippets
It appears heavily influenced by pbwiki and stackoverflow.
jcsalterego··on Rsync.net Warrant Canary
Guess they should have called it a warrant-free canary, huh.
jcsalterego··on How do i achieve this, for me?
Here's a semi-related post from about a month ago:

http://news.ycombinator.com/item?id=658805

jcsalterego··on It's Alive: Mac OS X on Non-Apple Hardware
http://hackerol.ds :(
jcsalterego··on It's Alive: Mac OS X on Non-Apple Hardware
Not ground-breaking, but this is one of the more detailed instructions I've seen.
jcsalterego··on [dead]
Amusing -- but not HN, IMHO.
jcsalterego··on The Firefox 3.5 fiasco
line-height: 0.1em ftl

(gross exaggeration)

jcsalterego··on What if YouTube made the black empty space white? [PIC]
Meta-discussion: I feel like we should avoid single images if we want to avoid becoming yet another news aggregation site.

What's next, {"Top N [Nouns] to [Verb]" | N > 1}? :(

jcsalterego··on Ask HN: start with python 2.6 or 3?
Practically speaking, if you want to leverage a lot of those libraries/frameworks you mentioned, 2.x is the way to go. However, the major syntactical and core differences that break backwards compatibility in Python 3000 (http://docs.python.org/3.0/whatsnew/3.0.html, http://docs.python.org/3.1/whatsnew/3.1.html) should be in the back of the your mind.

After working in a bit of py3k, I've found that "small things" such as using print() as a function rather than a statement comes more naturally than in Python 2.x, mostly because the latter doesn't complain about it.

Other things like xrange()'s departure in py3k as range() becomes a true iterator -- that's something you'll have to be cognizant of.

My advice is if you want to get a large project done, with support from popular and existing frameworks, go with the 2.x branch. If you're whipping up some disposable scripts, practice with py3k. And even if you're not, fire up py3k anyway.

One of the great Google Summer of Code projects this year is the inverse to the 2to3 tool -- 3to2 -- with the forward-thinking intention of making it easier to maintain one branch of code in py3k. It isn't a magic bullet by any means, but should definitely encourage the transition from Python 2.x to 3000.

jcsalterego··on Content-Preserving Warps for 3D Video Stabilization
Hat tip to John Nack on Adobe: http://blogs.adobe.com/jnack/2009/07/super_cool_video_stabil...
jcsalterego··on Ask HN: why is Google's StreetView is so awful in US, and so awesome in Europe?
Perhaps Google deployed StreetView state-side first, and then they refined their technology for Europe. Just pure speculation, though.
jcsalterego··on Jwz ports Dali Clock to JavaScript
(http://hackerne.ws/item?id=676000)
jcsalterego··on PHP Interpreter Detects SQL Injection and XSS Vulnerabilities
Here's another take on SQL injection detection, which delves into the query language a bit more, including a formal analysis:

http://www.cs.uiuc.edu/~madhu/tissec09.pdf

jcsalterego··on [dead]
27 year olds constitute as kids now?

"GET OFF MY LAWN!"

jcsalterego··on Generating pseudo random text with Markov chains using Python
Not ground-breaking by any means, but a nice, concrete application of Markov chains.
jcsalterego··on Clearing Passwords in Memory with Python
I'm curious how this is done in non-CPython land.
jcsalterego··on All Hell May Break Loose On Twitter In 2 Hours
I can't imagine the logistical nightmare of having to replicate their staging environment, with the caching and message queue systems. It probably isn't `cp -r staging/ sandbox/` :-/
jcsalterego··on All Hell May Break Loose On Twitter In 2 Hours
I'm guessing it'd be far easier to have developers just a) check their database schemas and code, and/or b) to multiply all incoming IDs by 10, than for Twitter to setup a separate mock environment.
jcsalterego··on All Hell May Break Loose On Twitter In 2 Hours
The comments in here are competent, and it's semi-interesting news (especially if you're at all involved with the Twitter ecosystem) but it's just so hard to upmod yet another sensationalist/Twitter article from TechCrunch.
jcsalterego··on Ask HN: Where to get a ML for my open-source project?
Just wanted to say I love GitX.
jcsalterego··on PHP introduces "goto"
While loops are restricted gotos with syntactic sugar.
jcsalterego··on Your web site as an ASCII art
I was hoping it would pipe screenshots (e.g. snap.com's snapshots) through aalib and/or an OCR engine (e.g. http://code.google.com/p/tesseract-ocr/).
jcsalterego··on A Harsh CSS Environment for Testing Widgets
Neat idea -- and here I thought it was just going to redirect to http://www.microsoft.com/windows/internet-explorer/ D:
jcsalterego··on New Arc Logo
Ah whoops - thanks for pointing that out. It should work now.
jcsalterego··on New Arc Logo
To get the ball rolling: http://drop.io/arclogo/asset/arc-1-png

The drop is open for uploads.

[Cross posted at arclanguage.org as well]

jcsalterego··on MIT OpenCourseWare: Godel, Escher, Bach: A Mental Space Odyssey
Leave it up to MIT to combine Cellular Automata, CFGs and Gödel, but then also:

  Special software is required to use some of the files in this section: .rm.
:(
jcsalterego··on Linux Find Command Examples
Reading this article I realized I always put `find .`, i.e. explicitly specifying the current directory. I guess this is like saying `ls .` all the time, but oh well.

Sometimes I find that I need to chain a few actions for my search results that aren't possible with multiple -execs, so I employ the shell script loop:

  for js in `find . -name '*.js'`; do
    dir=`dirname $js`;
    cd $dir && make;
    java -jar jsmin.jar "$i";
  done;
Unfortunately if you've got spaces in your filenames, this will throw off /bin/sh and you have to specify delimiters or work around that.

Lastly, I've found with find that if you have a n-sized conditional where n > 1 and an -exec, you'll want to use escaped parentheses or otherwise the conditionals won't evaluate properly.

Edits: addressing formatting woes.

jcsalterego··on Microsoft Incorporates Virtual WiFi Technology into Windows 7
Here's a far more comprehensive article on it: http://www.istartedsomething.com/20090516/windows-7-native-v...
← PreviousPage 7 of 7