bthalpin, to bluesky
@bthalpin@mastodon.social avatar

I've established I can use the AT Protocol API to post to #bluesky from #JuliaLang or #python I tried to re-post a Mastodon toot, but received this error message:

"Invalid app.bsky.feed.post record: Record/text must not be longer than 300 graphemes"

screw_dog, to random
@screw_dog@aus.social avatar

I just completed "Camel Cards" - Day 7 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/7 in #JuliaLang

Pretty happy with my solution to part 2. Realised it's easier to just replace 'J' with '' and then add the count of '' to the highest counted card in the hand.

Bulk of the work is defining appropriate types so that sorting hands by rank is easy, and parsing the input. Mostly that's done by counting how many of each card is present and mapping to a hand type. Fun little problem.

As always, full code at https://codeberg.org/screw_dog/AoC/src/branch/main/2023/day07

ivory, to random
@ivory@tapbots.social avatar
owiecc,
@owiecc@en.osm.town avatar

@ivory Could we have a “All followed hashtags” page that shows posts that contain any of the hashtags one follows?

Hashtag groups, e.g. Programming = [, , ] would also be nice.

franco_vazza, to Astro
@franco_vazza@mastodon.social avatar
franco_vazza,
@franco_vazza@mastodon.social avatar

@alex

thanks
🙏

The code is ENZO (highly parallel, Eulerian, adapative mesh refinement, MHD + my customisation for cosmic rays, enzo-project.org).

the post-processing is done with own routine written in #Julialang + Nasa's DS9 to visualise the fits maps.

almenal99, to datascience
@almenal99@fosstodon.org avatar

📢 I need your help 📢

Really sorry for the spam, but I'm hosting a event soon and I need to fill a bowl with data jokes. I have few but need MANY more. Here's an example of what I'm looking for:

"A query walks into a bar, sees two tables and goes 'can I join these'?"

🙏 PLEASE collective hive-mind of the fediverse, give me your best!

#R

franco_vazza, to Astronomy
@franco_vazza@mastodon.social avatar

Today's swirling electrons:
initially located in the halos of galaxies, finally accreted and mixing in a cluster undergoing a merger, and leading to the formation of a (mega) radio halo.

ENZO simulation + #JuliaLang processing, visualisation with SAO Ds9

#astronomy #astrodon

evolving number density of relativistic electrons in a cosmological simulation, finally condensating a large halo

franco_vazza, to random
@franco_vazza@mastodon.social avatar

#JuliaLang you're a very good boy

empet, to random

Using a raster image as orbit trap to plot a Julia set. The animation illustrates how the fractal structure is changed, as the area of the orbit trap is varying. #fractal #Juliaset #Julialang #image

Julia set based on a raster image, as orbit trap. The animation frames illustrate how the fractal structure is changing when the orbit trap has varying area

R4DSCommunity, to random
@R4DSCommunity@fosstodon.org avatar

On this , we're asking for your help prioritizing our backlog! Visit https://r4ds.io/donate.html to read about our upcoming projects, and vote with your tax-deductible donation!

franco_vazza, to Astronomy
@franco_vazza@mastodon.social avatar


Fresh new visualisation (using + SAO Ds9) of the evolution of a new massive cluster of galaxies, from z=30 to z=0, simulated with ENZO-MHD (+"my" cosmic rays). The mass is huge (~2e15Msol) and these clusters can only form in very large cosmic volumes, so the whole procedure requires to use aggressive adaptive mesh refinement to cover all necessary range of scales (the size of this "zoom" box is 25Mpc and the max resolution is 15kpc).

movie showing the evolution of projected gas density in a crowded environment, leading to the birth of a massive cluster of galaxies with several filaments

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

Uso mucho el paquete Unitful.jl para utilizar unidades en . Si además utilizáis Latexify.jl para que los resultados y cálculos queden bonitos, es imprescindible usar también UnitfulLatexify.jl para que las unidades queden bien.

adam_wysokinski, to random

Julia as a unifying end-to-end workflow language on the Frontier exascale system

https://arxiv.org/abs/2309.10292

#julialang

chrisrackauckas, to ChatGPT

performs better on than (and ) for Large Language Model () Code Generation. Why? This blog post shares recent the research and adds a bit of details into where I found LLMs and new language learning having issues.

https://www.stochasticlifestyle.com/chatgpt-performs-better-on-julia-than-python-and-r-for-large-language-model-llm-code-generation-why/

krz, to python German
@krz@mastodon.social avatar

Here‘s another interesting , , comparison: „count the number of vowels in a string“. uses an anonymous function as an argument to count(), iterates over the string using list comprehension, does the same but in a vectorized way

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

No usaba la #termodinamica desde el s. XX 😧

El paquete de #julialang clapeyron.jl (*) es una pasada para hacer cálculos con funciones de estado para fluidos. Un montón, pero muchos muchos, de modelos disponibles para poder calcular Cp, Cv, U, G y mucho más.

#quimica

(*) https://github.com/ClapeyronThermo/Clapeyron.jl

goerz, to python
DonMostrenco, to mathematics
@DonMostrenco@paquita.masto.host avatar

A few weeks ago, I came across dual numbers and automatic differentiation; a very elegant example of applied #mathematics.

I was so fascinated by the topic that I wrote this piece about it:

https://blog.esciencecenter.nl/automatic-differentiation-from-scratch-23d50c699555

#julialang #math #maths
cc @eScienceCenter

runjaj, (edited ) to random Spanish
@runjaj@mastodon.social avatar

Escribir ecuaciones en es bastante pesado. Afortunadamente está el paquete para .jl. Escribes la fórmula y la transforma en LaTeX de manera muy arreglada. Por ejemplo:

julia> using Latexify

julia> @latexify L = z/(f_hln(10))(10^((T_2-T_ref)/z)-10^((T_1-T_ref)/z))

L"$L = \frac{z}{f_{h} \cdot \mathrm{ln}\left( 10 \right)} \cdot \left( 10^{\frac{T_{2} - T_{ref}}{z}} - 10^{\frac{T_{1} - T_{ref}}{z}} \right)$"

Pone bien los subíndices, paréntesis y los operadores.

joaquimpuig, to random

This week in our #DynamicalSystems course at #UPC we studied the effect of a hyperbolic saddle point in orbits of discrete maps. The periodically forced pendulum is a good example to simulate with #julialang ensemble simulations https://web.mat.upc.edu/joaquim.puig/J4DS/EnsembleParallel/EnsembleParallelPendulum.html

Animation of a bunch of initial conditions around a saddle point in a periodically forced pendulum

mhsatman, to rust
@mhsatman@fosstodon.org avatar

People in the scientific computation field dream of a language that combines the best of Julia and Rust.

They also dream of compiling their matrix multiplications in a stronger type system and ending up with a 16 KB executable. I understand them - truly 🙃

fabrice13, to scheme Italian
@fabrice13@neuromatch.social avatar

I love graphs from dynamical systems theory and analytical mechanics.
I love those curves in phase space etc.
That makes me want to understand them better.

I have discovered the book "Structure and Interpretation of Classical Mechanics", that teaches mathematical physics and the but it looks quite annoying to work in Scheme with my 💻.
So, are there similar books/courses/resources with similar means to an end? Maybe in easier to use programming languages? Like

fabrice13,
@fabrice13@neuromatch.social avatar

@rml yeah, I don't think I can go through the book SICM without coding in Scheme or similar... But I was curious also about other things, see for example "Nonlinear Dynamics" (Datseris, Parlitz) with #julialang.
This would probably be easier for me, coming from Python over all else, and with some experience in R and MATLAB from the bioengineering years. Also, I want to study Julia regardless.
But I understand I could use Clojure in JupyterLab/Notebooks, and if running Clojure+SICMUtils reading SICM is actually all I need, I might go for it.
If instead I need to learn lots of other basics in the programming language and installing all tools, I must postpone it to god knows when :/
Do you have any suggestions or tips? Consider I know nothing beyond the names I quoted

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

Un buen recurso para aprender #Julialang es:

“Programación básica con Julia”
https://hedero.webs.upv.es/julia-basico/

Para profundizar:

“Claves para programar en Julia”
https://hedero.webs.upv.es/julia-claves/

El autor de las dos guías es Helios de Rosario Martínez del Instituto de Biomecánica de Valencia.

franco_vazza, to random
@franco_vazza@mastodon.social avatar

Interesting of the day:

"RelativisticDynamics.jl:
Relativistic Spin-Orbital Dynamics in Julia"

by Tom Kimpson
https://arxiv.org/abs/2310.11002

with linked code: https://github.com/tomkimpson/RelativisticDynamics.jl

franco_vazza, to Astronomy
@franco_vazza@mastodon.social avatar

Other "new" nice renderings of the growth of simulated clusters of galaxies by my former student Matteo Angelinelli, who kindly left all these gems in an hard disc!

#astronomy
#astrodon

(all this was used for his papers studying turbulence and clumps in the ICM:
https://ui.adsabs.harvard.edu/abs/2021A%26A...653A.171A/abstract
https://ui.adsabs.harvard.edu/abs/2020MNRAS.495..864A/abstract

using ENZO runs I produced years earlier on the ITASCA supercluster in Minneapolis - hence the "Itasca" simulation name)

video/mp4

franco_vazza,
@franco_vazza@mastodon.social avatar

other cluster rendering
(all done in @julialang #Julia #Julialang )

video/mp4

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