Skip to main content






New Package Management Tool Debuts




How to change context menu in "linux"


I want code to right click context menu on a file
and if it is a .mp4, then convert that to a .mp3 of the same name

also include an option to play faster by +25 +33 +50 or slower by -25 -33 -50 (in a sub menu)

I understand this is different depending on your system, so answer how to do it for the people who use the same system as you



Wonder who will TIL this


Sometimes people perplex me in that some of the most fundamental things aren't known to the newer generations (albeit, some of the older ones too, but not nearly as many). Nonetheless, I bet there are people that will TIL this! And you know what, have at it, obtain that knowledge 👍
in reply to Jourei

it aint fun when the sun is up only a few hours a day for months. during work hours. you are tired and depressed because you see daylight only on weekends.

and then in the summer you don't see dark nights for months, so you are tired because the night never comes and bedtime is all messed up.



CERN’s Large Hadron Collider finds the heaviest antimatter particle yet


This entry was edited (1 week ago)
in reply to Skua

The article doesn't mention neutron stars. Those exotic particles need very high energies like shortly after the big bang.
in reply to scrooge101

It doesn't, but hyperons are theorised to exist more stably in neutron stars

in reply to ☆ Yσɠƚԋσʂ ☆

The personnel shortage has soured relations between Kyiv and Washington over recent months. Officials in the Biden administration felt irritated that Zelenskyy and other officials frequently demanded more weapons, but were unable to mobilise the requisite manpower to fill the ranks.


19476500

By drawing these six maps, you can create a permaculture site design that maximizes your efforts for a low-maintenance garden or landscape.

zelf reshared this.



I don't understand this file pathing


Hi, I'm trying the desktop Grayjay app and it seems to work fine.

I just have to keep locating the app in folder whenever I want to launch it so I found out how to make it appear in the GNOME Apps and launch it there.

However it requires me to copy 2 folders (cef,wwwroot) from the app folder into my "/home/werecat" folder and I don't understand why when it can launch just fine from the executable without me having to do that.

Any idea on what I'm missing or doing wrong? The main goal is to add the app to my Dash to Dock.

in reply to WereCat

Try adding a PATH=/home/werecat/Grayjay line to your .desktop file. Without it the application will run with your home directory as your working-directory...and there the data files are missing (Why you need to copy them to your home). The path entry makes the program work in /home/werecat/Grayjay where the data directories actually are.

Edit: That is assuming when you started it manually you did a cd Grayjay and a ./Grayjay or similar. So you changed your working directory there first before starting it. If that is not the case ignore my post ;)

This entry was edited (2 weeks ago)
in reply to Aiwendil

Yeah this looks right. The program is launching other tools, in this case when it gets to CEF (chromium embedded framework) it is looking in the default path it's picked up when the .desktop file is launching it. So it's essentially looking directly under /home/werecat/ instead of where the /Greyjay programme is running from.

So if you specify the path in the .desktop file it should fix the problem.

An alternative route of that doesn't fix it might be to edit any config files (if it has them) to ensure they explicitly point to the correct Grayjay directory.

in reply to BananaTrifleViolin

Yeah, I've tried finding the config file to edit the path as the first thing but I could not find it. Adding the Path as was suggested worked after removing TryExec.
This entry was edited (1 week ago)
in reply to Aiwendil

Thanks, that actually worked even though it did not at first.

I've tried to also do export PATH=/home/werecat/Grayjay:$PATH but that did not work either. And finally I had to remove the TryExec for some reason for the Path to start working.

It launches now with Terminal even though I've set it to 'false' but at least it runs.

in reply to WereCat

Just to make this clear (Sorry if it's unnecessary, but maybe still useful info for others)...Path= lines in .desktop files are not related at all to the $PATH environment variables. They do something completely different (And yes, picking Path as key was a terrible choice in my view). Path= lines in .desktop files change the current working directory...they do about the same as a cd <directory> in a shell.

They do not change where a .desktop file looks for executables....only indirectly if a executable runs another file relative to the current directory or looks for images/icons/audio/other data relative to the current working directory.

And I have no clue why it doesn't work with TryExec...the desktop file spec doesn't mention anything about that :( ( specifications.freedesktop.org… )

This entry was edited (1 week ago)



Billionaires want you to know they could have done physics



in reply to Knock_Knock_Lemmy_In

It has two sources of funding (taxes being the second) and there isn’t a middle man skimming a cut while paying older participants simply with new participants’ money while claiming their money is invested to generate money to pay them all out. The entire point of a Ponzi scheme is you are pretending there is money being generated that isn’t, you are just using new victims money for as long as possible until the music stops. They literally make up numbers to cover their tracks. It’s a fraudulent enterprise by design.

It is not a Ponzi scheme. It is literally not a Ponzi scheme by definition. You are making up your own rules and definitions because of how it feels to you. Do I think it is flawed and not a great way of handling these funds if you want them to be steady in the longterm? Absolutely. But it is not a Ponzi scheme.

I’m done man.

This entry was edited (1 week ago)
in reply to LandedGentry

It has two sources of funding


Taxes is the same source of funding. Workers.

there isn’t a middle man skimming a cut


Er. The government.

The entire point of a Ponzi scheme is you are pretending there is money being generated that isn’t.


Exactly. State Pensions are promised but there is no money held aside for them.

It is literally not a Ponzi scheme by definition.


I've already given you the Ponzi literature, and shown that PAYG pensions satisfy the description.

I’m done man.


Cos, like your PAYG error, you just can't admit being wrong.


in reply to lnxtx (xe/xem/xyr)

What? Israel & the US have been trying to get Egypt to open the border for years in order to ethnically cleanse Gaza, permanently displacing Palestinians from Palestine.

in reply to ☆ Yσɠƚԋσʂ ☆

I'm hiding a homeless person in my home, which is risking eviction to keep someone off the streets. Here, most tenancies don't allow you to "sublet", the landlord legally gets the final say about who lives in their property.
in reply to ☆ Yσɠƚԋσʂ ☆

then why has china got so many homeless people?

don't like this

in reply to random

Not actually democratic, thus not socialist.

don't like this

in reply to explodicle

They don't as the links I provided clearly show. Maybe actually look at the sources before replying.
in reply to ☆ Yσɠƚԋσʂ ☆

That's a gish gallop, and the core premise that people believing it's democratic makes it so is incorrect.

~Edit: added link~

This entry was edited (1 week ago)

don't like this

in reply to explodicle

The very first article yogthos showed you, had a poll that showed half of usonians don't think their country is a democracy (they're right)

The US congress, its highest governing body, hasn't gotten over a 20% approval rating for many years.

This entry was edited (1 week ago)
in reply to Dessalines

You're deliberately avoiding the core premise that people thinking it's democratic means it's democratic.

don't like this

in reply to explodicle

This entry was edited (1 week ago)
in reply to explodicle

What makes you right and a bunch of people who actually live in China wrong?
in reply to MarxMadness

well you see civilized white people are inherently smarter than asiatic savages
in reply to random

Because China is capitalist, despite being formally led by a communist party. It has private property on means of production, and it is defining Chinese economy just like any other capitalist one. Socialism, by definition, requires social ownership of means of production, which is not the case in China; the term was appropriated and wrongfully used by US and several other countries to define economies with more state control and/or social policies, but this is simply not what socialism is.

Interestingly, China has entire ghost towns full of homes ready to accept people in - but, as in any capitalist economy, homes are seen as an investment, and state subsidies are low, pricing out the homeless. They have more than enough homes, they just chose to pursue a system that doesn't make homes and homeless meet.

This entry was edited (1 week ago)

don't like this

in reply to Allero

in reply to ☆ Yσɠƚԋσʂ ☆

Capitalism is not defined by how the poor are treated, but by the economic relationships and mode of ownership.

Nordic countries have low poverty and generally good social support. Like it or not, this is achieved with private property on means of production, hence they are capitalist.

China has private property on means of production, hence it too is capitalist.

Both of them feature strong state oversight, which allows them to direct more of the capitalist profits to help the poor - which is good! But this doesn't make them "socialist".

in reply to Allero

Capitalism is defined by which class holds power in society, and in China it's demonstrably the working class. The reason the economy works in the interest of the poor is a direct result of that.

All the core economy in China is state owned, and the role of private sector continues to decline piie.com/research/piie-charts/…

You might want to learn a bit about the subject you're attempting to debate here.

in reply to ☆ Yσɠƚԋσʂ ☆

This entry was edited (1 week ago)

don't like this

in reply to Allero

You have an infantile understanding of what capitalism is. I recommend reading this article to get a bit of a perspective redsails.org/china-has-billion…
in reply to Allero

This entry was edited (1 week ago)
in reply to Allero

in reply to Dessalines

  • A China misinformation Megathread.

🚫 Sorry, this post was removed by Reddit’s filters.


Thoughtcrime. web.archive.org/web/2020072715…

in reply to Allero

Love how you respond to a bunch of information from the World Bank, NYT, and the National Bureau of Economic Research with a definition from Wikipedia.

Consider that you could learn more here.

in reply to MarxMadness

Do any of the sources define socialism?

All of this could be true - none of this makes China socialist.

in reply to Allero

You said:

China is capitalist... It has private property on means of production, and it is defining Chinese economy just like any other capitalist one.


The response was a well-souced refutation of the idea that the Chinese economy is developing like a capitalist economy. You replied with Wikipedia. All I'm saying is that you're not looking at this in a whole lot of detail and you might have some things to learn.

For instance, you say Nordic countries have low rates of poverty and good social supports despite private ownership of the means of production. But in reality a lot of that is due to sovereign wealth funds, like Norway's Government Pension Fund Global, which is owned by the government and managed by a state-owned bank.

in reply to MarxMadness

This is all true - state intervention and state-owned businesses and funds bring about a positive change for the majority, and they should be there, but seriously calling those economies socialist would be missing the definitional mark, which is what I have highlighted.

I do believe that moving entire economy under public control would be beneficial, and that, actually, will be what can be called "socialism". Virtually no country, except for heavily sanctioned and blatantly tyrannical North Korea, is currently there.

What we have right now, with heavy state intervention, is certainly better than "free" market economy though, and it reflects in quality of life for the economically disadvantaged - this very intervention leads to these economies following a different path compared to traditional capitalist societies. I do not argue there is no difference between China and, say, US in that regard - the difference is big, it's just not what it takes to call the economy socialist.

in reply to Allero

in reply to MarxMadness

There are historical examples of completely and actually socialist countries, so it's not some impossible idealistic notion for me.

The transitory period of New Economic Policy lasted only a few years in USSR, and China under Mao was much closer to actual socialism than later under Deng Xiaoping.

And the trend of expanding government control over the economy only comes alive in the 2020's, roughly since the COVID-19 outbreak (just a milestone, not saying they are related). Previously, the trend was strongly on privatization of industries, with the share of state-owned enterprises falling from 80% to 30% in the previous decade, and it's too early to make any conclusions.

This entry was edited (1 week ago)
in reply to Allero

There are historical examples of completely and actually socialist countries


Such as?

in reply to Allero

They have more than enough homes, they just chose to pursue a system that doesn't make homes and homeless meet.


This is demonstratably false. China has one of the highest home ownership rates in the world, at ~90%. The US is at ~66% for comparison (and most of that isn't actually full ownership, but a debt to mortgage brokers).

Why do you white supremacists think its okay to spout any unsourced nonsense because it fits your racist biases?

in reply to Dessalines

This link does not disprove the point. Home ownership isn't the same thing, you can have families that rent, they aren't homeless either.

Using the same source there is twice as many homeless (relative to population) in china than in spain, for example.

I'm not trying to prove that the number is high in China, I don't know what's the average for all countries. However, claiming that there isn't a lot of homeless because 90% of the non homeless own their house is wrong.

This entry was edited (1 week ago)
in reply to Delzur

The source for that appears to be this article from 2011 : web.archive.org/web/2016093001…

Most of the poverty alleviation campaigns were well underway by 2012, so I'd be interested to see what those numbers are now.

But also, China is responsible for ~3/4ths of the reduction in world poverty via these campaigns.

Not to mention that if you've visited any Chinese city in the past few years, you won't see any of the slums or homeless that you see in the neoliberal countries.

in reply to Dessalines

I just used the same source out of simplicity, I didn't double check as that wasn't my point. It would indeed be better to have more recent numbers.

Not seeing homeless people doesn't mean they don't exist, seems like Japanese streets are mostly devoid of homeless people, but a lot of people seem to be living in cafes, to avoid ending up in jail as as far as I've understood, the government has a harsh policy towards that. Might be wrong on japan, but again, I'm not trying to point fingers to a country saying they are bad or good, it's the argument itself that I find "weak".

PS: just to be clear, I do feel that first of all, the OP should be the one trying to prove their saying. Nice of you to try and debunk it though

This entry was edited (1 week ago)
in reply to random

huh?

However, the people of China can afford to buy these extremely expensive properties. In fact, 90% of families in the country own their home, giving China one of the highest home ownership rates in the world. What’s more is that 80% of these homes are owned outright, without mortgages or any other leans.


forbes.com/sites/wadeshepard/2…

in reply to random

If China is socialist then Lipton is tea.

Look into the country on the shallowest level. They have socialist programs but, honestly...

This entry was edited (1 week ago)

don't like this

in reply to GHiLA

China is socialist. Socialist countries can have market economies and even capitalist economies, as long as the dictatorship of the proletariat ultimately controls all of the economy. Just a reminder China's killed multiple billionaires.
in reply to random

It doesn't, I have no idea where you're getting that from. China eliminated urban poverty over a decade ago (~2013), and rural poverty is nearly eliminated. Source.

Over the past 40 years, the number of people in China with incomes below $1.90 per day – the International Poverty Line as defined by the World Bank to track global extreme poverty– has fallen by close to 800 million. With this, China has contributed close to three-quarters of the global reduction in the number of people living in extreme poverty. At China’s current national poverty line, the number of poor fell by 770 million over the same period.


Another anti-China western source because we know white supremacists wouldn't accept any Chinese source about their poverty alleviation campaigns.

in reply to random

What is "so many"? Compared to whom?


darktable 5.0.0 released




darktable 5.0.0 released


reshared this

in reply to schnurrito

in reply to schnurrito

I like Darktable but found RawTherapee to be more usable. For me Darktable 4 was way too many clicks for what should be a one click - everywhere. But it is very powerful. Just the ui gave me headache


Scientifically sound YouTube channels


Greetings all!

There are a few YouTube channels I watch on a regular basis that I’d put in the science/math bin. Here are a few examples:

NileRed
Standup Maths
Steve Mould
AlphaPhoenix

I was wondering if anyone here had any recommendations for other science/math channels to follow or a resource that aggregates good channels. As a lay person, as in no college level education on these topics, I’m not sure I have the qualifications to determine if a channel is highly accurate or not. I think I’ve done a good job finding channels that are accurate but wanted to check in with folks that may be able to better determine that.

I’m particularly interested in astronomy, cosmology, and evolution.

in reply to FanBlade

Hyperspace Pirate is making something in his garage. I don't really know what, but involved cryogenics and electric arc furnaces.

Tech Ingredients seems to be gearing up to arm the resistance after the seven hours war.

Atomic Frontier is a young Aussie kid trying really hard and doing a great job of teaching pop science.

This entry was edited (1 week ago)
in reply to FanBlade

Skeptics Guide to the Universe. They're mostly a podcast but have good content on YouTube as well.