Saturday, June 28, 2025

THE 32-BIT BUG

/****************************************************************************************************
 * date         :JUNE 28, 2025
 * author       :A.E.
 * prog_name    :FIBONACCI
 * 
 * filename:    :fibonacci.rs
 * 
 * comment      :   The CPU in a virtualization is so limited, my hardware has capability to do the
 *              task but the virualization limits the CPU speed and it takes forever to compute
 *              even the 40 Fibonacci sequence it is a large number but in this program I just
 *              u32 (unsigned 32-bit with range of 0-2,147,483,647) data type it has decent large 
 *              number capacity but in this modern day computing it is just piece of shit
 *              It gets error in 47TH Fibinacci sequence 'cause it reach its limit  you could
 *              change into 64-bit to accept larger number.
 *
 *              The 32-bit integer is the sole culprit that's why in year 2038 our cpu time must be
 *              fixed or else it will gets error because the unix time started counting seconds
 *              from January 1, 1971 and will last until January 19, 2038 that if there is  Y2K bug
 *              in year 200 there will be Y2K38 in 1938. There are a lots of system will be
 *              affected even the timestamps of some File System Existing today we have time but it
 *              will surely cost money, because of that. Even the old satellite will be affected we
 *              overlook those bug, and everything now is starting to migrate 64bit in system which
 *              people nowadays considered it overkill
 *
 *              And it is also the culprit that's why we even use all the IPv4 addresses in the world
 *              because it also tailored in a 32-bit data type system.
 *
 *              That why IPv6 is there can handle billions of hosts but it could be a problem for
 *              the people of future. Back then nobody thinks that 32-bit will never be enough.
 *              
 *              We are all thinking that 64-bit is enough but the future people I would like to
 *              thinkit will not be enough for them. Back in 1960's 5 MB (Megabytes) is insane size o
 *              f storage nobody back then think it will be full. But today a single picture taken from 
 *              a cellphone  camera can have a size of 20 Megabytes or more.
 *
 *
 * ***************************************************************************************************/


use std::io;
use std::io::Write;

fn fibonacci(n: u32) -> u32 {
   
    match n {
        0 => 1,
        1 => 1,
        _=> fibonacci(n-1) + fibonacci(n-2),
    }
}



fn main(){
    println!("Fibonacci generator");
    println!("Type \"quit\" to exit");


    loop{
        let mut n = String::new();

        print!("Enter positive integer: ");
       
        io::stdout().flush().unwrap(); 
        io::stdin().read_line(&mut n).expect("Failed to read Line");
        println!();
        
        if n.trim() == "quit" { break; }

        let n: u32 = match n.trim().parse() {
            Ok(num) => num,
            Err(_) => continue,
        };

        println!("{}", fibonacci(n));

    }
}

Tuesday, June 24, 2025

BSD BEAST

Trying to do something new to me

BACK TO OUTLOOK

I used this thing because we don't what the future brings I am trying
to back things up, because I have been over confident and lose important files
I use this when I still have time, beause windows 10 is fading

Sunday, June 22, 2025

I SUCCESSFULLY INSTALL OPENBSD

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

OPEN BSD
I was an avid fan of Debian Linux for years until the systemd ruined it. I have installed different linux distros for years.
It was all started when I learned about linux years ago, I started off with SlaxLinux I love its portablity running on live cd
or usb, until the sole developer abandoned this project because of lack of support I tweaked it on my own, I learned how to
compile source codes and build and install it in the system I did manual entry with it in boot menu of WindowsXP and I learned about
GRUB and had idea how it works. I also tried Fedora Linux, OpenSuse, Ubuntu (sucks that trying to be Windows and against the GNU Philosophy
it an "AMONG US" ---an impostor ),RHL,GNOME and ArchLinux. Because of systemd and curiosity I tried some more BSD/UNIX before I tried FREE BSD
for a short time I installed OPEN BSD before and add deskstop with it the customization is so hardcore I had to
modified files manually because OpenBSD is not a Desktop OS, but for server dudes. It was so slow when I add xfce and blackbox and
learned how to use startx and bgdm it is almost unusable I couldn't use firefox and vlc because it was a slow laptop so I quit

Until recently I learned how to use Virtual Machines and played around with OpenBSD and FREEBSD for longer time.
I use GHOSTBSD (forked from FreeBSD) with Genli and xfce Desktop environment and it was actually good.
Then installed FreeBSD without deskstop and OpenBSD with xorg desktop environment.

I have large repertoire of OS experience but we don't know what tommorow will bring in this technology, I just predicting
that computing will lean more in privacy and security. I just saw people immigrating to RUST programming with
the aim of security in memory to counter buffer overflow.Because of overshared of personal things in the internet
people will realized that their privacy is compromised.
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRzfPoL23PrstrYzNYwsSr5Sej4YwUCaFjNrQAKCRAwsSr5Sej4
Y95IAP9pAZst0eOXA/q2vd91byUf6nFbXVZNBvtcqbffACEVFgEAzo9mFjRnxPtH
XxSGqHes88oVjIHjKI5C51pJ2t3BLQU=
=nzlq
-----END PGP SIGNATURE-----

Playing around with RUST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Playing Around With Rust
Now I am reading about RUST, I leaned some concept about its unique feature the Ownership and having no garbage collector unlike
of the most programming langeuage, it is very cautious in the stacks, and memorie allocation. It is very strict about it
so it can counter buffer overflow
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRzfPoL23PrstrYzNYwsSr5Sej4YwUCaFiuOwAKCRAwsSr5Sej4
Y23BAQCqtBmqdIFnTzoCwqB0+117YnYzafD9GUDiiR7JiuVYaQEA3RspA6SJ+1QZ
YX8dVWqG/KlEif9bO6/ogF57x1vrYQ0=
=dIrm
-----END PGP SIGNATURE-----

Saturday, June 21, 2025

Playing with Rust

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Playing Around With Rust
Now I am reading about RUST, I leaned some concept about its unique feature the Ownership and having no garbage collector unlike
of the most programming langeuage, it is very cautious in the stacks, and memorie allocation. It is very strict about it
so it can counter buffer overflow
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRzfPoL23PrstrYzNYwsSr5Sej4YwUCaFehyQAKCRAwsSr5Sej4
Y1SgAQD+OSljY2lPD70L5iICEStnbIF6zKVaybU4DbDs47M0GAD+PG7UxWkgO3k5
zaevj9tPptD1ji5iJ4/GMlbLFkCHcQM=
=Y1X7
-----END PGP SIGNATURE-----

VIBE CODING RUST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

extern crate rand;
use std::io;
use rand::Rng;
fn main()
{
println!("Guess the number:");
println!("Please enter your guess:");
let secret_number = rand::thread_rng().gen_range(1,101);
println!("The secret number is {}", secret_number);
let mut guess = String::new();
io::stdin().read_line(&mut guess).expect("Failed to read line");
println!("Your guess:{}",guess);
}
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRzfPoL23PrstrYzNYwsSr5Sej4YwUCaFcHYQAKCRAwsSr5Sej4
YxDxAP0Vy53SSO3RGeXHH3WstMYfDZXXxcFiTkYVtObVgNO9IwD8DILtLwX4EgSG
Kz5tR747GjkBZ1R3RPWH1RNpuK/T9Qw=
=Oi7t
-----END PGP SIGNATURE-----
It's been a while since I tried to learn this rusty computer language.It is facist but it has discipline It counters buffer overflow. They
said it is the safest programming language today. But a newbie I have a lot of things to learn about it. I am still leaning the ropes.:

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 06-19-2025  It has been 8 months since Tatay's passing, and yet it is still painful, ...