Better HN
topnewbestaskshowjobs
Log inSign up

kristofferc

495 karma · joined Dec 21, 2016 (9y ago) · 86 submissions

Submissions

comment 2w ago · link · parent

I wanted to pay them money to try their things. I just literally couldn't figure out how to do it. I think I then managed to get some trial credits but I never managed to activate anything with them and hit API limit after basically one prompt.

comment 3w ago · link · parent

This felt very easy. And yes, a police car in the park violates the rule, but police are allowed to violate rules in certain cases.

comment 2mo ago · link · parent

Instructions Per Cycle

comment 11mo ago · link · parent

Down 2% in the last 5 days?

comment 11mo ago · link · parent

Can you link to the conversation log?

comment 1y ago · link · parent

Actually, it sounds quite ok.

comment 1y ago · link · parent

That's 10 grams?? Does that even fit in a pill?

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Except for the language semantics.

comment 2y ago · link · parent

I think it was a joke

comment 2y ago · link · parent

Flying cars already exist. We just call them helicopters.

comment 2y ago · link · parent

Where does "tight music" come into those constraints.

comment 2y ago · link · parent

Yeah, this isn't benchmarking anything related to the CPU etc. It is benchmarking the quirks of the Python interpreter.

comment 3y ago · link · parent

There is also a new player in the game of C++ wrapping Julia: https://github.com/Clemapfel/jluna

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

What did you feel you needed to use macros for?

comment 3y ago · link · parent

> 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.

18.

Julia 1.9(julialang.org ↗)

276 points · by kristofferc · 3y ago · 208 comments

comment 4y ago · link · parent

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?

comment 4y ago · link · parent

Same as what would happen if a real person looked like another real person, I presume.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

It is already illegal to interfere.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

Warning about such things is the job for a linter. There is a linter for Julia so such a thing could be added there. It shouldn't be a runtime warning though, like you propose.

comment 4y ago · link · parent

https://discourse.julialang.org/t/rust-julia-comparison-post... seems to be about 2x faster than the (optimized) Rust version with some minor tweaks to the Julia code so perhaps that is more in your ballpark?

comment 4y ago · link · parent

https://simonbyrne.github.io/notes/fastmath/ also has a nice discussion about the possible pitfalls of "fast"-math.

comment 5y ago · link · parent

Alternatively, the high price of long term psychological and physiological effects, particularly in children from very long lockdowns

Time will tell.

comment 5y ago · link · parent

> Free online numerical methods classes are available

How can you use any numerical methods (like error analysis) if you don't have a solid foundation with strict rules to analyze on top on?

comment 5y ago · link · parent

How can it happen three times if it bricks the machine?

comment 5y ago · link · parent

Julia is not interpreted.
123