Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
judofyr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
241.
▲
by
judofyr
6y ago
The attack scenario occurs when the service (e.g. Facebook) wants to redirect the user back to the client (e.g. your website). That request contains an authorization code which is coupled to the client secret (it's only usable if you h
242.
▲
by
judofyr
6y ago
> Do you value independent thinking? If so, what part of the article did you most disagree with? I wholeheartedly value being creative and coming up with fresh ideas, but I don't see how this is in any way connected to an innate pro
243.
▲
by
judofyr
6y ago
> He's writing to and for people like him, trying to help them put words and clear thought to vague understandings and apprehensions they've been wrestling with. Ah, yes, he's writing an article about how to think for your
244.
▲
by
judofyr
6y ago
> They are thirsty for your personal data and they need to know everything you do on their computer. This is completely opposite of what Apple does, no? Out of all of the tech giants (Microsoft, Facebook, Google) it's my impression
245.
▲
by
judofyr
6y ago
It's quite fascinating to see the comments on this article as it's pretty obvious who clicked the link and who only looked at the title here at Hacker News. The article itself is called "Pro Rata and User Centric Distribution
246.
▲
by
judofyr
6y ago
We have a JSON data store at Sanity.io where you update your data by sending in a transaction script which is at a quite high level ("increment karma by 5"). While these scripts explain your intention well, they are a bit of a h
247.
▲
by
judofyr
6y ago
Ehm… As I was profiling the code base I found that most of the time was spent hashing the data. The hashing part is quite critical for correctness and any collisions will cause it to generate incorrect. Initially I used SHA256 and was think
248.
▲
by
judofyr
6y ago
Author of the article here. The format itself is not strictly speaking coupled to JSON: https://github.com/sanity-io/mendoza/blob/master/docs/format... . If you can encode int8 and string more effici
249.
▲
by
judofyr
6y ago
> Raft on the other hand... I've implemented versions of both paxos and raft, and by golly was the latter more difficult to get right. Could you clarify what you mean? "Paxos" as defined in the literature (and as presented
250.
▲
by
judofyr
6y ago
> This is really the large problem with her criticisms: the case that exists is for particle physics getting less priority, but her argument is that it should stop completely, the collaborations disbanded, and everyone goes to find a new
251.
▲
by
judofyr
6y ago
I quite like the trait system in Rust, but I'm not sure if I would argue that it's simpler than a class-based language. Just looking at `foo.bar()` there are similar types of complexities. In a class-based language you need to be
252.
▲
by
judofyr
6y ago
> Obviously, just from Java occupying the top 2 or 3 spots for popularity over the last 15 years -- Java's approach must be doing something right. I'm not sure if this argument holds. Java's high memory usage is frequently
253.
▲
by
judofyr
6y ago
To clarify: By default Nim will still use the GC which doesn't have any "footguns". ARC and ORC are new features which have different trade-offs, and some limitations. You opt-in to using them if you're interested.
254.
▲
by
judofyr
6y ago
> The results, which are yet to be peer-reviewed, suggest that none of these treatments has a substantial effect on mortality or on the length of time spent in hospital , the WHO said on Thursday. (Emphasis mine)
255.
▲
by
judofyr
6y ago
> Not GP, but I propose doing absolutely nothing. There are multiple places on the internet where you can access completely unmoderated content. 4chan and 8chan are two popular forums, and yet they are far from mainstream. The fact is th
256.
▲
by
judofyr
6y ago
> Yes, if requirements change, you change the design and code to support the new requirements. Code and representation (i.e. schema) are vastly different. In my experience it's takes an order of magnitude longer to change a represen
257.
▲
by
judofyr
6y ago
In general I agree that it's nice to make invalid states unrepresentable, but I'm not sure if I agree that this counts as a fundamental "invalid state". There is nothing about contracts which require that you can only ha
258.
▲
by
judofyr
6y ago
> The author helped build Quantum Computing For The Very Curious ( https://quantum.country/qcvc ) as a proof-of-concept and, IMO, it shows just what the bottleneck in "learning" from any kind of text is. I think
259.
▲
by
judofyr
6y ago
There are a bunch of examples which I find very useful with the CLI: Creating new repos (gh repo create), opening the repo in the browser (gh repo view), checking out PRs when you have the ID (gh pr checkout ID), diffing the currently check
260.
▲
by
judofyr
6y ago
Regardless of the legality of a thing, the foundation might of course recommend against using it. Imagine that someone wrote a shitty book (without stealing any content) which ends up as the only result on Amazon. It’s perfectly legal to re
261.
▲
by
judofyr
6y ago
This isn’t me disagreeing with the design decision, this was their own explanation for why you shouldn’t use Moment.js in the future. My point was that the reason we’re transitioning away from it is because of technical reason, not because
262.
▲
by
judofyr
6y ago
> But it’s not. Because if you’re not adding new features and pushing code changes every day, your project is abandoned, dead. To quote another thread from two minutes ago: “I’m quite sad to see the end of Moment.js” In this case, the re
263.
▲
by
judofyr
6y ago
The reason why auto-diff is exact and amazing is because (1) the derivative operation is "decomposable" through the chain rule and (2) we've found the symbolic derivative of the basic functions. There's not a mathematica
264.
▲
by
judofyr
6y ago
Just to clarify: This result follows directly from the definition of the derivative: f'(x) = lim_{e->0} (f(x+e) - f(x))/e If you're able to express f(x+e) on the form (f(x) + y e) then it follows that y is the derivative.
265.
▲
by
judofyr
6y ago
My first thought when seeing this stack problem was that it might be possible to use the techniques presented in "Internally Deterministic Parallel Algorithms Can Be Fast"[1]. The idea is that the algorithm runs on the prefix of t
266.
▲
by
judofyr
6y ago
> Calling it “memory-safe”, is dishonest. I'm not sure why we desperately need to classify languages into "memory-safe" or "not memory-safe". The fact is that all languages have various levels memory-safety (sun.
267.
▲
by
judofyr
6y ago
Why not? Why are you not willing to invest time into understanding what other people are willing to march in the street for?
268.
▲
by
judofyr
6y ago
> I invested your "10 seconds". Google took me to a site called Defund the Police[1]. Weird. That page is not even at page 1 for me. Wikipedia comes up first for me and would generally be my go-to source for these topics. >
269.
▲
by
judofyr
6y ago
> It’s hard to blame people for misunderstanding slogans that supposedly don’t mean what the plain meaning would suggest. I find it very easy to blame people who are not willing to spend 10 seconds researching what a movement stands for.
270.
▲
by
judofyr
6y ago
Unarmed police is not really the norm: > In some countries including Iceland, Ireland, New Zealand, Norway, the United Kingdom (Northern Ireland excepted), Maldives, the police do not carry firearms unless the situation is expected to me
More ›