Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cstrahan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
361.
▲
by
cstrahan
9y ago
If you think those are great, check out Facebook’s watchman: https://facebook.github.io/watchman/ It’s a cross platform file monitoring daemon with a json (and bser) querying API, with support for opaque cursors so you
362.
▲
by
cstrahan
9y ago
> How can you do a compile time check on data that has not entered the system? You would have to supply proof that your types are correct; when you have a value who's type you'll only know at run time, you'll need to perfo
363.
▲
by
cstrahan
9y ago
Sadly, flat-earth believers will then claim that the ships aren’t being obscured by the curvature of the earth - rather, supposedly, it’s just that one needs to use a lens to zoom in due to the vanishing point: http://www.ign.com
364.
▲
by
cstrahan
9y ago
Or go with a distribution that makes it trivial to make drive-by contributions, like NixOS for example. Updating a package is a simple as bumping two lines and sending a pull request here: https://github.com/NixOS/nixpk
365.
▲
by
cstrahan
9y ago
Chemotherapeutic agents are poisonous, and yet they’re administered to cancer patients. What is deletarious at a granular level is not necessarily deletarious for the system as a whole. A worker might be occasionally distracted in an open o
366.
▲
by
cstrahan
9y ago
> maybe I should change over but then I potentially have to maintain two sets of plugins, one for nvim and one for vim I use this in my ~/.config/nvim/init.vim: set runtimepath^=~/.vim runtimepath+=~/.vim
367.
▲
by
cstrahan
9y ago
Absolutely. I considered going that route, but went with Let’s Encrypt on principle, rather than practicality.
368.
▲
by
cstrahan
9y ago
S3 and Cloudfront, with recurring Lambda to update Let’s Encrypt TLS certs.
369.
▲
by
cstrahan
9y ago
I saw the film on one of those tiny in-flight screens (maybe 9 inches diagonal?) and even there it was painfully obvious.
370.
▲
by
cstrahan
9y ago
In popular OOP languages (C#, Java, etc), interfaces give you a way to state that some existentially quantified type implements some set of common methods. Here's what I mean by "existentially quantified": Let's say you
371.
▲
by
cstrahan
9y ago
For a short while, we had some of those bars on sale at our local Trader Joe’s grocery store in Brooklyn, New York. They were pretty good. I have a friend that runs a coffee shop, where he also makes chocolate. The 100% chocolate he made wa
372.
▲
by
cstrahan
9y ago
Can I ask what your UEFI problem was? I run NixOS on a couple MacBook Pros using UEFI with systemd-boot (née gummiboot), and I haven't had any problems yet.
373.
▲
by
cstrahan
9y ago
> Sounds like this solves a similar problem to Docker. Can you comment on what the differences are, and the relative strengths and weaknesses of each approach? NixOS committer here. Docker attempts to achieve reproducibility by capturing
374.
▲
by
cstrahan
9y ago
A copy of what I commented on the blog: Nice post, and I'm glad you're enjoying NixOS! I'm a NixOS contributor/committer, and the principle author (and co-maintainer) of the Bundler-based packaging integration. If you or
375.
▲
by
cstrahan
9y ago
A potential solution that would allow you to have your cake (SSH into wherever) and eat it too (have your favorite tools on hand) would be: use a package manager on your hosts that allows for safe installation of per-user packages (that is,
376.
▲
by
cstrahan
9y ago
> Depression is an extremely narcissistic condition, being stuck in your mind with countless loops of thoughts about you that are unrealistically negative. I’m sure there’s some appropriate label for this behavior, but “depression” isn’t
377.
▲
by
cstrahan
9y ago
FWIW, I packaged Envoy for NixOS in an evening: https://github.com/NixOS/nixpkgs/blob/dab3272f47f13c2a7442e3... That nets you $ nix-build -A envoy ... and then you're done. Of course, we have a C
378.
▲
by
cstrahan
9y ago
> Your still missing the point. No, I'm not missing the point. > Your example shows a simple hello world and doesn't speak to the point being made. Hmm... Let's do an analysis: * My example demonstrates reading from a
379.
▲
by
cstrahan
9y ago
It should also be noted that there's another statically typed language that provides multiplexed M:N threading (aka "green threads") and a programming style that looks synchronous while actually using asynchronous file and ne
380.
▲
by
cstrahan
9y ago
I'm afraid you're mistaken. Taken directly from https://reproducible-builds.org/ : "Second, the set of tools used to perform the build and more generally the build environment should either be recorded or pre-
381.
▲
by
cstrahan
9y ago
Efficacy aside, electroshock therapy is intended to treat a given disorder, not to induce some disorder. Any pain or side effects of being shocked is separate from the underlying disorder. So "Bob was given electroshock therapy for
382.
▲
by
cstrahan
9y ago
I'll let the parent answer you (though I have similar sentiments as someone with language implementation experience, and FWIW, I have professional experience with Go, Ruby, JavaScript, Clojure, C#, and I've used Haskell, F#, and m
383.
▲
by
cstrahan
9y ago
Regarding the supposed discriminatory hiring practices, I discovered a video where Damore mentions two scenarios: https://www.bloomberg.com/news/videos/2017-08-10/fired-engin... 1. Giving multiple attempts at
384.
▲
by
cstrahan
9y ago
> There is a near-0% chance that this is the case, because this is illegal (to say nothing of unethical). Outside of a +1 tiebreaker when all else is equal between two candidates, no HR/Legal team worth their salt would ever create
385.
▲
by
cstrahan
9y ago
Thanks a ton for the response! Just to be clear to anyone stumbling along this: I don't necessarily agree with what the author of the memo wrote, and I think he should have anticipated backlash and hurt feelings that resulted; howeve
386.
▲
by
cstrahan
9y ago
> You likely feel that your capability is more in question, that you have to prove yourself more than the men on the team, and that this person you work next to (or for) starts out with an assumption that you're less capable. I have
387.
▲
by
cstrahan
9y ago
I've seen plenty of this. The most common offenders are junior to mid-level developers who, in the pursuit of attaining the trappings of sophistication, cargo cult various patterns without understanding the original rationale behind th
388.
▲
by
cstrahan
9y ago
Maybe something like this: Equivalence: unification of types (can't make I'll-typed substitutions) Output only effects: have your language define only one such monad About to depart on a flight, so can't elaborate further.
389.
▲
by
cstrahan
9y ago
That's my thinking, too! If Haskell's Template Haskell + cross compilation woes can be avoided (ideally cross compilation should be as easy as in Go's tool chain), while retaining all the other goodies, I'll have a new f
390.
▲
by
cstrahan
9y ago
Eli Bandersky wrote an excellent series on load-time relocation and position independent code (PIC), including details regarding PLT/GOT: http://eli.thegreenplace.net/2011/08/25/load-time-relocation...
More ›