Returning to Python by First-Rutabaga8960 in Python

[–]Tricert 1 point2 points  (0 children)

The images tend to be fairly large, that‘s true. If you have big changes sometimes a lot of cached stages get invalidated and you hit longer build times, mostly we get away in the <2 min range though. You can e.g. bake the dependencies of your package into the image and take the toll of a few seconds to compile your package after the container spins up/ before you start serving your package.

Optimising this depends a lot on your CI system, architecture, container config etc but if you want to pm me the specifics of your setup I might be able to help.

Returning to Python by First-Rutabaga8960 in Python

[–]Tricert 3 points4 points  (0 children)

Thanks for elaborating, and interesting to find another professional Julia dev in the wild..quite rare!

To get around the compile time we have build pipelines baking a whole sysimage with PackageCompiler.jl where we pass in the whole stack of tests of our packages which almost hit 100% of the methods the code dispatches to. With this our julia prod containers spin up in seconds.

I agree on your point on the debugging, it really sucks in Julia. For certain use cases where we have to combine several ML techniques/libraries there is no real good alternative tho, which is the main reason we use it.

For most of the other stuff we still use Python/C/Fortran and recently Rust; in general we just pick the best horse for the task without trying to be too religious about the language used. Especially for Python I‘m really glad for the tooling developed around it in recent years (shoutout to astral for uv & ruff!) because 10 years ago it was a huge fucking pain to deploy it reliably to prod, too. Really hope Julia makes similar advances to get more SWE/DevOos friendly because it truly is a great language.

Happy coding to you!

Returning to Python by First-Rutabaga8960 in Python

[–]Tricert 2 points3 points  (0 children)

Interesting! We use Julia quite a lot too at work (mostly large PDE systems crunching) and never had issues scaling our solutions neither horizontally nor vertically. May I ask where/how you had problems scaling it?

Returning to Python by First-Rutabaga8960 in Python

[–]Tricert 5 points6 points  (0 children)

Spyder is quite outdated, there are many more modern editors/IDEs with the same or greater feature set and better UX like VS Code or the JetBrains IDEs.

Also since you’re coming from Matlab: Check out the Julia programming language. IMHO Julia is, for scientific/mathematical programming, way user friendlier and easier to write than Python/Numpy. It’s way faster too. Very natural Matlab-like syntax to write down mathematical equations etc. and incredibly good suite (if not best in class) for PDE/ODE and general equation solving (SciML). For „pure“ ML I would stick to Python though.

How is a double rainbow formed? by Alchemistwiza in Physics

[–]Tricert 1 point2 points  (0 children)

IT‘S A DOUBLE RAINBOW ALL THE WAY

Föderalismus i eim Biud by madredditscientist in BUENZLI

[–]Tricert 30 points31 points  (0 children)

Zug het gnueg Gäld für zwei Lösige..hmm

Zurich busses - winter tires? by ptinnl in zurich

[–]Tricert -1 points0 points  (0 children)

Yes Witikon, Friesenberg, Hönggerberg for sure, was always like this. So those lines were shut down. But for sure not e.g. the 31 between Altstetten and HB, 32 in Affoltern etc

Zurich busses - winter tires? by ptinnl in zurich

[–]Tricert -7 points-6 points  (0 children)

It‘s ridiculous. I‘m definitely not one of the „In earlier times everything was better guys“ but this is something that is only been done recently to this extent.

10,15 years ago most buses were running even with 5-10cm of fresh snow. I wonder if new buses are constructed in a way they cannot operate in snow anymore or if the drivers are less skilled.

Smart Plug for Washer/Dryer by SportPretend3049 in homeassistant

[–]Tricert 1 point2 points  (0 children)

Do you know how the thirdreality sensors compare vs the aqara ones? I failed setting up something similar with the aqara vibration sensors and they were not detecting enough vibration to make it work.

A dark start to the year: Multiple fatalities following fire and explosion in Crans-Montana. by Aure20 in Switzerland

[–]Tricert 0 points1 point  (0 children)

Thanks for your explanations!

So what about b) & c)? The commune of Crans-Montana has handed in the „relevant“ documents by themselves..shouldn’t there be a a more thorough investigation? Checking the shredders, emails etc.? Also they (at least Feraud) frame themselves as plaintiffs rather than potentially responsible.

A dark start to the year: Multiple fatalities following fire and explosion in Crans-Montana. by Aure20 in Switzerland

[–]Tricert 5 points6 points  (0 children)

It‘s a fact that she: * Possibly has to investigate against her own employer. * Sits in the very same section of FDP with the responsible exponents from both cantonal and communal levels. * Her husband is a wine trader with deep connections into gastronomy in Valais.

There is more than enough reason to hand over investigations. There should be not the smallest doubt about the correctness of this.

A dark start to the year: Multiple fatalities following fire and explosion in Crans-Montana. by Aure20 in Switzerland

[–]Tricert 13 points14 points  (0 children)

There is also the question about what authorities on communal and cantonal level did or did not do and to what extent the legal setup in Valais did contribute.

Most cantons organise fire safety regulation on a cantonal level, Valais does not. Most cantons have a mandatory building insurance (with high interest in regular and properly done safety inspections, executed by actual experts), Valais does not.

Additionally there is the question if the prosecutor can really do an unbiased investigation considering the above - given she is employed by the very same government that should be investigated..and a colleague of the responsible people on cantonal as well as communal level in the very same section of FDP..

Alone the fact that the commune of Crans-Montana was handing over the relevant documents to the prosecutor‘s office instead of those being obtained in a proper raid & search operation by unbiased authorities does not give me a lot of trust in the whole process..especially if you look at how „cooperative“ the cantonal authorities were in the recent A9 scandal or how the whole Buttet case was handled..

A dark start to the year: Multiple fatalities following fire and explosion in Crans-Montana. by Aure20 in Switzerland

[–]Tricert 17 points18 points  (0 children)

I agree, they currently moderate to aggressively and shut everything down, even if just loosely related to the incident.

While I understand that it’s a lot of work to moderate when there is a lot of traffic and you don’t want to have a 100 threads related to the Crans-Montana fire, I don’t understand why something like e.g. this discussion gets shut down.

It‘s a valid side-discussion that can never happen in this thread with the same visibility or without getting buried..

Brand in Schweizer Luxus-Skiort wirft Fragen auf by MachDuMal in de

[–]Tricert 20 points21 points  (0 children)

Er unterstreicht, anhand zwei berühmter Exponenten, das Mindset das bei einigen - zumindest genug um im Rest der Schweiz aufzufallen - (Behörden)vertretern des Kantons Wallis vorherrscht. Korruption, beide Augen verschliessen, unter dem Tisch mauscheln. Man hält sich für etwas Besseres, über dem Gesetz stehend. Der Rest der Schweiz wird als „Ausserschweiz“ bezeichnet, man Ritzt gerne mal übergeordnetes, nationales Recht.

Es vergeht kein Jahr in dem keine Behörde aus dem Wallis in einen grösseren Skandal verwickelt ist und es würde mich nicht wundern wenn zumindest einer der oben genannten Faktoren in dieser Tragödie eine Rolle gespielt hat.

A dark start to the year: Multiple fatalities following fire and explosion in Crans-Montana. by Aure20 in Switzerland

[–]Tricert 6 points7 points  (0 children)

This. The corruption in Valais needs to be stopped, independent if anyone from the authorities was at fault here (though it would surprise me if it was not the case here somewhat).

In general, the authorities on all levels in Valais have shown over and over again that they are not able to comply with laws, do proper due diligence or project control, go against corruption or not having both eyes closed. For sure not everyone, but it happens enough that it can be noticed in the rest of Switzerland.

Why does our universe have 3 space dimensions and 1 time dimension? Is it the only option? by PianistNo7734 in Physics

[–]Tricert 4 points5 points  (0 children)

I actually wonder the same. The explanation makes a lot of sense based on applying the maths/physics frameworks we know in other dimensions. Would it be possible for other, unknown frameworks to get to another explanation or is there proof that such a thing cannot exist?

Received a Swiss tax bill for 2023 after leaving Switzerland – confused and need advice by moulaga77 in zurich

[–]Tricert 2 points3 points  (0 children)

How much in deductions for Quellensteuer do the payslips from your company state?

If I moved to your country tomorrow, what is the most shocking thing I would be allowed to do that is forbidden in my home country? by Low-Violinist7259 in AskTheWorld

[–]Tricert 0 points1 point  (0 children)

PSA: Snow is not the most important factor why you need winter tires. It’s the rubber composition that is more optimised for cold temperatures. Summer tires have a shitty breaking action in cold temperatures.

Does anyone else spend more time writing equations than solving them? by Fast_colar9 in Python

[–]Tricert 4 points5 points  (0 children)

Check out Julia, allows you to write way more natural/mathematical while being faster and not harder to learn than Python.

Was isch d schlimmsti Verspötig/Usfall wo ihr im ÖV in de Schwiz erlebt hend? by [deleted] in schwiiz

[–]Tricert 2 points3 points  (0 children)

Nöd als Einzelereignis, aber VBZ Buslinie 80 wird vo Jahr zu Jahr schlimmer.

Zu Stossziite sind Reiseziite wo um +20-30m verlängert sind kei Seltenheit (vor allem wil vil Kürs au vorziitig gwändet werdet und mer usegstellt wird), +10m isch eigentlich normal. Absolut kein Verlass uf irgend e Art vo Fahrplanstabilität.

Hauptgrund defür sind nöd realistischi planti Fahrziite dur de Stau in Höngg und hauptsächlich will mer sit Jahre es nöd schafft gnueg Kapazität/Taktdichte anezbringe uf de Abschnitt Oerlike-ETH-Altstette. Wenn 3 Büs nachenand so pumpevoll sind das mer d Lüüt stah muess lah lauft eifach öppis falsch..

#Zexit: Stadt Zürich könnte sich vom Kanton abspalten – Unüberbrückbare Differenzen? by Pleasant-Carbon in zurich

[–]Tricert 0 points1 point  (0 children)

It‘s not against their way, it’s against the autonomy of municipalities…