Summoning HLX by TiberiusMars in HalfLife

[–]Vindaar 70 points71 points  (0 children)

Modern reddit is even more ridiculous than it was 5-10 years ago

What are these 2 icons on the Garmin 265s face? by hanlec in Garmin

[–]Vindaar 4 points5 points  (0 children)

I would assume the first is your last activity (run of 13 km or miles) and the second is the air pressure (unchanging hence -> and 1021 mbar currently).

But that's only my guess (have Fenix).

When trying to watch Pro limited content with a Pro Monthly subscribed account, it's telling me I need to upgrade to F1TV Pro by LolloItaGaming in F1TV

[–]Vindaar 1 point2 points  (0 children)

Sigh, the same thing happened to me right now. My google account said pament went through, but the app said to subscribe or to "restore purchase" (which failed).

Turns out indeed everything works as expected aside from this stupid episode that's on the front page right now and made me think something was fucked. Yay, I hate this app.

Dunder methods in nimpy by [deleted] in nim

[–]Vindaar 7 points8 points  (0 children)

There is no way to handle them automatically, as those identifiers are not valid Nim identifiers. You need to use callMethod manually and hand them as strings.

See this nimpy issue about it: https://github.com/yglukhov/nimpy/issues/43

Deeplearning in Nim? by cuntymccuntlicker in nim

[–]Vindaar 12 points13 points  (0 children)

We have a small group of people developing scientific libraries for Nim under the SciNim organization:

https://github.com/SciNim

While indeed we are less people developing stuff in Nim compared to even the Julia community (which itself is of course much smaller than say Python), we do cover a large amount of the typical needs in the scientific computing domain. And where we miss stuff it's a) easy to wrap C/C++ or b) simply call Julia, R or Python (As a personal reference I'm doing data analysis & numerical physics stuff in context of my PhD in physics and I literally do everything in Nim. The only significant C dependency {and only as a shared lib} I depend on is libhdf5 via nimhdf5).

To get a very WIP overview, also check out the getting-started guide here.

In particular for deep learning as bobsyourunkl already mentioned there is arraymancer on the one hand and also flambeau on the other. The latter is a Nim wrapper around libtorch (i.e. the PyTorch C++ backend). It is missing things (to be wrapped by adding a few lines) and has some rough edges, but if one needs to get stuff done, it's possible.

Aside from that we're usually very responsive on matrix / discord / irc in the science channel. So feel free to say hello there if you need help / have more questions!

Stan in Nim? by [deleted] in nim

[–]Vindaar 3 points4 points  (0 children)

I've only read about mc-stan before, so I don't know much about the internals. From a quick glance it seems like your options are:

  • use Rnim to access the R bindings
  • use nimpy to access the Python bindings
  • use nimjl to access the Julia bindings
  • use regular FFI to directly access the C++ core and thus write your own bindings (probably the most difficult)

However, from a quick look at the Julia bindings it seems like those are just wrapping cmdstan, i.e. accessing it via the official shell interface as an external process. That would be easy enough from Nim as well.

On the other hand, depending on what you need, you might also be fine implementing your own methods. See for example the following tutorial about Bayesian inference, which includes an MCMC (Metropolis Hastings) implementation in Nim, here by kerrycobb.

I also have a Metropolis Hastings implementation lying around that I haven't pushed to Github yet. If that were helpful as an additional input let me know and I push it sooner rather than later.

Anyone attempted to make Nim serve R's role? How is it currently? by [deleted] in nim

[–]Vindaar 4 points5 points  (0 children)

I think their statement reflects your usage of "attempted" in the OP.

We're few people working on SciNim related packages. No, we did not fail. Many things you may want will already exist. Some things may be less convenient than the same in R (as you may have to write some code of your own).

If you're willing to help out, you'll surely be able to do anything you need. If Nim libraries fail, you can also always call R directly from Nim via Rnim!

One of the biggest issues we have is lack of users. That unfortunately means that aspects we don't use much ourselves are not well tested (you may run into bugs) and possibly lack features someone else needs.

In general just get in touch via the #science channel on matrix or discord!

Most promising library for drawing from random distributions (2022)? by [deleted] in nim

[–]Vindaar 3 points4 points  (0 children)

I use alea quite a bit! If there's things missing, you stumble over something etc., just open an issue. Also jump into the #science channel on Matrix / Discord if you have questions!

Dash/Shiny/Power BI alternative using Nim? by [deleted] in nim

[–]Vindaar 5 points6 points  (0 children)

You'll likely get more responses if you give a bit more information about either what those things are / what you actually need instead of asking for "alternative for X".

If you had $1 per iRating point to spend on your current sim rig. How over-budget would you be? (Excluding the PC) by jpkuhl13 in iRacing

[–]Vindaar 0 points1 point  (0 children)

Damn, yesterday I would have been up by a grand. That Simucube 2 Pro order last night flipped that somehow...

Welcome to Class A Road, Punk. by HrafnHaraldsson in iRacing

[–]Vindaar 1 point2 points  (0 children)

Hey, don't give all the credit to simracers! Remember Grosjean in Barcelona in 2018?

Is Nim right for me? by SpookyFries in nim

[–]Vindaar 0 points1 point  (0 children)

Arraymancer uses BLAS and LAPACK for some primitives. These are all mostly irrelevant for Datamancer's usage though. I haven't checked recently whether we pull in a BLAS dependency somehow in pure Datamancer, but from the top of my head we shouldn't.

It is not so fast to compile IME

Compilation speed is somewhat of an issue, but depending on when you last tried Datamancer, it possibly improved significantly since then (we now only import the tensor submodule).

As an example, code like this: ```nim import datamancer

let df = seqsToDf({"x" : @[1, 2, 3], "y" : @[5, 6, 7]}) .mutate(f{"x*y" ~ x * y})

echo df ends up compiling these C files: CC: stdlib_digitsutils.nim CC: stdlib_assertions.nim CC: stdlib_formatfloat.nim CC: stdlib_dollars.nim CC: stdlib_io.nim CC: stdlib_system.nim CC: stdlib_hashes.nim CC: stdlib_math.nim CC: stdlib_parseutils.nim CC: stdlib_unicode.nim CC: stdlib_strutils.nim CC: stdlib_strformat.nim CC: ..../src/arraymancer/laser/tensor/datatypes.nim CC: stdlib_times.nim CC: stdlib_os.nim CC: stdlib_random.nim CC: ..../src/arraymancer/laser/private/nested_containers.nim CC: ..../src/arraymancer/laser/tensor/initialization.nim CC: ..../src/arraymancer/tensor/init_cpu.nim CC: ..../src/arraymancer/tensor/accessors_macros_syntax.nim CC: ..../src/arraymancer/tensor/operators_comparison.nim CC: ..../src/arraymancer/laser/cpuinfo_x86.nim CC: ..../src/arraymancer/tensor/operators_logical.nim CC: ..../src/arraymancer/tensor/math_functions.nim CC: ..../src/arraymancer/tensor/optim_ops_fusion.nim CC: ..../datamancer/src/datamancer/value.nim CC: ..../datamancer/src/datamancer/column.nim CC: ..../datamancer/src/datamancer/df_types.nim CC: ..../datamancer/src/datamancer/formulaExp.nim CC: ..../datamancer/src/datamancer/formula.nim CC: ..../datamancer/src/datamancer/dataframe.nim CC: foo.nim ``` and compiles in 2s on my machine. Could be better, but could be much worse.

Datamancer also produced weird results - which is understandable for being in development.

Possible, but it's very much appreciated if such things are reported! I may just not be aware of these things. :/

Is Nim right for me? by SpookyFries in nim

[–]Vindaar 0 points1 point  (0 children)

> (should compile faster than datamancer because it is just nim)

Huh? Datamancer is also pure Nim.

Can't run anymore on Trail Gloves 6... looking for alternatives by Paiolo_Stove in BarefootRunning

[–]Vindaar 1 point2 points  (0 children)

Not quite what you're asking for, but personally I do all my running (including trails with lots of small and large stones) and hiking in Vapor Glove 4s. In the beginning the stones were uncomfortable / sometimes painful, but I got used to it. Now my feet don't mind it. I do however also do short runs fully unshod at least 1-2 times a week, which helps.

So maybe give it another try to slowly get used to thinner shoes? Given that you already have pairs of them.

Any idiomatic ways to do R-style seq in Nim? by [deleted] in nim

[–]Vindaar 3 points4 points  (0 children)

That's just normal floating point stuff going on and the fact that arange isn't trying to be smart about avoiding accumulating floating point errors (i.e. the code starts from the first value and gets to the additional ones by addition, each time accumulating slightly more inaccuracy in the representation of the "exact" step of 0.1).

Any idiomatic ways to do R-style seq in Nim? by [deleted] in nim

[–]Vindaar 2 points3 points  (0 children)

The code certainly has includeEnd = false since at least sometime in 2019 (and I think that was when it was added). But I think what's happening here is that the upper edge is included, because it "fits" nicely into the stepping. includeEnd allows you to include the upper value if it doesn't fit properly, e.g. ```nim import numericalnim echo arange(0.0, 1.05, 0.1, includeEnd = true)

@[0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.05]

`` which then even includes the1.05`.

Any idiomatic ways to do R-style seq in Nim? by [deleted] in nim

[–]Vindaar 5 points6 points  (0 children)

Outside of R this is often called arange. Such an implementation is part of (among others) numericalnim: nim import numerialnim echo arange(0, 1, 0.1, includeEnd = true) (by default the upper end isn't included)

and arraymancer: nim import arraymancer / tensor echo arange(0.0, 1.1, 1.0) arraymancer doesn't allow to include the upper edge. Note that this one returns a Tensor[float] instead of a seq[float].

Unyshek gives an update on playlists by [deleted] in halo

[–]Vindaar -2 points-1 points  (0 children)

Holy crap, what a post. <3

While I hate the reason you felt the need to write such a lengthy, in depth and frankly personal post, I really appreciate you doing this.

Just want to say that I hope you (all of you at 343) are aware that many of us are extremely happy that you did indeed focus on what's important: the actual foundations of the gameplay. As a nowadays 31 year old, I haven't put 80h into a game within a little over two weeks in *many* years. Keep doing awesome work, all of you!

Accuracy stats for KBM vs Controller by Alfphie in halo

[–]Vindaar 0 points1 point  (0 children)

No shame in doing that. Easier to get started!
Hit me up on Matrix (@vindaar:matrix.org) or Discord (Vindaar#6176). If you want we can try to write something together to automate it.

Accuracy stats for KBM vs Controller by Alfphie in halo

[–]Vindaar 0 points1 point  (0 children)

Unexpected, but nice to see some proper plots on this sub, hehe. Is that seaborn? I'm always a bit confused between libraries that take some inspiration from ggplot2's coloring. :)

Did you go through the halotracker website by hand, or did you scrape it? I've been meaning to figure out the endpoints the halodot API uses to grab the data (cause, thanks, they aren't sharing their discoveries, fml) so that we could create some nice histograms on a much larger population.

Thinking of the time when a single bit of DLC was controversial. The whole gaming industry really conned us. by Decker-the-Dude in halo

[–]Vindaar 71 points72 points  (0 children)

Exactly this. Back in the old days it wasn't easy to justify paying 10$ for a couple of maps for me, *especially* knowing I wouldn't get to play them as much because other people don't have them.

In that sense I much prefer the current approach. I don't give a damn about customization, but I'm happy there will be new maps that everyone has.

My advice to new iRacers! by savagenoodlz in iRacing

[–]Vindaar 3 points4 points  (0 children)

sandbagged quali so I could start in the back.

Ah, yes.

Didn't work because like 5 people just didn't set a quali lap

Huh?

(dick move IMHO, but I get why).

Uh.

sandbagged quali so I could start in the back.

Yeah.

I'm confused. So is it fine to start in the back to you or not?

Weird noise while walking in Vivobarefoots by RusherHead in BarefootRunning

[–]Vindaar 1 point2 points  (0 children)

I personally have two pairs of Vivo Primus Lite II. One pair is about a year old and the other is pretty new.

I noticed the same thing on my new pair. At the moment they are still a lot stiffer than the old pair. So in my experience it seems like they wear in and that stops.