terence, to random
@terence@fosstodon.org avatar

In any case, I'll keep doing what helps me to stay at this job so here's a visualisation of the forest cover of Japan in triangles.

- joint adventures

terence, to random
@terence@fosstodon.org avatar

Still playing with . Here's Switzerland in triangles.

@jonocarroll I get a lot of small dark triangles with some images which persist even if I set npts to a high value (5000) and refine as true or false. Any ideas? Thanks again for the package! I'm enjoying seeing what it produces.

adventures

jonocarroll, to Julia
@jonocarroll@fosstodon.org avatar

I finally managed to build the package I've previously failed to get working at least 3 times!!!

https://jcarroll.com.au/2024/02/04/my-first-julia-package-triangulart-jl/

Any performance or other improvements anyone can spot are most welcome - I'm still very much learning, but I do love these results.

kevinmoerman, to random
@kevinmoerman@fosstodon.org avatar

STL files give each triangle their own coordinates set. So none of the triangles actually share nodes. So step one, after importing such a mesh, is to merge the nodes. This animation shows vertex normal based "inflation", the left is unmerged, the right is merged.

An animation showing mesh inflation for an unmerged mesh and a merged mesh. The triangles separate for the unmerged mesh, making it look like the mesh explodes. For the merged node mesh it looks more like balloon inflation as triangles remain connected.

mo8it, to rust
@mo8it@fosstodon.org avatar

A CLI for running commands over HTTP 🌐

https://codeberg.org/mo8it/http-cmd

Its motivation is to expand the capabilities of static site generators like ⚙️

The screenshot shows its usage to automatically run and embed the output of code blocks on your website 🤯

The example uses , and . But other languages should work similarly 😃

Boost appreciated 🥰

jonthegeek, to datascience
@jonthegeek@fosstodon.org avatar

🎂It's my birthday!🎂
To celebrate, I'm... Working to build a friendly, diverse community at https://r4ds.io, just like I do every day! It'd make my day if you supported our efforts at https://r4ds.io/donate !

jonocarroll, to python
@jonocarroll@fosstodon.org avatar

Every so often I try re-installing R on termux on android to see if it's fixed (some .so doesn't link, even using the latest instructions) but no luck. Last night I was reminded that UserLAnd is another option and hurrah! , , , and more at my fingertips wherever I go! Great for quick syntax checks/comparisons. Add a BT keyboard and it's a tiny dev machine in my pocket.

Julia running in userLAnd on an android phone

bthalpin, to python
@bthalpin@mastodon.social avatar

Playing with doing something "embarrassingly parallel", and very much missing the ease of multi-threading in

alec, to random
@alec@bayes.club avatar

folks can follow the Julia Bloggers RSS feed here on Mastodon by following this account: @www.juliabloggers.com@rss-parrot.net

I set this up via RSS Parrot: https://rss-parrot.net

franco_vazza, to Astro
@franco_vazza@mastodon.social avatar

Idk, managing to actually dispatch the parallel tasks of my code to the cores of Leonardo at CINECA (currently 4th HPC machine in the world), by calling the slurm task manager with ClusterManagers.jl (👉 https://github.com/JuliaParallel/ClusterManagers.jl) feels very good.
My routine is not meant to scale on more than 32 cores at the moment; however it means that I should be able to effectively use Julia also for massive parallel postprocessing on the computing nodes.
👍
@julialang

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

Again, I'm having a hard time with #julialang and #jupyterlab on Windows.

I wanted to follow along the juliaacademy course "Julia for Data Science", but the first tutorial shows how to activate an environment (?) but in the end I have no idea how to reliably work in an already installed JupyterLab, Julia and packages version compatible, and all in a specific environment for this project.
I've been installing and uninstalling Julia 1.6, 1.9 and 1.10, deleting them from PATH, etc.
With Python is not straightforward, but I got it.

I decided I will use #Plutojl and manually recreate all the courses notebooks. For the sake of learning, it's definitely better than just running readymade cells, plus it's in line with the MIT Julia course.

But it doesn't feel right, I feel there's a huge gap in my understanding, and likely a gap in the tutorials too.
Also, spending 2 days without proper coding, just running around bugs, is super frustrating, just feels like time lost forever to no cause.

franco_vazza, to Astro
@franco_vazza@mastodon.social avatar


a new visualisation experiment to show how a full simulated volume (100 Megaparsec cubic) gets progressively filled by cosmic web structures if I keep adding a layer after another along the line of sight - here using 64 layers of 1.56 Megaparsec each.

This is baryonic matter.

the visualisation is done using in parallel using 16 cores on my MAC - the input simulation has 1024^3 cells.

video/mp4

cormullion, to Julia

I made some cards with DataFrames.jl and Luxor.jl. In previous years I used to calculate the data using Astro libraries, but recently I discovered that NASA supply all the relevant data in CSV format. 😂

UchidaMizuki, to julialang

@julialang
Optimization.jl has many options for automatic differentiation, such as AutoZygote() and AutoEnzyme().
They are very useful, but are there any pros and cons for each option?

https://docs.sciml.ai/Optimization/stable/API/optimization_function/#Automatic-Differentiation-Construction-Choice-Recommendations

ramikrispin, to ArtificialIntelligence
@ramikrispin@mstdn.social avatar

(1/2) New book for Deep Learning (draft mode) 📚

The Mathematical Engineering of Deep Learning is a new book by Benoit Liquet, Sarat Moka, and Yoni Nazarathy.

As its name implies, it focuses on the mathematical engineering of and covers topics such as:
✅ Foundation of machine learning and deep learning
✅ Optimization algorithms
✅ Convolutional neural networks
✅ Transformers
✅ Generative models
✅ Diffusion models

ramikrispin,
@ramikrispin@mstdn.social avatar

(1/2 )Resources 📚
Book draft 📖: https://deeplearningmath.org/
Source code available in Julia, R, and Python 💻: https://github.com/yoninazarathy/MathematicalEngineeringDeepLearning

Thanks to the authors for making this resource available online! 🙏🏼

Reading of the book on YouTube 📽️: https://www.youtube.com/playlist?list=PL7RZyOlq_XnylnDcHchjKeFuMNxeDdH4P

UchidaMizuki, to random Japanese

is one of the best languages for data science.

But what about optimization? In optimization, is attractive to me because it allows for automatic differentiation.

Can we do automatic differentiation in ?

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

During the holidays, i.e. from the 23rd to the 7th, I will not work.
I'd like to continue playing with the and some but it's really for pleasure.
I will read some stuff about brains and perception but it'll be Ed Yong's "An Immense World", and perhaps McCulloch and Ashby.
Also, I'm finishing Dune.

If you too have the "privilege" of taking a break, what are you up to?

uncomfyhalomacro, to foss
@uncomfyhalomacro@fosstodon.org avatar

hello. here is my re .

I am Soc, also known as uncomfyhalomacro or uncomfy, a advocate.

I recently moved from https://julialang.social to https://fosstodon.org

I like , but I am more into . I love language hopping but I don't really stick around.

IRL I love to read comics and watch anime. I love to play the guitar and read sciency stuff related to or .

This account was inactive but now serves its purpose. Thank you for letting me join! 🥹

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

Calcular una integral numérica usando la regla de Simpson con es tan fácil como usar esta función:

∫(x, y) = (x[2]-x[1])/3*(y[1] + 4*sum(y[2:2:end-1]) + 2*sum(y[3:2:end-2]) + y[end])  

Por ejemplo, la integral del seno entre 0 y π es:

x = LinRange(0, π, 7) # 7 puntos entre 0 y π  
y = sin.(x) # Cálculo del seno para los 7 puntos  
∫(x, y) # Integración

2.000863189673536  

El valor realizando la integral simbólicamente es 2. Todo bien sencillo.

ramikrispin, to python
@ramikrispin@mstdn.social avatar

(1/6)This time of the year ☃️...Statistical Rethinking 2024 ❤️❤️❤️

This has become a tradition. Like previous Decembers, this week, the 2024 edition of the Statistical Rethinking course was announced. If you are looking to learn Bayesian statistics, I highly recommend checking it out.

🧵🧶👇🏼

Image credit: Last year course

krz, to julialang German

My #julialang and #rstats solutions for puzzle 4 of Hanukkah of Data (https://hanukkah.bluebird.sh/5784/) @julialang

bthalpin, to bluesky
@bthalpin@mastodon.social avatar

I've established I can use the AT Protocol API to post to from or 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 https://adventofcode.com/2023/day/7 in

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.

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