dessalines

joined 5 years ago
MODERATOR OF
[–] [email protected] 8 points 1 month ago* (last edited 1 month ago)

It's funny when the western supremacists themselves try to claim that supporting communist countries is a uniquely western phenomenon, when its the opposite, it's the US and its vassals demonizing Cuba, China, and the USSR.

The CPC has over 90 million members, every socialist country like Cuba and nearly every communist party on the planet supports and looks up to the CPC as a model for the 21st century. Even most non-communist global south countries look up to it.

[–] [email protected] 4 points 1 month ago

It'd be hard to quantify, but I'm sure some statistics person could compare transportation methods, that includes speed, distance, energy usage, population, capacity, and probably a few more, per capita.

You could isolate it to a country's top X biggest cities, and how traveling between them compares in all those metrics.

[–] [email protected] 7 points 1 month ago

Organizing tasks in pomodoros (which is really close to your method), is a great way to do things.

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

Change the full-rescan interval to monthly, or yearly even, problem solved.

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

You can set it to do full scans however often you like, even monthly.

[–] [email protected] 14 points 1 month ago* (last edited 1 month ago) (4 children)

Spain and France especially seem to be doing a good job building high speed rail:

[–] [email protected] 20 points 1 month ago* (last edited 1 month ago) (2 children)

Actually planning for the future if something the US can't even fathom doing. Remember this fearmongering article from the daily mail about a "ghost" subway station in Chongqing?

Here it is now:

Western countries look at China building a city where no people are, and project waste, when in reality its just the PRC properly planning and building cities, anticipating housing and infrastructure, before they need them.

Meanwhile the US doesn't do anything beforehand and cities become a sprawling suburb, car-centered wasteland. They let private capital seeking short-term profits build their cities, and turn the country into a wal-mart parking lot.

[–] [email protected] 1 points 1 month ago

You should let them know, they might need your expertise.

[–] [email protected] 14 points 1 month ago (4 children)

Yes, this is a map of what was completed in 2018. China isn't the US, they don't give billions of dollars of public funds to grifters like Elon Musk, they actually build things.

As an example, China used more concrete for building projects from the years 2011-2013, than the US used in the entire 20th century.

[–] [email protected] 4 points 1 month ago (1 children)

This is completely false. If you're uninsured, a visit is less than ~5 USD per doctors visit, and about ~20 USD for a specialist visit.. If you're insured, as 95% of the population in China is, then visits are free. It also has a very low cost per capita, since public health is socialized, not privatized.

Primary school is completely free, and college has tuition fees just like any other country.

Got any more of "I heard it from a friend?", that people can upvote to affirm their racist biases?

[–] [email protected] 2 points 1 month ago

Wrong, and it's clear you read none of the links above. Especially this one: https://archive.ph/DwD1n

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

Okay so basic western supremacy, gotcha.

Redditors going from zero to rudyard kipling in 5 seconds.

 

This is an opportunity for any users, server admins, or interested third parties to ask anything they'd like to @[email protected] and I about Lemmy. This includes its development and future, as well as wider issues relevant to the social media landscape today.

 

cross-posted from: https://lemmy.ml/post/2540874

What is Lemmy?

Lemmy is a self-hosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top.

Major Changes

This version brings major optimizations to the database queries, which significantly reduces CPU usage. There is also a change to the way federation activities are stored, which reduces database size by around 80%. Special thanks to @phiresky for their work on DB optimizations.

The federation code now includes a check for dead instances which is used when sending activities. This helps to reduce the amount of outgoing POST requests, and also reduce server load.

In terms of security, Lemmy now performs HTML sanitization on all messages which are submitted through the API or received via federation. Together with the tightened content-security-policy from 0.18.2, cross-site scripting attacks are now much more difficult.

Other than that, there are numerous bug fixes and minor enhancements.

Support development

@dessalines and @nutomic are working full-time on Lemmy to integrate community contributions, fix bugs, optimize performance and much more. This work is funded exclusively through donations.

If you like using Lemmy, and want to make sure that we will always be available to work full time building it, consider donating to support its development. No one likes recurring donations, but they’ve proven to be the only way that open-source software like Lemmy can stay independent and alive.

Upgrade instructions

Follow the upgrade instructions for ansible or docker. There are no config or API changes with this release.

This upgrade takes ~5 minutes for the database migrations to complete.

You may need to run sudo chown 1000:1000 lemmy.hjson if you have any permissions errors.

If you need help with the upgrade, you can ask in our support forum or on the Matrix Chat.

 

What is Lemmy?

Lemmy is a self-hosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top.

Major Changes

This version brings major optimizations to the database queries, which significantly reduces CPU usage. There is also a change to the way federation activities are stored, which reduces database size by around 80%. Special thanks to @phiresky for their work on DB optimizations.

The federation code now includes a check for dead instances which is used when sending activities. This helps to reduce the amount of outgoing POST requests, and also reduce server load.

In terms of security, Lemmy now performs HTML sanitization on all messages which are submitted through the API or received via federation. Together with the tightened content-security-policy from 0.18.2, cross-site scripting attacks are now much more difficult.

Other than that, there are numerous bug fixes and minor enhancements.

Support development

@dessalines and @nutomic are working full-time on Lemmy to integrate community contributions, fix bugs, optimize performance and much more. This work is funded exclusively through donations.

If you like using Lemmy, and want to make sure that we will always be available to work full time building it, consider donating to support its development. No one likes recurring donations, but they’ve proven to be the only way that open-source software like Lemmy can stay independent and alive.

Upgrade instructions

Follow the upgrade instructions for ansible or docker. There are no config or API changes with this release.

This upgrade takes ~5 minutes for the database migrations to complete.

You may need to run sudo chown 1000:1000 lemmy.hjson if you have any permissions errors.

If you need help with the upgrade, you can ask in our support forum or on the Matrix Chat.

 

For any UI devs:

I've starting working on a lemmy front end called lemmy-ui-leptos using leptos, a Rust UI framework with isomorphic support, and tailwind + daisyUI for the component styling. This could eventually replace the frankenstein's monster that lemmy-ui has become.

Some reasons for doing this:

  • lemmy-ui uses infernojs, which is based on the react model. IMO is largely superseded by signal-based reactivity in use in android jetpack-compose, SolidJS, and most new UI frameworks.
  • I had to hack on isomorphic support / server-side-rendering to infernoJS, and it's very messy. Leptos has isomorphic support out of the box.
  • All the benefits of Rust over javascript.
    • Since leptos is in Rust, we can import the lemmy types directly.
    • I've been waiting for years for a good rust UI framework, and I think we're finally here with leptos or sycamore.
  • lemmy-ui uses bootstrap, which is showing its age and limitations. Tailwind (and daisyUI) seem to be much more future-proof.

I plan on leaving the site design and component styling to other, more skilled UI devs, while I work mostly on the auth, services, params, and overall back-end structure.

  • Please use daisyUI classes tho whenever possible over exhaustive tailwind ones.
  • I'd also like it if the UI could match that of jerboa's (whenever possible), so that a change in one could be represented in the other, and so that things like badge appearance for admins, could be recognizeable across lemmy's front ends.

You don't really need to learn rust to help out with this, as the components look very similar to JSX. Instructions for running it are in the CONTRIBUTING.md . Feel free to contribute!

Right now only the home page, and post pages are working, but ready to be styled.

view more: ‹ prev next ›