#voice-chat-text-0

1 messages · Page 16 of 1

quasi condor
zenith radish
lavish rover
#

Smh where's my co-author on commits

zenith radish
#

No coauthor, this a whole new repo than the one we worked at xD

#

I can give you a credit in the readme

#
This library is dedicated to Mustafa, for not worrying.
Day by day. Day by day.
కాలం ఒడిలో day by day
sweet lodge
#

Terrible practice

#

I accidently made myself an infinite loop that way once

rugged root
#

@quasi condor I'm so mad that low ace is 5 points

#

But will always be 15 loss

sweet lodge
#

Maui

zenith radish
#

1.7976931348623157e+308

amber raptor
#

82578210453192704

#

82578210453192704

zenith radish
#
> let a = 82578210453192704
> a + 2
82578210453192700
quasi condor
zenith radish
wintry path
#

Any software engineers? I have 'tip calculator' program and need help fixing decimals

#
bill = input("What was the total bill?")
print(bill)
bill_split = input("How many people to split the bill?")
print(bill_split)
percentage = input("What percentage tip would you like to give? 10, 12, or 15?")
result = int(bill) / +int(bill_split) / +int(percentage)
resultss = str(float(result))
print("Each person should pay " + resultss) ```
#

Here's the error I'm getting

  File "main.py", line 14, in <module>
    result = int(bill) / +int(bill_split) / +int(percentage)
ValueError: invalid literal for int() with base 10: '456.34'```
#

@zenith radish

zenith radish
wintry path
#

Mind helping me @amber raptor

#

Can you ? @quasi condor

quasi condor
#

yes, I do mind helping you

#

if you want help - the way to get it is to go through the help system

wintry path
#

Fair enough, thanks for actually responding

quasi condor
#

that explains how to get help

amber raptor
#

[CmdletBinding()]
param (
# Parameter help description
[Parameter(Mandatory=$true,HelpMessage="Execution")]
[ValidateSet('build','up','stop','down')]
[string]
$Action
)
switch($Action){
"build" {
Start-Process 'docker-compose' -ArgumentList 'build --no-cache' -NoNewWindow -Wait
}
"up" {
Start-Process 'docker-compose' -ArgumentList 'up -d --build' -NoNewWindow -Wait
Start-Process 'docker' -ArgumentList 'system prune -f'
}
"down" {
Start-Process 'docker-compose' -ArgumentList 'down' -NoNewWindow -Wait
}
"stop" {
Start-Process 'docker-compose' -ArgumentList 'stop' -NoNewWindow -Wait
}
}

sweet lodge
#
[CmdletBinding()]
param (
    # Parameter help description
    [Parameter(Mandatory=$true,HelpMessage="Execution")]
    [ValidateSet('build','up','stop','down')]
    [string]
    $Action
)
switch($Action){
    "build" {
        Start-Process 'docker-compose' -ArgumentList 'build --no-cache' -NoNewWindow -Wait
    }
    "up" {
        Start-Process 'docker-compose' -ArgumentList 'up -d --build' -NoNewWindow -Wait
        Start-Process 'docker' -ArgumentList 'system prune -f'
    }
    "down" {
        Start-Process 'docker-compose' -ArgumentList 'down' -NoNewWindow -Wait
    }
    "stop" {
        Start-Process 'docker-compose' -ArgumentList 'stop' -NoNewWindow -Wait
    }
}
zenith radish
#
[CmdletBinding()]
param (
    # Parameter help description
    [Parameter(Mandatory=$true,HelpMessage="Execution")]
    [ValidateSet('build','up','stop','down')]
    [string]
    $Action
)
switch($Action){
    "build" {
        Start-Process 'docker-compose' -ArgumentList 'build --no-cache' -NoNewWindow -Wait
    }
    "up" {
        Start-Process 'docker-compose' -ArgumentList 'up -d --build' -NoNewWindow -Wait
        Start-Process 'docker' -ArgumentList 'system prune -f'
    }
    "down" {
        Start-Process 'docker-compose' -ArgumentList 'down' -NoNewWindow -Wait
    }
    "stop" {
        Start-Process 'docker-compose' -ArgumentList 'stop' -NoNewWindow -Wait
    }
}```
sweet lodge
#

What is this? A Makefile?

zenith radish
#
#!/usr/bin/env bash

case $1 in
    "build")
        docker-compose build --no-cache;;
    "up")
        docker-compose up -d --build
        docker system prune -f;;
    "down")
        docker-compose down;;
    "stop")
        docker-compose stop;;
esac
sweet lodge
#

(top ;; is a single line)

#

if also ends in fi

rugged root
sweet lodge
#

!pep 582

wise cargoBOT
#
**PEP 582 - Python local packages directory**
Status

Draft

Python-Version

3.12

Created

16-May-2018

Type

Standards Track

sweet lodge
#

And python and pip will already use that folder if it exists

sweet lodge
#

Yes

amber raptor
#

There should be one– and preferably only one –obvious way to do it.

sweet lodge
#

PEP 621 specifies defining project metadata in [project.*]
PEP 517 specifies defining build metadata [build-system]
Everyone noticed that this was a "standard", and started putting their stuff there too under [tool.*]

#

I'm not on Poetry

#

I was PDM but then I went back to setuptools
Preocts is big enterprise and he uses setuptools

rugged root
#

Fair

mild quartz
#

alright fair

sweet lodge
#

@amber raptor wants pip install pyproject.toml
"To be fair", pip install . will read your pyproject.toml and parse your [build-system] and install the packages under requires and then invoke the build-backend to build your package. Eaxmple -

[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
#

no

#

Heck your braces

#

!eval from __future__ import braces

wise cargoBOT
#

@sweet lodge :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 | SyntaxError: not a chance
zenith radish
#
err := thisCouldFail()
if err != nil {
  log.Fatal(err)
}
#
if err := thisCouldFail(); err != nil {
  log.Fatal(err)
}
quasi condor
swift olive
sweet lodge
#

Yeah

#

Fury needs a job

swift olive
#

oh

#

dog

#

my dog is sleeping beside me

sweet lodge
#

web scale?

rugged root
sweet lodge
#

Yes

#

Auth sucks

rugged root
rugged root
sweet lodge
#

how dare u

#

I use Rust BTW on Arch Linux BTW, BTW

rugged root
#

WHY is there not a distro called Arch BTW

serene glade
#
    while True:
        action = input("What do you do? [ attack | check | taunting | sneak ] ").lower()
        if action in actions_dict.keys():
            print(actions_dict[action])
            if action == "sneak":
                print("You just slipped through the door before the guard realised it.")
                print("You are now outside, home free! Huzzah!\n")
                return
            if action == "taunting":
                var = (
                    "Guard woke with a grunt, and reached for his dagger and before you know it, the world goes dark "
                    "and you just died.")
            
            elif action == "attack":
                    
                you_died(
                    "Guard woke with a grunt, and reached for his dagger and before you know it, the world goes dark "
                    "and you just died. \n<GAME OVER>")

@rugged root Why dose this not need a " else " statement to run?

rugged root
#

Else's are optional. Unlike something like Rust, which holds you to cover all edge cases

serene glade
#

Thanks Python AKA Mr. Ramathon!

#

lol

rugged root
#

Eh

#

Brb @zenith radish @amber raptor Please don't kill each other while I'm gone

zenith radish
#
sweet lodge
#

Most of the time when we make mistakes in our code, a message gets displayed wrong or an invoice doesn’t get sent. But sometimes when people make mistakes in code, things literally explode, or bankrupt companies, or make web development a living hell for millions of programmers for years to come.

Join Mark on a tour through some of the worst mi...

▶ Play video
kindred timber
#

yo

sweet lodge
#

You don't know what you don't know
Right up till it bites you in the ass

#

I like to think I'm a unicorn

rugged root
#

Only virgins can see you?

sweet lodge
#

But really I'm just shit at both

sweet lodge
kindred timber
#

wait what

rugged root
#

Myth is that only virgins can see unicorns due to purity or something

kindred timber
#

That's fascinating.

sweet lodge
#

But can you fix my printer?

kindred timber
#

But that Poseidon that lives in my attic says that it isn't true.

kindred timber
sweet lodge
#

Yes

kindred timber
#

is it laserjet printer?

sweet lodge
#

I configured the scan to email, but it says "scan email failed"

rugged root
kindred timber
#

haha

sweet lodge
kindred timber
#

hp ?

sweet lodge
#

Brother

#

That's not perspective

kindred timber
#

huh Discord argument

zenith radish
#

!timer

rugged root
#

Fucking kill me

zenith radish
#

is there a timer command?

kindred timber
#

XD

zenith radish
#

!timer 5min

rugged root
#

There isn't

sweet lodge
zenith radish
#

Damn it

sweet lodge
wise cargoBOT
#
Can do!

Your reminder will arrive on <t:1664212409:F>!

zenith radish
#

Oh nice going @sweet lodge

wise cargoBOT
sweet lodge
#

"I was classically French trained"

def le_func():
  ...
sour willow
#

....

rugged root
#

!tvmute 516815919272427522 1w Interrupting conversations, regardless of whether you muted another user or not, is unacceptable. You gathered from context clues that both Rabbit and myself were talking to LP. You in fact said that you knew we were talking to him, and took the opportunity of silence to insult him. In this exact context, it did not matter whether or not you knew he had unmuted you or not.

If this happens again (including the yelling at me and others, insulting me and others) after the mute expires, you will lose your voice permissions entirely.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice mute to @south bone until <t:1664817566:f> (7 days).

sour willow
#

Ooof

rugged root
#

I'm fine with the tyrant thing, though

#

I don't mind that

#

@south bone If you have any complaints or wish to appeal your voice mute, you may address them to @rapid crown via dms

knotty marlin
#

hey how can I add condition in lambda function

sweet lodge
#

where special characters?

#

public static void main(String[] args)

rugged root
#

Any reason for the reply to it? What's done is done

knotty marlin
#
check_age = lambda age:#what should I put here if I want it to return something based on conditon, for example return age if age>=18

#

age

sweet lodge
knotty marlin
#

no I don't want it to return True or false, I want it to return age

solar fog
#

im interested in peoples thoughts here in what career will have more opportunities and growth over the next 10 years between data science and cybersecurity/information security/pentesting. Which one do you guys think might change the most over 10 years and then the next 40 years?

sweet lodge
rugged root
#

Can simplify that to just

check_age = age >= 18
#

Lambda isn't necessary on this

knotty marlin
#

really ?

sweet lodge
knotty marlin
#

I want it to return nothing if below 18

sour willow
#

That's the most overkill way

sweet lodge
rugged root
#

You don't even need the if/else

sour willow
knotty marlin
#

yes I want one without the else

#

if possible

#

if it doesn't exist then I guess doggos method is what I can do

#

learn

sour willow
#

return int >= 18

rugged root
#

Well even if you do None

knotty marlin
#

look

rugged root
#
check_age = lambda age: age >= 18 or None
knotty marlin
#

ooh

#

hmmm

sweet lodge
sour willow
#

Who would do lamda for that....

rugged root
#

Again, you CAN

#

I don't recommend any of that

sour willow
#

Ah

#

He loves lambda it seems

sweet lodge
knotty marlin
rugged root
#
check_age = age >= 18 or None
#

Ah, you are wanting the age

#

Got it

sour willow
#

Just return booleans

rugged root
#

I missed that

#

Then yeah, the if/else will be needed

#

I just misunderstood

knotty marlin
#

so it's not possible to use only return if ?

sour willow
#

Unless ur doing some pointer stuff I don't think so

knotty marlin
#

what's a pointer

sour willow
knotty marlin
#

haha ok

sour willow
#

And also it's not in python

#

So ....

knotty marlin
#

C

wise cargoBOT
#

@whole bear :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 62
002 | None
knotty marlin
#

hmm let me see

sour willow
#

Ternary should do the same btw

knotty marlin
#

no

#

look

#

I want it like this

sour willow
#

Lamda is the worst thing for this task

knotty marlin
#

yes

#

I wanna see what I can do

rugged root
#

Can you copy/paste that list?

#

Make my life a bit easier when I write the example

sour willow
#

!eval

age = 19
print(None if 18 > age else age )
wise cargoBOT
#

@sour willow :white_check_mark: Your 3.11 eval job has completed with return code 0.

19
knotty marlin
sweet lodge
#

!eval

check_age = lambda age: age if age >= 18 else None
dct = {"Adam":18, "John":None, "Ali":20, "Andrew":None,}
x = lambda data: [(name, check_age(age)) for name, age in data.items()]
print(x(dct))
rugged root
#

Was just going to do a list comp

sweet lodge
#

hmm

sweet lodge
rugged root
#

Donno

sweet lodge
#

the second
: goes all the way at the very end

knotty marlin
#
current_age={"Adam":18, "John":13, "Ali":20, "Andrew":16}



legal_age={key:value for key,value in current_age.items() if value<18 }

for i in legal_age.items():
    print(i)
``` so think of me as trying to do this one but with lambda taking the value
sour willow
#

If u want it to be future proof then just pass in doubles

#

Then add months

knotty marlin
#

this is the output I want

#

not names with values ==None

#

okay wait

sour willow
#

I think he wants to alter the data

knotty marlin
#
current_age={"Adam":18, "John":13, "Ali":20, "Andrew":16}


check_age= lambda age:age if age>=18 else None

legal_age={key:check_age(value) for key,value in current_age.items() }

for i in legal_age.items():
    print(i)
#

one is the same expect I wanna remove the else somehow

sweet lodge
#

!eval

check_age = lambda age: age if age >= 18 else None
current_age={"Adam":18, "John":13, "Ali":20, "Andrew":16}
print([(name, check_age(age)) for name, age in current_age.items()])
gloomy plinth
#

Is the first so the county the "value" and the second, so the capital the "key" ?
@rugged root

wise cargoBOT
#

@sweet lodge :white_check_mark: Your 3.11 eval job has completed with return code 0.

[('Adam', 18), ('John', None), ('Ali', 20), ('Andrew', None)]
gloomy plinth
#

yes

knotty marlin
#

Same

sour willow
knotty marlin
#

the first one is called the key

gloomy plinth
#

Hahah how old are you xd

knotty marlin
#

turning 18 after tmr

sour willow
#

Bro code is like on of the worst YouTubers

gloomy plinth
knotty marlin
#

the second ONE is the value

sour willow
gloomy plinth
sour willow
#

Youtuber

#

Is actually better

knotty marlin
#

well you see I hate reading

#

or reading unfun stuff

gloomy plinth
#

Idk bro

knotty marlin
#

so I'd rather watch a tutorial

#

and go to a server like now

sour willow
#

And like after you learn move to books

knotty marlin
#

also good

gloomy plinth
#

what one

sour willow
#

Yes but you know what ur doinf

knotty marlin
#

I am using bro code for now and asking here once done I will go to some websites

sour willow
#

Worst website lmao IMO

gloomy plinth
#

whats a good website then @sour willow

knotty marlin
#

Well then ryan, what do you think is the best website ?

sour willow
#

I would go for riptutorial ebooks

#

But for you guys youtube

knotty marlin
#

oh crap my problem

sour willow
#

Rip tutorial has very high expectations

#

But its very nice

#

For starting off it sucks

gloomy plinth
#

nice

#

ok thanks guys

knotty marlin
#

well let me tell you what I want, I want this function

gloomy plinth
#

whats the name of it

sour willow
#

W3 schools is truly the best

#

You gotta understand

#

They have just started

#

Visual learning is way more effective

gloomy plinth
#

yes im fcking young xd

sour willow
knotty marlin
#
def check_age(age):
  if age>=18:
    return age
``` I want to turn this into a lambda function if possible
sour willow
#

Lmaooo

gloomy plinth
#

13

sour willow
#

We had a 14yr old saying he's 7 yesterday lol

gloomy plinth
#

xd

knotty marlin
#

are u him ?

sour willow
knotty marlin
#

oh makes much more sense

sour willow
#

He dmed me like

#

I'm 14

knotty marlin
#

I couldn't believe him because there was no way

gloomy plinth
#

ok thanks guys im out of this conversation now 😂

sour willow
knotty marlin
sour willow
#

But he was cool

knotty marlin
#

yeah

rugged root
#

Wheeeee

sour willow
knotty marlin
#

anyway MML me and you are in this together

#

I reached the 5:14:35 mark

knotty marlin
sour willow
#

Ah micro controller keeps boot looping 😓

sweet lodge
#

what is that word?

#

@zenith radish - type out the word?

zenith radish
#

Autoritetas

#

Dictionary just says "authority"

sour willow
#

@zenith radish how's ur json logger

knotty marlin
#

hmm upon further testing I realized that what doggo and hemlock said about else None was inevitable

sour willow
#

Oh wtf ur lp the moderator??

sweet lodge
zenith radish
rugged root
zenith radish
knotty marlin
#
def check_age(age):
    if age>=18:
        return age

legal_age={key:check_age(value) for key,value in current_age.items() }

for i in legal_age.items():
    print(i)
sweet lodge
#

Yeah I think there's just some connotation there that doesn't cross the langauge barrier

knotty marlin
#

this is what I wanted but it sadly did same with check_age = lambda age: age if age>=18 else None

sour willow
zenith radish
#

Translating the lithuanian definition it's a person, institution or doctrine that is acknowledged(?) and respected by one or many

zenith radish
sour willow
#

Prob shouldn't continue on this convo

knotty marlin
#

hmmm but does he want to use python or cpp ? I lost

zenith radish
sour willow
knotty marlin
#

oof out of here

sour willow
#

He uses cc but cpp >>>

knotty marlin
#

what does cc do

zenith radish
#

not according to google

faint ermine
#

@quasi condor so i've tried to find a definition that fits my mental model of "good" or "goodness" - and was not able to find one which doesn't shift the whole thing on another undefineable concept

sour willow
zenith radish
#

I literally showed you that the chromium code base is all in cc

#

look at this entire project

#

.h and .cc

rugged root
#

Ah, so it's just an alternative to cpp

sweet lodge
zenith radish
#

the reason I do .hh is because emacs defaults to c-mode if I use .h

zenith radish
rugged root
zenith radish
#

hh matches cc

#

h matches c

sour willow
#

Wtf

#

Grpc uses cc

zenith radish
#

a file extension is fake anyway doesn't matter

sour willow
#

Time to change all my file extensions

sweet lodge
#

Right, right
I guess my question is -
Does anyone actually use .hpp?

zenith radish
sour willow
#

It's google rpc

zenith radish
sweet lodge
#

huh

sour willow
#

Unexpectedly I have a brain

#

What a surprise

zenith radish
#

it's not google rpc

#

it's a recursive acronym

sweet lodge
#

We can fix that
⛏️

knotty marlin
zenith radish
#

gRPC (a recursive acronym for gRPC Remote Procedure Calls) is a cross-platform open source high performance Remote Procedure Call (RPC) framework. gRPC was initially created by Google, which has used a single general-purpose RPC infrastructure called Stubby to connect the large number of microservices running within and across its data centers ...

rugged root
zenith radish
#

gRPC (a recursive acronym for gRPC Remote Procedure Calls)

sour willow
#

Discord mobile shows markdown as while text.mm

rugged root
zenith radish
#

Honestly I think I'm gonna start using hxx and cxx

kindred timber
#

hmmm

knotty marlin
zenith radish
#

Just to piss off the most wrong people

rugged root
#

Hey Sim

sour willow
velvet urchin
#

what's wrong with cpp?

zenith radish
kindred timber
#

cpp isn't it a programing lang?

rugged root
#

I mean what matters, is just be consistent within the code base

#

It doesn't matter

zenith radish
#

Well yeah I mean stick to one

#

Actually it would be funny not to

rugged root
zenith radish
#

Just make an emacs script that auto picks a random extension

kindred timber
#

i see

rugged root
#

When you looked at the code again

rugged root
#

Spite

sour willow
#

There should be .cpound for c#

#

But cs is also nice

zenith radish
velvet urchin
#

Well then I have better idea

rugged root
kindred timber
#

do you want to start an argument? Go to someone who uses emacs and rename the command emacs to vi

velvet urchin
#

just use different encoding

rugged root
#

Wait, you can't use special characters in file extensions, right?

#

Just letters and numbers?

sour willow
#

Arguments are a good source of knowledge

sweet lodge
#

Right

velvet urchin
#

\😄

#

Seems like it

#

just made 😄 file

velvet urchin
zenith radish
#

Wikibooks says that .cpp is the most common

kindred timber
#

XD

zenith radish
rugged root
sour willow
#

Woops wrong reply

zenith radish
#

pull requests welcome btw

velvet urchin
zenith radish
#

like file.c\+\+

sour willow
#

Also h++ exists

rugged root
#

Or have it as a string

sour willow
#

Which is very weird

rugged root
#

Like what you have to do with paths with spaces in the name

velvet urchin
#

oh fuck I hate those so much

zenith radish
sour willow
#

I though it defined standards

rugged root
#

Windows does just for convenience/for it to know what to open stuff with

#

But you can tell it to open things in other ways regardless of the file extension

velvet urchin
#

find . -exec sh -c 'mv "{}" "$(tr " " _ <<< {})"' \;

#

first thing I run when working with new data

#

fuck spaces

rugged root
#

Eh

#

Fair

sour willow
#

Mhm

#

Anyone know how windows has security measurement's for forks?

#

Sharing a article would be nice

rugged root
#

Not sure what you mean

zenith radish
rugged root
#

Oh sure

zenith radish
#

disgusting

rugged root
#

But I would assume that if I double clicked on a source file I'd want to want it to open my default editor

knotty marlin
#

look I made really USEFUL CODe

#
def isinstance2(variable,typ):
    if isinstance(variable,typ):
        return True
    else:
        return False
#

will revolutionize the world

zenith radish
rugged root
#

Fair

#

I'm spoiled by GUIs I guess

#

I like clicking

quasi condor
#

even when I'm using windows, I'm almost never opening a source file from explorer.exe

velvet urchin
quasi condor
#

I'm using Pycharm/VSCode's built in browser

sour willow
knotty marlin
rugged root
velvet urchin
#

All good windows is okish let's leave it at that

rugged root
#

Pros and cons for each, I just know how to work best in it

knotty marlin
#

for normal person windows good for person who wants more and windows is not enough then linux, and if you think mac os good then yeah, but we all can agree that unix is the best

rugged root
#

Used it all my life, CIS major so Windows was the main tech, etc.

#

And if I need Linux stuff, I can just use either a Docker container or a WSL instance

knotty marlin
#

I heard linux is hard for non programmers

velvet urchin
#

WSL are really fucking nice

velvet urchin
quasi condor
#

I can't believe you actually merged this @zenith radish

#

❤️

sour willow
#

Linux is quite easy

#

But like it depends

#

Fedora installer is simpler than windows tbf

#

But arch is a pain in the ass

#

I remember setting up it with btrfs

#

Every single fucking time it would brake

#

I would download packages

#

And it would be like

#

Fuck you not today

knotty marlin
#

what do you think of Uwunto

#

I mean Ubunto

sour willow
knotty marlin
#

ahah

faint ermine
knotty marlin
#

it's a meme os

sweet lodge
viscid lagoonBOT
#

nyani do you think of u-uwunto

sour willow
# knotty marlin I mean Ubunto

Ubuntu was like amazing it used to be innovative and it's most like the reason for linuxes success,but that has changed, it was one of the first to adopt x11 with gnome and it was just amazing, but now it's mainly minor updates. It's user repository is far more superior than other distros. Although you can just compile programs urself. And now that's fedora, if was one of the first to support pipe wire which is a driver for audio, Wayland etc.

#

After arch and void , etc.. it's the most up to date

#

However nothing beats arch docs 💕

faint ermine
sour willow
#

Arch was meant to be stand alone

#

It was never meant to have Manjaro

#

That's the whole point of arch

#

But these forks ruin it

faint ermine
sour willow
#

But objectively

steel lodge
#

hi how's everyone doing?

faint ermine
sour willow
#

Arch perpous is here's some tools

#

So the rest your self

#

Redhat is mean to be

#

Here is what you need

#

That's why Manjaro or any fork of arch will be superior to a dedicated disteo

faint ermine
#

i just like that endeavour isn't as far removed from base arch as manjaro is

rugged root
#

What do you mean by dedicated distro?

zenith radish
sour willow
#

No

faint ermine
#

"no" what?

terse needle
#

no

velvet urchin
#

no

sour willow
#

Okk

#

Let me rephrase

#

I mean a distro with a dedicated window manager, etc....

#

Debain it's self gives you that

zenith radish
#

What

#

You are talking about preinstalled software

sour willow
#

Not entirely

rugged root
#

I just find this neat

sour willow
#

Im talking about what it provides

#

At installation

zenith radish
zenith radish
#

Software which is included after the installation process

rugged root
#

Yeah like it's made specifically with hardware compatibility in mind

sour willow
#

Debain it self provides a de, audio driver, kernal etc

knotty marlin
sour willow
#

Arch doesnt

#

Because it's not meant to give it

knotty marlin
#

how is Youur day ?

faint ermine
#

and thats why pure Arch sucks for 99% of people

zenith radish
#

What are you talking about

#

archiso provides a kernel and you install one when bootstrapping

zenith radish
#

You can install different kernels on any other distro too

sour willow
#

The headers and the base it self

steel lodge
knotty marlin
#

rich ?

#

is that someone ?

zenith radish
#

What are you talking about

sour willow
#

Nvm

zenith radish
#

Like installing arch is you just manually running an automatable task

sour willow
#

This ain't going anywhere

knotty marlin
#

Love the dynamic between ryan and Battle boy

#

Battle says somethign Ryan disagrees

steel lodge
knotty marlin
#

then he drops it to not argue

knotty marlin
sour willow
#

Bc

steel lodge
#

like for example you can print something in a certain way

sour willow
#

He's not listening

#

To what in sayinf

steel lodge
#

lemme find the github

zenith radish
#

I've been using arch since before ryan was in school so it's hard not to hedge on that while arguing

terse needle
#

@zenith radish ngl emacs is so much better on a laptop and an SSD

knotty marlin
#

well it's because you're not convincing enough for him

quasi condor
#

ryan

#

u

#

r

#

rong

knotty marlin
#

Mr ryan

sour willow
#

Mhm

knotty marlin
#

idk I just said it because coffee called

knotty marlin
terse needle
steel lodge
#

oof lol

sour willow
#

What I'm saying is

#

Arch is meant to be fully manually installed

#

No fork no nothing

knotty marlin
sour willow
#

Its meant to insta every part yourself

rugged root
#

Okay sure

steel lodge
#

In this Python Tutorial I show you how you can create beautiful terminal styling with Rich. Rich is a Python library for rich text and beautiful formatting in the terminal.

BLACK FRIDAY SALE Python Bootcamp! A limited offer from one of the best Python teachers I know: https://gumroad.com/a/762598515/gbiuM *

Get my Free NumPy Handbook:
https:/...

▶ Play video
zenith radish
rugged root
#

But does it matter?

steel lodge
zenith radish
#

What are you forking?

knotty marlin
steel lodge
#

👍

knotty marlin
steel lodge
#

no i just like doing calligraphy

#

very noice

knotty marlin
#

I see I see

steel lodge
#

😄

quasi condor
#

"Bassline Junkie" is a song by British rapper Dizzee Rascal from his mixtape Dirtee TV.com – The Mixtape EP, Vol.2 (2013). The song was produced by M. J. Cole and peaked at number 10 on the UK Singles Chart despite not being officially released as a single. The track also appeared on The Fifth, Dizzee's 2013 album, and was one of the few UK urba...

#

Wikipedia describes the genre as "Bassline"

#

not as "grime"

knotty marlin
#

so rich customizes the terminal ?

rugged root
#

Going to insist that it's 🐟line

zenith radish
steel lodge
#

you can add some color to data types when you print them out to the terminal

#

you can also add emoji

#

progress bars

#

tables

#

highly recommend giving it a try

sour willow
#

Arch Linux is a distribution optimized for x86-64 architecture targeted at experienced Linux users. It lets you have full responsibility and control over your system. You'll get to choose what packages you want, the kernel (yes there are multiple), the boot-loader, the desktop environment, and so on.

#

This is what I'm saying

quasi condor
#

ryan how is your homework going

knotty marlin
zenith radish
#

optimized for x86-64 architecture

#

wat

steel lodge
#

it's just a really really nice module

sour willow
faint ermine
knotty marlin
#

THAT'S WHAT SOMEONE SPONSORED WOULD SAY

quasi condor
steel lodge
#

XD

faint ermine
#

It is also possible for users to build and maintain their own custom repositories with ease.

sour willow
faint ermine
sour willow
#

No

#

I'm saying they ruin the point of arch not in a bad way

#

Just turned out to be an argument

faint ermine
#

"ruin the point" has big big negative connotations

steel lodge
#

just realized you can even save your code execution to an html file wow

#

:0

knotty marlin
#

what do u

#

mean

knotty marlin
#

in a c++ file and other stuff

zenith radish
steel lodge
#

yeah but if you want to literally save your error message to html you can do that

knotty marlin
#

hmm so that's what you meant

#

save your error

#

I have much to learn

steel lodge
#

😄

knotty marlin
#

damn that sounded weird

#

is the server usually this active ?

faint ermine
#

eh

#

sometimes

steel lodge
#

on and off thing but yes

faint ermine
rugged root
# knotty marlin is the server usually this active ?

Entirely depends on the week. Most of the time it's fairly active in VC (by like fairly active I mean 8 to 14 people unless someone is streaming) during the weekdays doing like a regular business hours in the US.

faint ermine
zenith radish
rugged root
#

Too many arguments for my taste

faint ermine
rugged root
#

Curious what the usecase for that would be

faint ermine
#

no clue

#

brb

knotty marlin
#

@gloomy plinth where are u now in the video ?

rugged root
solar fog
#

LP is the smartest man of all time

zenith radish
solar fog
#

🤣

rugged root
solar fog
#

@zenith radish im going to order you a flask

rugged root
solar fog
#

pocket wine😂

rugged root
#

!server

wise cargoBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 158
Member status: status_online 58,257 status_offline 298,093

Members: 356,344

Helpers: 144
Moderation Team: 37
Admins: 14
Owners: 3
Contributors: 42
Leads: 10

Channels: 335

Category: 36
News: 10
Staff: 70
Stage_Voice: 2
Text: 206
Voice: 11

solar fog
#

@zenith radish sign a form to promise you wont leak the data, and you could be liable to legal action if you do

#

🤣

#

wait LP only wants his own data right?

#

that sounds fine

rugged root
#

I'm done talking about this

#

It's so fucking exhausting for me

solar fog
#

@zenith radish youre expoliting your leverage man😂

rugged root
solar fog
#

whos the weakest link

pallid hazel
#

so, I started googling time schedule stuff between certian hours, and found this on stackoverflow.. but the damn thing doesnt work.. grrr.

#

Exception has occurred: TypeError
'>=' not supported between instances of 'datetime.datetime' and 'datetime.time'

steel lodge
#

@faint ermine, how's your programming language going?

faint ermine
#

i think you got me mixed up

#

i aint making a lang

steel lodge
#

oh ok

rugged root
#

I'm not dealing with this shit

steel lodge
#

wheeze-

pallid hazel
#

@rugged root how bout my shit... I will bring the TP

steel lodge
#

ayo?!

faint ermine
#

it gone

pallid hazel
#

I'm stripping out the uneeded stuff from the script :/

rugged root
#

Sure sure

pallid hazel
#

slimmed down version.. dunno why someone would post this on stack with a mismatch error..

#

Ideally, I want to change this futher to be between 1am and 3am.

#

one more quick edit...

#
from datetime import datetime, date, time, timedelta
def schedule():
    # when to run the job
    time_of_day_min = time(1)
    time_of_day_max = time(3)
    
    now_time = datetime.now()

    # figure out if it runs between 17.00 - 23.59, or 00.00 - 03.00
    run_start_of_MW = now_time >= time_of_day_min 
    run_end_of_MW = now_time <= time_of_day_max
    
    if  run_start_of_MW or run_end_of_MW:
        print(f'{run_start_of_MW=} | {run_end_of_MW=}')

schedule()
knotty arch
#

Neet indeed

steel lodge
#

._.

knotty marlin
#

hmmm so when we import from a module does that mean whatever code in that module will automatically be run or defined

#

??

quaint oyster
#

you'll be able to use the code in the module after importing yes

#

the module has to be installed on your machine using pip install first if it is not a part of base python library

somber heath
#

@celest fossil 👋

#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

echo torrent
#

!code

wise cargoBOT
#

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.

somber heath
#

@small imp You can chat down here if you need to. 🙂

#

@whole bear 👋

whole bear
somber heath
#

@mossy lake 👋

#

@carmine trellis 👋

serene glade
#

Good Morning all o/

serene glade
#

The muskox (Ovibos moschatus, in Latin "musky sheep-ox"), also spelled musk ox and musk-ox, plural muskoxen or musk oxen (in Inuktitut: ᐅᒥᖕᒪᒃ, umingmak; in Woods Cree: ᒫᖨᒨᐢ, mâthi-môs, ᒫᖨᒧᐢᑐᐢ, mâthi-mostos), is a hoofed mammal of the family Bovidae. Native to the Arctic, it is noted for its thick coat and for the strong odor emitted by males dur...

rugged root
#

@serene glade @nova prawn @warped raft @grand plover You nerds should come up here

warped raft
#

we are not nerds

warped raft
serene glade
#

https://youtu.be/O7hgjuFfn3A @rugged root No humans and its awesome!

Disclaimer: Some viewers have reported mild siezures triggered by sounds in this video.
Parts 1 - 5 of the Astartes Project by Syama Pedersen, edited into one video for convenience. I played no part in the making of this film. All credit goes to the creator:

Astartes Channel
https://www.youtube.com/channel/UCFMtdiQILuTZr22sKUeAOOA

Astartes Ani...

▶ Play video
frosty star
#

haaaaaay

#

funny u say that cuz im also malaysian

serene glade
frosty star
#

i do sometimes

#

to live is to live

#

i like that

#

yeah sure

#

ooooh opal

#

oof

#

I just did 3 weeks ago its still black

#

yeah bad luck I guess 🥲

#

haaaay

#

yes it is

#

that is fine too

serene glade
#

I FOUGHT THE LAW AND I WON. This video was taken down for some wacko copyright shenanigans but I contested it and won, it's back now. Woop woop.

In reverence of the upcoming summer sale. Starts June 19th! (TODAY)

SONG: AWOLNATION - Sail

Explosion scene at 2:18 is from Watchmen, it's a great movie, watch it up.

All of the "X% Off" and Gaben F...

▶ Play video
rugged root
zenith radish
serene glade
serene glade
#

A modern take on the 25 year franchise, Power Rangers: Battle for the Grid showcases stunning graphics and vivid details. Pit current and classic Rangers and villains like never before in 3 vs. 3 tag battles. Test your skills online against friends and players from around the world for endless replayability. A streamlined combat system welcomes ...

Price

$19.99

Recommendations

1019

▶ Play video
molten pewter
#

https://en.wikipedia.org/wiki/Fighting_game @zenith radish Smash Bros #2 by sales

A fighting game, also known as a versus fighting game, is a genre of video game that involves combat between two or more players. Fighting game combat often features mechanics such as blocking, grappling, counter-attacking, and chaining attacks together into "combos". Characters generally engage in battle using hand-to-hand combat—often some for...

frosty star
#

Bye guys ... gtg sleep now

molten pewter
dusky mortar
#

Minecraft

molten pewter
dusky mortar
#

Rocket League

dusky mortar
#

Fighting over fighting games

molten pewter
zenith radish
molten pewter
#

EC Throw down has power rangers

lunar mulch
dusky mortar
#

Snake is a video game genre where the player maneuvers a growing line that becomes a primary obstacle to itself. The concept originated in the 1976 two-player arcade game Blockade from Gremlin Industries, and the ease of implementation has led to hundreds of versions (some of which have the word snake or worm in the title) for many platforms. 19...

rugged root
#

@stiff meteor What's up

dusky mortar
#

u got docker ?

rugged root
lunar mulch
#

Snekbox uses NsJail

#

i use 5$ VPS/4-5 bot

dusky mortar
#

@stiff meteor you want to host a static site?

#

I use docker for every local thing

stiff meteor
#

@dusky mortar im lost in the sauce, ive got my flask coded up on localhost

rugged root
stiff meteor
#

spent the past 18 hours watching videos and trying to deploy on linux, no luck

dusky mortar
stiff meteor
#

yes, but I want to learn how to do it the BEST way. I have deployed on heroku before

rugged root
#

@stiff meteor hop down to VC1

stiff meteor
#

i want more control

rugged root
#

Make it easier to talk

amber raptor
pallid hazel
#

@rugged root having a recursive function issue.. are they allowed to have return values like..

def run(stuff)
     do stuff
     if not stuff:
         var1, var2 = run(stuff)
     if stuff:
         return var1, var2
stuff = vars
var1, var2 = run(stuff)
serene glade
#

GTG call

#

thanks for the chat

pallid hazel
#

I realise that pseudo code is laking let me get a different version typed up

rugged root
#

It's looking like you don't have a base case

#

Recursion kind of lives and dies with "what happens when I'm out of things to process?"

#

If that makes sense

quasi condor
#

Does it really show me as typing whenever I open discord with the channel focused?

#

Discord is wack

pallid hazel
#

@rugged root ok so I typed up a code that recreates my issue, if stuff is correct ofcourse it works, if not I get

Exception has occurred: TypeError
cannot unpack non-iterable NoneType object
#
def proc_var1(tmp_var1):
    if tmp_var1 == 'foo':
        var1 = True
        return var1, tmp_var1
    else:
        tmp_var1 = 'foo'
        var1 = False
        return var1, tmp_var1

def proc_var2(tmp_var2):
    if tmp_var2 == 'bar':
        var2 = True
        return var2, tmp_var2       
    else:
        tmp_var2 = 'bar'
        var2 = False
        return var2, tmp_var2

def run(stuff):
    tmp_var1, tmp_var2 = stuff
    var1,tmp_var1 = proc_var1(tmp_var1)
    var2, tmp_var2 = proc_var2(tmp_var2)
    stuff = tmp_var1, tmp_var2

    if var1 and var2:
        return var1, var2
    else:
        if not var1 or not var2:
            var1, var = run(stuff)

stuff = ['foo', 'test']
var1, var2 = run(stuff)
print(f'{var1=} | {var2=}')
#

i fergot how to run the eval.

rugged root
#

You do !e before your code

pallid hazel
#

I'll run both ways in bot then..

rugged root
#

What do you mean when you're saying recursive issues. Like what's happening

mild quartz
#

gtg standup

pallid hazel
#

I get the error as posted.. I ran both versions,with changed starting vars in bot commands... @rugged root

peak parcel
#

damn

pallid hazel
#

@rugged root had a family emergency come up, need to leave for awhile.. I'll try to get back to this.. just not sure what's going on..

rugged root
earnest dome
#

How to get permission to speak in voice chat?'-')

rugged root
#
if "ham":
  ...
rugged root
peak parcel
#
dusk raven
rugged root
#

There are exercises and stuff at the bottom

ancient kiln
#

cheers

rugged root
#

But it wouldn't hurt to read it all

#

But eh

dusk raven
ancient kiln
#

is there any part in particluar i should skip?

rugged root
#

I think it would probably help sure up your knowledge to go through them all for now

#

But if you feel like you hit a section and you're like "oh no duh, I know this one" then you can skip it

ancient kiln
#

should i take notes?

rugged root
#

But I would recommend still looking at the exercise at the bottom

#

Only if you think it's handy

ancient kiln
rugged root
#

That's what I recommend for sure

ancient kiln
#

should i take notes?

#

of the book

rugged root
#

Only if you think it'll help you

#

I tend to not take notes, but that's just preference

#

Just depends on how you learn best

ancient kiln
#

in school they always teach u to take notes

rugged root
#

They did with us as well

dusk raven
#
rugged root
#

I just know me enough that I don't do it now as an adult. Most of it I just know where to look up what I need to know

untold thorn
#

yooo so I have a paired list

#

how do I make it so when

#

the user says a number it gives them the month

rugged root
#

Still a sucker for Counter

#

But that's mainly because I'm lazy

dusk raven
whole bear
#

Get My Git Course: https://www.udemy.com/course/git-and-github-bootcamp/?couponCode=GITGHYT

COUPON FOR MY NEW COMMAND-LINE COURSE: https://www.udemy.com/course/the-linux-command-line-bootcamp/?couponCode=LINUXE61EFB_YT

In this video, we'll go over all the important stuff you need to know to get started using Git. We cover git add, git commit...

▶ Play video
rugged root
steel lodge
#

i have no idea what to do/what to learn :|

rugged root
#

I took a few different paths

whole bear
#

binary gender

whole bear
steel lodge
#

yes

whole bear
#

in one sec

rugged root
#

Taking so much willpower to not make a dumb DnD joke

whole bear
#

germans fighting

#

chloroquine

rugged root
whole bear
#

530 km /h

#

Matéria Exibida em 29-11-2018.
Imagine um carro de passeio percorrer quase 4 quilômetros em 25 segundos? Para que isso fosse possível, este carro deveria estar a 540 km/h. Difícil de imaginar, né? Não pra AGETOP, que multou um motorista duas vezes na GO-020, por excesso de velocidade, alegando que ele percorreu sim este trajeto de 4 km em 25 seg...

▶ Play video
dusk raven
whole bear
grand plover
#

a girl is here

#

well a boy and a girl

#

this assauter al in other level

whole bear
grand plover
#

not going to brazil

whole bear
#

but we have thick ass here

grand plover
#

and a nice beach based on the videos

whole bear
#

Yes

#

If you a stranger you probably getting robbed

grand plover
#

worst than my country

#

sam exe

whole bear
#

wut, you live in russia?

grand plover
#

are you a boy or a girl

whole bear
grand plover
#

i am from the dominican republic

whole bear
#

for sure your country is way worst

grand plover
#

the police in my country sell their self for money

whole bear
grand plover
#

but some of them are very serious polices

whole bear
grand plover
#

dont steal in usa

whole bear
#

float('-inf')

grand plover
#

wtf

#

useless code

sturdy panther
#

Suppose a code is useless. Then it is an example of a useless code. Therefore it is not useless.

grand plover
#

is like setting up a limit

#

the problem is a the limit if the infinity

#

is the*

#

well i am wrong

#

but i might be able to get a job for 2 weeks

#

so the max_num is the limit

#

sam exe are you a boy or a girl

peak parcel
#

openedx

peak parcel
grand plover
#

i am just wasting my time

#

and other people time

rugged root
#

My advice to you is to not

dusk raven
rugged root
#

Plenty of other servers for that

#

And honestly some that you can get more of a rise out of

grand plover
#

we have a girl in the channel

rugged root
#

Please don't make me mute you. I have things to do

dusk raven
rugged root
grand plover
#

well i will be writing trash for a moment

#

beginer

dusk raven
grand plover
#

php might be better for web develoment i wrote it because professionals dont like python for web develoment

#

am i banned here ?

#

i though i could write what ever i want here

#

this follow usa rules

#

well i am ok

willow light
#

Hemlock, are you ready for the show?

quasi condor
#

Yours might be, but mine's the most impressive 3 inches you'll ever see

willow light
grand plover
#

like a facebook

willow light
#

facebook is far less dangerous when you delete your account, i've found

grand plover
#

problably a database app

#

well i will play some lol and them i will try to make some progress in my game engines

#

so i am making 10 - 20 apps to learn programming

#

and some of them are 3 game engines

rugged root
#

Duuuuude

#

I never thought about that, but yeah. Auto correct hates them

#

Okay, I have to read this and see if it's as I think it is

peak parcel
#

gotta go, brain hurts lol

#

nice chatting with all of you

rugged root
#

You as well!

pulsar island
#

#!/bin/bash

this script contains 2 bugs. Fix them or work around them, then run it!

VAL = $(date -u +%j%d%w%w%u%m%g) 2>/dev/null
[ -v VAL ] || { printf "\nLooking for something?\n\n" ; exit ; }

SLUG=$(printf "%s" "$VAL" | md5sum | awk '{print $1}')
printf "\nhttps://redteamhiring.com/%s\n\n" '${SLUG:8: -2}'

grand plover
#

that is above my level

#

the first line need a )

#

and the second line need the ' changed to "

#

i think

#

problably i am wrong

quasi condor
grand plover
#

you can check the script in the bash terminal

quasi condor
#

if you're regularly writing bash, you should have shellcheck as part of your workflow

grand plover
#

let download some bash code stuff to check it

#

let me*

sturdy panther
#

So... was it supposed to give you a valid URL?

grand plover
#

i was totally wrong

#

and the script was working ok how it was

#

bash is littler different than other languages

#

i should not give help

#

my mistake are so big

willow light
#

eh, i've given far worse help in the past. such as trying to help someone install windows on their mac and they ended up factory reseting the whole machine

velvet urchin
#
...
int x = 10;
int *y = &x;
int z = 5;
*y = 100; // data
y = &z;  // where
std::cout << *y;
std::cout << y;
...
velvet urchin
#

Bjarne Stroustrup

whole bear
lavish rover
#

welcome to template hell

template<typename T, typename... Args>
inline document fmessage(T fmt, Args... args) {
  std::string msg = fmt::format(std::forward<T>(fmt), std::forward<Args>(args)...);
  return {"message", msg};
}
solar fog
#

@whole bear you sound like robert de niro

velvet urchin
lavish rover
#

i once had to write this black magic variadic template metaprogramming thing:


template<typename... Ts>
struct Formatter<AK::Tuple<Ts...>> : Formatter<StringView> {
    ErrorOr<void> format(FormatBuilder& builder, AK::Tuple<Ts...> const& tuple)
    {
        StringBuilder string_builder;
        string_builder.append("(");
        if constexpr (sizeof...(Ts) > 0) {
            tuple.apply_as_args([&] (auto first, auto... args) {
                append_value(string_builder, first);
                ((string_builder.append(", "), append_value(string_builder, args)),...);
            });
        }

        string_builder.append(")");
        return Formatter<StringView>::format(builder, string_builder.to_string());
    }
};
#

anarchy

#
on_event<KeyPress> ...
on_event(Event::KeyPress) ...
velvet urchin
#

utillinux

#

util-linux

lavish rover
#
ErrorOr<int> get_value() {
  if (something()) {
    // error
    return {}
  }

  return 42
}

void foo() {
  auto x = get_value()
  if (x.is_error()) {
    return x;
  }
  auto val = x.value()
}
#
ErrorOr<int> get_value() {
  if (something()) {
    // error
    return Error("something")
  }

  return 42
}

ErrorOr<void> foo() {
  auto val = TRY(get_value())
}
velvet urchin
#

libusb

#

libusb1

#

Džava

somber heath
#

"He rode it."

#

"It has been ridden."

#

Oat.

icy axle
velvet urchin
#

but he is trying to pretend that it's not him

gentle flint
icy axle
velvet urchin
#

Mstr Gi

icy axle
#

What does Gi have to do with that video?

#

@whole bear hyperlemon

velvet urchin
#

Well Gi sounds just like him/her

gentle flint
#

@icy axle why are u up

icy axle
#

Oh I see

whole bear
icy axle
#

Nice

gentle flint
#

I was working on electronics

icy axle
#

Aren’t you going up early tomorrow?

gentle flint
#

gonna go to bed in a few minutes

whole bear
#

why are you all up bruh

icy axle
#

Shush

gentle flint
gentle flint
icy axle
#

What’s your excuse?

whole bear
#

cause i have sleeping issues

#

i cant sleep

icy axle
#

Well me too

whole bear
#

😫

gentle flint
#

solution is to bake a cake

whole bear
#

alteast i tried

gentle flint
#

then eat it

whole bear
#

i dont have an oven

icy axle
gentle flint
#

then you'll be tired from eating

gentle flint
whole bear
#

why not make a pizzza with pinapple toppings

icy axle
#

I’ll actually leave bed for a few minutes. My mind is getting toasted by toasters

icy axle
#

And give it to me

whole bear
#

i ll give you the whole thing

#

thats where the trash (pinabpple pizza) supposed to go

#

dumpster like you

gentle flint
#

nasty

#

don't be so nasty

icy axle
whole bear
whole bear
pallid hazel
#

@rugged root things were long and frought with catch 22s, but everything setup to workout.. family wise.. so now I get back to the same sort of shit with my code lol

icy axle
#

I’m walking down the stairs

whole bear
#

your house must be really big

icy axle
#

I’m in the kitchen

icy axle
whole bear
#

i m not good with the numbers

icy axle
#

T’was a joke

#

I’m funny

whole bear
#

hahahahahahahahahahhaha