[-] stevecrox@kbin.run 28 points 5 months ago* (last edited 5 months ago)

QT is a cross platform UI development framework, its goal is to look native to the platform it operates on. This video by a linux maintainer from 2014 explains its benefits over GTK, its a fun video and I don't think the issues have really changed.

Most GTK advocates will argue QT is developed by Trolltech and isn't GPL licensed so could go closed source! This argument seems to ignore open source projects use the Open Source releases of QT and if Trolltech did close source then the last open source would be maintained (much like GTK).

Personally I would avoid Flutter on the grounds its a Google owned library and Google have the attention span of a toddler.

Not helping that assessment is Google let go of the Fuschia team (which Flutter was being developed for) and seems to have let go a lot of Flutter developers.

Personally I hate web frontends as local applications. They integrate poorly on the desktop and often the JS engine has weird memory leaks

[-] stevecrox@kbin.run 25 points 6 months ago

I know a couple game devs and absolutely blasted them for that take.

We have had quite a few indy devs make the point that the "Linux" bugs are generally cross platform issues and Linux users are more likely to raise a bug report and tend to raise more useful bug reports.

Which means avoiding Linux due to higher bug reports is just hiding from technical debt.

4
submitted 6 months ago by stevecrox@kbin.run to c/webdev@programming.dev

I have been building several react components as libraries to use as part of a bigger idea.

While writing up documentation I realised the examples I provided were Stories I had created for Storybook to test the look of the components.

The storybook MDX documentation seems to provide a nice way to document your stories.

But I am hitting an issue, ideally I would like the Storybook Sidebar/view to be embedded into my page layout (for consistency) or failing that themed to use the same colours/icons/etc..

The documentation seems out of date with Storybook 8 using a different structure and while I have tried to populate a ThemeVar object it seems several of the fields need specific unspecified input.

Has anyone done anything like this before and how well did it work for you?

30

Recently I have been trying to play my old games (Worms, Sims, Black & White, etc..) on my Steam Deck.

I created an ISO of the various CD's via the dd command, but I have noticed Crossover doesn't support ISO. I needed to mount the ISO to a location.

This worked to install the game but fails copy protection. If I connect a USB DVD drive it detects the disc and works but this isn't particularly helpful.

Does anyone know what I should be setting or doing so the game sees the ISO or ISO mount as the disc?

A lot of the games I want to play simply don't have a steam version to buy

[-] stevecrox@kbin.run 25 points 6 months ago* (last edited 6 months ago)

SpaceX are on track to launch 130 times this year. The industry competitors launch 6-12 times per year.

I suspect the higher incident rate is related, since you will need to manufacture, roll out, etc.. much more often.

The article also talks about most the incidents being in booster recovery. Only 2 Space competitors do that,

Blue Origins sub orbital booster always returned to launch site and at best managed monthly launch. This rocket hasn't launched in more than a year.

Rocket Lab perform ocean recovery but only launched 11 times last year and only recovered the booster twice.

So its hard to really compare

19
submitted 6 months ago by stevecrox@kbin.run to c/minecraft@lemmy.world

I recently started watching Grian's hermit craft season playlists and watching them back to back, it feels like Grian is burning himself out as he repeats the same mistake.

TLDR; he keeps getting stuck planning huge mega builds that require so much grinding he gets stuck in procrastination cycles. He needs to break things down into small pieces (a building, tunnel, etc..) and learn to iterate towards a vision.

In each season he will quickly jump to mega scale for any project (the Tower, The Mansion, The Ally & The Entity). The issue with each project is any significant progress requires a huge amount of grinding and you see his avoidance of the main base gets worse with each season.

We do see large scale projects and the Entity and Barge actually shows the problem.

The barge started small and iteratively enlarged as the number of items increased, he then created 'big plans' schemed to get extra space and never fulfilled them. The next iteration became too much of a grind and he was clearly working hard to keep the current shop stocked.

Simialy the Entity went through quick iterations a rock, a Rock with a tree, a wheel, then it walked and he talks of his big plans at the end of the episode but he clearly started avoiding the entity because the plans became too much of a grind.

I thought he had gotten it at the end of Season 9, as he moved towards so many 'small' projects which results in a huge affect in the area.

In Season 10 he talks about taking it slow, but I really don't think he understands.

The dock was a perfect example, he was doing a lot of fishing and building a hut around the spot was a great idea and I found really interesting to watching. Building a secret vault would have been a great episode, similarly the Salmon tunnel was fantastic. Building each aspect for an episode would have been taking it slow.

You can see he is already avoiding his 'mega' build and yet again the opportunity to break stuff down was there. The bone meal farm being built and boxed in would have been a great episode, but you already know he has built a stucture and its going to hang around for months as he gets twisted up trying to design/plan a huge series of fronts and increasingly wants to avoid

99
submitted 6 months ago by stevecrox@kbin.run to c/selfhosted@lemmy.world

I need help figuring out where I am going wrong or being an idiot, if people could point out where...

I have a server running Debian 12 and various docker images (Jellyfin, Home Assistant, etc...) controlled by portainer.

A consumer router assigns static Ip addresses by MAC address. The router lets me define the IP address of a primary/secondary DNS. The router registers itself with DynDNS.

I want to make this remotely accessible.

From what I have read I need to setup a reverse proxy, I have tried to follow various guides to give my server a cert for the reverse proxy but it always fails.

I figure the server needs the dyndns address to point at it but I the scripts pick up the internal IP.

How are people solving this?

27

I have been waiting on Star Trek Lower Decks Season 4 to be released on Blu Ray for months, does anyone know where I can buy it?

Amazon listed it last year and it turns out that was in error and searching lists the release as April 16th and yet I can't find it in any where.

I am in the UK

[-] stevecrox@kbin.run 109 points 7 months ago* (last edited 7 months ago)

Debian would be a Volvo Estate, its the boring practical family choice, the owner is soneone boring like an architect or a financial advisor.

Arch is a Vauxhall Nova, second hand battered owned almost exclusively by teenage lads who spend a lot of time/money modifying it (e.g. lowering so it can't go over speed bumps, adding a massive exhaust to sound good but destroys engine power).

Fedora is something slightly larger/more expensive like a Ford Focus/VW Golf/Vauxhall Astra owned by slightly older lads. The owners spend their time adding lighting kits and the largest sound systems money can buy.

Slackware is clearly a Subaru Impreza, at one point the best World Rally Car but hasn't been a contender for a while. Almost all are owned by rally fans who spend fantastic amounts of time tinkering with the car to get set it up an ultimate rally car. None of the owners race cars.

OpenSuse is a Nissan Cube, its insanely practical. It should be the modern boring family choice, but it manages to ve too quirky for your architect while not practical enough for van drivers.

I don't know the other distros well enough.

I run Debian btw

55
submitted 7 months ago by stevecrox@kbin.run to c/uk_politics@feddit.uk

Science minister Andrew Griffith took the seemingly unusual approach of trying to woo voters as his party flatlines in the polls on around 20 per cent

8
submitted 7 months ago by stevecrox@kbin.run to c/uk_politics@feddit.uk

Labour has pledged more than £8bn into energy company if it wins UK General Election as Sir Keir Starmer tries to "get Putin's boot of our throat." | ITV News Wales

1
submitted 7 months ago by stevecrox@kbin.run to c/uk_politics@feddit.uk

Mark Blyth, en economist who has advised the Scottish government, tore apart the economic case for Scottish independence

36
submitted 7 months ago by stevecrox@kbin.run to c/uk_politics@feddit.uk

Mega-rich Tory Chancellor Jeremy Hunt was accused of being out of touch after he claimed that £100,000-a-year was a measly salary for his constituents

[-] stevecrox@kbin.run 18 points 8 months ago

Every programming languages has communities built around them.

Its becoming clear Rust solves a lot of C/C++ type problems and the embedded communities are definitely shifting over.

Apache is the primary community for Java, a quick look at their project list shows it's entirely web servers, data engineering and clustered projects for distributed computing.

Personally if you asked me to solve this problem I would use Spring Boot with various Spring libraries for talking to the caddy, user control, etc... Looking at the project, its exactly what they have done

8
Bootstrap Themed Maven Site (stevecrox.github.io)
submitted 8 months ago by stevecrox@kbin.run to c/java@programming.dev

I find Maven sites look incredibly dated and I couldn't find a nice way to integrate other auto documentation tools such as MKDocs.

So I've written a series of Apache Velocity templates which integrate Bootstrap, I've tried to respect Bootstrap components and the layout/structure of Apache projects (you'll find various configurations under 'layouts').

You can apply various bootstrap themes to it to improve it dramatically.

[-] stevecrox@kbin.run 54 points 8 months ago* (last edited 8 months ago)

I believe this post would be better if it was rewritten in Rust it would allow more efficent. memory usage compared to; the dynamically typed English language which doesn't have the borrower checker. while allows you to detect when resources are no longer used unlike English's poorly performing 'grammar checking' tools

But seriously there has to be content to engage with and people who respond to the content. I've noticed this community has someone posting really high quality updates but the community appears to be that person.

Posting blogs, or asking questions, etc.. would be a good way to engage.

[-] stevecrox@kbin.run 15 points 8 months ago

MBin is a fork by a group who tried to push into KBin but couldn't. There seems to be at least 4 active committers and stuff gets merged.

You will see a number of the KBin instances moved over https://fedidb.org/software/mbin

[-] stevecrox@kbin.run 61 points 8 months ago* (last edited 8 months ago)

The developer behind KBin seems to have issues delegating/accepting contributors.

If you look at the pull requests, most have been unreviewed for months and he tends to regularly push his branches once complete and just merge them in.

That behaviour drove the MBin fork, where 4-5 people were really keen to contribute but were frustrated.

To some extent that would be ok, its his project and if he doesn't want to encourage contributions that is his decision but...

KBin.social has gotten to the size where it really should have multiple admins (or a paid full time person). Which it doesn't have.

The developer has also told us he has gone through a divorce, moved into his own place, gotten a full time job and now had surgery.

Thats a lot for any normal person and he is going through that while trying to wear 2 hats (dev & ops) each of which would consume most of your free time.

Personally I moved to kbin.run which is run by one of the MBin devs

[-] stevecrox@kbin.run 19 points 9 months ago

It does but for the 90's/00's a computer typically meant Windows.

The ops staff would all be 'Microsoft Certified Engineers', the project managers had heard of Microsoft FuD about open source and every graduate would have been taught programming via Visual Studio.

Then you have regulatory hurdles, for example in 2010 I was working on an 'embedded' platform on a first generation Intel Atom platform. Due to power constraints I suggested we use Linux. It worked brilliantly.

Government regulations required anti virus from an approved list and an OS that had been accredited by a specific body.

The only accredited OS's were Windows and the approved Anti Viruses only supported Windows. Which is how I got to spend 3 months learning how to cut XP embedded down to nothing.

[-] stevecrox@kbin.run 32 points 9 months ago* (last edited 9 months ago)

Technical Leads are not rational beings and lots of software is developed from an emotional stand point.

Engineering is trade offs, every technical decision you make has a pro/con.

What you should do is write out the core requirements/constraints.Then you weigh the choices to select the option that best meets it.

What actually happens is someone really likes X framework, Y programming language or Z methodology and so decides the solution and then looks for reasons to justify it.

Currently the obvious tell is if they pitch Rust. I am not saying Rust is bad, but you'll notice they will extoll the memory safety or performance and forget about the actual requirements of the project.

[-] stevecrox@kbin.run 33 points 9 months ago

Wine attempts to translate Windows calls into Linux, its developed by Codeweavers whose focus is/was application compatibility.

Valve took Wine and modify it to best support games, the result is called Proton. For example:

Someone built a library to convert DirectX 9-11 calls and turn them into Vulkan ones, it was written in C++ and is called DxVK.

Wine has strict rules on only C code and their directx library handles odd behaviour from old CAD applications.

Valve doesn't care about that, they care that the Wine DirectX library is slow and buggy and DxVK isn't. So they pull out Wines and use DxVK.

There are lots of smaller changes, these are 'Proton Fixes', sometimes Proton Fixes are passed on to Wine. Sometimes they can't but discussion happens and a Wine fix is developed.

[-] stevecrox@kbin.run 35 points 10 months ago

Most of the updates are about long term support the performance gains are a side product.

This driver was one of the earliest open source drivers developed by AMD. The point of the driver is to convert OpenGL (instructions games give to draw 3D shapes) into the low level commands a graphics card uses.

A library (TMSC I think) was written to do this, however they found OpenGL commands often relied on the results of others and converting back to OpenGL was really CPU expensive.

So someone invented NIR, its an intermediate layer. You convert all OpenGL commands to NIR and it uses way less CPU to convert from NIR to GPU commands and back.

People in their spare time have been updating the old AMD drivers so they use the same libraries, interfaces, etc.. as the modern AMD drivers.

This update removes the last of the TMSC? usage so now the driver uses only NIR.

From a dev perspective everything now works the same way (less effort) from a user perspective those old cards get the performance bump NIR brought.

view more: next ›

stevecrox

joined 10 months ago