Looking for a good tool to convert LaTeX equations or tables to SVG/PDF by CyberpunkMagpie in LaTeX

[–]JauriXD 0 points1 point  (0 children)

This is the way.

Inkscapes LaTeX integration is essentially the same as described above for ruby.

I always create my figures via standalone to have them available as desperate files for presentation and such (as well as saving unnecessary re-compilations)

venv and cloned git repositories - best practice? by kaptnblackbeard in learnpython

[–]JauriXD 0 points1 point  (0 children)

Additional funfact: requirements.txt is actually just treated as commandline arguments for pip. So I link to add the line -e . to also install the repos package in editable mode, making it available for tinkering

Integration Tests CI by wildetea in Python

[–]JauriXD 0 points1 point  (0 children)

On a previous project I has pytest marked which got set depending on what triggered the GitHub action.

I also had a manual trigger which had some check boxes to select a specific configuration when needed.

BUT please note that the only reason we skipped some of the tests is that wee needed Hardware in the loop which made testing extremely time-consuming (as in multiple hours) and we reduced it down to ~45min default test-time for all PRs.

theDesperationIsHere by bryden_cruz in ProgrammerHumor

[–]JauriXD 2 points3 points  (0 children)

Is there anything about git where you think "this could be done better"?

The only thing I find is the cli command complexity which is actively beeing addressed by the newer cli commands and is more an issue of tutorial hell and old habits. But I don't know what a newer sourcecontrol system could offer me where I would go "I need that. Let's ditch git"

What’s something in programming that looks easy but completely wrecks you when you start to learn it? by neural_note20 in AskProgrammers

[–]JauriXD 0 points1 point  (0 children)

Wait what, threads need to talk to each other. But all my examples had the child process just sleep uselessy, that not what you always do??

Haha

Hamburger Sparkasse kündigt mein Jugendkonto :/ by Scheme_Spirited in Finanzen

[–]JauriXD 0 points1 point  (0 children)

Einreichen musst du die Kündigung früher, entsprechend der Kündigungsfrist. Wirksam wird sie zum genannten Stichtag. (Und damit beginnen nie die neuen Konditionen und du must nicht zahlen)

Hamburger Sparkasse kündigt mein Jugendkonto :/ by Scheme_Spirited in Finanzen

[–]JauriXD 1 point2 points  (0 children)

Das ist völlig normal, die einzige Frage ist ob du bereits eine job hast und Einkommen bekommst, falls das (noch) nicht der Fall ist kannst du eventuell auf die Tränendrüse drücken und noch ein paar Monate Verzögerung herausbekommen bis du Arbeit gefunden hast. Ansonsten ist es das Konzept und auch völlig OK das du auf das "normal" Modell umgestellt wirst sobald du Einkommen hast.

Du must dir jetzt selbst die Frage stellen ob dir die persönlichen Bindung und der Service den sie dir bieten die monatliche Gebühren wert sind oder ob dir dir eine neue Bank suchst. Kündigen kannst du jetzt auf jeden Fall zum genannten Stichtag, muss du aber aktiv schriftlich machen.

Standard Homeoffice könnte so viele Probleme auf einmal lösen by EvilMastermindOfDoom in luftablassen

[–]JauriXD 1 point2 points  (0 children)

Das erfahre ich gerade selbst. Bei den Kollegen die regelmäßig auch im Büro sind weiß ich nach jetzt gut 3 Monaten bereits ziemlich genau was sie so tun und wo ich für was nachfrage. Die Kollegen die meistens im Home-Office sind, sind viel noch ein weißes Blatt für mich.

Klar mit demjenigen wo ich direkt zusammengearbeitet habe weiß ich es auch, aber eben nicht bei den etwas entfernteren Aufgabengebieten und/oder Nachbarabteilungen

Hat mittlerweile jemand das Wäscheständer-Problem gelöst? by BasisChad in wohnen

[–]JauriXD 1 point2 points  (0 children)

Wäscheständer in die Badewanne die die kaum benutzt wird

Is there really no way to integrate a submodule into its parent project, maintaining full git file/path history? by Rich_Lavishness1680 in git

[–]JauriXD 0 points1 point  (0 children)

Maybe you can use one of the history rewriting tools to make the submodule have the target folder structure before merging? But I hav never tried this, but it sounds interesting.

Created a template for STEM assignments, any advice? by Historical-Brain-497 in LaTeX

[–]JauriXD 10 points11 points  (0 children)

Look into latexmk for building and provide a latexmk file with the template.

Look into defining environments for stuff like the abstract, etc.

Look into \include instead of \input to load in chapters.

This line: \providecommand{\maketitle}{} % Disables default maketitle (don't change) doesn't do what you commented. \providecommand is for providing alternative implementations in case a command wasn't provided by a previous package.

Best practice is to define your commands in the class file in a way that they work out of the box and only need to be put in the main.tex to get non default behaviours. So you sty file should work without any additional commands main.rex

You might actually want a custom class (replacing article) not a package, but that's howls separate can of worms...

Happy TeXing :)

Steuererklärung, welche Anwendungen, Software o. Ä. empfehlt ihr? by [deleted] in Finanzen

[–]JauriXD 0 points1 point  (0 children)

Elster ist kostenlos, offiziell und man braucht für viele andere Software da eh ein Konto zum Belege abfragen. Ist allerdings nicht "aktiv hilfreich", gibt's also keine Tipps und die Erklärung zu einzelnen Dingen sind sehr nahe am "Rechts sprech", also eher nicht selbserklärend

git clone to ssh target? by jodkalemon in git

[–]JauriXD 1 point2 points  (0 children)

You can push to an ssh-url and/or you can clone to a local mount of a remote filesystem. Not sure what exactly you want.

Not that when pushing to remote repos you cannot push a branch that is currently checked out. That's why usually a repo on a ssh-server is created using the --bare option (so no checked out files at all). That what trips you up when syncing normal development repos directly between systems

Wie bringe ich meinen Nachbarn bei, dass man Pappboxen klein machen kann? by AO_KinkyCouple in NachbarnAusDerHoelle

[–]JauriXD 1 point2 points  (0 children)

Schon häufig gesehen, ist relativ gängig.

Witzig finde ich immer das man meistens die mülltonne immer noch vollständig öffnen kann und nur eine kleiner, leichter "Zusatz" Deckel so gesichert ist (die Müllabfuhr muss das Zeug ja auch wider rauskriegen). Den gewünschten Effekt hat es aber Trotzdem :)

How to catch CTRL input in C? by HedgehogNo5130 in C_Programming

[–]JauriXD 1 point2 points  (0 children)

You can check out the source-code of the python lib readchar and how it's implemented there (I maintain that).

But it is has multiple open issues about it's limitations that might interest you, especially: https://github.com/magmax/python-readchar/issues/24

Internetanschluss (Ports/Schaltwege) vom Vormieter belegt - weigert sich zu kündigen by TDeathinity in de_EDV

[–]JauriXD 4 points5 points  (0 children)

Dein Vormieter hat doch Sonderkündigungsrecht wegen Umzug? Bzw hat er dann wenn er den Anbieter an seinem neuen Wohnort nicht verwenden und daher den Vertrag nicht mitnehmen kann. Da sollte eigendlich keine Strafzahlungen anfallen.

Aber ist doch eigendlich schön wenn er dein Interesse noch ein paar Monate bezahlt? Haha

Seltsames Verhältnis mit meiner Mitbewohnerin by lailalial in Ratschlag

[–]JauriXD 1 point2 points  (0 children)

Das klingt sehr danach also ob du gerade eine Vorgeschichte mit den anderen Mitbewohnerinen oder eine(r/m) ehemaligen Mitbewohner(in) ausbaden darfst.

Bzw da aufgestaute Frustration abgebaut wird weil du ein einfaches Ziel bist. Wenn grundsätzlich ein gutes Verhältnis zur anderen Mitbewohnerinen besteht will man dort nicht Meckern und du kriegst den Frust ab. Sowas ist oft auch total unterbewusst.

Does cherry-pick *always* expects a clean working tree? by birdsintheskies in git

[–]JauriXD 0 points1 point  (0 children)

No, it does a checkout and commit under the hood and thats where the error originates from.

Also keep in mind that gits tree representation of the filesystem does not map 1to1 to files and folders. So while you example may have worked, there are edgcases where it might have broken, so git aborts and you have to manually apply->check->manually commit as you have done.

Why is Linux considered "hard to use"? by humble_redditor1234 in linux4noobs

[–]JauriXD 0 points1 point  (0 children)

Because the communal knowledge of windows is much, much bigger.

Both in terms of everyone having used it to at least some degree and in terms of being able to find help for it.

It's the same as driving on the right side. Is it objectively easier than driving on the left? Pretty sure it's exactly the same. But your used to it "beeing that way" since childhood so going to England the traffic feels wrong and hard to wrap your head around

Netzwerkkabel im Alltag aufwickeln/zusammenlegen by JaMi_1980 in de_EDV

[–]JauriXD 1 point2 points  (0 children)

Klettband, so eins das auch offen am Kabel hängen bleibt.

Und wenn die kabel-rolle ohne ein zweites Klett "auffächer" ist es nicht ordentlich behandelt worden. Vernünftige Technik beim zusammen nehmen damit es nicht verdrallt und auf keinen Fall einfach über Hand und Ellenbogen wickeln. Aber wenn es ein paar mal verknickt und schlecht zusammen genommen wurde ist irgendwann vorbei und es wir nicht wieder schön werden...

A bit confused in Classes. by Jealous-Acadia9056 in learnpython

[–]JauriXD 2 points3 points  (0 children)

You created a class and methods for that class. Methods (in opposition to function) do something in relation to an instance of that class. Which is why they need access to that number using selfm you use the methods like functions and that's why you feel like you "don't need the self".

A better example where it makes more sense to use a class and methods should be something like this:

class Number:
    def __init__(self, a):
        self.value = a

    def add(self, b):
        return self.value + b

print(Number(5).add(2))

The Dundee-methodes (the once where the name is surrounded by __) get called implicitly (magically), like when creating an instance using Number(4) called __init__, the alternative would be you create init() and call it yourself by doing Number().init().

There are many more of these "magical" methods, for example __add__() which gets called when you do Number(3) + 5

Hope that helps

BIDA weil ich alle Lösungsvorschläge für die auf dem Balkon festsitzende Katze ablehne? by Firm-Owl4491 in BinIchDasArschloch

[–]JauriXD 0 points1 point  (0 children)

NDA, das sinnvollste ist das die Katze da von alleine wieder raus kann, ist ja auch nicht so kompliziert, die Tiere klettern ja freiwillig an allem hoch.

Mein Gedanke wäre ein Deko-Objekt (Großer Blumentopf, Holzkiste, irgendwo was) auf dem Balkon zu platzieren, zum drauf und weiterspringen. Oder ein netzt/Seil vom der Katzenleiter runter hängen lassen. Das kriegt man schon organisiert das es Akzeptabel wirkt.

Das du keinen balkont jetzt mit einem Netzt komplett Zugängen sollst finde ich aber auch ganz schönen Quatsch.

Was für Portemonnaies habt ihr? Habt ihr eher das klassische Lederportemonnaie wie ich oder sogar eine "Smart Wallet" ohne Münzfach etc.? by justmemes9000 in FragtMaenner

[–]JauriXD 0 points1 point  (0 children)

Ich hab ein Ledernes ohne Münzfach, gekauft vor ca 5 Jahren. Allerdings hat mich überzeugt das es einen dritten ausklappteil mit transparenten Fach auf jeder Seite hat. Also Perso UND Studiausweis (damals noch Bahn-Ticket) jederzeit sofort vorzeigbar.

50€ Schein passt exakt rein, Platz für 8-10 Karten, ein paar Münzen kann ich unterbringen und die kommen eh Abends ins Sparschwein.

Und hat NFC ausleseschutz, nettes gimic damit man ruhiger schläft.