[-] SeaOfTranquility@beehaw.org 12 points 5 months ago* (last edited 5 months ago)

Before the cruel events on October 7th and the insane devastation that followed, I didn't realize how deeply messed up the western idea of foreign policy in the Middle East really is. Before October 7th, I knew about colonialism, I knew about the war on terror and its devastating consequences for countries in that region. I knew about things like the insane death toll in the Mediterranean Sea, where innocent people in need are just getting systematically crushed by the EU's border apparatus and the right-wing idea of "securing borders" and "not letting the bad ones in". I knew about it and understood it as inhumane right-wing or neoliberal ideas that align with the interests of those who can really profit from it. The oil industry, weapons manufacturers, etc... and the politicians who are in their pockets or benefit from spreading fear and hate.

For me, these topics were always something that the progressive left and even many liberal or apolitical people can understand as senseless cruelty. Seeing the news coverage after October 7th and diving deeper into the details of that conflict, I was absolutely dumbfounded, that even some of the progressive news-outlets I follow are avoiding talking about Israels war crimes while repeating the propaganda of Zionist organizations or the Israeli state. My country has defended Israels actions in the international court, and there are quite a few people agreeing with that decision. Quite a few people that I would otherwise consider reasonable and knowledgeable. I have read newspapers that hold themselves to "high journalistic standards" who call peaceful student groups antisemitic and Nazi-aligned. Groups that were advocating for humanity, a ceasefire and a one-state-solution, and have now shut down any kind of public protest because of the hate that came their way.

Not far from where I live, there was a concentration camp and less than a hundred years ago my country had a fascist tyrant as its leader and plenty of accomplices who helped him with his ethnic cleansing campaign. We are not that far removed from this fascism, from treating people with other ethnic backgrounds like something you can just exploit to drown out in the Mediterranean Sea. From supporting the idea of a pure religious ethnostate having the right to slaughter "uncivilized" people that are in the way. From being ignorant enough to whitewash those who fought against apartheid while jailing those who are opposing it now.

8

Hello everyone, I have a theoretical question about an animation in the documentary I've linked in this post.

At timestamp 05:01, you can see an animation of Venus, suffering the effects of a change in gravitational forces. After being close enough to the expanding sun, Venus begins to lose material on its surface due to the stronger gravitational pull of the sun.

For me, this whole animation doesn't seem right because the mass and the center of mass of the sun doesn't change. I can imagine how the mater of the sun's surface could change the gravitational pull that the material on Venus' surface is experiencing, but would it be that strong at that point? I would've assumed that more and more of the sun's mass will be concentrated in the core as the red giant is expanding and not leaving enough mater to overcome Venus' gravity at its surface.

Once, Venus enters the denser parts of the suns' atmosphere, I wouldn't doubt that the atmospheric drag or the fall towards the denser core would scatter the material on the surface and eventually destroy Venus completely. Shortly before that, however, while Venus is still roughly maintaining an orbit similar to its current one, this doesn't seem right to me.

Did they mess up this animation or will the sun, at its surface, have more gravitational pull than Venus?

[-] SeaOfTranquility@beehaw.org 10 points 6 months ago* (last edited 6 months ago)

For me, the key aspects for selecting the right hardware are the camera and the comunity support. All the other capabillities you listed are available on any phone that has a relatively recent ROM available.

Let's start with the camera quality: If you want to use your phone without GSF or microG, you could use the camera app that comes with the ROM you flashed. Sometimes, the picture quallity is decent, but often times its lacking. Instead, I would recommend using a modded GCam App together with fake GSF. This way, you can use googles powerful camera app without sacrificing your privacy. So when I'm looking for hardware, I always check, if there is a modded GCam version available.

Aside from that, I would check if there are recent stable versions of the ROM I want, available for the hardware. The last thing I would check is, how active and how big the modding community for that device is. If you can't find a lot of support on XDA, it's probably not the best hardware choice to begin with.

When it comes to software, there are a lot of privacy-friendly replacements to choose from, but here is my setup:

EDIT: GCam and FUTO are not Open Source, but they are free and don't collect or require any user data

33
submitted 6 months ago* (last edited 6 months ago) by SeaOfTranquility@beehaw.org to c/literature@beehaw.org

I haven't had any luck in finding sci-fi books recently. I'm looking for a longer story that takes its time to establish the world/universe and the characters living in it. I like the idea of exploring space or futuristic cities/landscapes and being on a journey together with the protagonist. The story doesn't have to have a happy end or flawless characters, but I also don't like it when everything is hopeless/dystopic and all the characters stumble from one flawed decision to the next one. Some examples of what I enjoyed so far are:

If you enjoyed some of these stories and have any similar suggestions, feel free to share them here. If not, maybe consider checking out the list above... I highly recommend each of these entries.

[-] SeaOfTranquility@beehaw.org 12 points 6 months ago* (last edited 6 months ago)

As a lemmy client, I would add Eternity (APGL-3.0).

For latex documents I would highly recommend Overleaf (APGL-3.0). You can selfhost it on an old PC or raspberry pi and have crossplatform access on all your devices

A better alternative to F-Droid would be Neo Store (GPL-3.0) which has a more modern design and is less broken in general.

For apps that are only available as github releases (e.g. hypeBard) I would recommend obtainium (GPL-3.0) which automates the update process.

My personal preference for calculator apps is NCalcLibre (GPL-3.0) which has a slightly different set of features than your suggestion but has a more structured UI imo.

Text Tools Pro (Apache-2.0) is another awesome tool that can improve your typing experience dramatically.

If you have a degoogled device you might want to install FMD (GPL-3.0) in case you lose it.

For rooted devices, I would also add BCR (GPL-3.0) + BCR-GUI (GPL-3.0) to keep a record of important calls.

Another app that is especially useful on rooted devices is AdAway (GPL-3.0) which is a system-wide ad blocker that doesn't require any resources.

3
submitted 7 months ago* (last edited 7 months ago) by SeaOfTranquility@beehaw.org to c/music@beehaw.org

I'm looking for song suggestions to add to my playlist. It's meant to be a collection of EDM songs that use oriental or Asian Instruments as the main feature, or at least to a noticeable degree.

With this description alone, it's easy to get lost in more specific genres like tropical house+Balkan instruments or lofi beats+flute/string-instruments or Indian/Bollywood EDM. When I look at song suggestions from YouTube or Spotify, it's usually focussing on one of these aspects and only suggesting that type of music.

What I want instead are songs that are closer to mainstream (western) EDM that use these instruments to change things up a bit and add a spin to the standard formula. I'm trying to get a variety of songs that try to achieve this in different ways. I'd be happy if you post songs here which could fit in your opinion, and hope this description wasn't too convoluted.

[-] SeaOfTranquility@beehaw.org 6 points 8 months ago* (last edited 8 months ago)

Germany's government has been slowly shifting towards neoliberal and reactionary politics for the last few decades. The SPD (the self-proclaimed "social democrats"), who currently have the most seats in the parliament, are not actually pushing for progressive policies but make concessions to neoliberal agendas whenever possible. Similarly to the US Democrats, they often act as a controlled opposition, focusing on liberal issues while dismissing progressive/left-wing policies. The Green Party, which holds the second-most seats in the cabinet, has some progressive voices but also has a history of supporting western hegemony when it comes to foreign policy (especially in the Middle East). Together with the aspects mentioned in the article, this is the reason why German politicians are so ignorant of the Palestinian cause and unwilling to push for any kind of long-term deescalation.

As someone born and living in Germany, I was expecting our politicians to act this way, unfortunately. What I, personally, didn't expect is how often progressive media outlets here are behaving like Jacobin describes them in the article. Hearing progressive/left-wing voices that I usually listen to, shaping the public discourse towards a more regressive/antisocial one is what terrifies me the most.

[-] SeaOfTranquility@beehaw.org 6 points 8 months ago

Anki is absolutely awesome. Since there is a large amount of community made decks, I found one that was specifically made for the book I used for learning Japanese. In addition to that, I also found a free Japanese-English dictionary app that had the option to add words as flashcards to a specified Anki deck. Even though it doesn't have the most modern looking or intuitive UI, Anki is my main tool for learning Japanese because there are so many useful integrations and a large community behind it, and it is completely free.

103

Since I haven't seen anyone post this, I thought I'd share the new Star Engine demo video from Cloud Imperium Games.

[-] SeaOfTranquility@beehaw.org 40 points 9 months ago* (last edited 8 months ago)

Those are just technical details. Misinformation about the IDF-Hamas war is so insane, you can't even look at "reputable" mainstream media outlets without getting ahistorical analysis, zionism or antisemitism. We are witnessing ethnic cleansing and cruel war crimes here because all the parties who had the possibility to prevent this decided not to. Instead of focussing on the historical context and the steps necessary to deescalate this conflict, the media is focussing on the question of which acts of violence are justified and which aren't.

[-] SeaOfTranquility@beehaw.org 4 points 9 months ago

Very exciting to see! I wonder why the throttling is so imprecise in this test-hop. I would've assumed that having small nozzles and a compact design like this would make it easier to control. This is all just speculation, ofc. but maybe the engines are made to perform better with heavier loads than this proof of concept design. Hopefully, Everyday astronaut will visit them again one day to ask more questions about all the progress they've made.

[-] SeaOfTranquility@beehaw.org 11 points 10 months ago* (last edited 10 months ago)

Mike Lindell is trying really hard to convince us that we are all taking part in a Mockumentary, and he's just a paid actor who is doing a comedic bit. The only thing that's missing for me in this video is the intro from The Office and the camera panning to Jim every now and then, who looks like he's trying hard not to laugh.

[-] SeaOfTranquility@beehaw.org 5 points 10 months ago* (last edited 10 months ago)

I think every school in the USA needs a geostationary satellite with a high-powered laser so that any school shooter can be vaporized at the speed of light. Without high-precision orbital strike capability, the USA won't be able to solve their gun problem... I mean, what else could you possibly do to combat gun violence.... 🤔

25
submitted 10 months ago* (last edited 10 months ago) by SeaOfTranquility@beehaw.org to c/gaming@beehaw.org

cross-posted from: https://beehaw.org/post/7671504

For a while now, I had this idea in my head of making a small 2D side scroller game that helps people learn programming, and I'm looking for honest opinions and feedback from others. I know that such a game is niche and I wouldn't expect to earn a lot with it. Spending time on development would only make sense for me, however, if there is at least some interest in playing it. Whether the game will have some success, is not a question that can be answered here, but my hope is, that I'll be a bit more confident in my decision after hearing more feedback from others.

I have been teaching C/C++ and Python for years now and have developed a small application that gives students, without a specific goal, something to work towards to. It is just a console application that offers various programming tasks to be solved, submitted and compared against previous results. The student just has to run the application, import my interface library and start coding. I usually go over the theory and try to help them while they are figuring it out. Just to give you an example of such a task:

"There is a sequence of N unsorted and unknown numbers. You can compare, whether any number is greater than any other one by specifying their positions in the sequence. You can swap two numbers, save copies of them on a stash, and replace any number in the sequence with stashed ones. Try to sort the sequence of unknown numbers with as little operations as possible."

The idea of the side scroller would be, to give that application a compelling frontend and to "gamify" these tasks even more. Aside from the usual game mechanics like "find and fetch items", "talk to this or that person" or "solve simple terrain puzzles", I want the programming tasks to be the main quest which unlocks new parts of the world and ultimately completes the story line. There will be some kind of quest book that goes into more detail and tries to help the player understand the task and to find solutions. Aside from that, the player is expected to use their own development environment (which can be as simple as: Notepad and GCC/Python Interpreter). The quest book is just meant as a starting point, and players would have to do additional research to learn more about algorithms and how to implement them.

I think, at this point, I have described the rough idea enough, and I apologize for the wall of text so far. For that reason, everything below this is optional TLDR as far as I'm concerned.

The last thing I wanted to mention here is the rough sketch of the lore I had in mind. A medieval world containing steam punk elements that is slowly but surely overtaken by these alien looking artifacts. You, the protagonist, have figured out that some of these artifacts can be controlled by using the language that can be derived from the carvings on them. Around the artifacts, a contamination that destroys everything is slowly spreading. No one has figured out how to stop this, but it becomes clear over the course of the game, that interacting with these artifacts and solving the programming tasks, slowly reverses the spread. The ultimate conclusion is, that an alien species put these artifacts in this world to slowly terraform it. Because they didn't want to wipe out any intelligent species in the process, they created an off-switch. If a species is intelligent enough to figure out these tasks, the whole terraforming process is terminated.

9
submitted 10 months ago* (last edited 10 months ago) by SeaOfTranquility@beehaw.org to c/programming@beehaw.org

For a while now, I had this idea in my head of making a small 2D side scroller game that helps people learn programming, and I'm looking for honest opinions and feedback from others. I know that such a game is niche and I wouldn't expect to earn a lot with it. Spending time on development would only make sense for me, however, if there is at least some interest in playing it. Whether the game will have some success, is not a question that can be answered here, but my hope is, that I'll be a bit more confident in my decision after hearing more feedback from others.

I have been teaching C/C++ and Python for years now and have developed a small application that gives students, without a specific goal, something to work towards to. It is just a console application that offers various programming tasks to be solved, submitted and compared against previous results. The student just has to run the application, import my interface library and start coding. I usually go over the theory and try to help them while they are figuring it out. Just to give you an example of such a task:

"There is a sequence of N unsorted and unknown numbers. You can compare, whether any number is greater than any other one by specifying their positions in the sequence. You can swap two numbers, save copies of them on a stash, and replace any number in the sequence with stashed ones. Try to sort the sequence of unknown numbers with as little operations as possible."

The idea of the side scroller would be, to give that application a compelling frontend and to "gamify" these tasks even more. Aside from the usual game mechanics like "find and fetch items", "talk to this or that person" or "solve simple terrain puzzles", I want the programming tasks to be the main quest which unlocks new parts of the world and ultimately completes the story line. There will be some kind of quest book that goes into more detail and tries to help the player understand the task and to find solutions. Aside from that, the player is expected to use their own development environment (which can be as simple as: Notepad and GCC/Python Interpreter). The quest book is just meant as a starting point, and players would have to do additional research to learn more about algorithms and how to implement them.

I think, at this point, I have described the rough idea enough, and I apologize for the wall of text so far. For that reason, everything below this is optional TLDR as far as I'm concerned.

The last thing I wanted to mention here is the rough sketch of the lore I had in mind. A medieval world containing steam punk elements that is slowly but surely overtaken by these alien looking artifacts. You, the protagonist, have figured out that some of these artifacts can be controlled by using the language that can be derived from the carvings on them. Around the artifacts, a contamination that destroys everything is slowly spreading. No one has figured out how to stop this, but it becomes clear over the course of the game, that interacting with these artifacts and solving the programming tasks, slowly reverses the spread. The ultimate conclusion is, that an alien species put these artifacts in this world to slowly terraform it. Because they didn't want to wipe out any intelligent species in the process, they created an off-switch. If a species is intelligent enough to figure out these tasks, the whole terraforming process is terminated.

[-] SeaOfTranquility@beehaw.org 7 points 10 months ago

Hmm... so thats why they say, Apple is a religion 🤔

103
submitted 10 months ago by SeaOfTranquility@beehaw.org to c/foss@beehaw.org

I just wanted to show off a cool project I've found recently. Dashy is a very customizable dashboard that works perfectly for self-hosting projects. You can monitor any service that is reachable via http/https and use widgets like the universal web search interface, I've enabled in my installation.

I only use it as a glorified startup page for my browsers with the search function, but to give you an idea of what's possible, you can take a look at some more creative examples as well.

[-] SeaOfTranquility@beehaw.org 8 points 1 year ago

I can't wait to learn more about the GPU. I really hope it'll be able to run CUDA.

[-] SeaOfTranquility@beehaw.org 6 points 1 year ago* (last edited 1 year ago)

There are a many approaches to implementing OOP in C. Since C doesn’t give you any language constructs to implement this out of the box, it’s up to you to do it in a consistent and understandable manner. Since there is no definite way to do it, let me just give you an example of how I would translate a Python file, and you can decide how you implement it from there:

--------------
class Parent:
    def __init__(self, param1: str, param2: int):
        self.__param1 = param1
        self.__param2 = param2
    def __private_method(self):
        print("private method")
    def public_method(self):
        print("public method")
    @staticmethod
    def static_method():
        print("static method")
    @property
    def param1(self):
        return self.__param1

class Child(Parent):
    def __init__(self):
        super().__init__("param1", 2)
--------------

I would split the C code for this into header and source files:

(header.h)

--------------
#pragma once

/// Parent Class ///
typedef struct Parent_obj {
    char* param1
    unsigned int param1_len
    int param2
} Parent_obj_t;
void Parent_init(Parent_obj_t* self, char* param1, unsigned int param1_len, int param2);
void Parent_public_method(Parent_obj_t* self);
void Parent_static_method();
void Parent_param1(Parent_obj_t* self, char* out, unsigned int max_len); // property method with upper bound string length
void Parent_del(Parent_obj_t* self); // destruct object (similar to __del__() in python)

/// Child Class ///
typedef struct Child_obj {
    Parent_hidden_state_t* super
    char* param
    unsigned int param_len
} Child_obj_t
void Child_init(Child_obj_t* self, Parent_obj_t* super);
void Child_del(Child_obj_t* self);
--------------

(source.c)

--------------
#include "header.h"

/// Parent Class ///
// private methods
void Parent_private_method(Parent_obj_t* self){...} // not visible in the header file
// public methods
void Parent_init(Parent_obj_t* self, char* param1, unsigned int param1_len, int param2){...}
void Parent_public_method(Parent_obj_t* self){...}
void Parent_static_method(){...}
void Parent_param1(Parent_obj_t* self, char* out, unsigned int max_len){...}
void Parent_del(Parent_obj_t* self){...}

/// Child Class ///
// public methods
void Child_init(Child_obj_t* self, Parent_obj_t* super){...}
void Child_del(Child_obj_t* self){...}
--------------

Modules and namespaces can be modeled using folders and prefixing your structs and functions.

view more: next ›

SeaOfTranquility

joined 1 year ago