#⌨coders-cave

1 messages · Page 36 of 1

jolly field
#

@prisma grail

barren shale
#

i own this channel

#

what is youtrack?

next mantle
#

Have any of y’all built an assembler before?

prisma grail
#

Fair, sounds like it's probably gonna be quite the challenge then. Good luck!

prisma grail
barren shale
barren shale
prisma grail
# barren shale Why not GitHub?

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.

barren shale
#

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

barren shale
#

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

prisma grail
barren shale
#

Is this for your job?

prisma grail
#

Could see what you mean if anyone could create stuff at will.

prisma grail
barren shale
#

Ez solution

#

Create a website

#

People login and add issues

prisma grail
barren shale
#

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

barren shale
prisma grail
barren shale
#

I don’t even track issues

#

I just have a todo list 😎

prisma grail
prisma grail
#

(The previous system was "no system". GremlinRoseWheeze )

barren shale
#

My previous system was a text file

prisma grail
barren shale
#

Yes I noticed

prisma grail
prisma grail
barren shale
#

Issues are like comments

#

Unnecessary if you name your pull requests correctly

prisma grail
barren shale
#

I just don’t care xzibit

prisma grail
#

Probably lose like at least 3 hours of sleep per week to my brain doing that. xD

barren shale
#

Losing sleep over coding related stuff?

#

Can’t be me ||sadcat ||

prisma grail
lapis flint
#

Working on job project changes things, i have good sleep schedule now

prisma grail
lapis flint
#

I guess its because of employers, they disallowed me to work on weekends

prisma grail
lapis flint
#

Employer understand that, so makes me rest, but for himself he don't follow that

prisma grail
lapis flint
#

I need to fix it asap

#

Instead of sleep i do walk

#

It helps

#

Only after fix annoying bug i can sleep well

prisma grail
#

I know that feeling far too well. xD

knotty root
#

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

lapis flint
knotty root
#

New to me

barren shale
#

You don’t have to design stuff and worry about how things will be in the future

prisma grail
barren shale
#

Yeah

#

Join company
Write shit code
Leave company
Repeat

prisma grail
lapis flint
feral bramble
lapis flint
proven tinsel
wispy vale
lapis flint
#

So i don't rememeber, it was me who was lazy to fix related bugs (or other reason), or it is Key's decision

wispy vale
#

oh

wispy vale
#

maybe because of the feature being released in update

lapis flint
#

Ah

#

Yes then

#

Batch features remove

#

No trait rain -> no remove rain

#

I guess that was my logic

lapis flint
#

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

feral bramble
blazing current
knotty root
#

shitty school thing

blazing current
#

actually i cant be talking

#

mine is worse

blazing current
#

they tryna force me to use Clion for Advanced Programming

quartz pumice
quartz pumice
#

If i had to teach someone programming I would start them from assembly

#

im not even joking

feral bramble
#

seems like heck of a steep learning curve but ok

quartz pumice
#

assembly is simple lol

#

and it will allow you to know how things actually work instead of just "magick"

feral bramble
#

so already familiar with terminologies en stuff

quartz pumice
#

yes

#

but uh

#

😭

feral bramble
#

Always keep in mind the prior knowledge you have when teaching someone who doesn't have amy knowledge

#

down to the wording

quartz pumice
#

yeah but assembly theres like not alot of concepts

feral bramble
#

Ok give an example of how you'd walk someone through assembly

blazing current
quartz pumice
#

idk

#

I cant walk someone through walking

blazing current
#

calling assembly "easy and simple" for begginers feels like a pick me line

#

like trying to make urself sound smarter for no reason

quartz pumice
#

huh

#

bro I think your right and i dont want it to be like that

blazing current
#

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

quartz pumice
#

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

blazing current
#

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

quartz pumice
#

wait registers are incredibly simple

next mantle
#

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

lapis flint
blazing current
#

python makes it a little too magic without having to declare what type is what

feral bramble
#

Java :P

blazing current
#

java isnt thaaaat bad

#

i have a soft spot

#

for it

feral bramble
tulip quest
#

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.

blazing current
#

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

barren shale
#

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

feral bramble
#

nice

clever fable
#

Me when Lua Learning

barren shale
quartz pumice
#

The command

barren shale
#

What’s that

quartz pumice
#

ssh copy

#

Let's you send files over ssh

barren shale
#

Nah I just curl stuff

quartz pumice
#

Lol

barren shale
#

Used to it more x)

quartz pumice
#

Ya curl is cewl

barren shale
#

Also don’t know about speeds with ssh

#

Are they better?

quartz pumice
#

Not inconvenient slow but definitely slower than http

wet girder
# quartz pumice SCP?

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

barren shale
#

Yeah I move gigs of files

wet girder
#

got full marks on that thing besides that one tho by just explaining the next steps I would've done

quartz pumice
#

W teacher

blazing current
#

usually i just use the test tooling that comes with most stacks

quartz pumice
#

imagine syncing with git

viral snow
flat valley
#

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.

next mantle
#

@flat valley so did it succeed?

#

As in have you decoded the message?

flat valley
next mantle
#

Which one specifically is it?

flat valley
#

It shows in the file

#

ꍟꆰꃅꆰꁴ ꌃꀎꆰꂦꆰꍟ
ꍏꁴꆰ ꀤꍏꀸꊼꉣ
ꆰꎇꆰꀸꁴꂵꊼꊼꀘ ꈤꀸꍏꅏꆰꁴ
ꀎꎇ ꂦꂵꁴ ꍏꁴꊼꀘ ꈤꆰ ꓄ꆰꂵꊼꆰꉣ ꈤꀘ ꀸꆰꈤꀎꀸꎇ꓄

next mantle
#

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

flat valley
#

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

flat valley
#

Good luck

#

You could maybe join the rpg if you get it too we need more smart people

next mantle
#

@flat valley done!

#

Did it in five minutes

flat valley
#

No shot

next mantle
#

DM’s

flat valley
#

Also it’s more like 7 but ok

next mantle
#

It’s 5

#

Wait

#

Nvm I can’t count

#

Ye 7

#

Sub-ten anyhow

wicked spindle
next mantle
#

I’ll share all of them one I’ve cracked everything

#

I’ve only done the one above

flat valley
#

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

tulip quest
#

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

tulip quest
#

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

flat valley
#

Arguably the hardest game of all time lol I didnt even get close to beating it

tulip quest
#

I've got 40 hours each in both 1 and 2, and a bunch in classic

tulip quest
#

(I died, had no shotgun)

flat valley
#

I genuinely cant think of a more brutal and challenging game than spelunky but thats the fun of it

tulip quest
#

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

flat valley
#

literally

tulip quest
#

the only bad way to die is to be hit at one health in a lame way

flat valley
#

(which ive had happen to me a lot still)

tulip quest
#

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

tulip quest
#

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

still bramble
#

Please only English

#

99 little bugs jumping on the code
One fell down and got patched out
112 little bugs jumping on the code

prisma grail
wet girder
#

It's a bit of ISO8601 time format propaganda but still

barren shale
#

😂

#

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

barren shale
#

its minutes:seconds:hours

feral bramble
#

The display broke

#

the numbers not fully rendering lmao

#

I can tell the format

#

just not the damn time

wet girder
#

How tf lmao

feral bramble
#

totally working clock fr

wet girder
barren shale
feral bramble
wet girder
barren shale
#

because vercel is fucking expensive

wet girder
barren shale
#

but its easier to work with vercel

feral bramble
#

i turned on the dark theme in chrome flag :P

#

unfortunately the toggle is always on by default

#

inorder to have the checkbox there

wet girder
barren shale
#

also i can stay on the free tier xzibit

#

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

wet girder
#

Damn

barren shale
#

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 xzibit

barren shale
# wet girder Damn

yeah they use very fast CDNs so you are not supposed to use them to deliver things like images and videos

barren shale
#

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

wet girder
#

Damn

barren shale
#

cloudflare R2 buckets are way cheaper

#

they have two types of buckets and one of them has free bandwidth

wet girder
#

Yeah but AWS is made for enterprise stuff and it works super well for it

barren shale
#

all of these buckets are S3 compatiable but people dont like to change

#

enterprises love legacy shit xzibit

wet girder
#

True lol

barren shale
#

i have my own S3 compatiable bucket on a little home server that i back up databases to

#

very easy to use

wet girder
#

The thing about AWS is, it makes scaling super easy which is why it's usually recommended for massive software

barren shale
#

that's not really an AWS specific thing

#

anymore

wet girder
#

Fair

barren shale
#

cloudflare can do it and azure can do it

#

auto scaling is like a necessity at this point

wet girder
#

Azure is a bit janky compared to AWS but it does do the job true

barren shale
#

yeah ive heard

#

AWS only advantage at this point is that they are early to the game

wet girder
#

I've used both at work, not at very deep level but surface level stuff and have much preferred AWS

barren shale
#

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

wet girder
#

I should check more cloudflare stuff. I just use their free DNS thing and email forwarding

barren shale
#

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 😔

wet girder
#

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

barren shale
#

i've setup wireguard so many times that i'm basically a pro at it now xzibit

#

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 xzibit

#

i guess not so pro after all

wet girder
#

Tbf that isn't exactly an easy thing to do afaik

barren shale
#

yeah

#

ip routing is so complicated

next lotus
#

man

quartz pumice
opaque ingot
#

How doi code lua in microwave

blazing current
#

is cloudflare the method?

barren shale
#

Yeah

barren shale
#

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

clear schooner
feral bramble
#

lol

clear schooner
#

what language do y'all prefer?

#

im a python guy

feral bramble
next mantle
#

I like Python but I feel like if I learn some others they will supersede it

opaque ingot
amber bobcat
#

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!

barren shale
#

chat gpt ahh poem

next mantle
#

But ain’t no way bro wrote this himself

barren shale
next mantle
#

Mhm

#

AI in its current form is ironically too new for the ai’s that check for AI to become accurate

barren shale
#

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

next mantle
barren shale
#

but it seems to have so many false positives

next mantle
#

Mhm

#

It looks for common AI mannerisms

#

However humans sometimes use the same mannerisms

barren shale
#

AI is mimicing humans

#

so yeah ai detection is not going to work on the long run

amber bobcat
knotty root
#

guys does scratch count as coding

static solar
#

Scratch is coding

rotund tundra
#

Hardest one also

trim heart
#

killing myself i tried making a fs from scratch when

<v86object>.save_state() exists

#

wtf theres a restore_state function ??/

#

hell yeah

high ibex
#

devs

royal dust
#

2b || !2b

edgy flare
next mantle
#

@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

hoary hound
next mantle
#

Mhm

wet girder
#

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

barren shale
#

modualrization is the way in these big apps

lapis flint
#

Even not sure what are you talkingh about

#

Wdym by modularization?

next mantle
next mantle
wet girder
next mantle
#

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

lapis flint
wet girder
remote anvil
#

godot is cool\

barren shale
wet girder
#

microservices are tough tho. They need to be extremely well planned before implementation starts to ensure it's not gonna be a distributed monolith

lapis flint
vast kestrel
#

@wet girder what coding language do you recommend for starters

vast kestrel
lapis flint
next mantle
wet girder
tulip quest
#

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"

barren shale
#

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

barren shale
#

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

next mantle
#

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

barren shale
vast kestrel
#

ill try c#

#

ill move onto html later

lapis flint
tulip quest
# jolly field

factually incorrect, it's Rust for the picture on the far right, not C++

barren shale
vast kestrel
ruby crane
#

Probably the padded psych ward room

#

:P

feral bramble
#

wuh

vagrant aurora
main stag
next mantle
#

@hoary hound can you explain to me how bro just sourced the (closed source) kernel of an IOS system

hoary hound
next mantle
#

Same

#

At least the file extension is correct

next mantle
#

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

balmy vector
#

Can someone teach me how to code from mobile

quartz pumice
balmy vector
next shell
merry hull
next mantle
tulip quest
#

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

merry hull
#

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

opaque ingot
merry hull
#

hi guys

#

i need help at using HBITMAP

#

so guys

#

i will make a cheat

#

soon

#

for blackjack

#

i will need help

merry hull
#
#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;
}



shadow crater
#

Hi

feral bramble
balmy vector
#

And coding

balmy vector
feral bramble
feral bramble
#

cause the libraries

balmy vector
#

Where would I get started w learning someone's suggested an app I js wanna have back ups

balmy vector
#

Okay thank you 😄

quartz pumice
#

replit is also good

#

but recently theyve been becoming worse

balmy vector
balmy vector
quartz pumice
#

I would rather use termux than replit though cuz I can use it offline and get more than 5 gigabytes of storage lol

feral bramble
feral bramble
#

heck yeah

feral bramble
#

windows on phone :>

quartz pumice
opaque ingot
balmy vector
#

No I do not have laptop or PC

opaque ingot
balmy vector
#

I plan to invest in a PC in the future and create a robotics company:>>>>>>>>

opaque ingot
balmy vector
#

Welp luckly u don't have to worry abt me giving up :>

balmy vector
#

@feral bramble

feral bramble
#

that's not how you set a variable or print for that matter

#

Go look at a rust tutorial...

balmy vector
#

Okay, I've been practicing for python

#

@feral bramble if it was python would it still be right

feral bramble
#

why the heck were u trying to run it in rust then???

balmy vector
balmy vector
feral bramble
#

just use pyrdoid or termux to run ur python ig

balmy vector
#

Oh yeahh

#

2 more questions:>

#

How do I run this, I press play n it opens tab

#

How do I run this

feral bramble
#

so have to create a python file

#

type stuff in

#

save

#

then

#

to run jt

balmy vector
#

Hmmmm very very hmmmm

feral bramble
feral bramble
feral bramble
feral bramble
balmy vector
#

I'll js use pyroid, because termux sounds like space language

feral bramble
balmy vector
#

Is that like smth we have to search up 🥲 Linux sounds like a mythical animal

feral bramble
#

termux is essentially u have a computer as app

feral bramble
#

Windows is an OS

balmy vector
#

Ohhh I am android:>

feral bramble
#

you essentially running a linux computer on ur phone through the termux app

balmy vector
#

Dosnt that mean ud have to have computer

feral bramble
#

that's called emulation

balmy vector
#

Ohhhhhh

feral bramble
#

or read through w3 schools or some other website that educated about python

balmy vector
#

Python is quite easy to learn

#

I useee

#

Mimo

feral bramble
balmy vector
#

@feral bramble THANK YOUUUUUUU :>>>>>>>>

#

Ima be better than Elon musk one day trust :>

balmy vector
#

What do u plan to do

balmy vector
feral bramble
balmy vector
#

Whatever pays the bills I get that

quartz pumice
feral bramble
balmy vector
#

@quartz pumice @quartz pumice what's a package manager

quartz pumice
#

Installs applications for you

balmy vector
balmy vector
quartz pumice
#

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

balmy vector
#

How do u guys know all this what do u work as nasa engineers 🥲

quartz pumice
#

Idk

feral bramble
feral bramble
balmy vector
feral bramble
balmy vector
#

Now sign me up fir working on world box 🥱

#

Icl

#

IM JOKING IM JOKJNG ILL DIE

balmy vector
#

Hehehehe

#

(Don't hurt me)

feral bramble
balmy vector
feral bramble
balmy vector
#

What in the world does that mean I did geography 🥲

quartz pumice
#

a bunch of coding problems from easy->difficult if you want to use them to learn or something

balmy vector
#

@quartz pumice hey I'm on day 1 I looked throughout it

#

I chose 27636 67663

#
  1. 3
  2. 6
  3. 6
  4. 6
  5. 7
#
  1. 3= 1
  2. 6= 3
  3. 6= 0
  4. 6= 0
  5. 7= 0
#

1+3+0+0+0

#

=4

#

So would 4 be my answer @quartz pumice

quartz pumice
#

also 4 is too small

#

read it carefully

#

idk why they made it so confusing to read

balmy vector
#

Smart

quartz pumice
balmy vector
quartz pumice
#

smart

quartz pumice
#

instead of your phone lol

balmy vector
balmy vector
balmy vector
quartz pumice
#

nice

balmy vector
#

Ikr 😎

#

I'm js so cool king

quartz pumice
#

fr

balmy vector
#

Fr

quartz pumice
balmy vector
#

print("when do I learn how run an AI")

quartz pumice
#

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 💀

balmy vector
#

0_0

quartz pumice
#

but if you run out of chatgpt prompts you can download ollama and use it indefinitely

#

lol

balmy vector
quartz pumice
#

I have 2 😭

balmy vector
quartz pumice
#

ya it keeps warning me but nah

#

I dont even know whats using all the storage

balmy vector
#

RUGHHT it js increases daily

quartz pumice
#

every update it goes up by a gigabyte lmao

balmy vector
#

I need to save up for a new phone new PC new laptop new laptop new 3d printer audrino starter kit

balmy vector
#

I don't update I got lots of unused but important apps 🥲

#

Why did it send twice

quartz pumice
#

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

quartz pumice
#

why is every app like 200 megabytes

balmy vector
#

Right and all they are holding is the bare minimum internalscreaming

quartz pumice
#

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

balmy vector
#

Some of my apps I downloaded and forgot to go on and they still be having such high mg aliens

#

ALSO

#

Yeppie

#

Started yesterday

#

Or the day before

quartz pumice
balmy vector
#

Mimo app it's like the dulingo of coding

balmy vector
#

Nope, currently 61p to my name 🥲

balmy vector
#

Okay I will thank youuuuu :>>>

balmy vector
#

Hmm I wonder why they deleted their message

next mantle
#

Just discovered GDScript

#

It’s so nice

#

It just feels like Python but way cleaner, more intuitive, and more responsive

wet girder
#

Ah someone already said that

#

Sorry for telling the same thing again lol

wet girder
# balmy vector print("when do I learn how run an AI")

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

next mantle
#

Which seems to severely stump a lot of people

balmy vector
balmy vector
wet girder
#

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

balmy vector
#

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

feral bramble
#

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:

  1. Here is the playlist of this series: https://goo.gl/eVauVX
  2. If you want to learn faster than I talk, I’d recommend 1.25x or 1.5x speed :)
  3. Check the outline in the comment section below if you want to skip around.
  4. Download the sample files here to follow along (th...
▶ Play video
balmy vector
distant wraith
#

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

next mantle
#

It’s interesting to look at, just the solid mass of (f(0)+’s

half warrenBOT
#

🔨 Banned itsreallykirin indefinitely

next mantle
#

No idea why report command is borked

spark pollen
balmy vector
#

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")

raw zealot
#

e

feral bramble
feral bramble
#

i keep telling you that

#

and experiment with the learned knowledge

sullen steeple
#

is this true?

balmy vector
#

Thank you

feral bramble
wet girder
nova vapor
#

@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

nova vapor
#

lua doesnt have complex so i had to use the arithmetic version (i just copied it from wikipedia)

feral bramble
#

aight

nova vapor
#

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

feral bramble
#

Well that's... extremely niche

#

gl in researching

nova vapor
#

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

feral bramble
#

who knows why it be that way

#

¯_(ツ)_/¯

nova vapor
#

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

uncut frigate
#

What is this place

wet girder
wet girder
#

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

uncut frigate
feral bramble
knotty root
#

@scenic geyser are you available actually

half hedge
#

Bi

#

Oh 💔

knotty root
half hedge
#

@quaint badge okay well don't do that

quaint badge
half hedge
#

Could you stop

knotty root
half hedge
merry hull
#

anyone that performs c++ please?

lapis flint
tulip quest
barren shale
radiant zealot
next mantle
# barren shale

See when it breaks with the next patch it’s your problem not theirs

onyx plinth
#

I joined this coders cave :3

next mantle
#

Welcome to Paridise

#

Or hell

onyx plinth
#

I started learning coding

next mantle
#

Whichever one you make it to be

valid ore
#

how to start make a worldbox mod??

opaque ingot
valid ore
opaque ingot
#

Fuk

#

Imeant

#

C#

valid ore
#

alr

valid thicket
#

$sudo heck crabzilla

lapis flint
native pasture
#

Hi

lapis flint
#

Hi

barren shale
#

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

pure cradle
next mantle
#

Gonna program roller coaster tycoon 3 in assembly rq

static solar
#

❤️

slender pond
#

not too hard

#

but not too useless for game design

#

like python

#

tho with py u can make mean virtual novels

feral bramble
slender pond
#

for other programming languages

valid ore
knotty root
#

Hello

#

I want to know the best engine to make an evolution sim in

#

It would be tile-based and 2d

feral bramble
slender pond
next mantle
lapis flint
#

Check it

#

One guy makes celluar life simulations using it

barren shale
#

and you can use unity to render the shader or anything else

rancid shore
#

<h1>Hello World!</h1>

wicked spindle
ancient thistle
#

interesting

alpine cape
rancid shore
#

Tbh every programmer know Hello World!

opal sun
covert sluice
# opal sun agreed except for people that use brainfuck (yes thats an actual proggraming lan...

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

feral bramble
covert sluice
#

i was getting this off wikipedia, but maybe i'll give it a shot at trying to figure it out

feral bramble
# covert sluice i was getting this off wikipedia, but maybe i'll give it a shot at trying to fig...

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++.>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>+++++++++++++++++++++++++++++++++.

#

this also outputs
Hello World!

next mantle
#

I forgot brainfuck is Turing complete right?

#

Iirc you require the loop symbols though

feral bramble
proven scarab
#

Hello

barren shale
#

i made a brainfuck compiler

#

like years ago

barren shale
#

here's code if anyone want to look

feral bramble
#

👍

opal sun
opal sun
median turret
#

Error

tulip quest
#

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

prisma grail
tulip quest
prisma grail
tulip quest
#

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

tulip quest
prisma grail
tulip quest
#

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!

rigid wren
#

how do i run a high graphic interface with being ddossed

still bramble
azure cipher
#

Tell me how

barren shale
#

No it’s a secret

azure cipher
#

Awwww

knotty root
#

@sullen steeple fatass

opal sun
#

like how the hell are we supposed to make a simple sentance, let alone ANY type of coding,!?!?!?!!

tulip quest
opal sun
feral bramble
#

this is pain

static isle
#

stinky out here

west whale
#

For a second i thought it said coders cafe

exotic bronze
#

does anyone know how to write lua?

rancid shore
#

What does <a href do?

feral bramble
tulip quest
#

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

cosmic leaf
ornate pine
#

Vote purple

tulip quest
deep peak
#

javascript

royal river
# rancid shore What does <a href do?

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>

snow rampart
#

Can y'all help me

barren copper
#

print ("hello, world")

halcyon stratus
#

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

gleaming pike
#

Tutorial on how to make a background remover in Python

Step 1: import background remover

tulip quest
halcyon stratus
#

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

tulip quest
#

Well, my advice for managing it is to do research on what you need outside of class. Is this in a high school context?

quartz pumice
#

ap collegeboard seeing this: "omg I should take inspiration"

amber gorge
#

How to be a programmer

feral bramble
#

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

tacit pier
tulip quest
feral bramble
sand grail
#

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

summer socket
#

<cheese>

next mantle
amber gorge
feral bramble
foggy wren
#

Guys what can I really do with pygame

feral bramble
# foggy wren 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...

▶ Play video
halcyon stratus
#

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

prisma grail
barren shale
#

Ja🤮va

halcyon stratus
prisma grail
#

You're welcome!

barren shale
#

fix pls

#

oh shit there's a fix already for it

prisma grail
barren shale
prisma grail
#

You could stop it by disabling DMs or blocking AMP.

barren shale
#

im smort bruh Golden_Brain

prisma grail
#

Or I could block you from the clans system if it's not something you care for.

barren shale
#

block pls

prisma grail
barren shale
prisma grail
#

From clans?

barren shale
#

yes

#

you can block me from your discord too if you want to

prisma grail
barren shale
#

kewl

prisma grail
barren shale
#

thanks wbpray

prisma grail
#

You're welcome!

barren shale
#

i fixed this in sb by debuffing people who try to do stuff on me

#

you should consider

#

very effective

prisma grail
barren shale
#

Java to C# is pretty ez

#

I regret using C# for sb tbh

prisma grail
barren shale
#

i think more modern languages wouldve been better

#

Zig is soooo hot

#

Zig is the language I tell C# to not worry about

prisma grail
barren shale
#

They just gotta fix their package management

prisma grail
barren shale
#

plan failed successfully

barren shale
prisma grail
barren shale
#

if i at least went for Go

barren shale
prisma grail
prisma grail
barren shale
#

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

prisma grail
#

Will the bot account remain on the server?

barren shale
#

hmmm im thinking of using the same account

prisma grail
#

(Asking since its currently used for an authentication system in NML.)

prisma grail
#

Don't you know...?

barren shale
#

what do you mean

#

no i dont

prisma grail
barren shale
#

i dont remember what i ate yesterday

#

how does the authentication system work?

#

is there like a command from the bot or...?

prisma grail
#

To see if the user has the modder role on this server.

barren shale
#

oh okay so it just needs the bot account in the server

prisma grail
#

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.

barren shale
#

👀

prisma grail
barren shale
#

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

prisma grail
barren shale
#

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

prisma grail
#

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? wbtroll

barren shale
prisma grail
barren shale
#

do you use databases in AMP?

prisma grail
barren shale
prisma grail
#

Some parts use Firebase.

#

Some parts use local JSON files.

barren shale
#

Well then AMP is a distributed system

#

ez

prisma grail
#

It's basically a random mess vaguely reflecting the mood swings of me+cloud+Jupe while coding over the last few years. wbtroll

prisma grail
barren shale
#

The amount of code in SB2 that I replaced in the last two weeks is like 20%