MummifiedClient5000

joined 2 years ago
[–] MummifiedClient5000@feddit.dk 1 points 5 hours ago (1 children)

Several error messages incorrectly using the term “argument” have been corrected.

Quarrelling over exactly what an argument is. Very pythonic.

[–] MummifiedClient5000@feddit.dk 10 points 7 hours ago

"We're going to get real racist on people like you, so don't leave".

[–] MummifiedClient5000@feddit.dk 15 points 20 hours ago (1 children)

When you use the pipe you're passing stdout from the left command to stdin on the right command.

file takes a filename as an argument, it does not read stdin (by default).

The first command works because head does read from stdin and then echoes the first line, but as an argument to file using command substitution - the $( ... ) bit. Command substitution is neat but this is not really the best use-case for it.

A better way is to use find with -print0 which makes it use a zero-byte instead of a newline character (otherwise the command will fail in case a filename contains a newline - newlines and spaces in filenames break a lot of scripts if you aren't careful) and -quit, which makes find exit after the first match. And then pass it to xargs which is a utility that transfers stdin to command arguments - In this case the file binary - and handles zero-bytes as seperators when using the -0 arg.

$ find /usr/lib -maxdepth 1 -type l -print0 -quit | xargs -0 file

Removing -quit from the find command also works as expected (ie. on each found link).

Definitely give Shadow of War a shot if you liked Mordor.

She seems nice.

Say the line, Bart!

[–] MummifiedClient5000@feddit.dk 152 points 3 days ago (5 children)

This would be considered petty even for a toddler.

[–] MummifiedClient5000@feddit.dk 12 points 4 days ago (2 children)

Carnivàle had so much potential :-(

I think it is the other way around. Some women flirt by acting like young girls (baby-voice, playing dumb/ditsy, etc) and we have been conditioned to perceive those behaviours as flirting.

[–] MummifiedClient5000@feddit.dk 6 points 6 days ago (3 children)

Der er ikke noget galt i at bruge LLM hvis det kan lette dit arbejde, men det er vigtigt at du ikke bare tager den tekst der bliver spyttet ud for gode varer.

En god struktur er noget i stil med:

En rolle - Start prompten med noget i stil med "Du er assistent til en social arbejder. Dit sprog er neutralt."

Hvad du ønsker af output: "Lav en opsummering af borgerens udfordringer, muligheder, mål og ønsker".

Hvis muligt kan du give et eksempel eller mer info om hvilket format du ønsker.

Herefter de data du har. (Selvfølgelig anonymiseret - Ingen persondata i LLM).

Din prompt behøver ikke at være så kort som mine eksempler, det er mest fordi jeg ikke har så meget fantasi.

Hvis outputtet ikke er som du forventer, er det normalt bedre at rette i prompten og prøve igen, end at bede om rettelser. Du kan ikke rigtigt have en samtale med en LLM, selvom man godt kan få det indtryk.

Sure, but the presence of a Batman also increases the risk of clown-related incidents. Are those seats worth it, pregnant ladies?

 

Connection: Baby

 

Connection: Johnny Cash recorded an album in Folsom Prison.

 

Connection: Yoshimi won't let those robots eat me.

 

Connection: (Actual) death metal

 

Connection: Black Sabbath cover

 

Understellet på Nørrebrogade lukker den 30. april.

Det var ellers et glimrende sted at rykke en almindelig bytur fra en hyggelig aften ude til en længere række af dårlige beslutninger som man drikker for at glemme.

 

Any suggestions for a selfhosted comic book collection manager? I.e. a database of the physical comics that I own.

 
 

Det skal have tegnedrengen eller adgangskoden frem, hvis du i fremtiden vil lytte til TV 2's podcasts 'Dato' eller 'Skyggesiden'.

[…]

TV 2 har nemlig indgået et eksklusivt samarbejde med Podimo

[…]

Man vil fremover også kunne tilgå programmerne med TV 2 Nyhedernes app med login, hvilket er gratis.

view more: next ›