#ot1-perplexing-regexing

1 messages · Page 597 of 1

wintry fractal
#

pip install modules

vocal oyster
wintry fractal
#

??

wintry fractal
#

i also typed pip3

#

oof ik i m very new at coading

#

can u explain me plz

#

what do i have to do

vocal oyster
#

you installed banner

#

import banner

#

modules does not have a banner package

wintry fractal
wintry fractal
vocal oyster
#

it is not from modules import banner

#

modules does not have banner

#

banner is banner

wintry fractal
#

ohk so just import bannner got it

#

one more problem buddy @vocal oyster

#

how do i can edit in ubuntu terminal ??

vocal oyster
#

nano command

#

nano filename or nano /path/to/file

wintry fractal
#

do i have to type in ubuntu terminal ??

vocal oyster
#

how do i can edit in ubuntu terminal ??

#

was the question

#

sooo

wintry fractal
vocal oyster
#

but cli editors are the worst

#

you can use git or something or ssh into the server to transfer files

im not gonna help with that, https://google.com can

wintry fractal
vocal oyster
#

there it is yes

wintry fractal
#

this is so confusing

vocal oyster
#

ctrl + x to exit

#

then y to save

#

then enter

wintry fractal
#

what to do now?

vocal oyster
#

type

wintry fractal
#

i have to change line 6

vocal oyster
#

press arrows to navigate

wintry fractal
#

I'm ashamed to ask anymore @vocal oyster sry buddy

vocal oyster
#

the arrow keys?

wintry fractal
#

do i have to type ^_6?? @vocal oyster

#

😵‍💫

wintry fractal
dapper dew
#

Oh nano. I think it is ctrl+X, then Y, then enter

vocal oyster
#

sorry i have my own issue in the help channels

dapper dew
#

Exit, Yes save the changes, enter to accept

dapper dew
#

lolol

tardy rain
#

just use vim lmao

wintry fractal
#

what to type to edit line 6

wintry fractal
wintry fractal
dapper dew
#

You have to open the file with nano first

#

If you are in the correct dir, you can do this with nano <yourfile>.py

wintry fractal
#

after that

#

??

dapper dew
#

Wait what

wintry fractal
wintry fractal
#

i opened file bt how to edit

#

?

dapper dew
#

and nano Storm-Breaker.py shows an empty file?

wintry fractal
wintry fractal
dapper dew
#

That is an empty file

wintry fractal
#

tf???

#

how ??

dapper dew
#

🤷‍♂️

wintry fractal
#

r u sure?

wintry fractal
dapper dew
#

I prefer vim btw for quick fixes. But if you want to check your sanity really quick try vs code

wintry fractal
#

i swaer i m so confused now

wintry fractal
#

do uk how to use sudo in vs code?

dapper dew
#

VS Code is an editor

wintry fractal
dapper dew
#

You can run the file from the command line

#

Like edit the file in VS Code, but run the file from the terminal with sudo

#

Could probably do it with the integrated terminal as well

wintry fractal
#

bt that file is on gitHub

#

bro leave it dont waste ur time

dapper dew
#

Now I am confused. What is the original problem?

wintry fractal
#

i m fucking idiot now ik

latent scaffold
#

what is stormbreaker a reference to

#

Why does that sound familiar

dapper dew
#

Destiny 2 maybe

latent scaffold
#

maybe

wintry fractal
dapper dew
#

Nah it is Thor's axe thingy

latent scaffold
#

Ohh, that might be it

dapper dew
#

And you have that file in your directory?

wintry fractal
wintry fractal
dapper dew
#

Ok. Can you copy / paste the output from running ls in your directory?

#

Also, close the nano windows

wintry fractal
#

row 2 col 1

dapper dew
#

sweet

#

try vim Storm-Breaker.py

wintry fractal
#

ohhk

wintry fractal
#

thank u so muchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

dapper dew
#

vim >>>>>> nano

wintry fractal
dapper dew
#

They are both text editors with some weird navigating

#

vim has a control / navigating mode by default

wintry fractal
#

lol bt how to edit

#

like i cant edit

dapper dew
#

hjkl are like arrow keys

wintry fractal
#

ohh

dapper dew
#

press j down to line 6

latent scaffold
#

it's in the Ubuntu repos as well

dapper dew
#

Then press i to enter insert mode

dapper dew
wintry fractal
#

and to remove ?

dapper dew
#

Once you are in insert mode (press i and should see <<Insert>> at the bottom of vim) you should be able to type normally

latent scaffold
#

you can actually click on text for once haha

wintry fractal
#

?

#

ctrl s

latent scaffold
#

esc + :wq

wintry fractal
latent scaffold
#

yes

#

escape returns to the... command thing and :wq is the "write and quit" command

dapper dew
#

Press escape to get to normal mode, then use the command :w to write the changes, followed by q to quit. Or :wq

latent scaffold
#

idk the vim terminology haha

wintry fractal
#

ohhhk done

dapper dew
latent scaffold
#

but in the future I'd recommend micro if you don't feel like vim

#

yeah

dapper dew
#

Neat

wintry fractal
#

thank u so muchh guys

latent scaffold
#

much better than nano but not as complicated as vim

wintry fractal
#

i love u all

#

if i type pip install localhost than it is showing this

#

@latent scaffold @dapper dew

latent scaffold
#

what is localhost..?

wintry fractal
latent scaffold
#

What are you trying to do again

dapper dew
#

try python3 -m pip install localhost

latent scaffold
dapper dew
#

🤷‍♂️

wintry fractal
tardy rain
#

what is the goal here

latent scaffold
wintry fractal
#

and i already have modles

tardy rain
#

are you trying to run an http server for localhost?

wintry fractal
#

modules*

latent scaffold
#

!pypi modules

royal lakeBOT
latent scaffold
#

uh \🤔

wintry fractal
#

bt still there i get error

latent scaffold
#

Okay, please take the step back and explain to us what you're doing

tardy rain
#

because localhost is not a package

wintry fractal
tardy rain
#

explain what youre trying to do

wintry fractal
latent scaffold
#

okay you're downloading a single file

wintry fractal
#

line 7

latent scaffold
#

you likely want to clone the whole project

#

because modules is no doubt a local... module

dapper dew
#

git clone

wintry fractal
tardy rain
#

bruh

latent scaffold
#

Hey wait a minute

tardy rain
#

what are you trying to achieve here

latent scaffold
#

idk about y'all but like

wintry fractal
#

git colne <project link

latent scaffold
#

absolutely not

dapper dew
#

lololololol

#

No fucking way

tardy rain
#

Tool social engineering [Access Webcam & Microphone & Os Password Grabber & Location Finder] With Ngrok

#

lmaoing

dapper dew
#

I'm yeeting out of this help

wintry fractal
#

git clone project link

latent scaffold
#

me as well haha

uneven pine
#

lmfao

latent scaffold
#

!rule 5 @wintry fractal Sorry, we cannot help with this

royal lakeBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.

tardy rain
#

why is it always the dudes up to malicious things that have no idea how anything works

uneven pine
#

it's a kid tryna be a l33t hackor

tardy rain
#

its actually incredible how accurate the stereotype is

uneven pine
#

stereotypes exist for a reason

latent scaffold
#

lmao I went to the GitHub and as soon as I saw the Kali neofetch

wintry fractal
#

tho sry ik i m wasting time

uneven pine
#

just trying to use malicious tools

latent scaffold
#

Ironically

#

the website for "ultra security" is using an expired SSL certificate

uneven pine
#

bro I'm only gonna hack myself

#

I promise bro

tardy rain
#

memes that write themselves

uneven pine
#

!otn a only-gonna-hack-myself

tardy rain
#

uhm https://docs.python.org/3/library/traceback.html#traceback.TracebackException

Traceback (most recent call last):
  File "C:\Users\anton\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\anton\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\anton\Documents\antoniouaa\mjolnir\mjolnir\__main__.py", line 15, in <module>
    main()
  File "C:\Users\anton\Documents\antoniouaa\mjolnir\mjolnir\utils.py", line 18, in wrapper
    print(tb.filename)
AttributeError: 'TracebackException' object has no attribute 'filename'
open fern
#

Looks like only TracebackException(s) from a SyntaxError gets the filename attribute.

tardy rain
#

oh shit im actually blind

#

aight i fixed it

#

i was trying to get the filename where an exception is raised so i can print my own exceptions

latent scaffold
#

first there was stormbreaker

#

now there is mjolnir

#

dare I ask

tardy rain
#

lmao

#

this one is a naive bayes spam filter

#

and where there is spam there is ban hammer

#

and mjolnir is a hammer

latent scaffold
#

lol

tardy rain
#

sigh, i guess

#

no, i guess not haha, my name isnt anton

latent scaffold
#

your name is mjolnir!?!?

tardy rain
#

no

#

my name is alex

#

thats all you get

latent scaffold
#

play despacito

tardy rain
#

im gonna play country roads instead

latent scaffold
#

oh no

harsh tundra
latent scaffold
#

man, I wish I had a name like Alex

#

I think that I hate my name

#

"Mikel" :|

tardy rain
#

could be worse

#

could be "manjaro"

#

lmao

latent scaffold
#

EH

#

You right

#

I could also be a Linus

#

lord I'd hate to be a Linus

#

but I also don't know that i'm a fan of being called "Mikley Pickley"

tardy rain
#

!otn a mikley-pickley

harsh tundra
latent scaffold
#

oh no

tardy rain
#

you could go by michael if you wanted to

harsh tundra
latent scaffold
#

Well, that's how my name is pronounced

#

... normally yet rarely

latent scaffold
#

I hate my last name more

tardy rain
#

is it Pikel

latent scaffold
#

a meaningless last name of a father who's nonexistent >_>

harsh tundra
latent scaffold
#

Yep, I plan on changing it

#

me and my mom

#

we have different last names but both are guys that she married that... aren't it

harsh tundra
#

my father's last name is awfully common, in top 10 most common names in the country

#

but I've been planning for years to get my surname changed to my mum's

tardy rain
#

my last name is literally the equivalent of "Smith"

latent scaffold
#

haha

#

mine is... weird

harsh tundra
latent scaffold
#

man, where I live

#

There are so many people named Jose Gonzale(s/z)

tardy rain
#

thankfully my lastname is too foreign to translate to english so the brits can make fun of it

latent scaffold
#

lol actually one of my friends had the unfortunate last name of Gay

#

I say unfortunate not because it's "Gay" but because he'd get made fun of a lot for it

sterile grail
#

Mine is extremely rare

#

first and last name

#

first name is a rare counterpart to a somewhat rare name

latent scaffold
#

idk about my last name, but I've never heard of anyone with my first name

#

but tbh I'm used to going by "Michael" because I can't be assed to explain sometimes how to spell it

#

like if I order a pizza or something, I'm just gonna say "Michael"

harsh tundra
latent scaffold
#

Jeez, they're all Spanish

harsh tundra
#

well, it's Basque version of Michael

latent scaffold
#

and they all play Football

tardy rain
#

the only Mikel i know is some brand of coffee

#

and now you lmao

latent scaffold
#

omg.

tardy rain
#

lmao

#

never tried it tbh but maybe i should

latent scaffold
#

oh no

#

oh yes "Time to try some Mikel"

sterile sapphire
#

hmmmmm

latent scaffold
#

LMAO it kind of does

scenic blaze
#

Have you tried replacing your computer

bold plover
dire siren
#

using notepad to write code is fun

#

but i dont know how to execute

#

i had enough with vscode

#

2colorful4me

#

so pretty

#

automatically made my code case insensitive

#

look that the text isn't in caps

#

it's the font.

noble atlas
#

that reminds me notepad++ when I used it for my first web

latent scaffold
#

much better than notepad \😩

spare lance
rough sapphire
#

notepad is good

#

don't you talk shit about it

tribal aurora
#

is good for what?

wise schooner
#

coding ofc

solemn leaf
#

traceback error , line 1
IMPORT is not defined

#

@tranquil orchid lmfao , you changed status from vibeing to vibing

#

kek

rough sapphire
#

Notepad++ was the only text editor we were allowed to use during my programming class tests it was "fun"

inland wolf
#

lo

tranquil orchid
#

Oh yeah thanks for reminding me, I gotta change it back

dire siren
#

it makes i to I

#

PT cool

solemn leaf
#

what is this font

solemn leaf
#

lol

dire siren
floral apex
#

Pattern matching
PatMat
MatPat

fallow jewel
#

hey, I'm trying to install git

#

but it doesnt work for me

graceful basin
#

did you try restarting the command line?

wise schooner
#

scoop install git thonkcool

latent scaffold
#

Lmao is scoop better than choco

#

I feel like scoop is relatively new

wise schooner
#

scoop is better than most package managers on windows tbh

#

even winget (for now)

#

ofc winget is supported by M$ and stuff so it could get better soon

graceful basin
#

I am not a fan of scoop's manifest format

#

but it is a good option overall

#

git is also on winget

tardy rain
#

why the choco hate

#

undeserved

wise schooner
#

choco is... not great
it has a 8 year old lua version iirc

#

and it failed to install a few packages which was the real reason i switched lol

#

i prefer things that just work out of the box

latent scaffold
#

well

#

the unofficial lua package only has 20k installs

#

compared to like 7M on Python

wise schooner
#

scoop has the latest tho Sadge

graceful basin
#

oh, winget doesn't have lua at all

#

it has love2d though

#

which is somewhat odd

wise schooner
#

👀 yeah

glad grove
#
import java.util.Scanner;

public class Circle extends Point{
    
public static void main(String[] args) {

     Scanner sc = new Scanner(System.in);
     Point p1=new Point();
     p1.x=sc.nextDouble();
     p1.y=sc.nextDouble();
     Point p2=new Point();
     p2.x=sc.nextDouble();
     p2.y=sc.nextDouble(); 
     Circle c1=new Circle();
    c1.distance(p1,p2);
    
  }

}
public void distance() {
  double dis=Math.sqrt((p2.x-p1.x)*(p2.x-p1.x) + (p2.y-p1.y)*(p2.y-p1.y));
  System.out.print(dis);
}```
glad grove
tardy rain
#

are you getting an error?

glad grove
#

m tryin to calculate distance between two points

tardy rain
#

your distance method takes no args

#

but you pass them anyway

latent scaffold
#

both are 5.1.5-52

wise schooner
#

?

#

scoop is on 5.4.2

glad grove
tardy rain
#

properly declare your method?

wise schooner
#

5.1.5 is like... older than 8 years ig

latent scaffold
#

uh

wise schooner
#

2012-02-13
yeah

glad grove
wise schooner
tardy rain
wise schooner
latent scaffold
#

How to get info on scoop packages

#

:<

wise schooner
#

i just did scoop search lua lol

glad grove
#
import java.util.Scanner;

public class Circle extends Point{
    
public static void main(String[] args) {

     Scanner sc = new Scanner(System.in);
     Point p1=new Point();
     p1.x=sc.nextDouble();
     p1.y=sc.nextDouble();
     Point p2=new Point();
     p2.x=sc.nextDouble();
     p2.y=sc.nextDouble(); 
     Circle c1=new Circle();
    c1.distance(p1,p2);
    
  }

}
public void distance(double p1.x , p1.y , p2.x , p2.y) {
  double dis=Math.sqrt((p2.x-p1.x)*(p2.x-p1.x) + (p2.y-p1.y)*(p2.y-p1.y));
  System.out.print(dis);
}```
latent scaffold
#

yes but like

#

how to see the information

#

surely there's more to it than that

tardy rain
#

you have to declare all parameters, that one only does one

wise schooner
#

do they even have info? idk

tardy rain
#

also theyre new local variables, Circle.distance doesnt know what p1.x is

wise schooner
#

oh
scoop info app

tardy rain
#

double x1, double y1, double x2, double y2

glad grove
wise schooner
glad grove
# tardy rain `double x1, double y1, double x2, double y2`
import java.util.Scanner;

public class Circle extends Point{
    
public static void main(String[] args) {

     Scanner sc = new Scanner(System.in);
     Point p1=new Point();
     p1.x=sc.nextDouble();
     p1.y=sc.nextDouble();
     Point p2=new Point();
     p2.x=sc.nextDouble();
     p2.y=sc.nextDouble(); 
     Circle c1=new Circle();
    c1.distance(p1,p2);
    
  }

}
public void distance(double p1.x ,double p1.y ,double p2.x ,double p2.y) {
  double dis=Math.sqrt((p2.x-p1.x)*(p2.x-p1.x) + (p2.y-p1.y)*(p2.y-p1.y));
  System.out.print(dis);
}
#

still not working!!!!!

tardy rain
#

my guy

tardy rain
#

the distance method doesnt know what p1 is

#

define new parameters with other names

glad grove
#

ohhhhh

#
ProgramCircle.java:21: error: class, interface, or enum expected public void distance(double x1 ,double y1 ,double x2 ,double y2) { ^ Circle.java:23: error: class, interface, or enum expected System.out.print(dis); ^ Circle.java:24: error: class, interface, or enum expected } ^ 3 errors```
#

everytime i am getting this

tardy rain
#

no idea java bad

#

idk why you have an entrypoint in your circle class

graceful basin
#

your function is outside the class

glad grove
graceful basin
#

just put the method in the class

tardy rain
#

no, move your brackets

graceful basin
#

I think you need some basic explanation on scopes and methods

#

let me see if I can write sth up

glad grove
#

but p1 and p2 both have 2 values each

glad grove
graceful basin
#

actually, why is a circle a point?

#

that doesn't seem right

glad grove
#

Complete the code segment given below. Use Math.sqrt( ) to calculate the square root.```
#

this was the ques!!!!1

graceful basin
#

alright, why does Circle extend Point?

glad grove
#

dont it was given bydefault

#

we just need to complete the code

graceful basin
#

alright, so you have a bad teacher

#

that would do it

glad grove
graceful basin
#

you probably want a static method distance of the class Circle to take 2 parementers, Point p1 and Point p2

#

do you know how to make a static method of a class

graceful basin
#

could you show code again?

#

with how you tried to create a static method

glad grove
#
import java.util.Scanner;

public class Circle extends Point{
    
public static void main(String[] args) {

     Scanner sc = new Scanner(System.in);
     Point p1=new Point();
     p1.x=sc.nextDouble();
     p1.y=sc.nextDouble();
     Point p2=new Point();
     p2.x=sc.nextDouble();
     p2.y=sc.nextDouble(); 
     Circle c1=new Circle();
    c1.distance(p1,p2);
    
  }

}
class Point {
  
  double x ;
  double y ;
  
  static void distance(Point p1 , Point p2){
   double  dis=Math.sqrt((p2-p1)*(p2-p1) + (p2-p1)*(p2-p1));
    System.out.print(dis);
  }
  
  
  
}```
graceful basin
#

sure, it can be on Point as well, doesn't matter that much and probably makes more sense

#

(it would make even more sense as a non-static method, but you probably aren't there yet in the class)

#

now, I believe this code should actually work, but since the method is static, you don't need to create a circle instance to do it, you can just do Point.distance(p1, p2)

glad grove
#

let me see

#
class Point {
  
  double x ;
  double y ;
  
  static void distance(Point p1 , Point p2){
   double  dis=Math.sqrt((p1.x-p2.x)*(p1.x-p2.x) + (p1.y-p2.y)*(p1.y-p2.y));
    System.out.print(dis);
    
  }
  
  
  
}
#

it worked

#

thnx @graceful basin

graceful basin
#

wonderful

tardy rain
#

you should probably return values instead of just printing them

near bolt
#

right okay thanks!

rough sapphire
#

what would you like more minecraft challenges like random drops or Hardcore episodes pls reply ping me or dm

wintry fractal
patent granite
#

someone good w physics?

#

i need help w a question

dapper dew
#

Hey I'm still trying to help lol

#

@patent granite

#

The way you worded it makes me think the field is parallel to the particle

patent granite
#

oh sorry thought u went offline

patent granite
#

right?

#

the qestio nwas what is the required force needed to keep the partical there

dapper dew
#

I think 0

#

Since the particle is not moving relative to the magnetic field

patent granite
#

but my question was what kind of force where the mass makes a diffirence is making affecting the aprtical

dapper dew
#

If it was an electric field then the question is different

patent granite
#

the question was what electrical charge does the partical need to have to sta ythere

dapper dew
#

In the presence of a magnetic field

acoustic moss
#

err, how does a magnetic field have a unit kN/C

dapper dew
#

Which it won't interact with if A. It is not moving or B. If the field lines are parallel to the motion of the particle

patent granite
#

its either magnetic field/electrical field

dapper dew
#

I think you mean Electric Field, not Magnetic Field

patent granite
#

but "electrical field" sounds wrong

acoustic moss
#

the ques would make a lot more sense if its an electric field yeah

dapper dew
#

two very different things

patent granite
patent granite
patent granite
#

so to make the question clearer,

what eletrical charge does a charged partical with the mass 0.84 mg has to have in order to stay flaoting in a upward eletrical field with the power 26 kN/c

dapper dew
#

Gravity is involved then

patent granite
#

between what?

#

the charged partical and the eletrcial field..?

dapper dew
#

Gravity pulling the particle down, and the electric field pushing the particle up

patent granite
#

ohh i see

#

alr imma try to write some stufff down and write some notes to gather my thoughts and see if i fully understand this now

#

yup i solved it

#

@dapper dew thanks man

#

literal super hero

#

i used Q = F/E

dapper dew
patent granite
#

F is the gravitational pull, E is the charge which we is info we get from the start

#

then i got Q

#

which is what we need

dapper dew
#

Right. When those two forces are equal, particle "floats"

patent granite
#

yea exactly

#

you saved my sanity fr

#

i have to rely on disocrd for help since my mom doesnt know and doesnt have much time and since my teacher is... welll.... not the best

dapper dew
patent granite
#

oh i see

latent scaffold
#

How have I never known of the existence of this?

#

I'm no longer forced to use snap/flatpak :D

floral apex
clear night
frail badge
#

what color theme is it

#

What the duck

frail badge
#

what theme r u using

#

i just use either nord or monokai pro without paying >:)
idrc about the ads they only show up when i log on

acoustic moss
#

wow yall actually write tests

#

and comments too!?!?

frail badge
#

lol i dont have that many comments

#

just some

#

palenights honestly pretty nice

#

in screenshots all themes look nice

#

but when ur entire screen is engulfed in it it burns your eye sockets

#

i learnt that the hard way for the light themes 😔

edgy crest
spare lance
spare lance
frail badge
#

what the duck

mild abyss
#

how do u put dogs without cats

#

i mean huh?

#

i misread lol

solemn leaf
#

tabnine 👌

rough sapphire
#

what language is that?

tribal aurora
inland wolf
#

tab nine gb of ram

rough sapphire
inland wolf
#

ikr

rough sapphire
#

and golfers on toppa that

acoustic moss
#

orz

tribal aurora
runic wigeon
#

Does this look cool?

near bolt
#

for lambda functions, do we use this syntax to express composite function f(f(x))
f => x => f(f(x))
i find it abit confusing since usually it would be x => x + 1
so what's the extra f => for
(f, x) => f(f(x)) seems more intuitive?

harsh tundra
tardy rain
#

Now make a compose function in python that takes an arbitrary number of functions and composes them together

narrow pecan
#

@solemn leaf are you finding anything nice about crickets?

narrow pecan
#

LOL

#

that kind of cricket

solemn leaf
#

yes :P

narrow pecan
#

Also, since when does Google have an integration for discord

#

Lol

narrow pecan
#

Premid?

solemn leaf
#

yeah its an application + chrome extension

#

for discord presence

narrow pecan
#

Ah

solemn leaf
#

you can use it for any site

#

like

narrow pecan
#

Cool

tribal aurora
solemn leaf
narrow pecan
#

Eyy

tribal aurora
narrow pecan
#

SO nice

#

(That’s a pun)

solemn leaf
solemn leaf
narrow pecan
#

To be honest, I’m not sure why we even use presences

#

It makes sense from discord’s perspective, but why from a user perspective

solemn leaf
#

i was just testing out premid stuffs

narrow pecan
#

Lol yeah, but I feel like many people consistently use it

#

I’ve used it too for things like VSC and Spotify

solemn leaf
#

it has almost every famous site presence

narrow pecan
#

Maybe it makes it feel like we’re more present on discord, even when we’re not there? Like we’re being productive in some way?

narrow pecan
solemn leaf
#

ye

narrow pecan
#

Yeah

tribal aurora
solemn leaf
#

premid presence store

#

you can download extension for what you want to show

#

manually

#

also it does not break tos brainmon

#

shadap @futurepinger

harsh tundra
uneven pine
#

bag of dicts

honest prism
#

Someone with linux experience that can tell me why cat doesn't execute a command but prints it??

latent scaffold
#
eval $(python3 -c 'print("printf \"Hello, world!\\n\"")')
Hello, world!
#

this is something more like what you probably want

latent shoal
#

soldier

honest prism
latent scaffold
#

uh

latent scaffold
#

the > in shell scripting sends the output to a file

#

so you can do echo "foo bar" > test.txt

honest prism
#

I did that

latent scaffold
#

and test.txt will contain

foo bar
#

you're sending your output to a file rather than stdout

#

and when you cat test.txt, it'll output foo bar

#

it doesn't run what's inside of it

honest prism
#

Ah yes I understand now thank you

round herald
#

Hey does anyone here know what nonograms are?

#

I am making pixel art for them and I need some ideas

mild abyss
#

who is ella

open fern
#

IIRC a dog of some staff member ^^

#

(and before I get blasted for saying "some staff member", I don't want reveal who it is myself just in case it hasn't been public info before ^^)

latent scaffold
#

if I had to guess... Fisher's

#

idk how I knew that but I was correct

open fern
#

It's just that I have access to channels as a partner that regular members don't ... so I like to play it safe ^^

#

I know this case is a bit different, but it falls under the same-ish realm

latent scaffold
open fern
#

oh well 😅

wild yarrow
latent scaffold
#

lisa?

solemn leaf
#

👀

dire siren
#

help

#

i cant move mouse in vm

#

i'm running damn small linux on virtualbox

#

nvm fixed

dire siren
#

hello. how to embed a window on another window

#

found it.

spare lance
#

who is ella.. why does concerned person want to be an otn

solemn leaf
#

and see the great spam

#

after 3 msgs

#

@eternal wing how is ella doing? btw

#

just ella

#

bruh

#

ok

#

how does the person didn't get a

#

mute

spare lance
solemn leaf
#

maybe 👀

rough sapphire
#

just a reference picture of otn

tribal aurora
#

so what is it, a he or a she

#

kutiekatj9 says he, fisher says she

#

..?

quick ledge
#

kat was talking about her cat

tribal aurora
royal lakeBOT
frozen coral
#

oh shit

#

!user

royal lakeBOT
#
Chrisjl#2655

hypesquad_brilliance

User information

Created: <t:1450304619:R>
Profile: @frozen coral
ID: 126811506632294400

Member information

Joined: <t:1598532650:R>
Roles: <@&267628507062992896>, <@&267629731250176001>, <@&831776746206265384>, <@&587606783669829632>, <@&409416496733880320>, <@&267630620367257601>, <@&825337057181696020>, <@&295488872404484098>, <@&585529568383860737>

Infractions

Total: 54
Active: 0

frozen coral
#

noice

#

Wait, no, it's in 1 hour

harsh tundra
dire siren
#

!remind 30d 20k messages

royal lakeBOT
#
Certainly not.

Sorry, you can't do that here!

dire siren
#

:(

#

helper privilleges

low chasm
#

Hey

modern haven
#

C# am i right

low chasm
#

yeah no

modern haven
#

lol

low chasm
#

Rust > C#

#

amirite

#

in all seriousness though, it depends on the usecase

#

@median yoke A language being old doesn't make it bad

modern haven
#

i need to learn C# web requests, then ill be unstopable

dire siren
#

id recommend learning english as a human beginner

low chasm
#

Python is old as well

dire siren
low chasm
#

Its not particularly a young language

#

I do prefer using Rust

median yoke
low chasm
#

But that doesn't put C out of the picture

dire siren
#

english is an oooooooooooold language :)))

low chasm
#

And why can't you learn both?

#

Rust does have a number of pro points to it, but I think it'll compete something like C++, not C

median yoke
#

You can but its better to focus on one language

low chasm
#

Rust isn't going to replace C

dire siren
tardy rain
#

no its not

dire siren
#

like youre learning multiple subjects in school anyways

modern haven
#

im just familiar with C/C++/C# syntax, how rust appears confuses me

tardy rain
#

life is short, if you focus on one thing at a time youre not gonna get anywhere

dire siren
tardy rain
#

why are you agreeing lmao im disagreeing with you

median yoke
#

We don't have the time of the world

low chasm
#

If its your first language, focus on it, but once you move on to learning more languages, its not incredibly hard to pick up a few at once

dire siren
spare lance
dire siren
#

:)))

low chasm
#

I feel more like Rust will compete against C++ more than C

edgy crest
#

i doubt

low chasm
#

C isn't going to be replaced by rust

edgy crest
#

neither c++

dire siren
median yoke
dire siren
#

c will never die

low chasm
#

I can see Rust being a pretty large competitor for C++

edgy crest
#

and why

tardy rain
#

rust is gonna have to find its own niche or die trying

low chasm
#

lmao

modern haven
#

lmao

edgy crest
#

yea

low chasm
#

C is embeddable, its small, its fast, its not a bad language to learn

median yoke
#

But C is kinda like C++

low chasm
#

No its not

tardy rain
low chasm
#

C++ moved beyond being a superset of C

dire siren
modern haven
#

C++ has native OOP whereas C doesnt

low chasm
#

C has a lot less features than C++

rough sapphire
#

no

low chasm
#

Which can be a good thing

median yoke
low chasm
#

C is a small language

rough sapphire
#

oh ok

#

i thought u meant the opposite

#

my bad lol

low chasm
#

lmao

modern haven
#

C is meant more for embedded systems like Aboo said, such as satnavs and tumbledryers, C++ is more for application programming like games and scientic research

dire siren
low chasm
#

lmao

rough sapphire
#

c is pogger for arduino

low chasm
#

lmao

#

just go back in time and remove C ez

modern haven
#

but C is good

gritty zinc
gritty zinc
modern haven
#

dont give aboo ideas man

#

hes already writing the universe

spare lance
low chasm
dire siren
gritty zinc
#

some of the derivative languages might die, but that's a risk I'm willing to take

tribal aurora
tardy rain
#

python would die

dire siren
tribal aurora
tardy rain
#

cpython

dire siren
#

rpython existed before cpython in that universe

tardy rain
#

inb4 jython

#

whats rpython anyway

dire siren
#

time to time travel and kill sun

dire siren
tardy rain
#

ew

spare lance
#

thats something i would second

spare lance
dire siren
tardy rain
#

oracle beat you to it

spare lance
tribal aurora
dire siren
#

oracle isnt needed to he killed. kill sun microsystem so java wont die

dire siren
#

no more original

#

so i decided to change to a weird one

rough sapphire
#

!code

royal lakeBOT
#

Here's how to format Python code on Discord:

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

These are backticks, not quotes. Check this out if you can't find the backtick key.

edgy crest
#

any good font recommendations for a minesweeper game

#

not pixelated tho

frozen coral
#

wingdings

edgy crest
#

interesting name

#

ill look that up thnx

harsh tundra
edgy crest
#

o sure, what os are you on

harsh tundra
#

Android :P

#

Personal computer is Win10

edgy crest
#

oh it only works on desktop lol

#

i can port to web but aa thats hard

dire siren
edgy crest
#

need to figure out emscriptem or smth

#

would have to build that tho

harsh tundra
#

Tis was a joke, as you asked which is I'm on so right now

#

Win10

edgy crest
#

ah lol aight

edgy crest
inland wolf
#

minesweeper wanter spotted

tranquil orchid
#

@rough sapphire Seems like it's that today

harsh tundra
edgy crest
#

alright then, ill DM the installer

inland wolf
#

if u dont want the installer i can send u the zip file

#

u see

#

i compiled his minesweeper

#

becasue he doesnt have windows

#

lol

edgy crest
#

yeah im on linux

inland wolf
#

it works ver wel

#

very well*

graceful basin
#

hey, vinam you should make a github action to compile automatically

inland wolf
#

truee

#

but can it compile for windows

graceful basin
#

yup

inland wolf
#

oh damn

#

nice

#

then its ez

edgy crest
inland wolf
#

what compilers does it have

graceful basin
#

any

inland wolf
#

damn

rough sapphire
#

how can i fix this

graceful basin
#

essentially, you write a wacky yaml file and then github uses it to create a onetime VM to do your build or run your tests or whatever, and you get to take whatever files you need out

inland wolf
#

ikr

graceful basin
#

@rough sapphirefigure out what to do when data is shorter than 2 elements

rough sapphire
#

2 or 3.

graceful basin
#

2, slices cannot indexerror on builtin sequences

rough sapphire
#

ah i see.

inland wolf
#

someones probably already wirtten such a yaml

lunar shore
#

Wait a minute, so Cellular automata is basically just randomizing the states that some objects have?

rough sapphire
#

!code

royal lakeBOT
#

Here's how to format Python code on Discord:

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

These are backticks, not quotes. Check this out if you can't find the backtick key.

harsh tundra
rough sapphire
#

YouTube often states it can't make connection to the internet. Does anyone else have this?

tardy rain
#

Yea, what about it

rough sapphire
steady thunder
#

maybe youtube doesnt have access to the internet

rough sapphire
#

maybe

tardy rain
#

Hmmm

rough sapphire
inland wolf
#

indubitaly

graceful basin
#

@frosty locustwhat are you connecting with?

frosty locust
graceful basin
#

so ssh, did you ever connect successfully?

frosty locust
#

at first i thought maybe vps is down but its up cause my website that im hosting on it is running

frosty locust
graceful basin
#

did you mess with the firewall?

frosty locust
#

nope

graceful basin
#

hmm, it seems like the ssh service is not running

frosty locust
#

its not letting me connect on any of my devices

#

and none of winscp and putty are working

graceful basin
#

what VPS provider did you buy from?

frosty locust
#

1 from ovh 1 from digital ocean

#

none are connecting

graceful basin
#

well, that's strange

frosty locust
#

ik

graceful basin
#

did you try connecting from a different network than your home wifi

frosty locust
#

and my bots and website is running so that means the vps is up

latent scaffold
#

Did you accidentally close port 22?

frosty locust
graceful basin
#

try that, v1nam here had an issue with ISP blocking port 22

#

port 22 is where ssh runs

frosty locust
#

how do u do that

graceful basin
#

but if they closed a port, only one vps would break

frosty locust
#

well my pc was compromised today earlier i got cryptolocked

#

had to reinstall windows afterwards

latent scaffold
#

they could've blocked it when going to open up ports 80/443

frosty locust
#

not sure if it has anything to do with it

latent scaffold
#

on their VPS providers website

graceful basin
#

they have 2 VPS from 2 providers

frosty locust
#

i didnt touch the privider site in ages

latent scaffold
#

I see

frosty locust
#

usually dont need to

#

so ye

latent scaffold
#

both aren't letting you connect?

graceful basin
#

so that seems unlikely, this feels more like a local network blocking ssh

frosty locust
#

nope none

latent scaffold
#

Have you tried using another network?

frosty locust
#

and none of my devices are letting me connect, same goes with both winscp and putty

#

i dont ave another network thats the problem

#

might need to turn on hotspot now ig

latent scaffold
#

I'd say try a hotspot

graceful basin
#

download juiceSSH and just check it on your phone

#

if you at least get a password prompt

frosty locust
#

but the problem is my pc dont have a wfi receiver i use ethernet

#

only my laptop has it

latent scaffold
#

You can use USB tethering

#

hopefully

graceful basin
#

yeah, that will generally work

frosty locust
#

hopefull lol

latent scaffold
#

or just SSH from your mobile device

graceful basin
#

if it works during freeBSD install, it will probably work on a running system

frosty locust
#

ye ill try using ssh from phone

#

see if it works

#

and/or try restarting pc see if that works

#

its always stuck at searching for host... message

latent scaffold
#

restarting the PC won't help with anything

#

or that's my guess

#

it just doesn't make much sense for that to work

frosty locust
#

ig so lol

latent scaffold
#

If anything, maybe restarting your router

frosty locust
#

it didnt work on phone with my wifi

#

but it worked with my hostpot

#

hotspot*

#

so the issue is with my network but how do i fix it

latent scaffold
#

if I had to guess, they're blocking it out of security precaution

frosty locust
#

thats odd

#

shouldnt happen

graceful basin
#

are you connecting directly by IP or by hostname

vapid nymph
gilded prawn
#

*removed the gpl parts

#

horrid license

vapid nymph
#

ehhh

gilded prawn
#

thanks for pointinh that out

vapid nymph
#

depends on the project, I can see use for LGPL

gilded prawn
#

LGPL yes

#

gpl or agpl no

#

theyre what happens (literally) when you take a free software fanatic who hasnt specialised in law and get them to write a license

vapid nymph
#

writing something that isn't a library, I can see the use of *GPL, but writing libraries, I don't really understand why to use GPL except to not have people use it lol

graceful basin
#

AGPL makes sense for things that you run on the cloud to prevent companies from just hosting the project and selling it with minimal changes to make it proprietary

vapid nymph
# gilded prawn thanks for pointinh that out

an aside, they want to merge that in to lance which means that the code in @median dome will be MIT licensed and you can bundle it with your project at that point lol, if it gets merged

gilded prawn
#

I'll just write a better owofier KEKW

vapid nymph
#

lol

#

Yeah, I'm probably going to switch one of my projects from MIT to LGPL

#

specifically the project in my bio lol

gilded prawn
#

im making my own modmail anyway so go ahead KEKW

vapid nymph
#

lol

gilded prawn
#

MIT

#

well

#

it will be once complete

vapid nymph
#

aha

#

you're welcome to help with mine lolol

gilded prawn
#

nah i have a service to build KEKW

vapid nymph
#

wdym

gilded prawn
#

I'm gonna make modmail-as-a-service so people can pay me monthly to host their own separate modmail instance

vapid nymph
#

ah

#

you can literally do that with any bot tho

gilded prawn
#

Yes but I also enjoy making things, have experience with many sub-optimal modmail bots, and want to play with stripe's api

vapid nymph
#

ahh

#

yeah, I'm trying hard to make this an optimal bot lol

#

key requirements are dev friendly, expandable, and ease of use

gilded prawn
#

The issue with optimal, as I've discovered, is that it's really hard because every server has different requirements

vapid nymph
#

that's the expandable portion 🙂

gilded prawn
#

in GTA online for example we have a bunch of custom modmail plugins which only make sense for us to have

#

my challenge is making that sort of customisability without allowing people to execute their own code on my servers

vapid nymph
#

ah, makes sense

vapid nymph
#

I'm writing a full addon system here, with plugins only a portion of that

gilded prawn
vapid nymph
#

yeah

latent scaffold
vapid nymph
#

Hmm

gilded prawn
vapid nymph
#

Do you want to work on this bot for a portion?

#

There's some good code in it that I think you would be able to use

#

and vice versa

gilded prawn
#

ehh if its gonna be gpl code i'd rather stay safe and use my own (plus i want the experience of making my own regardless)

vapid nymph
#

well

vapid nymph
gilded prawn
#

Thing is, im not making it for money, I'm making it to be useful

vapid nymph
#

I don't want someone else to take the source, and start to host it and most importantly, say that its their code

gilded prawn
#

just to be useful to the most people it helps if I can host it myself for people, and they pay me for the servers costs

vapid nymph
#

which happens a lot with the kyb3r modmail

#

ppl say that they wrote it and that its theirs

#

LGPL while its getting out there, so someone with more draw can't say its theirs

#

I might not switch it, idk yet

vapid nymph
gilded prawn
#

Yeah for me I don't really mind that, reason being that it's actually just there to help, if people want to pay me to host it then they're literally paying for hosting costs, and thats all i really care about, I don't want profit from it, so if others take it and host it cool, they're also helping

#

if they charge more people will just use mine anyway

vapid nymph
#

yeah, that, I just don't want people taking false credit

gilded prawn
#

and im the one with the fancy domain to put it on

vapid nymph
#

right

#

lol

#

except who needs a dashboard 👀

gilded prawn
#

Oh that's what the one closed source part of this will be, a highly featured dashboard where you can directly interact with threads within the browser

#

that I do want to keep to myself

vapid nymph
#

ah

#

hmm

gilded prawn
#

the bot, as per my spec, should be able to run fully headless though, so no dash needed

vapid nymph
#

Same

gilded prawn
#

if someone wants to host just the bot, cool

vapid nymph
#

Yep

#

welp time to finish addon implementation

#

or at least the converter sheesh

ancient minnow
#

Just found this tweet lol

versed saffron
#

is pip using rust now?

latent scaffold
frail badge
#

They were wonderign because its in C:\Users\owner\ .rustup \ ...

latent scaffold
frail badge
#

idk then

#

okaya

tender smelt
latent scaffold
#

I don't understand

lone grail
#

Oh MY GOD. My cat was sitting on my laptop while discord was open in the coding den

#

would of been a quick ban

#

glad a caught it

#

before

latent scaffold
#

lol

lone grail
#

and apoligized

latent scaffold
#

This is why you have your computer go to sleep automatically

lone grail
#

but the cat came before that

uneven pine
versed saffron
#

it also came up when I upgraded pip

uneven pine
#

huh, that's weird

versed saffron
#

I saw that about cryptography but there’s nothing in the repo that requires rust and upgrading pip shouldn’t do it either

#

I might just try reinstalling pip or py if that doesn’t work

#

Maybe rust broke it

edgy crest
#

lolz

shy haven
#

Is discord api confusing?

#

I don't have much experience with api but I want to make my own since discord py will die kekw

uneven pine
#

Well, it sort of is these days

#

back when I made my project back in the day the API was a hell of a lot simpler

#

But I was forced to stop my library due to the death threats that discord said were totally fine for me to get

shy haven