Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pmahoney
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
pmahoney
11y ago
The freebsd daemon tool is exactly what I'm talking about. Debian has start-stop-daemon [1]. Process supervisors like daemontools create daemons simply by fork+exec by virtue of the parent process already being a daemon. There's n
62.
▲
by
pmahoney
11y ago
In the spirit of avoiding code duplication and making daemontools-like process supervisors happy (that includes systemd for these purposes), I greatly appreciate when logs can be sent to stderr If the admin wants the logs in syslog, 2>&a
63.
▲
by
pmahoney
11y ago
There are a couple references here, 2008 being the most recent (PDF): http://www.brainrules.net/pdf/brain-rules-for-baby-reference... The author of the book "Brain Rules for Baby" is on the side that breastfe
64.
▲
by
pmahoney
11y ago
Airports. There's a small airport in Champaign. Presumably the airport in Bloomington (an hour away?) is larger, and of course the Chicago airports to the north (2.5 hours).
65.
▲
by
pmahoney
11y ago
(Some?) Panasonic microwaves claim to be able to lower microwave power linearly without the on/off power cycling. I'm mildly curious if their marketing claims of superior cooking hold up. http://www.panasonic.com/i
66.
▲
by
pmahoney
11y ago
The One Laptop per Child XO would form wireless mesh networks and had a chat program that would link up with other nearby XOs.
67.
▲
by
pmahoney
11y ago
You've got some of the daemontools details incorrect. > resource limits Daemontools includes the softlimit [1] helper. > namespaces It's not clear to me why this need be built in to a supervisor instead of being applied thr
68.
▲
by
pmahoney
11y ago
> processes that daemonize themselves for good reason (like nginx or Unicorn) Is there a good reason? I assume you're thinking of the ability to fork and exec a new master process, running, e.g. a new version of nginx, then handing
69.
▲
by
pmahoney
11y ago
> unique cgroup for every service This is a nice feature of systemd. I've been using s6 quite a bit (of daemontools heritage), and often want such a feature, but part of the reason I'm using s6 is so that I can use the same run
70.
▲
by
pmahoney
11y ago
The VM part of the JVM allows for really great monitoring: there are standard ways for tools to hook into bytecode and add instrumentation without needing the source. There are also lots of mature tools available, but that's mostly bec
71.
▲
by
pmahoney
11y ago
If you as a user wish to have a normal-ish Unix commandline experience, you "install" into your personal nix profile various nix packages. I put "install" in quotes because there are two steps: 1) Adding the package to t
72.
▲
by
pmahoney
11y ago
Well, what about something like: ArrayBlockingQueue<Work> q = new ArrayBlockingQueue<Work>(10)
73.
▲
by
pmahoney
11y ago
I think pmccall is alluding to skills such as better negotiating skills, ability to sell one's self, and similar.
74.
▲
by
pmahoney
12y ago
I don't think that nix would be able to tell you which version of OpenSSL some binary linked statically, as there would no longer be a reference from that binary to /nix/store/xxx-openssl-1.0/lib/libssl.so. Nix
75.
▲
by
pmahoney
12y ago
This isn't "reduce" as I know it. It requires the user function return the same data type as contained by the slice. Furthermore, for a slice of size 1, it simply returns that single element. case 1: return in.Index(0)
76.
▲
by
pmahoney
12y ago
But you could build and test the candidate master branch before it actually becomes the master branch...
77.
▲
by
pmahoney
12y ago
> Rating service having problems? Don't show user ratings. Search service offline for updates? Disable search As an example of a (probably?) bad way to organize services, I worked on a project that had factored a role-based access c
78.
▲
by
pmahoney
12y ago
There was an article in American Scientist a few years back about just how big space is, and how even if there are many intelligent species, they'll just never communicate due to the distances involved (barring exotic new physics). I
79.
▲
by
pmahoney
12y ago
> if you want two versions, you need to ask the maintainers to split the package into two This is still true in Nix (and Guix I assume), although there are facilities for overriding, say, just the source tarball (to a different version)
80.
▲
by
pmahoney
12y ago
Ah, great stuff, thanks! This small piece of the whole set of container features may be exactly what I want.
81.
▲
by
pmahoney
12y ago
Hm, interesting. I'm certainly largely ignorant of how cgroups works, but I was wishing for a tool like "chroot" that could also "ch-network-namespace" or something. I've skimmed over cgroups documentation [1]
82.
▲
by
pmahoney
12y ago
I was looking into systemd-nspawn recently because I wanted some container features (tcp port namespace, so I can have multiple groups of processes run and connect to an instance of mysqld on the default port, on a ci server). I installed i
83.
▲
by
pmahoney
12y ago
Interesting link, just skimmed it and haven't had a chance to watch the video. > Length fields automatically make the grammar context sensitive which is much harder to secure according to langsec. Is this accurate given a finite len
84.
▲
by
pmahoney
12y ago
Maybe concede the term OOP to Java, C++, et. al. and call message passing among processes service-oriented programming or something.
85.
▲
by
pmahoney
12y ago
This seems like a decent review: http://www.jaoa.osteopathic.org/content/106/6/342.full "Is there a causal relationship between running and osteoarthritis? The current data are based on small studies, an
86.
▲
by
pmahoney
12y ago
> There are ways to run that are less damaging I looked into this quite a bit some years ago and found no research to suggest more cushioned shoes, less cushioned shoes, pronation-control shoes, barefoot running, etc. have any effect on
87.
▲
by
pmahoney
12y ago
I've self-hosted my email for years, and for the past 5 or so have had a stable IP address. I've got SPF records, but am missing DKIM. I've had no problems, but just recently I had two separate emails be ignored by GMail user
88.
▲
by
pmahoney
12y ago
The article covers this here http://williamdemeo.github.io/2014/02/27/learn-you-an-agda/#... Some excerpts: > Agda is a programming language that uses dependent types ... you can actually include valu
89.
▲
by
pmahoney
12y ago
On thing to keep in mind, if your commute is, say 25 minutes by freeway, it might be 40 minutes in heavy traffic (or collision blocking a lane) with no fast alternate routes. On the other hand, 25 minutes by surface streets will likely have
90.
▲
by
pmahoney
12y ago
> how you do we (container creators) know the dependency tree for the app Nix package manager [1] offers a potential means to know the complete dependency tree. If you're not familiar, a nix expression to build a package takes a set
More ›