

I’d argue that the resulting tragedy is the moron’s fault in all of the ways that matter. The things the post are “warning” about are still alarmism.
Programmer, graduate student, and gamer. I’m also learning French and love any opportunity to practice :)
I’d argue that the resulting tragedy is the moron’s fault in all of the ways that matter. The things the post are “warning” about are still alarmism.
Are you calling for people’s deaths?
Regardless of how serious their crimes are, calling for people’s deaths is not a great way to be(e) nice.
Most of the unfortunate people who support the current administration are suffering from a lack of funding for education and other systemic issues that are not their fault. If the system were to collapse and be restructured, we should aim to help those people, not punish them.
“quantum teleportation” is the correct technical term. The problem is articles being written by people who don’t realize this is a technical term that needs explanation.
The appropriate comparison is to hate speech – speech which is never tolerable. The kinds of things I wouldn’t say in this comment. Some racial slurs might qualify, in my opinion, but it would be particular phrases using them and not necessarily the slur itself. The N word is obviously not hate speech when certain people say it, otherwise lots of rap music would be illegal. But there are certainly hate speech phrases that use it that are just as bad as a Nazi salute.
Freedom of speech, like any tolerance, needs to have limits and this is a very reasonable one.
Because lots of people I talk to where I live (eastern Canada) don’t seem to realize this: the forcible “transfer” (i.e. deportation) of children is an act of genocide according to international law.
Largely reasonable?
Haskell is not good for systems programming which sums up about 60-70% of that post. Laziness is lovely in theory but many industry uses of Haskell use stricthaskell for all or most of their code, so I certainly agree with that part too.
Their largest complaint about using Haskell for small non-systems programs seems to be the mental overhead induced by laziness. But for me, for small programs where performance isn’t a huge concern (think Advent of code or a script for daily life) laziness reduces my mental overhead. I think that author is just especially concerned about having a deep understanding of their programs’ performance because of their systems background. I worry about performance when it becomes relevant. Debugging Haskell performance issues is certainly harder than strict languages but still totally doable.
The lack of type classes or other form of ergonomic overloading in OCaml is easily the single “feature” most responsible for the language never taking off.
As a Haskell programmer, “OCaml has the nicest type features” hurts just a little bit.
I sometimes teach a course in OCaml. The students who are very engaged inevitably ask my about Haskell, I encourage them to try it, and then they spend the rest of the semester wondering why the course is taught in OCaml. Bizarre how different that is from when colleagues in industry want to try Haskell.
Is Printf.printf
not a good generic print function? It’s even variadic!
Yeah, I like subleq.
tinycc
int
s. Since it’s all of them, you don’t even need to write it!Subleq is the obvious winner in my mind.
There is no official definition, in part because there isn’t any formal way to define the term that satisfies our intuition.
Most treatments will handle “transpiling” as a special case of “compiling” and some will even handle decompilation as a special case where the object language is higher level than the source. Of course, even defining “higher level” can be quite hard.
Plenty of languages “compile to C” and I see no issue with saying something “compiles to js,” especially given that js mostly lacks features of purescript rather than the other way around.
“Monadic type” has something like three meanings depending on context, and it’s not clear which one you mean. One of them is common in math, but not so common in programming, so probably not that. But neither “parametric types with a single argument” nor “types that encode a category-theoretic monad” have the property you say, as far as I know.
I imagine you’re probably referring to the latter, since the optional monad exists. That’s very different from returning null. The inhabitants of Integer
in Java, for example, are the boxed machine ints and null
. The inhabitants of Optional[Integer]
(it won’t let me use angle brackets here) are Optional.of(i)
for each machine int i
, Optional.empty()
, and null
.
Optional.empty()
is not null and should not be called a “Null object.” It’s also not of type Integer
, so you’re not even allowed to return it unless the function type explicitly says so. Writing such function types is pretty uncommon to do in java programs but it’s more normal in kotlin. In languages like Haskell, which don’t have null
at all, this is idiomatic.
Which, to be fair, is also derived from a word which would be most accurately (with English vowels) pronounced as mah-nuh. Although at this point “manna” is definitively also a word of English whose correct pronunciation is with /æ/.
I’ve only ever seen “one-time” in cryptography to refer to One-Time Pads (OTP). They are literally uncrackable (because every possible plaintext could be encoded by every possible ciphertext) but they achieve that by using a shared private key. The cipher becomes attackable if the key is re-used, hence the “one-time.”
But that key has to be exchanged somehow, and that exchange can be attacked instead. Key exchange algorithms can’t necessarily transfer every possible OTP which means eavesdropping on the exchange would make an OTP attackable. So the best option we know of that doesn’t require secret meetings to share OTPs* really is to use RSA encryption. Once we have efficient quantum-resistant schemes, they’ll be the best option we know.
* and let’s be honest, secret meetings can be eavesdropped on as well.
Bril is the only compiler IL I know of that is specifically designed for education.
R. Kent Dybvig’s compilers course has had approximately 15 “intermediate” representations designed for his course since at least 2004 – a consequence of teaching the course using the nanopass compiler framework for scheme. You could broadly divide these into “representations that are restrictions of scheme,” and “representations that are increasingly-annotated versions of UIL” where UIL is the underlying intermediate representation. As far as I know, UIL was also designed for this course.
Americans often incorrectly ascribe degrees to “unique.” At this point it’s so baked into all of their dialects that it’s hard for me to keep calling it wrong.