#💻︱programming

1 messages · Page 41 of 1

tired elbow
#

who are you helping? lol

#

yr just spamming it

silent path
#

oh

rancid moon
#

Ye

silent path
#

i just sent it tow ti,e

#

time

tired elbow
silent path
tired elbow
silent path
#

yeah i sent then in genral and media and the others chat only one time

#

i didnt spam

silent path
tired elbow
#

that counts as spamming

silent path
#

spaming is when i send alot of stuff that dosnt mean something

#

like this

spring tiger
#

let's not spam

silent path
#

thats spaming

minor roost
#

Yes but

spring tiger
#

keep it on topic with programming here please

minor roost
#

You don’t have to do it

silent path
silent path
silent path
#

shes saying thats this is a spam

#

ok fine

#

no brain

tired elbow
spring tiger
#

depends on your algorithms within your code
a mod/bitwise calculation won't be the cause of a major bottleneck of performance

#

would look into C profilers, not sure of any myself but with other langauges at least, they will flag certain sections of your code that are being slow
you can then profile those sections in more detail to see the exact lines

echo stone
#

How do I code in Mo-Lang JSON.

spring tiger
warm oriole
#

hi

#

i need some help

#

finding a file in minecraft

#

this one specifically

#

global_settings.json

#

im on windows 10

#

i cant use the solution they gave because i dont know where the file is

warm oriole
#

I only found minecraft java in that folder not bedrock

#

do u have any other alternatives

#

YAAYYYYY

#

THANK YOU

#

I LOVE YOU

#

IM INDEBTED TO YOU NOW

#

youre my lord and savior now

#

i did google

#

but more specific

#

like the exact file name

#

i was confused alr

#

i already had tried like 2 billion possible solutions

#

even talked to xbox chat help thing

#

now

#

another problem is

#

that minecraft on launching

#

changes the boolean back to false on launch

gleaming merlin
#

is there a better option than sql and why is it not globally used? learning sql was an annoyance and all ive learned from it is how many issues there are with it security wise, sql breaches seem so common and im just curious if theres something in the works i may not have heard of that might overthrow the SQL databases

warm oriole
#

try mongoDB then

gleaming merlin
#

is it being used in todays age? my knowledge is becoming dated (havent kept up in about 5 years) but it still seems like a lot of companies rely on SQL

warm oriole
#

i am mostly in the discord bot community

#

and there plenty of people like to use it

gleaming merlin
#

ill look into it thanks

bold fjord
#

Can anyone tell me which BB-editor is used on the forums?

bold fjord
plush walrus
#

yeah sql is really popular and also pretty easy to learn query syntax imo

warm oriole
#

its just english

bold fjord
#

🤨🤨

tawdry radish
#

Guys stackoverflow survey started a little fast this year?

minor roost
#

C++ the best

tall hazel
plush walrus
#

wow this is cool

spring tiger
#

There's a browser plugin called Github Isometric Contributions and it makes profile pages look like this

plush walrus
#

This stuff is very cool

#

I've had my first gitlab epirience today

#

And man was that interesting

#

First had issues with shh keys and then branch issues

#

🧑‍💻

sharp crystal
#

I've made a gitlab wrapper like 6 months ago

tawdry radish
tawdry radish
#

they should add the day of the contribution when i hover over the datapoint 😔

plush walrus
#

not much time tbh

wild shadow
#

arXiv

tawdry radish
tawdry radish
turbid zephyr
#

Who care

rancid moon
#

u

turbid zephyr
#

No I don’t

tall hazel
#

Yes you do

muted pelican
#

mogus

tawdry radish
wet yoke
minor roost
#
"hi !"

I've been working on a Discord bot project and I don't know
how to add permissions so only admins can use administrative commands like Ban,kick etc

I saw a youtube video saying you should write like this
.setPerms: "ADMINISTRATOR"
but it didn't work
I use Node.js btw

Could anyone help me with this ?

minor roost
#

So no

tawdry radish
#

learn how to code first then

#

even djs people tell you that on there discord

#

anyways it will be on the message

minor roost
#

ok thx

tawdry radish
minor roost
#

I think it suppose to be message.member.cashe.get("role id") {

#

I will try both of them

minor roost
#

ELlo!

tribal summit
#

Probs the best thing I can recommend is to get a very good and preferably long tutorial and just follow it. And then open yourself some documentation to go with it and search and read about everything you don't understand from a video.

#

Go slow and little by little and test things and stuff like that

#

But if you have really no programming knowledge start with python or just pure JavaScript, before moving onto Node.js and it's libraries (I'm assuming you are using discord.js library)

sharp crystal
#

It's message.guild.roles.cache.get("id")

minor roost
tawdry radish
#

@copper ice how ya like that

#

ignore the e-girl skin i was lazy so i did not put the capes folder inside

#

@drowsy terrace them birb client gonna be back soon 👀

copper ice
#

I mean, the UI is great

whole cave
#

Excuse me

turbid zephyr
tawdry radish
#

any boi skin = eboy skin

#

unless it is not generic boi skin

whole cave
#

Bruh

#

im an egirl then?

tawdry radish
whole cave
#

im cringing to myself

tawdry radish
#

if you e-date and stuff then you are e-girl

tawdry radish
#

i got fed up of imgui and am writing me own gui engine

copper ice
tawdry radish
#

use d2d for, or opengl for that

#

also you can just use figma if you want to design

copper ice
#

I actually learn those in my udemy classes

#

But still sucks

tawdry radish
copper ice
#

I find it kinda hard to get a good progrmaming instructor on udemy

#

Cuz their voice makes me sleep

tawdry radish
#

don't go to udemy

copper ice
#

Too bad i pirated bought 4 programming courses

tawdry radish
tribal summit
#
if chat == dead:
  postProgrammingMemes()
#

Maybe this could work

indigo nacelle
#

Me when dead is not defined

tribal summit
#
class Person(){
  ...
}

int main(){
  Person dead; //to non-programmers, this ain't mean in a rude way, it's just a variable name :P
}
#

Here you go, now just initialize it 😛

tribal summit
#

pain

tiny star
#

Can anyone here help me?

#

@fallow canyon

fallow canyon
tiny star
#

I need help on my skyblock island

#

On bedrock

#

Some of my stuff got corrupted

rancid moon
tiny star
#

Ok

rancid moon
lusty pagoda
tiny star
#

I went afk

lusty pagoda
#

For better understanding, pls head to my dms

#

This channel is for programming chat related

vast goblet
#

any1 do cobol

tawdry radish
#

anyone made a neuro evolution algo?

pallid bone
#
if input() == dead chat:
    print('Right')
else:
print('who cares')

dead chat
Right

cool chat
who cares

tawdry radish
pallid bone
grand minnow
grand minnow
atomic peak
#

This more then a meme chat then a programming chat lol

grand minnow
sharp crystal
#

yeah but u made a var called self.active

grand minnow
#

It's a code I made up in my head, it doesn't belong to any library @sharp crystal

tribal summit
atomic peak
#

I programing is just a language which can be understood by looking itself

#

Everyone is meming about how Dead is this chat

#

Cube uses some plugins right is that open source ???

#

Guys anyone know that

#

??

modern sage
tawdry radish
#

naming vars hard 😔

gentle patio
#

I am so good at coding

sharp crystal
tawdry radish
copper ice
plush walrus
#

it is normal

tawdry radish
copper ice
tawdry radish
#

they went to uni

#

which is unnecessary if you have the ablity to understand stuff

grand minnow
gentle patio
tawdry radish
dense zinc
#

Best programmers never write games 😎

#

Wait I made a game

#

nvm

#

Great programmers make games

#

Does Wordle really count tho?

tawdry radish
dense zinc
#

Yay

#

@minor roost tribes revive when??

tawdry radish
#

@spring tiger am duel booting my pc which distro of linux i add?

spring tiger
#

o_o what

#

are you asking which distro to use?

tawdry radish
#

yeh

spring tiger
#

I can't really help with that, I've only used ubuntu. best to look at the features of the popular ones and if that's what you want

#

for example ubuntu might not be the most suitable if you want a barebones linux install

tawdry radish
#

they said arch is good option for programmers like me so am asking more people to know what they a re using

hard roost
#

arch is good option for programmers
What distro is not good for programming?

plush walrus
#

Arch based is a little harder

#

If you're strictly looking for arch, Manjaro is probably the easiest

tawdry radish
#

i mean i don't realy care if it is realy hard and that since am just gonna use it to write code in vscode .-.

plush walrus
#

But it gets to stuff like installing the os itself

tawdry radish
#

just need to duel boot it .-.

#

it gonna be a risky process but am gonna do it bois

plush walrus
#

Go with something Debian based I'd say

tawdry radish
#

alr

plush walrus
#

It does the job without any hustle

tawdry radish
#

pop good?

plush walrus
#

Yea

tawdry radish
#

alr am gonna use it

plush walrus
#

But from my experience the partitions were pretty tricky if you're gonna install it on the same drive as windows

tawdry radish
#

i have 2 drives

plush walrus
#

Ok then it should all be easy

tawdry radish
#

also can i install this stuff while i reset windows?

plush walrus
#

Wdym?

#

You can only run 1 os at a time

tawdry radish
#

thus am rebooting ( resetting?) windows
i was wondering if i could run both of them at the same time

#

am throwing all my project files in a zip and throwing that in a zip then downloading it back from the repo ;-;

#

painfully slow

plush walrus
#

Not necessarily arch based distros but arch itself

plush walrus
#

since like pretty much always 🤨

tropic ledge
#

Yes hazard progarm for us!!

tawdry radish
#

prog arm

wild shadow
#

Can one configure Malwarebytes such that it ignores anything as long as it's run under Sandboxie?

brisk trout
#

Any of my CC developer homies know anything about AnnotationProcessing I am losing my mind ❤️

tawdry radish
#

@spring tiger suppose am a dev at cc
can i fix bugs in a protocol when i am in the gameplay team(don't realy know what teams so just example)?

spring tiger
#

You're given tasks to do by a project manager. @tawdry radish

#

And no, you usually stay within your team and work with other teams if there is a problem on their end

tawdry radish
#

i see

old python
#

Guys can play with me

pallid bone
#

does anyone here know how to program 😄

tribal summit
#

Depends on the day 😛

untold grail
#

i just pretend tbh

wild shadow
#

Internal vs external fragmentation

minor roost
#

STARLINK

brisk badge
dense zinc
tawdry radish
gentle patio
#

Hi i KnOW hOW To ProGrAm

#

eAsIly

fallow yacht
gentle patio
tall hazel
#

No

tawdry radish
#

YAYA we back

#

guys how ya like my code

rancid moon
#

No..?

tawdry radish
gentle patio
#

hi

#

cool

#

channel

subtle matrix
#

idk if youre joking or not

tawdry radish
#

@subtle matrix bro can i write api when every day and will it be considered spam?

wooden aspen
#

some guy said this channel got deleted i dont think it did

minor roost
#

It was gone for a day

wooden aspen
gentle patio
#

Archived tho

#

so all messages still here

dense zinc
#

YAY REVIVEEEE

wild shadow
#

😳

sharp crystal
#

man-

gentle patio
#
  • someone who doesnt code
wooden aspen
#

coding

#

beep boop

dense zinc
#

pet peeve right there

wooden aspen
#

how code work 😳

gentle patio
#

idk it just does ig or else it just doesnt

#

idk

tawdry radish
#

also i can't fix that it is microsoft's cpp extention

zinc steppe
#

where programming VC

#

i liked to do my java homework there

tawdry radish
#

such cringe ngl

quasi phoenix
#

how to program...😳😏

tawdry radish
#

it is like a gut feeling

#

you just type letters and it becomes into meaning full code

brisk badge
zinc steppe
#

<div class="d-grid gap-2 col-6 mx-auto"> <button class="btn btn-secondary" type="button">Definir testes</button> <button class="btn btn-secondary" type="button">Definir horario dos testes</button> <button class="btn btn-secondary" type="button">Definir alerta</button> </div>
how do i make these buttons go to another page

plush walrus
#

Like redirect?

#

Maybe you can add just a js function to the buttons

waxen wigeon
#

And if you want it to appear as a button just add a bit of css

a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;

    text-decoration: none;
    color: initial;
}

to the page and add the button class to the a

zinc steppe
#

thanks

#

it worked!

wooden aspen
#

makes perfect sense

crude pilot
#

SQL is fun

tawdry radish
#

also you can try to just redirect to the page by calling handling onclick event

#

and in that function you could put anyone one of them (try them out idk what the first one does different then the http one)

plush walrus
#

fr haha

minor roost
#

What program language do i need to learn first?

wooden aspen
sharp crystal
minor roost
#

Thanks guys (:

brisk badge
wooden aspen
#

all i know is characters go brr

brisk badge
#

Yesyes

brisk badge
wooden aspen
brisk badge
#

Well most coding languages syntax is similar to each other, but I meant similar in difficulty to learn

wooden aspen
#

so what ur saying is python is hard to learn

brisk badge
#

No it isn’t (relatively)

wooden aspen
#

ok

brisk badge
#

But it is very useful for a lot of things

tawdry radish
#

it is very good for learning while making pratical stuff

#

which will motivate you

minor roost
tawdry radish
#

if you mean engine i suggest learning godot

minor roost
#

Okay thanks

tawdry radish
#

it is lightweight unlike unity

#

but unity has more tutorials then godot

minor roost
#

Ok

brisk badge
#

Just to get behind the basics of a language

tawdry radish
#

it very fun too :D

plush walrus
#

Which language

brisk badge
#

Java, wouldn’t recommend it to anyone but for me it worked

#

The games were really simple

tawdry radish
#

ove java or python

#

or javascript but that would be for intermediate devs since you need to handle all the math and rendering stuff

brisk badge
#

Imo JavaScript is knockoff java

tawdry radish
#

no

#

java is balder then javascript

brisk badge
#

No

#

Java is more elegant imo

#

Js syntax is kinda messy

tawdry radish
#

no

#

java is ram hog

#

javascript is not

#

that is the only point which i care about

brisk badge
tawdry radish
#

yeh but for me it is a huge issue since i work on stuff that needs me to open 5-6 apps at a time

brisk badge
#

:)

tawdry radish
#

man hacking mc is hard ngl (am making good client not hacked client don't sue me)

#

(also it is like onix fyi)

brisk badge
#

Sounds weird as a designer, but i tried minecraft mods or plugins once and that was when I just started coding

tawdry radish
#

also we make good uis if that is considered designing

brisk badge
#

falls in the same category for me

tawdry radish
brisk badge
#

;)

tawdry radish
#

anyways ya use any clients?

brisk badge
#

I don’t really play on bedrock, apart from my work, so there I don’t

#

On java I use lunar client

tawdry radish
#

i see

wooden aspen
tawdry radish
#

yeh

#

am stuck on how to unload it for a week

#

i got the renderer and input working

wooden aspen
tawdry radish
#

i want to make good looking gui

tawdry radish
wooden aspen
tawdry radish
#

maybe something else later idk

wooden aspen
tawdry radish
#

nope

#

not anytime soon

wooden aspen
#

why should i use ur client instead of onix

tawdry radish
#

you don't have to

#

i mean i am just making it for my self

#

bc i don't like onix client's gui

wooden aspen
#

.

#

theres a command that change it

#

oh wait actually nvm

tawdry radish
#

nope

wooden aspen
#

it just changes the color

#

well u can make some stuff invis

tawdry radish
#

wdym?

#

if you mean making entitys invis i could make that

wooden aspen
#

no not like that

tawdry radish
#

could try making some features like turning off particals

wooden aspen
#

in the gui u can make stuff in the gui itself invis with .theme

tawdry radish
#

oh

#

that is not want i want

wooden aspen
#

u can make a dll

#

that changes the gui

#

makes everything a lot easier

tawdry radish
#

i mean he did not realy put the symbols in his dll so i don't want to even touch it

#

i asked him before and he said no

wooden aspen
#

wdym symbols

tawdry radish
#

like function names and stuff to identify what is what

wooden aspen
#

thats dumb whats the point of dlls then

tawdry radish
#

to add stuff at run time ._.

wooden aspen
#

imma leave now cuz boredom

#

hope ur project goes well

tawdry radish
#

alr cya

minor roost
#

..

wooden aspen
#

"hey guys .."
the guys: LMAOOOO HAHAHAHAH

copper ice
tawdry radish
#

no

#

it means parent dir

copper ice
tawdry radish
#

cd is current directory
and cd .. means move current directory to the parent directory

copper ice
#

Parent dir, child dir

tawdry radish
minor roost
#

@wooden aspen tell me what is use of programming in a mc server ""it's not a joke""

wooden aspen
tawdry radish
#

it does both
cd without any args will give you current directory
and with args will change it

tawdry radish
#

bro we an't talking about linux here

#

idk anymore you win

brisk badge
minor roost
distant pasture
shut estuary
#

Have I been lied to all that time

tawdry radish
shut estuary
#

Oh

#

Oh I just read the remaining convo

#

Alright I feel good again

copper ice
sharp crystal
#

🥺

brisk badge
#

I am very curious what is taught in that book

gentle patio
#

Where is that shop, I'm interested in buying

tawdry radish
#

i once saw programming for dogs

tawdry radish
#

@sweet barn bro change the spectator mode in bedrock to actual spectator mode

#

chunks reloading every second for me

sweet barn
#

It’s still locked under an experimental toggle afaik

#

So I wouldn’t be comfortable rolling that out right away

tawdry radish
#

1.18

sweet barn
#

given its subject to change

#

yeah

tawdry radish
#

1.19*

sweet barn
#

It’s under experimental toggle though

tawdry radish
#

oh

sweet barn
#

& Mojang have expressed interest in changing it

tawdry radish
#

it well the old spectator mode by you guys is just reloading chunks every secoud

#

and people going out of 5 block radius are going invis

#

@sweet barn

#

gives me that exception right after i join an other match after the glitching

#

and everyting froze

brisk badge
#

@tawdry radish it might be a good idea to just make a bug report instead of just pinging the devs

tawdry radish
#

eh am lazy

#

also it is happening to everyone

calm condor
#

can i dm somebody who knows how to work with cit packs?

wooden aspen
calm condor
#

I think it's fixed but I'll dm if I'm stuck again

minor roost
#

Hello programing

lilac jolt
#

J

sharp crystal
#

Atom is stopping :(

wooden aspen
#

the universe wouldve nsver existed withour atoms

tawdry radish
#

oh

#

i have always been using vscode so this does not affect me but kinda sadge since this was the first code editor i used

plush walrus
quiet arrow
plush walrus
#

Yea everything there should be working

tawdry radish
#

it is just the fourms api?

#

;-; i thought it had the player stats too

#

it has online players number
looks like i could put that data in my client

untold grail
#

like it's a very very bad idea to rely on anything you find publicly accessible there

plush walrus
#

Yea well there is little if any actual usage in my opinion, I'm just sharing my discoveries

untold grail
#

it's been deprecated since... well

#

nearly 4-5 years?

plush walrus
#

well the skins api is used on the appeals site still

untold grail
#

the only reason for that is we don't have the time to replace it

#

new projects internally have not used it in yeaaars

plush walrus
#

Yea makes sense

rancid trail
#

Is that api made by cubecraft itself?

#

Why not update it or make a new one if it's deprecated

#

I could've used it

#

Bet others could've as well

untold grail
#

We do have other APIs, they are just non-public

torpid crypt
#

petition to add "Public API" to the notion board, react below

tawdry radish
#

@torpid crypt @plush walrus want to scrape the stats from the server?

plush walrus
#

no

tawdry radish
#

alr

#

what about if they don't add it in 2 more years?

plush walrus
#

I don't even play cube anymore honestly

#

so like idrc

torpid crypt
tawdry radish
tawdry radish
torpid crypt
tawdry radish
#

alr then

gentle patio
#

does anyone know why this happens

#

im trying to only get an extension to work on the reports site but it says its not valid

minor roost
#

I am making a Unity game but I am a c++ programmer :((

gentle patio
#

Thats for CubeCraft questions tho

minor roost
#

Well this chat is not even for questions

#

It’s for people who doesn’t have lives

#

Like me :3

#

But yeah if you need assist you should check the staff help it would be more helpful than here

#

Also what’s your search engine?

gentle patio
#

but i need nerd chat for this issue >:(

#

chrome

minor roost
#

But it’s like war when you code in a different proglang

minor roost
gentle patio
#

whats bad about it-

minor roost
#

First of all,google! Google spies on you,steal your search history and sell it.

So definitely everyone wants privacy and google sucks for that

#

Second of all,chrome eats RAM as if it was cereal

#

Third of all,chrome is so 2008

gentle patio
#

which is best

minor roost
#

Well it depends

But

Brave
Mozilla Firefox
DuckDuckGo

Those are fantastic

#

If you want something similar to chrome then try firefox

#

If you want money while you are navigating with privacy then go to Brave

gentle patio
#

will using firefox instead of chrome as my primary browser speed up my computer

minor roost
#

Yeah firefox is the best

#

Except the part that he is not a fox

#

Firefox is a red panda

gentle patio
#

okay so it will-

minor roost
#

YE

#

IT’LL

#

Also forgot to say

C++ is the best

gentle patio
#

I downloaded Firefox, do i delete chrome now @minor roost ?

tawdry radish
#

then

#

use shaders

#

or vulkan

#

also if you are making games in unity there is a lot of useless bloat added and it will take 1 gb of ram just to run a world with simple stuff

minor roost
#

I first started with java to code mc plugins

#

Then went to python cuz I didn’t understand anything in java

#

Back to java

#

Rage quit

#

After months,go to C++

#

Love c++

#

Make my dream goal by making a game

#

Download unity

#

Return to square one with c#

tawdry radish
#

work with language you love

#

dx11 is good for making games, it gonna help you in your game dev life since it is lightweight, and you have to make everything on your own

minor roost
#

Ur wrong

#

Start by living in Antarctica

minor roost
tawdry radish
#

actually start by giving up, privacy is a thing of the past

#

anyways, who knows stuff about imgui?

#

there is no rule saying i could not ask to ask so am just doing that

#

am not asking a doubt about imgui, am just trying to flex my gui i made in imgui

#

i made it look like it is made in flutter, this is how imgui actually looks like

#

i can't find the function to do it

#

so i have to add a shader which idk how to yet

tawdry radish
#

i see you are flexing too thinksmirk

#

anyways behold i just finished a gui till the part i designed it

brisk badge
#

now thats clean

#

id make the green and red colors a bit less bright tho

tawdry radish
brisk badge
#

id use something like rgb(191, 52, 52) for red and rgb(30, 135, 47) for green

#

but its personal preference ig

tawdry radish
#

am kinda multiplying it by 225 alpha so it will look darker

brisk badge
#

oh fair

tawdry radish
#

am gonna try them thx

brisk badge
#

didnt really test them together

tawdry radish
#

kinda pops less am gonna decrease the values a little

tawdry radish
#

@brisk badge

#

tried making a gif

brisk badge
#

looks a bit better imo

wild shadow
tawdry radish
#

bro this an't flutter, anyways blur in v0.2

#

gonna release v0.1 in 2 days

#

v0.2 gonna take me more then 1 month bc school starting

#

wish i could say that

#

my school starting in 2 more days

wild shadow
#

How would you guys write regex accepting all strings not containing "CUBECRAFT"?

#

matching this DFA, blank arrows representing anything not matching any other outgoing arrow

#

sorry for the mess

spring tiger
#

^(?!.*CUBECRAFT).* ?

wild shadow
#

I have never seen ! be used in regex.

#

skill issue

#

🤓

#

I just want to know if it's doable.

plush walrus
#

well this is not really a use case of regex anyway

wild shadow
#

especially since it might pop up on an exam

#

not everything

#

Show me regex for an arbitrary number of a's followed by the same number of b's.

#

That's not doable.

#

cursed

#

(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])

#

Well, at least I can safely conclude that email verification won't pop up on an exam.

#

Unless gandalf.

#

oh heck

#

It won't even fit lmfao

#

so that's why discord won't let me search regex, even though it would be super useful in certain scenarios

#

like bro, you okay discord?

#

look, any option so that doesn't happen is good with me

plush walrus
#

Discord search is not usable imo

zinc steppe
#
 <img src="img/idosos2.jpg" class="d-block w-60 content-center" alt="idosos sorrindo"> ```
#

how the heck do i center this

#

my content-center class i made on CSS aint working

tawdry radish
#

redos?

wild shadow
tawdry radish
#

sounds kinda cool

plush walrus
#
.flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
}```
steep dagger
#

using a framework to center an image

#

xd

rancid trail
#

Q: Why do mathematicians often confuse Christmas and Halloween?
A: Because Oct 31 = Dec 25.

torpid crypt
rancid trail
#

xd

wild shadow
#

lmao what a convenient coincidence

brisk badge
#

Yep

zinc steppe
rancid trail
#

but maybe you can try margin: auto;

#

Or using flexbox
add display: flex; and justify-content: center; to the img container

zinc steppe
#

ye it worked

#

thanks

wooden aspen
rancid trail
#

:)

rancid trail
plush walrus
#

true true

rancid trail
#

Also @plush walrus saw your cube profile scanner extension a while ago on GitHub

#

Looks cool haha

plush walrus
#

yea well it's dead pretty much

#

I mean it still works

#

but has no use case

rancid trail
#

I figured xd

plush walrus
#

there used to be a project

rancid trail
#

Coincidentally I was developing a browser extension at the time as well lool

plush walrus
#

that you would visualise your cubecraft forums profile in a simple editor

plush walrus
#

but it was kinda stupid idea so ye

rancid trail
#

I see xd

plush walrus
#

you could use the extension to get your current profile and then modify it

rancid trail
#

Wdym modify?

#

Your profile?

plush walrus
#

yea like

#

preview of your profile

#

change your name, banned, avatar

rancid trail
#

ahh that's neat I guess loool

plush walrus
#

and you'd see how it would look like

rancid trail
#

Did you develop for chromium first and then port it to Firefox?

#

Or the other way around

plush walrus
#

first firefox

#

since I use firefox so it was easier with debugging etc

rancid trail
#

Ye

#

Was it a lot of work to make it compatible for chromium?

plush walrus
#

no not really

rancid trail
#

Or is there a tool for that lol

plush walrus
#

I had to update the manifest.json from ver 2 to ver 3

rancid trail
#

Or did you do it manually

plush walrus
#

since 2 is old and chrome does not support it

plush walrus
rancid trail
#

Aah okay

#

Does FF support manifest v3?

plush walrus
#

and then just one line like
browser.tabs.executeScript({file: "/scanner.js"}); --> chrome.tabs.executeScript({file: "/scanner.js"});

plush walrus
rancid trail
#

cool

plush walrus
#

you should probably use v3

rancid trail
#

Yeah cuz I developed mine for chromium (v3) and I want to port it to FF as well at one point

rancid trail
#

x)

plush walrus
#

that's good

#

well I do not think the api is much different but I haven't used it much

rancid trail
#

Not much no

plush walrus
#

just the browser object is actually called browser in ff unlike chrome in chrome

rancid trail
#

Just gotta look at the docs for some stuff that's different in v3 (I did stumble upon a few things)

plush walrus
#

also btw

#

publishing to the firefox marketplace is way easier

#

and also free

#

unlike for chrome

rancid trail
#

It's free on chrome too afaik?

plush walrus
#

no

rancid trail
#

rlly?

plush walrus
#

you gotta pay one-time 5$ to create a dev account

rancid trail
#

I thought it was

plush walrus
#

then you can publish however you want afaik

rancid trail
#

Oh bruh

plush walrus
rancid trail
#

Didn't know you had to pay to create a dev account

#

That's dumb lol

plush walrus
#

I mean,

#

yea

rancid trail
#

Welp, I gotta go on studying for my test tomorrow. Thanks for answering some questions x)

plush walrus
#

npnp

paper tangle
plush walrus
hard roost
#

isnt apple app store even worse?

paper tangle
paper tangle
plush walrus
#

+15-30% of ur paymanets

plush walrus
paper tangle
plush walrus
#

God

hard roost
#

yeah that was what i thought

paper tangle
#

This is another reason why android > apple

plush walrus
#

Ye and for Google it's 25$

#

And it's one time, then you can publish as many apps as u want

plush walrus
paper tangle
rancid trail
#

Yeah, I thought for Google Play you could only use a credit card as well but not sure

#

I can't even get a credit card where I live because I don't have a job 🤡

#

Yep, looks like credit card only

#

You'll have to ask your parents if you're under 18 in the Netherlands lmao

paper tangle
tawdry radish
#

then it is like useless server space for google

#

so they put 5$ so people will think twice before uploading it

paper tangle
rancid trail
rancid trail
#

The bank will say no 🙃

supple violet
supple violet
rancid trail
#

I'm talking about the Netherlands specifically

late peak
hard roost
#

was wondering when that would get posted here

#

stolen from a bdiscord theme

tawdry radish
#

i hate it, anyways how to make this?

#

@sweet barn can i change the string and still send it to the server, like "Boredsathvik is dancing" (am trying to make feature for my client)

#

or is it a new packet? that is only for like 6-8 strings?

sweet barn
#

Fully clientside as far as I’m aware

tawdry radish
#

alr thx

tawdry radish
sweet barn
#

It does

#

It’s a message the client makes on its own when an emote packet is sent

#

It’s never sent to the server nor is sent from the server

tawdry radish
#

ahh

#

so i can't make custom stuff out of it

#

sadge

hard roost
tawdry radish
#

oh

#

no way to cheese the interview?

wooden aspen
plush walrus
hidden wyvern
#

Guys im thinking of making my own minecraft server can anyone send me a dm with either a tutorial on how to start or a link on how to make a ip to a server ty if possible also tag me

gentle patio
#

Looks like a scam link

#

Wouldn't press that

hidden wyvern
#

ikr

wild shadow
tawdry radish
#

Brib client, gonna change name once i get nice one

distant pasture
hidden wyvern
#

Idk what to use to program

#

kk

#

ty

gentle patio
#

The program doesn't need to function for me

#

I get joy from just writing it

hidden wyvern
#

kk

rancid trail
#

I use pencil and paper and compile it via ocr 🤡

gentle patio
rancid trail
#

xd

ornate plover
#

Anyone from argentina that is studying sth related to programming?

knotty thorn
#

Just curious, for those here who program, what are your opinions on maths?

Want to know what people outside of where I live think :P

brisk badge
#

necessary, but fun as long as you understand it

tawdry radish
#

yeh

tawdry radish
#

@brisk badge i heard you are good at math, how to make a cps counter?

#

i need math behind it

plush walrus
#

Loop every second and register the clicks in between

#

After every cycle calculate the average

#

Or idk

brisk badge
#

sounds logical ye

tawdry radish
#

i tried a circular buffer but i can't fix my code

plush walrus
#

Just reset

#

Or reset average every n seconds u want

#

Or reset every seconds

brisk badge
tawdry radish
#

every second bad

#

since it will not be soo smooth

#

oh wait i think i wrote one in my before rewrite

brisk badge
#

if the cps counter changes every 0.1 seconds it is hardly readably

tawdry radish
#

yehhhh boi i wrote one lets go

#

omg it was gonna take me a hella lot of time if i did not find this

brisk badge
#

nice

tawdry radish
#

noice my past self never thought of naming it better then this

        unsigned int ldcps = 0;
        unsigned int rdcps = 0;
        for (auto clicks : lcps)
        {
            ldcps += clicks;
        }
        for (auto clicks : rcps)
        {
            rdcps += clicks;
        }```
brisk badge
#

lol

#

i stil dont understand why ppl would put {} on next line

tawdry radish
#

i wanted to put the one liner on the same line as for loop but formatter yoinks it to next line 😔

brisk badge
#

i dont rlly use a formatter

tawdry radish
#

wish i couldn't but am too lazy to not use a formatter

spring tiger
tawdry radish
#

Omg tysm

#

it already looks soo much better, never thought it was a one liner

tawdry radish
#

yooo i found why my cps counter was not working

i was converting the float to int and passing it in ._.

tawdry radish
minor roost
#

Found this in a "password generator" project :)

wooden aspen
plush walrus
#

It's here

hard roost
#

Yeah told him about it :p

plush walrus
#

Oh

#

Oops

shut estuary
#

If you're going for high performance the waiting can be skipped and the resetting of the click count can done in the retrieval of the clicks, assuming that happens exactly every one second. Otherwise this should look very nice

tawdry radish
#

does not show accurate cps doe, but sounds better tbh

minor roost
tawdry radish
#

omg i finaly figured out how to make a smooth fps counter

#

it clicked finaly took me 2 hours

minor roost
rancid trail
#

XD

#

nice

zinc steppe
#

bro my gf found what was wrong with my code in 20 secs

#

i was trying to find what was wrong for 20 minutes

tawdry radish
#

and you know how to code?

zinc steppe
#

we doing the same course

tawdry radish
#

oh

zinc steppe
#

i was doing my part of my homework

tawdry radish
zinc steppe
#

oh yeah quartz

tawdry radish
#

no i sent him the image

#

he not here

tawdry radish
zinc steppe
tawdry radish
#

i need to know for a school project

zinc steppe
#

we just started

#

and here we are

#

its been 3 months

tawdry radish
#

o_o

zinc steppe
#

her parents doesnt like me cuz i play too much videogames

tawdry radish
#

L, just make games before them become gamer behind them

zinc steppe
tawdry radish
zinc steppe
#

basically, our homework is to make a website simulating a mobile app that helps monitoring old people

tawdry radish
#

oh

#

that is too easy

zinc steppe
#

i mean we still begginers

tawdry radish
#

how you gonna moniter old people too

zinc steppe
#

please, try using your hands to type

tawdry radish
#

how are you going to moniter old people with a website?

#

@zinc steppe

#

just using the web cam?

zinc steppe
#

no, like

#

its simple stuff

#

notifications to drink his pills and stuff

#

sending messages

#

calling people

#

tests to see if the old person is fine

#

its looking kinda cool

#

im using bootstrap

minor roost
#

ok

tawdry radish
#

giving you 9/10 on that

#

the file names not english that why i removed one mark

rancid trail
#

^ xd

#

I'd especially avoid using "special characters" not used in the English alphabet like ç

zinc steppe
#

Oo ok

tawdry radish
#

also i suggest you use vite

lusty pagoda
#

@tawdry radish teach me how to code

tawdry radish
lusty pagoda
#

no, go to w3schools.

plush walrus
#

Also agree that English file naming is probably the best choice

tribal summit
#

English everything is the best when it comes to coding 😛

#

I sometimes have english programs and everything, than I see comments in my language in there and I get so confused 🤣

tawdry radish
clever escarp
#

C+ Python

#

What is coding? Coding, sometimes called computer programming, is how we communicate with computers. Code tells a computer what actions to take, and writing code is like creating a set of instructions. By learning to write code, you can tell computers what to do or how to behave in a much faster way.

brisk badge
rancid trail
#

lool

zinc steppe
tawdry radish
minor roost
brisk badge
tribal summit
brisk badge
#

others are inferior

tribal summit
#

agreed

tribal summit
brisk badge
brisk badge
#

but you dont want to see it, trust me

wild shadow
#

cursed_code

#

btw what language?

brisk badge
#

dutch

wild shadow
#

oh python

brisk badge
wild shadow
#

but isn't snake case PEP recommended?

brisk badge
#

it is i believe

#

but still, camelcase is so much more clean

#

and the dutch names are terrible enough

tawdry radish
plush walrus
#

There should be one– and preferably only one –obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.

#

The zen of python 😍

brisk badge
#

:o

quiet arrow
wild shadow
#

that's funny because Guido van Rossum is dutch

brisk badge
#

Ye python is developed in the netherlands

plush walrus
#

I could tell

tall hazel
limber maple
#

Omg

limber maple
red brook
#

egg

wild shadow
brisk badge
rancid trail
#

OwO

wild shadow
#

graph this

quiet arrow
minor roost
torpid crypt
# quiet arrow

Looks like a lot of eggs on a pan. I'll name it "the egg function". Ez

quiet arrow
#

Thank you for your input Alex

torpid crypt
#

You're welcome! 😄

quiet arrow
#

😄

brisk badge
distant pasture
#

HTML is a programming language

wild shadow
torpid crypt
next beacon
#

scratch is my favorite language

#

easily better than java

lusty pagoda
indigo nacelle
#

Pin of shame

minor roost
tawdry radish
distant pasture
#

Never knew it upset that many people 😂

#

I take back what I said

#

XML is a programming language. Send me a taco if I'm wrong.

brisk badge
#

🌮

quasi cipher
clever escarp
#

The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript. HTML. (HyperText Markup Language)

clever escarp
#

ya

#

to stop confusion

#

A programming language is any set of rules that converts strings, or graphical program elements in the case of visual programming languages, to various kinds of machine code output. Programming languages are one kind of computer language, and are used in computer programming to implement algorithms.