HamsterRage

joined 2 years ago
[–] HamsterRage@lemmy.ca 6 points 2 days ago* (last edited 1 day ago)

I don't care about anything an actor says unless it's preceeded by "Action!" and followed by, "Cut!".

[–] HamsterRage@lemmy.ca 3 points 1 week ago

Religion ruins everything.

[–] HamsterRage@lemmy.ca 1 points 1 week ago (1 children)

Yes, but how do you get out of the country to live somewhere else without getting your first UK passport while you are still in the UK?

I'm not sure, but I think the requirements when you are renewing an expired passport are somewhat easier to meet.

[–] HamsterRage@lemmy.ca 1 points 2 weeks ago (3 children)

My wife and I are dual citizens born in Canada but with fathers that were born in the UK. We decided to get our passports pre Brexit because we are planning to move to France soon.

We've never lived in the UK, but had no problem getting British passports. We just needed our fathers' birth certificates and marriage certificates. And, of course, our own birth certificates.

We renewed our passports back in the fall, just before this news broke.

PS: We are old enough that our mothers' nationality didn't matter, even though they both were born in the UK.

[–] HamsterRage@lemmy.ca 5 points 2 weeks ago
[–] HamsterRage@lemmy.ca 1 points 2 weeks ago

I thought this was one of the worst expeditions ever. Perhaps the worst expedition you could conceive of.

Literally hours of just driving around in a slow garbage truck.

I only finished it because, apparently, I don't value my personal time.

[–] HamsterRage@lemmy.ca 6 points 2 weeks ago (1 children)

Came here to say this. Thank you.

[–] HamsterRage@lemmy.ca 5 points 2 weeks ago (5 children)

That's how we got "Layla"...but it didn't work.

[–] HamsterRage@lemmy.ca 1 points 3 weeks ago

I've seen people mention this a few times, but I'm not so sure that it's actually a thing.

Switches are designed to route traffic intelligently, and they don't blast all of the traffic to every port. If I remember correctly, at some point they do some kind of mapping between IP address and MAC address, and they know which MAC addresses are attached to which ports, and they only route the traffic to the port that has the MAC address they are looking for. I don't know how much local switches collude with each other to share information about connected devices or how many hops they may be able to look into.

In any event, no matter how wrong I am about that, if you've got a device on switch A that needs to send packets to a device on Switch K, then Switch A either has to know that the device is on Switch K and the path to get to Switch K or it has to send the packet to every switch that it is connected to. That doesn't change with VLAN's, if Switch A doesn't have knowledge about every other switch on the network, and which VLAN's they are configured for, then it will have to send the packet to every switch it is connected to.

[–] HamsterRage@lemmy.ca 2 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Compose is great for Android because it's so integrated with the ecosystem. For desktop applications, JavaFX - especially coupled with Kotlin - is a clear winner to me.

I should point out that I don't use FXML or SceneBuilder, but code all of my layouts in Kotlin. Kotlin features like extension functions let you eliminate 90%+ of the JavaFX layout boilerplate.

Back to Compose. Both Compose and JavaFX are Reactive GUI environments, although many (most???) people don't realize that about JavaFX. But both environments take opposite approaches to Reactive design.

Compose, as the name implies, uses what I call "compositional reactivity". This means that the actual layout is totally static, but is recomposed, in whole or part, in response to changes to the data representation of state. That code will look at the various State elements each time it runs, and alter the layout according to their current values.

JavaFX uses "Reactive Layouts" (my term, again). JavaFX has a comprehensive, yet extensible, collection of Observable data types and another comprehensive, yet also extensible, collection of Bindings to allow you to connect them together in any way that you can think of.

Every configurable element of every screen Node in JavaFX is expressed via these Observable values, meaning that they can be bound in some fashion - in either direction - to elements in the State data structure.

The result is that it JavaFX the layout code is run exactly once. But this layout code not only performs the actual layout, it also creates the bindings to State. After that, the layout behaves dynamically all my itself.

In JavaFX, layout composition is actually quite expensive in terms of performance, and recomposition is to be avoided if possible - and it is virtually always possible. I have seen people bitch about JavaFX being "heavyweight" and raggy, and I can guarantee you that those people are just doing a lot of recomposition.

The biggest challenge to programming, and I say this with more years of experience than most people reading this have been alive, is in understanding the underlying paradigm that governs whatever language or toolkit they are using. Unfortunately, you unlikely to open up a book or webpage and see, "The underlying paradigm of this technology is...".

That's especially true of JavaFX. It takes a LOT of time to realize the Reactive nature of JavaFX by yourself. Consequently, I don't think that JavaFX gets recognized as the desktop application powerhouse that it is. As someone who has mostly mastered it, I'm constantly amazed at how trivial it is to build truely complicated applications with JavaFX.

[–] HamsterRage@lemmy.ca 3 points 3 weeks ago (1 children)

Do your smart switches talk to your HomeAssistant server???

Or does your HomeAssistant server talk to the devices?

It's probably the latter, and in terms of network security the difference is huge. You can restrict your smart switches to their own, untrusted zone with no outgoing permissions and then give HomeAssistant access to them from its zone.

I would also argue that your personal devices and desktop computers are far more sensitive than your HomeAssistant server.

[–] HamsterRage@lemmy.ca 2 points 4 weeks ago (1 children)

I'll have a look at it. The whole site is Jekyll using a theme called "Minimal Mistakes", so there's two things for me to look at. I suspect it's the theme, and I've customized it enough that it's probably "broken" when it comes to updates.

 

For the past few years I've been building and maintaining website/blog at www.pragmaticcoding.ca. It's mostly about programming, and more specifically it's ended up having a lot of content about JavaFX with Kotlin.

Lately, I've been spending all of my time building out my own homelab and self-hosting the services that I need. I've got a little stack of M910Q's running in a Proxmox cluster with an HP T740 running OPNSense.

Since I've been spending all - and I do mean all - of my time futzing about with this self-hosted stuff, I thought I'd try to add some content to my website to help people doing the same thing. My idea was to make it more "bloggish", talking about the tricky things I've had to master along the way as I implement various services.

But I feel like there also needs to be some foundational content. Articles that explain concepts that a lot of people, especially people without professional networking experience, find difficult to grasp. So I've started working on those.

While I think of myself as mostly a programmer, my career (now, thankfully over) had me as an "IT Guy" more often than not. I spent 24 years at the same mid-sized company with a tiny IT department and simply had to get involved with infrastructure stuff because there was nobody else to do it. It was very hands-on at first, but as we grew I was able be limit my involvement to planning and technical strategy.

Since the mid 90's, we went from self-hosted physical servers, to colocated servers, to colocated virtual servers to cloud servers and services. So I feel like I have the insight to provide help.

Anyways, this is the first article in this new section. I've seen a lot of people posting questions about how VLAN's work and I know that it's mystifying to many. So I wanted to push it out before I have the supporting framework put together on the website, and it's just sitting there as the first post that's not about programming.

My goal is to provide practical, pragmatic advice. I'm not particularly worried if some particular facet of an article isn't 100% totally correct on some obscure technical level...as long as the article gives solid practical advice that readers can act on.

Anyways, take a look and let me know if you think this kind of article might me of use to yourself or other people getting started on self-hosting.

 

A friend of mine has come up with a new on-line word game that seems to me to be pretty fun. I'll give the you the description from the announcement he sent out a few days ago:


You start with a set of 7 letters. Make a word, ideally using some letters more than once. That’s how you score big: for example, COFFEE is worth 8 points, TEAMMATE is 12, but DONUT is just 5.

The letters you play will be replaced with new ones from today’s predetermined sequence, until it runs out. Here is a short video.

Your goal is to squeeze the highest score you can out of today’s challenge. You can also play it again, making different choices, to beat your earlier score.

It’s free, fresh every day, and just enough of a mental workout to leave you smiling (or muttering about that one word you should have seen).


I know, from the discussions that we've had as he was developing it, that he has spent a huge amount of time working on the algorithms to ensure that the letter sets that loaded up each day have a maximum amount of playability.

The game runs in two modes: one with a short list of 30 letters, and one with the "regular' list of 60 letters. Personally, I find the shorter game a good fit for my attention span. If you didn't pick up on it from the description, the letter lists are updated each day, so you get two games a day, one short and one long.

I think it's worth a try.

https://letteragegame.com/

 

For some reason, the wife decided to pull out all of the amigurumi critters that she's made since she started doing this at the beginning of the year.

So, here you go, the group shot:

 

She said that the pattern was awful and that she had fudge all kinds of stuff to make it work. The hat needed to be completely redesigned.

 

I'm beginning to think that this sub will never be ready. What's the hold-up????

 

The wife has started to make these amigurumi creatures. Here's her latest two.

She uses worsted weight wool (she tells me) which generally results in bigger creatures.

 

I wanted one of these back in 1980 when I was 16. I remember that they were $1,200, but they might as well have been $1,200,000 as far as I was concerned.

Many years later I had the $$$ to buy one, and this one is a beauty. Koa, with Bill Lawrence pickups.

Look at all the knobs and switches!!!

view more: next ›