mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

348K
active users

It is entirely too after 5pm to deal with someone else's javascript

javascript is a perfectly fine language that you should only touch if someone is paying you

I'm looking at this package manager and the install page lists 19 different ways to install it

I finally gave in and just followed the install guide on their discord that required me to install a bunch of software on my laptop that is running out of space.

it compiled for 10 minutes and then immediately threw an error when I went to localhost:8080

computers were a mistake. javascript doubley so

@glyph no we can't have ints.

I think that might be a useful way to divide programming languages: will they give you an int, or are all numbers doubles in some way?

@jyn @glyph that's the next step down the spectrum, yeah.

@foone @jyn I wonder if we would all be happier or sadder if we slid into the parallel dimension where web browsers never used JavaScript because they used Tcl instead

@glyph (tcl at least had interop with other languages at the time it would have been relevant) @foone @jyn

@glyph @jyn I'm not saying I want to go there but I just want to SEE the world where it's fucking visual basic. PLEASE I need to see

@foone @jyn I only ever played 1 and 2 but I'm pretty sure this is how Silent Hill 3 ends

@foone @jyn alternate punchline: the Enigma of Try Amigara Catch End Try

@jyn @glyph
maybe it goes:
* everything is a string
* numbers are doubles
* now that you're a big kid, we can trust you with an int
* you get to decide how big those ints are! but in a really annoying unportable way.
* you can do pointer math into your numbers and rewrite them in pieces.

@foone@digipres.club @jyn@tech.lgbt @glyph@mastodon.social

you get to decide how big those ints are! but in a really annoying unportable way.
Is this...is this about C?

@tertle950 @glyph @jyn
yeah! I've done 16bit x86, 32bit x86, and 64bit x86 THIS FUCKING WEEK! what's an int? I HAVE NO IDEA

@foone@digipres.club @tertle950@kitty.social @glyph@mastodon.social @jyn@tech.lgbt

Fun fact: char doesn't have to be 8 bits!

It's just the smallest addressable unit that can contain characters on that implementation!

@claireh@transfem.social @foone@digipres.club @glyph@mastodon.social @jyn@tech.lgbt Oh hey, nice clarification edit. So if the implementation has Unicode as a first-class citizen, we've all just been done in?

@tertle950@kitty.social @foone@digipres.club @glyph@mastodon.social @jyn@tech.lgbt

I think it depends on the CPU architecture more than anything. As of C11 a char is a byte and a byte is:

byte
addressable unit of data storage large enough to hold any member of the basic character set of the execution environment
2 NOTE 1 It is possible to express the address of each individual byte of an object uniquely.
3 NOTE 2 A byte is composed of a contiguous sequence of bits, the number of which is implementation-defined. The least significant bit is called the low-order bit; the most significant bit is called the high-order bit.
(Multiple edits because it's 5 am and I am too eepy to really be discussing this)