This is my favorite language: GHC Haskell
GHC Haskell:
GHCi> length (2, "foo")
1
I’m also on Mastodon as https://hachyderm.io/@BoydStephenSmithJr .
This is my favorite language: GHC Haskell
GHC Haskell:
GHCi> length (2, "foo")
1
Only if that browser somehow becomes overwhelmingly popular in a market segment BEFORE it gets JS support.
Python also has no separate compilation step and yet it did not adopt this philosophy
Yes. It did. It didn’t assign exactly the same semantics, but it DOES assign a run time semantic to min()
.
JS is the machine code of the web. Fewer and fewer people might write it directly, but it will live as long as the web platform does.
Not having a separate compilation step absolutely affects error handling. With a compilation step, you can have errors that will only be seen by and must be address by a developer prior to run time. Without one, the run time system, must assign some semantics to the source code, no matter how erroneous it is.
No matter what advisory “signature” you imagine for a function, JS has to assign some run time semantics to that function being called incorrectly. Compiled languages do not have to provide a run time semantics to for signatures that can be statically checked.
All functions built with function name(args) { body }
syntax have a length based on the form of args
. Other ways to create functions might set length (I’m not sure). Most of the functions provided by the runtime environment do have a length, usually based on the number of “required” arguments.
So, the language isn’t compiled (or wasn’t originally) so they couldn’t make min()
be an error that only a developer saw, it has to be something that the runtime on the end-user system dealt with. So, it had to be assigned some value. Under those restrictions, it is the most mathematically sound value. It makes miniumum-exactly-2(x, min(<…>)) be exactly the same as min(x, <…>), even when the “<…>” has no values.
As a developer, I see a lot of value in static analysis, including refusing to generate output for sufficiently erroneous results of static analysis, so I don’t like using JS, and the language that I tinker with will definitely have a separate compilation step and reject the equivalent of min()
. But, if I HAD to assign something like that a value, it probably would be a representation of infinity, if we had one (probably will due to IEEE floats).
HTH
I hope you never have to experience a life-changing health event.
As far as I know, there’s intentionally no recall procedure for federal offices. So, the system is designed so that districts do put up with turncoats. I would be open to changing that, but I’m not interested in championing such a change.
I think this is an insensitive thing to post. I fear it might be true. A more active fear center (even just relative to other brain functions) might explain not only the policy shifts, but also this outburst.
I hope he can get that care he needs (if any). I don’t think his actions (so far) as impeachable, so we’ll just have to wait until he’s served the rest of his term before the people of his great state can replace him.
At very least there’s an OCX for InteractiveHtmlView or some stuff. It’s how South Korean banks apps run. I think even the EU-specific “unbundled IE” versions still have that ActiveX / OLE control registered, though it might be crippled.
Although, he admits in the video to “faking” his footage of it working, by using a off-camera heat source. (His batteries were quite dead.)
But, as someone that lived through this time, they did work, as long as you pressed hard enough in the right places. It was hard to tell if the battery was dead or if you weren’t pressing hard enough
The whole reason I got on YT Premium was because it was free with Google Play Music. I have real issues watch non-Premiun now, because I’ve always disliked advertising methods. (Not so much th ads, which can be entertaining, but just being shown content I didn’t request instead of the content I did request.)
He read Maus but took the wrong lessons from it?
Maybe some investigative journalist should check with Stormy Daniels?
Too redundant, just use S-exprs.
(Mostly joking, but in some cases…)
I think Bernie is just being pragmatic. But, that might be giving him too much credit.
I agree she’s better than the only viable alternative.
We really need to replace FPtP and the Electoral College. Approval voting is pretty simple, and would improve both the primaries (if kept) and the final.
Some people hate it, including some independent developers. I wouldn’t mind going without it, if there was a Free Software library management alternative. I want something to track what I have installed (because I’ve “lost” things and reinstalled them before) and something that has a decent uninstall.
I also get some benefit from the store integration, but I can understand developers being annoyed at the 30% “steam tax”. I’d gladly purchase using some other method, if I didn’t have to sacrifice library functions from previous paragraph.
“users will be frustated and leave” exactly the same thing can happen to an instance that adds an instance (or wildcard domain) block. I’d be very surprised if no instance has ever rolled back a block.
Users don’t need to worry about instance blocks on ActivityPub, any more than they have to worry about DNS RBLs for email.
if gmail could just randomly decide to stop receiving emails from outlook addresses and there’s nothing any user can do about it
This is the case right now.
There’s good reasons GMail doesn’t do that, but there’s absolutely nothing technical preventing from doing that, and I can’t think of anything that legally prevents them from doing that.
Oddly enough, in Haskell (as defined by the report), length is monomorphic, so it just doesn’t work on tuples (type error).
Due to the way kinds (types of types) work in Haskell, Foldable instances can only operate over (i.e. length only counts) elements of the last/final type argument. So, for (,) it only counts the second part, which is always there exactly once. If you provided a Foldable for (,) it would also have length of 1.