Readit News logoReadit News
arksingrad commented on Borrowchecker.jl – Designing a borrow checker for Julia   github.com/MilesCranmer/B... · Posted by u/darboux
arksingrad · a year ago
Isn't this much closer to RefCell than the borrow checker?
arksingrad commented on OpenRA – Classic strategy games rebuilt for the modern era   openra.net/... · Posted by u/xbmcuser
TulliusCicero · 2 years ago
I've played it a bunch, and it really is the perfect LAN party game:

Quick to download, quick to install, no real setup or tutorial section, cross platform, runs on anything, timeless graphics, easy to understand gameplay, lots of custom game options including AI, etc. And of course, it's fun.

I've tried to find the FPS equivalent of this, but it's been much harder, surprisingly.

arksingrad · 2 years ago
Original Unreal Tournament is a pretty good one for this, I copied the install to a thumb drive on high school and played it on school computers all the time. Same with GZDoom

Deleted Comment

arksingrad commented on Correctness and composability bugs in the Julia ecosystem   yuri.is/not-julia/... · Posted by u/benjojo12
Q6T46nT668w6i3m · 4 years ago
@inbounds is a Base feature.
arksingrad · 4 years ago
@inbounds isn't the problem, it's incorrect usage of it. The poor docstring is absolutely a problem though, you should be iterating over eachindex(A), not 1:length(A).
arksingrad commented on Some special cases of method dispatch in Julia   bkamins.github.io/juliala... · Posted by u/2pEXgD0fZ5cF
arksingrad · 4 years ago
Dispatch ambiguity can really bite you, particularly if you start extending methods from other packages. An issue I often run into at the same time as method ambiguity is a stack overflow from self-calling constructors. If you try to define an outer constructor with default arguments, it's really easy to end up just calling that constructor from itself.

The metaprogramming trick for defining a set of methods at once is useful, but I wish there were a more compiler-level solution to sorting out ambiguities or determining what's more "specialized".

These don't really color my view on multiple dispatch, however. I find it to be a really useful tool and I don't run into dispatch issues very frequently. If you're meticulous about your typing it's usually easy to avoid these pitfalls, but sometimes they still crop up.

arksingrad commented on AWS us-east-1 outage   status.aws.amazon.com/... · Posted by u/judge2020
lordnacho · 4 years ago
If you did that some clever person would set up their PiHole so that their device just always worked, and then you couldn't send them ads and surveil them. They'd tell their friends and then everyone would just use their local devices locally. Totally irresponsible what you're suggesting.
arksingrad · 4 years ago
this is why everyone runs piholes and no one sees ads on the internet anymore, which killed the internet ad industry
arksingrad commented on Julia 1.7 Highlights   julialang.org/blog/2021/1... · Posted by u/logankilpatrick
sharikous · 4 years ago
Maybe this is the right forum to ask... Why the debug system in Julia is so terribly slow? It seems to me that Debug.jl (or whatever runs in VSCode) interprets, rather than running, the code. The result is that for me debugging is just unusable.

The standard way to put breakpoints in an executable is to replace the instruction at which to stop with INT3 (or something analogous in other architectures). Then give the system a callback for your debugger when the CPU receives the interrupt.

Is there a way to make Julia's debugger do that?

arksingrad · 4 years ago
I'm similarly disappointed in Debugger.jl, but I find that Infiltrator.jl often helps me get where I need to go for intra-function problems.
arksingrad commented on Project Euler   projecteuler.net... · Posted by u/tosh
mdturnerphys · 4 years ago
I recently got back into the Euclidia geometric puzzle app [0]. You start with compass and straightedge tools and build up the techniques to exactly construct the solution to various challenges with the minimal set of operations.

[0] https://www.euclidea.xyz/

arksingrad · 4 years ago
I found this app recently, it's great. It's a nice refresher on basic geometry, and I haven't done many geometric constructions in a while. It's a really neat way of exploring geometry and discovering insight after finishing a puzzle to try and optimize it
arksingrad commented on You can't tell people anything (2004)   habitatchronicles.com/200... · Posted by u/xojoc
arksingrad · 4 years ago
While I was in grad school, I had to teach some math-heavy engineering courses. This lesson came through very clearly there, and learning it early made my teaching much more effective.

You can't tell students anything, you have to show them, and you have to know where to start when you show them. Sometimes this meant starting back in the prerequisites to the course (a brief refresher on ODEs) and sometimes it meant arguing by anology before returning to the topic at hand.

u/arksingrad

KarmaCake day28June 18, 2021View Original