underscore_

joined 1 year ago
[–] underscore_@sopuli.xyz 4 points 19 hours ago

When spelled out like this it feels natural that it would be spoken with a silent ‘p’ as in pneumatic, so: “na-su-sa”?

[–] underscore_@sopuli.xyz 1 points 3 weeks ago

In fact: 0! = 1

[–] underscore_@sopuli.xyz 2 points 1 month ago

Op this is the guide you need! I’ll leave my link up as comparison in quality of the guide a knowledgable human produces vs that predicted by an ml model

[–] underscore_@sopuli.xyz 4 points 1 month ago* (last edited 1 month ago) (2 children)

ffmpeg is my go to for things like this but I can never remember the necessary incantation on the command line. Fortunately ChatGPT tends to get you most of the way there a lot of the time, I would normally asks something like the following and start from there:

How to convert a folder of png images into a gif using ffmpeg?

[–] underscore_@sopuli.xyz 2 points 1 month ago

Well written piece, worth taking the time to read it in full.

[–] underscore_@sopuli.xyz 7 points 2 months ago (2 children)

Last I checked ~18:00BST

Party     Seats    Votes       %
Lab        412   9,725,117   33.8
Con        121   6,824,610   23.7
Reform       5   4,103,727   14.3
Lib Dem     71   3,501,004   12.2
Green        4   1,941,220    6.8
Indep.       7     841,835    2.9
…

I am personally glad that the next government is not going to be stuffed full with bigoted nationalists from Reform. I can’t help but marvel though at how wonky the system of voting is that let the Lib Dem’s get an order of magnitude more seats than Reform with 600k fewer votes. Reform got just under half Labour’s vote share and only slightly over 1% of their seats.

[–] underscore_@sopuli.xyz 21 points 3 months ago* (last edited 3 months ago) (3 children)

It’s a the right shift assignment operator so x >>= 4 right shifts x by 4 and assigns the result back to x. The code editor is displaying single double wide symbol (ligature) instead of the three character long operator >>=, I discovered today these are in fact well loved by some coders.

[–] underscore_@sopuli.xyz 4 points 3 months ago

That’s neat, so TIL ligature in code do actually have a strong following

[–] underscore_@sopuli.xyz 62 points 3 months ago* (last edited 3 months ago) (10 children)

LGTM. Though do people really code with ligatures turned on?

Edit: Ok so there are some big advocates of ligatures, I’m going to have to give them a second chance. I’ll try for a week, and either way that Fira Code font looks great.

[–] underscore_@sopuli.xyz 2 points 3 months ago* (last edited 3 months ago)

Maybe it’s that this is a better a metaphor for the destruction of the common cultural heritage of the environment? Not many people can relate to or are inconvenienced by a very expensive private boat sinking.

[–] underscore_@sopuli.xyz 4 points 3 months ago

One great use I have found for ChatGPT and family is helping me divine command line one-liners for standard shell programs. Generating commands for tools like ffmpeg are also reasonably successful and saves a lot of time digging through man files

[–] underscore_@sopuli.xyz 6 points 4 months ago (1 children)

If the angle of the jet is more then a little off axis the jet may still visible if it is sufficiently powerful and it passes through a scattering medium (interstellar dust?) the wiki page for blazars shows just such an example in the M87 galaxy

 

Amazon are getting a bit too creative with where they hide stuff

view more: next ›