@PossiblyMax@hachyderm.io avatar

PossiblyMax

@PossiblyMax@hachyderm.io

Kiwi living in Scotland, dad and WFH C# dev who enjoys some React on the side 😁. Co wrote the Stream Bingo twitch extension. Very chill, enjoying Mastadon and working around the house. Be cool everyone! (he/him).
🥰

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

vik, to homeassistant
@vik@mastodon.nzoss.nz avatar

is going well, but I need to move all the devices to another network SSID and password. Searching for how to do this is basically full of "why would you do that?" but no solutions that don't involve manually diving in to the config "secrets" - followed by replies saying "don't do that!" Well, security is one reason. I can't be alone here, right?

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@vik I have a solution though it doesn't sound like one at first.

Don't move all your devices to a new ssid 😅

Instead abandon that ssid as the iot network and make a new one for your non iot devices 😁

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@vik Oh don't get me wrong I'm absolutely agreeing that splitting your iot and normal WiFi is a good idea. When I did it with my network I had far more iot devices than not, and the iot devices were going to be a real hassle to move, so I didn't move them.

Instead I blocked that network off from the Internet and made a new one for my non-iot and moved those instead.

Unless you mean you have reasons to want to keep your ssid as your main network? Fair enough if so! Just trying to help 🙏

ai6yr, (edited ) to random
PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@ai6yr Head down there with a truck and some cash when the winners are needing to move things and score a deal on stuff they can't move!

wagesj45, to homeassistant
@wagesj45@mastodon.jordanwages.com avatar
PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@wagesj45 This is really neat! I like that you could hook it up to tts and ask assist for a summary and have it read it out too 😁

Have you considered sending more context for things like 'The kitchen light has been on for 4 hours', or 'The kitchen temperature is x degrees, a change of +-y degrees in the last hour'? I wonder if it could infer trends given enough information.

PossiblyMax, to photography
@PossiblyMax@hachyderm.io avatar

Took this picture a couple of days ago when it was sunny, but held off posting until . Thought I would mess with my camera while it was nice out. My cat Mobius found a and was chasing it around the backyard and they stopped for a photo op!

Zoom in to see the detail, I'm pretty pleased with the pic overall 😊

jerzone, to 3DPrinting
@jerzone@techhub.social avatar

Not going to drive up for totality, but realized I could set up telescope with sun filter and try to photograph what we do get (98.6%). Can I print an adaptor in time?

https://www.printables.com/model/194873-telescope-to-phone-adapter-over-engineered

https://www.printables.com/model/595541-adjustable-telescope-eyepiece-phone-mount

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@jerzone how long would you have to drive for totality? If I were within three hours drive I wouldn't miss it 😅 xkcd has a good comic from a few days ago about totality that makes a good point about the experience.

Good luck with the print (or the drive if you change your mind!)

PossiblyMax, to random
@PossiblyMax@hachyderm.io avatar

I like Mastodon... I read a lot, a reply a little, boost occasionally, but rarely post.

So I'm going to try posting more, as a 'don't start reading Mastodon until you've posted something' incentive to try to open up a bit to the community.

No doubt there will be a few 'posting to unlock' lame-ass posts, but we'll see how it goes. I don't have many followers to spam anyways 😅

Migueldeicaza, to random
@Migueldeicaza@mastodon.social avatar

An important Godot for iPad milestone.

These are two instances of a full-blown Godot running side-by-side in the same process.

The next step on the virtualization idea that I shared on the blog post [1]

But this time, rather than being one-at-a-time, they are simultaneous.

This was necessary to support debugging of Godot apps on the iPad (and soon Vision).

[1] https://blog.la-terminal.net/making-godot-viable-on-ipados/

video/mp4

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@Migueldeicaza Wow, quite a saga! You mentioned popping some fixes back to the main godot, but are you also considering offering the virtualisation changes too? It sounds like an upgrade to the debug experience and could open some interesting avenues.

I also like the idea of dropping the project manager and having normal OS style pickers etc. I guess there's good reason for the way it's done but I also find it a bit of an unusual experience.

skinnylatte, to random
@skinnylatte@hachyderm.io avatar

‘Fahrenheit is what humans feel’

No, Fahrenheit is what Americans feel

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@skinnylatte I thought Tom Brady was a famous TV sitcom character from life the 70s...

nivrig, to solar
@nivrig@mastodon.social avatar

Pulled the trigger on power for the house. 5Kw system going in, maybe 4-6 weeks. That’s as much generation as we have space for and should supply most of the power on sunny days. Given we’re at home all day every day it should pay off.

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@nivrig getting a battery too?

mdimjasevic, to homeassistant
@mdimjasevic@mamot.fr avatar

Dear @homeassistant users, do you have any smart light bulb to recommend that works fully locally and it integrates with ? I am open to WiFi and Zigbee variants.

I just ran into a WiFi-based TP-Link Tapo bulb for half of its usual price. I bet it phones to the headquarters. It'd be great if it can be flashed with a libre firmware. Any thoughts?

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@mdimjasevic @homeassistant If you're open to aliexpress there are a few options there. I've bought a bunch of tasmota flashed gu10 bulbs that work great on WiFi (from the athom global Store
https://a.aliexpress.com/_EyBQG1R) and more recently some zigbee bathroom downlights (from GLEDOPTO Official Store
https://a.aliexpress.com/_EuTbmJ7) though I haven't installed them yet.

poppastring, to random
@poppastring@dotnet.social avatar

This is overdue for musicians everywhere.

More importantly though, it is clear that EU bureaucracy moves way faster than US bureaucracy to protect its citizens online.

"Music streaming platforms must pay artists more, says EU"

https://www.theverge.com/2024/1/17/24041343/eu-music-streaming-platform-artist-pay-europe-regulation

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@poppastring "must pay artists more" will become "sorry folks the EU says we have to put our prices up, oops we just doubled our profits I'm sure it's unrelated"

I'm glad streaming services are going to be required to pay better. I'm just annoyed that it likely means the ceo will also end up doubling their income too.

shanselman, to random
@shanselman@hachyderm.io avatar

What’s some tech you can’t live without, so much so that you actually have backups of that tech? https://www.tiktok.com/t/ZT8gVmLHX/

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@shanselman I'm... Struggling to think of anything I have backups of. I mean I have plenty of my old phones but I wouldn't use any of them if my phone broke... They're mostly windows phones tbf.

Charging cables? Does that count as tech? I have a reasonable number of USB c cables scattered around the house.

ChrisMayLA6, to Software
@ChrisMayLA6@zirk.us avatar

Anyone who thinks the route to a just resolution to the crisis lies with a massive fine & compensation paid by is letting the UK's political class & legal system off the hook.

Certainly, making Fujitsu pay is a necessary element to a just resolution but it is hardly sufficient.

The political class' scramble for cover will be masked if we focus primarily on the itself.

There were/are plenty of people who need to be held to account & only a minority are IT folk!

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@ChrisMayLA6 This is a really good call out. Yes the software was bad but the consequences should have required vetting by a manual process.

Actually I'm gonna stop there I don't know enough about the story, maybe there was a manual process but it was corruption or laziness...

Either way, down with all this!

eldamir, to random
@eldamir@hachyderm.io avatar

I've heard the term "webmentions", but not really cared about it before.
Then I read this post from @matthiasott (https://matthiasott.com/notes/best-comment-section-on-the-internet) followed by reading this post from @rowan (https://rowanmanning.com/posts/webmentions-for-your-static-site/).

Now I'm hooked... I gotta get that set up for my website. I currently use Giscuss, which is fine, but it is also limited to users wanting to sign in with Github to comment. Adding would be something else 😍

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@eldamir @matthiasott @rowan Interesting article, I don't think I've considered blog comments as very useful in many years, but this piqued my interest a bit.

I immediately connected with the activitypub mention in the post. Obviously as a mastodon user it felt like a great solution! But then masto users are probably still quite a small group overall and might be a barrier for commenters. Plus moderation and federation and it starts to look like lemmy.

Interested to see what the future holds!

eldamir, (edited ) to Software
@eldamir@hachyderm.io avatar

Hi all folks 👋

When you do , how do you organise them in your code base?

I often find that I lose track of tests, and when I want to know “is this thing tested?”, then I don’t know where to start looking.

Sometimes I set a breakpoint in the thing and run all tests and see what hits the breakpoint, which is not smart.

When reviewing a PR for new stuff, I can look for added tests. But for changes to existing stuff, I don’t know where to find and check existing tests.

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@eldamir In my C# code, unit tests are in one project with the same folder structure as the project it is testing. Then each class that is tested is duplicated with a Tests suffix.

With regard to finding tests that cover specific code, usually I will run the tests with coverage and that gives me the ability to see each test covering any part of any line. For instance using the jetbrains code coverage tool.

Do you have a specific language or IDE that you are looking for insights about?

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@eldamir Yup so for acceptance tests, I would have another test project purely for them, and the structure... Well it depends a little.

If you plan to use SpecFlow for example, with .feature files that translate into tests, that tends to have a well defined way of structuring already. I'm not a fan of SpecFlow.

Assuming your features are small enough, I would go with a folder per page, a test class per feature, and tests in there per criteria.

But it's tricky and it depends on yourself 😅

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@eldamir Even for SPA you can use the same idea, just tweak it as necessary. Maybe they're called Pages still, but essentially you could structure on the routes or something. It's finding the points to chop.

Of course you could use something like cypress or playwright which will probably have best practices for structuring that you might find on those sites, or from someone with more experience in them than me 😅

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@eldamir Hah sorry bout that! I don't know how much you know in this area so I'm just covering things that I have seen that are useful or look useful 😁

Essentially your acceptance/integration tests could be done in one of a number of languages and frameworks and unfortunately there's not really a 'right' one. If you're doing an SPA then you're already likely happy with javascript/typescript, so cypress might be nice... But then you need to run your api+dependencies etc.

Lots of tradeoffs!

shanselman, to random
@shanselman@hachyderm.io avatar

Welp. was awful. I hate being critical when hundreds of people make art, but this is just a huge miss. It was 40% Aquaman quipping and 60% video game cutscene. And not good cutscenes, just Goes On Forever cutscenes. I was looking for the Skip button.

Aquaman was bad

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@shanselman I saw the trailer and I actually thought they were advertising a video game right up to where they revealed it was the movie.

I haven't watched any dc stuff since Wonder Woman (which was excellent!) because batman and friends have tried to be gritty and dark and it just bores me. It all seems so whiney.

KI7CFO, to homeassistant

Where are the people at? I'd like to get on this bandwagon. I have a pi4b dedicated to this and a z-wave stick in the works. I have questions about more "standard" setups with out crazy home brew hardware......

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@KI7CFO That's a good tag so go ahead and pop it on any questions you have and I'm sure you will find a lot of answers.

I used a pi4b for a long time before migrating to a yellow (which still uses a pi 4) and all standard install. Works great though I'm not sure when I'll move to the newest update. There's some security things that I'm watching...

I've never used zwave though, but lots of zigbee and WiFi, and a smattering of Bluetooth. Then lots of mqtt over that!

ElleGray, to random
@ElleGray@mstdn.social avatar

seasonal reminder that "ho ho ho" is not ho³ it's ho x 3, which is different. this festive math lesson brought to you by someone with an arts degree. cheers

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@jens @ElleGray I guess it would also mean: ho ho ho == ooohhh

shanselman, to random
@shanselman@hachyderm.io avatar

Boom

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@shanselman Um is this a good thing? I'm not generally an AI fanboy and never heard of this guy before Friday, but he doesn't seem to be a very good human from what I've seen.

stooovie, to homeassistant
@stooovie@mas.to avatar

or nerds: can I bind LevelCtrl to a light group ONLY? I want turning on/off to be handled by HA AND dimming directly by zigbee binding. Seems impossible - even with only LevelCtrl" bound according to Z2M, lights turn on when pressing the button. Ikea Tradfri bulbs and Styrbar controller.

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@stooovie @viper539 I use awesome ha blueprints for my remote to light scripting, and it seems to deal with smooth dimming pretty well. How are you hooking up your remote to your lights?

eniko, (edited ) to gamedev
@eniko@peoplemaking.games avatar

curious about something. wanna see how big the community on mastodon is. are you a game developer? plz boost for reach

EDIT: i cannot prescribe that anyone is a gamedev or in what capacity. if you don't self identify as a gamedev, vote no, if you self identify as a professional gamedev even if you're doing it alongside a dayjob, pick the professional category. there are no wrong answers

PossiblyMax,
@PossiblyMax@hachyderm.io avatar

@eniko I feel it might be a disservice to more mainstream devs, but I went with pro game dev. My game is just a silly bingo extension for twitch and it doesn't exactly make a lot of money but it pays for itself and buys me a few coffees each month 😅. It's still fun and a bunch of folk love it so pretty happy with it!

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