tunetardis

@tunetardis@lemmy.ca

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

tunetardis,

Compiler/interpreter: Can’t find variable farfignewton.

Earlier:

Me: Declare variables near, far

IDE: Oh! You mean farfignewton right? I found that in some completely unrelated library you didn’t write. Allow me complete that for you while you’re not paying attention.

tunetardis,

I was thinking about face ID the other day. What if you trained it while making a funny face? So then you would have to make that face to unlock the phone and how could someone compel you to do so? It’s sort of a 2-factor authentication in a way.

tunetardis,

Right, so your choice of facial expression would, in effect, act like a passcode. Good luck breaking into Jim Carrey’s phone!

I got the idea initially when I noticed I couldn’t unlock the phone while laughing. Then I got annoyed and I guess angry face didn’t work either.

I wonder now what would be the minimum facial contortion you would need to make a distinct ID? It could be something as subtle as curling your lip or raising a cheek muscle slightly? I might have to experiment with this a bit…

tunetardis,

I’d be curious to know whether urban air quality in general is improving also?

tunetardis,

The article seems focused on Arizona Mormons, and that’s a swing state.

tunetardis,

Gotta hand it to them. They’ve perfectly managed to capture that feeling of driving on a highway with endless billboards.

tunetardis,

Dang, I’d never heard of induction stoves but now I’m thinking about getting an induction hot plate for the kitchen.

tunetardis,

Oh what fun! I’m walking around the kitchen sticking fridge magnets to pots as my wife is looks on in puzzlement. Most have passed the test! I think there will indeed be an induction hot plate in our near future. Thanks for the advice and positive testimonials!

tunetardis,

I had an induction hot plate before I had an induction stove.

It’s the gateway drug, isn’t it…

Can a flight be ok to do for "holidays"?

I like travelling by bike, but i am not the biggest fan of doing roundtrips, i much prefer moving further and further away. So on longer trips i will end up way far from home, and since travelling by train across Europe, can be a real ordeal (especially with a bike), i sometimes take a plane back home. I guess busses would be an...

tunetardis,

This is a complex question with no easy solution that makes sense for everyone. A few notes from my personal perspective on it:

  • What you do in terms of everyday life is where the greatest focus should be in terms of carbon footprint and what not. As an example, let’s say you drive, and decide to go someplace 500 km away on vacation. You think wow, a 1000 km round-trip is a lot. But if you’re putting 20K km/year mileage on the car just commuting, running errands around town, etc. that’s what really adds up for most people.
  • If your vacation has an element of visiting family or friends, just do whatever it takes. Life is short.
  • Hauling a bike around over different modes of transport sounds like a giant hassle. Is there any way to rent one at the destination? Failing that, maybe something like a small folding escooter might travel better?
tunetardis,

More than 95% of the two-wheelers are located in China, according to the IEA.

Wow! What is the situation over there? Is it that fewer people can afford a car and opt for ebikes, that the infrastructure is more bike-oriented, or are there some other factors at play?

tunetardis,

Here’s the thing though. I arrived at the conclusion that buying both a car and an ebike is cheaper than buying a car alone, provided the bike replaces the car for the bulk of your trips. You save enormous amounts in fuel and maintenance. The amount of electricity you consume is a rounding error on your monthly bill while you need to budget for fuel when driving, and automobile maintenance costs are easily 10x higher than for a bike. And last but not least, you can go for a long time without replacing your car since you put so little mileage on it, and when you do go looking for a replacement, you can lower the bar in looking for a bargain. Since it’s something you will only drive sporadically, it doesn’t have to be great.

Is modern C (C11, C17 and C2x) strongly typed compared to C99?

I saw the video for C23 by ACCU, and I couldn’t help but feel that C2x has gotten a bit stricter than what I had learnt. Since this is based on my intuition, and that is not reflective of the reality, I was wondering if modern versions of the language post C99 is a little bit strongly-typed?

tunetardis,

I don’t really have an answer for you, but can say when recompiling older codebases (some in C and some in C++) using a modern C++ compiler, typing errors are among the most common I have to address. In particular, compilers seem to insist more on explicit casts for type narrowing, which is a good thing. But I don’t know about modern C itself? It wouldn’t surprise me if the language has become stricter.

tunetardis,

I had a few comedy albums. Some of them like Monty Python had a mix of music and skits. I wasn’t super into audiobooks. Probably the longest thing I ever listened to was The Hitchhiker’s Guide to the Galaxy in its (original?) BBC Radio rendition.

tunetardis,

Well since we’re nitpicking, a kilogram is a unit of mass, not weight. So unless by “kilo” you meant kilonewton…

tunetardis,

Oh yeah, that is the best! They have one at the conservation area near me. You go there around March and slap on some cross-country skis to get to the shack. Then just as the cold is starting to set in a bit, you walk in there where they’re boiling the sap and take in the aroma. Then you sit down at a long table and gorge yourself on pancakes with the syrup still hot and mixing with the butter. And then on the way back, if you have any bird seed in your pocket, you can just hold it out and chickadees will land on your hand. It’s magical!

tunetardis,

Never lived in the USSR but travelled through the country on the Trans-Siberian Railway with my dad years ago when just a kid. He spoke fluent Russian and struck up conversations with locals wherever we stopped. At one point, they broke out into gales of laughter before we reboarded the train. I asked him what that was all about.

He said he had asked if anyone practiced religion in the USSR? At first, they were reluctant to answer. Who wants to know? Why do you ask? And he said well, I notice there are signs all over the train station that it is forbidden to walk over the tracks. Yet I see people going so far as to crawl under one train to reach another. After a moment of awkward silence, that’s when the laughter broke out. “Ah shit man, you got us. Religion is alive and well here!”

tunetardis,

Yeah that was my read of it. I remember actually seeing people hopping onto the train even as it was starting to move out. It took those locomotives a long time to build up any significant speed, so I don’t think anyone was freaking out about getting cut in half or anything.

tunetardis,

You have to understand that religion was banned by the communist regime of the day. Admitting to it could get you locked up.

But my dad, as a tourist making this casual observation about flagrant rule-breaking going on in plain sight even as he spoke, broke the tension completely and made the locals admit there is a lot of rule-breaking going on everywhere.

tunetardis,

Maybe with a solar concentrating array, but these are photovoltaics are they not? So shouldn’t be a problem. I suspect this is just your typical nimby backlash to any large project. There’s plenty of that where I live too, alas.

What are some movies with notable director's commentary?

Notable can mean many things. Maybe it was high quality, insightful, and provided context for a more artistic scene. Maybe they teased a cut scene that would have radically shifted the tone of the movie. Maybe it was funny. Maybe the director absolutely hated what they produced and is only providing narration because of a...

tunetardis,

The one that stands out in my mind was The Sum of All Fears. It was the weakest of the Jack Ryan franchise with Ben Affleck in that role, and the commentary track featured the director being savagely berated by Tom Clancy throughout.

tunetardis,

Oh dear, I haven’t even seen Without Remorse yet, but it sounds like you ironically do have remorse over seeing it. ;) Hmm…seems to be made for Prime. That doesn’t bode well.

tunetardis,

This was a struggle for me going from hobbyist programmer to working at a company. I tried to tone it down. Really. But eventually I got “promoted” to having my own office with a suspiciously thick door. Hmm…

tunetardis,

It always feels weird to me when I’m in California and the ca is in the middle of the url, like whatever.ca.gov.

tunetardis,

Well, Shortcuts comes from the iOS world and is a relatively recent addition to macOS. Automator originated in macOS and I don’t think it has made it over to iOS at this point?

That’s not even the full extent of it though. Before Automator, there was Script Editor, which could also create script applications, but that doesn’t seem to work so well anymore. Automator has become the preferred approach for that. But Script Editor is still around and is useful for looking up AppleScript dictionaries. These tell you if a given application offers special scripting support, and there are also a few general dictionaries like StandardAdditions that are worth a gander. I wish AppleScript existed for iOS.

And then there’s the command line approach of using crontab to open your files with the open command. And osascript lets you run any AppleScript from the command line.

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