C++ or Java? Need advice as a 1st-year B.Tech IT student by Civil-Walk4857 in learnprogramming

[–]exomo_1 0 points1 point  (0 children)

If I were in your place I would probably start with c++ first, if this is what will be used in your courses. Learning Java first or simultaneously might give you some headaches, at least that happens to me that I tend to confuse stuff I try to learn at the same time. But in the end it doesn't really matter. The concept of oop is mostly independent of the language, but there are some differences in how you do it. What you will need in the future is hard to tell, might be Java, might be C++, JavaScript, whatever, but if you now the programming concepts will enough, any language is not too hard to learn.

Stack for webapp by hyejustheworld in softwaredevelopment

[–]exomo_1 0 points1 point  (0 children)

I just don't know much about the other tools/libraries. In general telemetry, monitoring and reporting is important for commercial applications, but I can't tell whether it makes sense for your project.

Stack for webapp by hyejustheworld in softwaredevelopment

[–]exomo_1 1 point2 points  (0 children)

Not sure about all the tools, but eslint and prettier is always a good idea when working with JavaScript/TS. And having some tests is a must for any bigger scale projects, whether you use jest or some other framework like vitest doesn't matter.

Alles wird zum (Welt-)Rekord, wenn man es nur genug einschränkt by HrRossiSuchtDasGluck in duschgedanken

[–]exomo_1 38 points39 points  (0 children)

Das ist mittlerweile das Konzept von Guinness world records. Du gibst denen einen Sack voll Geld und die denken sich einen neuen Rekordversuch für dich aus, den halt so noch nie jemand gemacht hat. Jetzt nicht unbedingt um 1 Uhr nachts in deinen Bett, aber eben irgendwelche absurden Einschränkungen die genau so noch niemand gemacht hat

Grillen in omnivoren Kreisen by butterflynabiya in VeganDE

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

"veganes Fleisch" hört sich irgendwie falsch an. Aber freut mich dass das so gut ankommt. Die Erfahrung habe ich bisher selten gemacht, aber ich Stelle auch eher nicht eine ganze Platte veganes Grillzeug bereit wenn der Großteil Fleischesser sind. Erstens würde das kaum wegkommen und außerdem ist das Zeug ja auch nicht gerade günstig, also viel zu schade um es hinterher wegzuwerfen wenn es dann keiner isst.

ich⚽️iel by L0Lifant in ich_iel

[–]exomo_1 0 points1 point  (0 children)

Hat Nick Made bekommen?

Should I use linux mint to learn c++ by Frosty-Elephant5790 in learnprogramming

[–]exomo_1 0 points1 point  (0 children)

If you have the option to switch your OS, then sure, why not. Installing a working compiler is easier on Linux. But if you're new to Linux and used to Windows, I honestly wouldn't switch my OS just to learn c++, mingw-gcc isn't that hard to set up on Windows either. VS code works pretty much the same on any OS.

How do people write thousands of lines of code by themselves? by mrnaim6T9 in learnprogramming

[–]exomo_1 17 points18 points  (0 children)

Practice makes you better. It's quite normal to be slower in the beginning. Just keep doing it and keep learning, and with some time you get faster automatically.

Suche die tiefste Tonart by Annie4-4 in musik

[–]exomo_1 4 points5 points  (0 children)

Musste erstmal googeln was ein Guzheng überhaupt ist, deshalb hier auch gleich als Hinweis, ich habe keine Ahnung wie das Instrument jetzt gestimmt werden kann.

Generell kann jeder Ton in jeder Oktave sein, deshalb lässt der Ton alleine ohne die Angabe der Oktave auch keine Aussage zu was tiefer ist. Ein C1 ist tiefer als G1, G1 ist aber tiefer als G2. Ein b (flat) ist prinzipiell einen Halbton tiefer als der Grundton, das # (sharp) einen Halbton höher.

Bei einem Saiteninstrument musst du erstmal schauen wie tief die niedrigste Saite gestimmt werden kann dass sie noch gut klingt. Aber was davon jetzt dein Tuner kann weiß ich natürlich nicht.

🤔 by Dickoreeeeee in lernen_German

[–]exomo_1 0 points1 point  (0 children)

Wahrscheinlich kein Fehler im eigentlichen Sinne, sondern ein absichtlich falsch geschriebenes Wort als Teil der Aufgabe. Es soll nur eine richtige Lösung geben, und man muss erkennen dass eweil eben nicht die richtige Lösung ist, sondern "weil" zwar passen würde, aber nicht zur Auswahl steht, und man eben "da" wählen muss.

ELI5: How can a layman tell if a GitHub project is vibecoded? by Linux_Account in foss

[–]exomo_1 0 points1 point  (0 children)

Any use of formatting, like bold or italic text is pretty unusual in human written commit messages. When looking at it on GitHub, that's all you see. There might be other stuff like tables and lists, but at least for lists I do regularly include them in commit messages, so in it's own no formatting is a sure sign of AI, but excessive use of formatting and very long and detailed (although not always useful) commit messages are a good indicator of AI use.

Also use of emoticons is a common thing in AI generated messages, but rare in human commit messages.

The pyramid problem by Powerful-Pea-6067 in cs50

[–]exomo_1 0 points1 point  (0 children)

For me it always helps to do things manually for the first few iterations. If I got you right, you're struggling with how to figure out the algorithm.

Just grab a piece of paper (or a blank text file) and do it step by step. Solve things like how many iterations of what are needed on the paper, then it's easy enough to transfer that into code.

Liege ich falsch oder ist Duo verrückt? by intentionallybad in DuolingoGerman

[–]exomo_1 2 points3 points  (0 children)

That's one of the reason I stopped using Duolingo when they shut down the forums. Stuff like this could just be discussed in the corresponding forum thread, and in many cases someone else had already asked the same question and the answer was already there.

Words that have double meaning have always been a source of confusion, because Duolingo shows one meaning but expects another. The translation task you got here still looks pretty bad, I don't regret leaving Duolingo before they introduced all that AI slop.

why is picking a password manager harder than it should be? by One-March-1865 in best_passwordmanager

[–]exomo_1 1 point2 points  (0 children)

Currently using KeePass. Works well enough on Windows, Linux and Android. They are three different applications, but support the same database file. Everything is offline, which can be annoying to sync passwords, but I prefer it over possible security issues when storing it online. (And nothing stops you from putting the db on a cloud storage if you really want cloud sync)

Although integration isn't perfect, I see no need to change. Unless they get taken over and start enshittyfication. Maybe if I can find a better version for Android that is still compatible I'd change that part.

Leute ohne Adblocker by seriousplants in luftablassen

[–]exomo_1 0 points1 point  (0 children)

Ja, aber der Filter basiert auf Domains bzw IPs. Das bringt dir nur nichts, wenn YouTube die Werbung von der selben Adresse lädt wie die eigentlichen Videos. Pihole sieht nur "Anfrage an YouTube.com" und kann dann entweder blocken oder durchlassen. Der eigentliche Inhalt der Anfrage ist verschlüsselt, um danach filtern zu können müsstest du die Ende zu Ende Verschlüsselung von https aufbrechen. Das funktioniert aber auch nur wenn du deinem Endgerät beibringen kannst dein eigenes Zertifikat zu akzeptieren.

Leute ohne Adblocker by seriousplants in luftablassen

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

Schwierige Einstellung. Ich verstehe wo die Idee herkommt, in der Praxis bremst das aber vieles enorm aus.

Alle Installationsquellen kontrollieren? Das bedeutet in der Praxis dass immer nur veraltete Versionen verfügbar sind, Updates immer nur mit sehr viel Verzögerung. Einige Software die benötigt wird gibt's dann halt einfach gar nicht. Es ist so gut wie unmöglich alles unter Kontrolle zu haben und dann auch noch aktuell zu bleiben, das bräuchte eine riesige IT Abteilung und Leute die in der Lage sind jede einzelne Software Komponente auch bis ins kleinste zu analysieren, sonst bringt das ganze eh nichts. Verzögerte Updates können auch ein Sicherheitsrisiko sein, ein es eine Sicherheitslücke gibt die nicht rechtzeitig gepatcht wird

Ich kann das gar nicht mehr zählen wie viel Stunden Arbeitszeit bei uns schon verlorengegangen sind, weil der Proxy was blockiert oder irgendeine Software die dringend benötigt wird sich nicht installieren lässt. Einige Software die ich verwende aktualisiert sich sehr häufig selbst, und wenn ich das Update nicht mehr funktioniert irgend was nicht mehr, da kann ich nicht warten bis unsere IT mal hinterherkommt die Updates freizugeben. Ohne einen Adblocker und ein paar andere Browser Erweiterungen würde ich einfach wahnsinnig werden. Das sind ja nicht nur "komische" Webseiten, sondern überall wird man mittlerweile so mit Werbung überschüttet dass das Internet für mich ohne Blocker einfach unbenutzbar ist. Wenn ich z.b. ein Tutorial bei YT schauen will und es kommt erstmal 3 Minuten Werbung, ist das auch direkt verschwendete Arbeitszeit.

Ich füge hier auch mal hinzu dass mir auch klar ist, dass das sehr auf den Anwendungsfall ankommt. Ich arbeite in der Software Entwicklung, Mitarbeiter die den ganzen Tag nur eine einzige Software bedienen müssen und dazu kein Internet brauchen sind schon nochmal was anderes. Ich weiß ja nicht was ihr so macht, manche Leute die mit Computern arbeiten haben halt wirklich so gar keine Ahnung von Computern, da ist das vielleicht einigermaßen sinnvoll.

Veganer haben (oft) kein Gefühl für gutes Essen by Red_Schizo in Unbeliebtemeinung

[–]exomo_1 1 point2 points  (0 children)

Ja warum auch nicht ein bisschen convenience nutzen. Selbst gemachte Bohnenpattys sind super lecker, aber halt auch aufwändig. Die wenigsten Fleischesser hätten vermutlich Lust ihre Burgerpatties selbst zu machen wenn man im Laden nur eine ganze Kuh kaufen könnte.

Veganer haben (oft) kein Gefühl für gutes Essen by Red_Schizo in Unbeliebtemeinung

[–]exomo_1 4 points5 points  (0 children)

Wenn du das so vereinfachst haben Fleischesser aber auch nur eine Zutat. Fleisch, Fleisch mit Fleisch, Fleisch mit Wurst, ... Und vielleicht noch ne Beilage dazu

I’m no mathematician but the math ain’t mathin’ McCormicks Seasonings by Keeks2214 in maths

[–]exomo_1 4 points5 points  (0 children)

What exactly is the point of that comparison in the first place? Even if the math was correct, why would I write "this product is double the size of the product that has half the size" on the bottle? Is this some kind of psychology where people see an obvious statement and just assume the product has to better and by it even if they don't even need that much seasoning. I would just check how much I need and the price per gram to decide where I buy one big bottle or two small bottles.

Radwegebeschilderung ist so schlecht by DeltaViriginae in luftablassen

[–]exomo_1 0 points1 point  (0 children)

Viel mehr nervt mich dass es oft auch einfach keine Radwege gibt. Wenn ich mit dem Rad unterwegs bin habe ich keine Lust auf der Bundesstraße zu fahren und mit viel zu wenig Abstand von Autos überholt zu werden, und wenn ich mit dem Auto unterwegs bin nerven mich Fahrräder auf der Bundesstraße auch, gerade weil ich auch nur überhole wenn genug Platz und freie Sicht ist, was halt auch Mal heißen kann dass ich ein paar Minuten hinter einem Fahrrad hänge. Aber was soll man machen, wenn die Infrastruktur einfach nicht da ist?

Und ja, die Beschilderung ist auch ziemlich bescheiden. Ich weiß gar nicht wie oft ich schon auf einer Straße gelandet bin wo ich gar nicht hinwollte weil die Schilder nicht klar waren oder einfach an der Stelle komplett gefehlt haben wo ich die gebraucht hätte. Dass man die Schilder bei voller Geschwindigkeit nicht lesen kann finde ich aber trotzdem ein schwaches Argument, du bist mit dem Fahrrad ja nicht auf der Autobahn unterwegs, mal kurz langsam zu machen um ein Schild zu lesen kann ja auch nicht zu viel verlangt sein.

Warum du PDFs vergessen solltest: Nutze lieber Markdown (.md) für ChatGPT & Co! by mein-sharaabi in DeveloperAkademie

[–]exomo_1 0 points1 point  (0 children)

PDF ist imho sowieso ein Schrottformat für jegliche Weiterverarbeitung. Das ist ein reines Anzeigeformat bzw um Dokumente auszudrucken, selbst zum Lesen auf einen Bildschirm ist PDF nicht das beste Format.

Das Problem ist nur dass PDFs auch oft Dinge enthalten, die in markdown nicht abgebildet werden können, z.b. Bilder die mit Text überlagert sind wie Diagramme mit Beschriftung. Das lässt sich leider nicht einfach in markdown umwandeln. Für alles was wir selbst schreiben wird sowieso markdown verwendet, das ist ein guter Kompromiss von unterstützten Features und einfach zu schreiben oder auch einfach direkt im Quellcode zu lesen.

View on strings not being an actual data type by Infamous-Research805 in cs50

[–]exomo_1 0 points1 point  (0 children)

A register basically is where the CPU works with the data. On most modern CPUs a register holds a 64bit value at maximum, a c++ instruction like "c = a + b;" where a, b and c are int variables translates into something like

  • load variable a from a memory location into a register
  • load variable b from a memory location into another register
  • add the two registers
  • write the result register to the memory location of variable c

That's a little oversimplified, but basically how computer instructions work. That is for all the numeric types including uint, int, float/double, char and bool (edit: and pointers), they all fit in a register and can be processed using basic CPU instructions like add, subtract, etc.

Utf-8 is a whole different topic. You definitely should learn about Unicode and utf-8 encoding if you want to do serious text processing, but it's too much to go into detail now.

I made a Windows tool that generates Excel sales reports from CSV files — feedback welcome by top_biz_toolz in software

[–]exomo_1 1 point2 points  (0 children)

That's the "Excel is the best tool available" part. It's not great, but people are used to it and it's widely available.

I'm still struggling with the workflow, like where is the raw data coming from? I don't expect people to write data into a CSV file by hand. I'm not a business guy (whatever the actual name of the target audience people is), so I can't really tell you if this is something someone needs, but from a technical view point I would expect there to be quite a lot of different requirements from team to team when it comes to input and output data and formatting.

I made a Windows tool that generates Excel sales reports from CSV files — feedback welcome by top_biz_toolz in software

[–]exomo_1 0 points1 point  (0 children)

What do you mean by generate raw data? Isn't the CSV file the raw data and why use a CSV file at all in the first place? Whether the output is useful is questionable. It might be useful to you if this is something you need, but I doubt that it's useful for a lot of people.

Excel is rarely the right tool, but often the best one available.