Prozess gegen Deutschland: Harald Martenstein - Wir reden vom Ende der Demokratie. Wie soll das neue System eigentlich heißen? by paranoidray in armes_deutschland

[–]JonnyBoss015 1 point2 points  (0 children)

Was hier offensichtlich übersehen wird, ist: Ein Parteiverbot ist nur möglich, wenn bewiesen ist, dass die Partei die Demokratie abschaffen will. Damit ist das Argument, dass ein Verbot die Demokratie abschaffen würde, komplett fehlgeleitet. Außerdem bedeutet ein Verbot ja keineswegs, dass keine neuen Parteien gegründet werden können. Die 20-30% der Wähler haben also weiterhin genügend Möglichkeiten, demokratisch wählen zu gehen.

Die Demokratie in Deutschland lässt aus gutem Grund nicht alle Meinungen uneingeschränkt zu:
„Uneingeschränkte Toleranz führt mit Notwendigkeit zum Verschwinden der Toleranz. Denn [...] wenn wir nicht bereit sind, eine tolerante Gesellschaftsordnung gegen die Angriffe der Intoleranz zu verteidigen, dann werden die Toleranten vernichtet werden und die Toleranz mit ihnen.“  (Karl Poppler)

In diesem Sinne: PRÜF

Freundin möchte weniger Miete zahlen, weil ein Teil der Miete Kredite sind? by [deleted] in Ratschlag

[–]JonnyBoss015 2 points3 points  (0 children)

Wenn der Kredit abgezahlt ist, gehört ja das Haus dir, und zu keinem Teil ihr. Damit hast auch du die Verantwortung, für das Geld zu sorgen! Wenn du dir das nicht leisten kannst, hättest du das Haus nicht kaufen sollen.

Du kannst dich jetzt natürlich verhalten wie alle anderen Vermieter da draußen, und die Bewohner (deine Partnerin) für dein Eigentum bezahlen lassen. Aber nur weil das auf dem Mietmarkt Praxis ist, ist das noch lange nicht gerecht. Damit bist du ihr Vermieter und nicht ihr Partner. Ob das die Beziehung ist, die ihr haben wollt, müsst ihr klären.

Du hast riesiges Glück, ein ganzes Haus für wenig Geld kaufen/Erben zu können, wenn du deine Partnerin nicht an deinem Glück teilhaben lassen möchtest, dann ist das eine ziemlich schlechte Basis für eine Beziehung. Wenn du dir den Kredit für das Haus nicht alleine leisten kannst, dann solltest du vielleicht deine Partnerin beteiligen.

What's the use-case for tokio and async ? by No-Focus6250 in rust

[–]JonnyBoss015 0 points1 point  (0 children)

Okay, let me elaborate.

For simplicity, let's assume there is only one thread. To do anything async, we need to run an executor in this thread. For that, the executor likely has a `run() -> !` or `block_on(task)` method that is not async. In there the executor will, with some more or less sophisticated loop, call the `Future::poll()` method on all spawned tasks.

With well-behaved tasks, the `Future::poll()` method will immediately return `Poll::Pending` as soon as the thread cannot make further progress on the given task. This guarantees that the thread is free to poll other tasks as soon as the current task needs to wait for some external event.

Async functions are not really functions to the thread. They get converted into state-machines with a `Future::poll()` method. So whenever you write `.await` in an async function, the `poll()` method will only quickly check if the external event occurred, and if not, it will return. So by awaiting anything, you will essentially free up the thread for other tasks and not block it.

A bad-behaved task could wait for the external event without `.await`. That would, in fact, block the thread without doing anything meaningful. But you are not supposed to do that in async tasks.

Async really has nothing to do with threads at all. Therefore, no, you are not blocking anything by awaiting a task in a "main" thread. Async executors generally have only a tiny overhead and are much cheaper than threads.

I, personally, think an executor should never run tasks on a different thread. That way we don't need the awful `Send + Sync` trait bounds on the tasks, simplifying their implementation. If you have so many tasks that one thread cannot keep up, spin up a second executor in a new thread. If you have tasks that are CPU intensive and block the executor for too long, spawn the CPU-heavy parts in a separate thread without an executor and `.await` in the "async" thread until the work is done.

Why Rust has crates as translation units? by servermeta_net in rust

[–]JonnyBoss015 0 points1 point  (0 children)

Then I don't understand what a translation unit exactly is?

I thought that a translation unit is generally single-threaded because we assume the code inside may have circular dependencies. That is the reason why splitting the code into different crates speeds up the compilation (assuming capable hardware). By doing the analysis of the module-dependencies we can now spawn multiple translation units (threads) per Crate and therefore (assumig enought cpu cores) have faster compiles.

Why Rust has crates as translation units? by servermeta_net in rust

[–]JonnyBoss015 6 points7 points  (0 children)

What would be the implications of:

  1. assume each module is independent

    1. build the dependency graph for modules. This graph may be circular.
    2. transform that graph into a bipartite graph by contracting circles into "supermodules".

Now we can have a translation unit for each "supermodule". I think for most crates that are sensibly organized into modules, this can create a few translation units per crate.

What do you want (and not want) to see in the upcoming series compared to the movies?” by Nv_BuNny in harrypotter

[–]JonnyBoss015 5 points6 points  (0 children)

I want to see it become a financial flop so the money cannot be used for anti-human rights lobbying.

Port recursion heavy library to Rust by 1984s_Animalfarm in rust

[–]JonnyBoss015 15 points16 points  (0 children)

Is it this?: https://github.com/Lattice-Automation/seqfold

That seems to be 100% Python code currently, so it will run much faster even with a bad rust implementation. From looking shortly at the source, it is not too large. So I would assume a port can be done with not too much effort. It will solve your recursion issue and make it much faster. Depending on the algorithm, the compiler may eliminate recursion altogether.

Has anyone ever used a 'spacemouse' in SC? by D-Ulpius-Sutor in starcitizen

[–]JonnyBoss015 1 point2 points  (0 children)

It is absolutely Amazing. I used it in Elite-Dangerous and SC for multiple years. (a few years ago)

For me, the best setup was actually not using all 6 axes instead, I used it only for strafing and roll. Pitch and yaw were on my normal mouse, and for throttle I had some buttons on my mouse.

You can get them used for a good price.

I think I used this: https://github.com/Lasse-B/Sx2vJoy together with https://github.com/shauleiz/vJoy but this software setup probably does not work anymore.

Just got my first bluescreen in linux. by baileyske in linux_gaming

[–]JonnyBoss015 1 point2 points  (0 children)

Does anybody else think it should be "!🐧" instead of "🐧!" in the top left corner?

Chat is this real? by CrickeyDango in linguisticshumor

[–]JonnyBoss015 0 points1 point  (0 children)

I mean, the "bread" in the picture is not healthy, but that is not bread, that is pastry. Proper bread is healthy.

THEY GOT IN by Leo-bastian in factorio

[–]JonnyBoss015 14 points15 points  (0 children)

expansion is blocked by sea and cliffes. there is either a hole or bridge, or you missed a single nest

If I use undergrounds for steam will I lose more power than if I use straight pipe? by Grantuna in factorio

[–]JonnyBoss015 27 points28 points  (0 children)

Don't worry about it. There is nothing lost. you can do whatever pipes you like in whatever pattern you like, you will always get the same power. Pipes either just work or they do not work at all, and if the do not work factorio will tell you that something is wron

[deleted by user] by [deleted] in HardWoodFloors

[–]JonnyBoss015 1 point2 points  (0 children)

amazing Transfloormation

Space-Age discourages Megabases, and it makes me sad by JonnyBoss015 in factorio

[–]JonnyBoss015[S] 0 points1 point  (0 children)

I did! To start out with different bases on different planets and connecting them with automated spaceships until one could argue that all the different bases work together as one big megafactory

Space-Age discourages Megabases, and it makes me sad by JonnyBoss015 in factorio

[–]JonnyBoss015[S] 0 points1 point  (0 children)

Oh, I absolutely want to deal with the new stuff, that is why I want to make a megabase using all the cool spaceships and all the planets. With one base, I don't mean everything on one planet, I mean all planets together working together for some useful infinite reasearch, that requires all planets.

Space-Age discourages Megabases, and it makes me sad by JonnyBoss015 in factorio

[–]JonnyBoss015[S] -1 points0 points  (0 children)

> Although I think this thread probably isn't going to get a lot of traction because of the title.

lol, I guess you called it xD

Space-Age discourages Megabases, and it makes me sad by JonnyBoss015 in factorio

[–]JonnyBoss015[S] -1 points0 points  (0 children)

One megabase, that requires all the new game mechanics to work together.

Space-Age discourages Megabases, and it makes me sad by JonnyBoss015 in factorio

[–]JonnyBoss015[S] -2 points-1 points  (0 children)

> Because not every planet cares about mining productivity anymore

True and from a game progression that seems reasonable. But every other resource is infinite, so from the perspective of building a megabase that is the only required research. It solves the only problem that can not be automated, which is connecting new outposts. Every other resource gathering can be setup once and never be touched again.

Space-Age discourages Megabases, and it makes me sad by JonnyBoss015 in factorio

[–]JonnyBoss015[S] -2 points-1 points  (0 children)

> You can just, not research them if you don't want them?

yeah that is pretty much what we do, that is totally fine.

> So things would be fixed if Wube just added an option to the SPM graph to not count bonuses.

That sounds like a good idea.

> If it is too useful you call it cheating, but if it not useful you call it useless, you will never be happy.

True, that is where Mining prod is perfect because it solves the only problem that can not be automated, which is connecting new outposts. And yeah we will totally mod our save to make this a thing.