CHANGE -- first initial draft of the website

This is the first major revision of this website. These commit messages
will be written in rst, because the SSG I've cobbled together operates
in that.

- Added major sections `programming </programming>`_ and
  `mock legislation </cce>`_.

- Added the `old website archive </old_website>`_.

- Added a `changelog </changelog.html>`_. (Hi!)
This commit is contained in:
stupidcomputer 2024-06-07 20:25:09 -05:00
parent 5dde872c00
commit b94e82074a
27 changed files with 807 additions and 10 deletions

View File

@ -1,4 +0,0 @@
User-agent: *
Allow: /
Sitemap: https://beepboop.systems/sitemap.txt

View File

@ -1,2 +0,0 @@
https://beepboop.systems/
https://beepboop.systems/voicemail

1
ssg/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
output/

View File

@ -0,0 +1,31 @@
Noting with concern the events of 10 and 11 September 2023, in which the Derna and Abu Mansour dams within the State of Libya failed catastrophically, allowing water in excess of 30 million cubic meters to quickly enter the Derna district,
Expressing grave concern due to the Libyan National Army and their active denial of reporters and rescue personnel entry into the city of Derna to aid in rescue operations,
Condemning the previous administration of dictator Muammar Gaddafi, and his historical neglect for the local Libyan infrastructure, in addition to willfully ignoring evidence of dilapidation of local critical infrastructure,
Alarmed by the fact that an institutionalized culture of ignorance regarding safety protocols and problems within organizations and governments operating and regulating water-bearing structures has become prevalent and has been found to be the root cause for many disasters directly arising due to the failure and lack of maintenance of major water bearing structures,
Further noting that institutionalized ignorance of safety protocols, problems, and needed repairs causes a lack of resources, funding, oversight, and attention regarding the enforcement and enactment of said protocols and the execution of necessary repairs,
Taking note of the widespread damage caused by the failure of both dams, including the deaths of approximately 19,000 people, and the irreplaceable loss of many homes, business, and other cultural assets and institutions, in addition to the collapse of four bridges, and the washing out of five central routes into the city of Derna,
Guided by the fact that this dam collapse is not the first instance of any such event, making the regulation, maintenance, and repair of dams and other water-bearing structures an utmost priority to the international community,
Further noting with regret that since the inception of the United Nations, 130,980 casualties have occurred as a direct result of accidents and failures of water-bearing structures in member countries of the United Nations,
The General Assembly hereby:
Applauds specifically the efforts of fellow delegations representing the Arab Republic of Egypt, Peoples Democratic Republic of Algeria, Republic of Italy, Republic of France, Republic of Tunisia, Federal Republic of Germany, State of Qatar, Islamic Republic of Iran, and the Republic of Malta, in addition to the efforts of the member states of the European Union, for their resources and support in response to the crisis in the State of Libya;
Creates a new fund designated for usage only in the repair of dams and other water bearing structures in cases of emergency, imminent disaster, or other essential maintenance, whose total value shall not exceed 40 million USD, and shall be made to be greater than or equal to the value of 20 million USD at each beginning of the United Nations fiscal year, January 1;
Initiates the creation of a new working group whose duty is to oversee the distribution of funds within the aforementioned fund, ensure compliant usage of aforementioned funds, approve regulation of water-bearing structure maintenance and standards, and to promote safe practices regarding water bearing structures, and whose eleven (11) members are to be appointed or dismissed by a special vote of the General Assembly at or near the start of each General Assembly session;
Urges domain-specific international stakeholders, national regulators, and agencies to advise and support the newly-formed working group on regulation and rulemaking regarding the safety parameters and design constraints of water-bearing structures;
Asks for a revitalization of safety process and protocols for water-bearing structures across the world, including the testing of old procedure and the reimplementation and restructuring of regulation in light of current issues, including worsening climate and other civil factors;
Requests the temporary reallocation of humanitarian and peacekeeping forces to the State of Libya, in coordination with the Libyan Presidential Council, the Office of the Libyan Health Minister, the Libyan Health Ministry, and the municipality of the city of Derna, for a period of time not to exceed 18 months from the inception of the crisis, as declared by Libyan Presidential Council;
Calls upon the Secretary-General, in accordance with the UN Goals for Sustainable Development, in consultation with other relevant parties, including Member States of the United Nations and infrastructure builders and maintainers, to put these measures into effect by 1 February 2024.

159
ssg/cce/index.rst Normal file
View File

@ -0,0 +1,159 @@
================
Mock legislation
================
.. |dagger| unicode:: U+02020 .. DAGGER SYMBOL
`Click here to go back to the beepboop.systems' main page. </>`_
The Tennessee YMCA `Center for Civic Engagement <https://wp.tennesseecce.org/>`_ holds two conferences yearly: Model United Nations and Youth in Government.
I've been to both conferences a lot.
What follows is (in reverse-chronological order) a timeline of things I've done at these conferences.
A \* indicates a Resolution or Bill was awarded Outstanding Resolution or Outstanding Bill.
A |dagger| indicates an individual who has won Outstanding Delegate (Model UN) or Outstanding Statesperson (Youth in Government).
***************************************************************
An Act to Remediate Location-based Healthcare Access Inequities
***************************************************************
Prime Sponsors: Krishna Deepak, Ryan Marina\ |dagger|
Co-prime Sponsors: Emeline Lasseter, Jane Altman, Ruby\ |dagger|
..
What's Ruby's last name?
In response to the healthcare crisis in Tennessee, where twenty counties do not have a hospital, this Act:
- directs the Office of TennCare to increase payouts for medical institutions inversely proportional to the medical capacity of the county in which said institution resides.
Actions on this Bill:
- signed into law
- passed Senate
- passed House
- advanced from Committee to House
View the bill text:
- `as enacted <location-healthcare-bill-text.html>`_
View ancillary bill materials:
- `Gubernatorial Statement of Enactment <statement-of-enactment.png>`_
- `Position of Bill on Final Budget <24-yig-budget.png>`_
*********************************************************************************************
A Resolution to Regulate the Maintenance and Caretaking of Water Bearing Structures Worldwide
*********************************************************************************************
Sponsoring Member State: State of Libya
Delegates: Adam Gallers, Robin Fickus, Ryan Marina\ |dagger|
In response to the collapse of the Derna and Abu Mansour dams on 10 and 11 September 2023, this Resolution:
- establishes a working group of industry experts to oversee the inspection and, if necessary, repair, of dams and other water bearing structures.
Actions on the Resolution:
- advanced from Committee to General Assembly
View the bill text:
- `as proposed <dams-res-text-proposed.html>`_
*************************************************************************************************************************
An Act to Prevent Manufacturer Imposed Software Installation Restrictions on Consumer Phones and other Cellular Devices\*
*************************************************************************************************************************
Prime Sponsor: Ryan Marina\ |dagger|
In response to the inability for consumers to install arbitrary software on their cellular devices, this Act:
- requires manufacturers of cellular devices to include instructions on how to disable their manufactured devices' internal integrity checking mechanisms, and
- provides a civil mechanism for private and the State to file suit against manufacturers in violation of the Act.
Actions on this Bill:
- signed into law
- passed Senate
- passed House
- advanced from Committee to House
View the bill text:
- `as corrected <manufacturer-bill-text-corrected.html>`_
- `as enacted <manufacturer-bill-text-enacted.html>`_
***************************************************************************************************************
A Resolution to Ensure Universal and Equitable Access to Safely Managed Water and Sanitation Services for All\*
***************************************************************************************************************
Sponsoring Member State: The Togolese Republic
Delegates: Adam Gallers\ |dagger|, Junaid Jamal, Ryan Marina
In response to the world wide disparity of water access, in which nearly 2 billion people do not have access to safely managed water, this Resolution:
- forms a working group of relevant parties to produce solutions to the worldwide water access crisis.
Actions on the Resolution:
- advanced from Committee to General Assembly
**********************************************************
An Act to Dispose Microplastics from the Tennessee River\*
**********************************************************
Prime Sponsors: Adam Gallers, Junaid Jamal, Ryan Marina\ |dagger|
In response to the pollution of the Tennessee River, this Act:
- installs 15 electric skimmers along the Tennessee River (whose task is to ingest and dispose of surface-water debris and pollutants).
Actions on this Bill:
- signed into law
- passed Senate
- passed House
- advanced from Committee to House
*************************************************************************************************************************
A Resolution to Address the Worsening Education Crisis Faced by Nations in the Aftermath of Civil Wars and Coups d'État\*
*************************************************************************************************************************
Sponsoring Member State: Republic of Liberia
Delegates: Adam Gallers, Junaid Jamal\ |dagger|, Ryan Marina
In response to the education crisis perpetuated by the general lack of continuity of government in Liberia and other countries, this Resolution: (in summary)
- calls upon the United Nations and other strategically significant private-sector players to contribute to establishing educational programs in Liberia and other similar member states,
- enacts special measures in response to the COVID-19 pandemic,
- and reaffirms the UN and Liberia's commitment to the enforcement of child labor laws.
Actions on the Resolution:
- passed by the General Assembly
- advanced from Committee to General Assembly
************************************************************************************************************
A Resolution to Reform the Democratic and Military Framework of Nations Afflicted by Military Coups D'état\*
************************************************************************************************************
Sponsoring Member State: Republic of Mali
Delegates: Adam Gallers, Junaid Jamal\ |dagger|, `Rinaz Jamal <https://www.linkedin.com/in/rinaz-jamal-449007158>`_\ |dagger|, Ryan Marina
In response to the 2020-2021 `coup d'état in Mali <https://en.wikipedia.org/wiki/2021_Malian_coup_d%27état>`_, this Resolution: (in summary)
- condemns the actions of the Malian Armed Forces and the unlawful detention of then-President Keïta, among others;
- requests help from the UN DPPA to help restore the democratic system in Mali;
- and expresses appreciation for previous resolutions and peacekeeping operations in Mali and surrounding territories.
Actions on the Resolution:
- passed by the General Assembly
- advanced from Committee to General Assembly

View File

@ -0,0 +1,53 @@
BE IT ENACTED BY THE TENNESSEE YMCA YOUTH IN GOVERNMENT:
Section 1: Definitions.
a) Hospital: A facility licensed as a hospital by the Tennessee Department of Health pursuant to T.C.A. Title 33, Chapter 1.
b) Municipality: For the purposes of this Act, a County of the State of Tennessee.
c) Targeted Municipality: A Municipality in which there is not a Hospital present within.
d) Original Reimbursement Rate: The rate of reimbursement for a certain procedure pursuant to the TennCare Rules and Regulations.
e) Provider: An individual or entity that is involved in the process of providing healthcare services to an individual.
f) Procedure: An action, course of action, or set of steps carried out by a Healthcare Professional on behalf of a Hospital to diagnose, remediate, or otherwise resolve, a problem of medical nature.
g) Covered Procedure: For a given Provider, the condition of a Procedures billed cost being paid pursuant to the documented Reimbursement Rate for a given Procedure by TennCare.
h) Hospital Population Coefficient: A number, for any given Municipality, that is:
i) No less than 1; and
ii) Calculated to be inversely proportional to the hospital capacity in the given Municipality.
Section 2: Duty of Municipality Report.
a) At or before the beginning of each session of this Assembly, the various Municipalities of Tennessee are obligated to report to the Director of TennCare:
i) The results of a census of Hospitals and their respective capacities and other healthcare facilities within their borders, and
ii) Their status as a Targeted Municipality.
Section 3: Direction to the Governor.
a) The governor, through the office of the Director of TennCare, is directed to:
i) amend the TennCare Rules and Regulations such that Providers operating in Targeted Municipalities are to be reimbursed the Original Reimbursement Rate for a given Covered Procedure times the Hospital Population Coefficient for a given Municipality;
ii) perform a annual analysis of Hospital Population Coefficients for the various Targeted Municipalities, and if necessary, adjust them; and
iii) from time to time, solicit the opinion of the General Assembly, expressed via special session or other similar means, on the configuration of the Hospital Population Coefficients for the various Targeted Municipalities.
Section 4: Conflicting Bills Repealed.
a) All laws or parts of laws in conflict with this Act are hereby repealed.
Section 5: Line Item.
a) Pursuant to the Hospital Population Coefficient determined in conjunction with the General Assembly, the Governor, and the Director of TennCare, any increase in state expenditure shall be provided for by the TennCare General Fund.
Section 6: Date of Effect.
a) This bill will take effect on the first day of the next Federal Fiscal Year, the public welfare requiring it.

View File

@ -0,0 +1,79 @@
BE IT ENACTED BY THE TENNESSEE YMCA YOUTH IN GOVERNMENT:
Section 1: Definitions.
a) Computer: An electronic device for manipulating data with both long-term and short-term storage and retrieval facilities.
b) Software: The programs executed by a Computer.
c) Hardware: The physical parts that compose a Computer, including, but not limited to: any peripheral, the motherboard or other main board and the various components and chips therein, the CPU or other instruction executing apparatus, solid state memory, and other circuits and components central to the Computer's function.
d) Cellular Device: A Computer that is equipped with radios to communicate via equipment that follows the 2G, 3G, 4G, or 5G communication standards, or some variant thereof.
e) Cellular Device Manufacturer: A Company, or multiple Companies joined by contract, who produce and sell Cellular Devices to the public.
f) Mass Consumer Device: A Cellular Device that is sold and marketed by a Cellular Device Manufacturer whose units have sold or are projected to sell over 300,000 individual units within the State of Tennessee, whichever is larger.
g) Boot: The process of initializing a computer.
h) Bootloader: Software written for a Computer that is run in preparation for Operating System execution. The Bootloader is executed as part of the Boot Process. The bootloader typically performs the following duties:
i) Prepares the computer for the Operating System,
ii) Performs optional checks to verify the system's components work correctly, and finally
iii) Passes control of the Computer to the Operating System.
i) Operating System: A program, or set of programs, which maintain the environment for Applications running on a Computer. These essential functionalities include, but are not limited to, multitasking, memory allocation, file system management, hardware interface protocols, and process management and separation.
j) Digital Signature: A procedure for a Computer to mathematically derive a message or block of data's authenticity, or verify that data was authored by a specific source.
k) Citizen: A Citizen of the United States whose primary residence is located in the State of Tennessee.
Section 2: Acts prohibited.
a) No Cellular Device Manufacturer whose product constitutes a Mass Consumer Device may institute a Digital Signature check or other non-trivial integrity control mechanism within their product's Bootloader or other pre-Operating System procedure that cannot be disabled by the end user.
i) Furthermore, Cellular Device Manufacturers may not make any further attempts or institute alternate mechanisms to prevent the installation of third party operating systems on their devices.
b) Instructions on how to remove Cellular Device Manufacturer instituted Digital Signature checks (hereafter known as Deactivation Instructions) must come bundled with the Mass Consumer Device's post-purchase materials.
i) All Deactivation Instructions must be printed on paper or another physical medium which contains ink and is readable without the acquisition of other tools.
ii) The Cellular Device Manufacturer may not exclusively make available Deactivation Instructions online or via other electronic retrieval mediums.
iii) The Cellular Device Manufacturer is also allowed, but not required, to publish concurrently, a website containing the information specified in the Mass Consumer Device's post-purchase materials.
iv) The process for removing Digital Signature checks or other boot time or Bootloader checks must not require any other external equipment other than that sold to the consumer.
c) No Cellular Device Manufacturer may bring suit against a consumer following the procedures entailed in Section 2(a) of this Act.
Section 3: Civil penalties.
a) Violations of terms set forth in Section 2 of this Act are enforced at the discretion of the Tennessee Department of Commerce.
i) The maximum damages that can be sued for by the Department of Commerce is equal to the 75 percent of the revenue generated by the sale of the Mass Consumer Device within the State of Tennessee by the Cellular Device Manufacturer.
ii) All damages collected under this subsection must be paid forthright to the Tennessee General Fund.
b) Citizens may petition the Department of Commerce to enforce a specific provision of this Act.
c) Citizens may file against specific companies or Cellular Device Manufacturers for violations of provisions of this Act within the Court of the Citizen's county of primary residence.
i) Citizens may sue for the amount paid for the device at the original point of sale.
ii) Citizens who are owners of Cellular Devices bought on the second-hand market are not eligible to sue the Cellular Device Manufacturer of their device.
Section 4: Recourse for Cellular Device Manufacturers Prosecuted under this Act
a) Cellular Device Manufacturers may counter-sue in the respective county court in which the company is registered or a representative for the company is located or registered.
i) Cellular Device Manufacturers may only counter-sue complaints brought by the Tennessee Department of Commerce.
ii) Cellular Device Manufacturers may not counter-sue complaints brought by private citizens under the provisions of Section 3(c) of this Act.
Section 5: Repealing Clause
All laws or parts of laws in conflict with this are hereby repealed.
Section 6: This act shall take effect on July 1st, 2023, the beginning of the State of Tennessee's next Fiscal Year, the public welfare requiring it.

View File

@ -0,0 +1,79 @@
BE IT ENACTED BY THE TENNESSEE YMCA YOUTH IN GOVERNMENT:
Section 1: Definitions.
a) Computer: An electronic device for manipulating data with both long-term and short-term storage and retrieval facilities.
b) Software: The programs executed by a Computer.
c) Hardware: The physical parts that compose a Computer, including, but not limited to: any peripheral, the motherboard or other main board and the various components and chips therein, the CPU or other instruction executing apparatus, solid state memory, and other circuits and components central to the Computer's function.
d) Cellular Device: A Computer that is equipped with radios to communicate via equipment that follows the 2G, 3G, 4G, or 5G communication standards, or some variant thereof.
e) Cellular Device Manufacturer: A Company, or multiple Companies joined by contract, who produce and sell Cellular Devices to the public.
f) Mass Consumer Device: A Cellular Device that is sold and marketed by a Cellular Device Manufacturer whose units have sold or are projected to sell over 300,000 individual units within the State of Tennessee, whichever is larger.
g) Boot: The process of initializing a computer.
h) Bootloader: Software written for a Computer that is run in preparation for Operating System execution. The Bootloader is executed as part of the Boot Process. The bootloader typically performs the following duties:
i) Prepares the computer for the Operating System,
ii) Performs optional checks to verify the system's components work correctly, and finally
iii) Passes control of the Computer to the Operating System.
i) Operating System: A program, or set of programs, which maintain the environment for Applications running on a Computer. These essential functionalities include, but are not limited to, multitasking, memory allocation, file system management, hardware interface protocols, and process management and separation.
j) Digital Signature: A procedure for a Computer to mathematically derive a message or block of data's authenticity, or verify that data was authored by a specific source.
k) Citizen: A Citizen of the United States whose primary residence is located in the State of Tennessee.
Section 2: Acts prohibited.
a) No Cellular Device Manufacturer whose product constitutes a Mass Consumer Device may institute a Digital Signature check or other non-trivial integrity control mechanism within their product's Bootloader or other pre-Operating System procedure that cannot be disabled by the end user.
i) Furthermore, Cellular Device Manufacturers may not make any further attempts or institute alternate mechanisms to prevent the installation of third party operating systems on their devices.
b) Instructions on how to remove Cellular Device Manufacturer instituted Digital Signature checks (hereafter known as Deactivation Instructions) must come bundled with the Mass Consumer Device's post-purchase materials.
i) All Deactivation Instructions must be printed on paper or another physical medium which contains ink and is readable without the acquisition of other tools.
ii) The Cellular Device Manufacturer may not exclusively make available Deactivation Instructions online or via other electronic retrieval mediums.
iii) The Cellular Device Manufacturer is also allowed, but not required, to publish concurrently, a website containing the information specified in the Mass Consumer Device's post-purchase materials.
iv) The process for removing Digital Signature checks or other boot time or Bootloader checks must not require any other external equipment other than that sold to the consumer.
c) No Cellular Device Manufacturer may bring suit against a consumer following the procedures entailed in Section 2(a) of this Act.
Section 3: Civil penalties.
a) Violations of terms set forth in Section 2 of this Act are enforced at the tdiscretion of the Tennessee Department of Commerce.
i) The maximum damages that can be sued for by the Department of Commerce is equal to the 75 percent of the revenue generated by the sale of the Mass Consumer Device within the State of Tennessee by the Cellular Device Manufacturer.
ii) All damages collected under this subsection must be paid forthright to the Tennessee General Fund.
b) Citizens may petition the Department of Commerce to enforce a specific provision of this Act.
c) Citizens may file against specific companies or Cellular Device Manufacturers for violations of provisions of this Act within the Court of the Citizen's county of primary residence.
i) Citizens may sue for the amount paid for the device at the original point of sale.
ii) Citizens who are owners of Cellular Devices bought on the second-hand market are not eligible to sue the Cellular Device Manufacturer of their device.
Section 4: Recourse for Cellular Device Manufacturers Prosecuted under this Act
a) Cellular Device Manufacturers may counter-sue in the respective county court in which the company is registered or a representative for the company is located or registered.
i) Cellular Device Manufacturers may only counter-sue complaints brought by the Tennessee Department of Commerce.
ii) Cellular Device Manufacturers may not counter-sue complaints brought by private citizens under the provisions of Section 3(c) of this Act.
Section 5: Repealing Clause
All laws or parts of laws in conflict with this are hereby repealed.
Section 6: This act shall take effect on July 1st, 2023, the beginning of the State of Tennessee's next Fiscal Year, the public welfare requiring it.

14
ssg/index.rst Normal file
View File

@ -0,0 +1,14 @@
=====================
Ryan Marina's website
=====================
Hi there.
I'm an amateur `computer programmer <programming/>`_, systems designer, `musician <music/>`_, and `mock legislator <cce/>`_, and this is my website.
Here you'll find various materials related to all of those things, as well as some other odds and ends.
On this server, I run my own `gitea <https://git.beepboop.systems>`_, a private code forge.
I'm available on github at `stupidcomputer <https://github.com/stupidcomputer>`_ and email via the address `ryan@beepboop.systems <mailto:ryan@beepboop.systems>`_.
Begrudgingly, I'm available on Discord as ``hmmstmachine``.
If you need another form of contact, email me and I'll give it to you.
To see previous revisions of the site, click `here </changelog.html>`_.

BIN
ssg/music/gambaro.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 KiB

5
ssg/music/index.rst Normal file
View File

@ -0,0 +1,5 @@
===============================
The beepboop.systems music hour
===============================
`Click here to go back to the beepboop.systems' main page. </>`_

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta description="Root page of beepboop.systems, and details about Ryan Marina.">
<link rel="stylesheet" href="./index.css">
<link rel="stylesheet" href="/old_website/index.css">
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
</head>
<body>
@ -31,7 +31,6 @@
<details>
<summary>Summary of solo and ensemble placement, adjudications, and appearances</summary>
<<<<<<< HEAD:index.html
<table>
<tr>
<th>Year</th>

View File

@ -5,12 +5,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta description="Information on contacting Ryan Marina via voicemail.">
<link rel="stylesheet" href="./index.css">
<link rel="stylesheet" href="/old_website/index.css">
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
</head>
<body>
<h1>Voicemail</h1>
<p><i>Go <a href="/">back to the index</a> or <a href="mailto:ryan@beepboop.systems">send me an email</a>.</i></p>
<p><i>Go <a href="/old_website">back to the index</a> or <a href="mailto:ryan@beepboop.systems">send me an email</a>.</i></p>
<p>If you're reading this page, you've just reached my voicemail. Here are some overall guidelines regarding my voicemail behavior:
<ul>
<li>If, after dialing you immediately hear my voicemail, then my phone is off. The most expeditious method of contact is now email.</li>

View File

@ -0,0 +1,9 @@
====================
Programming articles
====================
`Go back to the Programming Index. </programming>`_
`Go back to the beepboop.systems' main index. </>`_
- `Who needs dmenu when you have st? <who-needs-dmenu-when-you-have-st.html>`_ (5 June 2024)

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 KiB

View File

@ -0,0 +1,125 @@
=================================
Who needs dmenu when you have st?
=================================
.. |trademark| unicode:: U+2122.. TRADEMARK SYMBOL
`Go back to the Programming Article Index. </programming/articles>`_
I'm one of `those <https://old.reddit.com/r/unixporn>`_ `individuals <https://wiki.installgentoo.com/wiki/GNU/Linux_ricing>`_ who like to customize Linux desktops.
One mainstay of these types of setups is a good program launcher.
`dmenu <https://tools.suckless.org/dmenu>`_ and `rofi <https://davatorium.github.io/rofi/>`_ are favorites among most individuals.
However, what's annoying to me is that these two programs are essentially just `fzy <https://github.com/jhawthorn/fzy>`_ but for Xorg instead of the tty.
Surely we could just `Unix Philosophy <https://en.wikipedia.org/wiki/Unix_philosophy>`_\ |trademark| our way out of this one?
Yes we can.
----
Okay, so we have a terminal emulator and a terminal ``dmenu`` clone as our building blocks.
I'm using ``st`` and ``fzy``, respectively.
Surely this would work?
.. code-block:: shell
$ st -e fzy
Oh right, ``fzy`` accepts input on standard in, so that won't work.
We need some way to smuggle that standard in into ``fzy``.
We could try writing the input to ``fzy`` into a file, then passing it in:
.. code-block:: shell
$ temp=$(mktemp)
$ echo $temp
/run/user/1000/tmp.funnytext
$ cat <<EOF > temp
some
choices
EOF
$ st -e sh -c "fzy < $temp"
Now, we get a terminal that pops up with various choices, and we can use the trditional ``fzy`` controls to handle it.
But we still need ``fzy``'s output back -- it's going to standard out which is then immediately closed (because ``sh``, the process in ``st``, terminates as soon as it finishes running commands in ``-c``).
Let's try writing to another file.
.. code-block:: shell
$ st -e sh -c "fzy < $temp > /tmp/really_special_output_file"
$ cat /tmp/really_special_output_file
my choice
Nice; we now have a somewhat working dmenu replacement with just a terminal emulator and fzy.
You can polish this up and make it into a series of shell scripts.
I've already done that `here <https://git.beepboop.systems/stupidcomputer/dot_testing/src/branch/master/builds/utils/sh>`_, in ``tmenu``, ``tmenu-backend``, and ``tmenu_run``.
If you're running ``bspwm``, you can add a rule like so:
.. code-block:: shell
bspc rule -a tmenu-prompt border=on sticky=on state=floating
This makes the window float. Now, you just call ``st`` like so:
.. code-block:: shell
st -c tmenu-prompt -e <...>
And we get a centered result:
.. container:: image-container
.. figure:: ./tmenu.gif
----
From the ``lemonbar`` `Arch Wiki page <https://wiki.archlinux.org/title/lemonbar#Usage>`_:
lemonbar prints no information on its own. To get any text into lemonbar you need to pipe text into it.
Sounds an awful lot like a terminal, right?
This one's easier though -- we just have a specially arranged terminal at the top of the desktop running our program.
But how do we put it up there?
Define a ``bspwm`` rule:
.. code-block:: shell
bspc rule -a statusbar border=off sticky=on state=floating manage=off
(That ``manage=off`` part makes ``bspwm`` not resize the window at all.)
Now, you need to figure out where the statusbar goes, and then start the statusbars where they need to go.
Here's some Python to do that: (``statusbar`` is the statusbar program executed in ``st``)
.. code-block:: python
xrandr = subprocess.Popen(['xrandr'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
output = list(xrandr.stdout)
output = [i.decode("utf-8") for i in output if " connected" in i.decode("utf-8")]
serialized = []
for i in output:
splitted = i.split(' ')
print(splitted)
displayname = splitted[0]
geometry = splitted[2]
if geometry == "primary":
geometry = splitted[3]
try:
geometry_splitted = [int(i) for i in geometry.replace('x', '+').split('+')]
except ValueError:
continue
geometry_splitted[1] = 20
print(displayname, geometry_splitted)
os.system("st -c statusbar -p -g {}x{}+{}+{} -e statusbar {} & disown".format(
*map(str, geometry_splitted),
displayname
))
The above does depend on you having a 'pixel-perfect' st patch such as `anysize <https://st.suckless.org/patches/anygeometry/>`_.
I wrote my own, and it's enabled by using ``-p``.

BIN
ssg/programming/demo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 KiB

BIN
ssg/programming/desmos.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

107
ssg/programming/index.rst Normal file
View File

@ -0,0 +1,107 @@
=============================
Computers and other potpourri
=============================
`Click here to go back to the beepboop.systems' main page. </>`_
I've been interacting with computers a long time.
I first discovered `Linux <https://en.wikipedia.org/wiki/Linux>`_ in the fifth grade.
Occasionally, I had dabbled in programming before, but my first Linux installation really kicked off programming as a means to build *useful* things.
My most expertise is in `Python <https://python.org>`_ and the related ecosystem.
Similarly, I'm somewhat proficient in `Nix <https://en.wikipedia.org/wiki/Nix_(package_manager)#Implementation>`_, as a result of daily driving `NixOS <https://nixos.org>`_ as my Linux distro of choice.
I sometimes write `articles <articles/>`_, but I also have many open-source projects. Below are some of them, in no particular order.
----
.. container:: hero-image-l
.. figure:: ./demo.png
``dot_testing``
***************
This is my oldest and most continuous project. ``dot_testing`` is the repository containing the configuration for various machines.
As I adapted NixOS, it also morphed into become my repository of Nix configurations.
It also contains lots of tiny little helper utilities I've wrote and a full-blown statusbar program.
This project is on the `git.beepboop.systems gitea <https://git.beepboop.systems/stupidcomputer/dot_testing>`_ and `Github <https://github.com/stupidcomputer/dot_testing>`_.
The majority of content within is licensed under the `GPL <https://www.gnu.org/licenses/gpl-3.0.en.html>`_, with some parts licensed under the `MIT license <https://opensource.org/license/mit>`_ and other parts with unknown licensing status.
(See `here <https://github.com/stupidcomputer/dot_testing?tab=readme-ov-file#license>`_ for more details.)
.. container:: hero-spacer
.. container:: hero-image-r
.. figure:: ./yig.png
``yig``
*******
Over the course of mock legislative conferences, such as the Tennessee YMCA CCE's Model United Nations and Youth in Government, there's a manual released for every conference.
What interesting conclusions can we make based on an automated analysis of the bill texts and metadata?
Can we train a model to determine who's going to make it to the Governor's desk?
What bills will escape committee?
How exactly does one get to the plenary session?
What legislative activity has the Democratic People's Republic of Korea sponsored?
It is these kinds of questions ``yig``, a suite of software for building legislation databases, is designed to answer.
``yig`` is a parser for YIG/CCE manuals (provided in PDF) and a database/web frontend for the data parsed.
This project is under development at the `git.beepboop.systems gitea <https://git.beepboop.systems/stupidcomputer/yig>`_ and `Github <https://github.com/stupidcomputer/yig>`_.
For more information on CCE events, see this website's section on `mock legislation </cce>`_.
Licensed under the GPL.
.. container:: hero-spacer
.. container:: hero-image-l
.. figure:: ./desmos.png
``desmos-computer``
*******************
We know that `Desmos <https://desmos.com>`_ is `Turing complete <https://en.wikipedia.org/wiki/Turing_completeness>`_, but can it run Doom?
In all seriousness, ``desmos-computer`` is a project that implements an `instruction set archiecture <https://en.wikipedia.org/wiki/Instruction_set_architecture>`_ within Desmos via `Actions <https://help.desmos.com/hc/en-us/articles/4407725009165-Actions>`_ -- a built-in calculator feature.
It also defines a `DSL <https://en.wikipedia.org/wiki/Domain-specific_language>`_ for specifying the contents of Desmos graphs.
Eventually, an assembler will compile another assembly DSL to a series of DesmosDSL expressions.
It's all terribly complicated.
This project is under development at the `git.beepboop.systems gitea <https://git.beepboop.systems/stupidcomputer/desmos-computer>`_ and `Github <https://github.com/stupidcomputer/desmos-computer>`_.
Licensed under the GPL.
.. container:: hero-spacer
.. container:: hero-image-r
.. figure:: ./irc.png
Various IRC bots
****************
For a time, I was a regular user of `IRC <https://en.wikipedia.org/wiki/Internet_relay_chat>`_ on the `tilde.chat <https://tilde.chat>`_ network.
I've sort of stopped using IRC, mostly because `Bitlbee <https://bitlbee.org>`_'s last version release `was in 2019 <https://www.bitlbee.org/main.php/changelog.html>`_. (!)
Anyway, some of these IRC robots were written as protector bots for the now defunct ``#chaos`` channel.
(In ``#chaos``, everyone gets ``+o`` automatically.)
In chronological order:
- `chaosbot <https://git.beepboop.systems/stupidcomputer/chaosbot>`_, a terrible IRC robot written in C. It was originally based on stolen code from suckless' ``ii`` IRC client. Licensed MIT.
- `pychaos <https://git.beepboop.systems/stupidcomputer/pychaos>`_, a (less) terrible IRC robot written in Python with the `ircrobots` library. Not a very good bot, though. Licensed MIT.
- `coinminer <https://git.beepboop.systems/stupidcomputer/coinminer>`_, a silly IRC robot that exploited an imaginary casino with imaginary money for zillions of tildecoins. Licensed AGPL.
- `universalducks <https://git.beepboop.systems/stupidcomputer/universalducks>`_, another silly IRC robot that provides cross channel, universal ducks. Licensed AGPL.
- `modbot <https://git.beepboop.systems/stupidcomputer/modbot>`_, a crappy attempt at a modular IRC bot. Licensed AGPL.
Other projects
**************
There's a complete listing of all my projects at `my gitea <https://git.beepboop.systems/stupidcomputer>`_.
Do note that the vast majority of them are unfinished and will probably never be finished.
I also had an older website -- an archive of that is available `here </old_website>`_.

BIN
ssg/programming/irc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

BIN
ssg/programming/yig.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

8
ssg/shell.nix Normal file
View File

@ -0,0 +1,8 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
# nativeBuildInputs is usually what you want -- tools you need to run
nativeBuildInputs = with pkgs; [
buildPackages.python311Packages.markdown
pandoc
];
}

38
ssg/ssg.sh Executable file
View File

@ -0,0 +1,38 @@
#!/bin/sh
files=$(find -type f | grep -v "output/")
directories=$(find -type d)
IFS='
'
mkdir -p output
for i in $directories; do
if [ ! "$i" = "./output" ]; then
mkdir -p "output/$i"
fi
done
# only commits with 'CHANGE' in them go into the changelog
git log --grep 'CHANGE' >> output/changelog.rst
set -x
for i in $files; do
without_extension=${i%.*}
case $i in
*.rst)
pandoc -s --template=./template.html -f rst -t html -o "output/$without_extension.html" "$without_extension.rst"
;;
"./ssg.sh") # don't copy this file
;;
"./shell.nix") # ditto
;;
"./template.html")
;;
*)
cp "$i" "output/$i"
;;
esac
done
set +x

65
ssg/style.css Normal file
View File

@ -0,0 +1,65 @@
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
}
a {
color: lightblue;
}
a:active {
color: orangered;
}
a:visited {
color: mediumpurple;
}
::-moz-selection ::selection {
color: blue;
}
}
body {
font-family: sans-serif;
}
div.hero-image-l > figure > img {
width: 25%;
float: left;
overflow: hidden;
margin-right: 10px;
}
div.hero-image-l > figure {
margin: 0;
padding: 0;
}
div.hero-image-r > figure > img {
width: 25%;
float: right;
overflow: hidden;
margin-left: 10px;
}
div.hero-image-r > figure {
margin: 0;
padding: 0;
}
div.hero-spacer {
height: 20px;
width: 100%;
overflow: hidden;
}
div.image-container > figure {
margin: 0;
padding: 0;
}
div.image-container > figure > img {
width: 100%;
}

17
ssg/template.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>$title$ at beepboop.systems</title>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<h1>$title$</h1>
$body$
</body>
</html>

14
ssg/voicemail/index.rst Normal file
View File

@ -0,0 +1,14 @@
=========
Voicemail
=========
If you're reading this page, you've just reached my voicemail. Here are some overall guidelines regarding my voicemail behavior:
- If, after dialing you immediately hear my voicemail, then my phone is off. The most expeditious method of contact is now email.
- If, after a repeated dialing tone, you go to voicemail, there are two cases:
- The call is urgent. Call again to break through the do-not-disturb barrier.
- The call is not urgent. Send me an email with a summary of what you would've said in your voicemail.
In general: I don't check my voicemail, but I do check my email. If you want to send me a voicemail, send me an email with a summary of your message.
`Send me an email. <mailto:ryan@beepboop.systems>`_