Vince

joined 1 year ago
[–] Vince@feddit.de 30 points 9 months ago

A small loan of a million dollars

[–] Vince@feddit.de 5 points 9 months ago (1 children)

Du wirst es nicht mögen, aber echte Männer essen eine undefinierte Masse, hergestellt aus den künstlich gestreckten Überresten von mit Hormonen und Antibiotika vollgestopften Tieren, die ihr Leben auf 0,6m² verbracht haben ohne jemals die Sonne zu sehen.

[–] Vince@feddit.de 12 points 10 months ago

Die gute alte Claire Grube, da fehlt dann aber noch ihr Lebensgefährte Rainer Zufall.

[–] Vince@feddit.de 29 points 10 months ago (2 children)

While vegetarians won't eat things that caused harm to produce

This is nonsense, since there is a lot of animal harm involved in the production of eggs and milk.

And I don't see the contradiction you are seeing. Your piracy argument is pro music/movie industry and the vegan argument is against the meat industry. Doesn't make much sense to equate those arguments.

[–] Vince@feddit.de 1 points 10 months ago

Ich finde schon, dass man da unterscheiden sollte. Arona und T-Cross sind näher an meinem Polo von 2014 als an den richtig großen SUVs. Ansonsten hast du aber Recht.

Hab mittlerweile zwei Kinder und bin auf der Suche nach nem neuen und etwas größeren Auto. Es soll auf jeden Fall elektrisch sein, aber da ist die Auswahl irgendwie enttäuschend. Ich saß heute mal probeweise in nem Opel Mokka, der ist zwar außen in alle Richtungen größer als mein Polo, aber innen merkt man davon quasi nichts. Immerhin gibt es mittlerweile ein paar Kombis.

[–] Vince@feddit.de 1 points 10 months ago (3 children)

Ist halt echt so. Z.B. T-cross und Ford Explorer zählen beide als SUV in die Statistik, letzterer ist aber ein ganz anderer Brocken

https://www.carsized.com/en/cars/compare/volkswagen-t-cross-2019-suv-vs-ford-explorer-2019-suv/

Gibt sicher noch extremere Beispiele, aber das waren die ersten die mir einfielen.

[–] Vince@feddit.de 3 points 11 months ago

I was using Mozilla in order to not use Internet Explorer and at some point I switched to their new browser when it was still called Firebird.

Nowadays I stick to it just so Google doesn't get a browser monopoly.

[–] Vince@feddit.de 28 points 11 months ago (1 children)

It's a random list for sure, but vendor lock-in can also be a problem for companies hosting their stuff in the cloud in a similar manner to what's happening with unity.

[–] Vince@feddit.de 21 points 11 months ago (4 children)

A simple website to show if it matters to you is this one (ideally check it on a screen with more than 60hz):

https://www.testufo.com/

Everyone's perception is different, I've met someone who couldn't tell the UFOs apart past 30 fps. They also didn't like shooters/action games much, probably because following fast movements was difficult for them.

But I think the vast majority of people easily notice the difference between 30 and 60. And 60 to 120 should also be possible notice for most. As for me, I used to play Quake 3 a lot and back then that was played on 120 or even 240hz CRTs. The first flat screens with slow reaction times and 60hz max were quite a step down.

While I don't really like linus tech tips, they did some nice testing on the topic and came to the conclusion that more fps is measurably better for shooters, even if the refresh rate can't keep up.

[–] Vince@feddit.de 2 points 11 months ago* (last edited 11 months ago)

I've been on-call in 3 of my past jobs in Germany, most of it was pretty similar, 1 week per person, 600-800€ per week and some extra pay on incidents. Current job:

  1. ~500€ for a week and I get an extra day off after each week on-call, but no extra pay for incidents
  2. With the extra day off it's really nice. Our team is light on incidents too.
  3. Not much past that. The standard German worker protection laws would apply, but pushing those would not help me much and it might not be the best career move.
  4. 5 others
  5. EU
[–] Vince@feddit.de 5 points 11 months ago* (last edited 11 months ago) (1 children)

I thought it was a non-issue that tooling should take care of anyway until stackoverflow published this:

https://stackoverflow.blog/2017/06/15/developers-use-spaces-make-money-use-tabs/

Spaces all the way

[–] Vince@feddit.de 1 points 11 months ago

Good questions, I could probably write a lot, but I'll try to keep it short. I usually apply TDD and there are different schools of thought within it about how to structure the development process. But no matter how exactly you do it, if you focus on writing the tests while writing your code, you won't end up with an application that you then have to figure out how to test.

what to test

Well, what is the application supposed do? That is what you test, the behaviour of the application.

So in a codebase without any tests, the first thing you should write a test for is the happy path. That will probably not be a unit test. So for the web server example, set it up in a test with a file, start it and check if it serves that file.

Then you can add tests for all the error cases and for additional functionality. You can write unit tests for individual components. The ideal places to test are interfaces with clear boundaries. Ideally you should not have to look at the code of a method to be able to write a test for it. In reality that's not always so easy, especially in existing code bases, but if you have to set up more than one mock, it tends to lead to brittle tests.

Every time you encounter a bug/issue, reproduce it in a test first. And do measure code coverage, but don't make it a target, just check for places that are lacking.

view more: next ›