#ot2-the-original-pubsta
652 messages ยท Page 134 of 1
its fien lol
Running a VM can be a very wide range
i mean it's gonna run like shit
thank u
you can just install wsl on the usb pretty sure
usb + low host resources
okay lets try that
make sure you check for peripherals, you may want at least two usb3 slots, hdmi, and sd card etc
but i rlly hope finding smth cool to buy
sd card on a laptop is usually a good idea
just for the vm?
@brisk geyser
ok
hm
so basically he said
"How are u depressed?!
In Syria# there some dude who's family has been bombed to f'ck and is still out there everyday making bread and selling it on the street to be able to buy himself a new pair of sandals somewhen next year"
fr
same thing for Palestine
I got a good friend whos fam is in germany now but he told me some stuff
and other middle eastern countries
he goes there every year and tells me about ways some of his cousins got ||murdered like if they're fly's||
also houses are cheap, really cheap but you don't have a guarantee (for maybe atleast 48hrs)
A lot of Syrians leave their country
they go to a lot of other places
like
Egypt
uhh
lemme remember
i think UAE
and
Saudi Arabia
germany obv
yea
just anywhere theyre allowed
Germany is like the cheapest option available
cheapest?!
ig
I don't want to compare it to some saudi states but its not exactly cheap
in Berlin there are 1-2 rooms apartments costing between 200-300k
โฌ
so not ยฃ
hmm
thats 300.000โฌ = 312.336$
problem is
that we as humans forgot how to be civilized
this is not some 16 century year
we are in 2022
age of information
yet people act as assholes
a lot of wars
over what?
yeah
over some random ass material
that they like
gotta kill members of our society that help me stand strong cuz "cool"
its what it is I guess
its not like we didnt kill each selves over some food millions of years ago
best way to get attacked is by attacking other people
millions of years ago
this explains my point
I don't think you can simplisize war this much but it isn't necessary
to be in this period of time
and not respect your existance nor being part of society
it somewhat just shows we didn't really change naturally
means you have a problem
for example
the US acts as they rule everything
yet the people who let them rule
they dont have as much power as you think
we always have wars
only for selfish reasons
not for "national security"
I honestly cant add up to that convo since Im not really into politics
sorry
but yeah I agree
i understand
wtf is the US doing in Iraq etc?!
it doesjnt have to do anything with them
and boom there comes the oil
exactly
@jovial island where are you from?
I would've thought they were Spanish but... that's not how you spell gato
haha
unless I've been spelling it wrong my whole life
one moment
phew. I know how to spell
most people from Spain cant speak English at all so I didn't think of that for a second
lucky you
now what does dog mean?!
without translating though
I don't get what you're asking
dog means dog
animal woof woof
Dog in Spanish is perro
i don't think "dog" means anything in spain ๐
food
how did you get dog to god lmao
kidding, I have no idea what they eat in Spain
500 wpm moment
same thing in my book
nah thats china
Egypt ._.
well
What do they speak in Egypt again
isnt it cold tehre rn?
is Egyptian a language
ancient egypt
Egyptian ๐
Fair enough
with them weird eyes etc
CTRL + C
I had to think about that
basically
hell no
Never heard of Egyptian being a language
we live in 40 degrees
I was going to ask if y'all spoke Arabic
I heard the night are REALLY cold and the day is REALLY hot?
i speak habibilang dont worry
wasnt it like that
kinda
every desert ever
well... aside from like tundras
so uhh
can you read that for me please
it means
treat all bird people with respect
also eat plenty of fish in human-shaped bowls
while were at it, what does that mean?
idk what eye is
Minecraft enchantment table
๐
I see youre educated
naturally
ay whats your dream job ig
london scammer
mine is becoming a lawyer
Id hate to work a job tbh
What else would you work
Getting into a buisness
freelancer moment
E-comm
sounds like a job to me
not a 9-5 though
same for bitcoin mining
money laundery lmao
yep
I mean it is
gotta make transactions through the central bank
not completly but it is used by criminals nowadays
what about paypal etc?
Trading Bitcoin is illegal in Egypt? O.o
paypal is legal
but we use Vodafone Cash
mostly
NICE
the fook
the secrets stlib is better for that
!e
print(__import__("secrets").token_urlsafe(16))
@jovial island :white_check_mark: Your eval job has completed with return code 0.
cNTZaGe-Yx-M6Oz0L3XGBA
@native cobalt we must have an ot channel named capybara-type or something with capybara๐๐ค
these names are boring
capybara-exterminator
no one can exterminate such a god like animal๐ก
this guy can ๐ฅบ
print(__import__("secrets").token_urlsafe(int(input("What will be your new password length?\n"))-1))
random password generator๐ฟ
correcthorsebatterystaple
they are not cute ๐
youre blind bro
ya, but thats not the reason
api wrapper to deceive the world in thinking they are cute
nope
you used that api
to get your data with an api
and now ur blinded
of?
that's the stockholm syndrome speaking
of cuteness
nope
even he agrees that their breed isn't cute
he clearly said his breed is cute
what're we putting down? o_o
capybara-type capybara-formatting-a-watermelon boolean-capybara class-CapyBara
๐
no ๐ก
so youre calling him a liar?
capybaras are the truth and only say the truth๐ค
yup
prove it ๐ซ
im a capybara and you always say im right so i am right

i didnt ment that๐
you catch girls? thats fucked up bro
yes bro like pokemons
got to catch them all
0.o
based
im going to dm you an image cuz i cant send it here
how many are trapped in ur basement ๐
too much to count
oki is shapeshifter impasta, vote her out
wait tf, another person?
okimii is a pure girl
is that a compliment or a threat
i cant tell
๐ฟnone
ok
๐ฟ
i tried pycharm
and now i hate jetbrains
why ๐ฅบ
เถเถเถเถเถ
@jovial island

heavy, points to useless spelling mistake, default linting fked up
bro you literally took 10 seconds to type that
im pretty sure you cant remove the grammar corrector
yup
needed to figure out the unicode
yea ofcourse, but im too lazy to look-up for the settings
i could have just ctrl+shift+p if it was vscode
mhmmm
bro
also read the "away" @jovial island ๐
and
youre away with me
thats the point ;-; too many extra steps for Changing settings
even sublime gives faster access to them
๐
bro its just ctrl + alt + s and grammar
how is that too many steps ๐
it even does syntax highlight for regex
i found out there is a regex testing thing as well
explain this
i have annotated the bot attribute as Bot, but the linter is still considering it to return BotApp
^ mypy and pylance strict checked tho
it works fine for me
are you using the default linter?
nope, its in another folder
the blue thing tells its root, so pycharm knows when do from bot import RyuBot where to look
u can right click to set root
makes sense
there should be an option which tells you to set it root there, i already have it set so it doesn't show up
i bet if i open my project in vsc ( i have 0 configs there ) it will show the same error
i dont have any configs either
"mypy.configFile": "mypy.ini",
"mypy.runUsingActiveInterpreter": true,
"mypy.debugLogging": true
``` just this
and the mypy.ini file has nothing but exclude = env
its not even loading docs for str ๐ข
skill issue
ic
oh it did detect, nice
The Nim compiler and tools are all written in Nim
The Nim compiler is written in Nim
Then how did you
How
Huh
bootstrapped
In computer science, bootstrapping is the technique for producing a self-compiling compiler โ that is, a compiler (or assembler) written in the source programming language that it intends to compile. An initial core version of the compiler (the bootstrap compiler) is generated in a different language (which could be assembly language); successiv...
oh, so there is only one version of the language written in another language, and that one version is used to write the compiler
which means the Nim compiler uses a really really old version of Nim?
The current compiler probably doesn't use a really old version of Nim
The next version of the compiler likely would've used the current stable release at its time
who tf is pinging me constantly smh
some dude in love with u ๐คฃ
hello guys, anyone understand paypal?
imagine imagining the impossible
duck norris
pffttt
๐๐
maybe ask mod
for the deleted ping
and imagine its actually oki
๐
https://chng.it/5zndz5SRnR << petition to have pigs get a crown when named technoblade
thats just ruin the experience and everywhere you see a pig named technoblade there is a crown but sure whatever floats your boat
you know Dinnerbone exists right?
and toast and jeb
what experience lol
I got another ghost ping again pfftt
totally not okimmi
ik who it is
@vapid maple and ask for their id or something and then block them
how does it ruin the experience again?
how and what experience is ruined
you really dont know me
i literally just wokeup and its 3pm
why would i be awake at 11am
i think its the trailing one idk
a
ah yes name your pig technoblade, it gives it a crown. idk probably ruined for me

its a mod tho
[4/7 17:26] f.yo: https://www.itopya.com/lenovo-legion-5-17ith6h-i7-11800h-16gb-ddr4-rtx-3060-gddr6-6gb-1tb-ssd-173-fhd-144hz-freedos-noteb_u18137
[5/7 07:21] f.yo: https://www.hepsiburada.com/lenovo-ideapad-gaming-3-amd-ryzen-7-5800h-32gb-1tb-ssd-rtx-3060-freedos-156-fhd-tainabilir-bilgisayar-82k200jutxa4-p-HBCV00001CYKNG?magaza=Arcadia+Biliลim&url_src=and-product-detail
Lenovo Legion 5 17ITH6H i7-11800H 16GB DDR4 RTX 3060 GDDR6 6GB 1TB SSD 17.3" FHD 144Hz FreeDos Notebook En iyi fiyat seรงenekleri ile 82JM0012TX ITOPYA'da
Lenovo Ideapad Gaming 3 Amd Ryzen 7 5800H 32GB 1tb SSD Rtx en iyi fiyatla Hepsiburada'dan satฤฑn alฤฑn! ลimdi indirimli fiyatla sipariล verin, ayaฤฤฑnฤฑza gelsin!
Searching for a laptop, found these two, which one would you prefer?
Gaming 3 with 32 gig ram r7 5800h 90(?)w gpu
Legion5 with 16 gig ram i7 11800h 130(?)w gpu
amd
:)
But why
intel is power hungry on battery.
plus u have 32G of ram for the amd u put on the selection so
if you want to game go for the intel one
What if both game and office job
I cant choose between ram and others idk which one is more important
if ram is expandable you need not worry about ram, can just add more later
the intel one is more powerful but battery life might be an issue if that concerns you
do check reviews tho as laptops as a whole might have issues regardless of specs
Gaming laptops are a scam, invest in a desktop instead
The average desktop performs better than the average gaming laptop
Source: me
great source
My mommy trusts me, why can't you?
I have trust issues
You know what you can trust? Lenovo's thinkpads, they would never let you down
My macbook is not very happy at the moment ๐
I can't wait for framework to release in Australia
The battery life on my macbook is so bad now
You know what would make you happier? Lenovo's brick thonkpads
I wish they were cheaper tbh, work gave me a yoga x1 4th gen and its like 1500ยฃ+
I'd like one for myself
the Yoga line isn't as durable as the OG Thinkpads, is it?
Theyre slimer but theyre heavy af
They dont feel like other plastic laptops at all
No cracking or bending if you pick it up from a corner
Kind of overheats, or well it does for me at least
Whenever im writing vba and got excel pumping numbers you can hear its fans trynna take off
It even has the red nipple or whatever the heck its called
The only thing i dont like about it is vent location
Fans vent on the top right hand corner
Exactly where your hand and mouse would be
I've only had lenovos now that i think about it
My previous lenovo had the cpu exactly under the wasd keys
Whenever i would try and game i'd get my fingerprints burnt off
I've only had Dells
and they also overheat sometimes
though I don't do any intensive work anymore
so now they don't
I splurged and got a desktop for 1300 total and compared to any laptop out there its a beast
I dont care if you have a 5k razer
yeah, if you don't need the portability, a desktop's the better choice any day
Most laptops dont end up being portable anyway
Are people actually gaming on their lap?
I'd get a 3rd degree burn if i tried that
past me with not a lot of choices ๐
Speaking of laptop
I'm trying to get the best specs I can for the least money possible without getting an absolute lemon that can't run 10 minutes without overheating
To clarify I'm not looking for the cheapest shit, just to avoid things like paying for a label
What should I be looking at in the ~1000-1200 range?
Well u can get a decent Dell/HP in that price range, with a dedi GPU
I was getting an i5 (10th gen or smth idr) with Nvidia 2 GB dedi GPU and 8 GB RAM for 1000 USD
That was like back in January
I did keep it on pillows, not raw thighs
But then, taxes are HUGE here, so it would be cheaper there
i think its a bad idea to keep laptops on soft surfaces
๐
I just hate it that companies keep the fan vents on the underside just for style ๐
My laptop's vents are on the underside and my legs aaaaa
look on the bright side. free heaters in winter
These are mine
but it ain't winter ๐
heaters in summer are terrible
Lmaooo that's true
Why would u need a heater anyways
Ain't u a penguin? ๐
BTW didn't penguins had to study?
Nice
I used to think of penguins as nice little cute birds.
But a while back I learned that some can be 1.3m-1.4m tall.
That must be creepy af
penguins are nice
there was a time where it was so cold because the AC was on 18C
I opened my laptop
and opened a game
to heat it up
the game is genshin
so basically my laptop was a heater
I have used my laptop as a heater b4, it works surprisingly well
they're friendly
they would still be about 30-40cms shorter than me, so I don't mind it
1.4 meters is just 10 centimeters shorter than me and that's scary
Shirt.
We have the Little penguins, capital L. They used to be called Fairy penguins, which I thought was an entirely acceptable name.
oh 
Are there any laptops you would recommend for high school? Iโm looking to do comp sci and possibly robotics
All laptops are good, but if you ask about the brand, I like all of Dell laptops
Xps series?
X treme solution to heating after my I7 laptop fan gave up ...its stable
damn
lmao
my mom wouldn't let me do that to an old laptop we never used
even if i said i want to recycle it xD
I'd be way to scared of killing that board with static
I feel that
penguins are epic
Penguins ๐ง are cute
Wooky created this otn ๐
you're cute too :)
every asus laptop ๐ฅด
bb i have bio exams tomorrow
runs
Thx :), s2u

lmao
binds
Ferris is the True sith lord
e
we need a penguin programming language
e indeed
penguage
did you mean C?
no not c
C is used in Linux, Linux has a penguin as its logo. C is the language of choice of penguins
Q. E. D.
like a language with mascot as penguin, like rust as crab
๐
what about go gophers to forget about them๐
all my homies hate go
all your homies should go :))
they don't go, thats the point of hating go
smh
bakoom
moderator backrooms confirmedโ๏ธ!!1!!!
Oh, I thought it was granted we have those. Far too many of those.
One day we're going to loose someone in there. ๐
You have no idea how many times I've been thrown to the front of the server because a modmail thread closed on me
Go go power gophers?
C is also used in Windows

who's saying it hasn't happened already 
(as a reminder, HRLO77 had made a text model based off all his messages in this server 1 month ago)
The real concern is glitching out of bounds when a planning channel is removed. I don't think we've mapped that event. 
impl Drop for Mic {}
just follow the buzzing
dm me more of these lmao
Weren't there 200 helpers a few days ago?
when 69 mods ๐ฉ
!server
Penguins that fail to birth a chick will find the urge to mother overpowering
Subscribe: http://bit.ly/BBCEarthSub
Watch more:
Planet Earth http://bit.ly/PlanetEarthPlaylist
Blue Planet http://bit.ly/BluePlanetPlaylist
Planet Earth II http://bit.ly/PlanetEarthIIPlaylist
Planet Dinosaur https://bit.ly/PlanetDinosaurPlaylist
Snow Chick: A P...
ur the video 
Hey should I go find that furry art
Of Firefox and Chrome being shipped
And other shenanigans
same
holy shit i found it
Is Chrome by any chance ram like?
time to cleanse my eyes
You found it
i'm not sure if i should ask for it now
goodbye
So basically, Chrome teases Firefox
Chrome here is also a bit of a jock
please continue ๐
no
Somehow the damage I've caused is worse than anticipated
I mean I knew y'all wouldn't like it
there's a webcomic with browsers as characters
But this is more than what I expected
you can search for it
You can ask HRLO for the source
yeah that's pretty nice
So anyways, gay stuff. That's all you're gonna get
I got the gist
arm what have you done
good chance to enter the backrooms
but still 0.01% :(
One message removed from a suspended account.
so your windows won't boot?
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
What happens if you click Ok?
One message removed from a suspended account.
:incoming_envelope: :ok_hand: applied mute to @jovial island until <t:1657131965:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
fun
One message removed from a suspended account.
oh yay he's in here now
One message removed from a suspended account.
fucks sake
some arsehole who raids/spams a server i mod
until now he only joined that server
One message removed from a suspended account.
One message removed from a suspended account.
I'm looking through some microsoft forums right now
other people seem to have the same issue
One message removed from a suspended account.
Alright, on the login screen, shift click on the "Restart" button
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
Then I would try resetting it again
You can probably boot it into safemode to get into it
but before you do anything, maybe try this first
One message removed from a suspended account.
One message removed from a suspended account.
No idea, but these guys say it fixed it so worth a try
One message removed from a suspended account.
I hate it when windows corrupts something because it's such a pain to un-corrupt it
One message removed from a suspended account.
You should be able to do it from the screen you get by doing shift+restart
One message removed from a suspended account.
One message removed from a suspended account.
Go to Troubleshoot > Advanced options > Startup Settings
One message removed from a suspended account.
One message removed from a suspended account.
That should be it, according to this
https://support.microsoft.com/en-us/windows/start-your-pc-in-safe-mode-in-windows-92c27cff-db89-8644-1ce4-b3e5e56fe234
Ah
After your PC restarts, you'll see a list of options. Select 4 or F4 to start your PC in safe mode. Or if you'll need to use the internet, select 5 or F5 for Safe Mode with Networking.
One message removed from a suspended account.
One message removed from a suspended account.
hi
One message removed from a suspended account.
One message removed from a suspended account.
Oh my
One message removed from a suspended account.
do SHIFT+F10 a cmd window opens and there you might be able to do something
in advanced options
I thought that only worked in the installation media ๐.
https://youtu.be/Ox1l7zR75WU?t=220 this in a nutshell
I simp for the Soviet Joker๐ฉ๐โจ
Saturday i made this image
no, It works in recovery too
@grim beacon
yo
Hey, it has something to do with Google products. I wanted to know whether you have some knowledge about it or familiar with adding a specific language font in their workspace products.
nope i am not
Ok lol
sorry lol
No worries.
#ot2-the-original-pubsta premium ๐ฅด
Same
Same
YouTube music is better
true
lol
Wait how much is Spotify Premium?
10CAD per month, that's not as bad as I was expecting given the OTN
it's probably not adjusted for every country
Spotify is ยฃ9.99 in the UK
.wa short 10 GBP to CAD
about 15.54 Canadian dollars
ouch.
5 months ago, today, i decided to go cold turkey. this day marks me 5 months clean
my condolences
Ads
And mobile
I rarely listen to music on desktop anyway
I'm usually focusing on something so I can't have music playing
The student discount is pretty nice
same wtf
rip youtube vanced :(
what happened
apparently it got C&D'd back in march: https://www.theverge.com/2022/3/13/22975890/youtube-vanced-app-discontinued-shutting-down-legal-reasons
sadge
Meow
meow
miau
woof
Hi guys i know this is not about programming or python. Im looking for a pc that i can buy/build. So can you guys give me tips? My i have 500/600 dollars!
do you have any parts already? like monitor, keyboard, mouse? or do you need everything?
yes i have monitor keyboard and that stuff
are you looking to upgrade an existing one or buy a whole new desktop?
buy a new because my main pc i broken and i destroyed it
thats why im buying a pc buz i fellt in love with pytgon on my job
do you want to play video games?
yes fivem
https://pcpartpicker.com/guide/TydnTW/entry-level-intel-gaming-build you could downgrade the GPU in this and probably get into the budget you want.
Entry Level Intel Gaming Build
thanks
which one is better Intel Core i3-12100F 3.3 GHz Quad-Core Processor
or Intelยฎ Coreโข i5-11400 processor
I would suggest sticking with the i3, since it will allow you to upgrade to a 13th generation CPU in the future, should you feel the need.
also the motherboard filter is already set up
yeh but its not on amazon
well, if you want to change the CPU, you will also need to change the motherboard
is it the same cpu
yeah, the important part is the i3 12100F
yeah
ASUS 1660 Super 6GB .
AMD FX 8310 TM.
DDR3 Hyperx Fury 8 gb (4x2).
240 GB SSD Kingston.
1 TB HDD.
this pc for 424.44
not new tho
oh ok
Ryzen 5 1600 3.4 ghz factory boost with wraith stealth cooler
Crucial 2x8 ddr4 2400mhz ram
Masi a320m gaming pro mATX motherboard
RX vega 64 gigabyte gaming oc 8gb
this
at that price point, consider getting an iGPU, I believe the 5600G can run most games on low.
GPU: GTX 1070
CPU: I7 6700k
Ram: 16gb ram
PSU: 600w
Be quiet kylare
SSD: 128gb
613.07 dollars
that is a great spec, is that what your getting?
i dont really know
i would get a lower end cpu and a higher end gpu, but it will depend on what games you want to run
i have a 1060 gtx in a spare computer at home, it runs most games on low
im going to run fivem
thats the gtav mod?
yes
i will ask my son, he plays that
mini darth maul
he have done some python but he is more interested in DnD at the moment then programming
thats great does he play some sports
he and me do JuJutsu
oh thats cool
he is a black belt in the junior division
damn he can knock me out haha
I said that when we both have black belts, we will travle to Japan
so that is soon, im working on my own black belt now
thats really cool man
good luck then
its also an important thing for programming, your mind cannot work if your body is weak
true
-Phanteks P360A Chassi
-Ryzen 5 3600 CPU
-ASUS Tuf Gaming B550-plus moderkort
-16 GB Crucial Ballistix 3600 Mhz RAM
-Cooler Master RGB CPU kylning
-Seasonic 620 Watt Strรถm
-Samsung 980 Pro Gen4 NVMe M.2 Drive 250GB
-Asus ROG Strix Nvidia GeForce 1650 grafikkort (4GB)
-500GB SATA secondary data drive
i really dont know
this is almost equal to my spare computer
it runs fivem great
is it a good investing if i buy this pc
yes, that is a computer that should be worth almost the double of your price
oh ok
the problem is
that i need to talk to the owner because i will get 1000 grand the 25
in this moth
so i really dont know if it will be
on sale
i would make a deal with the owner so that you can hold it for you until you can get your money to pay for it
maybe have an adult step in between to help make the deal more credible
this, but i have 550 w power, i have a gtx 1060 with 6 gb of ram, and i have a ryzen second gen not third.
is it better or
its as close to equal as you can get, that is why i asked my son about fivem
you trying to sale it ?
no, im going to keep my computer, its the only spare computer i have with a good gpu in it
Im not sure, i only play boomer games ๐ i dont know what you young people are playing ๐
hhaha, i play serious rp and i was a staff there to when i had a pc
oh really, I have been doing rp for the past 30 years in some form or another ๐
haha really cool
at the moment its mostly RPG or MMO games, but also the odd weekend with DnD on a tabletop
I really like that young people start doing RP at your age, it sets up for a huge improvement in life imho
the skill of inventing and imagining things has made a huge positive benefit when it comes to my own work
Yeah really
Intelยฎ Coreโข i5-11400 processor
NVIDIA GeForce GTX 1650 Super
2x 8 GB DDR4 RAM, 512 GB SSD
This for 430 dollars
AMD Ryzenโข 5 5600G, 8GB RAM, 256GB SSD och GeForceยฎ GTX 1650 SUPER 4GB
seems better
looks alr
names = ["mariya", "BATMAN", "spongebob"]
[
n.capitalize() if n.islower()
else "Relax " + n.capitalize()
for n in names
]
this code make syntax sense
where is the :
the for isn't starting a for loop block, it's part of the list comprehension syntax
!listcomp
Do you ever find yourself writing something like this?
>>> squares = []
>>> for n in range(5):
... squares.append(n ** 2)
[0, 1, 4, 9, 16]
Using list comprehensions can make this both shorter and more readable. As a list comprehension, the same code would look like this:
>>> [n ** 2 for n in range(5)]
[0, 1, 4, 9, 16]
List comprehensions also get an if statement:
>>> [n ** 2 for n in range(5) if n % 2 == 0]
[0, 4, 16]
For more info, see this pythonforbeginners.com post.
and the if-else aren't starting blocks either, that's a trinary conditional operator
!e
x = "a" if False else "b"
print(x)
@hidden kernel :white_check_mark: Your eval job has completed with return code 0.
b
you can also do tuple comps and dict comps etc
it's the same principle but with curly brackets?
yup!
thanks my dude
wtf is a tuple comp
That's a generator expression. :)
List, dict, and set comprehension. And generator expression.
well i did implement a tuple comp some time ago
i swear tuple comps were a thing
then im not tripping๐ญ
you are if you're on regular python
>>> (x for x in range(5))
<generator object <genexpr> at 0x000001D7FABB4450>
>>> (x for x in range(5),) # custom modified cpython feature
(0, 1, 2, 3, 4)
You can wrap the generator in a tuple().. it's almost the same thing.
this is literally just a list comprehension then converted to a tuple
because that's faster than adding to the tuple
you mean these? (i for i in range(5))?
those are generator expressions
i know, only thing that changes is its execution but i just ment what preocts said with the usage of the tuple converter
!e
x = i for i in range(5),
print(x)
@willow plinth :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | x = i for i in range(5),
003 | ^^^
004 | SyntaxError: invalid syntax
:<
I want to do multiple next on an iterator to get somthing like this x,y = next(it)
is it possible
itertools.islice(iterable, stop)``````py
itertools.islice(iterable, start, stop[, step])```
Make an iterator that returns selected elements from the iterable. If *start* is non-zero, then elements from the iterable are skipped until start is reached. Afterward, elements are returned consecutively unless *step* is set higher than one which results in items being skipped. If *stop* is `None`, then iteration continues until the iterator is exhausted, if at all; otherwise, it stops at the specified position. Unlike regular slicing, [`islice()`](https://docs.python.org/3/library/itertools.html#itertools.islice "itertools.islice") does not support negative values for *start*, *stop*, or *step*. Can be used to extract related fields from data where the internal structure has been flattened (for example, a multi-line report may list a name field on every third line). Roughly equivalent to:
ha i didnt thought about islice :p
is lice
@willow plinth em stan lesgo

apparently Visual Studio requires updating before it will let me uninstall it ๐
watch it install itself after u uninstall it
vim gang
@willow plinth my pfp good?
yes, its cute
:D
I'm trying to make a python code which checks if numbers appear in a name, this is what i have so far, but i don't know how to write a statement that says if number appears in
name = input('Enter first name: ')
alphabet_string = string.ascii_uppercase
list = list(alphabet_string)
x = name.split
if range(1,10) in x:
print("No numbers accepted")
elif list in x :
print("No Uppercase letters accepted")
this is what i have so far
Pretty much only the first line is the one that makes any sense tbh
Everything else... Just won't do what you expect
you need to.. loop over the string and check if every character is a digit or not
or if you want to do it the pYthOnIc way any(i.isdigit() for i in name)
also remember that list is a keyword
you'd have to do something like this:
def has_number(s: str):
for letter in name:
if letter in "0123456789":
return False
return True
name = input()
if has_number(name):
...
That took way too long to type on mobile
Mmmmmm, tasty refactor
5 files changed, 167 insertions(+), 192 deletions(-)
The spice is in the purpose: [preocts=20220709 09dc2d7] Make the requirements for loading configs less dumb
so many giga chads๐ณ
@sharp bronze To expand on the truncated explain I gave. The elif I showed is controlling a process we want to run only one version of. If the string has leading/trailing double quotes, remove them. Same for single quotes.
However, if the string has LT single quotes nested in LT double quotes we only want to do the process once, not twice.
Hence the tests to ensure the logic works:
(fail is two if statements, pass is if/elif)
That's the practical use of an elif. When, logically, you want to prevent more than one true statement from triggering.
Yes i see
Yeah
A girl asked me to go to the beach with her. Shall i go or stay home, sleep and dream about my dream linux rice
stay home
the last
linux will never let you down๐
run around or desert you
make you cry
say goodbye
tell a lie and hurt you
yup
I'd say stay at home until a friend asks you to go to the beach.
Or, powermove, ask a friend to the beach.
I'm great. Just ate dinner, refactored some code, and now it is time for Minecraft.
Thats cool
very, very bad things going on here
Damm
Everything will be fine ddont worry
My grandma passed away after i left her house last week.. ik its not a contest for most shitty events but i just wanted to get tht out.
sorry dude
that's gotta suck
Nah mancnot anyones fault. Shes in a betterplace now
But sucks to know thst i gotta wait till i see her agajn
Everything is fixng itself tho
So
Yep
depends on the distro :^
bro
yes?
what situation
they're too far gone
Meow?
meow
we are all lines
we all belonged to a hive mind and must be rejoined
with psychedelics
i officially need a sugar daddy, i nominate @mental idol
You might want to nominate both a daddy and someone with money. Just sayin'
thats u
received my first college bill today
18k
Good luck. I don't know that experience.
usd? what currency?
yes usd
bruh thats expensive ๐
per semester
That would be a semester for america
wtf
Oh my ๐
2 semesters per year afaik
'merica. oh what a land.
bout 36k per year
i wish
I don't think america has a good student loan system from what I know
Oh it has the best.... just not for the students.
Sounds about right
Anticipated Financial Aid $12,745.00
Term Balance $5,316.00 ```
man get a good job that pays fat cash so you can pay this off ๐
Makes the banks a lot of money.
In Australia student loans have no interest
atleast in my country most good colleges are government funded institutes that are affordable (somewhat)
I have a friend that exited university with 85k in student loans. 20 years later she had 87k in student loans.
bruh
i dont even know how i got all the awards and scholarships i got, i was the guy who missed most of high schools and slept thru my classes when i did show up
never. missed. a. payment. (just could only afford the minimum)
oh my
did she fake her death?
Moral of the story, don't just pay the minimums I suppose.
im lucky af, getting close to 13k in scholarship, grants and a small amount of fed money
She got a job where part of her sign-on bonus knocked half the balance out the window and then actually made a livable wage to pay the rest. Took her five years.
She counts herself lucky.
i only gotta pay around 5k in the end
per semester
thats still around 40k for 4 years total
Anywho... while I personally don't like school I'm a huge freaking supporter and local catalyst for full-ride education after high school.
i dont like school either
but i do feel theres a big difference between "streets smarts" and books smarts
Certainly. While I don't have a strong education background I'd be a fool to say having one isn't valuable. You have to learn skills somehow and an education is not only a good method but a qualified one.
Hello
hi!
I am waiting for others to come here lol
I hope you guys continue the conversation tbh... It was interesting
I am just bing chilling
in any case, social media company require a very jaded view of the world
I don't recommend it if you aren't ready to be jaded or if you care about who uses you and how
What's a good language to learn for the future, if anyone has suggestions?
i doubt any of the languages mainstream currently are going to die any time soon
java, c#, c/cpp
for my personal safety i'll also have to add rust
in what field
languages are tools, not end in themselves. Multiple languages could target the same use case.
So the language itself doesn't matter that much in the end
It's more about what you can accomplish
What do you mean by "not end in themselves"?
And yeah although I am looking forward to practice another language, probably a low level one, and am unsure what to do
I don't hire people because they know java or python or c#. I hire them because they can get backend/mobile/frontend work done
well, over here i'm not talking about for jobs, i'm talking about just as a free time
for free time, maximize your fun ๐
more fun means you are gonna spend more time on it which means you are gonna learn more
so if I were to ask for a suggestion between C. C#, C++ and Rust, nobody can answer that?
The question would be "what would you suggest between c, C#, C++ and rust and why would it be rust?"



oki youre living in denial

41,021
310,096