JustTesting

@JustTesting@lemmy.hogru.ch

This profile is from a federated server and may be incomplete. Browse more on the original instance.

JustTesting,

In addition to other answers, keep in mind that Tesla gets credits relative to how far below the average carbon footprint their cars are and sell those credits to manufacturers of cars with more emissions. So in a way a part of the reduced liferime emissions are “gone” before the cars drive for the first time

JustTesting,

Those are not the same things… Glass is better for the environment, for one it doesn’t break down into microplastics which get everywhere. And glass can be recycled indefinitely (minus some loss due to impurities) whereas plastic can be recycled up 0-1 times usually.

Plus the whole “it’s up to consumers to solve this” is just corporate propaganda to absolve themselves of any responsibility, all the while not offering any alternatives that a consumer could pick from. Like literally, they paid for marketing campaigns to convince the public that it was our fault.

JustTesting,

one way to do this from within python itself would be to use the site module with pth files to monkeypatch the code in question. This would amount to patching it each time it gets started, not modifying the python file permanently, and without having to touch the original python code at all.

This write-up goes into more details and also links to this (unmaintained) tool for doing so.

Are there any Windows-exclusive programs you use?

I had to test/fix something at work and I set up a Windows VM because it was a bug specific to Windows users. Once I was done, I thought, “Maybe I should keep this VM for something.” but I couldn’t think of anything that wasn’t a game (which probably wouldn’t work well in a VM anyway) or some super specific enterprise...

JustTesting,

You can get Fusion360 to work okay-ish in Wine. Probably not good enough for professional use but for my hobby use case it works well enough (sometimes a bit laggy but usable). this does most of the heavy lifting in getting it installed.

JustTesting, (edited )

there’s a lot of stuff you can do, and you can end up with something usable, though not great, at least not in my experience. NVidia’s drivers are to blame, they don’t really work well with opengl and have lots of issues (and also regressions).

The 550 beta driver is ok-ish, steam flickers but I can play games. Drivers before 535 also somewhat worked, though it really depends on your GPU.

But I don’t think you will have it working acceptably without some work.

Here’s some pointers on stuff to try:

  • check protondb for how other people got games to work, you can filter by your GPU.
  • try running through gamescope or gamemoderun
  • try the modeset=1 (and maybe fbdev) kernel parameters for nvidia drm
  • and there’s tons of env vars and other things that can help, I couldn’t summarize them all here, but as a pointer: XWAYLAND_NO_GLAMOR=1, WLR_RENDERER=vulkan, LIBVA_DRIVER_NAME=nvidia, GBM_BACKEND=nvidia-drm (for the drm above), __GLX_VENDOR_LIBRARY_NAME=nvidia
  • try the beta drivers, if those are available somehow (I’m on arch so they were easy to install), or just different driver versions in general.

The above is meant more as hints than something to copy paste, so use at your own risk. You can of course always just install a second DE with X11 and log into that for gaming and use your regular DE for everything else

JustTesting,

that is a terrible idea. Even ignoring the energy use and that market cap is a bad metric for value, especially in a market with as much wash trading and painting the tape and just plain fraud as the bitcoin ecosystem.

The code base is under the control of around 5-10 people, the mining is under the control of 2-5 mining pools, with the largest two being the result of the largest pool splitting because it was too big and that’s not good optics, the majority of those pols and mining is in China. It has not reliably relayed transactions, being severely congested for weeks on end several times in its history. It does not have a “stable fiscal policy”, it has no fiscal policy. It is limited to 7-10 transactions/second (and no, lightning does not solve this, as you still need a regular transaction to settle, onboarding something the size of the EU would take on the order of 50 years until everyone has their channel, and then another 50 years if everyone were to settle their channels, along with many others fundamental problems with lightning), completely laughable if you want to use it as the backbone of the international financial system.

You want there to be a proper fiscal policy with knobs that can be turned, so you can deal with crisis/extraordinary events. For instance having your country’s currency tied to the dollar is horrible for managing that country’s economics and only done if there is no other alternative, using bitcoin as the global reserve would be that, just on crack and there’s no reason to do it unless you’re incredibly desperate, in which case the dollar is still a safer bet. You’d hand over control of your financial system to a shadow group of unelected people, so you lose even more autonomy. You want there to be checks and things like sanctions, to prevent fraud, theft and, in the case of sanctions, to have a political tool that is harsh but less so than an actual war. These things are features, not bugs. You can debate whether it’s good that the US is in control of a lot of these tools, but proposing to get rid of these tools altogether (which moving to bitcoin would do) would be even worse. There is no country that has gotten itself out of debt using bitcoin, so saying it is a solution is disingenuous at best.

These are just the same old bitcoin talking points that make it sound like it could actually work but do not hold up to the tiniest amount of scrutiny. And the end goal is always to just make the price go up so the gambling pays off, not any use case or making the world better or anything.

JustTesting,

You can set a hook to do it automatically or use this, but I agree that this should be default behaviour

JustTesting, (edited )

If you look at elections in europe, it’s pretty consistently the 35-45 year old demographic that votes right the most. Every age group votes right and it’s not like it’s only boomers, with the exception of young voters <30 (and women) which do vote significantly more left

E. G. Netherlands statista.com/…/pvv-largest-party-but-not-among-yo…

JustTesting,

I think it’s for many different reasons, but a bit the same as everywhere. Some are protest votes due to a distrust in government in general, then 35-45 is the age most get kids and in contrast to their parents generation they live in apartments, not single family homes, as houses aren’t affordable. Then there’s the general widening of the wealth gap and the populists pretending they have a solution and blaming it on immigration (while themselves being a big reason for the problem in the first place…), while left parties often get tricked into reacting to right rhetoric, letting the right dictate the discussion. Old people are less affected by the wealth gap, young people don’t have kids so they don’t notice yet. And in it’s also a question of mobilizing ones base, the right parties get a ton of money for ads and so on, they are good at stirring up fears of existential threats(which is ironic given the real existential threat of climate change), while a lot of people are disillusioned, so middle aged left voters are less likely to actually go vote whereas more right voters do. Of course <30 voters worry more about climate change and are more motivated to go vote, since they’ll be the most affected by its effects.

I’m sure there’s many more reasons but these are the first ones I can think of off the top of my head.

Exit polls show Swiss anti-immigrant party on track for record election showing (www.politico.eu)

The Swiss People’s Party (SVP), which centered its campaign on anti-immigrant rhetoric, is projected to win 29 percent of the vote, up from 25.6 percent four years ago and higher than pre-election polls. It has been the country’s largest party since 2003.

JustTesting,

Enough for what? Switzerland doesn’t really have coalitions, that’s more Germany. At most there’s “coalitions” on single issue votes. And there’s 7 presidents, proportional to parties, so no such thing as a ruling party or coalition. That said, the FDP votes identical with the SVP in nearly everything already, especially economic issues, so much so that’d it’d be hard to distinguish them based on votes, minus the blatant populism.

JustTesting,

Seconded, i love my Boox. it just runs android (with tweaks for e-Ink) and you can install what you want from the play store, it’s not locked down.

You can even install the Kindle app if you ever do want an Amazon ebook, works really well.

It’s also nice for using apps of various newspapers.

Plus the ones with a stylus make for a great notebook.

I wouldn’t recommend the color ones, it’s nice for comics but the colors just aren’t vivid and it’s not there yet in terms of quality.

JustTesting,

Oh don’t get wrong, it works fine for comics. the small screen and having to move around whole pages, and sometimes struggling to read small writing are issues (you can zoom but it’s not very responsive) aren’t great, but I’ve read many a comic. But if comics are the main use case, I’d probably go for a tablet still. If you get one for books solely, then the color one has less DPI and more ghosting, that’s why I wouldn’t recommend it.

And I don’t use the color feature much outside of reading comics. I thought it might be nice for color diagrams for work, but it’s a bit hard telling the colors apart when it’s just thin lines.

But I’m super stoked for where the color e-ink technology is heading.

I mostly used the stock boox neo reader for comics and didn’t have an issue with ram. Do you know how it compares to Tachiyomi?

JustTesting,

This would be trivial in python with something like


<span style="color:#323232;">from typing import overload
</span><span style="color:#323232;">from enum import Enum
</span><span style="color:#323232;">
</span><span style="color:#323232;">@overload
</span><span style="color:#323232;">def hash(password: str, algorithm: BCryptAlgorithm, options: BCryptOptions):
</span><span style="color:#323232;">    ...
</span><span style="color:#323232;">
</span><span style="color:#323232;">@overload
</span><span style="color:#323232;">def hash(password: str, algorithm: Argon2Algorithm, options: Argon2Options):
</span><span style="color:#323232;">    ...
</span><span style="color:#323232;">
</span><span style="color:#323232;">def hash(password: str, algorithm, options):
</span><span style="color:#323232;">    [...implementation...]
</span>

Of course it’s python, so at runtime it wouldn’t matter, but the static type checker would complain if you called hash with BCryptAlgorithm and Argon2Options. You could also have it return different types based on the arguments and then in call sites it’d know which type will be returned based on the type of the arguments. And only the last function has am implementation, the @overload ones are just type signatures.

It’s documented here.

JustTesting,

Github Actions sind auch so ein Kandidat, IPv6 wird nicht unterstützt, weil deren Infrastruktur kein IPv6 hat. Wenn selbst grosse Entwicklungsunternehmen es nicht hinkriegen, wie soll sich da je was ändern.

Mein ISP gibt mir ein statisches /48 IPv6 Subnet, aber es ist recht nutzlos weil der Support so mangelhaft ist.

JustTesting,

Autodesk Fusion 360. There’s just not really a free competitor imo when it comes to CAD/CAM software, it’s all Fusion or Solidworks.

«Die Zukunft des Faschismus», Folge 2: Die Maschine (www.republik.ch) German

Zweiter Teil in einer Serie über den weltweiten Faschismus heutzutage, der sehr detailliert darauf eingeht, inwiefern der Faschismus von heute sich von früheren Wellen unterscheidet und welche Formen er annimmt. Ziemlich langer Artikel aber lohnt sich meiner Meinung nach, vor allem in Hinsicht auf die aktuelle Situation in...

JustTesting, (edited )

Sagen wir ich drucke 10’000 GandhiGeldscheine und verkauf dir einen für 100€. Die 10’000 sind jetzt “1 Million € wert” (Market cap). Und werden auch in allen Zeitschriften mit dieser Zahl erwähnt usw. Aber niemand hat wirklich interesse daran, die zu kaufen, ist also kein Volumen vorhanden und man wird grosse Mengen davon nicht los.

Ist eigentlich bei allen Kryptos so, einige wenige haben einfach etwas mehr Volumen, so dass es den Anschein macht, als würde die Market Cap wirklich Sinn machen. Aber die Zahl, wie viel sie total wert sind, ist immer sehr fragwürdig, weil man sie nie zu dem Preis alle loswerden würde. Wenn man viel verkaufen wollen würde, würde der Preis zusammenbrechen.

Ist bei Aktien und Market Cap von Firmen ähnlich, wobei da zumindest ein gewisse Minimumpreis existiert, die Summe vom Besitz der Firma geteilt durch Anzahl Aktien.

JustTesting,

Viele davon kann man zumindest mit einem zweiten Rüssel modden, um sie etwas effizienter zu machen. Z.B. woolie.co.uk/…/convert-ac-from-single-hose-to-dua…

Hab ich bei meiner so gemacht, plus Doppelstegplatte auf unser Fenster zugeschnitten mit passenden Löchern für die Schläuche, damit das auch halbwegs dicht/isoliert ist. Funktioniert jetzt schon ein paar Jahre gut.

Oder von Anfang an einen mit zwei Schläuchen kaufen, auch wenn diese erstaunlich rar sind.

JustTesting,

Ein anderer Risikofaktor ist Schimmel, Staub usw. in der Klimaanlage oder im Raum, die dann schön zirkulieren. Die sollten soweit ich weiss ein Mal pro Jahr gereinigt werden.

JustTesting, (edited )

Nicht nur das, Musk ist schon lange vom Buchstaben X besessen. x.com, SpaceX, Tesla Model X, xAI, eins seiner Kids hat den Spitznamen X. Wer weiss wieso, ist Musk, also wahrscheinlich ein sehr dummer Grund.

JustTesting,

There’s a poetry-polylith plugin that makes setting up and working with polylith projects in python a breeze.

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