Pinned toot

I'm relocating to München in a few weeks (switching PhDs) and being terribly nervous about it. So, I would really appreciate any advice: your favorite cafe, best district to live, is there a local fedi community, well, just about anything.

( boosts welcome :)

Illustrazioni sui generi Sci-Fi

Io le trovo stupende. Vi dumpo una piccola gallery.

42.9 s ± 1.53 s per loop (mean ± std. dev. of 7 runs, 1 loop each)

was:
53.2 s ± 1.07 s per loop (mean ± std. dev. of 7 runs, 1 loop each)

finally, something good in this frantic day

I'm relocating to München in a few weeks (switching PhDs) and being terribly nervous about it. So, I would really appreciate any advice: your favorite cafe, best district to live, is there a local fedi community, well, just about anything.

( boosts welcome :)

spotted some handy tools for hard-rebooting our servers in a random store on the bus station.

really impressed by numba (jit compiler for python) performance.

I had a piece of rather trivial code, some manipulations with pandas dataframes that was kinda slow and (the most important) despite all my attempts copied the entire df twice. The df in question was about 6G, so its coping was always receiving a lot of attention from the OOM killer.

I rewrote it tonight in fortran-style (well, a scientist can write fortran in any language), slapped @njit on it, preallocated all columns, passed raw numpy arrays inside the function and the problem is gone.
Amazing.

OK it is really late here, but today's reveal of the first JWST image of the galaxy cluster SMACS-0723 was amazing, and I am still digesting it. There is so much stuff going on, it is absolutely breathtaking!

Just to get an idea of what an improvement this is over Hubble, over at The Robot Report, they show this beautiful side-by-side view of the previous best image taken with Hubble, and tonight's result. It's wild.

Solargraphic Analemmas

Image Credit & Copyright: Dawid Rycabel (Pinholove)

Essential unix tools. Cat and pipe.

foss zen: staring at the output of running guix build until it fails, patch, repeat

weird poll time (): on lengthy (a couple of hours at least) walks you usually listen to

I think I’ve discovered one neat cloud-free approach to organize the work for a small (research) group and need to share it with someone :)

Setup:

1. PC with internet access (host) somewhere in a closet (in our case somewhere in half-forgotten room at the uni, so internet and electricity are almost free)
2. dokuwiki installed on it. is a lightweight wiki software running without a database (i.e. pages are plain text files). We use bootstrap3 template and a ton of plugins to make it more or less user-friendly and nice to look at.
3. very cheap vps (1-2 ) serving as a gate for NAT traversal.
4. domain name from freenom for 0\$

On host: open reverse tunnel with wireguard (see this guide) and serve dokuwiki on tunnel’s end corresponding to the host; on gate: some sort of reverse proxy (we use nginx) redirecting the queries to the host’s tunnel end IP address.

So, what we got for a couple of bucks:

• group knowledgebase with fine-grained access rules and simple task management (and almost anything can be tweaked by the admin, i.e. me)
• accessible from anywhere with the internet access without any VPN setup.
• to upload media files (pictures and movies) to the wiki we use sftp or syncthing running on the host (and bindfs to mount the media folders inside wiki media folder). The disk space is almost unlimited (we have 6tb hard drive plugged in the said pc and more are on the way :)

The obvious caveat is the setup time cost: dokuwiki plugins quality is not always great and they usually require some tweaking to match our needs.

A very neat annotated image comparing the imaged black holes at the center of M87 and our own galaxy (Sgr A*) as seen by the Event Horizon Telescope. Super exciting #Astronomy news today!

OOM killer
pros: kills rampant ram-hungry jupyter kernels before my laptop becomes unresponsive
cons: kills my jupyter kernels :(

Just wanted to share this sweet image of NGC 765, a barred spiral galaxy with beautifully extended spiral arms.

#astronomy

hanging my paddles to watch where the wind blows 🎐

Greetings! I’m an PhD student who mostly works with N-body simulation of galaxies (i.e. code in Python all days and some nights).

Sometimes pretend to be a fan of and and package some obstinate astro codes for to run on our server (in a private repo though, I’ll submit the patches to the upstream, I promise :)

Never been on the birdsite (can’t really stand against the wave of random notifications) but always wanted to have a sort of microblogging acc to post random fancy pictures from my work, and looks like a very nice place to land.

QOTO: Question Others to Teach Ourselves. A STEM-oriented instance.

An inclusive free speech instance.
All cultures and opinions welcome.
Explicit hate speech and harassment strictly forbidden.
We federate with all servers: we don't block any servers.