HackerTrans
TopNewTrendsCommentsPastAskShowJobs

arksingrad

no profile record

comments

arksingrad
·tahun lalu·discuss
Isn't this much closer to RefCell than the borrow checker?
arksingrad
·3 tahun yang lalu·discuss
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
arksingrad
·4 tahun yang lalu·discuss
@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
·4 tahun yang lalu·discuss
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
·5 tahun yang lalu·discuss
The archive is a few years out of date: https://legiblenews.com/archive/
arksingrad
·5 tahun yang lalu·discuss
this is why everyone runs piholes and no one sees ads on the internet anymore, which killed the internet ad industry
arksingrad
·5 tahun yang lalu·discuss
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.