runjaj, to random Spanish
@runjaj@mastodon.social avatar

Uno de los libros más conocidos para aprender Julia es “Think Julia” de Ben Lauwens y Allen Downey.

Acabo de ver que existe una traducción llamada “Introducción a la Programación en Julia” traducida por Pamela Alejandra Bustamante Faúndez. Está disponible gratuitamente en:

https://introajulia.org

baer, to random

hello #julialang people,
I am trying to add something to a package, so i opened the repl, entered pkg mode and ran develop MyPackage. Then I modified it in ~/.julia/dev/MyPackage but no changes showed up when I imported the package.
What did I do wrong
thanks

baer,

@exa
I included it and reloaded
what is ] status supposed to show?
this is my output

Status `~/.julia/environments/v1.10/Project.toml`
⌃ [336ed68f] CSV v0.10.13
  [a93c6f00] DataFrames v1.6.1
  [d8c32880] ImageInTerminal v0.5.2
  [682c06a0] JSON v0.21.4
  [ccf2f8ad] PlotThemes v3.1.0 `~/.julia/dev/PlotThemes`
⌃ [91a5bcdd] Plots v1.40.2
  [c3e4b0f8] Pluto v0.19.42
  [22787eb5] Term v2.0.6
  [9d95f2ec] TypedTables v1.4.6
  [b8865327] UnicodePlots v3.6.4
  [1986cc42] Unitful v1.20.0
Info Packages marked with ⌃ have new versions available and may be upgradable.
exa,
@exa@mastodon.online avatar

@baer looks OK tbh. I assume package reloading problem. Revise.jl suggestion from the other reply is great imo.

rzeta0, to random
@rzeta0@mastodon.social avatar

my brain is officially blown! 🤯

#julialang is so fast ! 🚀

(compared to python when it is forced to apply arbitrary functions with loops inside, element-wise to an array - that is, can't benefit from vectorised numpy functions)

this #maths experiment took about an hour in python and about 1 second in julia lang

sure my python isn't professional, but today was my first time with julia lang so that will be far from optimal either

villares,
@villares@ciberlandia.pt avatar

@rzeta0 very cool!

For the Python version, you could perhaps see the Numba @nb.jit magic thing... or maybe annotate it and try Cython ...

indymnv, to random

Seeing the schedule in conference and the last survey, looks like the community is embracing more the idea of using Rust as a support language.

indymnv,

@exa just impressions but there are a couple of talks about Rust and Julia in the next JuliaCon, I remember also the last survey show a percentage of Julia Developers are also interested in Rust as a second language and then you have discussion like using Rust for some things where Julia still is weak

https://discourse.julialang.org/t/this-month-in-julia-world-2024-04/113638

exa,
@exa@mastodon.online avatar

@indymnv ooh, interesting. Like, I could join the crowd asking for actual sub-NP static typing algorithm, we got bitten by the typesystem so many times... (but I'm biased towards haskell instead of rust :) having typeclasses would also solve SOOO MUCH of various other gripes, incl. compilation/load speed).

Anyway nice summary there, thanks!

kevinmoerman, to random
@kevinmoerman@fosstodon.org avatar
kevinmoerman,
@kevinmoerman@fosstodon.org avatar

@metin Yes, probably*. You may have it already in Blender (I know Meshlab has it too for instance). It is called HC (Humphrey’s Classes) smoothing. Here is the paper defining the algorithm, it is easy enough to implement: https://doi.org/10.1111/1467-8659.00334/.

Email me if you can't access it (kevin.moerman@universityofgalway.ie).

  • It is not formally volume preserving but it aims to avoid the shape distortions seen for normal Laplacian smoothing by pushing nodes back a bit.
metin,
@metin@graphics.social avatar

@kevinmoerman 👍 Thanks for the info and link!

kevinmoerman, to Batman
@kevinmoerman@fosstodon.org avatar

Coming soon to #comodo: constrained #Delaunay triangulations. Which I decided needs parameterized #Batman curves too for testing purposes 🦇

#julialang #GeometryProcessing #meshing #ComputationalDesign

kevinmoerman,
@kevinmoerman@fosstodon.org avatar

Getting there. These images show tests of a triangulation algorithm I've developed that uses Delaunay triangulation. It features mostly equilateral triangles except for at the boundaries.

#julialang #GeometryProcessing

Same as previous image but now the boundary is the Batman logo. This shape features sharp transitions which is good for testing how the algorithm copes with these.

jonthegeek, to javascript
@jonthegeek@fosstodon.org avatar

I'm extremely saddened to read that Women Who Code is closing (https://womenwhocode.com/blog/the-end-of-an-era-women-who-code-closing). My heart goes out to everyone impacted by this situation, and everyone who would have been impacted by their initiatives.

We can't replace them, but we welcome anyone looking for a friendly, inclusive community to join us at the Data Science Learning Community (@DSLC) https://DSLC.io

matvil, to random

Just a reminder how beautiful is.
Albert-Chib Gibbs sampler for binary probit regression.

exa,
@exa@mastodon.online avatar

@matvil it is 💓 but might get 1 line more beautiful with a @. and/or ifelse

(also probably a tiny bit faster for bigger data because the array wouldn't get 2 filtered writes but just 1 regular)

kevinmoerman, to opensource
@kevinmoerman@fosstodon.org avatar
exa,
@exa@mastodon.online avatar

@kevinmoerman oooooh yes, we started doing 100% as mandatory for all new projects like a year ago. It helps SO MUCH.

Now we try to cover the 100% with Literate-rendered docs, which is also very useful, kinda guarantees that everything in the package is up-to-date documented.

kevinmoerman, to random
@kevinmoerman@fosstodon.org avatar

My university dropped the campus wide MATLAB license around August last year. It is amusing to see the effect on my GitHub contribution chart. But then I picked up and now there is more than a recovery :)

kevinmoerman,
@kevinmoerman@fosstodon.org avatar

@GhostOnTheHalfShell I currently use VScode.

ramikrispin, (edited ) to datascience
@ramikrispin@mstdn.social avatar

(1/3) Data Visualization with Makie - Julia 🚀👇🏼

Makie is a data visualization ecosystem for the Julia programming language, with high performance and extensibility. It supports various data visualization applications like 2D, 3D, and geospatial plots.

Image credit: Beautiful Makie by Lazaro Alonso

#DataScience #dataviz #datavisualization #data #julialang

ramikrispin,
@ramikrispin@mstdn.social avatar

(2/3) The Makie's ecosystem is based on the following four graphic engines:
✅ GLMakie - using OpenGL engine on the backend
✅ CairoMakie - uses Cairo.jl to draw vector graphics to SVG and PDF
✅ WGLMakie - is the web-based backend, which is mostly implemented in Julia applications to generate the HTML and JavaScript for displaying the plots
✅ RPRMakie - is a ray tracing backend using AMD's RadeonProRender, used for geospatial applications

Image credit: Makie's documentation

ramikrispin,
@ramikrispin@mstdn.social avatar

(3/3) A great place to see Makie in action is the Beautiful Makie website by Lazaro Alonso 👇🏼
https://beautiful.makie.org/

License 🪪: MIT 🦄

Resources 📚
Documentations 📖: https://docs.makie.org/stable/
Source code 🔗: https://github.com/MakieOrg/Makie.jl

R4DSCommunity, to datascience

The R4DS Online Learning Community has thousands of members, hundreds of which are active on our Slack every week. You might be wondering: Why not charge those learners? Why is the Community funded through donations?

🧵1/5
#RStats #PyData #JuliaLang #DataScience #TidyTuesday

franco_vazza, (edited ) to Julia
@franco_vazza@mastodon.social avatar

@julialang
I have a question:
I am using HDF5.jl to open an hdf5 file; the file is organised in >100 datasets, written by the creator in a rather unpredictable way.
How do I automatically open all
datasets in the sequence, without knowing their name beforehand? (with the final goal of recreating a single long array, by appending the content of each dataset - this I know how to do).
thanks in advance

==================
👍 found, easy
keys(obj)

djnavarro, to random

My weekend side-project: at long last I set some time aside to learn the basics of . The learning process was a tonne of fun. The thing where it somehow sprawled into a three-part series of blog posts... not so much fun. Anyway here they are... first one is me wrestling with some basic features in language

https://blog.djnavarro.net/posts/2024-03-01_julia-foundation/

djnavarro,

Second one is a bit more practical, and looks at how to do basic data wrangling using the DataFrames package. Not surprisingly as an #rstats person learning #julialang, a big part of this was me trying to find a pipe-centric workflow that I like. In the end I decided I kind of like the combination of the Julia base pipe and anonymous functions as a workflow

https://blog.djnavarro.net/posts/2024-03-02_julia-data-frames/

djnavarro,

By the time I hit the third post I was kind of exhausted, so it's a bit, um, telegraphic in places. But nevertheless it was sort of nice to get a sense of (one tool for) data visualisation in #julialang

https://blog.djnavarro.net/posts/2024-03-03_julia-plots/

hyde, to linux
@hyde@lazybear.social avatar
aeva,
@aeva@mastodon.gamedev.place avatar

@hyde I also make video games sometimes, but I appreciate the mention

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines