#ot1-perplexing-regexing

1 messages Β· Page 477 of 1

quaint rivet
#

God

#

I jsut searched for cucumber GIFs

#

i need bleach now

#

welp

cosmic lotus
#

Uh oh

mild abyss
#

@quaint rivet watch those 'tjhings'

cosmic lotus
#

Lemme see

quick bay
#

internet rule 34

mild abyss
#

yup too many things

sour forge
#

@mild abyss it was an open ended question, so yeah it might mean dice_6 too

quaint rivet
#

@mild abyss tjhings?

mild abyss
#

'things'

#

@mild abyss it was an open ended question, so yeah it might mean dice_6 too
@sour forge look at your sentence

#

read it slowly

#

then code it

quaint rivet
#

my productivity went from 100% to 10% today

#

welp

cosmic lotus
#

mines gone when it started

quick bay
#

ive done absolutely nothing today

quaint rivet
#

i think i only started up a new server today and deployed the testing branch

sour forge
#

accidental flex

royal rune
#

how use linux

#

some1 teach

sour forge
#

what do you want to learn? @royal rune

royal rune
#

ubuntu

#

thing

#

it scares me

sour forge
#

yeah what exactly

royal rune
#

uhhh

#

idk

#

ill come back to it

#

byeb yew

sour forge
#

Linux is too big to teach

#

you need to get started with something

quaint rivet
#

just read this

#

ez

#

@royal rune ^

rough sapphire
#

Who developed the Linux kernel?

#

Easy.. I did

#

back in 1991

topaz aurora
#

ot1-death-by-rotational-kinetic-energy is literally just JoJo Part 7

sour forge
#

or is it the other way round?

topaz aurora
#

either way works fine

cosmic lotus
#

tusk act 4

mild abyss
#

i see. so many jojo reference

cosmic lotus
#

wait what

#

what happened to pink shark

eternal wing
#

rebranded. No longer a tsundere shark

tough schooner
#

fumber fixteen, furger fing foot fettuce, fhe fast fing fou fant fon fay furger fing furger, fis fomeone felses foot fungus

cosmic lotus
#

f

tough schooner
#

f indeeed

tribal aurora
#

What tf is wrong with these server

#

They are all stupid

cosmic lotus
#

oh I thought this was here

#

where was that

quick ledge
#

thats "linux" discord

#

they only support Ubuntu and friends

cosmic lotus
#

sad

quick ledge
#

they don't like mint, manjaro,etc and even shit on arch

fading umbra
#

Why tho

tribal aurora
#

they only support Ubuntu and friends
@quick ledge πŸ˜‚

quick ledge
#

idk

tribal aurora
#

yea

#

nono

#

they like arch

quick ledge
#

THey should be renamed "Ubuntu and Friends"

#

fr

tribal aurora
#

yea

#

this server right there

quick ledge
#

they like arch
@tribal aurora not exactly.
they shit on it too
and say pacman is shit

tribal aurora
#

nnoo

#

there's like 89 people use arch

#

even mods use arch

cosmic lotus
#

How would they react if you say "I use arch btw"

quick ledge
#

one of the mods, yeah

tribal aurora
#

i dunno

quick ledge
#

and even they simp for ubuntu

tribal aurora
#

They don't belive me

quick ledge
#

How would they react if you say "I use arch btw"
they don't like such memes

#

i think

cosmic lotus
#

What fools

quick ledge
#

they don't like Stallman memes for sure

eternal wing
#

I...

tribal aurora
#

use arch btw

quick ledge
#

no don't say it...

tribal aurora
#

lol

eternal wing
#

I didn't have to 😎

quick ledge
#

lol

cosmic lotus
#

He did 😎

eternal wing
#

Also I dont get how they don't support manjaro?

Did the Manjaro devs start their own server and hurt their feelings?

tribal aurora
#

They are like this

cosmic lotus
#

"Btw I use arch" speedrun Any% WR

frozen thorn
#

I use arch btw

tribal aurora
#

*Silence...

rough sapphire
#

wow there is two kind of linux servers now
server with debian based and rest of the world

#

@tribal aurora join r/archlinux

tribal aurora
#

ahh

#

I'm too lazy to write a issue

#

Also I've joined

rough sapphire
#

no the discord server

mild abyss
#

What tf is wrong with these server
@tribal aurora what happened

#

thats "linux" discord
@quick ledge lol linux discord that dont support any other distro but Ubuntu xD. ew

#

thats not a linux discord then

#

they should call it Ubuntu Discord

solid pollen
#

Well, they have tarball releases

frozen thorn
#

πŸ™‚

cosmic lotus
#

nice voronoi πŸ™‚

mild abyss
#

@frozen thorn what edition :3

frozen thorn
#

KDE plasma

mild abyss
#

Mikah?

#

Manjaro 20.1 Mikah?

frozen thorn
#

Yeah 20.something

mild abyss
#

why your wallpaper looks different and cool

frozen thorn
#

Do you use manjaro too?

mild abyss
#

Yup

frozen thorn
#

KDE?

mild abyss
#

My laptop is full manjaro

#

desktop is windows 10

#

KDE Plasm

rough sapphire
#

how the ram usage in kde?

frozen thorn
#

Ya, what's the name of this task manager on manjaro?

rough sapphire
#

you can type free in terminal

#

free -h

#

htop works too

frozen thorn
#

So far I found

#

Yeah, just found htop

topaz aurora
#

Another one fell hyperlemon

frozen thorn
#

I like ksysguard

topaz aurora
#

Our numbers grow by the minute hyperlemon

frozen thorn
#

Do you guys use chromium on manjaro

rough sapphire
#

I use firefox

mild abyss
#

Do you guys use chromium on manjaro
@frozen thorn nope

rough sapphire
#

i tried chromium but i didn't like the regex engine

mild abyss
#

I use chrome

#

i betrayed firefox

#

firefox has lost its appeal

#

:((

frozen thorn
#

I guess I should install chrome

#

I set the resolution, but it's a bit blurry

mild abyss
#

canary chrome is nice

#

pamac install google-chrome-dev

rough sapphire
#

Why not use brave or safari if you care about privacy?

mild abyss
#

Why not use brave or safari if you care about privacy?
@rough sapphire Brave is trash and a liar

#

Too much bitcoin related ads

frozen thorn
#

ty for the link

topaz aurora
#

Firefox + uBlock Origin lemon_pleased

mild abyss
#

@frozen thorn in order to use pamac, you need to modify the prefernces

#

chrome has ublock origin too hmm

frozen thorn
#

I like firefox better than chromium

rough sapphire
#

why chrome though? you could use chromium

frozen thorn
#

Netflix

mild abyss
#

the firefox i like is firefox nightly

#

Netflix
@frozen thorn hmm?

frozen thorn
#

For me at least lol

topaz aurora
#

Firefox Quantum is such a good name

mild abyss
#

chrome renders netflix better?

frozen thorn
#

chromium I mean

mild abyss
#

okiee

cosmic lotus
#

What music do you guys listen to

frozen thorn
#

none

quaint rivet
#

emo

rough sapphire
#

best music πŸ™‚

quaint rivet
#

noooo

cosmic lotus
#

Smh my head you guys dont know real music

frozen thorn
#

I don't have Octopi, do I download the packages for it?

frozen thorn
quaint rivet
#

noo

frozen thorn
#

What's up?

#

Welp, it's 4:20am. Gotta sleep.

#

gn

magic perch
#

Good Night

tribal aurora
#

Let's go.
@frozen thorn KDE

#

but I don't prefer this panel

#

Because I can't really see minimized windows

#

like discord

rich rover
#

Isn't the KDE open-source?

rough sapphire
#

I just had my knee got put back in cause it dislocated this morning... Why do bad things happen to good people?

rich rover
#

That's life for you, mate

#

Hope you're okay

rough sapphire
#

It's the third time my knees dislocated, also thank you I am fine now!

rich rover
#

My wrist was dislocated once

rough sapphire
#

Yikes, did it hurt?

rich rover
#

surprisingly, it didn't

#

the pain only comes during the operation

rough sapphire
#

We're you put under anesthesia?

rich rover
#

No

#

My face went blue because of the pain

rough sapphire
#

Yikes, the bumpy roads made the trip to the hospital worse so my experience isn't great either, how did you even dislocate your wrist?

rich rover
#

it was a school prank

#

and the wrist bone was bulging out of my arm

#

and the roads were also bumpy

#

but the adrenalin reduced the pain

rough sapphire
#

damn, i woke up and saw a clothing basket right down my stairs (i'm sleeping in a bunk bed on the top) and decided to go get dressed for school by jumping around with it and as soon as i left the kitchen i slipped with the basket and hit my knee and it got dislocated, other incidents weren't caused by stupidity so i have learned my lesson haha.

rich rover
#

ouch

rough sapphire
#

yeah, since this occurs to me fairly often i'm getting a surgery next year so that's a relief for me.

rich rover
#

ah, hope it gets better

rough sapphire
#

thanks ❀️

narrow pecan
#

Some Christian guy is standing on the top of a car/truck with a megaphone and talking about how the sinners should believe in god and talks about how they should especially do it now in the corona times

#

I mean, really? Haven’t seen anyone do that in literally years or maybe ever here in Sweden

cosmic lotus
#

At least buildings aren't on fire

narrow pecan
#

Why would they be?

cosmic lotus
#

Oh you mean not in the us

narrow pecan
#

Yeah or wut

#

Now he’s threatening that hell is real and that all non-Christians will go there when they die

round rose
#

oh that's just common sense /s

narrow pecan
#

Ofc

quaint rivet
#

oh no

rough sapphire
#
bool p; // uninitialized local variable
if(p) // UB access to uninitialized scalar
    std::puts("p is true");
if(!p) // UB access to uninitialized scalar
    std::puts("p is false");

Possible output:

p is true
p is false```
#

what the fuck

#

c is nasty

#

got that from here

young shoal
#

i mean, technically the implementation can do whatever it wants

#

it could teleport you into the sun if it wanted

solid pollen
#

The output shown was observed on an older version of gcc

#

I mean

#

It was probably not intended

rough sapphire
#

it could teleport you into the sun if it wanted
xd

#

sounds like fun

quick ledge
#

More fun than whatever the fuck is going on earth rn

cosmic lotus
#

Just found out September has a Christmas version called December

quick ledge
#

cool

honest star
#

"who here knows about recursive programming" this class is so painful sometimes

topaz aurora
#

huh

honest star
#

It's a grad class about numerical methods. I hope the people in this class have dealt with recursive functions

rough sapphire
#

@rough sapphire i believe that's c++

#

fuck c++ then

#

nasty language

topaz aurora
#

C is a relatively sane language

#

That is if you know what you're doing

sour forge
#

which you don't

#

so it's an insane language instead

rough sapphire
#

malloc my ass lol

sour forge
#

that being said i am honestly awed by C++ and hope I'll learn it to be actually use in real world projects

rough sapphire
#

c++ is fine just some of the conventions are wack

sour forge
#

yeah you have to write a loop to find the length of an array :/

topaz aurora
#

How bad of a practice is malloc-ing without checking if it fails or not

haughty fractal
#

how sane would you call Rust?

rough sapphire
#

i don't personally like the rust syntax, but it looks like a very sane language

#

don't know if the standard has many holes though

haughty fractal
#

Isn't rust syntax similar to that of c++

topaz aurora
#

how sane would you call Rust?
@haughty fractal Memory-safe

#

also being able to tell the correctness of your program based on whether it compiles or not

waxen saffron
#

For a person getting into low level prog , would it be a wise choice to go directly into Rust?

rough sapphire
#

prob some experience with c would be good

topaz aurora
#

I also suggest C

rough sapphire
#

learn basic things like pointers, memory management and blah blah blah

waxen saffron
#

C -> rust ?

topaz aurora
#

C then Rust, sure

waxen saffron
#

So it can do everything Cpp can do but memory safe?

topaz aurora
#

Well technically any language that can interact with your hardware can do anything

waxen saffron
#

What about speed ?

#

Community?

topaz aurora
#

Rust doesn't have classes, it has C-style structs and traits which is a fancy name for interfaces

#

Generics are there as well

#

Rust is fast

#

and yes, it has an active community, plus, you have an actual package manager

waxen saffron
#

Thanks

haughty fractal
#

phew I decided on learning C first

#

I still remember the day i did C# and Python and was like: "this shit's easy"
1 year later: tries low level languages

topaz aurora
#

I've tried doing C way before I was qualified to make decent Python programs

#

It was bad to say the least

haughty fractal
#

hey um can I ask some advice from you guys....?

#

Learning Advanced Python v/s Going for a low level language

rough sapphire
#

depends on what you want to program

haughty fractal
#

Idk.
At this point all aspects seem exciting

rough sapphire
#

Then try low level a bit just to know what it's like

#

then you can choose and focus on something

quick ledge
#

ooooh, pure has joined the gurkult

rough sapphire
#

just for the meme?

haughty fractal
#

Thanks!

sonic river
#

How bad of a practice is malloc-ing without checking if it fails or not
@topaz aurora it's one of these "good Γ©tiquettes" we're all supposed to follow despite malloc failing once every millenia

topaz aurora
#

Fair enough

sonic river
#

traits which is a fancy name for interfaces
You're gonna trigger Haskell and rust developers πŸ™ƒ

scenic blaze
#

C is fun for writing algorithms. Idk for writing actual programs

#

ASM is also uh... an experience

sonic river
#

I got a call back for a robotics/vision position and I'm scared I'll have to write C

scenic blaze
#

Yeah, I think they're still c/cpp

#

As an industry, but maybe you found a shop that does something else

sonic river
#

They listed python c cpp java, as long as I don't touch the Java part I'll survive, but if I can also not do C I'll be happy

young shoal
#

java is pog

topaz aurora
#

You're gonna trigger Haskell and rust developers πŸ™ƒ
@sonic river Typeclasses are interfaces wdym

sonic river
#

The jvm is a lot better than many people make it out to be, but Java itself gives me nausea

scenic blaze
#

In my experience, if a company lists c and cpp it's because there is legacy code in c even if it's not being actively written

topaz aurora
#

I jest, of course

sonic river
#

Typeclasses and interfaces solve the same problem, but they're not the same thing

scenic blaze
#

Especially if they're also including python in there

sonic river
#

I was to blow up

#

About to

scenic blaze
#

rofl

sonic river
#

You're lucky I have to get into this train fingerguns

young shoal
#

o

scenic blaze
#

Train without wifi, smh

topaz aurora
#

I mean I thought it was obvious that I was just kidding given that I do know Haskell

scenic blaze
#

When we're talking about sanity of languages, Haskell just looks insane to me

sonic river
#

Your nickname should have gave it away that's true

scenic blaze
#

Although I don't know what "sane" means in the context of programming languages

sonic river
#

Tho it's a pleonasm

#

Don't "impure functors" break the functor laws

scenic blaze
#

I learned a new word, thanks

topaz aurora
#

It just sounds cool

#

But I guess it depends on the context of pure

scenic blaze
#

For what purpose did you pick up Haskell?

sonic river
#

Brain expansion

#

The only reason

#

(I don't even do Haskell I'm a pleb ocamlist)

#

And I read Haskell code my friends talk about

scenic blaze
#

That's fair. I picked up ASM for the same reason.

sonic river
#

For real tho, you 1000000% should pick up a ML based language, whether it is Haskell, Ocaml, f#, standard ML,...

#

It's enlightening

topaz aurora
#

Same reason although I believe I'm the only one who does it on a 20 km radius from my location

sonic river
#

It will make you hate other languages tho

haughty fractal
young shoal
#

cringe

sonic river
#

I don't understand

round rose
#

public static void tain, obviously

scenic blaze
#

Oh, the sum of all torques

round rose
#

I like the psvt version more

scenic blaze
#

This equation isn't the perfect representation of Newton's second law for dynamic motion, but it's close enough. The statics equation is sum of all forces and sum of all moments = 0

#

This is the best dynamics equivalent

#

It should technically be two separate equations

#

But eh

#

Actually, combining them should still be fine because the units are different

rich rover
#

Isn't this a combination of both the third and the second laws?

#

Where a net force is equivalent to the product of both the acceleration and mass

#

And the third is the equilibrium between two forces, equal in moment and magnitude?

scenic blaze
#

I suppose dynamics also includes the first law as well as the second and third, haha

rich rover
#

Ohhh

#

I get it now, hahaha

scenic blaze
#

I believe the third law comes into play more once we introduce a system

#

Whether that's interacting with an external system or breaking an "object" into parts and looking at it internally

#

I'll be honest, it has been a while since my intermediate dynamics course

rich rover
#

It does make sense, it's just a far fetched idea, but I got what you meant

#

Dynamic physics is fun

#

And I'm mostly amazed at how things relate to each other

#

Such, newton's third law will never be if the first law wasn't satisfied

rough sapphire
#

How many members are in the Gurkult

quick ledge
#

not enough

cosmic lotus
#

we need more

rough sapphire
#

do my nick conform to the standards or gurkuranus would be better?

cosmic lotus
#

LMAO

rough sapphire
#

you need to have gurkan as substring

cosmic lotus
#

🀣

rough sapphire
#

If it matches the RegEx /gurkan/, it is enough

cosmic lotus
#

It does comply with the gurkan name though

rough sapphire
#

then it's better this way

cosmic lotus
#

Just say it has historical significance if anyone asks

proud gust
#

my mac touchpad is tripping me up

#

it's like it senses when a finger is touching it and blocks the button otherwise

silver ruin
#

lol

rough sapphire
#

can Linux wipe the Windows partition when dual-booting?

graceful basin
#

in theory yes, but in practice it tends to be the other way around. Linux tends to not delete partitions unless you tell it to do so

#

same for windows, but sometimes the update process messes up AFAIK

#

hasn't happened yet for me, so it is probably fine

rough sapphire
#

would it be safe for me to install Linux on my mom's laptop, she keeps Windows and i use Linux, would that be safe?

graceful basin
#

if you are confident to install it correctly, yes. I suggest trying it out on a similar VM beforehand

rough sapphire
#

i mean, i never experienced issues when dual-booting Windows with Linux on my machine but i've been hearing some things about Linux getting rid of Windows...

graceful basin
#

you could also try WSL

#

it is good enough generally

rough sapphire
#

i mean yeah but I'm looking towards the "full" Linux experience

#

but I'll see what i can do, hopefully my ass won't get whipped

young shoal
cosmic lotus
#

yert wth is that

frozen thorn
#

Last 2 lines, so confusing

young shoal
#

it's swift

cosmic lotus
#

swift or obj-c?

young shoal
#

swift

quick bay
#

wait is a string not a in language function ?

young shoal
#

string is, it's just that you can't access the nth char with subscripts

cosmic lotus
#

wait so is it returning a whole string everytime you use subscript?

young shoal
#

no

cosmic lotus
#

so that's a type cast?

young shoal
#
let s = "hello world"
print(s[3])
#
main.swift:3:7: error: 'subscript(_:)' is unavailable: cannot subscript String with an Int, see the documentation comment for discussion
print(s[3])
      ^~~~
Swift.String:3:12: note: 'subscript(_:)' has been explicitly marked unavailable here
    public subscript(i: Int) -> Character { get }
sonic river
#

What's the reasoning behind that choice

young shoal
#

Β―_(ツ)_/Β―

#

time to read the docs

cosmic lotus
sonic river
#

That's fair tbh, how would indexing the string using a given encoding look like ?

young shoal
#

no idea

graceful basin
#

you cannot index into UTF-8 strings by character

young shoal
#

woah wait you're orange woahhhh

graceful basin
#

and you really want to be using UTF-8 by now. Java solves this with UF-16, python by autoscaling char width by widest character in the string

young shoal
#

why should we use utf-8?

graceful basin
#

space efficient

young shoal
#

oh

uneven nacelle
#

I hope since this is off topic it’s okay to bring this up here

#

Someone in another server expressed hatred of a C# program I made and now I feel like a total idiot

sonic river
#

People online like to show how much better than others they are

#

It's also very easy to pass off as smart through text

eternal wing
#

donut
in donut
blender guruception

sonic river
#

And it is also possible that your code was terrible, yet in a few weeks you will look back at it and wonder at how much you have improved

uneven nacelle
#

It had flaws

eternal wing
#

thats funny, this is similar to ot0 rn haha

sonic river
#

When did you start programming in C# ?

#

and/or programming at all, for that matter

uneven nacelle
#

For optimization purpses it was severely lacking but it performs its function

#

3 weeks ago and 10 months ago respectively

eternal wing
#

also: you should never feel like an idiot, especially if you are still learning (which every programmer always is)

#

3 weeks ago and 10 months ago respectively
@uneven nacelle if you got any programming working in that time, you should feel super proud

graceful basin
#

no one makes perfect code

sonic river
#

You are still very young (as in you started not long ago) in the grand scheme of things, the good news is that you can only improve, we all write bad code anyway, the goal is that our code becomes less bad as time goes on

uneven nacelle
#

Okay thank you

#

What really irritated them was I tried to test C#’s speed by running this suboptimal program

#

It was kinda silly of me though

sonic river
#

Again, it's ok to make mistakes, your code now will give your future self nausea

#

The only thing to take away when that happens is that it will mean you improved

eternal wing
#

it is good to listen to people's criticisms. It is how you learn. Code review is an excellent way to learn. But you should also never take any of this criticism personally.

My code reviews can sound harsh (even though I am very polite about it), but it is mostly to help that person learn.

quaint rivet
#

thats funny, this is similar to ot0 rn haha
@eternal wing fr yert

uneven nacelle
#

Yeah and the code was totally worth criticizing as well

#

But the way they went about it wasn’t respectful at all...

eternal wing
#

and yeah, it is really fun to learn a bunch, then cringe at your old work. I do it every couple of months. Sometimes every couple of weeks xD

#

But the way they went about it wasn’t respectful at all...
yeah, and that is not ok imo

uneven nacelle
#

I could optimize it but honestly it works and I think I should just move on to other stuff

quick ledge
#

did you ask them how they would improve your program?

uneven nacelle
#

Not exactly

quaint rivet
#

unsolicited opinions hm

uneven nacelle
#

I asked them what I should do differently for speed but they rewrote pieces of my code and made a website titled β€œWhat <program> Should Be”

eternal wing
#

lol, that is a lot of effort

uneven nacelle
#

I know damn πŸ˜‚

graceful basin
#

y'know, I could probably find holes to poke in most scripts over ~20LOC if I wanted to make someone feel dumb.

#

so don't worry too much

uneven nacelle
#

I used arrays to simulate complex numbers which is apparently a big no no in terms of speed

#

Whoops! πŸ™ƒ

quaint rivet
#

and remember there is no single solution for every problem, you solution might differ than others (prob not, idk in case consider optimal solutions, someone add kthnx)

uneven nacelle
#

Yep that ^

graceful basin
#

arrays for complex numbers are in no way horrible

sonic river
#

I mean, it is definitely bad

#

most languages have complex numbers builtin in 2020

#

even C has them

uneven nacelle
#

Well I wanted to create the complex numbers from scratch

sonic river
#

well then, that guy was just being a dick

#

it's not like there is a much better implementation possible that doesn't involve hacks

uneven nacelle
#

But even so I think a struct is better for that purpose

graceful basin
#

a struct is better indeed

sonic river
#

what solution did he propose ?

uneven nacelle
#

A struct

graceful basin
#

I generally just use 2 variables when I do not have a builtin though

#

by far the best performance

uneven nacelle
#

For Python?

graceful basin
#

since the compiler can make the variables into registers

#

for python I just use the builtin complex numbers

#

but in C, (used an older version, no complex there) I did just have double z, zi

uneven nacelle
#

Really?

#

Wow that’s kinda what I did for C#: β€œdouble[] number = {real, imag}”

graceful basin
quaint rivet
#

See? this is a civilized discussion that allows one to improve without making them feel bad :))

uneven nacelle
#

Yes this is more civil huh? πŸ˜‚

#

In the future I will def use structs

graceful basin
#

the advantage of 2 separate variables over an array is that the compiler is free to have them in entirely different places of memory, or not even have them in RAM

uneven nacelle
#

Ahh

#

And then it doesn’t have to split the array each time

graceful basin
#

splitting an array is really fast

uneven nacelle
#

Split was the wrong word

#

Uhh... index?

graceful basin
#

that is still really fast, sometimes literally not taking any time

uneven nacelle
#

I also created a lot of new arrays for each operation

graceful basin
#

well, in C/C++ at least, but I think C# has great optimizers too

sonic river
#

yeah careful with making too many assumptions at the cost of making the code less readable

#

especially in languages like C#, it's really hard to be sure of what's happening

graceful basin
#

so it is probably not horrible. A struct would be better idiomatically, since you generally do not want arrays where each element means something else

uneven nacelle
#

The most difficult to read section would be the string parsing

#

Hang on I can post a link if you guys care

#

It’s also difficult to tel what variables are referring to, but that’s just me messing around

#

We don't have to go into detail though if this is a Python server

graceful basin
#

you may want to look into regex for that parsing

uneven nacelle
#

Yeah I’m not sure how it works but I’ll google it

#

150 lines of code to turn β€œ2.7-3.2i” into a number is just exhausting for everyone

small fossil
#

speaking of regex

#

i recently learn that Rust's regex engine uses a completely diffrent system compared to most others guaranteeing linear time matching compared to the possibility of exponential matching times like python's system

graceful basin
#

I wonder if that makes it not match some things

small fossil
#

I haven't had any issue with matching so far, though I definately appreciate the consistencies and speed

#

The trade off is loosing look around and backreferences

eternal wing
narrow pecan
#

Nice!

eternal wing
#

bad! haha

narrow pecan
#

The startup time is always the longest

manic bloom
#

^

eternal wing
#

fun fact: this code does not work and I am bad at react

narrow pecan
#

Better skill next time

quaint rivet
#

why did we choose react then

narrow pecan
#

It’s nice

eternal wing
#

hmmm, not sure where I am messing up, I never do functional components

#

this just does not render πŸ™ƒ

narrow pecan
#

Hmmm

#

Any errors anywhere?

#

Console/terminal

bleak lintel
#

looks correct

undone berry
#

hmmm, not sure where I am messing up, I never do functional components
You're doing React wrong if you don't do functional stuff

#

it's the way forward

eternal wing
#

update: why TF is forgetting a comma not an error?

bleak lintel
#

lol

eternal wing
#
function App() {
  return (
    <div>
    <HeroBanner />
    <parkingPage />
    </div>
  );
}

export default App;
bleak lintel
#

yeah I use a lot more functional components now

#

useState is super nice

eternal wing
#

WHY, why is this not an error

#

yeah, I need to learn react better xD I did it for a month before the code jam, then I stopped

undone berry
#

what's that

#

why

eternal wing
#

hmmmm, double update: still wont render, hmmmm

#

because vscode auto generated

narrow pecan
#

Maybe (probably) it’s an issue with the rest of the config

eternal wing
#

yeah, only the first component is rendering

narrow pecan
#

I assume the page isn’t even reaching the correct endpoint

eternal wing
#

yeah

narrow pecan
#

Have you added it in App.js?

eternal wing
#

HeroBanner renders fine, but not my parkingPage

narrow pecan
#

No PascalCase?

eternal wing
#

herobanner is getting deleted Lel

#

camelCase hooray

narrow pecan
#

Yey........

eternal wing
#

the function is camelCase, but the file is PascalCase

#

I am very confused why this is not working actually haha

#

parkingpage is returning nothing

narrow pecan
#

Did you mean that you can get any component to work?

eternal wing
#

it is empty

young shoal
#

PascalCase, more like CringeCase

eternal wing
#

/it is not using the imported parkingPage

narrow pecan
#

Can you make the rest work with some other component?

#

(So we can see if it’s a problem with the config or the component

#

@eternal wing you know what?

royal lakeBOT
narrow pecan
#

Time to sleep. Nighttt

young shoal
#

night night @narrow pecan

eternal wing
#

nightie night, I will get react working. Cant open a react help channel haha

#

it is forsure an issue with the component.

quaint rivet
#

ask it in speakjs server

#

oww it's whitelisted

#

epic

eternal wing
#

im on reactiflux, this is not a question worthy problem. It is a im too lazy to read docs rn

#

ok, now I can work on it again. Silly actual work getting in the way of gurkan work

quick bay
#

im always to lazy to read docs

eternal wing
#

update: apparently having my function NOT PascalCase causes it to not import

quaint rivet
#

lmfaoo

eternal wing
#

that seems not right, but I changed it to PascalCase and renamed it with caps everywhere and now it imports. Very odd

quaint rivet
#

🀣

eternal wing
#

and very very upsetting

quaint rivet
#

dude don't be a rebel

#

just use PascalCase

eternal wing
#

I realize I am importing the file, not the function

quaint rivet
#

I mean yeah

eternal wing
#

I am new to this haha

#

I was treating it like python imports

quaint rivet
#

Nah they are different

eternal wing
#

haha

#

well now I realize

#

what is the difference between imports in brackets and not in brackets then? haha

quaint rivet
#

they are quite different

eternal wing
#

tytyty

rough sapphire
#

@eternal wing bookmarks say your uni

eternal wing
#

ty, I am open about it though

#

ty for looking out xD

rough sapphire
#

oh ok

quaint rivet
#

haha

eternal wing
#

genuinely appreciate it

rough sapphire
#

just wanted to make sure you knew

terse sluice
#

so do you like Canvas?

quaint rivet
#

he watches Netflix

rough sapphire
#

lol

terse sluice
#

calculus is so tedious sometimes

#

very annoying

whole socket
#

I agree

young shoal
#

I agree

eternal wing
#

so do you like Canvas?
@terse sluice canvas was ok. It could be buggy, but it gave me the info I needed.

A lot of older profs refused to use it though....

honest star
#

The trick to calculus... is just to use wolfram alpha

young shoal
#

.wa graph heart

honest star
#

and if that fails, you use numerical methods

median domeBOT
young shoal
#

oh

eternal wing
#

The trick to calculus... is just to use wolfram alpha
this is how I passed calc

rough sapphire
#

.wa calculus

median domeBOT
terse sluice
#

i just got a calculator that can do everything thank goodness

#

but i still want to learn this stuff lol

quaint rivet
#

i don't remember what calculus was anymore

rough sapphire
#

use rpi wolfgram

quaint rivet
eternal wing
#

tbh I learned almost nothing in calc except how to do really well on calc homework

#

and get a minimum passing score on a final

rough sapphire
#

rpi has mathamatica for free

quaint rivet
#

what does calc look like

eternal wing
#

lots of greek symbols xD

quaint rivet
#

lemme Google hmm

honest star
#

I do love calculus though. It made sooo much other stuff in math make sense

eternal wing
rough sapphire
#

what are some basics you need to learn before learning calculus

quaint rivet
#

oh

#

integrals

eternal wing
#

you need decent algebra

#

thats it

young shoal
#

you need to be good at alg

whole socket
#

@honest star sadly can't use wolfram becuase 90% of my prof's grading is the work

quaint rivet
#

I was good at differentiation

terse sluice
quaint rivet
#

not integral much

young shoal
#

bruh f1re

#

are you kiddingme

rough sapphire
#

just good algebra

eternal wing
#

thats op

rough sapphire
#

nthing else

whole socket
#

also he's such a back teacher a 55% is a C and 30% of people still won't get a C

terse sluice
#

lul

honest star
#

@whole socket wolfram alpha pro is worth the $8/month

#

Then you get step-by-step

whole socket
#

ah

terse sluice
#

i ain't calculating the derivative of that shit

rough sapphire
#

wolfgram is free on rpi

honest star
#

f1re that's not even that bad to calc the derivative of

terse sluice
#

it takes too long

#

quotient rule blah blah blah

young shoal
#

just don't use the quotient rule lol

#

it's bad

terse sluice
#

it is pretty bad

young shoal
#

make the exponent negative and use product rule

rough sapphire
#

what is the quotient rule

terse sluice
#

f/g = (f'g-g'f)/g^2

young shoal
#

so fast lmao

terse sluice
#

lol

rough sapphire
#

what does he ' do

young shoal
#

prime

#

means the derivative of the function

rough sapphire
#

oh

#

so f and g are functions

terse sluice
#

it's cool how calculus ties into physics though

young shoal
#

of course

#

that's why it was invented

rough sapphire
#

what is browser automation

#

i have a bit of knowlege

young shoal
#

you uh...automate your uh...browser

rough sapphire
#

thank you

eternal wing
#

there are no warnings or errors for this, but vscode is not happy

whole socket
#

lmao

#

love when that happens

eternal wing
#

time to use pycharm exclusively

terse sluice
#

ctrl shift p + reload window

sour forge
#

guys can someone recommend me a good book? Something I can read before bed, so nothing too heavy. I don't have any preferences, it just shouldn't be about politics lol.

rough sapphire
#

hello anyone here

eternal wing
#

guys can someone recommend me a good book? Something I can read before bed, so nothing too heavy. I don't have any preferences, it just shouldn't be about politics lol.
@sour forge Dark Matter by Black Crouch, it can be a bit heavy though xD

sour forge
#

By heavy do you mean long? I have no problem with long. However I don't want a book that'd keep me up at night too.

quaint rivet
#

lol

#

not in that sense

#

might keep u up at night yea

sour forge
#

if my heavy you mean kgs then I am gonna read the ebook version anyway so that won't bother

quaint rivet
#

lmao

sour forge
#

huh that looks interesting tho

quaint rivet
#

quantum fiction

eternal wing
#

It is one of my favorites. Pretty short though.

quaint rivet
rough sapphire
#

hey

quaint rivet
#

hello

rough sapphire
#

so explain

quaint rivet
#

so what were your findings?

rough sapphire
#

ah

#

ctrl + f "send_dm"

quaint rivet
#

that looks like something else though lol

rough sapphire
#

this better?

#

its logged in the dm_log channel and then responded to with send_dm

quaint rivet
#

that's log channel I think

rough sapphire
#

nope

#

thats DMRelay

quaint rivet
#

for internal purposes not us

#

anyway lol

#

it's a joke

quick ledge
#

thats a log channel, where the mods can view the messages

quaint rivet
#

it doesn't respond to messages :P

rough sapphire
#

can you send me screenshots of your dms with the bot?

quick ledge
#

it does, if the mods feel like replying to a message

quaint rivet
#

I mean

#

they might have smth setup

rough sapphire
#

i already told you how it works

#

it logs into the dm_log channel and mods can respond with !send_dm

#

can u send the screenshot tho

quaint rivet
#

bot didn't reply to me lol

rough sapphire
#

you said it did

quaint rivet
#

jokes

tribal aurora
#

thanks vscode
@eternal wing reload it

eternal wing
#

ty

tribal aurora
#

Anyone here recommend js?

eternal wing
#

I mean, yeah xD

#

I am doing JS now

tribal aurora
#

oh really

#

xD

eternal wing
#

that was js in the screenshot haha

tribal aurora
#

hehe

#

I didn't know

eternal wing
#

haha, it is react

tribal aurora
#

I know python and C++

#

haha, it is react
@eternal wing GUI?

#

Grapical User Interface?

eternal wing
tribal aurora
#

*h

#

Isn't react for GUI?

#

I thought it is

quaint rivet
#

GUI

#

is different in terms on website

#

they call it front-end there

tribal aurora
#

hmm

#

Do you know C++ ?

cursive abyss
#

cout << "nope"

frozen thorn
#

you forgot using namespace std;

tribal aurora
#

yea

cursive abyss
#
#include <iostream>
using namespace std;

int main() {
    cout << "I fixed it";
}
tribal aurora
#

But I don't recommend using that

#

nope

#

!code

royal lakeBOT
#

Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.

To do this, use the following method:

```python
print('Hello world!')
```

Note:
β€’ These are backticks, not quotes. Backticks can usually be found on the tilde key.
β€’ You can also use py as the language instead of python
β€’ The language must be on the first line next to the backticks with no space between them

This will result in the following:

print('Hello world!')
quaint rivet
#

I know a bit of C++ but it's been a while since I have written stuff in it, so i am a bit woozy

simple sand
rough sapphire
#

ok

simple sand
#

lol

quaint rivet
#

I'm gonna take my horse to the old town road

sour forge
#

🍴?

errant wyvern
#

am i the only one who doesn't want to sign the cla and register to bugs.python.org because it asks you for your real name and address?

strong hemlock
#

Hey, so there's this video that the more you watch the longer it gets

#

Any idea why is it bugged?

frozen thorn
#

wow, interesting

strong hemlock
#

-4473924:-17 is its length

cosmic lotus
#

There is only one reason for this

#

le fishe

strong hemlock
#

if anyone knows why is it bugged please let me know

solid pollen
#

Probably some f*cked up metadatas

tranquil orchid
#

Yeah theres lots of videos like that

rich rover
#

This isn't a bug

#

You just mess with the header

#

You should open the hexadecimal editor and fix video duration at the header

#

The video doesn't get longer, it's just some neat tricks and fun

#

Here's a source

sour forge
#

God that video seems very old but it's actually from June this year wow

rough sapphire
#

You can see that CB is the radius that we need to find

sour forge
#

ikr so cool

rough sapphire
#

now Since C is the Cente of the cylinder it perpendicularly bisects AB

#

And I named the intersection point as D

#

and DE is given to be 5

#

also note that CE is also the radius of the circle so

CE = CB
=> 5 + x = R
=> x = R - 5
#

now in traingle CDB it is a right triangle so we can use pythagorean theorem

CD^2 + DB^2 = CB^2
=> x^2 + 7^2 = R^2
=> (R - 5)^2 + 7^2 = R^2
#

now solve the last equation and you will have your R

#

@feral geyser

quaint rivet
#

wow

#

u math wizard

rough sapphire
#

nah this is high school math which should be easy considering I spent more time on learning algo and maths

last mantle
#

@sacred sundial

#

hi

#

we can discuss here

#

a 3200g is zen+ architecture

#

thus, it kinda sucks

#

intel at that level was far far better

#

but zen 2 and 3 look promising

#

thats all

#

and ram doesnt make your computer magically faster

#

@sacred sundial

sacred sundial
#

lOL

#

ARE U KIDDING

last mantle
#

huh

#

ok

#

tell me your opinion

#

and its ryzen btw not rayzen

sacred sundial
#

as a 3200g user

last mantle
#

bruv

#

i have a 1700x

sacred sundial
#

its rocks

last mantle
#

ik what im talking about

sacred sundial
#

i have a 1700x
@last mantle u are using 1st gen

last mantle
#

yes

#

faster than 3200g

sacred sundial
#

try the 3rd gen one

last mantle
#

i know

sacred sundial
#

i play gta 5 with pycharm open its dosent lags

last mantle
#

i said that zen+ and zen1 kinda suck compared to intel

sacred sundial
#

tbh

last mantle
#

ok

#

doesnt exactly matter

#

cuz gta varies

sacred sundial
#

i agree with u

#

but

#

if u compare 3200g with i3

last mantle
#

btw

sacred sundial
#

3200g rocks

last mantle
#

3200g is not 3rd gen

#

you know that right?

sacred sundial
#

ryzen 3 3200g

last mantle
#

its gen 2

#

its zen +

#

not zen2

sacred sundial
#

is 3rd gen

#

dude

last mantle
#

its 2nd gen

#

check

#

lol

sacred sundial
#

2200g is 2nd gen

last mantle
#

no

#

thats 1st gen

sacred sundial
#

lol

waxen saffron
#

Python Discord - Don't ask to ask, Just Ask

last mantle
#

huh

#

hmmmmm

sacred sundial
#

ANd 3200g comes with vega graphics

ancient stream
#

The 3rd Gen AMD Ryzen processor is built using the world's most advanced 7nm manufacturing technology to deliver extraordinary performance while keeping your system astonishingly cool and quiet. The user benefit is clear: improved energy efficiency, higher clock speeds and more cores than ever before.

sacred sundial
#

its smooth as butter

last mantle
#

see

#

its a 12nm process

#

zen 2 is 7nm

#

so its 2nd gen

#

The 3rd Gen AMD Ryzen processor is built using the world's most advanced 7nm manufacturing technology to deliver extraordinary performance while keeping your system astonishingly cool and quiet. The user benefit is clear: improved energy efficiency, higher clock speeds and more cores than ever before.
@ancient stream lol

#

higher clock speeds?

#

kekw

sacred sundial
#

mine is 3.5GHZ

last mantle
#

ok

#

yet again, vega vs intel uhd graphics ----- intel wins

sacred sundial
#

OVERALL 3200g is not bad as a user review

last mantle
#

i never said its bad

#

just that intel is better

sacred sundial
#

intel is not always better tbh

last mantle
#

true

sacred sundial
#

intel is overpriced

last mantle
#

not now tho lol

#

amd, intel prices are same

sacred sundial
#

here 3200g is 120$ and i5 is 300$

last mantle
#

i5 is different mate

sacred sundial
#

ikr

last mantle
#

its 6 cores

#

u cant compare

sacred sundial
#

i can if i compare it with ryzen 7

last mantle
#

what????

#

no

#

lol

sacred sundial
#

rayzen 7 is 230$ here

last mantle
#

i7 vs r7 is reasonable

ancient stream
#

I5 would be more compared to the ryzen 5 3600

last mantle
#

ahha

#

what about the 5600x tho

#

same prices

sacred sundial
#

again ryzen 5 5600x is better

last mantle
#

for now

#

true

ancient stream
#

It's not released even yet

sacred sundial
#

i9 is the only best processor of intel in my opinion

last mantle
#

hmm

#

we got benchmarks from amd

#

which should not be trusted

#

but

#

it gives an idea

#

where 5600x is

sacred sundial
#

excited for 5600x

last mantle
#

you gonna buy it?

#

buy the 5600 tbh

ancient stream
#

I'm happy with my 3600

last mantle
#

5600x is a waste

ancient stream
#

I'm

#

Oops didn't mean to send that, was cleaning wcreen

sacred sundial
#

you gonna buy it?
@last mantle yes i am saving

last mantle
#

ok

#

but you do know other stuff right

#

like which motherboard

#

ram

#

gpu

#

etc

sacred sundial
#

yes

last mantle
#

like ram MUST be above 3000mhz

sacred sundial
#

currenty i am using MSI A320M Pro Max

last mantle
#

motherboard MUST be b450 or higher

#

a320

#

not enough

sacred sundial
#

and i am using corsair 8Gb 3200mhz

last mantle
#

ahh nice

ancient stream
#

Where are you getting ram has to be over 3000mhz

last mantle
#

thats good

#

ok

#

look

sacred sundial
#

with 4Gb another stick

last mantle
#

when using a ryzen processor with infinity fabric

sacred sundial
#

its 2200mhz

last mantle
#

higher clock speeds are required

ancient stream
#

The cpu supports up to 3200mhz

sacred sundial
#

Where are you getting ram has to be over 3000mhz
@ancient stream over 3000mhz is beast

last mantle
#

what??

#

no

#

wait whaT?

rough sapphire
#

ram just needs to be fast for the first generation

last mantle
#

nah

#

for all ryzen proc, fast ram is required

ancient stream
#

Yes I know I run 3200mhz ram and it's a vast improvement over my 2400mhz

sacred sundial
#

And I am using xtream Case

#

mine is a budget gaming pc tbh

ancient stream
#

I used 2400 ram with a ryzen 2600 and 3600, they run better with fast ram but you can out slower ram in

feral geyser
#

@rough sapphire tysm I was thinking about it the wrong way

sacred sundial
#

And for keyboards i am using havit machanical keyboards

last mantle
#

yes

ancient stream
#

I just use a hybrid keyboard from steel series lol

last mantle
#

you can use slower

#

but

sacred sundial
#

i run 8gb which is 3200mhz and another 4gb of 2200mhz

#

total 10Gb

last mantle
#

you lose quite a bit of the speed

#

uhh

#

8+4 != 10

sacred sundial
#

opps

ancient stream
#

Which is why I said it runs better with faster ram

sacred sundial
#

wait lemme checck

last mantle
#

and

#

dont pair 8 and 4 gb please

#

use any one

#

not both

ancient stream
#

But what you said you there made it seem like you cannot use slower ram at all. And I was simply saying you can.

sacred sundial
#

12Gb 10Gb Available

last mantle
#

But what you said you there made it seem like you cannot use slower ram at all. And I was simply saying you can.
@ancient stream ye sorry

#

but

sacred sundial
#

i am kinda used to 2 sticks

ancient stream
#

When I made the jump from 16gb 2400mhz to 32gb 3200mhz, the difference was awesome

sacred sundial
#

and i use western digital 500Gb SATA SSD

last mantle
#

nvme better

#

but ok

#

not bad

#

better than hdd lol

sacred sundial
#

hdd is kinda outdated nowdays

ancient stream
#

You can be a scrub like me and have all 3 in your system :D

feral geyser
#

@rough sapphire you're a genius I got the right answer

last mantle
#

hdd is for backup

#

or huge games

sacred sundial
#

My 500Gb SDD handles most of stuffs

#

its 70$ In bangladesh nowdays

last mantle
#

ahh ok

ancient stream
#

Western Dig Black NVMe for boot drive. 500gb SSD for apps and 3tb of HDD

last mantle
#

nice

sacred sundial
#

mine is 2TB Ig

last mantle
#

cables dont restrict air πŸ‘€

sacred sundial
#

i use western dig blue

last mantle
#

same

ancient stream
#

And I got about 2tb sitting out of my case not used xD

sacred sundial
#

version

last mantle
#

didnt check

#

its sitting there

#

catching dust

sacred sundial
#

my old laptop was i3 3217u

#

it was with 4GB

last mantle
#

oh

ancient stream
#

Ya know I really wish cases would have more room on the back side of the motherboard. I mean that's where all the cables get managed too, why do we only get a tiny bit of room x.x

sacred sundial
#

i remember it lags a lot when i used VSC

last mantle
#

Ya know I really wish cases would have no room on the back side of the motherboard. I mean that's where all the cables get managed too, why do we only get a tiny bit of room x.x
@ancient stream depends on the case

ancient stream
#

I know it does but it should be standard to give more room lol. I have the corsair icue 220t and the side panel is tight and hard to get on because the cables

sacred sundial
#

U guys know about power supply

ancient stream
#

The tempered glass side looks nice tho

sacred sundial
#

tempered glass looks odd to me i dont use rgb too

last mantle
#

5600 220 USD

#

:))

#

U guys know about power supply
@sacred sundial yes

#

5600 220 USD
@last mantle rumour

ancient stream
sacred sundial
last mantle
#

i know

sacred sundial
#

I need to clean the glass tho. Taking it off to work inside and it gets smudged lol
@ancient stream RBG??

ancient stream
#

Yeah purple and green

sacred sundial
#

I dont like rgb tbh

#

idk why ppls use rgb

last mantle
#

u can turn it off

ancient stream
#

It helps because then I don't need a light on it my living room. I can just crank up the brightness

sacred sundial
#

exept my keyboard my whole pc is RGB free

ancient stream
#

Because people like the colors. It's really that simple lol

sacred sundial
#

are using steel series keybaord??

ancient stream
#

Yep because my corsair one went kaput

#

And I didn't want to spend 150 on a keyboard

sacred sundial
#

yes

#

100 $ in a keyboard is a waste

ancient stream
#

Well it depends on what you do

sacred sundial
#

i use havitt machanical 40$ keyboards

ancient stream
#

I can't stand standard membrane keyboards so I always go mechanical. Except this time I tried this hybrid design and like it

tranquil orchid
#

Theres two keyboards I'm eyeing off atm

sacred sundial
#

baasics keyboards of nowdays are not bad at all