Goodbye Reddit, Hello Lemmy

  • 0 Posts
  • 24 Comments
Joined 10 months ago
cake
Cake day: January 6th, 2024

help-circle




  • It really depends. Whitespaces are something most languages don’t care. The only people who care are enforcing style guides. Level 2 is the same but there it start to get more critical, because can you be sure that it makes no difference? Level 3 is critical. While it can help to eliminate code that probably didn’t caused the problem, it makes a difference. In code review this can make a difference. If a specific Hex number is well known, like of example 0x4711 and someone changes it to 18193 or even Binary, information to the programmer gets hidden. And even in style this makes a difference. When you have a flag Enum, the thing to use is binary or bit shift, because both is readable. Decimal is readable to a certain point. 4 bytes is fine but at the 5th I don’t know them by heart and can’t even spot them. Level 4 is irrelevant, when its on top of the file and bothering to hide it, is not necessary. Also this can be relevant. For example a while ago at our company we had code that needed to work with .NET 2 and we had parts with .NET 4 and at some point, new files had the using for LINQ, that isn’t available in .NET 2. This happened a lot.

    The best solution is to have options and let the person using it decide. What I’m missing is to add my own ignore list. For example with our XML files, we have a date in them. The XML Class is badly written, because instead of having one date attribute for the first node, we have them on all. This is pretty irrelevant to show in a diff, because its not even used. Rewriting the Class is a big task, because its a core feature and can break everything, when one thing is missed.


  • We Germans had this a few years ago. Sky Ticket was more expensive than Sky Q and offered less. I went with an IPTV Sky Box in year 2, because Sky Ticket was cheaper in the first year. The IPTV Box does kinda suck though. I get Free TV in HD for free but no ability to record and no 4K and HDR option, though it even got announced a while back.

    To be fair, Sky has some exclusive series or at least exclusive for a year or so, so its not a total waste. And you still get ads (I don’t speak about the sponsors on track). At least not during a race but right after the race during the inlap.


  • ZeldaFreak@lemmy.worldtoich_iel@feddit.de*Permanently Deleted*
    link
    fedilink
    Deutsch
    arrow-up
    2
    arrow-down
    1
    ·
    5 months ago

    Dieses. Mache ich mittlerweile seit Jahren. Hatte nämlich mal zum Wahlsonntag ne Grippe bekommen und zum Wahllokal schleppen wäre ne Herausforderung und außerdem wollte ich nicht die Omis im Altenheim anstecken. Das Wahllokal war ein Nebenraum des Speisesaals/Aufenthaltsraum und man hätte da an die vorbei gemusst.

    Seit dem immer Briefwahl. Da hat man genügend Zeit den Zettel aus zu füllen und zur Post zu bringen. Da kann ich den Sonntag schön entspannen.


  • Its not about knowing everything. You can know a lot but don’t have the skills. Cisco doesn’t make cheap products and screwing it up, it not good. Especially it can be easily done at the factory. Its not like it would cost them much more. I can get a holder for like 0.50 to 1€ per piece. There you must subtract 19% VAT and think in bigger quantities. On a per device basis, its not adding much.

    They do this, because it adds up and they can save a lot of money. They make more money when a customer pays for a replacement or when a customer screw things up and needs to buy a new device. Its not something companies should be allowed to do. Also it would be even better if we don’t need to tell companies what they should do and they do it themselves. In fact a lot do this, because it doesn’t add much to the total cost of one device, but it makes the product better.



  • Wehrpflicht ist halt so Rückständig. Zu irgendwas gezwungen werden, ist einfach nicht mehr Zeitgemäß. Wenn man Volljährig ist, ist man die zwänge los. Gut die Berufsschulpflicht endet nicht zum 18., sondern erst zum Ende des Schuljahres, wenn ich noch richtig informiert bin. Erst wenn ich was will, muss ich auch was geben. Will ich kein Geld vom Amt, muss ich mir auch keine Arbeit suchen usw. Das Militär ist halt auch echt nicht gerade populär. So auf Krieg hat nicht jeder Bock und auch mit dem Unterordnen nicht. Und dann als Ersatz irgendwelche Arbeiten verrichten, auf die man kein Bock hat?

    Wenn man wieder Leute braucht, sollte man einfach ein attraktiveres Angebot machen. In den USA wird ja einem durchaus die Schulbildung bezahlt. Man könnte hier auch was ähnliches machen. Wohnung, Führerschein, irgendwas lässt sich bestimmt finden, was die jungen Leute hinterm Ofen her holt.


  • When you know how rockets and jet engines work, because someone explained it to you but nobody explained how car works, people might just apply that knowledge to cars.

    People expect that others are born with knowledge or that it magically appears in their brains. Its not that op is retarded, its his parents that forgot to teach his son some basic stuff. When I see memes with how bad the current generation is, they forget its not the fault of the generation, its the fault of the parents. When they don’t teach their children that, how should they do it?


  • ZeldaFreak@lemmy.worldtoich_iel@feddit.deich🛏️iel
    link
    fedilink
    Deutsch
    arrow-up
    32
    arrow-down
    1
    ·
    8 months ago

    Kein Witz, so ähnlich sah es bei einem Kollegen von mir aus. Als guter Freund habe ich ihm Aufräumen geholfen. Depressionen und so. Der komplette Boden war mit Zeug voll und man musste sich erst mit dem Fuß eine freie Fläche zum hintreten frei machen. Ich hab auf dem Boden gepennt, neben Müll. Beim Aufräumen habe ich eine Alditüte entdeckt, mit TK Essen und auf dem Kassenbon stand, dass es da seit nem halben Jahr lag. Ja der war Einkaufen und hat dann sein Essen nicht mehr gefunden. Übrigens ich war noch nie so froh duschen zu können.

    Aber ernsthaft: wenn ihr eine solche Situation vorfindet, hat die Person Probleme. Ich kann da jetzt kein perfekten Plan geben, wie man reagieren sollte, aber da ich selber betroffen war und ein Kollege von mir auch, kann ich sagen, man sollte die Person unterstützen und auch durchaus aufzwingen und so tun als ob es einen nicht stört. Jemanden zum Profi zerren ist die falsche Option. Hilfe muss man wollen und wenn man sie nicht will, würde es eher passieren, dass man den Kontakt zu der Person verliert.


  • Docker is amazing but not needed. You can compare it to a simpler VM. You can take a docker and run it on any machine. You have an environment that is separate from your host and you and the container can only access it via defined points (volumes and ports).

    Imagine you need to run a 2nd Mumble Server. I never set on up but its often that a 2nd instance is not that easy. With docker its easy. The only difference is that you need to use different ports, when you have only one network access or you use a reverse proxy. You can create a 2nd instance to test stuff, without interrupting your productive system. Its a security benefit, because its isolated to some degree and you can remove one easily.

    I started using it with MSSQL Server, because I hated how invasive it is on a windows machine, especially I just needed it temporarily to do stuff with it. I’m not a microsoft admin and I know that Servers from Microsoft are a different level. Docker allowed me to start and stop it and remove it very easily. After that I started using it for a lot of and brought my NAS on the next level.

    Also one thing worth mentioning are Linux Containerx (LXC). They are in Proxmox but I have less knowledge. It feels more like a full VM than docker but uses less resources. This is the reason why containers in general are more popular. They are less resource hungry than a full VM but have some benefits than running everything on one machine. LXC feels more like a full system, than docker. With docker you rarely get into the system. You may execute some commands, like a create user command or a one time job but don’t access it via a shell from the inside (its possible). LXC on the other hand, you use the shell.


  • ZeldaFreak@lemmy.worldtoMicroblog Memes@lemmy.worldScript kiddies
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    9 months ago

    Making an installation script that will work for all, or even most, OSs and processor architectures can be a lot of work. Are you paying the devs to do it?

    I do pay for my software, even when its free, when I like the software and the devs. But if the devs/community think they are something better, then no. I had some where they refused a install script and said something along the lines that if you can’t get it running with the docs, you shouldn’t host the software. Yeah I don’t like such devs. Also when they have enough time to write a documentation, they have enough time to write a script. I even had one project, where the dev refused a correction in the docs, even though it was faulty.

    Also you don’t need to write a script for every system. You start with the most used ones. I mean just for testing I would get insane, when I have to repeat some steps over and over. At our company I do write scripts for some things that drive me insane. First I got told, it works this way, this costs too much time to do and it doesn’t sell more software. I just did it and now they thank me for that. Even just an internal tool that I wrote for myself, after I drove insane doing stuff manually, now also customers get.

    I don’t speak about software where you pull via git, install some prerequisites and run a script. Not shipping prerequisites can have a legal reason and git pull is just a different way of downloading. It also works to download the tagged source code, instead of cloning but this requires more explanation to less skilled users.

    Also with docker I came across some projects where they really butchered it. A docker compose file is my preferred way. I have my file + .env and it works for most containers I come across. It looks clean and feels clean. Running one command for creating a user is a understandable step, to avoid default users.

    When you like to hammer in a lot of commands into a shell to install something, do it. I prefer my clean, simple and straight forward install scripts. I don’t need a installation doc that goes over every customization that you can make. I want a setup that works for most users and after that, I can dig around every customization there is, to optimize a software how I want it. Not everything is needed right at start and a default value that most users will use, is enough for the start.

    Good thing that there is a ton of software and I can pick the ones where I like their philosophy and support them. That is what I do.



  • ZeldaFreak@lemmy.worldtoMicroblog Memes@lemmy.worldScript kiddies
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    38
    ·
    9 months ago

    I hate when the installation takes like 20 steps. Never heard of an installation script and a interactive installation? I’ve installed far more complex software, that gets this but your shitty programm can’t do it?

    And they wonder why nearly nobody uses Linux. In Windows nearly all software comes as an executable. Imagine offering a software under windows, where you need to do the setup manually in a shell.


  • ZeldaFreak@lemmy.worldtoich_iel@feddit.deich_iel
    link
    fedilink
    Deutsch
    arrow-up
    2
    ·
    9 months ago

    Danke für den Tipp. Ich muss sowieso bei einigen Probesitzen. Besonders beim Gurt muss ich aufpassen. Hab schon ein paar gehabt, wo ich als Beifahrer diesen schon komplett ausgereizt habe. Und sich da wie bei einem Sportwagen raus schälen muss ich auch nicht haben.

    Wenn es soweit ist, muss ich mich halt intensiv damit befassen. Ich muss da auch durchrechnen wo sich sparen lohnt und wo nicht. Hab ja gesehen, wenn ich zu sehr an der Sicherheitsausstattung spare, zahle ich am Ende mehr in die Versicherung.


  • ZeldaFreak@lemmy.worldtoich_iel@feddit.deich_iel
    link
    fedilink
    Deutsch
    arrow-up
    3
    arrow-down
    1
    ·
    9 months ago

    Da ich bald mein Führerschein mache (bin 30) und da gucke ich mir schon Autos an, die mir gefallen könnten und der Mercedes sieht zumindest so aus, als ob ich bequem drin sitzen könnte. Ist mir auch einige male in den Portalen aufgefallen. Wäre jetzt nicht der Mercedes den man fahren will, wenn man Mercedes fahren will, aber unabhängig der Marke, sieht es zumindest bequem aus. Bin halt groß und fett und da will ich was haben, was bequem ist. Sollte auch als erstes Auto nicht so viel kosten, falls ich durch die Unerfahrenheit mal was mitnehme. Schadensklasse kann ja eh nicht sinken und Schäden an anderen, zahlt ja die Haftpflicht.


  • Except no. First issue it’s messured wrong. You messure a full package and then an empty one in the factory. Losses during shipping and so on is the problem of the customer. Especially meat looses a lot of water. People don’t weigh the water in the cloth.

    Also the little e (estimated sign, 76/211/EEC) besides the package does specially allow variations. Only the entire batch must be correct on average. But there is a limit on how much variations is allowed. And big companies are closely watched.