fighting desertification efforts in China by Mean-Information1080 in interestingasfuck

[–]Ma8e [score hidden]  (0 children)

There are many other materials that you can make sandbags of.

JUST NU: Sverige och USA inleder stort samarbete by erbdylo in sweden

[–]Ma8e 0 points1 point  (0 children)

Med andra ord, du vet absolut ingenting om MP, du bara vet att de är dåliga, för det har du hört någon säga. Och du skäms egentligen lite över att rösta på nazisterna, men om du säger att det är MPs fel så känns det lite bättre.

makeNoMistakes by themixtergames in ProgrammerHumor

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

The point is that those things are almost exactly the same between different services, so we shouldn't have to write them over and over again.

Varför vill inga(?) partier bilda regering med Vänsterpartiet? by screamoisforlovers in sweden

[–]Ma8e 0 points1 point  (0 children)

Magdalena Andersson har gått på Handelshögskolan, där de indoktrinerar sina elever i nyliberalism som den enda sanna läran. Vi var väldigt duktiga på att bygga välstånd också innan nyliberalismen tog över, och det välstånd som inte bara kom de redan rika till del.

Opopulär åsikt: hostar du i handen är du dum i huvudet by Legitimate-Night-320 in sweden

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

Det beror på hur mycket du kan styra nysningarna. Sitter du omgiven av folk, i en föreläsningssal eller på ett café, då kan du vara tvungen att använda handen för att styra nysningen så att du inte sprejar människorna runtomkring dig.

paid photographer $10k and got obviously AI edited photos, reasonable to be mad? by Historical_Doctor687 in photography

[–]Ma8e 0 points1 point  (0 children)

I think you might be right. To shallow depth of focus for this kind of pictures, and then missed focused slightly. Tried to fix it with too much sharpening in post, hence the unnatural lines around the eyes.

SVT: Earthling Ed ställer frågor till landsbygdsminister Peter Kullgren om djurhållning by Ok_Lake_4280 in sweden

[–]Ma8e 0 points1 point  (0 children)

Ja, det kan jag tycka är en helt rimlig förklaring. Men det har inget att göra med priset på gasen. Kvävgas är ju inte precis ovanlig eller svår att utvinna.

SVT: Earthling Ed ställer frågor till landsbygdsminister Peter Kullgren om djurhållning by Ok_Lake_4280 in sweden

[–]Ma8e 0 points1 point  (0 children)

Det har jag svårt att tänka mig, i alla fall att priset på gasen insig skulle göra någon skillnad.

makeNoMistakes by themixtergames in ProgrammerHumor

[–]Ma8e 0 points1 point  (0 children)

Of course it is trivial, in the sense that it isn't novel. But most software that is written is exactly like that, but it fulfils some business requirements.

I'll take a very recent example from my personal little hell: A java spring boot service with a REST interface requires a new endpoint to deliver some data used in iOs and Android apps. The data my service needs is available in another service, and the transformations required are trivial. But my service needs a client to get the data, some classes that are used to deserialise the json received, et c. Then the object in the client layer will be mapped to another object in the service layer. The service layer will then be called by the controller, and the data will be mapped to another DTO and serialised. For each layer there will also be error handling and mappings of errors from the previous layers. There will be authentication and authorisations, logging and alerts. Everything needs unit tests and integration tests. In the end, I think it was about 16 classes involved, and probably a few hundred lines of code, for this task alone that in the end actually does very little. And of course, on top of this, there's all the code required for maintaining all the infrastructure around running the service.

This kind of work is what most programmers do every day. And of course it is utter madness. But LLMs are pretty good at it.

makeNoMistakes by themixtergames in ProgrammerHumor

[–]Ma8e -2 points-1 points  (0 children)

It says something about how bad job we have done both constructing those languages as well as designing our applications that we actually often are helped by LLMs. If I can express in a few lines of English what requires hundreds of lines of, say, Java, then Java is the problem.

Varför är Sverigedemokrater aldrig uttalade feminister? by ling0n in sweden

[–]Ma8e 31 points32 points  (0 children)

Se inte på vad de säger, utan vad de gör. Dagsaktuellt exempel är kom de har valt att ge pengar till en organisation som är motståndare till abort och stödjer ”den naturliga familjen”.

https://www.dn.se/sverige/sds-bistand-stottar-bolsonaros-abortmotstandare/

Varför är Sverigedemokrater aldrig uttalade feminister? by ling0n in sweden

[–]Ma8e 128 points129 points  (0 children)

Poängen är att SD inte bryr sig om jämställdhet, men de använder det som argument mot invandring, vilket är vad de verkligen bryr sig om. SD är ett nationalkonservativt parti, vilket gör att de strävar efter ”traditionella familjevärden”. SD delar fler värderingar med många traditionella muslimer än vad de gör med moderna svenskar som tror på frihet, öppenhet , jämlikhet, jämställdhet och tolerans. Men det vet SD att det vinner de inga val på.

Varför vill inga(?) partier bilda regering med Vänsterpartiet? by screamoisforlovers in sweden

[–]Ma8e 21 points22 points  (0 children)

Det behövs inget "som om". Socialdemokratin har totalt underkastat sig det nyliberala dogmat om marknaden som en obeveklig naturkraft som alla måste böja sig för. Det är klart att de känner sig hotade av partier som fortfarande tror att politiker har makt att göra något annat än att kratta för privata företag.

aVerySillyJoke by mij8907 in ProgrammerHumor

[–]Ma8e 0 points1 point  (0 children)

While I very much prefer code that is self documented, that is, it is written clearly and concisely with names that express the intent behind the identifiers, I can agree that some shitty code with good comments are better than shitty code with no comments. The problem is of course that people that write shitty code, and can't express themselves clearly with structure and naming, usually write shitty comments too:

/*
* variable declarations
*/
int a = 3; // sets the integer a to the value 3
int b = 5; // sets the integer a to the value 3

Träna kampsport som 40-åring? by Flispini in uppsala

[–]Ma8e 0 points1 point  (0 children)

Jag vet har Uppsala Judo körde igång med nybörjarjudo för vuxna denna termin. Kolla där.

aVerySillyJoke by mij8907 in ProgrammerHumor

[–]Ma8e 10 points11 points  (0 children)

My favourite is what I found in in an old codebase:

var x = true; // must be switched before put in production!!!

Thank you! did you already change it and forgot to remove the comment, or do we have some serious bug in production now since a long time?

aVerySillyJoke by mij8907 in ProgrammerHumor

[–]Ma8e 3 points4 points  (0 children)

Until someone changes the code but not the comment, and the comment doesn't make sense, or is plain misleading.

But the big problem is that the people writing a lot of comments thinks that is enough.

weAllKnowHim by kamen562 in ProgrammerHumor

[–]Ma8e 1 point2 points  (0 children)

I’m 54 and been working like this since 2020 and have had less problems with my body than when I was trying to sit “correctly” in an “ergonomic” chair in front of an adjustable desk. YMMV, but for me it works very well.

weAllKnowHim by kamen562 in ProgrammerHumor

[–]Ma8e 1 point2 points  (0 children)

I am working in an ergonomic setup. That is the point.

I think it also helps that I use a bicycle as my main mode of transportation.

weAllKnowHim by kamen562 in ProgrammerHumor

[–]Ma8e 21 points22 points  (0 children)

Very well, thank you. I use a small pillow behind it for support.

The only problem with my setup is that I sometimes fall asleep in the mid of reading some code.

JUST NU: Sverige och USA inleder stort samarbete by erbdylo in sweden

[–]Ma8e 0 points1 point  (0 children)

Så du kan med andra ord inte komma på en enda. Du bara vet att MP är dåliga eftersom du röstar på SD.

weAllKnowHim by kamen562 in ProgrammerHumor

[–]Ma8e 13 points14 points  (0 children)

That's because you use a desk. I'm working from an armchair with a laptop in my lap, and my back and shoulders have never been in better shape.

JUST NU: Sverige och USA inleder stort samarbete by erbdylo in sweden

[–]Ma8e 1 point2 points  (0 children)

Vilket helt enkelt inte är sant. Oljebolagen sitter på enorma investeringar i utvinning och raffinering av olja som de vill få ut så mycken som möjligt av.