#voice-chat-text-0

1 messages · Page 168 of 1

hearty egret
#

u havent seen a SIGSEGV due to bad usage of malloc

empty dawn
#

lol

turbid sandal
#

event in <t:1690138800:R>

scarlet halo
#

what event

#

what happened <t:1690138800:R>)

tranquil abyss
#

!strem

wise cargoBOT
#
Did you mean ...

» str-join
» strip-gotcha
» string-formatting
» f-strings
» f-string

tranquil abyss
#

!stream 1126365470166110228

#

!stream

cosmic bison
#

I think this matches a domain name?

#

but tbf, reading regex is painful, writing (most of the time) isn't too bad

vocal basin
#

seems to only be a part of the regex

#

(the end, if it's syntactically correct)

vocal basin
#

very slow gaming progress

#

tetris effect

#

100 is maximum level, I think

#

I still don't understand multiplayer tetris (with "garbage lines" spawning at the bottom of the field)

#

on jstris, I was only able to beat a bot when it was playing at .3 pps

willow gate
#

Hello guys

#

@vocal basin hi

vocal basin
#

according to tetris effect stats

willow gate
#

can we run pygame on google Colaboratory?

vocal basin
#

you can run pygame in replit, iirc

#

it's a separate "language" there

willow gate
vocal basin
#

you need to select pygame not python

willow gate
vocal basin
#

colab doesn't support pygame

willow gate
vocal basin
#

because it's jupyter

willow gate
vocal basin
#

hypothetically, it's possible to write an extension for jupyter

#

but I doubt colab will allow to run it

#

does colab ever allow custom jupyter extensions?

willow gate
vocal basin
#

I thought I usually played way faster

#

(maybe it just averages to only 1.0, and normally it's more)

willow gate
#

guys i want to create a web scraper using can gudie me little bit about it

vocal basin
#

why do you need a web scraper?

#

just for programming experience?

willow gate
#

this year i have to submit 2 projects to college

stoic chasm
#

i borken

vocal basin
willow gate
#

i like i have an idea to create a webiste will will shows best offers of ecom websites like amazon etc

willow gate
vocal basin
#

terms of service

willow gate
#

i have send you friend req will you accept ?

vocal basin
#

many e-commerce sites have APIs instead which would be a better option

tepid dragon
willow gate
vocal basin
#

APIs might be paid, that could be an issue

willow gate
#

i want to create some like this

vocal basin
willow gate
tepid dragon
vocal basin
#

affiliated, yes

willow gate
tepid dragon
vocal basin
vocal basin
willow gate
vocal basin
#

though depends on what result is expected of a project
sometimes a detailed and reasonable explanation of why you failed at building something might be just as good
so, this way it'd be more of a research project

willow gate
#

we don’t have to make e commerce projects

#

did you guys have good ideas for projects ?

#

i was thinking one more project like object detection for blind peoples

#

but had to work lot on that

#

like iot devices

#

@somber heath any idea for projects ?

vocal basin
#

!kindling

wise cargoBOT
#
Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

vocal basin
#

list of lists of project ideas

#

more for inspiration rather than picking one of

#

"link to each other, coordinate and fail synchronously and on scale"

vocal basin
#

reducing cars in general is the more important way to achieve safety

vocal basin
#

until more clean ways of producing batteries are found, electric cars are at least just as bad as combustion cars

vocal basin
#

they allow "move problem to poorer countries" to some extent but still

#

(even from exploitative perspective, places where electric cars drive suffer too, mostly because of fire hazard)

willow gate
vocal basin
#

ironic how a problem with something that's labelled as an opposite to combustion cars, is combustion

willow gate
#

Hydrogen fuel ones are good?

vocal basin
#

thanks to weird nuances of English language, it can be said that "gas cars seem cleaner than gas cars"

#

because there's gas (hydrogen, methane, etc.) and "gas" as short for "gasoline"

obsidian dragon
vocal basin
obsidian dragon
vocal basin
#

(it should look like this)

willow gate
vocal basin
#

use webhooks

#

to get notified

obsidian dragon
#

@vocal basinI tried to dm you about code a few days ago, it was not possible, I suggest we make it possible?

#

What OS would be simpler to use for website hosting, Ubuntu Server or Windows Server? maybe something else

vocal basin
#

anything that's not Windows Server

obsidian dragon
#

same vibe

#

so uwubuntu

vocal basin
#

there's also plain debian, without extra ubuntu stuff

obsidian dragon
#

I have only ever hosed from my desktop Windows 10 but I don't want auto updates to ruin my server

verbal wind
#

I am very confused for why am I getting....whatever the fuck that is from Instagram while trying to search for tzinfo

vocal basin
#

duckduckgo issue?

#

maybe because of what search location you chose

#

idk

verbal wind
#

God knows why

vocal basin
#

which is RHEL derivative other than CentOS

rugged root
#

Mathematicians are the best folks to help you a loan, since they're more than happy cosine on it

#

Sorry, went on a bit of a tangent

lucid blade
vocal basin
#

> run kali as a server
the question is not how, the question is why

lucid blade
#

yes

#

or kali / backtrack for a daily

#

😄

#

❤️

#

Jacob Appelbaum (born 1 April 1983) is an American independent journalist, computer security researcher, artist, and hacker.
Appelbaum studied at the Eindhoven University of Technology and was a core member of the Tor project, a free software network designed to provide online anonymity, until he stepped down from his position over sexual abuse...

vocal basin
#

works way better for me than "VPN"s

#

(tor)

#

well, it works at least

#

free/commercial proxies are banned

lucid blade
vocal basin
#

VS for C# is okay if you have ReSharper

#

but might as well just use Rider

wind raptor
#

Rider is awesome

rugged root
#

It's good, just not community option

lucid blade
vocal basin
#

it's a little too troll-ish

rugged root
vocal basin
#

I worked on a C# project in VS for 5 years
I would've used Rider instead, but another person, that I was programming with, didn't have a license
and I couldn't be bother helping with an IDE I'm not using myself

rugged root
#

Don't know much about C++ Help

#

@somber heath

somber heath
#

Yaas!

vocal basin
#

I found a way to make it look even worse

rugged root
#

Thanks I hate it

vocal basin
#

Red theme is pre-installed, iirc

rugged root
#

And the font?

vocal basin
#

font isn't

rugged root
#

God I'd hope not

vocal basin
#

Zapfino

#

"what we're doing is simple, so we make it look difficult keep other people away so they don't take our job"

rugged root
vocal basin
#

(about back-end, kernel development, embedded development)

obsidian dragon
#

b̶̳͋o̷̻̚d̴̺̄y̷͚̒ ̴͍͘{̵̰̀
̵͒ background-color͕̆:̷̪͝ ̵̫͝#̴̤͘3̵33333;
̸͗ͅc̸͍̏ȍ̷lor̵͕͠:̷̛ #bbbbbb
}
̸̨̂
̷͈̂a {
c̸͕͝ǫ̴͗l̶͔̋or: #ff8833̷̝̏;̸͔͐
̷̯̍ ̵̳̄ ̷̠̄t̵͖̀ext-dec̴͑oratio̿n: non͚̉e̵͉̊;̷̠̃
̶̮̈́}̵̳͑
̸
pre {
̲͗f̵̍ont̷̗͒-̷͘size: ̙̈1̸̂6px;
̴̖̃ whitḛ̷̔-̸̦̎s̷͝pǎ̩c̸̆e: pre-wr͔̕ȁ̵̬p̸͔͒;̶̠̔
̷̨͆}

div.̸́tile {͑
dis̟͗p̵͙̕l̶̙͌a̷͔̾y̴̹̋:̵͇́ ̶̈́inline-bloc̬k̷̘͂;̶̑
maṛ̏g̸̠̾ḭ̶͋n: 1px;
b̶̯͋o̷̢̔rdẻ̵ͅr̴͚̉:̸͊ 2px soli̬d̴̯̉ ̶͙̂b̶̥̕lack;
̶̌ v̖e̸rtical-al̠̚i̴͙͌g̷̺̔n̷̟͆:̴̖̇ ̷̘͝t̴op;
text-̠̚a̷͍͋l̴͋ign: c͉͛e̸̛͜n̴̗̔t̶͜͠e̴r;
padd̴in͜g̸̤̚-̸̩͌t̸̺̏o̶̔p: 12px;
}
̷̟̈́
̵͈̀div.one̶̾Xo͖͋n̵̡̓e̸̅ {
widt̴̑͜h̵̩͑:̵̞̌ ̸͖͠1̶14px;
heigḩ̴̂t̸̆: 114p̳̀x̷̞̑;̷͚̈́
̷̹́}̶͎́
̵
div.oneXẗ͙́w̴̮̏o̵̢͑ ̴̺̔{̷͆
wid̦͊t̵͐h: 23̶̮͝8px;
he̴̝͒ị̴͛g̵͔͊h̵̛t: 114px;̤̅
̵̠̃}̴̻͝
̸
div.one͉̊X̴̞́three̊ {
w̗̏í̴̪ď̷͎t̸̜̎h̵̪͋: 362px;
̲ḧ̴̪́e̸̦͒í̵̧g̷͂ht: 11͌͜4̸̺̽p̷͎̌x;
}

div sp̘̍ḁ̵̇ǹ̶̘.̷͓̈́f̵̭͛a̴̐ {
fonţ-̴̮̄size: 64p̶̹̋x̷̿͜;̶̦̉
̷}

vocal basin
#

it doesn't handle diacritics well

obsidian dragon
vocal basin
#

tree-sitter good

#

you can query syntax nodes

#

C++11

#

C23 added binary literals

obsidian dragon
vocal basin
#

before it was added by extensions

#

(gcc and msvc)

#

and others

#

in C

zenith radish
#

o

vocal basin
#

illumos

#

or closed-source version of opensolaris™️ by oracle™️

zenith radish
#

ewwww

#

no systemd tho xd

obsidian dragon
#

can repel use php

vocal basin
#

Joyent somehow managed to integrate Docker into illumos

zenith radish
#

what the fuck are they doing

vocal basin
lucid blade
zenith radish
#

why are they deploying to illumos

obsidian dragon
#

talking I think

vocal basin
#

datacenter-wide docker host

obsidian dragon
frozen owl
lucid blade
#

when autoarm becomes autohand

frozen owl
vocal basin
zenith radish
#

Haha

vocal basin
#

Triton is dying, I think

lucid blade
vocal basin
#

Moscow rolls out facial recognition payments in transport

obviously, already used for tracking opponents of the regime who are dumb enough to use this system

midnight stone
#

hello guys i am kind of new in python can somebody help me in private chat?

midnight stone
#

cuz its work i got i am student

#

i dont want to spam about questions here

vocal basin
#

use the first channel

midnight stone
#

ty

vocal basin
#

second channel explains how

turbid sandal
#

If I made a c++ program that cout's "Hello!" when I do $ testprogram hello It also make a varable called time that takes the current time and puts it in a address I am wondering if when the program is done the varable gets deleted or stays in memory, if so please tell me how I would store the pointer so that it always has one reserved adress that never gets over written. I want to make a c++ programm that has a function create, that creates some values in memory. They are constants that never get changed, they are used to store user Id System Specs and more constants. I want to always be albe to accsess them so when I do $ testprogram start it put all of the data in memory and stores the pointers permanently so that if the command $ testprogram get is run it takes the pinter and gets the data

vocal basin
#

you can have a variable that persists over the duration of the execution using statics

whole bear
#

elon musk

vocal basin
#

@lucid blade
you know what increases violence in children?
literally teaching them to kill

let's stop that first

#

@lucid blade you believe in your freedom of harming others, we all understand that

#

is that coming from thinking that software specification is written before software?

#

you cannot implement software according to specification if it's complex enough

#

that's why it is evolving during the process, if people responsible for the spec aren't too incompetent

lucid blade
#

yes i agree with that but also said it was probably a bad example

vocal basin
#

wasn't austerity economics one of those things picked from "the study" and applied by politicians?

#

with one mistake tilting it from "looks like bad idea" to "looks like good idea"

#

@lucid blade method of measurement?

#

there's enough empty places in the ocean to never care and never explore

#

this is such a useless question

#

like, percentage doesn't make sense at all

#

such a handwaving

#

if you want to educate non-technical people, first thing you should give up is trying to reduce knowledge to a single number

lucid blade
#

@vocal basin that wasnt directly related to the topic but it just demonstrates how little we actually know ... and how some people are so insistent that the current understanding we have is as solid as we believe

#

if we knew everything already, nothing would change and we wouldnt advance

#

there are numerous examples where people presenting new ideas were ridiculed

vocal basin
#

tropes like "we know more about space than about ocean" are so extremely wrong that they shouldn't be repeated
making a point with a zero sense example doesn't make a point

#

even if the end conclusion is correct, meaningless arguments are to be confronted

lucid blade
#

it wasnt, it was supposed to demonstrate how little weve explored and how sometimes we should broaden our horizons

vocal basin
#

game theory is a mathematical model
it works, like, by definition

but doesn't apply well to reality, because preconditions aren't met

#

@amber raptor imo, game theory is good at warning how something might go wrong
"if we assume perfect conditions, even then these things still tend to fail"
not to be relied upon, but to be aware of

amber raptor
vocal basin
warm thistle
#

Hi, I just joined what's this about?

vocal basin
#

nobel prize in economics

warm thistle
#

Oh. Like those that have won noble prizes in economics and the reason why?

amber raptor
#

How economics is all bullshit

warm thistle
#

Ahh.

cerulean ridge
# amber raptor How economics is all bullshit

I think economics are baby science, it is a new thing, people are still figuring things out.
Like, I don't think it is bullshit to dabble in a young field, I think it is a great thing.
No one is pretending that this is not case, except you.

#

and maybe few people with only a bachelor in econ, and of course shills

amber raptor
cerulean ridge
#

what's your definition of science?

amber raptor
#

definition of science is observing something that you test and make predictions on, test your predictions and make more predictions. Anything involving humans is very difficult to do that on. Doing it at large scale is nearly impossible.

cerulean ridge
#

economics are doing exact that.
We have seen their predictions are pretty bad, as expected of a baby field.
doesn't mean they are not making prediction and testing.

amber raptor
#

they cannot make predictions period is my take, baby field is like saying GMail is still in beta. It's just trying to handwave away failures instead of being held to task.

cerulean ridge
amber raptor
cerulean ridge
#

sure, how about this,
We should listen as much to economist as much as we listen to historians?

amber raptor
#

Yep

#

which to say "Interesting take"

cerulean ridge
#

so historians are bullshit?

amber raptor
#

no but historians don't bill themselves as some oracles about policy. They say "Look, this is what happened last time policy was passed but we are looking at history. We could be totally wrong."

cerulean ridge
#

I don't think typical economist bill themselves as some oracle about policy either

cerulean ridge
#

sure, lots of scientist are also coporoate shills. Does not make science is all bullshit

cerulean ridge
# amber raptor some of them do

I completely agree that we should respect economist as much as we respect historians. Politicians can talk to them for advise, they can become politicians.

IDK which economist hurt you as a kid, but "let's ban all economist from government because of their collective sin" is very far from what I wrote above.

split scaffold
#

why is it politics

#

i joined to screenshare minecraft

#

why are you guys talkibg about politics

#

oh

#

damn

#

well that sucks

somber heath
#

Maybe on the weekend.

split scaffold
#

on the weekend?

somber heath
#

Maybe.

whole bear
#

Gm

#

I'm back

willow gate
#

Hello guys

rugged root
#

Yo

#

@sturdy panther Yo

#

Yo to everyone

willow gate
#

Yo yo

sturdy panther
#

Hi!

willow gate
#

Guys anyone know any good apis website

rugged root
#

APIs for what? Just learning them?

willow gate
#

Yes to use in normal level project

#

Api for calories of food stuff

willow gate
rugged root
sturdy panther
#

Getting really frustrated by the Dash framework S:

#

Plotly Dash

willow gate
#

I don't know which free are good

rugged root
frozen owl
#

trying to set this up

#

@rugged root

rugged root
#

@vocal basin Yo

vocal basin
#

very slow xp grind

#

(tetris effect)

#

it suffers less from keyboard double-presses compared to many others

lapis sierra
#

hi

#

i can speak in 2h xD

#

i have no degree and i am working as dev

#

i am self educated, i just did try and error over years and got a job then, i can recommend freelancing to get into dev if you have no degrees

cedar briar
#

Good luck getting the Voice Verification!

lapis sierra
#

can i see somewhere when i joined the server ?

#

my first message was @ 21 jul 11 pm but im not sure if i did write smth directly once i joined the server 😄

cedar briar
lapis sierra
#

yea

#

wtf why it says 22. jul

cedar briar
#
lapis sierra
#

i wrote you this at 21

h3llf1r3 — 21.07.2023 23:00
hi why can i not speak

#

maybe tz error ?

cedar briar
#

Oh, not an error.

#

I'm ahead of you. It's my TZ.

lapis sierra
#

ahh yea sure 😄

#

make sense

#

i though it was from server

cedar briar
#

If you click your own profile, it'll be 21, I guess.

lapis sierra
#

true, but no datetime 😦

cedar briar
#

Yes.

#

Hopefully, you'll get verified before this session ends 😄

lapis sierra
#

i guess i will just spam this bot all and over again xD

#

hi

#

maybe your in the wrong pwd

#

did you use relative paths

wooden hollow
#

import pygame

pygame.init()

#create game window
SCREEN_WIDTH = 1000
SCREEN_HEIGHT = 600

screen = pygame.display.set_mode((SCREEN_WIDTH,SCREEN_HEIGHT))
pygame.display.set_caption("fighting game")

#load background image
bg_image = pygame.image.load("pycharm\Computer science project\Fighting game\Background\D_Background.jpg").convert_alpha()

#function for drawing background
def draw_bg():
scaled_bg = pygame.transform.scale(bg_image,(SCREEN_WIDTH, SCREEN_HEIGHT))
screen.blit(scaled_bg,(0,0))

#game loop
run = True
while run:
#draw background
draw_bg()

# event handler
for event in pygame.event.get():
    if event.type == pygame.QUIT:
        run = False
#update display
pygame.display.update()

#exit pygame
pygame.quit()

lapis sierra
#

the path is the error

#

you need to provide absolute path

#

or relative to your project

#

(i guess)

wooden hollow
#

Directory: D:\pycharm\Computer science project

Mode LastWriteTime Length Name


d----- 24/07/2023 20:10 .idea
d----- 24/07/2023 18:57 Dnd game
d----- 24/07/2023 20:14 Fighting game
-a---- 01/10/2022 19:45 44 count 1 - 100.py
-a---- 26/09/2022 17:39 420 drink purchase.py
-a---- 26/09/2022 18:53 1952 Ks.. + year...py
-a---- 09/07/2023 21:57 820 logical sequence.py
-a---- 17/09/2022 20:39 4936 main.py
-a---- 09/07/2023 22:49 871 num addition.py
-a---- 25/09/2022 13:49 150 number counter.py
-a---- 26/09/2022 17:22 327 number size check.py
-a---- 17/09/2022 21:40 189 Shopping list.py
-a---- 08/07/2023 18:17 972 voting system.py

PS D:\pycharm\Computer science project>

lapis sierra
#

in python always use lowercase snakecase this_is_snake_case

#

(for functions or files etc.)

cosmic bison
#

files are not snake case

lapis sierra
#

i use snakecase for my files

cosmic bison
#

they are just all lowercase according to PEP8

#

but it doesn't really matter, just don't include spaces

wooden hollow
lapis sierra
#

so what if you have a file lets say its named customfieldvalidator.py its more readable to use custom_field_validator.py dont understand this PEP8 then

cosmic bison
#

yeah, I agree it is a little dumb

cedar briar
#
bg_image = pygame.image.load("Background\D_Background.jpg").convert_alpha()
cosmic bison
#

I actually used to do CamelCase or is this title case? idk

lapis sierra
#

PascalCase

cedar briar
#

Pasca...

wooden hollow
lapis sierra
#

Pascal case is also fine for me, pascal case or snake case, sometimes i did use also pascal case for my classes and snake case for my function files 😄

cosmic bison
#

fair enough

#

It's fine as long as you stay consistent and don't mix things up to much. Like functions and classes should probably use seperate case

#

basically every case scheme is fine

lapis sierra
#

yea i agree

cedar briar
#
fighting_game.py
cosmic bison
#

actually, good question, do you all do main.py or project_name.py for your main file

lapis sierra
#

me2 im dogmated by int main lul

cosmic bison
#

lol

cedar briar
#

It's fun when you have a.py inside a folder named a.

cosmic bison
#

I've just started making my project structure like this everytime I start a new major project:

src/
  main.py
readme.md
requirements.txt
makefile
.gitignore
cedar briar
#

Ooh, Makefile!

cosmic bison
#

Makes working with venv much easier

#

automatically reinstalls dependencies when requirements.txt changes

lapis sierra
#

did you try out poetry already

cedar briar
#

You need to be a chef to craft those sweet make recipes though.

lapis sierra
cosmic bison
lapis sierra
#

what are you working on

cosmic bison
#

A compiled programming language

cedar briar
#

:o

#

What are you using to make it?

lapis sierra
#

over python ? lol

cosmic bison
#

python3.11, llvmlite, rply (for the lexer), sphinx (for docs), and some other shite

cosmic bison
lapis sierra
#

yea i see did you checkout MLIR

cosmic bison
#

i heard about it, but that was a year ago

lapis sierra
#

i want to do something with llvms also soon

#

its like a llvm framework

cosmic bison
lapis sierra
#

definetly need to check this one out tho

#

never heard that someone is using python for a lang

cosmic bison
#

the only issue is if you make your first compiler as complicated as I have. Realistically I should have thrown it away and started again, but I'm so close to boostrapping that it isn't worth it. I just need a few more features

lapis sierra
#

just heard about c or haskell

cosmic bison
#

other than circular dependencies

#

I fucking hate circular imports

#

python cries every time, but sometimes you just have to

lapis sierra
#

i mean python has super capabilities in terms of readability and simplicity

#

but i just wonder cause its transpiled

cosmic bison
#

wdym? python is transpiled or are you talking about something else?

#

I know python is compiled to bytecode

#

but I don't know if you are talking about that

lapis sierra
#

sorry i was using the wrong word, interpreted i mean

#

but once you compile this stuff it makes no difference anyways i guess

cosmic bison
#

A few hundred lines compile in 0.5 seconds in my language. Alot of that is LLVM's slowness

#

not to mention arrays in my language are slower because of an interesting decision

#

well, compiling them is slower

#
import stdlib::*;

define main() {
  my_array = [random(); 5];
  // -> [53, 65432, 3423, 6984, 186] (5 Random values)
}
#

my language re-evaluates the expression, that makes it slower lol

#

but somewhat useful

lapis sierra
#

looks interesting

cosmic bison
#

github is in my status if you want to check it out

#

latest release version is always the buggiest, dev branch has more fixes but if you use the new features... expect bugs

#

I added struct templates for example.... turns out I need to take a completely different approach

lapis sierra
#

interesting to-dos 😛

cosmic bison
#

Making a language is actually a lot of fun tho. I do recommend it if you think you have enough programming experience to pull it off. It definitely isn't a beginner project

lapis sierra
#

i would love to do so but i need to make $$$ 😦

cosmic bison
cosmic bison
lapis sierra
#

i work on an auth SaaS project atm

cosmic bison
#

is it interesting at least?

lapis sierra
#

you could create a usertype, on this usertype you could create fields (including data-types for validation) you can create schemas for this, basically you can create as much usertypes as you want for the application you create (you could create multiple applications) every application has its own endpoint with its own usertype endpoints where people could register / login, combined with 3rd party auth middleware (google, facebook,gitlab, github etc.) (if wanted/ setup) it would throw an error if your defined schemas are not fulfilled

cosmic bison
#

are you talking to me? or someone in VC?

lapis sierra
#

no, to you ^^

cosmic bison
#

ok just making sure

#

it does sound interesting so far.

#

hopefully it will all work out without too much trouble

lapis sierra
#

i hope so 😄 and hopefully then companys will buy it lol

#

auth0 is my competitor

cosmic bison
#

hopefully. I would do devlogs & showcases to attract attention

#

it could also help you find flaws

lapis sierra
#

thats a nice idea, i definetly will stick to it once i have a alpha out i guess

cosmic bison
#

Always be working on the product first ofc, if your devlogs slow you down too much, then make less of them

lapis sierra
#

yeah im currently im far from having something which works 😄 I am still working on the validation and custom datatypes part to setup some foundation i can build up on, doing all in kotlin to make use of reflection tho

#

i did a implementation in python but i stopped it since bool is a subtype of int that one i didnt like on python 😄 i needed to swap the lang for the use case

#

hi super, no im fine thx 🙂

#

bye bye

cedar briar
#

@lapis sierra Congrats on getting verified 😄

lapis sierra
#

@cedar briar thx yo 😄 im so happy bout that lol

cedar briar
#

Like a badge of honor, haha.

lapis sierra
#

XD

somber heath
#

@warped ferry 👋

#

@red iris 👋

red iris
#

@somber heath hi

#

im suppressed...i just dropped in to check...thanks

somber heath
wise cargoBOT
#
Voice verification

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

somber heath
#

@whole bear 👋

whole bear
#

oh nvm

#

!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.

somber heath
#

@whole bear We can hear you.

whole bear
#

I have sound from pc but i cannot hear you guys

somber heath
#

!e ```py
def func(*args):
print(type(args))
print(args)

func('apple', 37, object)```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | <class 'tuple'>
002 | ('apple', 37, <class 'object'>)
somber heath
#

@whole bear

#

!e ```py
def func(**kwargs):
print(type(kwargs))
print(kwargs)

func(apple = 5, pear = 10)```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | <class 'dict'>
002 | {'apple': 5, 'pear': 10}
somber heath
#

!e ```py
def func(apple, pear, orange, **kwargs):
print(apple)
print(pear)
print(orange)
print(kwargs)

func(apple = 1, pear = 2, orange = 3, banana = 4, peach = 5)```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 1
002 | 2
003 | 3
004 | {'banana': 4, 'peach': 5}
somber heath
#

@trim night 👋

uncut meteor
dense ibex
#

@uncut meteor

#

apex

#

legends

uncut meteor
#

im asleep rn

dense ibex
#

@uncut meteor

#

play apex

#

Selective serotonin reuptake inhibitors @uncut meteor

#
llllllllllllllll   llllllllllllllll            jakea@JAKES-DESKTOP
llllllllllllllll   llllllllllllllll            --------------
llllllllllllllll   llllllllllllllll            OS: Windows 11
llllllllllllllll   llllllllllllllll            Build: 22H2
llllllllllllllll   llllllllllllllll            Uptime: 1 day, 23 hours, 27 minutes
llllllllllllllll   llllllllllllllll            Resolution: 1920x1080
llllllllllllllll   llllllllllllllll            Terminal: Windows PowerShell
llllllllllllllll   llllllllllllllll            CPU: AMD Ryzen 7 5800X3D 8-Core Processor
llllllllllllllll   llllllllllllllll            GPU: NVIDIA GeForce RTX 3060
                                               Memory: 16120 MB / 32694 MB (50% in use)
llllllllllllllll   llllllllllllllll
llllllllllllllll   llllllllllllllll
llllllllllllllll   llllllllllllllll
llllllllllllllll   llllllllllllllll
llllllllllllllll   llllllllllllllll
llllllllllllllll   llllllllllllllll
llllllllllllllll   llllllllllllllll
llllllllllllllll   llllllllllllllll
llllllllllllllll   llllllllllllllll
zenith radish
#
                    'c.          gkazlauskas@192-168-0-126.balticum.lt
                 ,xNMM.          -------------------------------------
               .OMMMMo           OS: macOS 13.2.1 22D68 arm64
               OMMM0,            Host: Mac14,2
     .;loddo:' loolloddol;.      Kernel: 22.3.0
   cKMMMMMMMMMMNWMMMMMMMMMM0:    Uptime: 7 days, 2 hours, 34 mins
 .KMMMMMMMMMMMMMMMMMMMMMMMWd.    Packages: 164 (brew)
 XMMMMMMMMMMMMMMMMMMMMMMMX.      Shell: zsh 5.8.1
;MMMMMMMMMMMMMMMMMMMMMMMM:       Resolution: 3440x1440
:MMMMMMMMMMMMMMMMMMMMMMMM:       DE: Aqua
.MMMMMMMMMMMMMMMMMMMMMMMMX.      WM: Quartz Compositor
 kMMMMMMMMMMMMMMMMMMMMMMMMWd.    WM Theme: Blue (Dark)
 .XMMMMMMMMMMMMMMMMMMMMMMMMMMk   Terminal: iTerm2
  .XMMMMMMMMMMMMMMMMMMMMMMMMK.   Terminal Font: Iosevka-Term 20
    kMMMMMMMMMMMMMMMMMMMMMMd     CPU: Apple M2
     ;KMMMMMMMWXXWMMMMMMMk.      GPU: Apple M2
       .cooc,.    .,coo:.        Memory: 2599MiB / 16384MiB```
dense ibex
uncut meteor
somber heath
#

@formal owl 👋

formal owl
vivid jacinth
#

hey guys

somber heath
vivid jacinth
#

remote: Write access to repository not granted.

orchid mauve
exotic moss
#

thats a new one

vivid jacinth
#

or restart discord

exotic moss
#

I am

orchid mauve
#

rotterdam2930

alpine pumice
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

Run Python code and get the results.

This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!

alpine pumice
#

0.0

molten pewter
#

moar puns.

rugged root
#

@runic rapids If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate

rugged root
#

@uncut meteor I miss u

orchid mauve
solar flax
#

how much chat should i have to speak on this server?

vocal basin
#

!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.

frozen owl
#

hello :D

vocal basin
#

@uncut meteor for what purpose?

#

there's bloom filter

#

I don't remember much else

#

hyperloglog

#

I sent a video some time ago

rugged root
#

Everything needs power over ethernet

#

It's so nice

vocal basin
#

I assume this means "fact checked by no one"

#

allegedly also some colour-blind people still have the ability to differentiate colours in their brain that they don't see as separate

#

related to synesthesia too

#

Kevlin Henney is red-green colour-blind but has synesthesia between colours and numbers with red and green separated

hearty egret
#

i have heard M2 is worse compared to the god M1 is

vocal basin
#

rendering video was one of the selling points of M1

rugged root
#

Which makes sense 'cause Mac

hearty egret
#

@glad sandal is that cosmic (the rust one)?

hearty egret
rugged root
#

I'm very sad that it's not Pope-OS

hearty egret
rugged root
#

Bad

#

No bad

#

Go to your corner

hearty egret
#

lol

#

yes

#

Macbook good

vocal basin
#

@zenith radish
going back to the discussion about keeping Bryan Cantrill's dreams alive:
macOS historically had better dtrace and ZFS support, compared to Linux

zenith radish
vocal basin
#

yes

frozen owl
#

"what colour's your bugatti" /j

cosmic bison
vocal basin
#

oracle uncertified

frozen owl
#

my mac

#

32.8 degrees

vocal basin
#

I have awful cooling in my PC

frozen owl
#

are you on a laptop?

vocal basin
#

no

#

=> I can fix cooling when I finally decide to

frozen owl
#

lol

vocal basin
#

I also suspect the sensor is malfunctioning and the actual CPU temperature is a little lower

#

because this CPU normally throttles way before it reaches 101 degrees

#

meanwhile the server is at an okay temperature

#

(server with passive cooling)

rugged root
#

Sorry what

#

Server passive?

#

How?

vocal basin
#

j4105 isn't that powerful

forest egret
vocal basin
#

it's, like, what, 10 watts?

vocal basin
forest egret
vocal basin
#

in bash

forest egret
#

sorry, no idea

rugged root
#

Rectal thermometer

vocal basin
#

type sensors
not installed => install

#

I've seen it reach 95 degrees at most

forest egret
#

temperature sensor?

echo garden
#

was i being heard?

vocal basin
#

that was 100% load and summer

#

and this sensor is known to be faulty

echo garden
vocal basin
#

it shows 40~50 more than real temperature sometimes

forest egret
#

ohh you use Core Temp isn't it?

vocal basin
#

sensors uses coretemp as backend

frozen owl
#

you get homebrew on linux as well

rugged root
#

Huh

frozen owl
#

yeah

#

iirc i got that on my wsl

rugged root
#

Not sure how well that'd work for Linux, especially if you're overriding the distro's package manager

#

Although I say that, but you can use snap and flatpak

frozen owl
#

apt-get?

vocal basin
#

ubuntu already has snap and apt-get conflicting at times

rugged root
#

True

frozen owl
#

idk how i got homebrew working(?) considering the already fucked up nature of my computer

vocal basin
#

"just stuff everything into docker, who needs UIs anyway"
"if everything is inside docker, how is docker installed? yes"

rugged root
#

@devout bloom we're getting echo from you, can you mute please?

#

Or turn on Krisp

forest egret
vocal basin
#

it used to show separate temperatures per core, now it doesn't

forest egret
#

what?

cosmic bison
vocal basin
# forest egret

it used to look like this for me

maybe I changed some setting, and I'm to dumb to find it

rugged root
#

@devout bloom I've scooted you to AFK because of the background noise

#

Please either mute when you're not speaking to stop the echo

#

Or use Noise Reduction

forest egret
vocal basin
#

both CPUs I use are from 2017

cosmic bison
#

I bought gen 12 because it was bundled with a new motherboard. I switched from a 8th gen

forest egret
#

but i think this cpu more than enough

cosmic bison
#

yeah, same

forest egret
#

what motherboard?

#

mine bundled with RTX 3060

nimble epoch
#

Hemlockkkk

rugged root
#

Sup

nimble epoch
#

You tell me

forest egret
#

how many fan did you install in your case?

cosmic bison
#

yeah, I think whenever I have money, i am going to buy a cooler. I am using the default one

cosmic bison
#

no, it just runs hotter than my old one

#

plus the fan is louder

whole bear
#

What's is discussion is about anyone explain

forest egret
#

about PC parts

vocal basin
forest egret
vocal basin
#

not counting GPU fans, because that doesn't count as installed

forest egret
#

yeah GPU don't count

vocal basin
forest egret
#

😶

vocal basin
#

fun fact: this is a lie

#

it's almost exclusively used for embedding in SBCs, and supported memory size depends on the specific board

cosmic bison
#

are you able to get your cpu temps?

rugged root
#

Catch you later, Tyler

rocky dragon
#

can anyone help me how can I add a library on Visual Studio?

rugged root
#

On Visual Studio or Visual Studio Code?

rocky dragon
#

Visual Studio code

rugged root
#

You should be able to use the terminal built into VS Code and do your pip installs in there

#

Double checking

#

@rocky dragon Yeah if you do CTRL + `

#

That'll open up a terminal and then you can do your usual pip install blah

gentle flint
#

do remember to activate the venv in the vscode terminal as well

rugged root
#

Although if you're on Windows, I recommend using py -m pip install blah

gentle flint
#

it's not automatically activated with vscode

rugged root
#

Oh does it not? Mine did and I don't think I did anything special...

gentle flint
#

mine does very sometimes

#

but usually not

#

vscode itself activates it

#

but the terminal in vscode does not

molten pewter
rugged root
molten pewter
#

My Daughter's 7 year old check to do list

rugged root
devout bloom
#

thank you

rugged root
#

These guys get.... intense sometimes

#

Not the strongest focus

rugged root
#

That end up working?

rocky dragon
rugged root
#

Righto

gentle flint
rugged root
#

Being kind about it

gentle flint
#

@zenith radish do you have a news shkrelletin

vocal basin
#

it should activate in the terminal too, but sometimes terminal opens before the extension is ready

#

there is an option to enable it on extension load too, but I'm not sure it works properly

rugged root
#

Probably one of the best websites for learning JS

devout bloom
#

thank you sir got it

vocal basin
#

another reason why I dislike how VS Code handles venv in terminal:
it does everything via activation script, plainly pasting+running it

#

it looks ugly + sometimes it doesn't understand that it shouldn't activate venv

#

for example, when attaching to docker container shell

rugged root
#

True

vocal basin
#

... or when viewing logs of a container

rugged root
#

You can set terminal configs if you want, though

zenith radish
#

Lmk when to undeafen

whole bear
#

@zenith radish now

zenith radish
#

thanks

#

liar

gentle flint
#

lol

whole bear
vocal basin
whole bear
#

whatsup?

rugged root
#

LP was calling Hiro a liar

#

Because the convo was still happening about Ruby

whole bear
#

oh ait no worries lmao

#

ah i see i see

#

i see what u see huh

#

since he said no new projects i basically disagreed

willow gate
#

Guys any idea how to host django made website

whole bear
#

but he meant to say no new companies

#

one has his own pov

vocal basin
#

my only experience with Ruby was related to forking a RoR project

whole bear
#

new companies and new projects is a huge gap and a HUGE strawman from his first initial argument

whole bear
#

he worded it sooooo wrong

#

ohhhh my

#

then blames me cuz he cannot communicate

vocal basin
rugged root
#

Yeah that's why I'm around. I'm a good Rabbit and LP anger translator

#

I'm fluent in douche

whole bear
#

@rugged root elaborated the point a lot better

whole bear
#

exactly

#

welcome each other, fam!!!!!!!!!!!!!!

#

ngl idm whos right i couldve been wrong too

#

just him deafening himself like a 5 year old in kindergarten is just hilarious

rugged root
#

Trust me

whole bear
#

man has the coping mechanism of a todler

rugged root
#

That was the more mature option, honestly

whole bear
rugged root
#

Otherwise it would have been more shouting

whole bear
#

sjfghsldfg

rugged root
#

I'd prefer if he stepped away rather than continued the yelling

gentle flint
whole bear
#

this is just chat. no need to shout.

rugged root
#

Thankfully I'm here a lot

whole bear
#

since he would give arguments while not listening to my points

#

talking to a wall basically

#

but your point was valid @rugged root

#

and i agree my argument is void in that POV you gave

#

@rugged root plz tell them not insult others.

#

@whole bear just kiddos ignore em

rugged root
#

Oh trust me, I give them plenty of shit to fix their attitude. Although I should be harsher

whole bear
#

omg

whole bear
#

in this case i thought since this would be a fair misinformation from the (initially assumed by me) subject i thought id still give it a shot

rugged root
#

I've been friends with these guys for a long ass time. I'm probably mainly just numb to it/know how to tolerate and defuse them

#

Usually involves tranquillizer darts

whole bear
#

u bet

whole bear
#

pog

#

the bigger they are the harder they fall 😉

whole bear
#

the point isnt to have a "gotcha" or to win

#

but to educate/be educated

rugged root
#

Yeah they prefer to argue rather than debate

whole bear
#

debate would be a nicer approach where you listen to eachother and do not heckle when someone has his view

#

and rather just explain why he/she is wrong

#

@vocal basin has been typing for 50 years now

#

i wonder what master piece of a novel she will release once she presses enter

rugged root
#

Must be a client bug, it's not showing on my end

whole bear
#

oh

#

ill screenshot it once i see it

#

every few mins i see her "is typing"

#

for a few seconds

#

and then it dissapears

#

since i joined the vc tbh

rugged root
#

Sounds more client buggy

#

It happens

#

It's Discord after all

whole bear
#

maybe

#

true true

#

also anyone here has experience with minecraft servers?

#

tbh just have 2 questions

somber heath
#

Not for years.

whole bear
#

just a question regarding CurseForge and Essentials

#

do they require aditional steps during stepping up a mc server?

#

@rugged root

#

see?

vocal basin
#

isn't curseforge just a mod distribution site?

whole bear
#

wow

#

you been typing this whole time or was that a bug?

rugged root
#

Again, bug

vocal basin
#

there are server/client specific versions for mods sometimes

#

but usually not

whole bear
whole bear
#

but idk much about mc

#

i just have a server and a friend asked me to host their mc server

#

so i got all stuff setup basically but wanted to know if those 2 have aditional stuff

vocal basin
#

not sure if overwolf's curseforge desktop client does anything server-related

whole bear
#

hmm good point

#

how about essentials?

#

since i know that mod hosts or something

#

idk i havent dived deep enough

#

you can basically host a server without portforwarding (from what i understand)

vocal basin
#

no linux

whole bear
#

uhh

#

would that be an issue?

#

idk what it even does

night pecan
#

help

#

im so confused

vocal basin
#

when I was setting up a modded server, I just copied the mods to a dedicated cloud host and synced with other clients

night pecan
#

ive been trying to firgure out what im doing wronf

vocal basin
#

with server itself running inside docker

night pecan
#

help please

whole bear
#

rather than ==

#

try that

rugged root
#

No

whole bear
#

not?

rugged root
#

Or I guess yeah

#

But is it specifcally needing to be checked for identity or equality

whole bear
#

i thought == was for string and objects?

rugged root
#

No no

#

== is value equality

vocal basin
whole bear
#

ahhhhh

rugged root
#

is is for object identity

whole bear
rugged root
#

It's why you do is None since there's only ever one

whole bear
#

makes sense now....

#

ugh

vocal basin
#

sounds more like broken platform

whole bear
#

i gotta rewrite some code

night pecan
whole bear
#

LOL

night pecan
#

please

#

hel

#

what do i do

#

how i fix

whole bear
#

i just use the oracle free vps

#

i only use it for my discord bot

vocal basin
whole bear
#

thought id add the mc server to it too

night pecan
rugged root
#

@keen ingot I moved you to AFK

vocal basin
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

rugged root
#

@keen ingot If you're going to be talking to other people where you are, please either mute or use push to talk.

#

From the resources page, I recommend "A Byte of Python"

night pecan
keen ingot
#

fuck

rugged root
keen ingot
#

no

whole bear
keen ingot
#

i had no idea

whole bear
#

i have something that helped a few friends

rugged root
#

No worries, dude

#

Just letting you know

keen ingot
#

i got ur ping

vocal basin
keen ingot
#

time to leave the server

rugged root
#

?

keen ingot
#

fk my life

night pecan
#

please just give me a hand

#

i dont know werre to learn from tbh

#

do u have somthing were i can type the code on the webstite

whole bear
#

got to: https://chat.openai.com/

Use the following prompt:
I wish to learn the python programming language from scratch with your help. You are going to act as an interactive Python tutor and expert. You have a complete understanding of python and have an understanding of the 10 stages needed to become proficient. You will start at stage one and explain all concepts for that stage to the user. Your response will also have a question for the user, to test that they have understood what has been taught. This question can require an actual bit of code that you will check for accuracy. If the user gets the answer right they will move onto the next stage. If they get it wrong they must answer a new question. Each time you respond you must ask the user what stage they are at.

#

@night pecan Add a line break after the print()

#

it will teach you the basics/bare minimum to understand how to write code/debug

night pecan
night pecan
rugged root
#

ChatGPT is not a good learning resource

whole bear
whole bear
#

but that prompt is pretty poficient

rugged root
whole bear
rugged root
#

I recommend starting with this

whole bear
#

ofcourse the sources you link are better

#

but the only difference is that chatgpt can offer an interactive learning envoirnment

whole bear
#

and point out mistakes etc

night pecan
#

uh

#

should i try both?

#

and see whitch i find better?

#

imma try do this all night

whole bear
vocal basin
night pecan
#

untill i understand it

rugged root
#

I'd recommend the webpage first, honestly

night pecan
#

can i dm any of you if i have wuestion>

#

oh

rugged root
#

And of course you can ask us questions

night pecan
#

ok

rugged root
#

Of course

night pecan
#

what dose domain lead mean>]]

rugged root
#

Means I take care of the Voice area of the server

#

That particular domain

night pecan
#

oh

rugged root
#

-shrugs- It's just what we named it

night pecan
#

do u mind if i ask why i was muted

rugged root
#

Check the #voice-verification channel. That'll tell you what you need to know about the voice gate

night pecan
#

oh so in a matter of time

#

i guess

rugged root
#

Yeppers

night pecan
#

do u think there anything ineed to know

#

or learn

rugged root
#

The Byte of Python thing is a good start

whole bear
rugged root
#

It'll help you get your basics started

night pecan
#

is there a website or do i search it up

rugged root
#

If you prefer youtube, we've got a couple channels linked on our resources page as well

#

This one, that's the Byte of Python one

night pecan
#

ah thats a lot or reading

rugged root
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

rugged root
#

We've got youtube as well

#

But you're going to have to get used to reading a lot at some point

#

You'll hit a point where you'll have to read documentation

night pecan
#

ye

#

i guess

#

do u think id learn more from youtube or the web

rugged root
#

That's entirely preference

night pecan
#

ill choose of ur recommendation tbh

rugged root
#

I do better with text personally

#

But what may be best for you may be different

#

Although I don't recommend the various courses

#

A lot of times they don't go in depth enough and it's easy to just skip your way through without learning anything

night pecan
#

so i should read

#

do i need to pay for the book

rugged root
#

Nope, it's free on its site

#

A lot of the resources we have linked on our page are

night pecan
#

sorry

#

im not sure were to download it cus when i do it takes me back to the site

rugged root
#

The site is the book

night pecan
#

OH

rugged root
#

It's got everything the book would have

#

Ye

night pecan
#

oh im an idiot

#

im sorry

rugged root
#

Nothing to apologize for

vocal basin
#

looks like gitbook or whatever

rugged root
#

I think it is yeah

night pecan
#

do you mind if i dm you for help?

vocal basin
night pecan
#

oh ye true

#

mb

rugged root
#

I don't mind, but yeah, typically we have the help system

#

I'm always happy to answer questions when I'm around

night pecan
#

oh ok

rugged root
#

But I will say on weekends I'm unavailable

vocal basin
#

first time I see this phrasing, I think

rugged root
#

And usually after work

night pecan
#

alr

#

i think ill start reading at the night time since i study ussaly aroun dthat time

rugged root
#

Sounds good

#

I enjoy explaining the beginner concepts and stuff, so if you need something explained or broken down differently, let me know

night pecan
#

also

#

i was wondering how long it would take for me to use phyton to learn other languages?

whole bear
#

i guess i will be in the netherlands for a while today.

#

@gentle flint

night pecan
#

or take on avrage

molten pewter
rugged root
#

That's really not easy to gauge. It's going to be dependent on the person. Some people get it faster than others. And there's nothing wrong with that, honestly.

#

Also depends on how often you're working on it and what have you

vocal basin
#

"I don't fucking know what 'liberal' is anymore"

night pecan
#

ah ok

#

thanks hemlock

rugged root
#

Happy to help

whole bear
#

hello guys

rugged root
#

@quasi condor

vocal basin
#

there is this

quasi condor
#

What I found is that the more political someone is, the more likely he or she is to believe that vaccines are unsafe. Those who are “very conservative” are one-and-a-half times more likely to believe this than moderates.

rugged root
#

That tracks

quasi condor
rugged root
#

!tvmute 702987421259923458 2w Since you don't seem willing to listen to staff instruction, you are losing your voice permissions. Do not interrupt others, do not play random noise into your mic.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice mute to @jade badger until <t:1691519857:f> (14 days).

zenith radish
quasi condor
zenith radish
quasi condor
vocal basin
#

why is it named just "Shuba" there

#

am I confusing it with something else

#

okay, they included the full name

molten pewter
#

CVS is evil: "Telephone, Text and Fax Policy
By providing your residential or wireless phone and/or fax number(s) to CVS Caremark, you expressly consent to receive marketing and non-marketing autodialed and/or prerecorded calls, text messages and faxes (including fax advertisements) from or on behalf of CVS Caremark at the number(s) provided. Your consent to receive calls or texts on your wireless device is not a condition of any purchase. Consent may be revoked at any time by calling the toll-free number at 1-800-SHOPCVS or faxing your opt-out request to 1-401-652-0893. You may also send an opt-out request via email to do_not_call@cvscaremark.com with the phone and/or fax number you wish to opt out. Your wireless carrier's standard message and data rates may apply."

#

Off to piano👋

rugged root
night pecan
#

(:

rugged root
#

So I mentioned you can't access indexes that don't exist, that makes sense. And indexing is great for getting one element or character from a list or string respectively

#

But there's also something called "slicing" that lets you get a series of elements or characters

#

So for example

#

!e

ham = "Love me some spam!"
# we can get things via index
print(ham[1])

# but we can also get a slice
print(ham[0:4])

# we can also go beyond where the indexes are
print(ham[4:12312])
wise cargoBOT
#

@rugged root :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | o
002 | Love
003 |  me some spam!
rugged root
#

Slicing is super handy

night pecan
#

so o:4 is a part of the sentance?

rugged root
#

Yep

#

It's saying grab all the elements starting from index 0 until index 4

#

Something to note, the first number is "inclusive", so it will contain 0, while the second number is "exclusive" so it will get everything up to, but not including, 4

night pecan
#

i dont understand the 12312 bit

rugged root
#

So the huge number thing is just me showing that you can specifiy something out of index and slices won't care

#

It'll just go until it can't get anything

night pecan
#

i kinda undserstand

#

jsut not the ways the numbers work

rugged root
#

So let me try another way

night pecan
#

i understand that kinda

#

its just the 12312

#

throwing me off

#

i dont understand it what so ever

#

oh ok

#

also

rugged root
#

!e

ham = ["a", "b", "c", "d", "e"]
print(ham[:2])
print(ham[2:])
night pecan
#

it showed me an excersise

wise cargoBOT
#

@rugged root :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | ['a', 'b']
002 | ['c', 'd', 'e']
night pecan
#

oh

#

I UNderstand now

#

SO

#

2 IS FOR THE AMOUNT OF LETTERS

#

and on line 2

#

oh

#

ok

#
strings = []
names = ["John", "Eric", "Jessica"]

# write your code here
second_name = None


# this code should write out the filled arrays and the second name in the names list (Eric).
print(numbers)
print(strings)

print("The second name on the names list is %s" % second_name)```
#

this was a question i got

#

but i dont understand what im ment to be doing

#

i tried it but it said it was wrong when i wrote it in shell

#

so idk

#

ive tried it like 5 times

rugged root
#

What have you tried thus far

night pecan
#

should i do it again and send it to 2

#

u

rugged root
#

Yep yep

night pecan
night pecan
#

but

#

idk were

#

tbh