Skip Navigation
stevecrox stevecrox
Posts 31
Comments 160

Best Audio Format for Storage?

What is the best format settings to store a physical music?

I did look at Flac but the data is almost the same size as the uncompressed Wav and none of my devices or self hosted services seem designed to play flac files. Everything gets converted.

What are people using?

/kbin meta stevecrox ssl errors?

Does anyone else get Secure Connection failed errors when connecting to``

Last few days are the least functional kbin has been for me since the July exodus. Just me?
  • When I looked at Kbin the "caddy" was wrapped around RabbitMQ. You can get RabbitMQ to solve a lot of those issues.

    Firstly with Rabbit you can set a Time To Live header in messages.

    By default RabbitMQ queues have no limit in size, you can set a limit.

    Lastly RabbitMQ allows message prioritisation. So you can drop the priority of things the older/more retries they contain.

    Most of this is either RabbitMQ policy or Queue rules based on Headers in the AMQP message. Depending on how KBin is generating messages you might be able to do this as a system admin

  • Does C# (or any other languages) have an official style guide like python has pep8?
  • This is about thew new starter cost.

    When a developer joins a team, they will not be as productive as they have to learn the code, frameworks, libraries, the project purpose, the tooling, etc.. Often this impacts other members of the team lowering the entire teams productivity.

    When you use productivity tracking (e.g. things like capacity planning) you will see the teams performance drop and it will take time for it to exceed the previous measured performance. This is the cost of adding a new starter.

    So if it takes 6 weeks for a new starter to increase overall team producitivty then planning someone on a project for 4 weeks is pointless since the team will have a higher delivery rate without the extra person. This is typically why an organsation loses its ability to migrate staff between projects.

    Code formating affects the layout of the code and our brains do all sorts of tricks around pattern recognition, so if your code formatting rules are too different a someone migrating between projects has to spend time looking for code and retraining their brain.

    Its an additional barrier and a one within an organisations skills to remove (by forcing a common code standard).

  • Does C# (or any other languages) have an official style guide like python has pep8?
  • Python is unique in formatting forms part of the syntax, every language has linters but its far more common for orgs to tweak the default rules .

    For example Java has Checkstyle. The default rules 'sun checks' give a line length of 80, tabs are 4 spaces and everything is placed on a new line.

    Junior devs inevitably want to trash the line length (honestly on 1080p monitors, 120 makes sense,).

    There is always a new line/same line discussion (everyone perfers same line but there is always one die hard new line person).

    The tab width discussion always has one junior dev complain that "tabs are better", as someone who started development on Visual Studio 6 where half the team double spaced, the other half used tabs. Those people get a lecture from me on how we can convert tabs to spaces but not the inverse so it will always be spaces if I am near.

    With Checkstyle you upload the rule file as an artifact into your M2 repository. Then you can pull it down as a dependency when the checkstyle plugin runs.

  • What's up with Epic Games?
  • As someone who bought Half Life 2 when it was released ..

    I only remember people being excited about Steam, Web stores weren't a thing back then and they were the future! (It was the following years of audio and ebook stores locking stuff down and evapourating that taught us to hate it).

    Game/Audio CD DRM hacking the kernel and breaking/massively slowing down your PC was pretty common back then and Steam' s DRM didn't do that.

    The HL2 disc installer didn't require you to install Steam, once installed it asked you to setup Steam and there was a sticker under the DVD with the Steam code for you to enter.

    You were then rewarded with a copy of HL2 Deathmatch and Counterstrike Source.

    Steam wasn't always on DRM, back then ADSL/DSL was relatively new and alot of people were still stuck on Dial Up modems.

    Steam let you sign in and authorize your games for 30 days at which point you would need to log into Steam again. This was incredibly helpful feature for young me.

  • What's up with Epic Games?
  • Basically Epic like every other publisher has created their own launcher/store.

    They aren't trying to compete on features and instead using profits from their franchise to buy market share (e.g. buying store exclusives).

    The tone and strategy often comes off as aggressive and hostile.

    For example Valve was concerned Microsoft were going to leverage their store to kill Steam. Valve has invested alot in adding windows operability to Linux and ensuring Linux is a good gaming platform. To them this is the hedge against agressive Microsoft business practices.

    The Epic CEO thinks Windows is the only operating system and actively prevents Linux support and revoked Linux support from properties they bought.

    As a linux user, Valve will keep getting my money and I literally can't give it to Epic because they don't want it.

  • We Can’t Hire You. Developers’ Challenge
  • I avoid any company that requires a software test before the interview.

    I worked for a company that introduced them after I joined, I collected evidence all of the companies top performers wouldn't have joined since we all had multiple offers and having to do the test would put people off applying. The scores from it didn't correlate with interview results so it was being ignored by everyone. Still took 2 years to get rid of it.

    The best place used STAR (Situation Task Action Result) based interviews. The goal was to ask questions until you got 2 stars.

    I thought these were great because it was more varied and conversational but there was a comparable consistency accross interviewers.

    You would inevitably get references to past work and you switch to asking a few questions about that. Since it was around a situation you would get more complete technical explanations (e.g. on that project I wrote an X and Y was really challenging because of Z).

    I loved asking "Tell me about something your really proud off". Even a nervous junior would start opening up after that question.

    After an hour interview you would end up with enough information you could compare them against the company gradings (junior, senior, etc..).

    This was important because it changed the attitude of the interview. It wasn't a case of if the candidate would be a good senior dev for project X, but an assessment of the candidate. If they came out as a lead and we had a lead role, lets offer them that.

  • A new Type of Mastodon Signup that gives people a sense of Agency
  • If you signup to social media it will pester you for your email contacts, location and hobbies/interests.

    Building a signup wizard to use that information to select a instance would seemto be the best approach.

    The contacts would let you know what instance most of your friends are located (e.g. look up email addresses).

    Topic specific instance, can provide a hobby/interests selection section.

    Lastly the location would let you choose a country specific general instance.

    It would help push decentralisation but instead of providing choice your asking questions the user is used to being asked.

  • 10 months later bill revisits his spaghetti code. forgets absolutely everything and refuses to elaborate. this wouldn't have happened if Bill forgot to comment on his code
  • Basic rule if someone claims X magically solves a problem they don't follow X and are a huge generator of the problem.

    For example people who claim they don't need to write comments because they write self documenting code are the people that use variable names x1,x2,y, etc..

    Similarly anyone you meet claiming Test Driven Development means they have better tests will write code with appalling code coverage and epically bad tests.

  • UK faces Ferrero Rocher shortage over Christmas
  • The butler informed me Kinder Eggs don't make a nice pyramid, Lindt doesn't stack and suggested I would offend her ladyship if I tried Heroes.

    I have the staff practicing making a house of cards using After 8's, the butler thinks its something those terrible colonialists would try but he sees no other option

  • UK faces Ferrero Rocher shortage over Christmas
  • One type of sweet!

    Candy is the generic American word for sweets. American's think chocolate should include stale milk and use Fructose! (cancer causing, obesity driving) Fructose in everything.

    One could easily argue American candy has nothing in common with UK sweets (have you tried an American Kit Kat?).

    Its like serving a German a Richmonds sausage, they'll get confused.

  • Do the people in Reniassance festivals occurring in Britain also speak with faked British accents, or do they use faked French/Italian accents instead?
  • Thats two hundred years and would cover the end of Plantagenet reign and the Tudor era.

    Henry VIII reign happened during that period, at the beginning of your time period everyone would be catholic and at the end Queen Mary of Scotts was executed because the idea of a Catholic on the throne was unthinkable.

    The UK is littered with castles and estates, normally they focus on specific historic events which happened at that location.

  • For all the doubters that Linux gaming is smoother and faster.
  • Nvidia drivers don't tend to be as performant under linux.

    With AMD instead of using the AMD VLK driver, you would use the RADV (developed largely by valve). Which petforms better.

    Every AMD card under linux supports OpenCL (the driver is more based on graphics card architecture) and you install it very easily. Googling it with windows found pages of errors and missing support.

    Blender supports OpenCL. I bet the 2x improvement is Blender being able to ofload rendering to the AMD graphics card.

    Also this represents the biggest headache in Linux, lots of gamers insist they can only use Nvidia cards. Nvidia treats linux as an afterthought as best or deliberately sabotages things at worse.

    AMD embraced open source and so Linux land is much nicer on AMD (and to a less extent Intel).

    The results here will probably be a DxVK quirk, lots of "Nvidia optimised" games have game engines doing weird things and the Nvidia driver compensates. DxVK has been identifying that to produce "good" vulkan calls.

  • Teach primary pupils real-world maths - Labour
  • Using real world applications is changing the problem (what are you trying to solve).

    My issue is teaching how you solve the problem.

    As an example the indian method to teach multiplication is to draw lines equal to the first number, then perpendicular lines equal to the second and then count the points they bisect (e.g. draw 3 horizontal and 3 vertical lines and they cross 9 times).

    Lastly I coach people in Agile (its a way of delivering stuff). An Agile team is brought together because a Product Owner has a problem and a vision on how to solve it.

    The biggest factor in motivating a team and getting high performance is the product owners passion for their vision. You can have the most interesting problem in the world, if the product owner doesn't care neither does the team.

    I suspect the same is true of teaching

  • Windows: we noticed that you kept the useless search bar disabled since 2015, so we sent an update that re-enabled it without your permission
  • Mint was a reaction to Gnome 3, the unique workflow upset a lot of people and the people behind Mint decided to build Cinnamon desktop (its Gnome 3 made to look/work like Gnome 2). They needed a distribution to build/test their work and so based a distribution off of Ubuntu and called it Mint.

    As a bit of explanation, there are only a few projects which attempt to build an entire linux distribution from scratch. This involves finding code from thousands of sources, work out packaging, etc.. We call these 'base' distributions, Debian is the base distribution for Ubuntu, Ubuntu is the base distribution for Mint.

    Ubuntu tends to be slightly ahead of Debian in the software versions it uses and automatically enables the 'non-free' repositories. Ubuntu tends to push some Canonical specific things like Snaps (which everyone hates)

    I believe Mint rolls the Canonical specific things out of Ubuntu and you get the latest version of Cinnamon.

    Its all a bit...

  • Windows: we noticed that you kept the useless search bar disabled since 2015, so we sent an update that re-enabled it without your permission
  • If its for work I would suggest picking a "stable" distribution like Debian, Kubuntu or OpenSuse.

    A lot of people recommend Arch or Fedora but the focus of those is getting the very latest releases, which increases your chance of stuff breaking.

    A lot of people will suggest niche distributions, those can be great for specific needs but generally you will always find Debian/Ubuntu/RHEL support for commercial apps.

    I would also suggest looking at the KDE Desktop, many distributions default to Gnome but it is unique in how it works, KDE (or XFCE) will provide a desktop similar to Windows 11.

    Lastly I would suggest looking at Crossover Linux by Codeweavers.

    Linux has something called WINE, its an attempt to implement the Windows 95 - 11 API's so windows applications can run on linux.

    WINE is how the Steam Deck/Linux is able to play Windows games. Valve embedded it into Steam and called it "Proton".

    WINE is primarily developed by Codeweavers and they provide the Crossover application that makes setting up and running a Windows application really easy.

    People will mention Lutris but that has a far higher learning curve.

    There is an application database so you can see in advance if your applications would work:

  • Teach primary pupils real-world maths - Labour
  • Not really.

    There are multiple ways to approach and conceptualise multiplication, division, simultaneous equations, binomial distribution, probability, etc..

    I have met a few maths geniuses and we teach Maths the way they think and conceptualise Maths.

    In my last job I was viewed as a superstar because I could take the algorithms the data scientists produced and explain them to non data scientists.

    I didn't change the underlying maths, I tailored what to explain and examples to use based on my audience. This tended to get people really excited at what the data scientists had done.

    Its the same with teaching, people need to understand and conceptualise a problem in a way that makes sense to them.

  • Teach primary pupils real-world maths - Labour
  • The issue is we only teach one method for approaching Maths so if you don't get it, tough.

    In primary and secondary school I always struggled with Maths. During university I spent most of my energy reverse engineering the maths lessons so I could understand them.

    Years later my sister was struggling with her Maths GCSE, I spent one evening explaining how I solve each type of problem. She went from a projected D to getting an A.

    I was explaining this to an ex maths teacher who started asking how I approached things. Apparently I used the Indian method for one type of problem, the asian for anouther, etc..

    The idea a student was struggling with one way of solving the problem and teaching them alternative methods never occurred because it was "outside the curriculum".

    These days I quite like Maths puzzles.

  • Ten Forward Shenanigans
  • This has to be THE dad joke meme format

  • Python developers won’t let go of Python 2
  • Python's public API changes subtly, so minor changes in Python version can lead to massive changes in the version of dependencies you use.

    A few years ago we developed a script to update Cassandra on Python 2.7.Y. Production environment used Python 2.7.X (it was 5 patch releases earlier).

    This completely changed the cassandra library version. We had to go back 15 patch releases which annoying resulting in a breaking change in the Cassandra libraries API and wouldn't work on the dev environments Python.

    Python 3 hasn't solved this, 2 years ago I was asked to look at a number of Machine Learning projects running in docker. Upgrading Python from 3.4 to 3.8 had a huge effect on dependencies and figuring out the right combination was a huge pain.

    This is a solved problem in Java, Node.js has the same weakness but their changes to language spec are additive so old code runs on new releases (just not the inverse). Ruby has exactly the same issues as Python

  • *Permanently Deleted*
  • This advice isn't grounded in reality.

    Management normally defines ways to track and judge itself, these are typically called Key Performance Indicators.

    KPI's are normally things like contract value growth, new contracts signed, profit margin, etc..

    So if the project manager is meeting or exceeding their KPI's and you walk up to their boss telling them the PM is failing as basic job functions, the boss won't care.

    This is because the boss might have set the KPI's or the boss might also be judged on them. In either situation its to the bosses advantage to ignore you.

    The boss will only care if there is a KPI you can demonstrate the PM failing to meet.

    Every person/group will have various incentives and motivations. To affect change you have to understand what they are.

  • Lightweight document store

    Does anyone know of a document store than can run in memory like HsqlDB or configured to run on little resources (similar to postgres)?

    I have written a dockerised set of Java services, most of them have fixed data structures and so I have used Hibernate with HsqlDB/Postgres for them, however..

    The idea is to construct dynamic data processing pipelines which each add microformats for analysis if this takes place.

    This means the resulting objects can be quite different, normally I would use a document store like MonogoDB or Elastic Search but...

    I want developers/data scientists to be able to spin everything up on their development machine and machine learning models are often insanely RAM intensive.

    So I want something I can use that keeps its memory/cpu footprint low, it doesn't need to be performant since its for development and the production instance can use something better.

    Selfhosting stevecrox

    How are people doing HTTPS?

    I have a PC I have installed Portainer on, with various docker services (home assistant, jellyfin, etc..) with an ISP supplied router fixing various device IP addresses and reaching out to dyndns.

    I really want to move everything over to HTTPS connections by supplying certificates, tls termination, etc . The issue I have is self signed certificates mean I have to manage certificate deployment to everything in the house.

    I figure I need to link a domain to the DynDNS entry and arrange certs for the domain. However I can't make the link function and everywhere wants \>£100 to generate a certificate.

    How are people solving this issue?

    NonCredibleDefense stevecrox

    The Myth of Wittmann

    /kbin meta stevecrox

    Does anyone else feel the general lemmy instances are noise?

    I quite value content from targetted instances, but most of the "general" instances seem to be memes, posts on boosting lemmy, memes, reddit, memes bot posts, memes, reddit, memes, discussion on lemmy mobile applications, memes reddit, memes, and people talking about how the lemmy changed their lives oh and memes.

    I would browse hot on reddit as a way to see things outside my subscribed bubble but I have given up. The signal to noise ratio is terrible.

    Is anyone else experiencing this? How are you discovering magazines?


    I am trying to write a Bootstrap equivalent to Material React Table using the Bootstrap framework.

    I am trying to write a Bootstrap equivalent to Material React Table using the Bootstrap framework.

    As part of that I want to implement a series of Storybook examples to confirm I haven't broken rendering. But I am hitting an issue.

    I am using generics to define the table objects so I can setup more complex calls and operations like so:

    export type RBTColumnDefs<TData extends Record<string, any> = {}> = RBTColumnSizing & { accessorFn?: (originalRow: TData) => string; accessorKey?: keyof TData; }

    I've created a basic data object type and constructed test data, however when I use storybook e.g.:

    const meta = { title: 'react-bootstrap-table/Table Menu Bar', component: RBTMenuBar, tags: ['autodocs'], args: { ...searchableArgsRBTData, }, } satisfies Meta<typeof RBTMenuBar>;

    Storybook will instantiate RBTMenuBar with the generic type {}, instead of the generic type I want the default arguments to contain.

    Does anyone know how you get around this?

    \#react #storybook #webdev #bootstrap


    Best Website documentation tool?

    I am used to Java/Maven which has a command "mvn site". This lifts project information, documentation and analysis to build a website like this.

    What are people using in Node.js projects?

    Gaming stevecrox

    Stellaris Sale, what would you pick up?

    I enjoy playing Stellaris, I have the base game and have slowly been learning how to while not win .. not loose horribly.

    There is mountains of DLC and most of it is on sale. Is there anything people particularly recommend?

    My focus has always been evolving through the tech tree and trying to build good enough defenses to hold the enemy at bay (learning you could customise ships was a game changer for me).


    Interview with a Postdoc, Junior Python Developer

    Honestly I swear I have met 5 of this person in real life. Share because its genius

    Selfhosting stevecrox

    Best way to sync photos from phones?

    How is everyone syncing photos/videos from andriod phones?

    Also what are people using to manage/view/arrange the photo collections?