9,664 karma · joined Jun 14, 2010 (16y ago) · 1,504 submissions
comment 5y ago · link · parent
Not to be too pedantic, just because you make a good point that's worth clarifying: I think you meant WASM being the processor's *ISA*, which is translated to microcode instructions that are more optimized for actual execution. Exactly like an Intel CPU isn't "really" executing x86 instructions anymore.
comment 5y ago · link · parent
comment 5y ago · link · parent
Explanations of design intent might be the most underrated kind of documentation. There's so little of that nowadays in general, in any technology. Personally, I blame shortened attention spans, the death of programming books, and the rise of Stack Overflow. I'm not familiar with the Apple ecosystem, is it really worse in this regard than others?
comment 5y ago · link · parent
> The leap from a word meaning "imaginary" to a word meaning "fantastic" struck me as odd initially, but apparently it comes from the sense of the word "imaginary" as "unreal".
What other sense is there that Wiktionary doesn’t know about?
comment 5y ago · link · parent
Not quoting the question makes it easier for the author to frame the formulation as malicious without risking the reader coming to a different conclusion. Here's the question:
"Allow APP to track your activity across other companies' apps and websites?
Your data will be used to deliver personalized apps to you.
[Ask App Not to Track]
[Allow]"
(AFAICT, the second sentence can be different, e.g. "Your data will be used to measure advertising efficiency", depending on the app.)
comment 5y ago · link · parent
I’m suspecting you meant “easily guessable” in the human sense, not the cryptographic/security sense. My bad if I misunderstood you. Again, I’m not saying Instagram has any security problem, I’m just saying that this ID scheme in particular isn’t a security feature.
comment 5y ago · link · parent
I don't see how that's true. From reading the article you linked, you only need a valid shard ID (which you can extract from known IDs), the millisecond (which is guessable) and a 10-bit sequence (which you can easily brute-force).
(And that's completely fine if their security model doesn't require unguessable IDs.)
comment 5y ago · link · parent
Your point is good though. Just like we're now starting to put wi-fi chips into absolutely anything just in case, why wouldn't an advanced civilization simply use their super strength nanoparticles for everything? Why go out of your way to use worse materials?
comment 5y ago · link · parent
For more everyday civil engineering, I think the safety factor "covers up" a lot of systemic inaccuracies everywhere in the system, from modeling to design to manufacturing to unintended uses. Some of those you might account for in a probabilistic model. But it's very difficult to probabilistically model errors in the model itself, as the financial industry found out the hard way.
When driving over a bridge built the way suggested here, how comfortable can we be that certain stresses aren't correlated in ways that the engineers didn't anticipate? Or that a certain distribution isn't actually as well approximated by a Gaussian as it was assumed to be? Intuitively, it's a lot harder to be wildly wrong with the factor of safety approach.
To put this another way, a more complex way to reason about safety necessarily has more moving parts, and is thus more likely to be wrong. So in effect, adopting more complicated safety models introduces a safety risk all on its own. I think that needs to be considered as well.
comment 5y ago · link · parent
comment 5y ago · link · parent
To me, it seems like you're arguing that having a less accurate (I'm sorry, less "limited") understanding of actual language semantics (that it's just "message passing") somehow helps you design distributed systems. In my experience, the opposite tends to be the case.
comment 5y ago · link · parent
It can't both be only an implementation detail and also have far reaching consequences. (It's not an implementation detail.)
> You can model and reduce everything to lambda calculus.
You actually can't, that's precisely my point. Lambda calculus is inherently "synchronous". You can't capture the full semantics of actual message passing with lambda calculus, you need a process calculus (like pi calculus) for that. (In case you're confused, this has nothing to do with Turing completeness, it's about modeling the behavior of concurrent systems. It's a really interesting subject.)
The point is, lambda calculus is sufficient to model OOP method calls, including everything in Smalltalk and Self. It's not sufficient to model the semantics of Erlang messages.
comment 5y ago · link · parent
My point is that OOP is not about message passing. You say that Erlang is more about message passing than OOP languages are, aren't we exactly in agreement here?
Also, it was the post I responded to that referenced actors, I'm not jumping to anything.
comment 5y ago · link · parent
But yes, insanely useful once you get the hang of them, they enable forms of abstraction and composability that you'll sorely miss when working in other UI frameworks.
comment 5y ago · link · parent
(Also, personal opinion: The "purest intepretation" of what Alan Kay had in mind in 1969 is Smalltalk. That's almost an objective fact: if he had something else in mind, he would have done it. I know that he says he had something like Erlang in mind from the very beginning, but to the best of my knowledge, those claims are retroactive.)
comment 5y ago · link · parent
Objects don’t “do” anything, they are simple passive data structures that are acted on by procedures. A certain set of procedures with privileged call syntax and visibility into the data structure are called its “methods”, that’s all the magic. The sooner you accept this, the better your designs are going to be.
(1) Edit: I meant here that you can't design real-world systems that way in OOP languages. I left that out because I considered it obvious from context, but it seems like it wasn't. I didn't mean to disparage any actual message-passing systems. My claim here is that OOP, as commonly understood and implemented by Alan Kay himself in the form of Smalltalk, is not about message-passing. Erlang is, but that's a different topic.
comment 5y ago · link · parent
So if you’re looking for a crypto algorithm, make sure it’s constant-time in the relevant sense.
comment 5y ago · link · parent
Considering that, I don't find this paradoxical at all, still very fascinating. Please correct me if my understanding is wrong, but I think cancer also in some sense helps the individual cell at the cost of the organism. For example, cancers induce the formation of cappilaries to get more nutrients -- not so dissimilar from these infected ants inducing other ants to feed them.
comment 5y ago · link · parent
All of this might depend on peripherals, settings, SD card and so on, so maybe there’s more room for optimization than I had realized.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
And I don't think many people would argue that 16-bit gaming had "no real charm", I consider it to be the peak of the 2D era. In fact, Super Mario World is often held as one of the best platformers of all the time. With all its fan mods, it's still widely played to this day. It's the early 3D era that followed that's mostly forgotten.
comment 5y ago · link · parent
The problem with this is that it’s so incredibly hard to do anything in 8-bit, I can’t imagine many people going to all that trouble if they’re not even getting the badge of honor if running on real retro hardware.