#⌨coders-cave
1 messages · Page 36 of 1
Have any of y’all built an assembler before?
Fair, sounds like it's probably gonna be quite the challenge then. Good luck!
Issue tracking/PM, but by Jetbrains.
@orchid frigate did something like that I think but he’s not been here for a while
Why not GitHub?
Nice
Funnily enough, you're the second person to be having this exact reaction in the last 20 minutes. xD
In our particular usecase, we didn't want the system tied so deeply into our repo so that it's possible to give people access to creating/discussing issues without giving access to the repo/its code.
I’m pretty sure you can do that with GitHub and a third party
Just use something like what worldbox is doing
And create the issues manually
If you want automatic issues then you also have to clean all the bad issues
So it’s around the same amount of work
Wdym?
There’s probably a GitHub bot that can do this for you
With a third party thingie where people can go and add issues
Then the bot would add the issues to the repo
But as I said having the bot adding the issues might be more work than adding them manually
Yeah, though we already had that effort before in the form of needing to actually needing to talk with the people about their suggestion. Didn't have any issue stuff back then, so once we agreed on something to do, we basically just relied on our brains to not forget. 
Is this for your job?
Tbf, I think it's not that bad in our case since the issue creators are still a closed group of people, it's not like we're letting literally all end users access the platform.
Could see what you mean if anyone could create stuff at will.
Free time project, my workplace already has quite an interesting approach to issues. 
(At work, we've got SVN for VSC with Redmine wrapped on top for PM. xD)
I mean you could also always contract us for a custom dashboard but I don’t think you should pay that kind of money for a free time project
Ahhh yess words I’ve never heard of
Can't say you're missing out tbh. 
Yeahh, don't think I'm paying for that. xD
Tbf, that's still better than our previous system.
(The previous system was "no system".
)
My previous system was a text file
My current system when doing WorldBox modding is to have a big comment at the top of the main file that's a dump of all TODOs. xD
I've been meaning to switch to GitHub issues for a long time, but laziness keeps getting the better of me...

Bold to assume that I do pull requests on my modding stuff. 
Also, I disagree either way because without issues or some form of TODO, I'd just instantly forget 50% of things I should be doing. xD
I forget too
I just don’t care 
xD
I do because whenever I forget something and then realize that I forgot something, my brain just starts to torture me until I remember.
Probably lose like at least 3 hours of sleep per week to my brain doing that. xD
The curse of coders.
I thought same, but that happens only when you working on your own project
Working on job project changes things, i have good sleep schedule now
I think it's less ownership and more just personal investment in the project. If it's not really a project you're passionate about and you're mainly doing it because you get paid to do it, you're ofc not gonna be losing any sleep over it. xD
Nah, even if you passionate
I guess its because of employers, they disallowed me to work on weekends
Idk, I've personally never before seen a true workaholic be stopped by their intended maximum work times. 
Its more productive to have rest time i guess
Employer understand that, so makes me rest, but for himself he don't follow that
That's fair, and it does often help to e.g. just sleep on an error instead of trying to fix it for the entire night.
Nah, i still can't sleep on an error
I need to fix it asap
Instead of sleep i do walk
It helps
Only after fix annoying bug i can sleep well
I know that feeling far too well. xD
hello new channel
why wont the image named asuka appear
im trying to make a thing for school
i cannot figure it out
help
resolved the issue
Its very old channel
New to me
Also you just write code at a job
You don’t have to design stuff and worry about how things will be in the future
Yeah. Worst case scenario, if technical debt blows through the roof, you'd either be paid just to fix it or you could find another company.
Or, even better (as the dream for if you're good enough for it), write completely unmaintainable code that works great and slowly but surely make the company dependent on you so that you can effectively financially "extort" them with the threat of quitting. 
Depends on where you work, it can be different
unfireable 
True
Probably placed it outside canvas?
And not applied image, so it can be same color as background
Are you...the guy that created power box?
Ye
Me and QuickLast
why did you remove trait remover rain 
Its maintained by Key now
So i don't rememeber, it was me who was lazy to fix related bugs (or other reason), or it is Key's decision
oh
it was before like when trait rains release you removed that trait rain feature itself
maybe because of the feature being released in update
Ah
Yes then
Batch features remove
No trait rain -> no remove rain
I guess that was my logic
Because i was lazy to update it, i need to have separate window with all the traits, while it already made by devs, so will be two places with traits
code.org default sprite be gray
what kind of ide is this 😂
shitty school thing
i fee lthat
they tryna force me to use Clion for Advanced Programming
If i had to teach someone programming I would start them from assembly
im not even joking
why
seems like heck of a steep learning curve but ok
assembly is simple lol
and it will allow you to know how things actually work instead of just "magick"
don't ya already have prior programming experience
so already familiar with terminologies en stuff
Always keep in mind the prior knowledge you have when teaching someone who doesn't have amy knowledge
down to the wording
yeah but assembly theres like not alot of concepts
Ok give an example of how you'd walk someone through assembly
why are you lying
calling assembly "easy and simple" for begginers feels like a pick me line
like trying to make urself sound smarter for no reason
i agree it is important to learn assembly though
but its by no means beginner friendly as you need to understand a lot about the underlying computer architecture to do it
but how do you need to know alot about the underlying computer architecture, if your a beginner you would be starting off like basic addition and loops
which yu wouldnt need any underlying knowledge for, except like register names
yeah but you need to understand how registers work, not to mention to understand a lot of the basic instructions, and you are forced to learn loops and such without any abstraction
a lot of it can be boiled down to learning memory management ig
wait if your doing basic addition and loops wouldnt registers just be "a place to store number"
wait registers are incredibly simple
Most people take the extreme opposite route & start with Python
Where you can ignore all of the underlying mechanisms until you figure out the basics
Notepad
id say the perfect middle ground is a garbage collected language that is also strongly typed
python makes it a little too magic without having to declare what type is what
Java :P
idk why people hate on it tbh
I'm gonna be honest, Python definitely does the job when teaching basic programming skills. What happens after that for most people, though, is they move onto more specialized and optimized languages, which is the best next step from there. Both high-level and low-level languages work well for teaching, but mid-level has specific stuff to worry about that isn't the best for teaching.
idk
python is definetly a very usefull tool in my book but if you dont have any idea about anything regarding data types then ur gonna run into a lot of problems in the future
ngl python http server helped me a lot
moving files from server to another with curl and a python http server
and its built in
you just python -m http.server 8080
nice
SCP?
Scp?
The command
What’s that
Nah I just curl stuff
Lol
Used to it more x)
Ya curl is cewl
Not inconvenient slow but definitely slower than http
Every time I use this command it brings up trauma from the one time on this exam thingy I forgot the command was unable to copy a file from a server in the given time period
Yeah I move gigs of files
Fun
Oof
got full marks on that thing besides that one tho by just explaining the next steps I would've done
W teacher
yeah i like this tool
usually i just use the test tooling that comes with most stacks
imagine syncing with git
good job
Ok for the record I have no clue what Im doing messing around with py and VScode which is probably the bulk of my issues and probably cant be helped, however, I have some code here that if anyone wants to help/correct me on that would be very helpful. Basically background to this is I was trying to decode a cryptic message in https://discord.com/channels/522561390330904585/1305874996706672690 which used some random chinese letter script with each letter corresponding to an english letter. My biggest issue, which might just be me being stupid, was figuring out which chinese letters corresponded to which english letters. After that the second step is (Im like 90% sure from the hints I was given) to apply a ceasar cipher of 7 to the message. So I got Chatgpt to write some code to basically brute force the first step, trying every possible combination of letters, changing each message with the cipher, and then checking the results to see if any of them are actual english an not gibberish. Thing is I'm not very good at coding in general let alone python which although simple I have no experience in, so I couldn't check GPTs work. I haphazardly set up the program and VScode and ran it for a few minutes, but there was no output (It was definitely running because my computer fans were freaking out). While there were probably several different steps of failure I've come to you guys for help with at least the actual code part if anyone here is experienced with python I would be grateful if you could check ChatGPT's work to see if its doing what its supposed to, and give any possible suggestions. 🙏
I attached the file because its too much text to type in one message:
oh nvm it embeds W discord
Also theres a (small) chance that the code and setup is completely fine and it just takes a lot longer to brute force than I thought. If thats the case any educated guesses on how long the process is likely to take would be helpful too.
No that’s why I’m here 👽
Which one specifically is it?
It shows in the file
ꍟꆰꃅꆰꁴ ꌃꀎꆰꂦꆰꍟ
ꍏꁴꆰ ꀤꍏꀸꊼꉣ
ꆰꎇꆰꀸꁴꂵꊼꊼꀘ ꈤꀸꍏꅏꆰꁴ
ꀎꎇ ꂦꂵꁴ ꍏꁴꊼꀘ ꈤꆰ ꓄ꆰꂵꊼꆰꉣ ꈤꀘ ꀸꆰꈤꀎꀸꎇ꓄
Alright ima take a (manual) crack at it
The most important step of any 1:1 cipher is to find E
It is by far the most common letter, majority of words contain it
A giveaway for it is E(X)E patterns
I would feel pretty bad if I spent a day trying to decode it like 3 separate ways and you get it in half an hour but as long as I get the answer
I’ll do it in 10
Bet
No shot
DM’s
Also it’s more like 7 but ok
can u share it here
ok well I guess my problem is now irrelevant but I guess if any of you are super bored and like fixing code you can still go at it
I'm doing something very stupid... I'm doing stuff so I can toggle my files for Spelunky HD between normal music and bass-boosted versions lol
Spelunky player based
my guess is you are too
anyway I'd try it for 2 as well but the files are more obfuscated
either way, I'm using batch files to accomplish this, they seem to be the right tool for the job
Not a big one but I have like 10-20 hours in spelunky 2
Arguably the hardest game of all time lol I didnt even get close to beating it
I've got 40 hours each in both 1 and 2, and a bunch in classic
furthest I've gone solo is the first final boss
(I died, had no shotgun)
I genuinely cant think of a more brutal and challenging game than spelunky but thats the fun of it
some people say "oh but Darksouls! oh but Elden Ring!" but those games are predetermined
people play Spelunky for years and find new ways to die every day
literally
the only bad way to die is to be hit at one health in a lame way
(which ive had happen to me a lot still)
my personal tip is to never keep shopkeepers angry
if you rob, rob in 1-2 and get forgiven ASAP
anyway I'm gonna get this happening, once it's done I'll show video
arghhh. I'm having batch file problems. I've got a command (xcopy "C:\Program Files (x86)\Steam\steamapps\common\Spelunky\Data\Music\A01_dark.ogg" "C:\Program Files (x86)\Steam\steamapps\common\Spelunky\Data\Music\normalA01_dark.ogg") and I'm trying to get it to create new files without asking whether I want it to copy the file or directory. For context, the first file path leads to an existing file, and the second to a non-existent one I want to create. It works perfectly except when I try and get it not to prompt me, in which case it just decides to close.
I'm new to batch files, and whether or not I continue using them I'm still curious as to whether I can do this
Please only English
99 little bugs jumping on the code
One fell down and got patched out
112 little bugs jumping on the code
-Oracle SQL Server
We're taught SQL with that thing in my school, and then they also teach us PLSQL in it to add insult to injury. TwT
same
Found this awesome project someone made
https://domsson.github.io/freedom-clock/#clock
It's a bit of ISO8601 time format propaganda but still
😂
i suffered from this not so long ago
since i host my websites on a us hosting provider and the function to render the page runs on us server so the default format was us format
how tf do i read this
its minutes:seconds:hours
The display broke
the numbers not fully rendering lmao
I can tell the format
just not the damn time
How tf lmao
totally working clock fr
I just use hetzner for everything, never had issues with them especially with time format because I use their Helsinki data center
i use hetzner for bigger websites
ah forced dark theme ruined it lol
What browser do you use 
because vercel is fucking expensive
Ohh
but its easier to work with vercel
i turned on the dark theme in chrome flag :P
unfortunately the toggle is always on by default
inorder to have the checkbox there
Makes sense, I suppose hetzner is cheaper for bigger websites than vercel?
yeah
also i can stay on the free tier 
its not worth it to go pro on vercel for 20$ a month when i cant use up all the pro features
i can just spin up a couple of $5 servers on hetzner
also if you use vercel wrong it can be very expensive
like 1TB of bandwidth on vercel costs you $400
Damn
and hetzner gives you 2TB of bandwidth for free witth the VPS
i guess not free since your paying for the VPS but you get the point
if you fuck up on vercel you go bankrupt 
Sounds like AWS
yeah they use very fast CDNs so you are not supposed to use them to deliver things like images and videos
yeah ive heard
a guy had an empty S3 bucket
got charged so much money because someone found the ID and started spamming the api with requests
he didnt have any permissions to do anything with the bucket but just spamming a specific endpoint was enough to incure charges i guess
Damn
cloudflare R2 buckets are way cheaper
they have two types of buckets and one of them has free bandwidth
Yeah but AWS is made for enterprise stuff and it works super well for it
all of these buckets are S3 compatiable but people dont like to change
enterprises love legacy shit 
True lol
i have my own S3 compatiable bucket on a little home server that i back up databases to
very easy to use
The thing about AWS is, it makes scaling super easy which is why it's usually recommended for massive software
Fair
cloudflare can do it and azure can do it
auto scaling is like a necessity at this point
Azure is a bit janky compared to AWS but it does do the job true
I've used both at work, not at very deep level but surface level stuff and have much preferred AWS
and people dont want to rehire and change their architecture
cloudflare is even better but it doesnt cover everything in AWS yet
also way better UI on cloudflare i heard
ive never personally tried AWS
I should check more cloudflare stuff. I just use their free DNS thing and email forwarding
yeah i use a cloudflared tunnel to access my home server
since the public ip on my network is dynamic
also its safer and you dont need to forward ports
unlimitied free btw
but you can't use the tunnel for all types of traffic
they don't support UDP sadly 😔
Damn, I have a ubiquiti router that has a built in VPN that I use if I need to connect to my home network. Works well enough
i've setup wireguard so many times that i'm basically a pro at it now 
wireguard is so OP
all modern VPNs use it
i tried to do a client exit node on wireguard not so long ago and i just gave up 
i guess not so pro after all
Tbf that isn't exactly an easy thing to do afaik
man
Omg it's Mike Rowe Soft himself
How doi code lua in microwave
https://youtube.com/shorts/mdllBTbPK9Q
first step
yeah im looking to migrate my website off github pages and host it locally ( i want a backend )
is cloudflare the method?
Yeah
It’s called cloudflared tunnels
You just need a cloudflare domains
You don’t have to buy the domain on cloydflare you can just use cloudflare to manage your domain which works too
how 1980s PC's were made:
lol
Anything that gets the job done
I like Python but I feel like if I learn some others they will supersede it
C#
I’ve Deleted System32
I clicked a folder, deep and gray,
“System32,” it seemed okay.
A friend once joked, “Go on, delete!”
So I thought, “Why not? What a treat!”
The screen went black, the fans did spin,
My PC whispered, “What’s within?”
“Goodbye,” it sighed, with a soft wheeze,
“You’ve unleashed chaos—oh, jeez!”
The mouse froze up, the keyboard too,
Ctrl + Alt + Del? There’s nothing to do!
My desktop vanished, apps went away,
Task Manager just gave up that day.
I grabbed my phone, called tech support,
The guy just laughed, gave this retort:
“Why on Earth would you do that?”
Now your PC’s as dead as a mat!”
So here I sit, a lesson learned,
Respect those folders, don’t get burned.
For System32 isn’t just a name—
It’s the heart of the system’s game!
chat gpt ahh poem
It passes the zerogpt checker at a score of 93% which means human, and it doesn’t appear to be a popular copypasta online
But ain’t no way bro wrote this himself
ai detection is shit most of the times
Mhm
AI in its current form is ironically too new for the ai’s that check for AI to become accurate
i've wrote many things for school that i tried ai detection on and it seemed to think its AI
and sometimes AI things dont flag
Same, I have one that says it’s 95% confident the entire thing is AI generated, but I wrote it myself (a 3000 word paper)
but it seems to have so many false positives
Mhm
It looks for common AI mannerisms
However humans sometimes use the same mannerisms
Exactly 💯
guys does scratch count as coding
Hardest one also
killing myself i tried making a fs from scratch when
<v86object>.save_state() exists
wtf theres a restore_state function ??/
hell yeah
devs
2b || !2b
That’s so true
@hoary hound by module does just that mean a independiion sect of the program that doesn’t interfere with other parts of the bot?
*independant
-# for context on why I keep asking questions is becuase I’m currently trying to work on improving my bot-making skills, and AMP (and by extension its creators) feels like a good example to learn from
well yes amp is modularized using discord.py cogs
Mhm
What languages do you use for bots?
If you use discord.py cogs are a must
Or well regardless of the language you need to modularize the bot if the scale isn't a tiny bot that does one specific thing
It if a fuckin lifesaver
C# already modualrizes stuff in ASP.NET and discord.NET copies it
modualrization is the way in these big apps
Just Python atm
Noted, I’ll look more thoroughly into cogs, currently I only have a somewhat surface level understanding of them, (never have utilised them ,but Ik they exist)
Like turn functionalities of the application to their own modules that can be manipulated without affecting other modules
Doesn’t that also have the added benefit of if you encounter a fatal error in some part of the code, assuming it’s not part of the code “core” frame of the bot, you could just deactivate that entire module & the rest of the code would work fine
Ah, i thought its something about microservices
Yeah, we actually did that recently with AMP when starboard had a fatal issue. We just turned it off until we could fix it
Cool
godot is cool\
it is, but microservices are the next level, instead of modules now you have difference processes (services) that are split from each other
microservices are tough tho. They need to be extremely well planned before implementation starts to ensure it's not gonna be a distributed monolith
Ye
@wet girder what coding language do you recommend for starters
i dont know how to code in godot but it seems like a nice language
Better to use c# with godot
Python is by far the easiest to learn, but it might not be the best
My recommendation is C# but Python is good as well. Kinda depends what you want to do
use Python to learn basic programming concepts and then move onto other stuff
as to what "other stuff" entails, that's what the other guys in the channel can inform you on
my tip is "probably not JavaScript"
its more about what you want to do
if what you want to do requires a core service that notthing else works without
then its gonna be a monolith weither distributed or not
distributed monolith is not a bad idea too
makes it more resilient for the price of the overhead you get from having multiple services
sb 2 code is a monolith and i built it in a way that makes it easy to break into two pieces
i think people focus on learning a language and not learning how to program which makes python the easiest option
but if you are learning how to write code the difference between languages shouldnt be big
at my uni they start with C and people seem to be fine with that
if you know how to write code the programming language will not be an issue
Mhm, the more you practise just writing code in any language the easier and more natural it is to pick up another in a shorter timespan
yeah because coding was never about the language
ok then
ill try c#
ill move onto html later

factually incorrect, it's Rust for the picture on the far right, not C++
ahhh yes html, my favorite programming language
what a coincidence, i just hopped on discord and someone just replied.
wuh
only considered difficult by computer science teachers who are actually math teachers filling in a gap americawide
my cs prin teacher isn’t even supposed to be teaching the class they made him lmao
@hoary hound can you explain to me how bro just sourced the (closed source) kernel of an IOS system
I somewhat doubt that's the iOS kernel...
Oh
It actually is, at least a snippet of it
Lots of function calls
Hmm, looking at it closer it seems to be for a simplified emulator
Can someone teach me how to code from mobile
use termux
It's that an app
where is Cobol located on this
C++ is the best but anyways
‘Bout assembly?
lower-level languages are not, in fact, suited to the meme
Java and Javascript should be to the left of Rust, and Rust should be the rightmost entry
nah
12º Degress above 15,392% Pacific Ocean's Declive Surface, behind Saltamar Island in Perú, there is located the Military Base of United States of America, where they try to reach Anti-Matter.
It is most secret and remote place on Earth
Except for Nemo
i was joking
What language u using
hi guys
i need help at using HBITMAP
so guys
i will make a cheat
soon
for blackjack
i will need help
#include<iostream>
#include<string>
#include<windows.h>
#include<chrono>
#include<thread>
void ErrorHandle(int s){
MessageBox(NULL, "Error al ejecutar programa", "Error", MB_ICONERROR|MB_OKCANCEL);
std::this_thread::sleep_for(std::chrono::seconds(s));
}
LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam){
switch(uMsg){
case WM_PAINT:{
PAINTSTRUCT ps;
HDC handleDC=BeginPaint(hwnd, &ps);
HPEN hPen=CreatePen(PS_SOLID, 1, RGB(255, 0, 0));
SelectObject(handleDC, hPen);
Rectangle(handleDC, 10, 150, 100, 20);
SetTextColor(handleDC, RGB(0, 0, 0));
SetBkMode(handleDC, TRANSPARENT);
TextOut(handleDC, 100, 100, "Testing-1", 17);
DeleteObject(hPen);
EndPaint(hwnd, &ps);
break;
}
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return DefWindowProc(hwnd, uMsg, wParam, lParam);
}
}
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int nShowCmd){
const char* CLASS_NAME="Screen Capture";
WNDCLASS wc={};
wc.lpfnWndProc=WindowProc;
wc.hInstance=hInstance;
wc.lpszClassName=CLASS_NAME;
if(!RegisterClass(&wc)){
std::thread h1(ErrorHandle, 5);
std::cerr<<"Error";
return 1;
}
HWND hwnd=CreateWindow(CLASS_NAME, "Screen Capture", WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, 500, 500, NULL, NULL, hInstance, NULL);
ShowWindow(hwnd, nShowCmd);
MSG msg;
while(GetMessage(&msg, NULL, 0, 0)){
DispatchMessage(&msg);
TranslateMessage(&msg);
}
return 0;
}
Hi
use replit if wanna choose a coding language
pydroid for python
codepen.io if javascript and html
there's rust playground site if wanna do that
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021
A browser interface to the Rust compiler to experiment with the language
Tryna use one for programming robots and ai and development
And coding
Thank you what is a rust playground sit
coding in rust
python if going for neural network kinda ai then
cause the libraries
Thank you 😄
Where would I get started w learning someone's suggested an app I js wanna have back ups
pydroid or replit then
Okay thank you 😄
on google play store yea
replit is also good
but recently theyve been becoming worse
Great I'll down load them now
I better learn quick 🥲
I would rather use termux than replit though cuz I can use it offline and get more than 5 gigabytes of storage lol
heck yeah
windows on phone :>
Nice
You dont have laptop?
No I do not have laptop or PC
Oh, if you're looking to make some cash with programming i suggest going for web development and find some client in upwork/fiverr imo
I plan to invest in a PC in the future and create a robotics company:>>>>>>>>
Well alright good luck(if you give up i'll find you.)
I thought it was sweet until I saw the photo 🥲
Welp luckly u don't have to worry abt me giving up :>
ok so that's rust
that's not how you set a variable or print for that matter
Go look at a rust tutorial...
Okay, I've been practicing for python
@feral bramble if it was python would it still be right
yeah that's fine in python
why the heck were u trying to run it in rust then???
I don't know 🥲 my replit 3 tries ran out n I panicked
...
YEPPIE :>>>>
just use pyrdoid or termux to run ur python ig
Is there any free apps for python 🥺
Oh yeahh
2 more questions:>
How do I run this, I press play n it opens tab
How do I run this
termux is a linux environment
so have to create a python file
nano test.py
type stuff in
save
then
python3 test.py
to run jt
Hmmmm very very hmmmm
for the love of god look at some tutorials
also pressing the play button there would just print hello, world!
also termux doesn't come installed with python at first
IT WORKED
-w-
I'll js use pyroid, because termux sounds like space language
it's just linux console commands
Is that like smth we have to search up 🥲 Linux sounds like a mythical animal
termux is essentially u have a computer as app
Linux is an OS
Windows is an OS
Ohhh I am android:>
And termux emulates the linux os
you essentially running a linux computer on ur phone through the termux app
Dosnt that mean ud have to have computer
bruh i just said the termux app runs a linux computer on ur phone effectively
that's called emulation
Ohhhhhh
That makes more sense
aight just stick to using pydroid and go watch some python tutorials ig
or read through w3 schools or some other website that educated about python
ok
@feral bramble THANK YOUUUUUUU :>>>>>>>>
Ima be better than Elon musk one day trust :>
wut
ah
very ambitious
What do u plan to do
YES >:)
whatever makes a living
Whatever pays the bills I get that
It doesn't emulate it it gives a shell and gives you a package manager to install tools to your user
Cuz android is linux
aight
@balmy vector
ok I've been corrected
@quartz pumice @quartz pumice what's a package manager
Installs applications for you
You tried 🙂
In human language terms 🥲
packages being a package (heh) of the application and everything (or a list of what) it needs
Package manager downloads and installs these packages
I think
How do u guys know all this what do u work as nasa engineers 🥲
Idk
This ain't even close to nasa engineering lvl
simple accumulation of knowledge by learning through any accurate source
Life is gonna be hard n long I'm ready tho
Print("w to death")
👌
Money="£1,000,000"
Print(money)
capitalization matters
What in the world does that mean I did geography 🥲
a bunch of coding problems from easy->difficult if you want to use them to learn or something
Thank youuuuu 
@quartz pumice hey I'm on day 1 I looked throughout it
I chose 27636 67663
- 3
- 6
- 6
- 6
- 7
- 3= 1
- 6= 3
- 6= 0
- 6= 0
- 7= 0
1+3+0+0+0
=4
So would 4 be my answer @quartz pumice
why did you ask me
also 4 is too small
read it carefully
idk why they made it so confusing to read
Im not
Then what am i🥲
smart
if you have a pc you should use it
instead of your phone lol
Thank you:>
I only have a phone 🥲
But I am gonna start saving up for a PC once I get an apprenticeship
nice
fr
Fr
also you can run ai locally on your phone with ollama
print("when do I learn how run an AI")
I mean all you haved to do is install ollama then it works
its kind of bad with limited resource thing
like it will straightup use a gigabyte of ram just in the background 💀
0_0
but if you run out of chatgpt prompts you can download ollama and use it indefinitely
lol
I have 2 😭
I will try some day 🥲
ONLY 2
RUGHHT it js increases daily
every update it goes up by a gigabyte lmao
I need to save up for a new phone new PC new laptop new laptop new 3d printer audrino starter kit
I don't update I got lots of unused but important apps 🥲
I don't update I got lots of unused but important apps 🥲
Why did it send twice
it keeps doing that to me too
some of the servers im in have really strict spam bots and they had to be turned off because discord is being a piece of shit lol
yeah
why is every app like 200 megabytes
Right and all they are holding is the bare minimum 
yea
shit is crazy
like what do they even have in them
I have a 2d game that uses 200 megabytes of storage and its just 2D point and click
then I have another game with full campaign and shit and its 2 megabytes
Some of my apps I downloaded and forgot to go on and they still be having such high mg 
ALSO
Yeppie
Started yesterday
Or the day before
whatis that
Mimo app it's like the dulingo of coding
Nope, currently 61p to my name 🥲
Okay I will thank youuuuu :>>>
Hmm I wonder why they deleted their message
Just discovered GDScript
It’s so nice
It just feels like Python but way cleaner, more intuitive, and more responsive
Not emulation. Termux is essentially just a terminal interface for android which is linux
Ah someone already said that
Sorry for telling the same thing again lol
Once you're proficient enough in python to know all the basics you should look into for example pytorch which is a library for small scale machine learning, not technically AI but a good step in the right direction. If you're serious about getting into AI you'll need to read a lot of scientific papers because a lot of AI stuff is theoretical and extremely complex
Along with that stuff, LLM’s often require you to be proficient in thinking in very high dimensions
Which seems to severely stump a lot of people
Could you expand on the basic of python how do I know I have the basics down
I'm willing to do what it takes
I'd say if you can see a problem and comfortably feel like you can solve it with python Imo you've got the basics down
Rn I'm at
Subject=Fail
Print("")
Forty="40"
Print(f"{forty}% of oats")
Print(2*4)
Thumb=2
Finger=6
Print(thumb + finger)
!=
==
Print("job:"+"work")
@wet girder how far off do u think I am
@wet girder @next mantle you both have my thanks
uppercase and lower case matters
if your variable is named Thumb
you have to use Thumb
not thumb
and print is always print
no uppercase P
and you can't just set Subject=Fail
because Fail isn't a defined variable
Learn Python programming with this Python tutorial for beginners!
Tips:
- Here is the playlist of this series: https://goo.gl/eVauVX
- If you want to learn faster than I talk, I’d recommend 1.25x or 1.5x speed :)
- Check the outline in the comment section below if you want to skip around.
- Download the sample files here to follow along (th...
My apologies I have autocorrect and was typing fast
Thank you :>>>
Sometimes I question myself why did I even learn to code, since I can't seem to finish any projects
Then I remembered that I can make any dumb shit I want for myself
Look at this:
from math import factorial as f
print("".join(map(chr, (
(((f(0)+f(0)+f(0))*(f(0)+f(0)))**(f(0)+f(0)))*(f(0)+f(0)),
((f(0)+f(0)+f(0))**(f(0)+f(0))+f(0))**(f(0)+f(0))+f(0),
((f(0)+f(0)+f(0))**(f(0)+f(0)+f(0)))*(f(0)+f(0)+f(0)+f(0)),
((f(0)+f(0)+f(0))**(f(0)+f(0)+f(0)))*(f(0)+f(0)+f(0)+f(0)),
(((f(0)+f(0)+f(0))*(f(0)+f(0)))**(f(0)+f(0))+f(0))*(f(0)+f(0)+f(0)),
(f(0)+f(0))**(f(0)+f(0)+f(0)+f(0)+f(0)),
((f(0)+f(0)+f(0))**(f(0)+f(0)+f(0))+f(0)+f(0))*(f(0)+f(0)+f(0)),
(((f(0)+f(0)+f(0))*(f(0)+f(0)))**(f(0)+f(0))+f(0))*(f(0)+f(0)+f(0)),
(((f(0)+f(0)+f(0))*(f(0)+f(0)))**(f(0)+f(0))+f(0)+f(0))*(f(0)+f(0)+f(0)),
((f(0)+f(0)+f(0))**(f(0)+f(0)+f(0)))*(f(0)+f(0)+f(0)+f(0)),
((f(0)+f(0)+f(0))**(f(0)+f(0))+f(0))**(f(0)+f(0)),
(f(0)+f(0))**(f(0)+f(0)+f(0)+f(0)+f(0))+f(0)
))))
Shit, that floods the chat
Whatever
It’s interesting to look at, just the solid mass of (f(0)+’s
🔨 Banned itsreallykirin indefinitely
No idea why report command is borked
Haha
oh my god
HI GUYS it nearly 3am I tried to sleep but It didn't work
SO LEARNED more codes
Well I'll js update u on all I learned
VIA python
I learned
Value Types-bool-true or false, int-numbers, str-"", decimals-decimals(forgot the name)
Input()
Print()
f"hi {name}, what's your name"
Variables car=
Snake cases car_company=
!= check inequalities
== check equalities
= greater than or equal to
=< less than or equal to
/ division
- times(blurred out??)
- minus (blurred out??)
- plus
Certain code that check the value ur using I forgot what's it called
Int() converts strings and decimals to integers
Str() converts integers to strings
Bool() converts string to true or false I THINK
And when used on empty string values bool() changes them to 0 or 1 I think correct me if I'm wrong about bools they lil bit hard to retain at this time
Do you guys have any ideas how I can advance my skills by miles
U can also add strings to gether
Ofc mathematics with integers
Anddd u can use :
Print("jam:" + "peanut butter")
e
watch tutorials -w-
i keep telling you that
and experiment with the learned knowledge
is this true?
there's no booleans tho?
doing projects is the best way. If you don't know how to do something tho you should watch how to
@feral bramble to not clog up map-discussion too much i figured i'd post it here but heres a fucked up one-liner i wrote for powder toy to render the mandelbrot set:
tpt.all():each(function(p) ox,oy=200,150 sx,sy=100,100 real={-0.7,0.7} imag={0,1} max_iter=50 x0=real[1]+(((p.x-4-ox)/sx)*(real[2]-real[1])) y0=imag[1]+(((p.y-4-oy)/sy)*(imag[2]-imag[1])) x,y=0,0 x2,y2=0,0 iter=0 while (x2+y2 <= 4 and iter<max_iter) do y=2*x*y+y0;x=x2-y2+x0;x2=x*x;y2=y*y; iter=iter+1 end if iter==max_iter then p.type=0 end p.ctype=bit.bor(iter,0x10000000) end)
technically this image is from a later version of it but oh well
neat
lua doesnt have complex so i had to use the arithmetic version (i just copied it from wikipedia)
aight
which is fucked btw, even C has complex
oh yeah unrelated, anyone here have experience emulating microcontrollers? i want to try emulating a furby (on a bit of a mad scientist kick) and the original ones apparently use a SunPlus SPC81A (the instruction set is apparently a stripped down version of the 6502's)
unfortunately the datasheet has no info on which instructions it implements
it is
i think i can get away with emulating it in pure py because it only has 128 bytes of user ram
its weird cause they have blocks of unused memory and space just right there
like you could triple the user memory if you just extended it from 0x100 to 0x200
my only guess is that its some pin limitation, maybe for whatever bizarre reason they only have 7 pins to access the memory lol
not to mention the 16kb thats just sitting unused literally right between the two rom banks
What is this place
The coders cave. The place where the coders talk when there's something to talk about
Its... empty here......
Scroll up bro. There's a lot of stuff in this channel, just not every day because the topic in this channel is not braindead
Ik
I'm just not used to Channels like this
@scenic geyser are you available actually
Hi read the clan they tried making
Hmmmmm
@quaint badge okay well don't do that
whatya mean :3
What did they say
Stuff
anyone that performs c++ please?
What if they just want someone to perform c++, without need to ask anything?
In that case just ask for someone to perform C++. Still a case of "don't ask to ask, just ask".
True
Yippee
See when it breaks with the next patch it’s your problem not theirs
I joined this coders cave :3
I started learning coding
Whichever one you make it to be
how to start make a worldbox mod??
Learn how to code
i did
alr
$sudo heck crabzilla

Hi
Hi
@orchid frigate you are supposedly dead because of assembly, please do not react to my messages

Gonna program roller coaster tycoon 3 in assembly rq
The true Roller Coaster Tycoon 3 is in our hearts
❤️
c# is a pookie
not too hard
but not too useless for game design
like python
tho with py u can make mean virtual novels
Just do that with any coding language?
you dont have Renpy
for other programming languages
it is a bit hard
Hello
I want to know the best engine to make an evolution sim in
It would be tile-based and 2d
Well just do whatever it takes to make a virtual novel game in that coding language then?
javacript and json were my first coding languages
If you want simplicity of workflow jsut use godot & GDscript / C#
Pixilang?
Check it
One guy makes celluar life simulations using it
The best way would be to build it in as a shader because this allows you to run it very very fast
and you can use unity to render the shader or anything else
<h1>Hello World!</h1>
Isn’t that just SimEarth
interesting
Tbh every programmer know Hello World!
agreed except for people that use brainfuck (yes thats an actual proggraming language search it up) it usualy takes them until month 3 to learn it
according to wikipedia this is how you add 2 +7 using the language (also i added hashtags to make the comments stand out a bit more
> +++++ #Cell c1 = 5
[ #Start your loops with your cell pointer on the loop counter (c1 in our case)
< + #Add 1 to c0
> - #Subtract 1 from c1
] #End your loops with the cell pointer on the loop counter
#At this point our program has added 5 to 2 leaving 7 in c0 and 0 in c1
but we cannot output this value to the terminal since it is not ASCII encoded
#To display the ASCII character "7" we must add 48 to the value 7
We use a loop to compute 48 = 6 * 8
++++ ++++ #c1 = 8 and this will be our loop counter again
[
< +++ +++ #Add 6 to c0
> - #Subtract 1 from c1
]
< . #Print out c0 which has the value 55 which translates to "7"!```
apparently this is how you write hello world:
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
thats crazy
that's just one way
Don't have to do loops
i was getting this off wikipedia, but maybe i'll give it a shot at trying to figure it out
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++.>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>+++++++++++++++++++++++++++++++++.
this also outputs
Hello World!
I forgot brainfuck is Turing complete right?
Iirc you require the loop symbols though
it is
Hello
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
here's code if anyone want to look
👍
that's the reason why I swore off using the language for anything except for trolling my profs, higher-ups and friends
...I could have used that for so many fucking occasions it's not even funny
Error
why is it that this channel in particular has so many people pop in, say something "relevant" and then leave?
relevant as in "ooh, I heard that a certain term was used in programming once! Let me share my knowledge!"
I haven't got a grudge against any particular instance but it's a little sad to check what's been said here overnight and it's a rankless guy saying "hello world" and leaving it at that
wait nvm I don't help the cause much by saying this lol, let me find a project to discuss
I mean, it's kinda strong phrasing to just entirely blame the person who said the message like that. They might've been expecting their statement to start an actual conversation, but no one replied since a channel with this level of activity requires an immediate strong topical hook to start any kind of relevant discussion.
not blaming anyone in particular, just pointing out how it's a little disappointing opening the channel to one message along those lines
"the person" was generalised as in "whatever person is saying the kind of message you mean".
While I went on a bit of a hiatus with this project (partly laziness, partly circumstance), I've updated it to settle a little differently. Ideally it would settle completely flat, but I cannot seem to achieve both quick settling of large quantities and a lack of flickering in the liquid. I've decided to prioritize the latter.
bruh
sent that message so long ago and it finally pops up, didn't mean to be disrespectful
I'm not sure exactly what you mean, maybe I'm being a little dense but idk
Idk. Tbh, it's 1AM for me rn, and I should be sleeping, especially because I'll need to wake up fairly early in a few hours. xD
yeah, I'm recovering from an ear infection and I'm not exactly thinking well either haha
I was thinking of asking if I should delete and resend the message with the media attachment to put it in an easier spot for direct reply, but it's already right there. Not exactly seeing stuff clearly right now!
how do i run a high graphic interface with being ddossed
Okay but chef is also a bad language
No it’s a secret
Awwww
@sullen steeple fatass
ok dont even get me started with chef
like how the hell are we supposed to make a simple sentance, let alone ANY type of coding,!?!?!?!!
I respect the beef
"brother may I have the oats?" Looking ahh image
that's the point of an esolang? doing stuff in weird ways no matter how hard it makes it to code
https://esolangpark.vercel.app/ide/chef
ohhh i get how it works now
this is pain
stinky out here
For a second i thought it said coders cafe
does anyone know how to write lua?
What does <a href do?
that's incomplete html
https://www.w3schools.com/tags/att_href.asp
w3schools is so good, I particularly love how it doesn't really matter if you have it saved or not, you just jump in where relevant
Links, webs linking etc
completely irrelevant to the channel, garner support only in general and memes
javascript
It’s to add a hyperlink to your website you add the link by doing <a href=“Insert link”>(What ever you say here will become the hyperlink text)</a>
Can y'all help me
It’s very relevant I promise
print ("hello, world")
I’m cooked for my dual class their gonna make us take Java and adv Java as separate courses at the same time, how do I manage this since I don’t know any Java
Tutorial on how to make a background remover in Python
Step 1: import background remover
Are they going to teach you Java? It sounds like it to me
Yes however their courses are made by people who have no idea on how to program, the professors also give a hard time last semester they called a classmates code “witchcraft” in a mean way like they were cheating
We barely passed last year on the very last day as the professor also takes weeks to grade
Not exaggerating
Well, my advice for managing it is to do research on what you need outside of class. Is this in a high school context?
ap collegeboard seeing this: "omg I should take inspiration"
Yes, ty for the advice
Come up with a project ya want to do with code
Go about learning all the thing necessary to do it
tho would recommend starting with simple stuff and then getting more ambitious so get used to coding
Can just look up tutorial or how to for the coding language to learn it
Or you can go, ai give me the code or steal other people's work to make your code work better
Only the latter is a good idea. AI code is soo much harder to bugfix and if blindly implemented teaches you nothing. On the other hand, other people's code works right off the bat and as long as it's in the public domain it's free to use
Ai code is good for quickly getting simple framework of stuff done / an idea
but still have to know how to code to fix any mistakes the made
ai code is very very
bare bones
unless your like extremely good at english
and can be very precise
what ai is very good for though is helping you solve problems with your code @tacit pier
asking it questions if your unsure if things will work or for helping debug code
great tool
<cheese>
AI on its way to show me the most convoluted jank solution in existence using a random obscure library that hasn’t been updated since 2011:
Idk what to do with code. Could you give me some topics, please?
simple games like minesweeper
tic tac toe
hangman
Guys what can I really do with pygame
Since the tech demo, I have mostly been tweaking here and there. The majority of new features are pretty difficult to show in a video, as they are not directly gameplay related. I am planning to release the level editor, when I have a save/load function, and let people send me their levels, so I can showcase them in future videos.
The engine is...
my code not working as expected i believe it has to do with these lines if (d1.hasAsc) {
System.out.print("How many assesories? ");
scan.nextInt();
d1.asc = new String[d1.ascA];
for (int i = 0; i < d1.ascA; i++) {
System.out.print("What is assesory number " + i + " ? ");
d1.asc[i] = scan.nextLine();
} because thats where it stops working, but i have not figured yet
when i enter a number of assesories it just does not run the for loop
It seems to me like you're calling scan.nextInt(); without storing the value that's scanned anywhere.
Ja🤮va
Yea I already figured it out ty anyways though
You're welcome!
why do i get clan invites everyday 
fix pls
oh shit there's a fix already for it
I mean, those invites can only be sent out by humans.
You could stop it by disabling DMs or blocking AMP.
im smort bruh 
Or I could block you from the clans system if it's not something you care for.
block pls
Next level screenshotting.
ShareX
I don't plan on doing that. xD
kewl
You should be safe from any invites now! 
thanks 
You're welcome!
i fixed this in sb by debuffing people who try to do stuff on me
you should consider
very effective
Calm down...
I'm sure a conversion to C# at some point is inevitable...
Cloud once tried to stop people from pinging him directly about AMP bugs by making AMP send a GIF and time them out for it.
i think more modern languages wouldve been better
Zig is soooo hot
Zig is the language I tell C# to not worry about
He ended up having to remove that logic again because it caused people to find him even more to see the effect.
They just gotta fix their package management

Did they exist when you started work on the project...?
plan failed successfully
they did but i was mega noob skill issued programmer
The plan didn't account for the #🌎general hivemind properly. 
if i at least went for Go
i only touch general once a month to be reminded why i dont go there
#⌨coders-cave supremacy
100% understandable, I almost only enter that channel when I'm actively pinged by someone else. xD

@prisma grail SB1 bot is going off sometime soon maybe so you will be able to use _ at the start again 

Will the bot account remain on the server?
hmmm im thinking of using the same account
(Asking since its currently used for an authentication system in NML.)
wait what

I'm 99% sure Jupe asked you about that an eternity ago.
i dont remember what i ate yesterday
how does the authentication system work?
is there like a command from the bot or...?
It uses the SB bot account to check the roles of a user based on their ID when they try to upload a mod to the Steam Workshop using NML.
To see if the user has the modder role on this server.
oh okay so it just needs the bot account in the server
I'm asking whether the bot account is going or you're regenerating the token because if yes, I'll need to switch it over to leeching off of AMP instead.
i regenerated the token a very long time ago
👀
I mean, auth still works, so that must've been before we added the auth. 
actually i think nikon did and tthen he gave it to me so he might've changed it for the auth
but i think it would be a safer bet to leech of AMP
for the future
because one ttime i bugged SB and it got locked and we had to regenerate the token
because it kept crashing on start and restarting and logging in to the discord API
All I know is that I got the token from Jupe back when I didn't have access to the AMP token.
i mean im going to reuse the same bot account since nikon gave me ownership
but just for safety i would recommend using AMP or something specific for it
So it's a core component of NML running on AMPs VPS using SBs token.
Is that what they mean when talking about distributed systems? 
this is not very distributed but sure
Definitely makes sense since I nowadays actually have access to AMP.
do you use databases in AMP?
I wasn't being very serious, meant it more as a joke because of the ridiculous combo of factors. xD

Some parts use that one SQL DB I forgot the name of that's a local file DB.
Some parts use Firebase.
Some parts use local JSON files.
sqlite
It's basically a random mess vaguely reflecting the mood swings of me+cloud+Jupe while coding over the last few years. 
Yeah, that. xD
that's how all code is
The amount of code in SB2 that I replaced in the last two weeks is like 20%
||


