Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pmahoney
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
151.
▲
by
pmahoney
13y ago
I know this is somewhat tongue-in-cheek, but what would the long-term consequences be of importing large quantities of hydrogen from off-planet and then binding it to local oxygen? I suppose if we had the tech to do that, we might be able t
152.
▲
by
pmahoney
13y ago
Back when I worked at Target, it was also this way. As I understood it, the system simply did not allow for a multiple item discount. The "3 for $4" ads did always say, in fine print, something like: unit price $1.33. What got m
153.
▲
by
pmahoney
13y ago
I'm curious why you wouldn't recommend it. I've never used it myself, but I've been reading about it the past few weeks. The design seems really well done compared to init.d scripts in the sense that every init script
154.
▲
by
pmahoney
13y ago
I wonder if there's an element of users learning how to optimize their query for Duck Duck Go. I've been using it as a default for some months now, but I often fall back to Google for software error message strings and other thin
155.
▲
by
pmahoney
13y ago
But not every car has that. I've been in a ~6-8 year old Honda Civic that lacked any indication as far as I could see.
156.
▲
by
pmahoney
13y ago
I don't have numbers, but back when I had no dental insurance, my dentist reduced the price without any prodding. I'd be surprised if this wasn't common.
157.
▲
by
pmahoney
13y ago
I assume he was correcting the line "we'd be running abominations like MS IIS". Many of us were running Apache httpd prior to Nginx (and Apache remains a very competitive server; still the easiest way to run PHP, and Rails+P
158.
▲
by
pmahoney
13y ago
> we keep saying docker is not yet production-ready Just a heads-up: I know this isn't your fault, but docker.io does not say this on the front page, About, or FAQ that I can see. In fact, it currently says "same container tha
159.
▲
by
pmahoney
13y ago
Tomcat (and other app servers) has support for doing hot reloads of Java web apps while not reloading the HTTP layer (and not dropping TCP connections). http://www.javacodegeeks.com/2011/06/zero-downtime-deploymen.
160.
▲
by
pmahoney
13y ago
The claim that a 4-minute mile was once thought to be impossible by informed observers was and is a widely propagated myth created by sportswriters and debunked by Bannister himself in his memoir, The Four Minute Mile (1955). The reason th
161.
▲
by
pmahoney
13y ago
I suppose the author was trying to be explicit for the sake of a reader unfamiliar with Ruby. The typical way to avoid that boilerplate is by using 'attr_accessor :sanity', which defines those getter and setter methods (and it is
162.
▲
by
pmahoney
13y ago
Is it possible your bad knees make running unpleasant and not the other way around? Does your condition have a name? I've not seen claims of long-term injuries (as opposed to acute injury) that have names other than osteoarthritis. Th
163.
▲
by
pmahoney
13y ago
> It's bad enough that I go running an hour every other day Well you're in luck. Running at sub-elite levels has not been correlated with osteoarthritis. http://www.ncbi.nlm.nih.gov/pubmed/9489830 http:&
164.
▲
by
pmahoney
13y ago
I actually find PulseAudio vs. JACK incredibly annoying. I like to play around with "professional" audio. I don't consider it professional, but more relevantly I like to play with certain apps that require JACK. It's certainly an RTFM thi
165.
▲
by
pmahoney
13y ago
That's a good point. I'm young(ish) and tend to race my past self (while following traffic laws). On one hand, what's the point of biking if I can't get to work faster than by bus? But on the other, a more leisurely pace would surely lea
166.
▲
by
pmahoney
13y ago
I've been lucky to work in areas where theft isn't a huge issue. My biggest problem is the weather. In the hot, humid summers, I wish my building had a shower, or at least some area to change clothes larger and less smelly than a bathroom
167.
▲
by
pmahoney
13y ago
It also, unlike tar.gz, provides an index for easily seeking to and extracting just one file from the zip archive. My understanding is that doing this in a .tar.gz means unzipping and processing the whole tarball as a stream.
168.
▲
by
pmahoney
14y ago
No conflicts, but a tradeoff of loading two versions of library C. I assume at some point, the cost of multiple versions of everything (in terms of memory usage, for example) becomes an issue?
169.
▲
by
pmahoney
14y ago
For the sake of curiosity, I happen to have recently done a benchmark of a "hello world" rack app (literally just responds "hello world" to every request) on a number of Ruby servers (mostly JRuby, but also Puma on MRI). They were all run i
170.
▲
by
pmahoney
14y ago
In development mode, it's nice to be able edit ruby code, then hit reload in the browser to see it in action without restarting the whole app. Sure there are other ways to accomplish this, but reloading code is typically how it's done in R
171.
▲
by
pmahoney
14y ago
I have found RESTEasy (and likely any JAX-RS implementation) to be very nice for creating simple services. With various annotations and static typing to automatically convert various parameters into function arguments, it's easier than Sin
172.
▲
by
pmahoney
14y ago
Another option is to build an index of the various parts of $LOAD_PATH. I monkeypatched (JRuby) to do this at runtime (that is, re-index every launch), and I saw a modest speed up in Rails boot time. If there were a standard way to build
173.
▲
by
pmahoney
14y ago
Crack kills. Metals are able to deform plastically. A metallic bond is not so directional, and you typically thing of all the molecules in a metal as a big blob with a cloud of electrons that can freely move about (also the reason for good
174.
▲
by
pmahoney
14y ago
"Public service announcement: Object pooling is now a serious performance loss for all but the most heavyweight of objects, and even then it is tricky to get right without introducing concurrency bottlenecks." -- Brian Goetz in 2005
175.
▲
by
pmahoney
14y ago
You're still giving your eyes and attention to "these dicks". I suggest trying to find and support media that is offered without DRM in the first place, if that is what you consider important.
176.
▲
by
pmahoney
14y ago
Part of it must be that binary search only works on a sorted array, and most arrays won't be sorted. Followup question: are there other common array operations that only work on arrays in a particular state? Are any of these in or out of v
177.
▲
by
pmahoney
14y ago
One of my fears about telling kids to defend themselves with force is what if the bully has a gang of friends? An older brother? Access to a weapon? How likely is it that a bully, finally beaten by the victim, escalates further?
178.
▲
by
pmahoney
14y ago
What sort of backgrounds do people working in this field have? More specifically, I have a bachelor's degree in materials science and currently work doing run-of-the-mill web development (were the typical background of my peers is a bachel
179.
▲
by
pmahoney
14y ago
Here's an article from Headius, JRuby developer: http://blog.headius.com/2012/11/refining-ruby.html
180.
▲
by
pmahoney
14y ago
I, too, would love something like this. You're probably aware, but it's possible to host private gems in a simple static webserver. We have our CI server copy gems over and run a script that calls "gem generate_index -d /path/to/gems". Com
More ›