West Asia - Communist - international politics - anti-imperialism - software development - Math, science, chemistry, history, sociology, and a lot more.

  • 25 Posts
  • 125 Comments
Joined 2Y ago
cake
Cake day: Dec 27, 2021

help-circle
rss

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.


You’re still too busy analyzing the motives or agenda of the author instead of evaluating the information. Of-fucking-course the Syrian state TV is going to have an agenda that… Surprise: agrees with state policy. This is not the revelation you think it is.

Guess what? Every source has a bias or agenda. For many it is money related. If you take any source for granted, you’d be a fool. Analyze the information for what it is.

Now, the US is indeed stealing. There have been several videos posted before, and local witnesses arresting to it. This has nothing to do with whatever you think it is framing. This is actually happening.

The US isn’t robbing Syrians at gunpoint

What the hell do you call installing your literal military and building 14 bases (more US bases per square mile of any similarly-sized region in the world), and has initiated multiple attacks on Syria since?

It’s only considered theft because the people eating and using the fuel are ethnically undesirable.

Maybe to you. To me, it is considered theft because the oil fields which were once keeping all Syrians warm, cooking, and supplying them with electric power is now being given to an occupying military while most Syrians are struggling for a drop of heating or cooking oil, many dying of the winter cold.


When did the people of Aleppo hand over land to Russia? You do realize the SDF collaborated with Russia and even hosts a Russian military base?

Also, the Assad government, despite all its horrors and corruption, actually cooperates with the SDF on a moderate level. There is already some trade between the two, and they fought side by side on a few occasions.


There’s no way you don’t believe the US is in Syria? They do not make it a secret. I’m happy to provide you with a wealth of instances where the US admits this.


maybe for a good reason

There’s literally no good reason

The US coalition’s bombings has been far more cruel than even the Syrian regime and ISIS. Just compare the size of the destruction, the number of destroyed buildings between the liberation of Raqqa vs the battle of Aleppo. Despite Aleppo being a much bigger city, and the fight being far more fierce, Raqqa had far more destruction and was raised to the ground.

I agree with you that the SDF does not have many friends, and I support them in milking as much US aid as they can. But selling off the oil when most Syrians are struggling for a drop of oil is cruel, and we should not accept this.


For starters: “US troops loot Syrian oil and wheat continuously”


who are keeping detained ISIL under lock and key

Yeah I am not going to excuse a US occupation with ISIS as pretext when it was the US that sponsored ISIS’ creation.

I’m completely lost about your last paragraph. It sounds like you’re assuming I have some stances that I do not. I support Kurdish autonomy and independence. Tying that into letting more people in non-US-occupied regions fight for a drop of heating or cooking oil is ridiculous. It doesn’t have to be one or the other.


Ahh, it’s only crude oil? That makes it all legitimate then /s

It’s not a grand conspiracy. It’s an occupation and illegitimate military intervention. The US has a long track record of doing it, and your people have a long history of supporting it :)


painting the US presence as an occupation

what definition of occupation does not include the deployment of the US military, which proceeded to build a dozen military bases in a territory of another country, which has continuously made filings to the UN about this occupation?


There have been many videos posted before that clearly show oil-carrying trucks


The Syrian conflict is 13 years old. It’s ridiculous to expect every article to give you the whole context every time, especially since anything anyone will write about said context will be extremely biased. This conflict had massive misinformation campaigns from all sides.

Evaluate the information for what it is, not for whether it gives you a lecture on the history of the conflict.

SANA is primarily a TV channel, and the articles are usually a summary / transcript of the TV reports. They show videos routinely of the trucks that are very clearly carrying oil through Al-ya’rabiya, which is a border crossing from Syria to Iraq that the US controls.


Why not evaluate the information for what it is rather than checking if it belongs to your preferred camp of propaganda or not?


Which sites or apps does it not pop up? It is rare for it not to pop up for me.


Here is a docker compose: https://snikket.org/service/resources/docker-compose.yml

You only two configuration options in the config file: domain and email.


Arch works well for gaming. However, depending on what you’re doing, you should keep this in mind:

  • on any distro, updates may break things or change the behavior of apps. The difference in arch is that youll update no less than weekly on average, maybe biweekly at worst. This would matter more if you have a complex setup. If you’re just using steam, I wouldn’t worry
  • arch only uses the latest versions of software. If you ever install something from outside the arch repos, you have to make sure it is compatible with recent versions. Sometimes it may not be.

I’ve been wanting to do this exact thing. I already have wireguard setup. Please update us if you do this.


This makes matrix even less attractive to me lol. But you’re right, that’s a very good point.


cumbersome to parse

Parsers have already existed for so long in every major language. Why need to worry about parsing?

And why need to worry about transports working differently if they achieve the same thing? They seem similarly convenient if I understood what you said correctly


Why is JSON better than XML? It’s more modern, sure, but from technical perspective it is not objectively better right? Not something worth switching protocols for.

You mention XMPP has transports as opposed to Matrix bridges. I thought they give you roughly the same outcome. What’s the difference?


From a quick look into XMPP’s clients for android, they seem nice and some have modern features too.

Is there any technical limitation that would prevent xmpp client from having a WhatsApp-like UI?? WhatsApp started out with XMPP and probably still uses a variant of it. If anything, I’d imagine its harder with matrix given the complexity of the protocol.


Makes sense, but to me newness alone is not a benefit. In fact, it is a bit of a disadvantage. XMPP has more clients for example, and they are more mature.


Why is Matrix mentioned more often than XMPP in self hosted forums?
I'm looking into hosting one of these for the first time. From my limited research, XMPP seems to win in every way, which makes me think I must be missing something. Matrix is almost always mentioned as the de-facto standard, but I rarely saw arguments why it is better than XMPP? Xmpp seems way easier to host, requiring less resources, has many more options for clients, and is simpler and thus easier to manage and reason about when something goes wrong. So what's the deal?
fedilink

[Question] Why is Matrix mentioned more often than XMPP in self hosted forums?
I'm looking into hosting one of these for the first time. From my limited research, XMPP seems to win in every way, which makes me think I must be missing something. Matrix is almost always mentioned as the de-facto standard, but I rarely saw arguments why it is better than XMPP? Xmpp seems way easier to host, requiring less resources, has many more options for clients, and is simpler and thus easier to manage and reason about when something goes wrong. So what's the deal?
fedilink

I just unpinned the post. I figured there may be others bothered by this, and plus its been enough weeks at this point. Thanks for voicing this to me :)


Outside of academia, would you say it still provides significant upside over markdown?


I’m sorry I don’t know of any way to do that :( does it appear even when you’re browsing your main feed??


Is it practical outside of academia? I heard the learning curve is kinda big


Markdown is awesome, I agree! I did not realize you could extend markdown with anything other than html. The html extension is quite nice to do anything that markdown doesn’t support natively, but I wish there was an easier way to extend markdown. Maybe the ones you listed are what I need.




Which communication protocol or open standard in software do you wish was more common or used more?
Whether you're really passionate about RPC, MQTT, Matrix or wayland, tell us more about the protocols or open standards you have strong opinions on!
fedilink

It uses the arkenfox thingie. It doesn’t block JS, but it does block a lot of things and possibly certain JS features.


Doesn’t work on Mull browser (hardened Firefox for android) :(


I’m aware of tails, but I am not confident it qualifies. With Tails, I still connect through my own Internet connection, presumably. I know using tor obfuscates this, but is it to the degree of, say, Monero?

Moreover, I am still at the mercy of the platform I use. Most of them require email or phone verification, and creating an account with lots of data sent over from the clients.

Tails is a necessary component, but the platform is also important.


Does this exist: Truly anonymous content sharing platform or social network?
Given the extistence of technologies like Monero and SimpleX chat, I wonder if it is possible for a truly anonymous content sharing platform to exist? And does it? Use cases: - sharing pirated content without a link back to you - journalists or political activists not wanting to be found or caught by a government The platform should not allow the following to know the details of what you do on this platform: - users on the platform: should not know the identity of a poster unless they disclose it - the host of the platform: should not know which content belongs to who, or be able to deduce it via traffic logs - Intermediates like the ISP, DNS, or your router should not be able to link any content to you. However it is okay if they know that you use the platform at all, just not what you do with it. Does something like this exist?
fedilink

Yes you’re right. Did not realize that’s what you meant 😅


Wouldn’t you be able to do the same with NFS?


I do not have a lot of knowledge on this, but I suspect that nvidia does not support the GTX1070 that well on Linux.

AND supports Linux better. As for nvidia, newer cards have a bit better support but I bet there’s still some disparity.


What do you mean by other roots? Isn’t root only one?


To summarize: the major difference is that Arch Linux gives you the latest versions of all programs and packages. You can update anytime, and you’ll get the latest versions every time for all programs

Debian follows a stable release model. Suppose you install debian 12 (bookworm). The software versions there are locked, and they’re usually not the latest versions. For example, the Linux kernel there is version 6.1, whereas the latest is like 6,9 or something. Neovim is version 0.7, whereas the latest is 0.9. Those versions will remain this way, unless you update to, say, debian 13 whenever it comes out. But if you do your regular system updates, it will only do security updates (which do not change the behavior of a program).

You might wonder, why is the debian approach good? Stability. Software updates = changes. Changes could mean your setup that was previously working, suddenly isn’t, because now the program changed behavior. Debian tries to avoid that by locking all versions, and making sure they are fully compatible. It also ensures that by doing this, you don’t miss out on security updates.


wine is not a distribution. It is a program that allows running windows applications on Linux, and is available on most distributions.


Are you able to demonstrate with supporting evidence?


Why is that? It shows proof of the exact thing I said. If you don’t like that it’s on Reddit, I can copy paste it here.

If you want more examples, I’m happy to provide them. Here is another example:

https://security-tracker.debian.org/tracker/source-package/linux


Debian is not bad. It is just not suitable for newcomers using it for desktop. I think my arguments hold this stance.


Noob Question Thread: Ask Any Questions About Linux!
I thought I'll make this thread for all of you out there who have questions but are afraid to ask them. This is your chance! I'll try my best to answer any questions here, but I hope others in the community will contribute too!
fedilink

Those who custom configure their kernel: what did you gain?
Curious to know the coolest things you achieved by configuring your kernel. I know kernel config can be boring, but I'm hoping someone will have an impressive answer. For me I have a very lightweight kernel that runs wayland on nvidia without any issues to date.
fedilink

Linux users with uncommon or unusual setups: tell us about it
I'll start with mine. yes part of this was to brag about my somewhat but not too unusual setup. But I also wanna learn from your setups! Anyways: I primarily use Gentoo Linux. I have two headless servers: a Raspberry Pi 4B and a Oracle cloud VM (free tier). Both running OpenRC, and both were running mainline kernel with custom config (I recently switched the Pi to PiFoundation kernel due to some issues). The raspberry pi boots from SSD and has no sd card inserted. Both servers were running musl libc instead of glibc for a while. This gave me a couple of random issues, but eventually I got tired and switched back to glibc. I have a desktop running gentoo and a laptop running arch, but hoping to switch the laptop to gentoo soon. Both are daily driving wayland (the desktop had nvidia card and used for gaming). The desktop is running a kernel with a minimal config that compiles in 2-3 minutes. What's your unusual setup like?
fedilink

Your journey with Lemmy: When and why did you join? When did you leave and come back? Are you finally settled?
My journey with Lemmy started in 2022 out of interest in the fediverse and paranoia around how much control social media companies have, and how little choice common people are left with over the Internet. Lemmy was much smaller back then. I really wanted it go get bigger, and tried to contribute to it. But it was small enough to be unsatisfying, so I would go back and forth between lemmy and Reddit. After the Reddit fiasco, I shifted more and more towards lemmy and less towards Reddit. I finally abandoned Reddit when third party apps broke. I only go there for specific questions in communities that aren't active on lemmy. What about you?
fedilink

Good price laptops with good build quality and lightweight? [US]
Can anyone recommend cheap laptops that have good build quality and see lightweight? I aim to use it for programming, but I connect to my desktop for most hefty work so it doesn't need to have solid performance. 8 GB RAM, 256 GB storage are enough for me. a lower grade CPU would still be good; a i3 that's 6 cores is enough. What's really important to me is build quality, especially the keyboard. I also don't want it to be big. 13" would be enough, but not too picky here. Any recommendations? And are there any communities that are better to ask this in? Budget: I am hoping to pay $400 or less, but willing to pay $1000 or even more if it's justified or the value is worthwhile OS: Linux. I can install it myself.
fedilink

How to secure (podman or docker) containers for public-facing hosting?
## Context I want to host public-facing applications on a server in my home, without compromising security. I realize containers might be one way to do this, and want to explore that route further. ## Requirements I want to run applications within containers such that they - Must not be able to interfere with applications running on host - Must not be able to interfere with other containers or applications inside them - Must have no access or influence on other devices in the local network, or otherwise compromise the security of the network, but still accessible by devices via ssh. > Note: all of this within reason. I understand that sometimes there may be occasional vulnerabilities, like in kernel for example, that would eventually get fixed. Risks like this within reason I am willing to accept. ## What I found so far - **Running containers in rootless mode:** in other words, running the container daemon with an unprivileged host user - **Running applications in container under unprivileged users:** the container user under which the container is ran should be unprivileged - **Networking:** The container's networking must be restricted. I am still not sure how to do this and shall explore it more, but would appreciate any resources. ## Alternative solution I have seen bubblewrap presented as an alternative, but it seems like it is not intended to be used directly in this manner, and information about using it for this is scarce.
fedilink

Israel bombed Beirut with a Drone, targeting a Hamas official and killing 4-5 others
This is a major escalation that could greatly expand the war and drag hezbollah deeper into the war, which was already involved in skirmishes with Israel in Lebanese regions that Israel occupies. Note: the verbiage of the article is minimizing the focus on Israel, and they spend half the article justifying the attack as "not an attack on Israel" an effort to minimize how much of an escalation this is.
fedilink

Affordable MiniPC / SBC for self hosting? Will connect to 1x SSD and 2x HDD.
Something small and 2 or 4 GB RAM. Raspberry pi's compute power is good enough for me, I'm not doing anything too intensive. Is raspberry pi 4 still the best answer? I am a tinkerer and don't mind tinkering. I typically use Gentoo Linux as main OS. I also don't mind ARM or other architectures. I've been eyeing the RockPro64 as well.
fedilink

We are not empowered with the free choice of privacy like many people think we are
There is this common narrative I see all the time, implying that we as individuals are empowered to choose and manifest our own destiny, and this comes up often in privacy discussions. Don't like Facebook's privacy nightmares? Just don't use Facebook! Don't like personalized ads? I remember a popular post on reddit saying "if your ad interrupts my YouTube video, I will hate your product". Don't like Google chrome hegemony? Just use Firefox! And while I agree that we should strive to do that, the battle doesn't end here. Facebook has shadow accounts for people who never signed up. Google chrome keeps it's hegemony despite people on the Internet advocating Firefox day and night. And ads continue to be extremely profitable despite you "hating the product" because it interrupted your YouTube video. Even worse: even if you "hate the product", you now already know it. You now know they product exists, and possibly whatever they wanted you to know about it. The reality is that these companies own your eyes. They control what shows up on your screen. And even if you hate it, they control what you end up learning. ### the reality is that our individual resistance is very far from enough I am not saying it is completely futile. It is a step in the right direction. But the only effective solution is organized action. We, alone, cannot achieve much. Unless we organize our resistance against privacy violations, we will continue to live through this privacy nightmare.
fedilink

What is the most impressive music video you’ve ever seen?
Most music videos, especially modern ones, are pretty boring.
fedilink

(Neo)Vim alternatives: Kakoune is great! I am surprised that Helix is more popular
So apparently there are two editors inspired by vim, but built from the ground up (as opposed to neovim, a vim fork that seeks to improve on top of vim). I've heard of Helix several times prior, but it never quite attracted me. Seemed like vim, but different key bindings and much worse plugin system. It also has different visual and normal modes than vim, but it didn't quite click with me. I do like it's multi-cursor ability though. Then it turns out that Helix was also inspired by not just vim, but also kakoune. Kakoune also has different keybindings, and different modes, but its different modes make sense to me. It fuses visual and normal mode into one. Your normal mode is for both navigation and selection. Kakoune promotes the idea that you should visually see the text you're operating on before running the command. You know how in vim, "dd" deletes a line, "dw" deletes a word, and "d$" deletes to the end of the line? In vim, you don't see what you're deleting before its gone (which is fine and works for many). In kakoune, the selection happens first before the action. So you select the word or the line, and then you delete. But what I found to be Kakoune's killer feature was its shell integration. Kakoune seemlessly integrates into the unix shell, allowing you to offload many tasks to it. For example, instead of it having a built-in sort command, you use the unix sort command to sort your lines. I'm surprised kakoune isn't more popular. Yes, it is still in a much earlier phase than vim, and the ecosystem is far less mature, but I am surprised to see Helix gaining more traction. I'm still very new to kakoune and exploring it. But I like it a lot so far.
fedilink

How to make it such that, when running command, it automatically does SOME_ENV_VAR=value command? (something cleaner than aliases?)
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?
fedilink

Has anyone had success cross compiling from x86_64 glibc to aarch64 musl?
I have been having some trouble doing this and was wondering if it is a common theme or there is room to make it better. Sometimes packages wont compile at all and thats fine. But recently I cross compiled some system packages and it bricked my system and was no longer able to ssh into it. I am not asking for help in this specific issue, but want to ask if this is a common occurrence for this kind of setup? It does not seem to be a popular setup
fedilink

Which bittorrent client has the best command-line interface?
want to run a bittorrent client on a headless server. The server is a raspberry pi so it is limited a bit limited on resources. Whats your favorite bittorrent client with a good command-line interface?
fedilink

I bet my roommate to stop pooping for 3 days. How can I manipulative them into pooping and make them lose the bet?
No I will not provide any details onto why I bet my roommate to do this. Please don't ask me because I will not answer.
fedilink

Looking for self-hosted task / to-do list with custom sort and custom attributes? With command-line and Android or web client
Hello friends, I am looking for a self-hosted task / to-do list app that supports: - syncing across devices, preferably self-hosted - sort items myself rather than by deadline or built-in priority features, and preserve that order when syncing - allow defining arbitrary custom attributes Some really nice to haves but not absolutely necessary features: - treat custom attributes as first-class. i.e. allow showing those attributes on the task-list view, without having to view all details to see it. Or be able to filter or by the attribute or sort by it. - allow custom logic for sorting - just scriptable features in general would be nice I have been thinking of making my own, but wanted to see if this exists first.
fedilink

Which to host for a single user instance: lemmy or kbin (or others)?
what is better for single user instance, or maybe something small like under 10 users (no communities)? which is lighter on resources? how much storage should I allocate? any alternatives to lemmy and kbin that are still somewhat similar?
fedilink

Which Tiling Window Managers do you like, and why?
feel free to list other window managers you've used. I have been happy with bspwm, but considering trying something else. I love its simplicity and immense customizability. I like that it is shell scriptable, but it is not a deal breaker feature for me. I like how the binary split model makes any custom partition possible.
fedilink

Is it a good idea to run windows in VM with gpu passthrough (nvidia RTX) for certain games, instead of dual booting?
I've been dual booting Linux and windows for about two years now, but in those two years, I have *never* booted into windows, except by mistake. This made me think about removing windows and just saving that wasted space for Linux. I only ever dual booted for the off chance the peer pressure to play anti cheat games was too great, but so far it hasn't. For the off chance where I want to play a game that doesn't run well on Linux, is it a good idea to do that via VM instead of dual boot, or is it too much hassle? Will there be performance hit or any issues with those games?
fedilink

I often read that (docker) containers are not good for security. What are secure methods of creating secure isolated environments to run questionable programs in?
I've read that standard containers are optimized for developer productivity and not security, which makes sense. But then what would be ideal to use for security? Suppose I want to isolate environments from each other for security purposes, to run questionable programs or reduce attack surface. What are some secure solutions? Something without the performance hit of VMs
fedilink