stevecrox

joined 1 year ago
 

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?

 

Does anyone else get Secure Connection failed errors when connecting to kbin.run?``

[–] [email protected] 1 points 10 months ago (1 children)

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

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago) (1 children)

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).

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago)

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.

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (1 children)

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.

[–] [email protected] 7 points 10 months ago (2 children)

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.

[–] [email protected] 19 points 11 months ago

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.

[–] [email protected] 7 points 11 months ago (4 children)

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.

[–] [email protected] 1 points 11 months ago

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.

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago)

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

[–] [email protected] 2 points 1 year ago (1 children)

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.

[–] [email protected] 6 points 1 year ago

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.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

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.

 

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.

 

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?

 

In terms of wehraboo worship culture, few have ever obtained the status of unquestioned Godhood quite like SS tank commander Michael Wittmann. Even notable h...

 

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.

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

 

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?

 

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).

 

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

 

How is everyone syncing photos/videos from andriod phones?

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

view more: next ›