Spyke

Posts

world·World Newsbydbilitated

Israel accuses Australia of forgetting ‘Hamas’s culpability’ for Gaza war as ministers consider UNRWA funding

As an Australian, no we didn't. We just had it put in context. Jews around the world are great people, the Israeli government and the hardline supporters are absolute monsters. I hope the Australian government tells them as much. Israel deserves no support and everything that may happen when it's withdrawn.

Israel accuses Australia of forgetting ‘Hamas’s culpability’ for Gaza war as ministers consider UNRWA fundinghttps://www.theguardian.com/australia-news/2024/feb/02/israel-accuses-australia-of-forgetting-hamass-culpability-for-gaza-war-as-ministers-consider-reinstating-unrwa-fundingOpen linkView original on aussie.zone

What to use now?

Well, chat.openai.com is down today. I've been using it quite a bit recently, mainly to ask questions about physics and history but also for some low level work help - it's great for fire-once functions I can easily describe.

I don't really want to use microsoft's - the privacy policy and forced "free" feature make it seem dubious. I'd rather pay and have limited control over the data.

Are there any other options of a similar quality?

View original on aussie.zone
programming·Programmingbydbilitated

Use YAML through a serialiser

The one I linked might be a good one, I think I've used it but I'm on holidays so I can't check.

The real wisdom here is, where possible, implement a basic configuration class and serialise it out to a file using a library, then only tweak it.

In your class you can have everything strongly typed and assigned and so forth and all the joy of a good IDE helping you along, then you can use the tiniest console app to just serialise it to a file for you and the syntax is guaranteed to be perfect because it's a tested library.

You don't even really have to learn yaml and it'll be perfect. If you need to tweak it it'll still be pretty easy because all the values and structure will make it clear what's happening.

Obviously less useful for people who aren't devs, but we are so we might as well play on easy.

Use YAML through a serialiserhttps://www.nuget.org/packages/YamlConvert/Open linkView original on aussie.zone
selfhosted·Selfhostedbydbilitated

My new favourite password manager

I've always hated the idea of using a subscription/cloud hosting for password management. I feel like I should have a LOT more control over that stuff and I don't really want to hand all my keys over to a company.

All my secrets have been going in a highly encrypted archive with a long passphrase, but obviously that isn't convenient on all devices. It's been fine, I can open it on any computer but it's not super quick. It does have the advantage of being able to put in multiple files, notes, private keys but it's not ideal.

Anyway, finally found something that isn't subscription, and has a similar philosophy - a highly encrypted archive file, and it's open source and has heaps of clients including web browser plugins so it's usable anywhere, and you can sync the vault with any file sync you like.

Thought you guys might appreciate the find, password managers have always been a bit of a catch 22 for me.

Note for android i found keepassxc the best app, and i'm using KeePassHelper browser plugin, and the KeePassXc desktop app as well as the free official one. Apps all seem to be cross platform.

https://keepass.info/Open linkView original on aussie.zone
til·Today I Learnedbydbilitated

TIL Peter Molyneux failed his first game so badly he started a baked bean export company, which got confused with a software firm and kickstarted his development career

After his first game venture failed, Peter Molyneux started a baked bean export business. Commodore International mistakenly offered him ten free Amiga systems because they confused the baked bean company's name "Taurus" with a software company "Torus", and he used the hardware to create a database system for the Amiga, which was successful.

Which is just such a weird story.

Full text of the paragraph:

Due to the game's failure, Molyneux retreated from game design, and started Taurus Impex Limited—a company that exported baked beans to the Middle East—with his business partner Les Edgar.[5][6] Commodore International mistook it for Torus, a more established company that produced networking software, and offered to provide Molyneux with ten[5] free Amiga systems to help in porting "his" networking software.[2][7] Molyneux later said "it suddenly dawned on me that this guy didn't know who we were. I suddenly had this crisis of conscience. I thought, 'If this guy finds out, there go my free computers down the drain.' So I just shook his hand and ran out of that office."[2] Taurus designed a database system for the Amiga called Acquisition – The Ultimate Database for The Amiga[5] and, after clearing up the misunderstanding with Commodore, released the program to moderate success.

TIL Peter Molyneux failed his first game so badly he started a baked bean export company, which got confused with a software firm and kickstarted his development careerhttps://en.wikipedia.org/wiki/Peter_MolyneuxOpen linkView original on aussie.zone

Solution for weirdly long asp.net API startup

I didn't find this anywhere convenient when I was troubleshooting so I thought I'd post this here.

We have some large projects with a lot of dependency injection, and it was taking up to a minute to start a local dev API. After a lot of troubleshooting we found it was the dependency injection validation, which is optional and disabled in production - you can turn it off using:

webBuilder.UseDefaultServiceProvider(o =>
{
  o.ValidateScopes = true;
  o.ValidateOnBuild = false;
});

in the ConfigureWebHostDefaults() section, before the webBuilder.UseStartup() call. (I'm pretty sure this is the default template but it's been a while since I set it up..)

Saves around 50 seconds when waiting for a local API to start - obviously you don't get nice messages if you've created an issue with your dependencies so be aware of that.

I'd probably also explicitly disable ValidateScopes when it's not a dev environment but that has a lower performance impact.

View original on aussie.zone
environment·Aussie Envirobydbilitated

Possible source of the crazy amount of ocean temp change and subsequent heatwaves this year - less pollution from ocean liners seeding clouds

The reduction of ship tracks due to regulations has caused the planet to warm up faster, especially in the Atlantic Ocean. This unintended consequence has provided an opportunity for scientists to study a geoengineering scheme in action.

https://www.science.org/content/article/changing-clouds-unforeseen-test-geoengineering-fueling-record-ocean-warmthOpen linkView original on aussie.zone

Massive appreciation post for the moto2 winner!! Amazing effort

::: spoiler spoiler Congrats to Fermin Aldeguer... holy shit that was an insane push to the finish. I held my breath for the whole last lap.

Given he's never been on a podium before, hopefully it's a sign of a star on the rise.

I think silverstone highlights different riders because of flowing corners, so we'll see, but I'm looking forward to seeing him in Philip Island!

:::

View original on aussie.zone

Superconductor Breakthrough Replicated, Twice, in Preliminary Testing

xpost from https://lemmy.world/post/2494271

Researchers have discovered a new compound called LK-99 that could enable the fabrication of room-temperature, ambient-pressure superconductors. Two separate sources have provided very preliminary confirmations of this breakthrough, including a simulation indicating it could be possible and a short video from Chinese researchers that seems to indicate some properties of superconductivity.

Superconductor Breakthrough Replicated, Twice, in Preliminary Testinghttps://www.tomshardware.com/news/superconductor-breakthrough-replicated-twiceOpen linkView original on aussie.zone
fediverse·Fediversebydbilitated

Quick question - is there a way to format a link to a lemmy post so it opens through your home instance if you click it?

I notice often people might cross post something and say (for instance) cross posted from https://lemmy.ca/post/1916492 (random example which is the link that I just followed)

Is there any way to format a link like that so your home instance will just open it up so you're still logged in and can interact with it?

The link I followed goes to the Canadian lemmy server but it's actually looking at a post from beehaw.org, so it's extra useless 😒

Eg, if we could use the ![email protected] part with an ID? something like 6769052![email protected] and our home instance could parse it to a link, with some tools to make it easy to add?

EDIT: This isn't a feature, but there is a github issue feature request at https://github.com/LemmyNet/lemmy/issues/2987 for exactly this

EDIT 2: appears to be a userscript solution, but i haven't tried it. lives here though: https://git.kaki87.net/KaKi87/userscripts/src/branch/master/fediverseRedirector/README.md

View original on aussie.zone