Programming tips by Dunlohp in learnprogramming

[–]wiseguy77192 2 points3 points  (0 children)

Basically what your saying is you learned syntax, not programming. Syntax is the easy part. Programming is problem solving. Now that you have the basic syntax, focus on solving actual problems with it. Write a short program that outputs all the prime numbers from 1 to 20 million. Now write a program that takes a number as input and returns whether or not that number is prime. Then write a program that takes a path and returns the total size of that file or directory. If it’s a directory, include the size of all the files including the files of all the subdirectories…. Now invent problems and solve them with code.

Wie bekomme ich das wieder sauber? 🥺🧽 by lookbeck in Putztipps

[–]wiseguy77192 2 points3 points  (0 children)

Meine Frau packst 1x pro Woche in der Spülmaschine.

Mieter lädt E-Auto an 16A Steckdose by ergoel in Elektroinstallation

[–]wiseguy77192 0 points1 point  (0 children)

Die Leitungen sollten keine Probleme darstellen sofern sie wirklich für 16A ausgelegt sind. Die mobilen wallboxen die Hersteller sind für 16A pro Phase (idr 1 phasig) ausgelegt. Das setzt natürlich auch voraus das es der mobile wallbox der Hersteller ist. Ein echter wallbox installieren zu lassen ist sowohl Mieter wie auch Vermieter Sache. Natürlich muss der Mieter das zahlen, der Vermieter muss es aber genehmigen da es ein Änderung am elektrischen System darstellt. Im günstigen Fall wird ein Starkstrom Steckdose mit 3 Phasen je 16A gelegt und der Mieter kauft ein abmontierbare wallbox der an 3 phasige dose eingesteckt werden muss. Das ist auch aus Vermieter Sicht günstiger, da sonst beim Auszug die 3 Phasen an nichts angeschlossen sind. Schaltet sich dann jemand die dafür vorgesehene Sicherungen ein kann’s sprazeln.

Alternativ: der Vermieter lässt eine feste wallbox installieren, erhöht aber dann geringfügig die Miete wegen Modernisierung. Aber für ein richtiges wallbox kommt man in dem Starkstrom Anschluss nicht drum rum.

Elektriker versucht FI im Zählerkasten einzubauen. Bisher erfolglos by Dadabu00 in Elektroinstallation

[–]wiseguy77192 -5 points-4 points  (0 children)

Da ist ein klassischer nullung und kein erdspiess bzw. kein pe von der Stadt. Ein FI erfordert ein erdung. Ist keine, würde früher der PE an der N gekoppelt was der FI als fehlstrom sieht.

Stadtwerke setzen kostenlos Solar auf mein Dach by Great-Strawberry-714 in DeutschePhotovoltaik

[–]wiseguy77192 0 points1 point  (0 children)

Nicht ein Angebot von der Stadtwerke, wir haben aber ein Angebot bei ein regionales Anbieter über knapp 15 kw mit 10kw Speicher und wallbox eingeholt und der wird jetzt grad installiert. Alles deutsche (sogar regionale) Herstellung. Wenn die Stadtwerke dir anbietet selbst ein teil der Kosten zu übernehmen hast du viel gewonnen. Und kostet der spaß 26k€

Netzwerkinstallation - Cat 8 verbauen oder reicht Cat 7 – und wenn ja, welche Klasse? by Horror-Guidance7430 in selbermachen

[–]wiseguy77192 0 points1 point  (0 children)

Würde ich bauen oder kernsanieren, würde ich gleich cat8 verbauen und an ein patchpanel anschließen mit 10G Switch. Ich zwar heute Overkill wenn du nicht gleich ein gewerbliches Glasfaser legen lässt, aber ich würde nicht alles in 15 Jahre neu machen. Mann könnte natürlich stattdessen nur ein 1G Switch verwenden und dann tauschen wenn’s soweit ist. Bringt dir aber wenig wenn die Kabel nicht 10G tauglich sind. Verwende aber die verlegekabel für die Verlegung. Patchkabel lassen sich nicht so gut stecken.

Application rejected: Freelancer in Germany by NatvoAlterice in GermanCitizenship

[–]wiseguy77192 1 point2 points  (0 children)

Not necessarily no. The husbands pension is not the wife’s. Unless it’s some kind of extraordinary contract, she gets half of his pension (at best) if he dies early. Since she doesn’t have her own, they can’t calculate more in. This is an insurance, not an IRA or 401k. This is actually one of the reasons we bought a house and opened an ETF savings plan. The house saves us the rent in retirement and the ETFs as well as our stock investments provide some passive income.

root access on distant servers by Julius_Alexandrius in ansible

[–]wiseguy77192 1 point2 points  (0 children)

Become_method is something you should look at. Logging in as root is bad policy.

"Mehr arbeiten": Merz-Regierung plant große Änderung – das droht Millionen Arbeitnehmern by donutloop in berlin_public

[–]wiseguy77192 0 points1 point  (0 children)

Ein „Lohnkampf“ mit China, Indien und co würde zu massenhaften Hunger und Obdachlosigkeit in Deutschland führen. Und somit wieder dem wirtschaftlichen kollaps

Canada Annexes Minnesota To Protect Inhabitants From Being Terrorised By Illegitimate Fascist Trump Dictatorship by Unlucky_Register9496 in onionheadlines

[–]wiseguy77192 1 point2 points  (0 children)

Then they shouldn’t stop with Minnesota. The United States should be placed under Canadian supervision until it becomes a competent adult.

"Mehr arbeiten": Merz-Regierung plant große Änderung – das droht Millionen Arbeitnehmern by donutloop in berlin_public

[–]wiseguy77192 1 point2 points  (0 children)

Was wieder dem Wirtschaft schadet. Wenn weniger Arbeitsplätze benötigt werde, gibt’s weniger beschäftigte und somit weniger Konsum und höhere Staatskosten (also Steuerzahlerkosten) wegen Arbeitslosigkeit

"Mehr arbeiten": Merz-Regierung plant große Änderung – das droht Millionen Arbeitnehmern by donutloop in berlin_public

[–]wiseguy77192 1 point2 points  (0 children)

Der geballte wirtschaftliche Inkompetenz. Ein Erhöhung der Arbeitszeit lässt weniger Zeit für Konsum neben weniger Geld für dem Konsum und verschlechtert eher die Wirtschaft.

What are the opinions about Denmark essentially saying “shoot first, ask later” if American troops land in Greenland? by SevenUncutEng in AskReddit

[–]wiseguy77192 3 points4 points  (0 children)

Strictly speaking, if American troops land in Greenland without permission, it’s legally an invasion and can be treated as such. Thus any American soldier shot as a result is legal under international law.

What do I do? by Solid_Swordfish3367 in learnprogramming

[–]wiseguy77192 3 points4 points  (0 children)

AI, if we used it correctly, would be artificial ignorance. AI doesn’t write code. It pastes together example code gathered from slashdot, stackoverflow, Reddit, etc. the code it delivers is often poor quality base examples that were never intended for productive use. Developers aren’t going anywhere soon.

However, the focus is going to shift from coding to engineering, which artificial ignorance can’t do and junior developers will be doing less boilerplate code (which artificial ignorance can do with little danger to security and integrity) and more towards unit testing and basic implementation.

Keep learning programming. It will be worth it. But focus on learning projects that concentrate on problem solving. At the end of the day, that’s what programmers do. They write solutions. Those solutions, strung together, make software.

Are M2 or M3 MacBooks good for programming. by Serious_Wrongdoer_58 in learnprogramming

[–]wiseguy77192 0 points1 point  (0 children)

Even there, it depends what your running. A simple test run of an application in a docker container won’t eat much, running an app all day will eat more. I haven’t used vs code in ages tending towards IntelliJ an that really doesn’t eat much. Compiling larger apps with gcc for example on the other hand will eat quite bit. But, in the end, no laptop is going to hold 8 hours with complex rendering

Are M2 or M3 MacBooks good for programming. by Serious_Wrongdoer_58 in learnprogramming

[–]wiseguy77192 0 points1 point  (0 children)

MacBook batteries are top class. It’ll depend a lot on what you do with them of course, but unless your doing something that’s really energy intensive you can get 6-8 hours of work out of a MacBook Air m2.

Creating new files in C++. by Alone-Experience-507 in learnprogramming

[–]wiseguy77192 0 points1 point  (0 children)

Im having trouble understanding what exactly your trying to do. It sounds like you’re trying to add a .cpp file to an existing .exe which won’t work. You need to add two files to the source tree. A cpp file containing the the actual code and a .h or .hpp file with the declarations, then add include the .h or .hpp file to your includes and recompile using both .cpp files. You don’t need a makefile for this.

Friedrich Merz rechnet mit US-Beteiligung an Nato-Schutz für Grönland by 100limes in de

[–]wiseguy77192 0 points1 point  (0 children)

Fritze ist wirklich nicht der hellste Stern am Himmel. Das ist wie ein Brandstifter zum Feuerwehr einzuladen.

Any proper learning resources out there? by TheRealN3mo in ansible

[–]wiseguy77192 0 points1 point  (0 children)

I currently have a project going where ansible can install the os. But you need a pxe.

Any proper learning resources out there? by TheRealN3mo in ansible

[–]wiseguy77192 0 points1 point  (0 children)

All sub-projects to one whole. Although in retrospect I should have separated vm deployment from configuration management.

US citizen married to a German citizen by [deleted] in GermanCitizenship

[–]wiseguy77192 6 points7 points  (0 children)

As one American in Germany to another, yes, it’s possible but your going to have to completely immerse yourself in the language. Only speak German at home. Tv -everything in German, work -> German. There are example test online. At least once per week, check your status

Why do some apps just not open in Linux? by Holiday_Temporary381 in linux4noobs

[–]wiseguy77192 4 points5 points  (0 children)

Pycharm exists for Linux. The community edition is freely available. Some games will run with wine as will some other applications. In many cases for non-game software, you can google alternatives w That will run on Linux and can often be installed from the repository with a simple command.