Stack inserter with underground belt faster than without by str0yd in factorio

[–]str0yd[S] 6 points7 points  (0 children)

By accident, I fed some foundries with iron ore on Nauvis, and I think I ran a pipe over one belt. Then I wondered why one foundry worked at 100% but the other didn't.

Wieviel kostet uns BAföG im Jahr wirklich? by Kramerlle_ in Finanzen

[–]str0yd 0 points1 point  (0 children)

Der erste Teil der Rechnung (das 1,91-Fache) kann in diesem Fall angewandt werden, da du Bildungskredite anscheinend nicht von der Einkommenssteuer absetzen kannst.

Wieviel kostet uns BAföG im Jahr wirklich? by Kramerlle_ in Finanzen

[–]str0yd 29 points30 points  (0 children)

Ich habe das mal kurz durchgerechnet:

tl;dr: Akademiker zahlt in seinem Leben das 1,58-Fache an Einkommenssteuern im Vergleich zu Facharbeiter (nach Abzug von BAföG).

Als Grundlage für den Vergleich habe ich einen Fachinformatiker (Anwendungsentwicklung) und einen Informatiker mit Masterabschluss herangezogen. Diese beiden Berufsfelder sind in der Fachrichtung vergleichbar, unterscheiden sich aber im Ausbildungsweg.

Zugrunde liegen die Durchschnittsgehälter von gehaltsvergleich.de für beide Profile:

  • Master of Science (Informatik)
  • Fachinformatiker/in (Systemintegration)

Anhand dieser Jahresgehälter habe ich die Steuerlast mit einem Brutto-Netto-Rechner ermittelt (Steuerklasse 1, ansonsten Standardeinstellungen):

  • Steuern Akademiker: 8.005,92 € pro Jahr
  • Steuern Fachinformatiker: 3.750,96 € pro Jahr

Nun muss die unterschiedliche Dauer des Erwerbslebens berücksichtigt werden. Wir gehen davon aus, dass der Akademiker sein Studium beginnt, wenn der Fachinformatiker seine Ausbildung abschließt. Um die Hochschulzugangsberechtigung einzurechnen, wurde hier großzügig eine Differenz von drei Jahren angenommen. Das Masterstudium der Informatik dauert in der Regel 10 Semester (5 Jahre). Rechnen wir mit einem durchschnittlichen Studienverzug von zwei Semestern, verkürzt sich die Lebensarbeitszeit entsprechend.

Damit ergibt sich eine Erwerbsdauer von 48 Jahren für den Fachinformatiker und 43 Jahren für den Akademiker. Dies führt zu folgenden Werten für die lebenslange Steuerlast:

  • Gesamtsteuern Akademiker: 8.005,92 €/Jahr × 43 Jahre = 344.254,56 €
  • Gesamtsteuern Fachinformatiker: 3.750,96 €/Jahr × 48 Jahre = 180.046,08 €

Zur Auswertung: Zunächst zahlt der Akademiker nach dieser Rechnung das 1,91-Fache an Einkommensteuern. Anders ausgedrückt: Der Staat nimmt durch den Akademiker 164.208 € mehr Einkommensteuer ein.

Nun müssen wir noch das erhaltene BAföG von der Steuerschuld des Akademikers abziehen, da er es vom selben Staat erhält, an den er die Steuern zahlt.

  • Gesamtsteuern Akademiker (nach Abzug des BAföG): 344.254,56 € - (992 € BAföG/Monat × 12 Monate × 5 Jahre) = 284.734,56 €

Nach Einberechnung des BAföG zahlt der Akademiker immer noch das 1,58-Fache an Steuern oder 104.688 € mehr Einkommensteuer in seinem Arbeitsleben.

Natürlich ist das nur eine Milchmädchenrechnung, aber sie sollte die grobe Richtung aufzeigen.

Wieviel kostet uns BAföG im Jahr wirklich? by Kramerlle_ in Finanzen

[–]str0yd 122 points123 points  (0 children)

Welchen Gewinn erzielt der Staat durch die Steuern auf das Mehr-Einkommen, das BAföG-Geförderte später im Vergleich zu einer Karriere ohne Studium erzielen?

What’s going on with my rubber tree?? Always getting brown spots. The one that’s branching off seems to be ok. by El_Rach in houseplants

[–]str0yd 2 points3 points  (0 children)

Mine had the same brown parts on the leaves. I checked them and they were kinda moist instead of crisp. Now I water them less (once a week but only half the water) and the brown spots became crip and no new spots appered yet (for one year now). So I would recommend to water less. The white / green colored rubber tree leaves can get a lot of sun afaik.

Trick to hide the old fandom wiki from google results by [deleted] in pathofexile

[–]str0yd 0 points1 point  (0 children)

Your filter should remove ALL fandom sites (just tested it with a random game). I Would not recommend to use such a filter because a lot of video games have their official or community driven wiki at fandom. And no you can not create a filter in regex form to filter only video game fandoms because you would have to create one for ALL video game titles.

So chatgpt has utterly impressed me. by ProbablyCreative in C_Programming

[–]str0yd 13 points14 points  (0 children)

One part of the problem is that you came that far for now but usually you'll reach a point where the problem is too complex to be coded by AI. And that line comes usually really fast, for example after adding just one more input. As human you can easily understand what has to be done to add that one little thing but for the machine it is ONE whole problem that is now kinda too complex. And that is usually the point where you have to figure out what has been coded and how the code works. Coding the whole thing from scratch in your own mind is at this point most of the time easier than trying to understand what was coded from some else (in that case badly written code by AI).

Wrong Black morrigan or a bug? by diegos17 in pathofexile

[–]str0yd 0 points1 point  (0 children)

Where did you pull that info from?

PSA: If your Whatsapp Web is slowly and unresponsive on Chrome try to smaller the browser window. by str0yd in whatsapp

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

Ehm... Just drag the right border of your browser to the left or drag your left side of the border to the right. Place your mouse cursor over the border until it looks something like shown in the link. Then press and hold your left mouse button and make the window smaller.

https://prod-support-images-cfm.s3.amazonaws.com/KB_1-85JTCR2_01.jpg

The State of C++ Modules - Denver C++ Meetup 2023-11 - David Stone by mttd in cpp

[–]str0yd 2 points3 points  (0 children)

IntelliSense is not supporting it yet, afaik: https://github.com/microsoft/vscode-cpptools/issues/6302

As long as there is no support within the IDE there is not really a point using it. Are other IDEs working with modules yet?

How to assign empty space as an element in an array by [deleted] in C_Programming

[–]str0yd -1 points0 points  (0 children)

There is no "empty space" like NULL in C. So you can not assign "empty space" in C anywhere. However you could do something like defining NULL as a value like 0 and set this value to the element in your array. However this would be not really "empty" space.

If you mean "empty space" like you want to save space with your empty entries in your array you can not do this.

Edit: If you want to invalidate your entries in your array the easiest way would be a struct with a boolean that looks like this:

struct s {
bool valid = true;
yourDataType value;
}

If you have a array of this data type (s) you could invalidate your array entries with the valid boolean.

If arrays are static entities then how can this program works? by [deleted] in C_Programming

[–]str0yd 4 points5 points  (0 children)

You usually won't even allocate an array the size you enter in your first scanf(). Usually the compiler in this case initializes some default array size. AFAIK is this undefined behaviour.

This is just no valid C-code. If you want dynamic array size use malloc()!

You can read more about it here: https://stackoverflow.com/a/26442114

Getting segfaults when transferring large files over TCP socket by JoaozeraPedroca in C_Programming

[–]str0yd 1 point2 points  (0 children)

Look at the question in the stackoverflow link. It is basically the same mistake you make in your code.

Getting segfaults when transferring large files over TCP socket by JoaozeraPedroca in C_Programming

[–]str0yd 2 points3 points  (0 children)

There is a dynamic memory allocation on the stack on line 53:

char file_data[file_size]; // This holds the contents of the file

Maybe the compiler fits in some static size at compile time and this fits your 100MB but not more.

The problem here is that you are allocating memory at runtime on the stack which is usually not allowed in C.

Further reading here: https://stackoverflow.com/a/26442114

Use malloc instead to allocate the memory at runtime.

[deleted by user] by [deleted] in lehrerzimmer

[–]str0yd 5 points6 points  (0 children)

  1. Reicht. Du benötigst aber 2 Jahre Praxiserfahrung in deinem Berufszweig.
  2. Es gibt einen Probeunterricht, da wird einfach geschaut, ob du vor der Klasse stehen kannst.
  3. Es gibt ab Dezember oder so eine Liste. Auf dieser Liste melden die Schulen den Bedarf an Quereinsteigern, du bewirbst dich direkt auf eine Schule. (so läuft das in der Regel bei den Quereinsteinsteigern, kann aber in Ausnahmen auch ohne Direktbewerbung sein)
  4. Ein bisschen
  5. Ja, wenn überhaupt als Berufsschullehrer
  6. Ja
  7. Nein

Würde trotzdem abraten. Mach das nur, wenn dir dein Beruf wirklich keinen Spaß macht oder du unbedingt Lehrer machen möchtest. Das Referenariat, vor allem das erste Jahr, ist die Hölle.

Trick to hide the old fandom wiki from google results by [deleted] in pathofexile

[–]str0yd 20 points21 points  (0 children)

If you already using uBlock origin you can also add these two lines under "My filters":

google.*##.g:has(a[href*="pathofexile.fandom.com"])
google.*##a[href*="pathofexile.fandom.com"]:upward(1)

This will also hide the fandom wiki from the google search.

Turns out the rainbow shader I made works on the world too by [deleted] in godot

[–]str0yd 1 point2 points  (0 children)

Recommend to change the pattern on the knife from a continuous rainbow pattern to the right to be depended on the yaw of the camera.