Viewing profile — pmahoney
pmahoney
HN member- Joined
- Thu, Dec 22, 2011, 5:24 PM UTC
- HN karma
- 632
- Public activity
- 209 items
- HN profile
- View on Hacker News ↗
About pmahoney
No profile information was provided.
Recent public activity
-
comment
Comment #46460287
I wrote some code to do almost this many years ago (if I recall correctly, it doesn’t cache anything to disk, but builds the hash fresh each time, which can still result in massive…
-
comment
Comment #46315945
> Plus they get to keep the balance that people forget to redeem I'm not an expert here, but this is not generally true. See "giftcard escheatment laws". I think these vary by stat…
-
comment
Comment #45629699
If that phrase "for individuals" means "for individuals only", then it isn't GPLv3, but some bespoke non-free license. My speculation: it was intended to mean: use it under terms o…
-
comment
Comment #44894751
I tried to like OCaml for a few years. The things that hold me back the most are niggling things that are largely solved in more "modern" langs, the biggest being the inability to …
-
comment
Comment #44300425
Could be xscavenger? > Scavenger is a cool arcade/thinking game very much like Lode Runner. You've got to run around and collect objects while avoiding enemies. Some objects are bu…
-
comment
Comment #44258335
Just to add, 'pass' has an otp extension to simplify this a bit [1] With that, you can do $ zbarimg -q --raw qrcode.png | pass otp insert $ pass otp # or pipe to xsel [1] https://g…
-
comment
Comment #44057472
Can you explain further? I'm not sure I follow. > How do you as a method author opt in to distinguishing between [break and next] after yielding to a block? I don't use Ruby much l…
-
comment
Comment #41870287
Calvin vindicated https://www.gocomics.com/calvinandhobbes/1993/04/20
-
comment
Comment #41301902
This paper, "Insufficient Sun Exposure Has Become a Real Public Health Problem" [1] states "thus, serum 25(OH)D as an indicator of vitamin D status may be a proxy for and not a med…
-
comment
Comment #34121160
See also "Why roller coaster loops aren’t circular anymore" https://news.ycombinator.com/item?id=32005421
-
comment
Comment #30429730
Used "in anger" means "professionally" or "for real" or "where working or not really matters" vs. using it for hobby projects or experimentation.
-
comment
Comment #29829538
Many years ago (2011 or so?), I worked on a Rails app that used JRuby. The driving force was a small part of the app needing a Java library. I think we did see some performance ben…
-
comment
Comment #29386789
> Coupled with an increase in food delivery efficiency, kitchenless flats could become the norm in densely populated areas. Sounds dystopian. Hustle and bustle of life aside, physi…
-
comment
Comment #29229156
There's Cliff Young's win in the 875km Westfield Sydney to Melbourne Ultramarathon. > While the other competitors stopped to sleep for six hours, Young kept running. He ran continu…
-
comment
Comment #28321962
For 1., it's possible (easy even? I've never tried this in a cross-compiling situation) to build packages on one system and push them to another via SSH. I suppose an upgrade would…
-
comment
Comment #27921366
For what it's worth, Linux 5.6 introduced openat2 [1] which accepts some additional flags controlling path resolution. For example, RESOLVE_IN_ROOT "is as though the calling proces…
-
comment
Comment #26867863
Not sure if this would help, and I'm not exactly sure I'm understanding you correctly, but when I tie hockey stakes, instead of a single "left-over-right starting knot" (using term…
-
comment
Comment #26320300
I stopped using `set -e`. It is disabled if the function you're running is part of an `if` statement, for example: thingThatCanFail() { echo "step one succeeded" echo "step two fai…
-
comment
Comment #25861154
Here is (I think) the example regex ported to OCaml's Re library [1] let my_regex = let open Re in seq [ bos; opt (str "0x"); repn ( alt [ rg 'A' 'F'; rg 'a' 'f'; rg '0' '9'; ] ) 4…
-
comment
Comment #25797171
Note that Apache Tomcat is an implementation of Java Servlets, not to be confused with Apache httpd, the venerable web server.
-
comment
Comment #24793078
This doesn't answer your question, but I'm piggy-backing with comments on k3s. For me, using k3s for development (not prod), the killer feature is running it in --docker mode where…
-
comment
Comment #24617997
It's not a contradiction to state something is not a problem most of the time. (Though the next point, calculating checksums prior to build, is much more significant.) Related exam…
-
comment
Comment #23783006
See "(Entry 4 of 5)", the second noun definition of spell [1]. "an indeterminate period of time" or "a stretch of a specified type of weather" as in, "we've had a long dry spell; I…
-
comment
Comment #23400258
Hi Paul, thanks for Ardour. For anyone curious, this wiki page describes how to package and run some precompiled binaries on NixOS, particularly the section "The Dynamic Loader": h…
-
comment
Comment #23276964
That's an interesting point. But it's not just rpaths, there are many references to things within the nix store. I suspect it would quite difficult to make them bound at runtime or…