Fork me on GitHub
#clojure-dev
<
2018-10-23
>
andy.fingerhut03:10:48

I have only one purpose in passing on the following link -- your mild amusement. [But some of those links are fairly educational, too.] I have only two purposes in passing on the following link -- your mild amusement, and perhaps you may learn something. [But aren't you kind of obsessed about the clojure.set function behavior, too? I mean, you have spent way too much time thinking about it, Andy]. ..... I have only three purposes in passing on the following link. three purposes. [You should apologize to Monty Python now.]

andy.fingerhut04:10:47

After looking up the meaning of that symbol, I accept the assessment (with the slight qualification that what I experience is not rage, but annoyance 🙂 ) I had never seen this video before, and it did seem to be a nice reasonably short (1 hour) explanation from a C++ compiler writer's perspective on why C/C++ have so much undefined behavior: https://www.youtube.com/watch?v=yG1OZ69H_-o

dominicm19:10:17

I was too lazy, I decided to read the code. I would have run it if you provided an all in one though. I wonder if clojure loads from git... No, of course not, it has java in.

andy.fingerhut19:10:03

One does not often hear someone describe themself as lazy for reading code rather than running it 🙂

dominicm19:10:08

Cloning clojure, waiting for a build... ⏲️

andy.fingerhut20:10:30

It isn't the kind of thing I would want to publish a JAR for, due to the fear that someone would use it accidentally. Just a bit of silliness.

dominicm20:10:11

If you can get this working with IllegalArgumentException, I probably would use it!

dominicm20:10:13

Just for fun

andy.fingerhut20:10:36

That one throws AssertionError, not IllegalArgumentException

dominicm20:10:21

But with frogs

andy.fingerhut20:10:08

oh, you want the exception and the frog? Yeah, that is a one-line change 🙂

dominicm20:10:49

Then I just have to plant the changes secretly into my colleagues machines somehow...

andy.fingerhut20:10:01

You are the second person who said they are thinking of doing that 🙂

andy.fingerhut20:10:57

Making it throw an exception will cause clojure.data/diff to also throw exceptions in some cases where I believe it returns the correct answer today.

dominicm20:10:47

I recently got caught with my install of sl on a colleagues machine where I noticed they had sudo without a password. They didn't typo sl for 5 months!

mfikes21:10:50

That frog jumping out of the box has been my canonical mental image of "undefined behavior" ever since I learned C in the early 90s 🙂

andy.fingerhut21:10:27

I just learned yesterday while searching the Internet for articles/videos on undefined behavior the term "nasal demons"

andy.fingerhut21:10:53

The singing frog is a favorite cartoon of mine, so a much better mental image, I think.