Welcome to Windsor & Essex County Freedom's forum...
Break the Facebook addiction, avoid A.I. slop, scams, and online drama.
[WEFreedom.SubMatrix.net] focuses on local community political
ACTION + COMMUNICATIONS + ORGANIZING
for Windsor, Essex County, and beyond, with minimal drama.
== Priorities of this [SubMatrix.net] community ==
- alternatives, solutions, trade-offs
- autonomy, critical-thinking, mutual-respect, truth-seeking
- local news, processing info, producing media
(print, video, web, etc.), sharing & outreach - projects of all sorts (research, plan, execute, distribute, resolve)
== Online features include ==
- this [SubMatrix.net] forum to post and comment
- [Chat] and private chats with individuals or custom groups
- [messages] and private messages
- [Gvid.TV] video library
- [Img.Gvid.TV] image bank
- [Projex.Wiki] interactive documentation
- more
Also find lots about us, our calendar of events, organizing,
more information, and resources on the wiki anyone may join...
== Announcements ==
- WEFreedom has a new forum!
== Urgent ==
- 2026-06-29 Mon - City Hall
We need to audit (sit in), take notes, process, develop action, publish.
== Calendar ==
- 2026-06-27 Sat - Banwell Church car wash to raise lunch money for Marlborough School
- 2026-06-28 Sun - Canadian Fiesta! monthly soirée
- 2026-07-01 Wed - Canada Day
Every 2nd & 4th Wednesday, 7pm @ The Lions' Den
== Classifieds ==
Local folks and businesses need local support.
(more soon)
== Recommended ==
- /s/ArtificialIntelligence
- /s/Canada
- /s/Controligarchy
- /s/Health
- /s/PoliticalAnalysis
- /s/VaccineSkepticism
- /s/Voluntaryism
- /s/WEFreedom
- /s/Windsor
- /s/Zionism
== Questions? ==
If you have questions contact
- [FAQ] (frequently asked questions)
- JasonCarswell (aka Santa Libertas)
- x0x7 (genius-coder and admin-extraordinaire)
== WEFreedom folks ==
WEFreedom folks can see who has joined this forum,
encourage more participation, and connect here.
[User list goes here.]
== Critical concepts ==
Agora (Greek) is an open place for markets and people to assemble for
various purposes, like a town square.
Agorism
- Social philosophy advocating creating a society with voluntary
exchanges and relations between people via aspects of
counter-economics and nonviolent revolution.
Do-ocracy
- An organizational structure in which individuals choose roles and
tasks for themselves and execute them wherein responsibilities attach
to people who do the work, rather than elected or selected officials. - http://Projex.Wiki/wiki/Do-ocracy
FOEPATCHISM
- Fair, Open, Ethical, Peaceful, Accountable, Transparent, Consistent,
Honest, Inclusive Social Management - for collaborators, communities,
families, governments, groups, homes, organizations, social media,
societies, teams, workplaces, etc. "Foe" = enemy; "patch" = correction. - http://Projex.Wiki/wiki/FOEPATCHISM
Libertas = autonomy, freedom, sovereignty.
Phylaxis
- (medical) The protection against infection.
- (defensive) Guarding against cultural destruction, cyber warfare,
ideological subversion, malicious infiltration, medical tyranny,
political corruption, psychological operations, wealth theft, and
weaponized migration.
Voluntaryism
- Peaceful life without rulers, yet with social rules.
- The common sense idea that all forms of human association should be voluntary...
with the assertion that any act of violence [or coercion] other than self defense,
whether by an individual or organization, is illegitimate and unlawful. - Voluntary interactions - without rulers rather than supporting and suffering
under mafia governments and corporatocracy's monopoly on violence.
This includes what consenting adults do in the privacy of their own wallets,
bedrooms, bodies, businesses, and communities. - http://Projex.Wiki/wiki/Meaningful_liberty#Voluntaryism







Please explain like I'm five.
It uses yt-dlp to download the video. It then uploads the file to catbox as a file form. It uses a programming language that is the highest paying language to know right now. So obviously I want excuses to code in it so I can learn it better.
Being able to write this and being a professional developer with it are two completely different levels.
Though TBH I've tutored women who needed tutoring past getting a job in basic python shit while not actually knowing python myself. Their python was that bad that I was able to be a substantial help. So if you are a woman what I wrote above is enough to get a job.
Hmm. If I need one more project to do I should make based linkedin, where writing something like this is acceptable.
Long explanation going into code so the code makes sense.
-module declares what module we're writing.
-export says what functions other code can access.
The /0 or /1 is saying how many arguments the function takes, called the arity in functional programming languages.
-define is just defining some constants so they don't clutter the code.
Functions are defined with name(arguments) -> implementation.
All functions return one value.
Erlang uses sentencs with normal sentence punctuation. Very unusual for most languages. The end of a statement or function declaration ends with a period. Assignments within a function can be split up with commas. Between commas and periods there are semicolons that split up clauses. But this code has no semi-colons. Nice.
We are using a library called hackney that does http requests.
The init function just makes sure everything hackney depends on is started.
The main thing it needs is the net module's server. Erlang often splits code into separate processes because it is a distributed programming language, which is the core strength that makes it pay so well. Sometimes modules split off a single (often single) process to handle some functions in. Net is one of those.
The formBody function takes a file path and makes the bytes that will make of the body of an http request in the format Catbox expects.
The upload function is similar but a little more broad. It actually sends the request. Sometimes this is called a wrapper function because it calls formBody and does more.
The transfer function is a function I added later. It's a wrapper function to the upload function. The doing more is downloading a video file with yt-dlp.
Last concept hint that can make reading this code easier is understanding that Erlang is a pattern matching language with destructuring. The lines like {ok, Bin} = hackney:body(clientRef), basically takes the result from that function call and breaks it up if and only if the response matches that pattern. Variables are always uppercase. So Bin in this case. If it is lowercase then it is an atom which are kind of like enumerators in other languages, but they don't have to be declared. They are also sort of like string constants except in their own space so text data and constants don't cross paths. Curly braces {} define a tuple which is like a fixed length list. So the line {ok, Bin} = hackney:body(ClientRef) assigns the second part of the result to Bin if and only if the first part of the result equals the atom ok.
Underscore is a common notation for a variable we don't care about. So {ok, _ , _ , ClientRef} = SomeValue. Just doesn't assign the second and third value. Or at least assigns them into a space that who the fuck cares.
The syntax <<"string">> vs "string" is because Hackney is coded in Elixir a cousin language and it tends to use binary strings instead of list strings so we have to convert between them. This also explains the use of binary_to_list and list_to_binary functions.
Now you understand the code.