WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: No-OS , Media player :) ;D  (Read 1224 times)

Offline xor

  • Hero Member
  • *****
  • Posts: 1264
No-OS , Media player :) ;D
« on: January 21, 2024, 08:10:54 AM »

Artificial intelligence created source code for media player that doesn't need an operating system

Title: Media Player

Language: C

Target: x86_64-bit

Description:

This application is a simple media player that runs without any operating system. It supports MP3, WAV, FLAC, and OGG formats.

Source Code:

C
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#define MAX_BUFFER_SIZE 4096
,,,

Offline NewUser

  • Full Member
  • ***
  • Posts: 166
Re: No-OS , Media player :) ;D
« Reply #1 on: January 22, 2024, 09:58:05 PM »
Interesting. All you can do with this 'not OS' is play music? I presume said music is on SD or thumbdrive?

Offline NewUser

  • Full Member
  • ***
  • Posts: 166
Re: No-OS , Media player :) ;D
« Reply #2 on: January 22, 2024, 09:59:58 PM »
Interesting. All you can do with this 'not OS' is play music? I presume said music is on SD or thumbdrive?
No, as there would be no USB driver, and presumably no storage, and if there were storage, how do you get the music files on the drive?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11243
Re: No-OS , Media player :) ;D
« Reply #3 on: January 22, 2024, 10:08:30 PM »
Hi NewUser
Considering the source of this information, I doubt the
code was compiled and run directly on hardware with
no operating system.

Offline xor

  • Hero Member
  • *****
  • Posts: 1264
Re: No-OS , Media player :) ;D
« Reply #4 on: January 23, 2024, 03:26:51 AM »
"The right questions keep the answer within themselves!"

When I say list examples of software that does not require an operating system;
at the top of the list; It showed the bios update software. !
In other words, here is an example of an application that everyone can accept and have tried with their own hands! :)

I asked what is needed; and the libraries they may need; It has been said that any assembly written in C and ASM can work this way.

When I asked what the + and - points of a software written in this way were;
unnecessary applications will not consume resources
Moreover, he said that it will be a system that works in real-time operating mode.

As for why I asked for a media player from artificial intelligence?

What services does the PC give us!?
It is necessary to ask which program structures use these most and intensively.

In this respect, media player came to my mind!
There is also one that needs more resources at a higher level.
If you add a web page viewer feature to it,
This is already revealed!

A Firefox that does not require an operating system;
Media player is already a step above resource consumption!
and includes internet access protocols.

Yes, this may turn your PC into a structure that can take your PC out of the server format in terms of multi-processing.

but a job done between a user and a PC
In order to use existing resources 99% efficiently

Operating system structures need to be eliminated.

This is of course a sign of a singularization process

In other words, a structure where the 10 different programs you use most are integrated into the same structure. Of course, at some point, this job will require a level of labor that cannot be done by human hands.

and moreover, considering that even an expert software developer has a very long learning process to become an expert in a subject and branch.

There is a high probability that this work can only be produced by artificial intelligence.

Offline xor

  • Hero Member
  • *****
  • Posts: 1264
Re: No-OS , Media player :) ;D
« Reply #5 on: January 23, 2024, 03:33:18 AM »
Don't confuse this issue with players that do not have an operating system!

The main issue here is; independently of the operating system
The main idea of being able to run an application!

Interesting. All you can do with this 'not OS' is play music? I presume said music is on SD or thumbdrive?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11243
Re: No-OS , Media player :) ;D
« Reply #6 on: January 23, 2024, 07:35:56 AM »
Hi xor
Don't confuse this issue with players that do not have an operating system! ...
A player is an example of an embedded system. The software is designed to run
on that hardware and that hardware only. That keeps the software small and
eliminates all flexibility because it's specialized.

Quote
... The main issue here is; independently of the operating system
The main idea of being able to run an application!

Since you only want the app running, It will need to include a function
to load itself into RAM when the machine boots, and it needs to be
located at the beginning of the disk so the BIOS finds it when the
machine boots. Since every disk has only one beginning, every app
would need it's own disk. This is very similar to an embedded system.

Your app will now also have to handle all of the low level control
of the hardware that the operating system insulates you from:
1. Disk control - reading and writing sectors
2. File system - users want to deal with song names, not sector numbers
3. Keyboard/mouse - users need to be able to control the app
4. Screen - the app needs to be able to communicate with the user
5. Sound - which chipsets will you be supporting?
6. Possibly DMA and timer interrupts so you can multitask
7. All of the other tasks I missed

Here's a more practical idea. Since the operating system is designed to
be efficient, just run one app at a time.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 803
Re: No-OS , Media player :) ;D
« Reply #7 on: January 23, 2024, 12:18:59 PM »
I think we can NOT get ride of a minimal OS. As Rich highlighted, human needs to control the hardware/system.
What humans could do is FIRST to ban IP (intellectual property), aka new rentier-feudalism in capitalism. [I expect USA kicks me in the but for this].

Then maybe the great minds can FREELY glue/combine the best ideas. So we simplify/unify the hardware, like Apple did. Ex: keep one of the best in kind for: sound, display, compression algorithm, network-protocol etc.

Then SECOND (after IP ban) is to try to UNIFY the hardware (CPU/GPU/APU), same type of RAM, SDD etc. So we need less drivers, less human hours spent/working on divergent languages/OS/abstraction-layers.

Without wider education will not be possible. We continue to waste efforts for *near* useless diversify (servers, desktops, laptops, tablets, phones etc) because everyone want to be in [perceived] charge/control, AND not using the proper tools for the job. [Because every "peasant" wants to be president, me included :)].

Human vanity forbid us to be common people, we "must" be special, to lead, to show off. We are divided in our tribes, countries, alliances. The purpose is greed, to have, to conquer (first land, then resources, planets maybe). This is the core of capitalism "competition", to make humans to "fight" groups against another groups.

Of course there is also cooperation, empathy etc, but the main driver is competition/survival ! Which implies diversity, and [usually] waste.
So is no chance in my life to see MORE unification of society structure, hardware, software etc.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 674
Re: No-OS , Media player :) ;D
« Reply #8 on: January 23, 2024, 01:02:56 PM »
If we talking about non os, then we don't need to use our powerful cpu's with that os layer.
We can only use microprocessors with out capability of running os.
Like arduino/pic/esp32 and so on, and we making (compiling) the programs with another computer, and transferring the program over with some Technics.

And only do one task, on one hardware.
 

Offline xor

  • Hero Member
  • *****
  • Posts: 1264
Re: No-OS , Media player :) ;D
« Reply #9 on: January 23, 2024, 10:19:41 PM »
hello everyone

As usual, I write with a translator.

Simple hardware can meet many basic needs, but the problem is that a very different monopolization is occurring!

While Linux allows you to run software from 20 years ago
It may also be offering a zero-day vulnerability that has not been detected for 20 years.

I love TCL,
But I also know that
Nobody here is a Linux fan!

the other day for my android phone which does not have wi-fi direct software support.
When I asked the artificial intelligence to write code to provide Wi-Fi Direct support, it created a sample code and
He said it works for Android version and above!

increasing the difficulty level of the problem
When I say regenerate the code for android version 1
adding the option to enter pin code for that version's security standards
Developed Wi-Fi Direct code for Android version 1.

that is, standards added under the name of security standards
because of things not available in the previous system's library
You can no longer use the systems that you could technically use!

Here, using artificial intelligence to create missing libraries will ensure the continuation of hardware-sufficient systems.
« Last Edit: January 23, 2024, 10:23:00 PM by xor »

Offline gadget42

  • Hero Member
  • *****
  • Posts: 663
Re: No-OS , Media player :) ;D
« Reply #10 on: January 24, 2024, 03:59:21 AM »
patrikg mentioned the esp32 and reminded of these fun links/projects:

Clayton Darwin:
https://www.youtube.com/user/DrSimpleton/videos

Meet Beaker:
https://www.youtube.com/watch?v=98N2oulBE98

as of this post i was able to visit the http but not the https(probably something at my end)

don't forget to sign the visitor's log!
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11243
Re: No-OS , Media player :) ;D
« Reply #11 on: January 24, 2024, 09:02:58 PM »
Hi xor
I decided to put one of the AI engines to the test.

I ask it:
Quote
cardassians vs kardashians

And its response included:


I must say I'm impressed, that answer is spot on.

So my recommendation is that you compile the code the AI
generated for you and install it on your computer so you can
enjoy all of the benefits the AI said it would provide.

Offline xor

  • Hero Member
  • *****
  • Posts: 1264
Re: No-OS , Media player :) ;D
« Reply #12 on: January 31, 2024, 03:46:00 AM »
You can accept that technology has reached a certain level,
But you do not accept that this technology exceeds the acceptable level !

You are now presented with an artificial intelligence demo that constantly makes logical errors.
But this is nothing more than a cover-up attempt to show you !

According to the conspiracy theory;
Don't think alpha and beta versions of current AI will be publicly available
Because there is an extremely high probability that these will be at levels you cannot imagine.
« Last Edit: January 31, 2024, 03:48:53 AM by xor »