276
points
kristofferc
Joined 455 karma
- kristoffercDown 2% in the last 5 days?
- Can you link to the conversation log?
- Actually, it sounds quite ok.
- That's 10 grams?? Does that even fit in a pill?
- Scales perfectly well with a 1.8 million donation to the correct place, though. Her mistake was not the fraud, it was the forgotten donation.
- Except for the language semantics.
- I think it was a joke
- Flying cars already exist. We just call them helicopters.
- Where does "tight music" come into those constraints.
- Yeah, this isn't benchmarking anything related to the CPU etc. It is benchmarking the quirks of the Python interpreter.
- There is also a new player in the game of C++ wrapping Julia: https://github.com/Clemapfel/jluna
- One difference is that Pkg.offline(true) will error if it cannot resolve something with packages already installed while with this option it will fall back to downloading new versions.
- What did you feel you needed to use macros for?
- > I provide the option of Julia in my tutorials.
I also did this and only the students that were well ahead of the rest gave it a try. But I think this is natural, many students are already pushed to the limit to manage the current set of studies. Learning a whole new language on top of that introduces a lot of extra risk and has an opportunity cost that might not make it feasible (unless you are already doing very well).
I don't think it is so much that students are lazy but more that the current way that the study plan is made in universities doesn't allow for much risk taking by the students. So they will just go the "cookie cutter" way.
- A real person can also have a real-world doppelganger. In fact, isn't this just as likely as an AI generated person having one, maybe even more? So doing this swap didn't really change anything when it comes to "innocent" people getting targeted?
- Same as what would happen if a real person looked like another real person, I presume.
- Functions can inline global const values and these will not be updated when you change it in a way that emits the warning. So it is not the same, the warning is not there for no reason.
- It is already illegal to interfere.
- I wouldn't say that @inbounds is a "horrible hack". Just like the `unsafe` part of Rust is not a "horrible hack". There are cases where it is impossible for a compiler to statically verify that an index access is in bounds and in those cases it will need to emit a check and an exception. This prevents many other optimizations (for example SIMD). So for a language that is intended for people to write low-level numerical routines there has to be a way to opt out of these checks or people would have to write their numerical routines in a completely different language. But the important part is that index access is memory safe by default (as opposed to e.g. C) and you can also force boundschecking to be turned on (to override @inbounds) with a command-line flag (--check-bounds=yes). So if you want, you could pretend "@inbounds" doesn't exist by just aliasing your julia executable to apply that command line flag.