Posts

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

anthropy, to random
@anthropy@mastodon.derg.nz avatar

Did you know you can specify parameters with an if/else statement inside a function call in python?

e.g:
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")

is completely valid in python3.

rolenthedeep,
@rolenthedeep@rattodon.nexus avatar

@anthropy wow, I hate Python, thanks

anthropy,
@anthropy@mastodon.derg.nz avatar

@rolenthedeep it's actually simply a form of ternary expressions, like I think in C++ it'd be something along the lines of this probably, which you can then easily wrap in function call parenthesis all the same:
device = torch::cuda::is_available() ? "cuda" : "cpu"

anthropy, to random
@anthropy@mastodon.derg.nz avatar
anthropy, to random
@anthropy@mastodon.derg.nz avatar

Why is every car ever so bad at keeping out water istg

Video, showing inside of twingo rear bumper, which is full of water somehow

anthropy,
@anthropy@mastodon.derg.nz avatar

'ah lof caers' - enthalpy 1994

..
does anyone else hate hearing their own voice too :laughcry:

anthropy, to random
@anthropy@mastodon.derg.nz avatar

Reading into tuning cars, and slowly starting to get an idea of how it's done, and now I'm really tempted to buy a KESS v2 or KTAG or alike set to try and reprogram my ECU and see what I can get out of that little Twingo GT.

If I'm mistaken all you have to do is:

  • Take the ECU out of the car
  • Hook up the KESSv2/KTAG according to the pinouts you can find online
  • Backup the current mappings
  • Start editing the throttle/boost/injector/etc mappings
  • watch with OBD2 tools and adjust accordingly🔧
VickForcella,
@VickForcella@mastodon.derg.nz avatar

@anthropy Renault Twingo 0.9 TCE GT 110hp chip tuning can be done in two ways - through the OBD2 diagnostic connector or through the engine control unit (ECU). Increasing the power of the vehicle is done by remapping car engine.

https://www.tc-performance.com/catalog/renault/twingo/iii-2014-g/09-tce-gt-110hp

anthropy,
@anthropy@mastodon.derg.nz avatar

@VickForcella I appreciate the thought, but wrong twingo (I have gen 2), and I meant to create my own mappings, these folks seem to sell mappings x3 I'm also not sure how much you can do through the obd2, there's the official retailer solution, renaultclip or something, but these have limits, the Bosch ECU that's in there should be able to go much further, especially because I physically modified the engine quite a bit :drgn_3c_evil:

anthropy, to random
@anthropy@mastodon.derg.nz avatar

𝓝𝓪𝓹 𝓣𝓲𝓶𝓮

anthropy, to random
@anthropy@mastodon.derg.nz avatar

I actually kind of fear for India and similar regions. A record of 52.3°C in May is alarming, but what if August brings the world's first 60°C? Current records, mostly around 54°C from 2016 and some as high as 55/56°C from 1931/1913, show the trend. The 2015-2016 El Niño drove many of those extreme temperatures, and the ongoing El Niño, with average global temperatures at an all-time high, is being compared to that event. We need to help fellow people navigate the heat.

https://en.wikipedia.org/wiki/2023%E2%80%932024_El_Ni%C3%B1o_event

anthropy,
@anthropy@mastodon.derg.nz avatar

I mean 60C is of course improbable, something around 55-56C is more likely, but it's also not completely out of this world if you consider 52.3C in May.

anthropy, (edited ) to random
@anthropy@mastodon.derg.nz avatar

(Partially) Furred furries: Does your character shed in the spring, and does it grow a winter coat?

My character..

anthropy, to random
@anthropy@mastodon.derg.nz avatar

Oh man, I almost had a fire in the kitchen while I was at work;

  • I get home, loud constant beeping noise that turned out to be the induction hob, error E06, indicating it was overheating and shut off at some point
  • I had left a pan on it the day before, a clean one luckily, which now has scorchmarks and darkened anti-stick coating
  • the reason the induction hob turned on was because the extractor hood was LEAKING WATER onto the induction hob controls, turning it on while it was raining today.
anthropy,
@anthropy@mastodon.derg.nz avatar
  • there's a bottle of oil left of it that's partially melted, if that had gotten on the pan somehow it could've caught on fire
  • there were kitchen towels within like 30cm of the whole thing
  • if the water had gotten inside the induction hob and caused a short, who knows what would've happened
  • the induction hob is on an INFRARED hob with exposed controls too

I'm definitely redoing my kitchen layout around the cooking area @_ how did it not go wrong, I used a year's worth luck :blobcatsweats:

anthropy, to random
@anthropy@mastodon.derg.nz avatar

Artists who use Krita: is there a way to make variable-width vector lines based on pen pressure, and taper out lines and such?

Asking for a friend who's trying to migrate away from CSP so they can use Linux for drawing

anthropy, to random
@anthropy@mastodon.derg.nz avatar

What are your adjectives? I think I'm gonna go with 🐉 and high entropy (both in the information theory and thermodynamics sense of the word)

(context: https://tech.lgbt/@NovaHellion/112519318656835996 )

anthropy, to random
@anthropy@mastodon.derg.nz avatar

me: Mom can we stop and get some Fediverse?
mom: we have fediverse at home

fediverse at home:

anthropy, to random
@anthropy@mastodon.derg.nz avatar

so angry your heart explodes and you get a stroke

anthropy, to random
@anthropy@mastodon.derg.nz avatar

https://areweanticheatyet.com/

list of what games do and don't have skill issues with anti cheat on linux

anthropy, to random
@anthropy@mastodon.derg.nz avatar

me: crunches down on some old dutch candy
candy: explodes in glassy shards all over everything
me: oh I guess this is more like a lollipop than something you're supposed to crunch
me: continues crunching away

anthropy, to random
@anthropy@mastodon.derg.nz avatar

Bought some classic dutch sugary candies at the local yearly market yesterday, was talking with the seller and he was "I also have a really big one, it's the last one and it's broken in half so you can have it for cheap if you'd like" and long story short I have a 1.5M long kaneelstok now

Photo of the earlier stick candies, with a 1.5 meter long kaneelstok (cinnamon stick) next to them, on a couch. Human arm holding the stick at one end for scale

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