#ot1-perplexing-regexing

1 messages · Page 471 of 1

solid pollen
#

Yup haha

inland wolf
#

lol

quick ledge
#

geography? lemon_pika

#

why?

inland wolf
#

so the hash function will give us a value from 0 to 100? never more yeah? cuz of the fixed length?

solid pollen
#

Yeah, because we made our hash function does that

inland wolf
#

nice

solid pollen
#

So now, if we want to map the object o to a key k, we will hash k, see in which bucket it falls in, and place the tuple (k, o) in this bucket

inland wolf
#

mm I see

solid pollen
#

(Note that we aren’t necessarely talking about a python tuple, a chain of two pointers is good enough)

inland wolf
#

yea ok

solid pollen
#

Now, if we want the map of k

#

we hash k, see in which bucket it is in, loop through every tuple in it, and if we find a tuple with k in it, then we have our o

inland wolf
#

that's why u cant have duplicate keys?

solid pollen
#

Yup, that’s why

inland wolf
#

damn that's cool

solid pollen
#

It would map to the exact same bucket

#

So now you might ask how is that very efficient even for large dict?

#

Well, it is because this is very scalable

inland wolf
#

so it isn't fully O(1) cuz it looping thru one bucket to get the value right?

solid pollen
#

Yup

inland wolf
#

bruuuuh that's cool

#

how do ppl think of this stuf lmao

solid pollen
#

¯_(ツ)_/¯

inland wolf
#

so the buckets will always be of fixed length?

#

like 0-10 will have a size of 10 right?

#

every other bucket will have size 10 yes?

solid pollen
#

So if you start to have a lot of objects inside the dictionary, you can just add more buckets and scale it up, while keeping out O(1), because we can always calculate the address of the bucket with a base_ptr + bucket_size * bucket_id

inland wolf
#

oooh

#

coool

solid pollen
#

Yes, if you select a size for a bucket, every others has to use the same size, and the sum should fill the entire hash range

inland wolf
#

I see

solid pollen
#

Now, let’s come back to our database

inland wolf
#

so databases use the same technique?

#

oh ok

solid pollen
#

Let’s take a very simple database, that just maps an ID to an object

inland wolf
#

okay

solid pollen
#

Now we can have a simple dictionary, that’d be inside a file instead of the memory

#

If we want the object with a certain id, you can hash it and see in which bucket it is in

inland wolf
#

so the id will be unique?

solid pollen
#

Every buckets are actually stored as a list inside a section b

inland wolf
#

like a key in a dict?

solid pollen
#

so the id will be unique?
@inland wolf yes

inland wolf
#

I see

solid pollen
#

And in the section a, we just have the place in the file (in n numbers of characaters before the beginning of the file) of each bucket

#

Why’s that, you might ask? Because our actual bucket lists have a variable length, but the index in the section a has a fixed length for every bucket

inland wolf
#

hmm

solid pollen
#

In other words, if you say that the “address” of a bucket is ten chars long, you can be certain that the 10 characters at section_a_start + 10 * bucket_id you can get the position of this bucket in the file

#

Now, you can read the bucket (and the bucket only) to search for the actual file

inland wolf
#

so it's similar to dicts

#

bruh

#

I wasted so much time lmao

solid pollen
#

The whole thing is that you don’t need to read the whole file, you can just ask the OS to give you x chars from this position

inland wolf
#

ahhh

#

that's why u don't just open the file

#

u connect to it

solid pollen
#

And if you take a closer look at how we “fetch” an object, we only read 10 chars + the bucket, which shouldn’t be more than 100 chars long

#

so it is really efficient

#

exactly

#

You might have heard of .seek, which allows you to go to a certain position in the file, and then you can use .read to only read a certain amount of characters

#

Something to note, databases aren’t just a one-to-one mapping

#

They have a lot of many-to-one mappings

#

But the thing is that you can represent any of those mapping using one dict

#

A database is just a lot of dicts, basically

#

Do you have any question?

quaint rivet
#

i think u lost him

solid pollen
#

Haha yeah

inland wolf
#

no my mom called me lmao

#

I'm back now

#

oooohhhh

#

so databases are just thic dicts

#

with more complexities

#

but still Hecking fast

solid pollen
#

Basically yeah

inland wolf
#

yes

#

lol

#

thx for clarifying

#

that was really helpful

solid pollen
#

Anytime!

quaint rivet
#

thic dicts 😂

young shoal
#

thicts

#

nice ghost ping

crystal mist
#

hehe

#

hes my friend

inland wolf
#

thicts

#

BRUH

#

databases are THICTS

#

SavagePastaMan coined it guys

#

u heard it here first folks

#

thicts

#

thicql (SQL)

#

thicis (redis)

#

thicqlite (SQLite)

rough sapphire
#

Hi

inland wolf
#

sup

edgy crest
#

savagePasta man is the imposter

inland wolf
#

lol

edgy crest
#

i saw him go down the vent

inland wolf
#

lol

solid pollen
#

Redis is the imposter, it isn't a database

inland wolf
#

lol

#

NICE

#

we gotten bois

#

gottem*

#

thicis tho

#

kinda thic 😳

quaint rivet
#

Redis was not the Impostor
1 impostor remains...

inland wolf
#

thicgres

#

thighsql

#

LMAO

#

for mysql

#

THIGHSQL

#

I'm hilarious

#

wouldn't u agree?

rough sapphire
#

Ghost ping was an Imposter

inland wolf
#

bru

tribal aurora
#

here

quaint rivet
#

no u stay here

tribal aurora
#

://

rough sapphire
#

hi

quaint rivet
#

i use mint

tribal aurora
#

what

#

:[]

quaint rivet
#

Linux Mint

tribal aurora
#

ik

quaint rivet
#

do u have a problem sir

#

🙂

tribal aurora
#

😂

#

didn't know

#

mint...

#

nope

#

not me

quaint rivet
#

hm?

tribal aurora
#

I'm not fan of mint

#

Manjaro or Kubuntu

#

both of them

quaint rivet
#

where are they??

tribal aurora
#

but still Kubuntu is winner

#

where are they??
:/

#

wdym

quaint rivet
#

the ones who asked for your opinion??

#

🙂

#

grr

quick ledge
#

lol

tribal aurora
#

lol

whole socket
#

I've been doing a bunch of discord bot work lately and started cleaning my files up into individual cogs anyone know of a good place to share those for people who may want them

sour forge
#

pastebin?

whole socket
#

I may be looking at it wrong but that looks more like for hosting the files I was meaning like a thingiverse type thing for sharing

quaint rivet
#

github?

inland wolf
#

BlackBerry messenger

sour forge
#

I may be looking at it wrong but that looks more like for hosting the files I was meaning like a thingiverse type thing for sharing
@whole socket that was meant as a joke. You could create a new github repo specifically for this stuff. You could also use github gists.

whole socket
#

lmao ok

#

I did end up creating a github repo with it

sour forge
#

yeah that's the best course of action, since you can have a large number of files there. Github gists get unmanageable pretty soon

young shoal
#

link your github!

sour forge
young shoal
#

o thanks

grizzled parcel
#

any don'ts for the github username? replacing old one that had a very... special name
ideally it would be a resume piece of sorts

#

is there a time when short is not better? my name is available w easy subsitution

quick bay
#

whats the difference between an idle and an ide

undone berry
#

idle is just the editor that comes bundled with python - it's a specific program

#

and IDE is an integrated development environment

quick bay
#

ohh

#

the ide has to translate from one language to the other and idle just compilees directly to python?

high verge
#

no

#

an ide is a text editor which can also compile or run your program

#

IDLE is the name of an IDE, the one which comes with python

quick bay
#

ohhh

whole socket
#

@grizzled parcel I used my first initial and last name for mine, is simple and formal and fitting if your using it for resume things

grizzled parcel
#

my first initial is i, so that ends up looking really funny

#

i opted for isaec

#

ae is same as aa lol

whole socket
#

nice

rough sapphire
#

One of my funnier moments?

bleak lintel
#

lmfao

grizzled parcel
#

lmao

#

one better if its just a photo of your computer turned off and you just said i have a problem with my code

whole socket
#

lmao

#

nah send a photo of code written out on paper

#

and ask why it won't run

grizzled parcel
#

i made the mistake of helping someone who couldnt figure out how to open a help channel open a help channel

#

it was that

whole socket
#

that's pretty good

rough sapphire
#

That is what prompted the joke

grizzled parcel
#

it would be possible to help with that

lone verge
#

😭

rough sapphire
#

There is more tolerance for that on some platforms than others. I've noticed in Facebook groups people will take pictures of their code and people will help and no one will even mention pastedump.

#

In some of my open source circles though, like on Matrix and freenode, you would get chewed out for even having a a legible screen shot

grizzled parcel
#

yeah, i mean it makes sense

#

its easier to copy paste then take a photo

rough sapphire
#

No thank you.

small fossil
#

wtf

grizzled parcel
#

i liked that

old solstice
#

liked what

#

lmfao

grizzled parcel
#

it was nice

rough sapphire
#

There are logs, you'll get banned for that.

old solstice
#

But it is off topic

#

ik

rough sapphire
#

Right now someone is looking at what you posted and deciding if you should get banned.

old solstice
#

Already got warned bois

#

for trying to make a career

#

in getting free robux

#

lmfao

rough sapphire
#

Anyway, off topic isnt obnoxious imagery dumping ground.

#

I have a friend whose IP got banned from facebook because he wont quit posting weird stuff that he thinks people need to see. Not necessarily porn or gore, but just weird stuff that is gross.

grizzled parcel
#

IP bans are dumb

rough sapphire
#

And he literally got banned for it. Now he has to log into fake accounts with a proxy so that he can continue to share weird images on facebook

#

Whats even more dumb is sharing stuff on a platform that doesnt want you to do it.

grizzled parcel
#

yeah

rough sapphire
#

So yeah, him and people like him, they form in these groups where the people who join agree and promise not to report each other.

#

And they post weird things that if anyone decides to report them they get ip banned.

#

And I'm just like, "THERE IS OTHER PLACES ON THE INTERNET"

#

So like now he has to login from m.facebook.com after having multiple accounts shut down, the only way he caan maaintain an account is to only access through that

#

I dont understand why he puts that much effort into it

grizzled parcel
#

wireguard is cheap and easy for ip spoofing

rough sapphire
#

Theres a lot of solutions I dont think we should get into because specifics about how to break a companies TOS arent allowed here

#

But the point is

#

Why.

grizzled parcel
#

yeah i picked up on the TOS thing

#

i asked a question that was within tos but set off alarm bells

rough sapphire
#

I think with my friend, he derives some type of pleasaure in grossing people out.

#

And I ended up telling him that becaause of that, he deserves to get banned.

#

I even found him places online where he could share this stuff with people who want to see it.

#

But that wasnt good enough for him

#

He wants regular people who might not have expected it to see it

grizzled parcel
#

weird

rough sapphire
#

i agree

#

Hes my friend but he does aa weird thing online imo

grizzled parcel
#

any thoughts about moving my code to vultr? pinstaller or download from git

#

also the dude who sent that gif @ all the mods

#

he is trying to be banned

young shoal
#

you can actually @ the moderator role

#

only if it's urgent though

#

@grizzled parcel

grizzled parcel
#

oh i was not trying

#

i found it funny he did

#

not worth yalls time lol

young shoal
#

yeah that guy ended up getting banned

grizzled parcel
#

he said the words
please ban me
not really suprised

balmy stream
#

Hold on a sec

#

Why is there a channel named after Wilson Fisk

quaint rivet
#

Oh shit

#

ur arch enemy

#

😡

balmy stream
#

Yea

#

We'll meet soon, Fisk

#

Whoever you are

#

We'll boss fight

quaint rivet
#

Daredevil will beat his ass too

balmy stream
#

#BanFisk

quaint rivet
#

he's mod tho...

balmy stream
#

It was a joke lmao

quaint rivet
#

if he sees this

#

you're gone

balmy stream
#

He's an admin

quaint rivet
#

yep

#

gone

balmy stream
#

you're gone
@quaint rivet I'm your friendly neighborhood Spider-Man

#

I can save this city

#

By sending Fisk to the prison

quick bay
#

spydey dont push your luck

balmy stream
#

spydey dont push your luck
@quick bay I have to

#

That's what a hero does

quick bay
#

youve pushed it a few times. litterally yesterday with joe

quaint rivet
quick bay
#

or two days ago

balmy stream
#

When

quick bay
#

all the days blend into one

balmy stream
#

youve pushed it a few times. litterally yesterday with joe
@quick bay when

quick bay
#

i dont remeber

#

but something

balmy stream
#

Something what

#

Broooo

#

My curiosity is killing me

#

Tell me when

quaint rivet
#

a few days ago

balmy stream
#

What'd I say then

quaint rivet
#

all days blend into one

#

idk I was quoting him

#

heh

balmy stream
#

Bruh

#

Where's he

quaint rivet
#

he's gone

#

you're next

#

😐

balmy stream
#

He'shopefully here

#

Hehe

quaint rivet
#

u spelt it wrong

balmy stream
#

He spelt it wrong

quaint rivet
#

no u did it

balmy stream
#

no u

quaint rivet
#

because if that's the case

#

even u spelt ur Nick wrong

#

🤨

balmy stream
#

No

quaint rivet
#

it should be Spidey

#

not SpyDey

balmy stream
#

sPydey

#

Get it?

quick bay
#

my name is a joke off of my last name.

quaint rivet
#

is ur last name hopper?

quick bay
#

no

balmy stream
#

It's Spidey in teenserv tho

#

my name is a joke off of my last name.
@quick bay Hoe?

#

Hehe

quick bay
#

no

quaint rivet
#

bruh

#

u just called him hoe

#

😐

balmy stream
#

Homelander?

quick bay
#

nope

quaint rivet
#

Homeland Security

#

drop the gun

#

rn

balmy stream
#

Hotel?

#

Trivago.

quaint rivet
#

Trivago?

#

lmao

balmy stream
#

Holup?

#

Hillary?

quaint rivet
#

What if they don't wanna tell it

#

don't pry

balmy stream
#

Hottie?

#

Hehe

#

Harem

quaint rivet
#

their last name is Hoop

#

because their first name is Hula

balmy stream
#

No it's fully

quaint rivet
#

:))

balmy stream
#

Fack you

#

Nice one

quaint rivet
#

lmao

#

tf was that

balmy stream
#

Fack

#

By Eminem

quaint rivet
#

No

#

fack you

balmy stream
#

You should play insane by Eminem

#

On your home theatre

#

Around you family

#

Your*

quaint rivet
#

funny of you

#

to assume

#

I have a family

#

🙂

balmy stream
#

You have one

quaint rivet
#

But not you

#

Uncle Ben is dead

balmy stream
#

They just didn't want you

quaint rivet
#

🤣

balmy stream
#

Uncle Ben is dead
@quaint rivet I have MJ 😎😎

#

And Gwen Stacy

#

2 girls 1 male chicken

quaint rivet
#

Gwen dies

#

Harry marries MJ

balmy stream
#

So what?

quaint rivet
#

you are left alone

balmy stream
#

unzips

quaint rivet
#

TF

balmy stream
#

Harry marries MJ
@quaint rivet no

#

I marry mj

#

But I kill her

#

Cause I don't know

#

My chika-chika is radioactive too

#

I don't remember the number, but that's what actually happens, written by Stan Lee in a comic

quaint rivet
#

where are they??

balmy stream
#

Who?

quaint rivet
#

the ones who fuckin asked??

#

😎

balmy stream
#

dead

#

[Sigh] unzips

quaint rivet
#

dude

#

wtf

balmy stream
#

Hi kids

quaint rivet
#

😐

young shoal
#

spydey, that's not appropriate

balmy stream
#

Yea kid

#

It's a sub

#

r/sighunzips

#

smh

#

that was close

#

@young shoal does your nick actually work?

young shoal
#

what lang do you think it is

balmy stream
#

Java?

young shoal
#

strike 1

balmy stream
#

Not C# right?

young shoal
#

nope

quaint rivet
#

strike 2

balmy stream
#

Yo what lang uses public static other than these 2

#

I think it's C#

young shoal
#

it has like, 4 langs in it

balmy stream
#

Yea

#

2

young shoal
#

eh, at least 3

balmy stream
#

C# has everything except the func and ->

#

Yea 3

#

Everything except python

young shoal
#

void is lowercase in C#

balmy stream
#

On a python serv

#

Wait

#

-> is pythonic

young shoal
#

not really

balmy stream
#

Aw fack

young shoal
#

async def from python

balmy stream
#

def a() -> bool

#

->

young shoal
#

that exists in other langs too ya know

balmy stream
#

Yes

#

But it could be considered pythonic

young shoal
#

spaces are pythonc

#

if statements are pythonic

#

for each loops are pythonic

#

colons are pythonic

balmy stream
#

Bruh

#

I meant like

young shoal
#

just sayin ¯_(ツ)_/¯

balmy stream
#

Nvm

#

They could

young shoal
#

pythonicness is talking about the idioms

balmy stream
#

Just the way you considered/used -> from other lang(s)

#

The probability is between 0 and 1 (exclusive)

#

$$P(\text{-> is Pythonic}) \in (0, 1)$$

young shoal
#

nice

balmy stream
#

Made it better

quaint rivet
balmy stream
#

Just a sec

#

This is what the TeXit bot returned smh

#

How did > become ¿?

young shoal
hoary steppe
#

void cancer

balmy stream
#

@young shoal ^

#

Bruh vest

hoary steppe
#

the void piublciicsd shot

#

shit

#

glad python was born without vbopgo vpoid thingy

balmy stream
#

What

#

Are you high

hoary steppe
#

the void thiingy

balmy stream
#

What void thingy

hoary steppe
#

public svod{}

#

that thing

#

u can to writer thatt thing everytime in java or c# or something

young shoal
#

???

versed saffron
#

I stg

#

System.out.print_

#

every

#

time

#

that's like 2 more words than necessary

stark prawn
#

You mean the return type vest?

narrow pecan
#

(That’s the fake vest)

stark prawn
#

Yes, ofcourse @narrow pecan is the only genuine gucci brand vest.

young shoal
#

that's like 2 more words than necessary
@versed saffron just do sout + tab

versed saffron
#

no :(

young shoal
#

?

versed saffron
#

then i won't have anything to bitch about

young shoal
#

bruh

versed saffron
#

like I don't mind it as much but there're still some things that turn me off from it

young shoal
#

sout + tab is technically less keypresses than print()

rough sapphire
#

do psvm + tab to create @young shoal

#

oh wait he cahanged his name

young shoal
#

afpsv

#

but yeah, most ide have stuff to reduce the boilerplate

#

they can generate getters and setters and stuff for you

stark prawn
#

__m + tab =

if __name__ == "__main__":
young shoal
#

huh, i always used main + tab in pycharm

stark prawn
#

vscode has so many plugins avaiable that over different boilerplate and stuff aswell

young shoal
#

of course

stark prawn
#

apperantly just _ + enter already inserts

if __name__ == "__main__":
    pass``` for me
young shoal
#

vscode?

stark prawn
#

yeah

young shoal
#

huh

#

idk if i'd like that

stark prawn
#

I imagine it ranks them based on how much you use them?

young shoal
#

what about init?

#

i imagine intellisense has some sort of AI going on

stark prawn
#

No init autocomplete outside of classes it seems

young shoal
#

makes sense

rough sapphire
#

I don't believe theres dunder init autocomplete even inside the classes

#

Well, in the case that it is present, I've haven't been using vsc to its full potential 👅

stark prawn
rough sapphire
#

wow

stark prawn
#

Not untill the i it seems 😦

rough sapphire
#

Wish it added in the self and all that

young shoal
#

by default pycharm adds the self to all the methods

graceful basin
#

Pycharm will suggest dunders if you just type the name without the underscores

young shoal
#

oh duh, should have realized that

stark prawn
#

that's neat

rough sapphire
young shoal
#

pycharm 😍

graceful basin
#

There are also a bunch of shorthands, like .par to parenthesise expression, main to create the main guard, .not to prepend not...

young shoal
#

right

#

for the c-style loops in other langs, you can do fori for for iter loops

narrow pecan
#

@rough sapphire what color scheme is that?

rough sapphire
#

mm

#

palenight

young shoal
#

mmmmmmm

narrow pecan
#

Thanks. Might be worth checking out

rough sapphire
#

I keep changing the colour themes

#

Cluttering my extensions has never been this easy

young shoal
#

monokai >> literally any other theme

narrow pecan
#

Ahhahah

rough sapphire
#

really love one dark pro

#

Keep coming back to it

versed saffron
#

monokai looks sick I've just been using darcula

young shoal
#

darcula is pretty good, but monokai is just better

versed saffron
#

I just recently switched to pycharm after spyder/anaconda proved it self to be a pain

#

But honestly it's probably my favorite ide so far

young shoal
#

i like it

versed saffron
#

or just jetbrains stuff in general

#

like my prof wanted us to use eclipse but it's kinda bad imo

young shoal
#

for real

stark prawn
#

I'm not really sure i'd spend that kind of money for a colour scheme tbh

young shoal
#

eclipse is cringe

stark prawn
#

I didn't even know you could use eclipse for not java.

young shoal
#

me neither

versed saffron
#

eclipse looks like it hasn't been updated in like 8 years

#

it was for java

young shoal
#

it's ok though

versed saffron
#

but ik there's a c++ eclipse

young shoal
#

it has everything you need

versed saffron
#

except for apperances

#

actually trash pandas is kind of lit too

quick bay
#

i run python in eclipse

hoary steppe
#

coders code in notepad

#

default windows notepad

rough sapphire
#

notepad++ > all

hoary steppe
#

n0

rough sapphire
#

y3s

hoary steppe
#

actually

#

sticky notes > all

rough sapphire
#

actually

#

discord markdown > all

hoary steppe
#

nah

waxen finch
#

best code is write on napkin

hoary steppe
#

code in cmds

rough sapphire
#

code in idle

#

idle better than all

quaint rivet
#

nah

#

code in brain

#

best code

#

:)

rough sapphire
#

code in nocode

#

no stress at all

#

brainfuck is the best language

blissful moth
#

yes

hallow aurora
#

why are the mods goldfish

frozen crane
#

@hallow aurora they're a snack that smiles back

boreal swift
hallow aurora
#

why is the only word that came up to my mind "vore"

#

am i just weird

frozen crane
#

@hallow aurora "The snack that smiles back!" Children

hallow aurora
#

oh no

cosmic lotus
#

I like it when my snack screams

frozen crane
#

@cosmic lotus wow

mild abyss
#

code inside your mind is the best

#

fite me

tranquil orchid
#

code on paper

#

Code in ms paint

rough sapphire
#

code in ms paint with touchpad

#

CODE IN MS PAINT WITH MIND

tranquil orchid
#

Mind controlled ms paint 👀

rough sapphire
#

code with morse code

#

finally i was waiting for that to load for like two minutes

hallow aurora
#

mind control delete

manic bloom
#

LOL

#

I swear, who makes these otn

mild abyss
#

code with binary

#

I swear, who makes these otn
@manic bloom random peeps but mostly mods and admins

manic bloom
#

ik

#

but the-mods-are-goldfish

#

where did that even come from

frozen crane
#

@manic bloom they're mostly inside jokes with the staff. Joe mentioned that he doesn't remember the context for this one.

manic bloom
#

ok

frozen crane
#

I'm not able to add new names to the pool but if I could, I would add python-object-oriented-programming

cosmic lotus
#

Did someone say code with paint?

plucky ridge
#

Dear god

cosmic lotus
#

God indeed

plucky ridge
#

Elder god maybe

rough sapphire
#

oh boy

#

this is an avengers level threat

sour forge
#

i dont understand. What happened in the video?

cosmic lotus
#

He's coding by putting pre-determined colors in the image, which then he converts to .raw then converted to assembly code that runs the program

sour forge
#

what was that weird tunnel thing at the end then?

cosmic lotus
#

that was the program made from compiling the pixels

rich rover
#

Apparently, you can fit snake game into a QR code

manic bloom
#

ye

cosmic lotus
#

its a pretty big qr code tho

rich rover
#

You also need special readers

#

For your pc

cosmic lotus
#

it would be a better fit on a base64 string

rich rover
#

Lol

#

It has to be coded in assembly though

cosmic lotus
#

nah you can do it in any language

rich rover
#

Also windows rounds up any decimal above 2.3 in storage one unit above

#

So

#

2.4 Kb

#

Is 3 Kb

#

Very very tricky to fit on the largest QR code available

cosmic lotus
#

the demoscene guys would be good at this

#

they're fitting full 3d movie demos in 4kb

rich rover
#

Oh damn

#

Is that even possible?

#

The resolution must be really shit

cosmic lotus
rich rover
#

Oh, I see how they did it

#

That's really smart

rough sapphire
#

For starting in hacking do you need a good PC?

I say so because I have a laptop with 4 GB ram and a CPU of 2 cores 4 threads at 1.7ghz, and I don't think I could create my own hacking enviroment in virtualmachines, most of the books I have seen use virtual machines but I can't have one.

Don't know if this helps but I have a desktop computer, with almost the same specifications, but with a faster CPU.

knotty mirage
#

THE MODS ARE GOLDFISH

thick birch
#

@rough sapphire u need a few more gigs of ram and quite a powerful cpu afaik
idk about a gpu since u can also just run CLI linux distros that u can try cracking or just testing diff stuff
hell if u go with cli distros might not even need more than 2-4 gigs (taking a margin of error into account) per VM

#

also let s say ur main machine is a linux (so it runs the linux kernel) u can spawn lightweight linux distros through docker containers

rough sapphire
#

I was thinking of making dualboot between my main system an kali linux

#

I have a desktop pc

#

Can't attack a virtual machine in it? let's say metasploit in my desktop pc and kali in my laptop?

#

Or it's dangerous to let metasploit connected to the internet.

thick birch
#

wwhy do u wanna learn kali linux in particular? first u should choose an easy distro an get familiar with linux altogether and then move to that

#

nah not dangerous, i mean just make sure u try to take the most amount of precautions and read documentation before acting

rough sapphire
#

Now I'm using Manjaro (Arch linux distro)

#

Maybe learn more about the terminal, but I have been studying python for the past week to not become a script kiddie.

tribal aurora
#

hi

rough sapphire
#

Hi @tribal aurora

tribal aurora
#

hey

#

how you doin

#

oh

#

you're using manjaro?

#

huh

#

what a coincidence

#

I was going to ask this question 😄

#

@rough sapphire Is Manjaro good?

eternal wing
#

howdy again

tribal aurora
#

how long are you using it?

eternal wing
#

I use arch btw

tribal aurora
#

😂

#

ok

#

how much ram your system uses when idling?

rough sapphire
#

600 - 700 mb I think

tribal aurora
#

wow

#

That's weird because my system uses 1.2 GB at start up .

eternal wing
#

nice and lightweight

#

manjaro is nice tbh

#

also: nice snake

rough sapphire
#

Nice dog

tribal aurora
#

manjaro is nice tbh
how much ram..?

eternal wing
#

great hat

#

haha

graceful basin
#

manjaro is about as light as you get without going for straight up minimalism with arch

eternal wing
#

idk I dont use manjaro, pretty lightweight doe. any particular reason you are asking?

tribal aurora
#

how much ram on arch?

eternal wing
#

you know what, since we are on the topic:

Do you guys think I should put manjaro or arch on my laptop? I use arch with plasma

tribal aurora
#

both idling and startup

eternal wing
#

how much ram on arch?
idk, I have not checked, not a lot

graceful basin
#

I would say arch

solid pollen
#

Depends on your free time tbh haha

tribal aurora
#

arch

eternal wing
#

I have all the free time

solid pollen
#

Well, arch then

#

choose to the suffering pit

graceful basin
#

the most annoying part is setting up partitions

eternal wing
#

and ill just @ you, akarys, if I have any issues LOL

solid pollen
#

Haha

tribal aurora
#

definitely go for Arch

graceful basin
#

everything else is just copy pasting commnands

rough sapphire
#

I tried to use arch but

eternal wing
#

yeah, my arch install was annoying because it took me like 4 hours to figure out what was wrong with my network (would not connect to wifi)

rough sapphire
#

It's to complex, I liked manjaro auto-install

graceful basin
#

oh yeah, that was also a pita

eternal wing
#

then I installed kde plasma and it somehow fixed the issue... which made me more upset xD

solid pollen
#

Lemme guess, resolv.conf not set? lemon_pleased

eternal wing
#

to this day I do not know how that fixed it

rough sapphire
#

I managed to create the partitions, install QTile

eternal wing
#

honestly no idea 🤷

graceful basin
#

I used endeavoros last I installed arch

tribal aurora
#

😂

eternal wing
#

it just works

rough sapphire
#

But I had an error and returned to Manjaro ;D

graceful basin
#

since I do not really want anything but arch, but am too lazy to type all the commands out

tribal aurora
#

Guys would you use kubuntu or Manjaro

#

rolling release or Fixed release

eternal wing
#

manjaro

graceful basin
#

rolling

solid pollen
#

Manjaro

tribal aurora
#

hmm

eternal wing
#

I mean, cmon xD

graceful basin
#

I like latest software

tribal aurora
#

gang

#

😂

solid pollen
#

You are with 3 people from the manjaro gang

eternal wing
#

lolol

tribal aurora
#

bah, you're slow

#

😂

eternal wing
#

I use ubuntu for server

tribal aurora
#

Yes

eternal wing
#

but like, not for desktop

graceful basin
#

kubuntu is definitely better for servers and beginners though

tribal aurora
#

All people use Ubuntu as a server because it's stable

eternal wing
#

headless ubuntu lel

solid pollen
#

Arch for a server would be just paaiiin

graceful basin
#

rolling releases are inherintly unstable and error prone

eternal wing
#

my coworker uses arch for server and idk why

#

that sounds like weekly heart attacks

tribal aurora
#

😂

eternal wing
#

I might reset my whole server, but I am scared for my nextcloud stuff haha

graceful basin
#

maybe if the server only has few packages it is more managable

tribal aurora
#

yea

eternal wing
#

true, he is exclusively using docker I think

#

and unraid

#

wait

#

can one have unraid and arch? this does not make sense

solid pollen
#

When typing yay -Syu you’d be like lemon_sweat

tribal aurora
#

why?

eternal wing
#

because wtf even is unraid

solid pollen
#

Because it breaks

tribal aurora
#

:/

#

but.. but why

solid pollen
#

Unraid OS allows sophisticated media aficionados, gamers, and other intensive data-users to have ultimate control over their data, media, applications, and desktops, using just about any combination of hardware.

#

Uh

eternal wing
#

idek

solid pollen
#

Because Arch is known to randomly break on updates

tribal aurora
#

Would it break with pacman?

eternal wing
#

he said it was an arch system with unraid and docker, googling it i do not understand

tribal aurora
#

Because Arch is known to randomly break on updates
@solid pollen But you have the option that don't install it

solid pollen
#

How does he have two OS in one computer lemon_thinking

eternal wing
#

exactly

tribal aurora
#

who

solid pollen
#

Or he has an unraid image running?

eternal wing
#

me thinks he may be fulleth of it

graceful basin
#

if you do not update arch why use arch

eternal wing
#

my coworker haha

tribal aurora
#

if you do not update arch why use arch
@graceful basin but you don't have to update it

eternal wing
#

I want to put arch on my laptop, but have approx 0% motivation

solid pollen
#

Understanding coworkers is way harder than installing Arch smh

#

Use manjaro then?

#

Y’know, graphical installers and such

eternal wing
#

well, I have the time, just generally no motivation. let alone for manjaro xD

#

the mistake I made last time was waiting to install the desktop, I shoulda done that immediately

tribal aurora
#

@solid pollen your os?

solid pollen
#

Manjaro, and very rarely windows

tribal aurora
#

ah

solid pollen
#

!remind @eternal wing 5d Take care of your poor computer!

royal lakeBOT
#
No problem.

Your reminder will arrive in 5 days and will mention 1 other(s)!

eternal wing
#

good reminder xD

solid pollen
#

I’ll give you the motivation lemon_fingerguns_shades

tribal aurora
#

You know I'm very new to linux so I use windows and Manjaro/Kubuntu most on windows

eternal wing
#

I just need two cups of coffee and a hug and i'll be good to go. LOL

tribal aurora
#

I can't figure it out

#

Why vscode won't work in Manjaro

#

I can't login my account

eternal wing
#

I mostly use windows tbh xD

tribal aurora
#

me too

#

but I'm trying to switch

eternal wing
#

cant log in to acc for vscode? that is odd

tribal aurora
#

yes

solid pollen
#

It works fine for me

eternal wing
#

microsoft acc I guess?

tribal aurora
#

😕

eternal wing
#

ewwww akarys uses vscode

#

I feel like this is news to me

tribal aurora
#

I don't know

#

:/

eternal wing
#

solution: use pycharm xD

tribal aurora
#

Vscode is best

solid pollen
#

Nah, I don’t haha

eternal wing
#

also: im jk, vscode is pretty nice

solid pollen
#

I just has something to test

#

I use PC (PyCharm)

eternal wing
#

I used it for webdev before pycharm pro

tribal aurora
#

akrays, how did you install vscode?

#

I tried to install it with (pacman, pamac, yay)

solid pollen
#

I have the pro edition, because student lemon_fingerguns

tribal aurora
#

But with them I couldn't even connect to the internet

solid pollen
#

yay -S code ¯_(ツ)_/¯

eternal wing
#

I have the pro edition, because student lemon_fingerguns
I have it for like another year xD

tribal aurora
#

but with snap I can connect to the internet but I can't login

eternal wing
#

well, then I can get open source license ez

solid pollen
#

But uhhhh, you aren’t a student?

#

Snaps are really meh

tribal aurora
#

I posted a bug on microsoft/vscode

eternal wing
#

Im technically still a student at my school.

I will not graduate until this december xD

tribal aurora
#

Snaps are really meh
why

eternal wing
#

even though I finished most of my classes like a year and a half ago LOL

#

snap == trash

tribal aurora
#

here

solid pollen
#

Ah, alright

tribal aurora
#

why snap is trash

eternal wing
#

because I used it once and it did not work very well LOL

solid pollen
#

Snaps lacks of security, maintainability, ease to use, and take up all your loopback devices

quaint rivet
#

^

tribal aurora
#

yo

#

how you doin

quaint rivet
#

also more memory usage than normal apps

tribal aurora
#

then Thunder came...

eternal wing
#

flash

#

its that time of the night I see (where I realize I should have been alseep like an hour ago)

tribal aurora
#

And made all people in this channel switch to Mint with 3

#

😂

solid pollen
#

no

#

Just... no

quaint rivet
#

huh?

tribal aurora
#

I'm not fan of mint

#

just Kubuntu and Manjaro

#

but vscode won't work on Manjaro so Kubuntu > Manjaro

solid pollen
#

It will

tribal aurora
#

@solid pollen you said loging work?

#

oh

solid pollen
#

Yes

tribal aurora
#

so

#

mine won't

solid pollen
#

You just misconfigured it

#

Have you been using linux before?

#

If not, kubuntu would be a better choice anyway

tribal aurora
#

;look

#

I'm installing vscode

#

oh

eternal wing
#

like a rolling stone update

tribal aurora
eternal wing
#

I like bob dylan xD

tribal aurora
#

vscode can't connect internet

solid pollen
#

like a rolling stone update
@eternal wing oh no

#

Can you try to run it as superuser?

tribal aurora
#

can't login

eternal wing
#

lol, that is the "is it plugged in" of linux

tribal aurora
#

Can you try to run it as superuser?
@solid pollen wait

#

nope

#

ops

#

bad pic

#

hmm

#

What's the problem?

#

code version: 1.49.1

solid pollen
#

Well, try to remove code and use this one

tribal aurora
#

what is this?

#

I don't know how to use it

eternal wing
#

upon google: it is often linked to DNS issue

solid pollen
#

The MS provided version

rough sapphire
#

there is vscodium which removes telemetry

solid pollen
#

Well, I’m assuming you can access internet through other apps?

rough sapphire
#

never installed it but that's what they say

tribal aurora
#

yes

#

I can

#

what to do with link

rough sapphire
#

It's the aur package name

eternal wing
rough sapphire
#

yay -S visual-studio-code-bin

eternal wing
#

Well, I’m assuming you can access internet through other apps?
they installed the package xD

#

does not hurt to ping google.com

solid pollen
#

True haha

#

nslookup would make more sense here

tribal aurora
#

lemme remove it

eternal wing
#

shhhh, we don't need your logic and thinking things through. lololol

tribal aurora
solid pollen
#

Haha

tribal aurora
#

what to do

solid pollen
#

Enter

tribal aurora
#

what are they

#

1, 2, 3

rough sapphire
#

1 - None

#

2 - All

tribal aurora
#

ik

solid pollen
#

It is asking you if you want to read the PKGBUILD file

tribal aurora
#

but what is none for

solid pollen
#

Don’t read it

tribal aurora
#

It is asking you if you want to read the PKGBUILD file
@solid pollen what hell is even this

#

anyway I pressed enter

solid pollen
#

It is the file that is executed when installing a package

tribal aurora
#

so AUR right?

rough sapphire
#

|| will you able to understand it 👀 ||

solid pollen
#

Basically, an AUR package is just a git remote, with any number of files (with some specific ones, such LICENSE, but not mandatory), and a PKGBUILD file

tribal aurora
#

Once I deleted all my cache files just because hit enter 2 times

#

:/

solid pollen
#

When an AUR package is installed, you clone the remote and simply run the PKGBUILD

tribal aurora
#

mhm

solid pollen
#

I mean, you entered the command first haha

tribal aurora
#

but why mine is broken

#

you said you installed it with

#

yay -S code

#

I did the same thing

#

but didn't work

#

why

rough sapphire
#

it worked for me....

tribal aurora
#

I mean, you entered the command first haha
@solid pollen Indeed you told me that command

#

:|

solid pollen
#

You asked for it

rough sapphire
#

for removing cache?

tribal aurora
#

nope

solid pollen
#

Well, yes

#

You asked me to remove everything related to vsc

tribal aurora
#

I just asked for completely deleting vscode

#

yea

#

and he told me sudo pacman -Rc

solid pollen
#

And there was a cache entry for it

tribal aurora
#

then Boom

#

everything deleted

solid pollen
#

And now the cache is gone

#

So everything’s removed

rough sapphire
#

its ok your cache will fill up again haha

tribal aurora
#

yea

#

But it takes more time :/

solid pollen
#

That’s not a big deal anyway, and you should delete your cache somewhat often

rough sapphire
#

I do when I feel bored

solid pollen
#

It won’t take any more time for new packages though

#

Except if you ran a local aur mirror

tribal aurora
#

your justification sucks btw

#

That’s not a big deal anyway, and you should delete your cache somewhat often
specially this one

rough sapphire
#

its not...

quaint rivet
#

he's not wrong wym

rough sapphire
#

if you have a 30gb installation size and you have 5gb of useless cache

#

will you delete it?

tribal aurora
#

WOW

#

IT WORKED

topaz aurora
#

I clear out my cache like, every other day

tribal aurora
#

anyways

eternal wing
#

now say "thank you akarys" haha

tribal aurora
#

vscode is working

eternal wing
#

awesome

tribal aurora
#

THANKS

#

dude

eternal wing
#

you can code haha

rough sapphire
#

yeah code .

tribal aurora
#

I can code with code

quaint rivet
rough sapphire
#

are you a cat lover?

quaint rivet
#

me?

tribal aurora
#

he's a bear lover

rough sapphire
#

yes

tribal aurora
#

So

#

what was the solution?

quaint rivet
#

I have dog pfp

tribal aurora
#

using AUR?

rough sapphire
#

the one you installed previous was not the official one

#

this new one is the offical package

tribal aurora
#

so what was that

#

where did you get it

#

how can I search for official packages?

rough sapphire
#

search in the aur search box

tribal aurora
#

hm?

#

where is it

#

why yours work if it's not official

rough sapphire
#

idk really why it works

#

but the important thing is it works!!!

#

haha

tribal aurora
#

haha

#

answer this questions

solid pollen
#

AUR packages are never officials

tribal aurora
#

where did you get it

quaint rivet
#

yep

tribal aurora
#

how can I search for official packages?

#

AUR packages are never officials
@solid pollen what is offical

#

pacman?

rough sapphire
#

not all packages can be installed using pacman

tribal aurora
#

so yay?

#

is yay official?

#

wait where did you get that link?

solid pollen
#

No, core, extra and communities are official

quaint rivet
solid pollen
#

yay is just connecting to repos

#

And the AUR is one of them

tribal aurora
#

core?

#

core -S?

solid pollen
#

Yes, those are 3 official repos

#

No

tribal aurora
#

what are you talking about

rough sapphire
#

do a yay -Syuu

tribal aurora
#

how can I search for that link

#

I mean where

solid pollen
#

Look at the repo line on the left

rough sapphire
#

when you do an install it will look in those databases

#

if it is present

tribal aurora
#

what if it is available in both core and extra?

#

which one it will choose?

#

how can I choose it manually?

rough sapphire
#

it will display that

#

and you will type a number

tribal aurora
#

hmm

#

like that one?

#

@solid pollen you searched that from here?