cyclohexane

joined 2 years ago
MODERATOR OF
[–] cyclohexane@lemmy.ml 8 points 6 months ago (5 children)

The tweet does not claim to summarize the entire conflict, but only promote the undeniable fact that it is a genocide.

[–] cyclohexane@lemmy.ml 25 points 6 months ago (29 children)

It being a war doesn't negate the simple conclusion that it is a genocide. If you have reason to deny that, you should provide proper reasoning rather than the hand wavy "it's a war, surely it has to be complex!". There are complex aspects to a war that do not negate the simplicity of classifying it as a genocide. The conclusion is simple due to the mountains of undeniable evidence.

[–] cyclohexane@lemmy.ml 1 points 6 months ago (3 children)

It does. Literally the president of the United States as a prime example.

[–] cyclohexane@lemmy.ml 2 points 6 months ago (1 children)

I agree that I am not a fan of this format, but the original comment implied skepticism about the information because of the format, rather than merely expressing discontent with the format.

[–] cyclohexane@lemmy.ml 11 points 6 months ago (3 children)

Pro-tip: you can use a search engine to confirm information.

On Experts saying it, this is one example: https://www.reuters.com/world/middle-east/un-expert-says-israel-has-committed-genocide-gaza-calls-arms-embargo-2024-03-26/

On Israel saying it, this has enough for you to start your research: https://apnews.com/article/israel-palestinians-south-africa-genocide-hate-speech-97a9e4a84a3a6bebeddfb80f8a030724

[–] cyclohexane@lemmy.ml 29 points 6 months ago (20 children)

if you stop the "genocide", innocent people will still die (Oct 7).

This implies genocide started after October 7th. Please do basic research on the issue and you'll find that's not true. I'm happy to provide you links if you need.

[–] cyclohexane@lemmy.ml 0 points 6 months ago

maintaining democracy

What definition of democracy are we using here? Just so we're on the same page.

I do not think trump was making a meaningful change on that level, in any case. The US never had a true people's rule it that's what you mean, for trump to take it away.

Gaza is not the only issue.

[–] cyclohexane@lemmy.ml 0 points 6 months ago

maintaining democracy

What definition of democracy are we using here? Just so we're on the same page.

I do not think trump was making a meaningful change on that level, in any case. The US never had a true people's rule it that's what you mean, for trump to take it away.

Gaza is not the only issue.

[–] cyclohexane@lemmy.ml 0 points 6 months ago (3 children)

they are also clearly not a Biden supporter. They do not support either candidate, so the two options should be treated equally.

[–] cyclohexane@lemmy.ml 7 points 6 months ago

For XMPP, have you looked into using snikket? It does most things you'd want out of the box without having to setup extensions yourself.

 

Yes, I know so much of Alpine's lightweightness comes from not using glibc.

But still, the other options I see are far from being slimmed down. Debian, Ubuntu server, CentOS... They all could use some cuts.

What's the most slimmed down non-desktop distro that still has a glibc base? I honestly don't care if it has its own package manager (build tool handles this for me). Just wanna use it in containers for running server apps.

 

Some backend libraries let you write SQL queries as they are and deliver them to the database. They still handle making the connection, pooling, etc.

ORMs introduce a different API for making SQL queries, with the aim to make it easier. But I find them always subpar to SQL, and often times they miss advanced features (and sometimes not even those advanced).

It also means every time I use a ORM, I have to learn this ORM's API.

SQL is already a high level language abstracting inner workings of the database. So I find the promise of ease of use not to beat SQL. And I don't like abstracting an already high level abstraction.

Alright, I admit, there are a few advantages:

  • if I don't know SQL and don't plan on learning it, it is easier to learn a ORM
  • if I want better out of the box syntax highlighting (as SQL queries may be interpreted as pure strings)
  • if I want to use structures similar to my programming language (classes, functions, etc).

But ultimately I find these benefits far outweighed by the benefits of pure sql.

 

Podman is a lot like Docker: a tool for running OCI containers. While it maintains backwards compatibility with Dockerfile and docker-compose syntax, it offers a lot of other benefits:

  • daemonless: it can run containers without a daemon process running in the background.
  • Rootless: can run containers without root privileges
  • pods: can group containers into secluded pods, which share resources and network namespace

Podman has other features I haven't explored yet, like compatibility with Kubernetes yaml file, and being able to run containers as systemd units.

Have you used podman before? What are your thoughts on it?

 

There was a time where this debate was bigger. It seems the world has shifted towards architectures and tooling that does not allow dynamic linking or makes it harder. This compromise makes it easier for the maintainers of the tools / languages, but does take away choice from the user / developer. But maybe that's not important? What are your thoughts?

 

In a lot of projects, this is usually done via README. It tells you what running dependencies to install and how to run certain commands.

This can get harder to maintain as things change, the project grows, and complexity increases.

I see two parts to automate here: actually setting up the environment, and running the application or orchestrating multiple apps.

How do you address this?

 

why?

Because bash feels clunky to write and work with for anything non-trivial, especially compared to other scripting languages.

Why not another scripting language (no compile necessary)?

Because bash and sh are installed nearly everywhere. Any other scripting language means the user is required to have that installed, and that is far less likely to be the case.

If I could write my scripts in a nice syntax, but be sure my users will be able to use it effortlessly by distributing to them compiled versions, then that would make both of our lives easier!

Thoughts? Are there any languges that do this?

 

Hello all,

I am looking for suggestions for libraries to use on my project. It is a personal project, so I'm happy to experiment with lesser known or new libraries.

The application will be a mix of content-focus and client side interactivity (think to-do list with server side persistence).

My current approach is as follows:

  • Server side rendering on NodeJS with a template engine, complemented with client side scripting for interactivity (mostly vanilla JS)
  • Use liquidJS as template engine (any alternatives?)
  • Use fastify as the HTTP / Backend server with @fastify/view plugin for serving liquidJS (and other template engines)
  • use vanilla JS scripts for interactivity and DOM manipulation
  • use vanilla-SWR for data fetching, mutation and persistence on server side. Link: droyson/vanilla-swr

Any other suggestions?

 

React (and Vue, et al) was built with client side rendering in mind. It just does not seem to fit the server side rendering pattern.

What are the use cases? From my perspective, if your app is a rich web app with a lot of interactivity, you probably want CSR and don't benefit much from SSR.

If you have a content-centric site, or a site with some interactivity but not much, you want a static site generator, or SSR. But in that case, a template engine with some smaller client side libraries (jQuery or AlpineJS or idk what all is out there).

Using React SSR for all of these seems like the wrong tool. What am I missing?

 

suppose I enable CONFIG_CMDLINE_BOOL=y and CONFIG_CMDLINE="...", but I also add a cmdline using efibootmgr via -u option, which one takes precedence and gets executed?

Does an initramfs make this more complicated? does it also have its own cmdline?

 

The majority of Linux distributions out there seem to be over-engineering their method of distribution. They are not giving us a new distribution of Linux. They are giving us an existing distribution of Linux, but with a different distribution of non-system software (like a different desktop environment or configuration of it)

In many cases, turning an installation of the base distribution used to the one they're shipping is a matter of installing certain packages and setting some configurations. Why should the user be required to reinstall their whole OS for this?

It would be way more practical if those distributions are available as packages, preferably managed by the package manager itself. This is much easier for both the user and the developer.

Some developers may find it less satisfying to do this, and I don't mean to force my opinion on anyone, but only suggesting that there's an easier way to do this. Distributions should be changing things that aren't easily doable without a system reinstall.

 

It seems that around July 15th, the repo for Barinsta, the FOSS instagram frontend that was abandoned about 1-2 years ago has been taken down.

The repo was hosted on codeberg, after the original author took the github repo down. The second maintainer moved the repo to codeberg, but it seems little was done to maintain it. The second maintainer seems to have deleted previous blog posts about barinsta as well.

I have the repo backed up locally (hence why I noticed), but it does not work in its current state.

Its probably not worth using instagram anyways

 

hello friends,

I am looking for a way to do what I described in the title. When running command command, I dont want to have to type SOME_ENV_VAR=value command every time, especially if there are multiple.

I am sure youre immediately thinking aliases. My issue with aliases is that if I do this for several programs, my .bashrc will get large and messy quickly. I would prefer a way to separate those by program or application, rather than put them all in one file.

Is there a clean way to do this?

view more: ‹ prev next ›