[ / / / / / / / / / / / / / ] [ dir / agatha2 / animu / cafechan / doomer / flutter / strek / vg / wmafsex ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

-- . .-. .-. -.-- / -.-. .... .-. .. ... - -- .- ... ---.

File (hide): ba26b07a77f4a7c⋯.png (182.82 KB, 639x842, 639:842, 1543895313802.png) (h) (u)

[–]

 No.1004627>>1004706 >>1005306 [Watch Thread][Show All Posts]

Where were you when Javascript conquered every ecosystem under the sun?

 No.1004628

Is it just me, or is that first tweet nonsensical?


 No.1004633>>1004691 >>1004694 >>1005232

swiftonsecurity is a loser dude who pretends to be a girl and said he was a "sysadmin" even though he only worked an IT helpdesk position lmao

what a fucking poser, and he gives his shitty opinions on all things tech, even when he has no fucking idea what he's talking about


 No.1004634>>1004691 >>1004694 >>1005232

like he'll literally look up some shit on wikipedia or just read a preliminary article on a topic and then act like he's the fucking authority on the subject, and for some reason people actually listen to this phony


 No.1004691

>>1004633

>>1004634

Wow anon. Imagine being this butthurt.


 No.1004694

>>1004633

>>1004634

Stay mad kid. He's right.

(((They))) always win. We always lose.


 No.1004706>>1004728 >>1004757 >>1005238 >>1013338

>>1004627 (OP)

>The year is 2050

>Javascript is proclaimed as the new C

>Windows 1 (the second reboot attempt) is entirely written as a node.js app

>It's finally the year of the SystemD desktop


 No.1004728

>>1004706

>Windows 1 (the second reboot attempt) is entirely written as a node.js app

:D


 No.1004730>>1004732 >>1005220 >>1005339 >>1013146 >>1013848

File (hide): ba3c6f680c27057⋯.png (87.31 KB, 930x526, 465:263, electron_DE.png) (h) (u)

You laugh, but this is the state of modern computing.

>8ch needs a file extension to figure out what file format a PNG file is


 No.1004732>>1005160 >>1005202

>>1004730

This looks like a hacker terminal from a 1990s movie.


 No.1004757>>1005161 >>1007725 >>1013187

>>1004706

>>Javascript is proclaimed as the new C

JavaScript is already the new C. Programs are being rewritten in the UNIX language JavaScript, just like they were rewritten from Fortran, Pascal, and other languages into C in the 80s and 90s. The C weenies had to "reinvent" threads and asynchronous programming too, even though they were important features of PL/I, Ada, and other languages many years earlier. C and JavaScript are being used in ways they were never intended for because incompetent "decision makers" believe the availability of "cheap" "programmers" overrides all other concerns. They think 15,600 interchangeable weenies are better than a few good programmers.

Date: Sun, 15 Nov 1992 17:55-0500
Subject: Re: [Re: Eliminate TCP Input Demuxing]



I'm just getting around to responding to this, with an
historical note which I cannot resist. Paul's paper is
a good, thorough, and competently done analysis, but
the conclusion takes me back about 14 years. Are we
always destined to reinvent the same stuff every N
years?

There is a well known effect in the computer architecture
community, which in summary states that all major
architectural mistakes must be and have been made at least
three times: once in the design of mainframes, once in the
design of minicomputers, and once in the design of
microcomputers. Perhaps a similar rule applies to operating
systems.

The same mistakes are made once in mainframe OS's, twice in
microcomputer OS's, and N times in Unix (tm) operating
systems. What seems surprising and different is that they
don't get fixed in Unix. Mostly people don't even realize
they ARE mistakes.


 No.1005160

>>1004732

And it's made with js


 No.1005161>>1005162 >>1005201 >>1005220 >>1005241

>>1004757

>C and JavaScript are being used in ways they were never intended for

like for example?


 No.1005162

>>1005161

VS Code


 No.1005201

>>1005161

GNOME extensions.


 No.1005202

>>1004732

That was the idea behind it.


 No.1005204>>1013153

>Javascript

>The language where all numbers are floats

In a few years every bank is fucked.


 No.1005219

Busy programming in Scheme.


 No.1005220


 No.1005232

>>1004634

>>1004633

holy shit is he me?


 No.1005238>>1013340

>>1004706

>Windows 1

You wrote it wrong.

It's Windows One


 No.1005241>>1007593

>>1005161

Get punched /pol/


 No.1005306

>>1004627 (OP)

Playing videogames


 No.1005339

>>1004730

>pic

comfy tbh


 No.1007593

>>1005241

>Get punched /pol/

literally wat


 No.1007725>>1013187

File (hide): 1dde350e20e1a12⋯.jpg (46.81 KB, 600x338, 300:169, 41864894564.jpg) (h) (u)

>>1004757

If I could stop the unix-weenies/lisp/quote poster from smearing the whole board in his crap, I would


 No.1013146

>>1004730

What's the name of that? Can't find it using "electron de"


 No.1013151

Web browser which explicitly don't support JS when?


 No.1013153>>1013192

>>1005204

There is no "decimal" numeric type in JS which would be natively suitable for storing money data? If not, why not just use a custom type, such as a struct of two integers (e.g. one for dollars and one for cents etc.)?


 No.1013187

>>1004757

based

>>1007725

unbased


 No.1013192

>>1013153

In javascript you'd just want to store it all in cents as an integer assuming you don't need to handle fractional cents.

If I were to make a data type for money that doesn't deal with fractional cents here is what I would do. First off, it should use linear types because money should not go poof and disappear or magically get duplicated. This means if you make a mistake, the compiler will catch it for you. The data type should store both the type of currency and the amount of it you have. An example type would be USD and an example amount would be 400 which would represent 400 cents or $4. Next you define operators for the same type of currency +, -, and * like normal. / on the other hand will return you a tuple including the quotient and the remainder. Remember that we are using linear types so you must account for what happens with that remainder or it will create a compile time error. It might also be a good idea to require the dividend to not be zero using dependent types. This mean that if we can prove the dividend is not zero we don't actually have to do a check if it will cause a divide by zero error. This means that most of the time you don't have to worry about it. Next you define how to compare money of the same type.

I'd say this would be a pretty good data type for working with money if you didn't have to worry about fractions of cents. Else that makes it more complicated to handle and is out of scope of what I've described.

As a hack though to handle fractions of a cent you can just define a dollar to be for example a million microdollars and then do your calculations in microdollars.


 No.1013336

1000+ year JavaScript Reich. Hail Eich.


 No.1013338

>>1004706

>Windows 1 (the second reboot attempt) is entirely written as a node.js app

Let this happen.


 No.1013340

>>1005238

It's Windows I


 No.1013642

Ada has discriminants in record types, so IMO theoretically with the right functions and aspects you can have arbitrary precision using long_long_integers as your basis type within the record (this makes the record array-like). There is also pointer to another record too (so it can be linked list like too). The beauty is Ada is strictly typed so there's no fucking up by mixing types unless you explicitly bypass the typing.


 No.1013848

>>1004730

Imagine having only half of your screen for the on-screen keyboard because you needed to fit a fucking FILE SYSTEM BROWSER in there, to be present at all times, taking up almost the same amount of space. And why do you need such a big clock display? And around 10% of the screen is a fucking GLOBE telling you where you are on the fucking PLANET! Sometimes, I also forget where I am, roughly, on the planet. So nice to have a constant reminder where I am, on a planetary scale.

Fucking meme'd. Also, look at those Copy and Paste buttons, I'd rather have a REAL keyboard, like in those meme tablets with foldable keyboard nowadays.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
35 replies | 2 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / agatha2 / animu / cafechan / doomer / flutter / strek / vg / wmafsex ][ watchlist ]