Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cstrahan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
331.
▲
by
cstrahan
7y ago
> They made up an entire unscientific claim to disprove. Search for "bilingual smarter". Here are a handful of articles that suggest that many, many people have already put forth (or at least entertained the possibility of) the
332.
▲
by
cstrahan
7y ago
Remember that the author’s intended audience is developers who want to use JWTs specifically to avoid server side state in the authentication/authorization logic. The point is that, if you want to revoke the refresh token, you have to
333.
▲
by
cstrahan
7y ago
That box should probably read: “You can't revoke the long-term tokens in a stateless manner, so supposing you truly manage ZERO state, then you're back to square one.” That seems like the charitable interpretation. Note that the
334.
▲
by
cstrahan
7y ago
Why would you need to make a request to another server for this purpose? Hint: you don’t — but I figure taking the Socratic approach may be more convincing.
335.
▲
by
cstrahan
7y ago
> I don't really know what "differentiate" means [...] Probably “set themselves apart from others”.
336.
▲
by
cstrahan
7y ago
> [...] the faces look completely real and I would have no problem believing they were anything but. I suppose that depends on who the viewer is. For example, everyone at work was blown away with how hard it was to pick the real face her
337.
▲
by
cstrahan
7y ago
You could keep doing the work you're doing, but without the sitting: get a stand up desk (if money is an issue, you can get a cheap hand-cranked desk from Ikea) and get an under desk treadmill (harder to avoid spending at least $1k, sa
338.
▲
by
cstrahan
7y ago
Not Java or Python, but here’s some Ruby: https://www.honeybadger.io/blog/how-to-try-again-when-except... The above article talks about exploiting Ruby's support for call/cc to do something similar. A notewor
339.
▲
by
cstrahan
7y ago
> What is a cool thing I can do with Guix, besides have my freedom respected? Do apt or Homebrew not respect that freedom? In the second bullet point on the home page, they tell you something cool: > Guix supports transactional upgrad
340.
▲
by
cstrahan
7y ago
At the very top of that page: > Guix is an advanced distribution of the GNU operating system developed by the GNU Project—which respects the freedom of computer users. On the about page: > The GNU Guix package and system manager is a
341.
▲
by
cstrahan
8y ago
Define a set of functions that close over their lexical environment, then treat the closed-over variables as internal/private state, and treat those functions as you would methods in OOP (reading/mutating the aforementioned variab
342.
▲
by
cstrahan
8y ago
I'm just one data point, but I imagine I'm not alone: If I tip someone well, it's because they've been incredibly attentive, kind, accommodating, etc. As much as possible, I want the tip to brighten their day. The effect
343.
▲
by
cstrahan
8y ago
I don't think that's what they're saying. The point isn't that withholding the domain name is the end of the world, the point is that handing it over is a small token that Google can use to claim that they aren't an
344.
▲
by
cstrahan
8y ago
(Note that I am not a lawyer...) In a nutshell, copyright ownership gives the owner(s) the choice to license their work as they see fit. The word "copyright" is often misunderstood as meaning "copying of the work in question
345.
▲
by
cstrahan
8y ago
I'll preface: this is more of an interesting connection, rather than a direct answer to your question. Zippers can be seen as (or at least isomorphic to) the derivative of a type with respect to one of its type parameters. This is desc
346.
▲
by
cstrahan
8y ago
> Are people so obsessed with monetary success that they'll sacrifice the joy of programming and computer science to watch Casey Neistat's vlog four times in a row? I guess my priorities are totally out of order. Alternative ta
347.
▲
by
cstrahan
8y ago
It's certainly doable. I contributed Envoy to Nixpkgs (built with bazel) and developed the current incarnation of the RubyGems/Bundler build infrastructure.
348.
▲
by
cstrahan
8y ago
Bare-metal in this context means that you have physical hardware and you're responsible for making sure the system can boot and do the stuff you want, as opposed to what you'd have with a service like Amazon's EC2, where you&
349.
▲
by
cstrahan
8y ago
What's the "oops" about?
350.
▲
by
cstrahan
8y ago
See "material implication" ( https://en.wikipedia.org/wiki/Material_conditional ), which is what most people here will likely mean when they say "implies": > The material conditional (also known as
351.
▲
by
cstrahan
8y ago
Correct: being fertile or not is a biological attribute. It's when you introduce some means of manipulating your biological functions (either through behavioral changes or the consumption of external substances) for the sake of your he
352.
▲
by
cstrahan
8y ago
>> As you can see, Notepad is incorrectly displaying the file’s contents, making the file look garbled. > So the intended behavior was to incorrectly display the file contents? I would argue that you're getting hung up on the
353.
▲
by
cstrahan
8y ago
Users can take issue with intended behavior, as in this case. This resolves that issue, despite the old behavior working as (previously) intended. “An issue (as perceived by a user)” is not equivalent to a bug.
354.
▲
by
cstrahan
9y ago
> At what point does the additional cognitive burden of advanced type system features become a worthwhile tradeoff for program correctness? It seems to me that this depends wholly on the complexity of the program. I have similar thoughts
355.
▲
by
cstrahan
9y ago
I forgot to mention: If you've already bought into Docker, you can actually use Nix to construct your Docker images: https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools Some benefits: * Nix provides reprod
356.
▲
by
cstrahan
9y ago
> This is mostly a good post, but he doesn’t mention one huge security disadvantage of containers: When application artifacts all include their own versions of dependencies locked at build time, it becomes very hard to update a component
357.
▲
by
cstrahan
9y ago
You’ve just changed your argument from “it’s probably difficult to spoof a vendor/device ID” to “drivers have historically required signatures”.
358.
▲
by
cstrahan
9y ago
> the current problem is that you don't want to have to copy all file descriptors if all you're going to do is call "exec" and reduce them to three: in, out, err. To be clear, exec does not necessarily close all but t
359.
▲
by
cstrahan
9y ago
In their case, why not stat the path directly?
360.
▲
by
cstrahan
9y ago
I’ve experienced this quite often: https://en.m.wikipedia.org/wiki/Hypnagogia Maybe an hour or two before falling asleep, I’d hear a dozen or so voices, chaotically making word play in reference to each other. The voic
More ›