[-] [email protected] 2 points 2 years ago

The last part is why you use an IDE.

Several of them will ingest prettier files to build code formatting rules

IDE support is normally a good way to work out what the wider community is using.

[-] [email protected] 2 points 2 years ago* (last edited 2 years 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] 2 points 2 years ago

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] 3 points 2 years ago* (last edited 2 years ago)

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.

[-] [email protected] 2 points 2 years ago* (last edited 2 years ago)

The issue is end to end encryption.

The law change requires messaging applications to be able to provide messages between people using their service.

In the 00's, messaging applications would have a secure connection between themselves and person A and anouther secure connection between themselves and Person B.

Person A would encrypt the message, send it to the service, who would decrypt it, open a connection to Person B, encrypt the message and send to Person B.

So if the police got a warrent for communications of Person B (say the police think the person is involved in human trafficking), then the messaging service could provide all messages sent to Person B.

Message services have taken themselves out of the loop, Person A now encrypts the message and sends directly to Person B. So the police appear with a warrent and the message service shrugs its shoulders since it hasno means to get the data.

The law effectively requires messaging services to design the apps/service so they can comply with a warrent.

The issue is less encryption and more the balance between your right to privacy and states right to intrude.

This is why banks aren't upset, they aren't talking about back dooring encryption and bank encryption is between you and the bank so they don't have to do/say anything.

[-] [email protected] 2 points 2 years ago

See my goto is Java/Spring Boot or Typescript/TSOA.

I avoid Python because Setuptools/Twine/FastAPI/\ docs conflict and seems to change so creating a good practice project layout is a huge time sink and none of the Python devs I meet seem to understand it.

I am doing GoLang atm, its ok but dev adoption is low where I am and no one has shown me a killer library/framework and being controlled by Google I am waiting for them to get bored and kill it.

Spring Boot takes longer to get going than TSOA/Express but hibernate makes SQL interactions trivial. I love typescript but types makes complex NoSQL queries far more convoluted than Java equivalents (its because Types can't inherit and client libraries don't use interfaces). So TSOA rocks in cases of speed or simplicity.

[-] [email protected] 2 points 2 years ago

You miss the point about Sync.

You don't need sync, you need a cloud storage solution that works with linux.

Its being willing to step back in that way which will help you transition.

[-] [email protected] 3 points 2 years ago

Gitlab marketing docs heavily mislead you on its capabilities. Technically they are correct, but the way something works is reality isn't often useful (epic boards are a great example).

This would be ok, but It's really tightly integrated and doesn't provide means for external tools to hook into it usefully.

For example I think GitLabs CI is the worst on the market but if you integrate another CI you don't have a means to feedback information into Gitlab.

[-] [email protected] 2 points 2 years ago

Activity Pub has a few parts, Lemmy implements the Threaded message part.

Mastodon implements a short messaging (posts) part. Meta's Threads will implement this.

KBin implemented both parts, within KBin you'll see microblog as an option for magazines (communities/subredits). This shows either 'posts' made to the magazine or posts with hastags associated with the magazine.

The posts and threaded message parts have overlap in how they work so mastodon users can see certain threaded messages and comment on them.

[-] [email protected] 2 points 2 years ago* (last edited 2 years ago)

I think there is a focus on C/C++ to justify Pythons performance.

There have been times when the performance of Node js/Python were part of the reasoning for choosing Java/Scala.

Each time you are regaled with how Python is C/C++ underneath and so faster. Each time you have to ask if they will write C/C++ libraries to ensure the application performance meets our needs.

Similarly any time you go near lambas you get a comment on how python lambdas are faster because its C running, where as Java has to start a virtual machine, etc..

3 different companies samething

[-] [email protected] 2 points 2 years ago

Most people don't pay attention to things around them and don't tend to care unless it directly impacts them.

As long as you and other mods are carrying on in your roles, these people have no motivation to move.

If the subbreddits stop being moderated it will generally degrade the experience, people will become impacted and then be forced to take notice.

This is the gamble, someone might step up, they might decide leaving reddit is too high a price or you might cause people to migrate.

view more: ‹ prev next ›

stevecrox

0 post score
0 comment score
joined 2 years ago