HNHacker News
TopNewBestAskShowJobs

jparise

1,752 karma · joined June 19, 2008

https://www.indelible.org/
submissionscomments
jparise··on Perl 6 in 2010 - a retrospection
Here's a (rough) Python equivalent:

  from itertools import islice

  def fib():
      a, b = 0, 1
      while True:
          yield a
          a, b = b, a + b

  for k in islice(fib(), 1, 100):
      print(k)
It uses a generator function to produce an infinite iterable sequence. islice() is used to produce just a slice of that sequence.

This could probably be written using fewer characters, but I don't think it could be anywhere near a short (and terse) as the Perl version.

jparise··on The 19 Senators Who Voted To Censor The Internet
They are the current members of the Senate Judiciary Committee: http://judiciary.senate.gov/about/members.cfm

They don't really have anything else in common other than their committee membership.

jparise··on Google engineer: Raise leaker exposed us to mugging
Google actually did pay the bonuses in cash.
jparise··on Facebook’s Gmail Killer, Project Titan, Is Coming On Monday
... where 16 and under would mean 13-16. Facebook accounts aren't technically available to minors (under 13 years old).
jparise··on Interview With Steve Huffman From Hipmunk
The article also mentions Tornado, so they're probably not using Django. (It's totally possible - just unlikely.)
jparise··on Joe Stump: Your city sucks (And so does mine)
Stick to the South Side, Shadyside, or Squirrel Hill.

I went to Carnegie Mellon for graduate school, and a number of my friends started companies in Pittsburgh afterword. It is definitely a good place to get a venture off the ground.

But... at least two of those (4+ year old) companies have since moved out here to the Bay Area for growth reasons. This is where the money, talent, and clients are based.

jparise··on GitHub is now SSL only
Bonus meta points for using HTTPS for this item's Twitter link.
jparise··on OpenBSD 4.8 Released
The top-level summary:

  This release adds better suspend and resume as well as new IKE and LDAP
  daemons, a bunch of network and SCSI stack improvements and much more!
No new platforms, but there's a bunch of updated hardware support and network stack improvements.
jparise··on MeeGo vs Android
Indeed. That page now clarifies:

  THIS PAGE IS A DRAFT AND DOESN'T REFLECT OFFICIAL OPINIONS OF THE MEEGO PROJECT
(Sorry for the caps. I just copied the literal text.)
jparise··on EA open sources their internal version of STL
EASTL is essentially the reaction of a bunch of hard-core C++ programmers who hated all of the other STL implementations.
jparise··on EA open sources their internal version of STL
Other nice additions are the fixed-sized containers (fixed_vector<> and friends) and the somewhat-enhanced string<> class (which adds things like sprintf() support).

I've missed all of these things greatly since leaving EA.

jparise··on EA open sources their internal version of STL
Game companies generally use C++ because they need to interface with existing C and C++ library code (at least at the engine level). C++ also allows for various low-level optimizations when such things become necessary, such as resorting to inline assembler or stashing flag bits in pointers.

That's not to say that other languages aren't capable of these things, of course.

(I spent seven years working for EA, and I contributed to EASTL while I was there.)

jparise··on When App Engine Went Wrong
Alternatively, Amazon will be offering a "free usage" tier (starting November 1) that has pretty generous usage limits to help you get a project off the ground. If it outgrows those limits, you're already running on reasonable infrastructure and can move into the next paid AWS tier.

http://aws.amazon.com/free/

jparise··on Mongrel2 v1.4 Out With Fun BBS Demo
To try out the BBS interface for yourself:

  curl -o client.py http://dpaste.de/xtDj/raw/
  python client.py mongrel2.org 80
jparise··on Things about the Mac that annoy new users from PC-land
It's been a while since I regularly used Windows, but F2 generally triggers the rename behavior (for filenames and most other editable labels).
jparise··on Google's new data center in Finland
Interestingly, Nokia started off as a Finnish paper mill.

http://en.wikipedia.org/wiki/Nokia#Pre-telecommunications_er...

jparise··on Calvin & Hobbes Search Engine
It looks like he already received a cease and desist request:

  Someone at AMU got in touch with me; a C&D was (is?)
  headed my way, but they seem open to finding a better
  solution, which is AWESOME. You may see some changes here
  in the next few days/week, but hopefully it will be in the
  best interest of everyone!
(Click the "A note from Michael, the creator" link on the site to read the full text.)
jparise··on Varnish guy's hatred for autoconf
Producing a different configuration for every system is not the whole point of autotools. Rather, autotools is generally used as a way to configure semi-standard-but-implementation-specific functionality across different platforms, such as locating <stat.h> or determining the platform's word size.

It also gives users a familiar way to optionally enable features at build time, such as choosing between MySQL and PostgreSQL support, as opposed to requiring the user to edit some Makefiles and twiddle some #define's manually.

jparise··on How YouTube thinks about copyright [video]
In summary, YouTube's "content ID" system attempts to match uploaded videos against a large database of registered copyrighted content. If it finds a match, it applies a policy that was defined by the copyright holder.

The system handles the full volume of uploaded video content (equivalent to "100 years of video per day"). Even more impressive is the fact that it can successfully identify multiple copyrighted portions of a video (think mashups).

jparise··on The quick brown fox jumps over the lazy dog
I remember when I first learned about this sentence. I was in my grammar school's computer lab playing a typing tutor game (probably from MECC), and it had me type this phrase repeatedly. After the first dozen times, I asked the computer teacher what was up.
jparise··on Android developer on Slashdot detailing the Android "fragmentation"
While his specific examples were about the OpenGL implementation(s), the spirit of his post rings true in other Android subsystems, as well.

For example, camera support can differ greatly across SDK versions and hardware. Camera callbacks need to be implemented conditionally based on whether autofocus is available and selected. EXIF orientation data isn't reliably recorded on some devices, and the EXIF interface class isn't available in older SDK versions. Lastly, your application will crash if you attempt to take or preview a photo using unsupported dimensions, but the function to query the list of supported dimensions isn't available on older SDKs.

jparise··on How Ninite.com (YC W08) was named by a program -- code included
Those were important considerations when George Eastman named his company "Kodak", as well.

http://en.wikipedia.org/wiki/Eastman_Kodak#Kodak_name

jparise··on Google updates Android platform versions chart, 2.1 finally in the lead
Certainly in the lead (at 37%), but unfortunately still not in the majority. 62% of Android devices are still running 1.5/1.6.
jparise··on Why your Android app doesn't need an exit button
There actually are Android User Interface Guidelines, albeit less comprehensive than Apple's equivalent:

http://developer.android.com/guide/practices/ui_guidelines/i...

... but it is certainly true that there is no review or enforcement mechanism in place to help developers conform to these guidelines.

jparise··on EA Sports Locks Out Multiplayer Modes On Used Sales
Development costs have gone up.

Even if the cost of hiring individual programmers has remained constant (and I don't have evidence one way or another there - we'd have to consult something like Game Developers' annual salary survey and apply the appropriate adjustments), development teams have definitely grown in size. Bigger teams mean more developers (from all disciplines), including additional management and QA staff.

There are also other cost areas to consider, such as licensing fees and devkit costs, but I'm afraid that I can't share specific numbers there.

jparise··on Let’s Admit Why There Are So Many “Job Hoppers” In Startupland
Just be careful to interpret the answers to those questions in context. If a small company is growing or expanding into new areas or technologies, I wouldn't necessarily consider it a bad thing if the answers to the second two questions were short periods of time.

For example, if you join a small company to lead, say, their first Android application's development, and one of your first tasks involves hiring another developer or two to round out your team, there's not going to be a lot of tenure there. That certainly represents a risk, but it doesn't indicate something wrong with the company.

When I encounter situations like this, I often ask about the team members' prior experience. They're not obliged to share those details, of course, but most people are eager to tell you about their past achievements and how they hope to outdo themselves in their new roles.

jparise··on Bye Bye Flash: GitHub's Network Graph is now Canvas
According to http://github.com/blog/621-bye-bye-flash-network-graph-is-no..., there are too many DOM objects involved in the graph for SVG to be performant.
jparise··on Why 30.1% of numbers start with 1
There's a really good segment on Benford's Law (and how it's been applied to business fraud detection) in a recent Radio Lab episode called "Numbers":

http://blogs.wnyc.org/radiolab/2009/11/30/numbers/

jparise··on Python Performance Tips
The timeit module (http://docs.python.org/library/timeit.html) is an invaluable tool for taking and comparing performance measurements.
jparise··on Location-based apps: Flook, Gowalla, Foursquare - a review
I would have liked to have seen Brightkite included in the review, as well.
← PreviousPage 2 of 3Next →