HNHacker News
TopNewBestAskShowJobs

KevBurnsJr

877 karma · joined July 2, 2008

Less Talk, More Code.

---

[ my public key: https://keybase.io/kevburnsjr; my proof: https://keybase.io/kevburnsjr/sigs/Auz3fOc8DmsCkYsNlqr-jtplnjhLyIdJZxjMEJufkOQ ]

submissionscomments
KevBurnsJr··on Bloom filters are good for search that does not scale
Reminds me of @danthegoodman's project: bloomsearch [1]

[1] https://github.com/danthegoodman1/bloomsearch

KevBurnsJr··on Ask HN: How do you build applications that require zero maintenance?
Build it in Lisp and name it Hacker News.
KevBurnsJr··on Varnish in Five Acts
It's nice to see x-invalidates in the wild!

Do you have just 1 varnish instance or two?

I never did fully solve the ban propagation problem when running multiple redundant varnish instances.

KevBurnsJr··on Varnish in Five Acts
Statsd is awesome. http://codeascraft.etsy.com/2011/02/15/measure-anything-meas...
KevBurnsJr··on Internap evacuates LGA datacenter
Internap's cloud service taken down by Sandy's cloud service.
KevBurnsJr··on PhalconPHP - High Perf PHP Framework as a C Extension
You might want to read up on HPHP. I've found that it doesn't offer the level of performance benefits most people expect.

Also there are a number of framework features you can't use with HPHP, like autoloaders.

KevBurnsJr··on A social network for programmers
That cross-eyed nitwit on the logged out homepage is an insulting stereotype of geek culture.

http://programming.com/static/img/bg.jpg

This website can go fuck itself.

KevBurnsJr··on Headphones for Hackers
IEM vs OEM?
KevBurnsJr··on Ask HN: Is this a shady recruiter?
good for you
KevBurnsJr··on Ask HN: Is this a shady recruiter?
More than likely, the business is unhappy with the terms of the recruiter's agreement. These guys will do all sorts of things with contractors like add a 30% commission on top of your hourly fee and bake in a clause entitling the recuiter to a bonus equal to 20% of your salary if the company decides to hire you full time.

You will probably not be offered this position any way except through the recruiter.

My advice is to continue your search, and only work with embedded recruiters who are paid hourly or salary for their services. These recruiters will have corporate email addresses matching the companies they represent.

KevBurnsJr··on Parse Releases Their REST API
"There is no "correct" separate from usefulness in communication."

I think you may have misunderstood your source. Subjective truth is only half of the equation. The other half is testing rational models against experience. If you understand the constraints of REST, you understand that it has implications not met by the API in question and thus claims to be something which it clearly is not.

Just because I tell you I'm a duck doesn't mean I'm a duck.

KevBurnsJr··on Parse Releases Their REST API
Your argument appears to be unconcerned with truth, wisdom or understanding.
KevBurnsJr··on Parse Releases Their REST API
Saw Subbu speak at RestFest on Saturday. His talk seemed to promote REST as a set of constraints which produces a set of benefits. He argues that choosing a subset of constraints to achieve a subset of benefits is perfectly valid.

I would add that you must first have a deep understanding of the constraints and their associated benefits in order to make those types of informed decisions about your system's architecture. In my experience, the constraints are so orthogonal that a great number of the benefits of a system created using the REST architectural style only become evident in the overlap as the constraints empower each other.

Combining these constraints can elicit new benefits.

KevBurnsJr··on Parse Releases Their REST API
This is an HTTP API, not a REST API.

http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hyperte...

KevBurnsJr··on Underscore.php
This is terribly misguided.

You do know that PHP has built-in min and max functions, right?

  And array_map. 
  And array_walk. 
  And array_filter. 
  And array_reduce. 
  And array_slice. 
  And array_unique. 
  And array_search. 
  And range. 
  And empty. 
  And is_object. 
  And is_array.
KevBurnsJr··on Some People Understand REST and HTTP
There are 3 ways to use media types in web APIs. http://blog.kevburnsjr.com/domain-specific-media-types-and-r...

  0 domain specific media types    (application/json)
  1 domain specific media type     (application/vnd.github+json)
  many domain specific media types (application/vnd.github-issue.text+json, ...)
GitHub's v3 API uses the latter.
KevBurnsJr··on Some People Understand REST and HTTP
If you accept those constraints which you readily understand and discard those which require great discipline to master, you are unlikely to make informed decisions about your software's architecture.
KevBurnsJr··on Some People Understand REST and HTTP
REST is a style, not a pattern. The application of this manner of classification to application architectures on the web was the broader goal of Fielding's dissertation, titled "Architectural Styles and the Design of Network-based Software Architectures".

See chapter 1 http://www.ics.uci.edu/~fielding/pubs/dissertation/software_...

KevBurnsJr··on Some People Understand REST and HTTP
It tells you it's not HTML. That's useful if you hope to parse the message body.
KevBurnsJr··on 30/10/10
Yoda concludes bloated these numbers are.
KevBurnsJr··on Home server build, part one - specifications
also i don't have health insurance.
KevBurnsJr··on Home server build, part one - specifications
That's way more CPU & RAM than you're going to need. 850W is A LOT for an idle machine. Fortunately, you won't draw anywhere near that without a graphics card.

Let's do some math.

Say your machine draws 250 Watts (~2 Amps). That's 6 KilowattHours(kwh) per day.

The US. national average for electricity is $0.112/kwh (as high as $0.31 in Hawaii) http://www.eia.gov/cneaf/electricity/epm/table5_6_a.html

Electricity for your machine will cost 6 * $0.112 = $0.67/day (on average)

That's $245.28/yr

These days you can get integrated Atom boards with up to 8 SATA ports.

Less power, less heat, less space. http://www.mini-itx.com/store/?c=2

KevBurnsJr··on Home server build, part one - specifications
I've got an Alix parked under my router and it uses about 0.07A http://cgi.ebay.com/270782068385
KevBurnsJr··on Querying Riak Just Got Easier: Introducing Secondary Indices
What about

  /buckets/loot/index/category_bin,armor/price_int,300,500
Looks a lot like link walk syntax, don't it?
KevBurnsJr··on Querying Riak Just Got Easier: Introducing Secondary Indices
Here are two (minor) considerations

1) If you want to be pedantic about HTTP, RFC 2616 states with respect to responses from URIs containing query strings that "caches MUST NOT treat responses to such URIs as fresh unless the server provides an explicit expiration time." Although this clause is broadly ignored by the vast majority of middleware, it could be argued that slashes are more correct. http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13...

2) Middleware like Squid comes with strip_query_terms on by default so if you put Squid in front of a Riak cluster and you wanted to see what was actually being run you'd have to make changes to the config file. Otherwise the request uri in the logs just reads "/buckets/loot/index?"

KevBurnsJr··on Estimate your English vocabulary size
Your sample is heavily skewed toward the literate.

Add Education (None,HighS,BS,MS,PhD) as a research statistic and compare it to the national average. I would bet that your sample is greater than 2 Standard Deviations from the mean.

KevBurnsJr··on Anonymous hacks Booz Allen Hamilton, US military contractor, 90k logins dumped
The best part is the invoice.

  Enclosed is the invoice for our audit of your security systems [...]

  4 hours of man power: $40.00
  Network auditing: $35.00
  Web-app auditing: $35.00
  Network infiltration*: $0.00
  Password and SQL dumping**: $200.00
  Decryption of data***: $0.00
  Media and press****: $0.00

  Total bill: $310.00
KevBurnsJr··on [dead]
Totally busted on Android.
KevBurnsJr··on Sublime Text 2: Beta
Poor support for PHP 5.3
KevBurnsJr··on [dead]
The great thing about distributed caches is that static resources can still be made available even if the source is down.

In fact dynamic resources can be served as well using the stale-if-error Cache-Control header. http://tools.ietf.org/html/rfc5861#section-4

Page 1 of 10Next →