#⌨coders-cave

1 messages · Page 5 of 1

barren shale
#

you can also write C code in a .cpp file

wet girder
#

you can?

#

That'd weird lol

orchid frigate
#

Noone cares if you go off topic in this chat

#

Other than the mods that never visit it

#

If anyone has problems with it tell them to speak to me

#

Gcc can compile c and c++

#

I have never used g++

#

Because c++ is literally just c with extra steps

orchid frigate
#

You can test that by trying to make a variable structure

#

In c you gotta define it as a variable

#

But in c++ im pretty sure you get an error

#

Actually I tested that very long ago ao idk

#

Wdym coding software

#

This can mean anything

#

Compilers IDEs text editors

barren shale
#

i said C in cpp

#

not cpp in C

#

that's what we did in uni

#

we used Cpp files but only wrote C

orchid frigate
#

Yes

#

Me too

#

Structures in c are a bit different than those in c++

#

I have started doing cpps oop but

#

I gotta say rust in just better

#

I think its the true one and only cpp successor

next lotus
#

discrimination

#

but if we talk about lua or java its obviously going offtopic since theyre so bad you cant categorize them as programming language

amber monolith
#

i dont know but the way i did it in one of my projects was just random circles and squares on a board and then the edges of those circles and squares where scrambled

#

very ghetto but it worked

barren shale
#

noise

#

and then smooth

#

probably

#

that's for the normal world

#

other type ofworlds

#

will have different algorithm which dont look that much complicated

knotty root
# amber monolith very ghetto but it worked

bruh whats ghetto? yall inventimg some new words and evolving it like changing gonna to finna like this: 'ion finna eat those nuts cuh im alergic to em' like bruh it doesnt even sound right, especially the ion short for I don't which already exists in science stuff

amber monolith
#

it’s like a slum

keen hollow
#

Slum

next lotus
#

this is very ontopic

vagrant lodge
#

we need bred update

#

:)

mental lynx
#

Frr

young solar
#

I love compiling errors in Visual Studio C++

#

They're my favorite!!!

amber monolith
next lotus
#

not enough experience :)))

fleet sparrowBOT
#

dynoSuccess g0ld#5743 was banned | underage

wet girder
#

wrong bot

#

shit

next lotus
#

#🤖bot-commands smh

orchid frigate
#

Using vs is kinda complicated because you don't have direct access to the flags

tranquil magnet
tranquil magnet
#

456 problems done

rose condor
#

A

knotty root
#

are the names of the human civs and towns slavic?

barren shale
barren shale
#

genetic

#

i can teach you all of those

#

at the price of 25$ an hour

#

:O

next lotus
#

thank me later

orchid frigate
#

Get and set: No idea they seem like they dont have a purpose to me
Constructors: functions that gets called when you make a new instance of a class
Generics: read like 20 lines of docs about them they are kinda complicated

barren shale
#

when you do new Foo()

#

you're making a new instance of the class Foo

#

its an object that uses Foo as a template

#

and you can save it inside a variable

#

Foo instance = new Foo();

#

of what

#

this is a code example of this

#

its not like its gonna be any different in other situations

#

works with any class

#

Foo is an imaginary class used for examples

barren shale
#

yeah but there's no this.name

#

you need a property/field called name

knotty root
#

why gay that's gay

next lotus
#

wtf

#

what are you doing

#

you're butchering the language jesus

orchid frigate
#

Mf doesn't know that tabs exist

#

One of the key things in programming is tabs

#

Without tabs

#

Gtfo of this channel for your own good

#

You will be eliminated

tranquil magnet
#

kirill will singlehandedly end this channel with their bad syntax

old mural
#

'''

#

yeet

timid field
timid field
orchid frigate
#

rust lifetimes are

#

the worst thing about the language

#

I hate them

#

Like I dont get why rust tries to be so safe

#

isnt it a cpp successor

#

it should be more carefree

amber monolith
#

i remember going from python to c++

#

easily the most jarring experience ever

slim dirge
#

so uhh after 1 month I convinced my dad to buy some shit for me

#

now instead of a 200 dollar pc it’s gonna be 550 dollars I think

#

new specs are

#

ddr4 motherboard with wifi

#

idk the cost

#

i5-10600k

#

169 dollars

#

comes with integrated graphics which is awesome

#

and then ddr4 16 gigs of ram

#

plan on upgrading to 32 gigs once I get a job but first I need a new monitor

#

all in all pretty good although I’m debating on whether or not I should use my gtx 660 or stick with integrated graphics

#

what y’all think

warm cove
# timid field

Same, but only the first 3 and then I start violently beating the shit out of my laptop wbshy

compact vessel
#

!rank

split parrotBOT
slim dirge
# silk oriole 660 100%

thanks, will I have to remove extra software before putting in a 2060 once I get the money for one or no?

main brook
#

igpu is probably for your display only

#

better not strain the actual cpu

#

use a gpu for other processing

#

something like

#

2-4GB ram gpu

#

depends on your use case tbh

slim dirge
#

my gtx 660 is 2 gb

#

I plan on upgrading to 12 gb rtx 2060

slim dirge
#

my dad is thinking of buying the rtx 2060 for me

#

if he does then all I gotta do is hustle my uncles out of some money and I’m good

main brook
#

eh

#

12gb

#

what's your use

barren shale
#

yeah

#

12 gb

#

is a lot

#

in most cases

#

just get a 8 gb 3060

#

they are really cheap rn

#

due to market over supply

rose pawn
pale skiff
#

@main brook kpoop

#

Kpop sucks

main brook
#

what

#

why the sudden attack

#

i appreciate your opinion

#

but outright saying that a certain thing is bad because someone is using it or having it, is a shitty asshole dumb shit thing to do for a smart people like you

tranquil magnet
pale skiff
#

Fax

tranquil magnet
#

No that's immature behavior. You don't just attack peoples interests and favorites.

#

That's highly disrespectful

#

Just because you don't like it doesn't mean they don't have to like it

barren shale
#

id rather

#

using ur fat mum

main brook
#

even if its a fact

#

don't be an asshole about it

#

would you like it if i say your life sucks and that you should just get unborn

#

no right

orchid frigate
#

@pale skiff you dont know my server nickname

orchid frigate
#

I appreciated your opinion however

pale skiff
#

I daunt care

orchid frigate
#

Uhhh

#

Actually

#

Why do I care

pale skiff
#

Coders mafia is nerd

pale skiff
#

I think junglebook is a really good memeber of bts

orchid frigate
pale skiff
#

Behind the scenes

orchid frigate
#

1v1 me irl

#

Loser you goin down

pale skiff
#

Like the rest of you

#

Im stronger

#

Im smarter

#

Im better

#

I am better

main brook
#

you're also more cringer

orchid frigate
#

I will beat the shit out of you 🚶‍♂️

pale skiff
main brook
#

when people tell themselves they're better than anyone else

#

that's cringe

pale skiff
#

Jpop>>>

#

Jpop is better

main brook
#

i would like to say

pale skiff
#

Only good kpop is gangam style

#

That shit fire

main brook
#

jpop is shit

#

there

#

how's that for a turntable

pale skiff
main brook
#

same

#

as you

#

there's literally

#

Kpop, Jpop, Cpop

#

and more

orchid frigate
#

Idk what those words mean

#

But

pale skiff
main brook
#

just because you can't speak 한국 don't be shit about it

main brook
#

because i don't get that idea when i think of kpop

#

they're technically the same

#

except language

pale skiff
#

Thats just dumb

#

Goofy ahh

main brook
#

you do know they're not starving

#

they're literally buff asf

#

more specifically

#

lean

pale skiff
#

Lean?

#

You can see how skinny and pathetic they look

main brook
#

sorry but they're not a mirror

orchid frigate
#

Guys guys you are missing the obvious

main brook
#

everyone opinion sucks

orchid frigate
#

Im the superior life form

main brook
#

there

orchid frigate
#

Its obvious

main brook
#

either way, jpop also has 14 years old viewer

#

no idea what makes you think otherwise

pale skiff
#

I dont like jpop

#

I like

#

Voppa gangam style

main brook
#

I like to beat the shit out of you

pale skiff
#

Gangam style or kpop

#

Gangam style is best kpop

main brook
#

Hamza you're getting unblocked

pale skiff
#

Other kpop bands are shit

main brook
#

i found worse entity than you

pale skiff
#

Kpop kinda cringe

#

Plastic figurines

pale skiff
orchid frigate
#

@pale skiff i have the perfect comeback

#

Ur name stupd🚶‍♂️ 🚶‍♂️ 🚶‍♂️

#

@main brook Use this comeback

pale skiff
orchid frigate
main brook
#

nah

pale skiff
main brook
#

tard people don't deserve a comeback

pale skiff
#

Made of plastic😭

orchid frigate
#

How are they alive

pale skiff
#

Thankgod they havent entered my country yet

pale skiff
pale skiff
orchid frigate
#

I like coffee

#

Where do you have coffee

#

I need coffee

main brook
#

i have arabica

orchid frigate
#

Am I a kpop if I like coffee!?!

main brook
#

Torabika

#

and also

#

luwak coffee

#

pick one

orchid frigate
#

Idk the difference

#

I just like coffee without suger

#

And no milk

main brook
#

i like it with a little sugar

#

maybe half a tablespoon

main brook
#

yes hamza

#

ebic

errant trail
#

"Noone cares if you go off topic in this chat"

  • @orchid frigate
barren shale
#

yes respond to a message from 5 days ago

errant trail
#

ok

orchid frigate
#

If anyone has a problem

#

Tell them to talk to me

next lotus
orchid frigate
hollow geode
#

ایرانی هست؟

orchid frigate
#

Guys look

#

The link to the gif has a C in it

#

C reference 😳 😳 😳 🤣 🚶‍♂️ 💀

knotty root
severe shoal
#

I coded a hello world program

#

I'm a true programmer😎 😎 😎 😎 🤓

rose pawn
#

Ping me and say the thing in my pfp sucks

orchid frigate
#

@rose pawn the thing in your pfp sucks

#

I hate it

#

Its awful

#

Its so bad I hate you

#

I hate everything about you just because of the thing in your pfp

#

That is worse than anything on earth

#

Hell wouldn't accept it

knotty root
#

Hello, this is my first time here.

knotty root
amber monolith
#

Yes

#

std::string inp; inp << std::cin;

#

while (inp == “start”){inp<<std::cin;}

#

something like that bit rusty with c++

barren shale
#

nice useless code

#

they do C# not c++

#

which can be done in more than one way depending on how you want to do it

#

if you want it to be done at least once you can do it like this:

do {
  // Your Code Here
} while(Console.ReadLine() == "start");
#

if you want it to never run if the input was not start you can do

while (Console.ReadLine() == "start") {
  // Your Code 
}
untold laurel
#

29299192

amber monolith
#

what use is a copy and paste if you don’t understand what it’s doing

barren shale
#

dont think a C# dev will understand what std::cin means

#

without c++ experience

#

and why does it have <<

amber monolith
#

I did it this morning on my phone

#

Usually I’d cast to a char*

barren shale
#

which would make it even more confusing to a C# dev

orchid frigate
#

Conclusion: c# devs dont always know c++

#

Or something like that idk

barren shale
#

conclusion: if you know A it doesnt mean you know B

hoary hound
next lotus
#

c# devs are devs that tried c++

#

then decided to just c#

barren shale
#

nah

#

C# is my second language

#

after an old language that doesnt exist any more called blitz basic

robust pulsar
#

Oh no

#

I don't start dev stuff

#

This scary

next lotus
#

Then why are you here child?

#

Are you lost?

inner granite
#

Hello

#

can you spek german?

next lotus
#

chigai

barren shale
inner granite
#

Ok

robust pulsar
#

This is scary

#

Java script...

#

Nah I can't handle the amount of coding

orchid frigate
#

I will say a something that every beginner coder is scared for

#

@robust pulsar Assembly

#

💀

wet girder
#

I'll say something every hobbyist developer is scared of

#

Scrum

#

DevOps

#

Had to double up

wispy nymph
#

I’ll say something literally everyone is scared of.

#

Getting an error message, looking at the error provoking code, and seeing nothing the f wrong

robust pulsar
orchid frigate
#

I dont get the benevolence of the error messages

#

The most I get are triple faults and register states

orchid frigate
#

Hobbyists dont know what that is

main brook
#

the most passive message ever in this chat

#

evaluate the expression on each iteration

#

and since it's re evaluated

#

function is called again

#

and so on

#

its a common way

wet girder
#

Okay okay I need to know how many of you firstly have a LinkedIn profile and secondly actively maintain it

#

Because I've used maybe a bit too many hours updating and making my linkedin profile look as good as possible

#

just because I heard it makes your changes of getting hired bigger

main brook
#

i don't use linkedin

barren shale
#

I have one but i dont update it as im mot looking for a job

wet girder
#

I'm not currently looking for a job either but I keep it updated, connect with people I know, like posts and rarely make posts of my own

#

looks good when looking for a job

barren shale
#

gonna get a cockatiel

barren shale
#

i got a cockatiel

fluid glade
#

hello 😃

timid field
orchid frigate
#

Too young for a LinkedIn atleast for my country

#

Next summer will be getting my first job as a bartender or smt

#

So I wont need one in a long time

fluid glade
#

good luck

cloud solar
#

Hi

wet girder
torpid isle
rose pawn
left leaf
#

One more 0 and you would’ve said the N word in binary

old mural
#

How

#

Anyone know lua

#
print(string)```
#
local y = 420

function add(a,b)
   print(a + b)
end

add(x,y) ```
#

It's not very hard to understand

torpid isle
#

that just looks like the very basics of coding which ofc aren't hard to understand

#

it's like learning second grader math.

rough plinth
#

code

waxen saffron
#

@torpid isle you get the idea, check all channels

#

aight i won't ping anymore

#

sorry

junior solstice
#

~Traiteditor

cyan oak
amber monolith
#

"i like lua how could you tell?" them: 🤓

orchid frigate
#

Lua is bad in general but

#

I have respect for it

#

Because alot of games are working with it

#

Like gmod

#

And ig roblox

#

And I think the binding of isaac

main brook
#

its embeddable

sudden hull
#

Dude no fcking way. This channel existed.

craggy tendon
#

YY

#

W

#

FUESS WHOS BACK

#

BACK AGAIN

sudden hull
#

Gonna invite me web dev account

#

Anyone here uses react J's?

#

J's*

#

Wtf

#

React JS

#

There

#

Omfg

errant trail
#

just type javascript

sudden hull
errant trail
#

understandable have a nice day

next lotus
errant trail
#

i agree

#

you should be warned

#

for talking about lu- offtopic stuff

orchid frigate
#

Thank god

#

Only game devs if they still exist

#

And low level devs

violet lagoon
#

Hi

barren shale
#

i prefer svelte

#

which is easier to work with

old mural
knotty quartz
old mural
#

lUa iS a cOdInG scripting language

#

It's a scripting language

#

I mean I have project a repo in gut hub that is based on lua

barren shale
#

lua is a programming language that is mostly used for scripting

#

interpreted languages are easy to use for scripting

#

that's why most games use things like lua

#

or make their own

next lotus
#

i believe its a dialect of english

knotty root
#

Hoh

old mural
#

Ok it might be a little underdeveloped but it's used in roblox

#

Roblox calls it luau

#

I admit lua doesn't support gui and is rarely used in standalone applications but it's good

next lotus
#

why

barren shale
#

lua is actually not that bad

#

yes there are better options

#

but if you want to add things to old emulated games

#

lua is the best option

#

someone ran the NEAT algorithm on emulated mario

#

using lua

torpid isle
#

my preferred choice is C#

#

yall are too young to know jass though.

#

Actual living hell, easily worst language made for games.

barren shale
#

i used blitz basic for my first game

barren shale
torpid isle
barren shale
#

i used to make maps for fun

torpid isle
#

you're not man until you torture yourself by trying to use it

torpid isle
barren shale
#

yeah

#

i used the moded version of jass

#

forgot what it was called

torpid isle
#

reforged gave us Lua support luckily

barren shale
#

oh really

#

i didnt know that

torpid isle
#

at least that's the one I know of

barren shale
#

oh

#

yeah that one

#

that was way easier than jass

#

easier debugging and editor had more colors to it

torpid isle
#

yeah it's nice but still far inferior to modern languages.

barren shale
#

gotto go work

torpid isle
#

gl

orchid frigate
#

Guys stop fighting

#

Rust obv carries all programming languages

#

Along with C

#

I swear im a walking rust ad and im proud of it

cloud solar
#

i wanna do a challange with making a game in 10 mins, any ideas for theme

orchid frigate
#

Something very simple

#

A platformer

#

Or nah

#

Actually

#

Mini rpg

amber monolith
#

does anyone have an experience with deep q reinforcement learning

barren shale
#

yeh

#

geyh

barren shale
amber monolith
#

I know the theory behind it etc

barren shale
#

oh that should be easy enough

amber monolith
#

the main thing I don’t understand is q tables

barren shale
#

if ur doing a deep q reinforcement learning there are no q tables

#

q learning has q tables

#

deep q learning uses a neural network instead of a q table

amber monolith
#

My bad I meant how I would pass the location of the other dot

#

To the dot that’s learning

barren shale
#

as an input

#

there are a couple of ways

amber monolith
#

so I would pass the x and y coordinates as a vector

barren shale
#

you can either do 4 inputs 2 are the x,y of the dot and then 2 are x,y of the moving object

#

or you can do 2 inputs

#

which will be the distance between the object and the dot

amber monolith
#

nice

barren shale
#

i recommend 2 inputs

amber monolith
#

Do u reccomend the gpu

barren shale
#

the less inputs the better

amber monolith
#

version of tensor flow

barren shale
#

for this a gpu will not do a lot better

#

since it is a very simple model

#

i would do 2 input to 16 to 8 to 4 output

#

4 outputs each one determines a direction

amber monolith
#

Once I develop on it

#

I could pass the rotation as well?

#

instead of the host coordinates

barren shale
#

you can do one input and one output

#

angle to dot as input

#

and then angle to move as output

#

but then that's cheating

#

because the angle to dot should be the same as angle to move

#

so you're giving the AI the answer

amber monolith
#

ah ok

#

but I could give it a reward when it looks in the direction of the dot surely?

barren shale
#

give it a reward when it moves in the right direction

#

make sure its very small

#

i would say 1% of the finishing reward

amber monolith
#

ah ok nice, end goal is to have it eat multiple food, but from what you’ve just answered I think I could just change the input aitomatically to the food I want it to move to?

barren shale
#

yeah

wet girder
barren shale
#

just like any other discord api

#

but in C#

#

so that would help

wet girder
#

ah, I did asp.net "professionally" for 3 months so should be easy then I hope

barren shale
#

yeah

#

commands are made to be like controllers

hollow bronze
#

its a bit overcomplicated for discord

#

python is honestly ideal for discord bots to me

#

simple generic stuff, but bots are usually that way

barren shale
#

true

#

but it pays off on big bots

#

just like APIs

main brook
#

usually medium-large to large bots uses file based or class based commands

#

but dpy have extensions

#

and cogs

#

which is scalable

#

plus its new version 2.0 is out officially on pypi

#

which supports v10 api

orchid frigate
#

Bro the rust compilation times are starting to piss me off rn

#

It takes rust like 3 seconds every time to compile core alone

errant trail
#

just wait until you work with js frontend

#

you have to press an EXTRA BUTTON (the refresh button) followed by 3 seconds of load time

orchid frigate
#

nah im good

#

dont think I will ever work frontend

#

too boring and premade

#

building things from scratch is where its at

#

but rust used to compile everything in like a second

#

but then I started using xargo and everything went to shit

errant trail
#

stop using xargo

#

ez

orchid frigate
#

bruh goofy gcc cant find a file that vscode finds 💀 💀 💀

orchid frigate
#

and the other tools suck

errant trail
#

cross compile = more compiling = more time

orchid frigate
#

I dont think thats how it works

errant trail
#

ok then what is the difference of cross compiling and just normal compiling

orchid frigate
#

cross compiling creates an elf file thats not system dependent

#

all the other ones are

errant trail
errant trail
#

ok

orchid frigate
#

if anything its making less code than before

#

the problem is

#

cargo slow

#

or xargo

#

nice name xargo

errant trail
#

lol

orchid frigate
#

goofy ahh name

#

BRO GCC BLIND

errant trail
#

cross compilation
cargo

#

very smart

#

indeed

orchid frigate
#

I PUT THE FILE IN THE SAME DIRECTORY STILL CANT FIND IT

errant trail
#

verycreative

orchid frigate
#

I hate coming up with these grand fixes to big problems

#

and gcc just fucking say "no"

errant trail
#

skill issue

orchid frigate
#

"you dont get to have fun"

errant trail
#

childish of you to assume GCC will atleast make you happy

orchid frigate
#

it has made me happy

#

I have so many good memories with it

#

but cmon

errant trail
#

then find the file

orchid frigate
#

ok you know what I will do

errant trail
#

what

orchid frigate
#

considering C is the secondary language anyway

#

I will just put everything in one file

#

fuck gcc Im not dealing with its shit

errant trail
#

how many line of code do you have

orchid frigate
#

for now 100

#

in c

#

but Im doing everything in rust anyway

#

the only time I need C is when I need to use assembly

#

because ffi in rust is goofy

#

real goofy

errant trail
#

just use assembly

(this tip is given to you by a stupid person)

orchid frigate
#

tbh

#

I have tought about it

#

but its 50/50 worth it

errant trail
#

oh ok

orchid frigate
#

because on the one hand complete control over everything

#

on the other

#

its pain

errant trail
orchid frigate
#

wait xargo fixed itself what 💀 💀 💀 💀

errant trail
#

it saw me suggesting you to not use it

#

it was like "UHHHHH"

orchid frigate
#

nah false alarm

#

when I dont edit any files it just doesnt recompile

#

its still goofy

errant trail
#

it saw that you needed to use cross compilation and got no other option so it got goofy again

orchid frigate
#

broooo

#

gcc is the goofiest compiler amongst them all

#

it just doesnt find anything

errant trail
#

Goofy C Compiler
GCC

orchid frigate
#

bro im starting to give up now c++ is being goofy

#

c++ ffi also sucks

#

goofy ahh languages and compilers man

orchid frigate
errant trail
#

i dont know im not you

orchid frigate
#

Imagine someone actually makes goofy gcc

#

that would actually be funny af

errant trail
#

a GCC that refuses to find the file

#

"that ain't no file! Thats a hamburger!"

orchid frigate
#

a gcc that has all of its keywords mangled

#

and also only compiles with -Wall so that your console gets filled with garbage warnings

errant trail
#

a gcc who refuses to compile C but compiles javascript

#

wait we are just describing the V8 engine at this point

orchid frigate
#

a gcc which only compiles lua

#

now thats a nightmare

errant trail
#

yeah

orchid frigate
#

its unholy

errant trail
#

everyone knows

orchid frigate
#

tell me a synonym to unholy

errant trail
#

idk

orchid frigate
#

aight so

#

gcc fixed its goofy ahh

#

so now its time to work

#

alright

#

wtf was I doing before fixing this

errant trail
#

scroll up

orchid frigate
#

nah its not there

#

but you dont worry

#

I figured it out

#

also

#

wanna enter vc

#

we can code & chill if you know what im saying 🫣

errant trail
#

no

orchid frigate
#

:((((

#

I got rejected by my crush

errant trail
#

so

#

your crush doesnt exist

orchid frigate
#

oh wow

#

I guess that after you get rejected

#

she no longer exists

#

shower thoughts

main brook
#

python rejected me

orchid frigate
#

ask rust out

#

rust never rejects

#

unless you make him do ffi stuff then he is as useless as when your average python or c# enjoyer sees a pointer

errant trail
#

pointer isnt complicated

orchid frigate
#

Thats what im saying

#

But everyone coming from low level when they see anything memory related is like "too hard its impossible fuck this"

barren shale
#

Your dad rejected you

slim dirge
#

I’ve figured it out

#

why my pc won’t work for shot

old mural
#

lua

#

it's hard to type code on mobile

main brook
#

its not

#

for me atleast

errant trail
#

sounds like a skill issue

barren shale
#

yeah but it will become uncomfortable after long times

#

probably some neck pain

main brook
#

finger

#

can't believe some phone companies now decided to allow users to allocate swap on their own

#

but they promoted the feature as

#

"add more ram"

#

which is technically true but also not

#

even the seller told me it adds ram

#

the phone have 6gb ram, no idea how much base swap

#

but im guessing around 500mb and 1gb

#

imagine adding 4gb more swap

#

also reminds me

#

android 11 security sucks ass

#

termux now has super limited capabilities

#

can't even view processes

#

or use ip with full output

#

they didn't even add any whitelist

errant trail
#

just another day of tech company doing (kinda) evil stuff

orchid frigate
#

Linux kernel panicked which even if its scary because its my os is fascinating to me because I can copy its design :)))

#

But now idk what to do

#

The pc is unresponsive

errant trail
#

delete system 32

orchid frigate
#

i might just cold reboot

errant trail
#

in someone elses computer

orchid frigate
#

My system crashed

#

How do you expect me to do that

#

Ok I did cold reboot and it fixed itself nice

#

Losing linux would be absolutely awful because of the amount of projects I have saved on it

main brook
#

that's why

#

you have 2 disk

#

one for boot

#

specifically

#

one for /

#

one for /home

errant trail
orchid frigate
#

I dont remember how I set up my disks in linux

#

But I have recently been thinking about switching to another distro anyway

#

Im getting bored of mint

#

So ima set up my disks right when I do that

main brook
#

just do

#

/home to hdd

#

and other to ssd

#

like /

#

/boot/efi

orchid frigate
#

I do dual boot

#

So my entire ssd is windows

#

Because of games

#

But I see what you are saying

main brook
#

what no

#

dual boot is having 2 operating system on the same disk

#

i think

#

i may be wrong

#

so take it with a grain of salt

orchid frigate
#

According to google:
A dual boot is a technique through which multiple operating systems can be kept within the boot sequence on the same computer. It enables a user to select from more than one operating system at the initial boot sequence or system startup.

Dual boot is also known as multi boot.

#

Boot sequence probably being bootloader

main brook
#

yeah

#

well its not double boot in this case

#

just standard recommendations for linux

#

ssd on /
hdd on /home

#

so if your system fucked up

#

your data on user are safe

#

and we know Haydot keeps fucking up his system

orchid frigate
#

Tbh I dont even try

#

I just boot and use the same 5 apps

#

Idk how I constantly get my system destroyed

#

But this kernel panic I got is

#

Both advanced and not as advanced as I thought

#

It kinda just outputs some random information

#

I thought linux would do better smh

main brook
#

choose another distro

#

how am i druid so fast

orchid frigate
#

Idk which

#

I have already tried most of the popular ones

main brook
#

try void

#

or manjaeo

#

manjaro

orchid frigate
#

Void

#

Sounds interesting

barren shale
#

smh

#

linux issues

orchid frigate
#

Brooo

#

This distro is like

#

Made by me

#

Everything from scratch

#

Even the package manager

main brook
#

ye

#

it has 2 version too

#

glib and musl

#

i would suggest glib tho

#

its also not that heavy

#

using xfce4 on vbox idle only consumes like 1gb memory

#

it takes time to migrate tho

old mural
#

On mobile

barren shale
main brook
#

not possible

#

max length character

#

i mean

#

well yeah that's true

main brook
#

okay apparently

#

if you type

#

"a"

#

for 150 lines

#

it works

orchid frigate
#

Does anyone know anything about blackarch

#

I have been interested in it since I first tried linux

main brook
orchid frigate
#

But there arent many reviews

main brook
#

black arch

#

what's "black" about it

orchid frigate
#

Its a security distro

#

Like arch but

#

Black

main brook
#

ah

#

meh

orchid frigate
#

Damn it seems even more lightweight than arch

#

At this point it barely has gui

#

So the choices are

#

Void or arch

#

Hmmm

main brook
#

void are stable

orchid frigate
#

I wanna make a joke but

#

I will get banned fs

barren shale
#

thats why you got demoted

orchid frigate
#

I asked for my demotion

#

But I was gonna get demoted anyway so 🚶‍♂️

livid jetty
#

Queen Elizabeth just died

wet girder
#

wrong channel my man

rose pawn
#

It can be annoying but its best to let ppl mourn (imo)

torpid isle
hoary hound
orchid frigate
#

Alright well I have made up my mind and

#

Im changing to arch

#

I have saved all of the projects I care about to my github

#

So now I wonder if I should save something else before switching

#

Wow

#

I fucked up a usb so bad last time I did this that

#

Even windows cant reformat it

#

Wtf did I do

orchid frigate
#

Well the installation failed

#

Due to faulty iso

#

It warned me to check it but I didnt

errant trail
tight perch
#

epic hackermen hacking into the us federal buildings

orchid frigate
#

Yes

#

Im also hacking into you

old mural
#

Honestly I don't even care

#

About typing on mobile is hard

#

Typing code on stupid tash phone is

orchid frigate
#

I think I commited a warcrime

fluid glade
#

hey! leute, die wach sind?

rose pawn
#

Hi

#

I love codeìng👍

fluid glade
#

I see

#

and what country do you live in?

orchid frigate
#

Tell this trustworthy gentleman named stalker which country you live in

fluid glade
amber monolith
#

🥰

fluid glade
amber monolith
#

from which country are u from

fluid glade
#

I live in the city of Novosibirsk, the best city for me

amber monolith
fluid glade
#

the politicians are to blame for this

amber monolith
#

Yes

#

Ukraine and Russia are brothers

fluid glade
amber monolith
#

what are your media saying

#

about the war

fluid glade
#

I don't really watch the news

#

And I hear about the media for the first time

amber monolith
#

What about the word of your fellows in Russia?

#

In ukraine they aren’t very happy

fluid glade
#

I don't know but I know that smooth roads have not been made in Russia yet😂

#

I wanted to ask what kind of games did you play?

amber monolith
#

I don’t have a computer or wifi anymore so… 😂

#

I have a phone and we get a limited amount of data

#

I used to play csgo

fluid glade
#

Okay bro, good luck for now.

orchid frigate
main brook
#

its just sounds rather funny

#

a guy name STALKER is asking someone what country do they live in

#

couldn't be more funny than that

slim dirge
#

do any of you got 4 bucks to spare so I can buy a cpu cooler and finish the build

errant trail
main brook
#

water

orchid frigate
# main brook water

Hello mam your computer has a virus may I get the exact coordinates of the computer so that I can fix it?

main brook
#

69,69,69

orchid frigate
#

The virus is pretty bad

#

I will need inject antibiotics into it

#

May I get any bank information for help?

errant trail
orchid frigate
#

Say these words with me

#

"im a little grinch pinch whinch with a syringe of dinch"

next lotus
#

mother

tidal elbow
#

god

#

work really drains my coding energy

#

after spending 8-9 hours a day programming i really cba to do more at home

#

but it's also what i love doing

orchid frigate
#

8-9 hours a day?!?!

#

Bro if I was doing that much a day for work only you bet im never opening a code editor on my personal pc again

barren shale
#

working 8-9 hours

#

should pay good

#

or i would quit

#

most jobs its 7 hours

fallen pebble
#

I'm on the computer 9 hours a day for work, when I come home I get on mine for the rest of the night

errant trail
#

how many line of code do you guys code every hour?

mine is 100-50 (depends on how much math it requires)

main brook
#

its not something i can put in a number

barren shale
#

yeah

#

that's very situational

#

i can code 1000 lines per hour

#

of code that does nothing

wet girder
#

I've made 500 lines of code in an hour for sure. But probably on average it's way less than 100 because debugging and shit

tranquil magnet
#

Any problems with my program?

#Basic Collatz Conjecture Program
X = int(input())

def CConjecture(I):
    if I % 2 == 0:
        I = I / 2    
    elif I % 2 == 1:
        I = (I * 3) + 1
    return I

import time

print(X)
while not X == 1:
    time.sleep(0.5)
    X = CConjecture(X) #so meta
    print(X)
tranquil magnet
#

yeah i ran it, i just want to know about readability problems if there is any

#

no bugs

barren shale
#

i guess I would have the import first

#

and input after the function

hoary hound
#

maybe you can change not X == 1 with X != 1

barren shale
#

yeah and that

#

no need to sleep

#

just let it print the whole thing

hoary hound
#

does the conjecture always work though?

barren shale
#

i think it does

#

and its not I % 2 == 1 it is I % 2 != 0

#

or you can just do else instead of elif

tranquil magnet
#

oh ok

#

thanks

hoary hound
barren shale
#
# Basic Collatz Conjecture Program

def CConjecture(i):
    if i % 2 == 0:
        i = i / 2    
    else:
        i = (i * 3) + 1

    return i

x = int(input())
while x != 1:
    print(x)
    x = CConjecture(x) #so meta

print(x)
print("Done")
barren shale
hoary hound
#

"As of 2020, the conjecture has been checked by computer for all starting values up to 2^68 ≈ 2.95×10^20"
"This computer evidence is not sufficient to prove that the conjecture is true for all starting values. As in the case of some disproved conjectures, like the Pólya conjecture, counterexamples might be found when considering very large numbers."

barren shale
#

if you get a number twice

#

you're stuck in an infinite loop

barren shale
hoary hound
#

it has worked so far, but until it's proven true you can't be sure it will work for every number

barren shale
#

i guess it is one of these math problem that are impossible to fully solve

#

also i would use lowercase letters for non constant variables

tranquil magnet
#

yeah i thought that it would be a fun little project to do, even though i know that the collatz conjectyure isnt able to be solved, i was just asking you about my program cause i wanted to practice having neat programs

barren shale
#

if you like your programs neat

#

dont talk to this guy @orchid frigate

tranquil magnet
#

aight

barren shale
#

talk to this guy @barren shale

#

best neatest programs ever to be made

#

neat is my second name

tranquil magnet
#

alright

tranquil magnet
tranquil magnet
orchid frigate
#

Yea dont talk to me about neat programs

#

You can see that on my github

#

But talk to me for anything low level

#

As I have most likely done it

orchid frigate
#

Bro I just learned it takes 125 seconds to build the linux kernel 💀 💀 💀

#

Imagine building that thing to test something and realising you forgot to do that little thing

#

So now you gotta wait 2 more minutes

wet girder
#

You clearly haven't experienced unity. It takes 30 seconds to compile a fucking scritableobject

tidal elbow
#

?

#

my unity programs run instantly

orchid frigate
#

I can barely handle 7 second compile times

wet girder
#

Well it takes ages to open unity or any new windows as well in it

wet girder
tidal elbow
#

we have one huge codebase for our central API and it takes like 3 minutes for first time compile

orchid frigate
#

Nah with 3 minutes

#

Im just doing things separately

tidal elbow
#

after that (when doing restart on save) it's like 5 seconds

orchid frigate
#

At that point I would just give up

#

Between every compile I would be able to go and make coffee and come back

#

2 times if I speedrun

#

I compile 5 times a minute 💀 💀 💀

orchid frigate
#

Only rebuild the things that changed

#

So for instance you have a makefile

#

Which checks for which things changed

#

And compiles only them

#

If you use a compiled language that is

tidal elbow
#

probs could if we optimized it

#

no time/money to do that lul

#

client wants what the client wants

orchid frigate
#

Ig client wants you to suffer 💀