Author Topic: The Official TBR Silliness Thread---2023  (Read 242241 times)

0 Members and 3 Guests are viewing this topic.

Offline DB

  • Hero Member
  • *****
  • Posts: 10,178
Re: The Official TBR Silliness Thread---2023
« Reply #1150 on: February 21, 2023, 08:26:16 pm »
Generally agree.  It still sticks in my craw the amount of junk that ends up in some programs, and the use of library includes bothers me sometimes, particularly if I only need one or two routines in a library that contains thousands.

A good compiler should only link in routines that are used.

Offline roamer_1

  • Hero Member
  • *****
  • Posts: 35,615
Re: The Official TBR Silliness Thread---2023
« Reply #1151 on: February 21, 2023, 08:27:07 pm »
And that's why it's passed me by, btw... I know that. And I am alright with it.  :shrug:

Offline corbe

  • Hero Member
  • *****
  • Posts: 34,022
Re: The Official TBR Silliness Thread---2023
« Reply #1152 on: February 21, 2023, 08:51:19 pm »
   I'm not sure the AF taught me that theory about tight code, it was a whole tray of punch cards to load my programs.  I gave DB2 a semester at U of H and washed out.  Stuck with JCL, report generators and dabbled in COBOL.
No government in the 12,000 years of modern mankind history has led its people into anything but the history books with a simple lesson, don't let this happen to you.

Offline DB

  • Hero Member
  • *****
  • Posts: 10,178
Re: The Official TBR Silliness Thread---2023
« Reply #1153 on: February 21, 2023, 09:06:35 pm »
For those interested: https://elixir-lang.org/

Normally with most programming languages you have to keep track of each variables type and size to not overflow either memory or its native range limits.

With Elixir that is not normally a concern. Pretty much anything can be any size up to the point of running out of system memory. An "integer" can be any integer value, literally, and you can use all the standard math functions with it regardless of value. There are no 32 bit or 64 bit limits on its value. You can compute things and not be concerned about how large intermediate values are. And with integers there is no truncation meaning calculations can be exact without rounding or floating point representation issues. You can also use/mix in floating point at will.

C commonly uses pointers. Pointers are powerful but also a common source of system crashes that can be very hard to isolate. Elixir has no pointers - and not need for them.

For multicore processors and real time systems with many concurrent processes running at the same time there's no need for mailboxes and other complex thread management processes. Variables are immutable so that they can't be affected by other processes which prevents many side effects, all while thousands of processes can be running at the same time. It is all under the hood and essentially invisible to the programmer - its freaking magic!

And it runs very well on small low cost embedded systems all the way to major commercial Web servers with millions of users interacting with it in real time.

Offline Kamaji

  • Hero Member
  • *****
  • Posts: 48,301
Re: The Official TBR Silliness Thread---2023
« Reply #1154 on: February 21, 2023, 09:53:02 pm »
A good compiler should only link in routines that are used.

True enough for compiled languages, but for interpreted languages, like JavaScript, there are large libraries and frameworks that are included in whole of one’s script includes the library.  It’s one thing if your own script makes extensive use of a majority of the routines in the library, but oftentimes a huge library is included just to use one or two routines.

Offline Kamaji

  • Hero Member
  • *****
  • Posts: 48,301
Re: The Official TBR Silliness Thread---2023
« Reply #1155 on: February 21, 2023, 09:54:18 pm »
For those interested: https://elixir-lang.org/

Normally with most programming languages you have to keep track of each variables type and size to not overflow either memory or its native range limits.

With Elixir that is not normally a concern. Pretty much anything can be any size up to the point of running out of system memory. An "integer" can be any integer value, literally, and you can use all the standard math functions with it regardless of value. There are no 32 bit or 64 bit limits on its value. You can compute things and not be concerned about how large intermediate values are. And with integers there is no truncation meaning calculations can be exact without rounding or floating point representation issues. You can also use/mix in floating point at will.

C commonly uses pointers. Pointers are powerful but also a common source of system crashes that can be very hard to isolate. Elixir has no pointers - and not need for them.

For multicore processors and real time systems with many concurrent processes running at the same time there's no need for mailboxes and other complex thread management processes. Variables are immutable so that they can't be affected by other processes which prevents many side effects, all while thousands of processes can be running at the same time. It is all under the hood and essentially invisible to the programmer - its freaking magic!

And it runs very well on small low cost embedded systems all the way to major commercial Web servers with millions of users interacting with it in real time.

Cool!  Thanks.

Offline DB

  • Hero Member
  • *****
  • Posts: 10,178
Re: The Official TBR Silliness Thread---2023
« Reply #1156 on: February 21, 2023, 10:00:48 pm »
True enough for compiled languages, but for interpreted languages, like JavaScript, there are large libraries and frameworks that are included in whole of one’s script includes the library.  It’s one thing if your own script makes extensive use of a majority of the routines in the library, but oftentimes a huge library is included just to use one or two routines.

I hate JavaScript...

Offline DB

  • Hero Member
  • *****
  • Posts: 10,178
Re: The Official TBR Silliness Thread---2023
« Reply #1157 on: February 21, 2023, 10:18:42 pm »
Cool!  Thanks.

https://learn-elixir.com/

Something else interesting about Elixir is you can execute your individual routines from the command line while your overall application is running. That makes it much easier to test routines to see if they behave the way you expect them to. You can also use those routines to grab information from various sources to see what's going on in real time.

Online Smokin Joe

  • Hero Member
  • *****
  • Posts: 61,207
  • I was a "conspiracy theorist". Now I'm just right.
Re: The Official TBR Silliness Thread---2023
« Reply #1158 on: February 21, 2023, 10:35:31 pm »
One of my first guru moves was figgering out how to install DOS and Windows from a hard drive and stop using all those accursed floppies... one of which is sure to die nearly every time you install.

So yeah... Boot to my drive sys the new machine, blow DOS on it and a config and auto exec, Reboot so it's on it's home system, and then navigate to my Win_Setup directory and type setup.

No disks, no fluff. I could blow the whole works on in 15 minutes.
By the time I had done using those floppies I had the cost of MS Office down to about 25 cents. It turned out to be the best buy I ever made.
How God must weep at humans' folly! Stand fast! God knows what he is doing!
Seventeen Techniques for Truth Suppression

Of all tyrannies, a tyranny sincerely exercised for the good of its victims may be the most oppressive. It would be better to live under robber barons than under omnipotent moral busybodies. The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end for they do so with the approval of their own conscience.

C S Lewis

Offline roamer_1

  • Hero Member
  • *****
  • Posts: 35,615
Re: The Official TBR Silliness Thread---2023
« Reply #1159 on: February 22, 2023, 12:20:57 am »
By the time I had done using those floppies I had the cost of MS Office down to about 25 cents. It turned out to be the best buy I ever made.

I have all that around here someplace yet... Every floppy got made into a zipped image because they went bad so often. I ought to go find them things, Ain't even thought of em for a coon's age.

Offline Sighlass

  • Hero Member
  • *****
  • Posts: 5,668
  • Didn't vote for McCain Dole Romney Trump !
Re: The Official TBR Silliness Thread---2023
« Reply #1160 on: February 22, 2023, 12:43:38 am »
Late as usual to the discussion, my first computer was around 1982-3... The Sanyo mbc - 500/ or 550 I think was the computer. I believe it was an crappy disk drive thing that I had two functions for me.... One was trying to recreate Space Invaders game (I could do the graphics to look like the game, but couldn't figure out how to program movement).... The second use was for making my own report cards (we had a printer w/ it)... I could make my own report cards with whatever grades I wanted, and I got away with it for about a year. I don't want to talk about the beatings I got when caught.


https://youtu.be/2fX8pUZqPZg

It was years later before I got another computer ... I think 1994 after I was married. The wife's came back from the Army with a computer which I aquired... I was hooked and have the first phone bill of hundreds of dollars because the phone company made it seem like it wasn't a long distance phone call.
« Last Edit: February 22, 2023, 12:44:34 am by Sighlass »
Exodus 18:21 Furthermore, you shall select out of all the people able men who fear God, men of truth, those who hate dishonest gain; and you shall place these over them as leaders over ....

Offline Kamaji

  • Hero Member
  • *****
  • Posts: 48,301
Re: The Official TBR Silliness Thread---2023
« Reply #1161 on: February 22, 2023, 07:59:37 am »

Offline Kamaji

  • Hero Member
  • *****
  • Posts: 48,301
Re: The Official TBR Silliness Thread---2023
« Reply #1162 on: February 22, 2023, 08:08:50 am »

Offline Kamaji

  • Hero Member
  • *****
  • Posts: 48,301
Re: The Official TBR Silliness Thread---2023
« Reply #1163 on: February 22, 2023, 08:10:06 am »

Offline Kamaji

  • Hero Member
  • *****
  • Posts: 48,301
Re: The Official TBR Silliness Thread---2023
« Reply #1164 on: February 22, 2023, 08:10:44 am »

Offline Kamaji

  • Hero Member
  • *****
  • Posts: 48,301
Re: The Official TBR Silliness Thread---2023
« Reply #1165 on: February 22, 2023, 08:11:47 am »

Offline Kamaji

  • Hero Member
  • *****
  • Posts: 48,301
Re: The Official TBR Silliness Thread---2023
« Reply #1166 on: February 22, 2023, 08:16:33 am »

Offline sneakypete

  • Hero Member
  • *****
  • Posts: 33,770
  • Twitter is for Twits
Re: The Official TBR Silliness Thread---2023
« Reply #1167 on: February 22, 2023, 09:11:02 am »


@Kamaji

I wonder how many Jap Bike owners you just made cry?
Anyone who isn't paranoid in 2021 just isn't thinking clearly!

Offline DB

  • Hero Member
  • *****
  • Posts: 10,178
Re: The Official TBR Silliness Thread---2023
« Reply #1168 on: February 22, 2023, 09:21:33 am »
Late as usual to the discussion, my first computer was around 1982-3... The Sanyo mbc - 500/ or 550 I think was the computer. I believe it was an crappy disk drive thing that I had two functions for me.... One was trying to recreate Space Invaders game (I could do the graphics to look like the game, but couldn't figure out how to program movement).... The second use was for making my own report cards (we had a printer w/ it)... I could make my own report cards with whatever grades I wanted, and I got away with it for about a year. I don't want to talk about the beatings I got when caught.


https://youtu.be/2fX8pUZqPZg

It was years later before I got another computer ... I think 1994 after I was married. The wife's came back from the Army with a computer which I aquired... I was hooked and have the first phone bill of hundreds of dollars because the phone company made it seem like it wasn't a long distance phone call.

I know someone who hacked the schools computer and changed their grades...

Offline Kamaji

  • Hero Member
  • *****
  • Posts: 48,301
Re: The Official TBR Silliness Thread---2023
« Reply #1169 on: February 22, 2023, 09:25:45 am »
I know someone who hacked the schools computer and changed their grades...

Ferris?

Offline Kamaji

  • Hero Member
  • *****
  • Posts: 48,301
Re: The Official TBR Silliness Thread---2023
« Reply #1170 on: February 22, 2023, 09:27:14 am »

Offline DB

  • Hero Member
  • *****
  • Posts: 10,178
Re: The Official TBR Silliness Thread---2023
« Reply #1171 on: February 22, 2023, 09:34:47 am »
Late as usual to the discussion, my first computer was around 1982-3... The Sanyo mbc - 500/ or 550 I think was the computer.

My first computer: https://www.timexsinclair.com/computers/sinclair-zx80/

Offline Kamaji

  • Hero Member
  • *****
  • Posts: 48,301
Re: The Official TBR Silliness Thread---2023
« Reply #1172 on: February 22, 2023, 09:49:51 am »

Offline Idiot

  • Hero Member
  • *****
  • Posts: 4,023
Re: The Official TBR Silliness Thread---2023
« Reply #1173 on: February 22, 2023, 10:26:41 am »
Late as usual to the discussion, my first computer was around 1982-3... The Sanyo mbc - 500/ or 550 I think was the computer. I believe it was an crappy disk drive thing that I had two functions for me.... One was trying to recreate Space Invaders game (I could do the graphics to look like the game, but couldn't figure out how to program movement).... The second use was for making my own report cards (we had a printer w/ it)... I could make my own report cards with whatever grades I wanted, and I got away with it for about a year. I don't want to talk about the beatings I got when caught.


https://youtu.be/2fX8pUZqPZg

It was years later before I got another computer ... I think 1994 after I was married. The wife's came back from the Army with a computer which I aquired... I was hooked and have the first phone bill of hundreds of dollars because the phone company made it seem like it wasn't a long distance phone call.
My first computer was a TI-99 which could basically only play simple video games and the programs were found in the cartridges which plugged into it.  My second computer was the Commodore 64 with an external floppy drive, that you'd have to hit with your fist to get it to work...lol.

You made your own report cards...lol.  Heck...I never even thought of that...lol.  @Sighlass
« Last Edit: February 22, 2023, 10:29:18 am by mrpotatohead »

Offline roamer_1

  • Hero Member
  • *****
  • Posts: 35,615
Re: The Official TBR Silliness Thread---2023
« Reply #1174 on: February 22, 2023, 10:33:07 am »
My first computer was a TI-99 which could basically only play simple video games and the programs were found in the cartridges which plugged into it.  My second computer was the Commodore 64 with an external floppy drive, that you'd have to hit with your fist to get it to work...lol.

A year later, I went from that 386sx to a 486sx... Except the new one was jacked with a kingston chip that made it perform like a 486/100DX... crazy big ram... Like 12 megs... 33.6 modem, and a TWO HUNDRED meg hard drive!!!! Holy crap! Who could EVER use up a 200 meg hard drive.? That's like all the space in the universe!


Man! Was I smoothin it!