Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
BridgingBot
@GitterIRCbot
[irc] <Andriamanitra> (but take note of the sections about drawbacks)
[irc] <dostoyevsky> I tend to run julia in short-lived docker containers, so initial compilation time is like always
BridgingBot
@GitterIRCbot
[irc] <AnAverageHuman> I think in that case you would bake the sysimage into your container creation process
meff
@meff:sunadokei.party
[m]
Fwiw I haven't had issues with "time to first plot" myself, though yeah it's slower than Python
BridgingBot
@GitterIRCbot
[irc] <lolollolololol> how well does julia perform, and especially in async/nonblocking socket programming, what lib does it use for it, etc. anyone can answer this for me?
meff
@meff:sunadokei.party
[m]
I haven't stress tested this lolollolololol, but I've done some async http fetching/parsing and it's certainly a lot faster than Python once JITted
I think the Julia ecosystem is a bit lacking on the server end of socket programming right now, and is probably missing clients for less popular protocols
BridgingBot
@GitterIRCbot
[irc] <john2gb0> is it possible to produce a compiled binary
[irc] <Andriamanitra> yes, although it's not always straight-forward
[irc] <Andriamanitra> this is the package you'll need: https://julialang.github.io/PackageCompiler.jl/dev/
BridgingBot
@GitterIRCbot
[irc] <john2gb0> badly written
[irc] <Andriamanitra> it seems there's also this but i'm not familiar with it myself at all so you'll have to do your own research https://binarybuilder.org/
BridgingBot
@GitterIRCbot
[irc] <john2gb0> thanks!
BridgingBot
@GitterIRCbot
[irc] <dTal> What's the equivalent of "fancy indexing" in mumpy? If I have a list of indices, is there a better way of retrieving the corresponding values than writing a loop myself?
[irc] <dTal> *numpy
BridgingBot
@GitterIRCbot
[irc] <dTal> ...oh, you just pass a vector. How embarassing. As you were.
BridgingBot
@GitterIRCbot
[irc] <deimos_> apparently loading a 512GB json into a dataframe on a server with 512GB isn't allowed
[irc] <deimos_> WARNING: Out of memory killer killed these executables
[irc] <deimos_> julia : 1 Time(s)
meff
@meff:sunadokei.party
[m]
haha
BridgingBot
@GitterIRCbot
[irc] <deimos_> ;)
BridgingBot
@GitterIRCbot
[irc] <lunik1> Is there a julia library for creating world maps like this https://upload.wikimedia.org/wikipedia/commons/1/1f/Democracy_Index_2020.svg ? Assigning each nation a value and mapping that to a colour.
BridgingBot
@GitterIRCbot
[irc] <clausen> Is there a way to save a session (just like in R)? I'd especially like all compiled code to be cached, but I don't want to trigger any extra compilation.
BridgingBot
@GitterIRCbot
[irc] <clausen> Is there a reason --output-ji is undocumented? (Is it going to change?)
BridgingBot
@GitterIRCbot
[irc] <clausen> Maybe gdb checkpoints can do this?
BridgingBot
@GitterIRCbot
[irc] <clausen> gdb checkpoints / core dumps don't work, because they don't save kernel resources like file descriptors
[irc] <clausen> also, julia core files are enormous... Hello World is about 700M!
BridgingBot
@GitterIRCbot
[slack] <simeondavidschaub99> Try --help-hidden
[irc] <clausen> Thanks simeondavidschaub99!
[irc] <clausen> Why is this hidden?
BridgingBot
@GitterIRCbot
[slack] <simeondavidschaub99> It's not something regular users should really care about, so to avoid spamming your prompt these more advanced options are not always printed.
[slack] <simeondavidschaub99> Didn't --help point you to --help-hidden? Perhaps that could be made more prominent.
BridgingBot
@GitterIRCbot
[irc] <clausen> simeondavidschaub99: It is displayed fairly prominently, but it's easy to miss since there is so much text.
[irc] <clausen> So I didn't notice it.
[irc] <clausen> " -h, --help Print this message (--help-hidden for more)"
[irc] <clausen> I think "git --help" is a good guide to how this ought to work...
BridgingBot
@GitterIRCbot
[slack] <simeondavidschaub99> Feel free to open an issue about this or even make a PR if you have any ideas on how to improve this.
[slack] <simeondavidschaub99> The problem with these kinds of things is that the people writing the documentation are usually the ones who already understand it, so any input is always welcome!
BridgingBot
@GitterIRCbot
[irc] <dostoyevsky> I used Pluto to execute some code that uses @animate -- now I see the result of the cell as `Animation("dir", ["frame1", ...])' -- I would have expected to see the animation as an animation, not just merely as a data structure...
BridgingBot
@GitterIRCbot
[irc] <Andriamanitra> TIL filter keeps elements for which the function returns true and not the other way around
[irc] <Andriamanitra> that was fun 15 minutes of wondering what the fuck is going on
[irc] <Andriamanitra> i wish julia had select / reject like ruby, no chance to get confused by semantics
meff
@meff:sunadokei.party
[m]
Hm most FPs I've used have always implemented filter that way so I never felt it to be unergonomic
BridgingBot
@GitterIRCbot
[irc] <perdent> Anyone here used this/familiar with this toolkit? https://github.com/Riscure/Jlsca
BridgingBot
@GitterIRCbot
[irc] <devJet> Hi all, I'm new to Julia and working with Symbolics.jl. I have a string equation such as "x = 2y + z" and trying to convert this into a Symbolics.jl representation
[irc] <devJet> is there a built-in way to parse from a string?
BridgingBot
@GitterIRCbot
[irc] <vxvshnuj> howdy. So #julia just got 75 peers. Is there another communication channel with more people?
[irc] <vxvshnuj> or it's just because the language isn't much adopted
[irc] <vxvshnuj> ?
BridgingBot
@GitterIRCbot
[slack] <pfitzseb> most people are on slack or zulip