#ot1-perplexing-regexing
1 messages Β· Page 438 of 1
It's a thing
Just drink that coffee , then your good to go
My code spat out a generic valueerror with no additional information and I really don't want to debug this. I think I'm just going to log it and ignore it
Coffee doesn't affect my productivity at all, unfortunately. I once chugged two cans of redbull and then went to sleep 2 hours later.
@cold current Well , its effect stands for only like 1 hour or so
Two redbulls?
I alternate between drinking coffee every day, where it's just sort of a reliance thing - and not really drinking it at all
but it does help me I feel like
I alternate between drinking coffee every day, where it's just sort of a reliance thing - and not really drinking it at all
are you saying that you drink coffee evry alternate days?
or at alternating stretches of days?
Right now I drink it every day. 4 months ago I didn't drink it at all often
And I'm probably gonna give up with it soon
i guess I do the same thing
Guys how could I install ncurses on windows?
@lunar shore cmd doesn't support ascii escapes
if you want the python curses module, you can use windows-curses from pip
Basically the only way is WSL?
Nono Rust
I want to do terminal low-level stuff with Rust
Since it's much faster than Python
the solution is to not use curses
you can use conio IIRC
and write a cross-platform application
cursive using the crossterm backend
cursive w/crossterm supports mouse input and rust people are saying it works on windows
API documentation for the Rust cursive crate.
@sand goblet what is cross platform curses for python though?
curses with windows-curses
but probably what you actually want is asciimatics
But something , I downloaded the git repo of a rust lib , add it to my dependencies like :
[dependencies]
lib = { path = "MyLib/" }
But cargo still proceeded to download it
Huh, hadn't heard of that one before
What is the problem here?
Like cargo should not be doing this right?
Oh it actually just downloads the libs dependencies
oh god, i somehow pressed caps lock, but my caps key is rebound to ctrl, so I cannot disable it
NOW YOU HAVE FUCKED UP!!!!
Subscribe and Follow @NovaSpec
anyone remember the vbs way to get the WinShell object. the internet here is shit so google takes time
there we go
set wShell = createObject("wscript.shell")
WShell.SendKeys "{CAPSLOCK}"
Ummm
Guys
Cursive rust library needs ncurse.h :/
--- stderr
C:\Users\RaderH2O\Desktop\Rust\Ncurses\target\debug\build\ncurses-c2c5d5f1c9d73a2a\out\chtype_size.c:6:10: fatal error: ncurses.h: No such file or directory
#include <ncurses.h>
I'm using cursive
And it's giving this error
yup, as I said before, you need to use the crossterm backend
Oh kk
Or install ncurses-dev
On windows @solid pollen ?
But as I said , low-level and terminal-related stuff in Rust , other things in Python
Curses really needs to die
honestly, last I tried, terminals were slow enough that python was fine
Nvm I'll just make a terminal game without Ncurses
Curses is an ancient gnu library that will never be cross platform because that's not how the gnu do
lol
I remember I made snake by just copypasting a cpp snippet into my C code and compiling it in cpp mode for moving the cursor to 0,0
lol
Windows/GNU when
lol
Oh hey, kubii released a new product https://shorturl.at/gmqA8
The fuck the url haha
What the hell is that URL
I feel like that URI had some personal info attached to it @solid pollen
I don't think so, that's a Google proxy image
Ah, nevermind than, I just glanced at it
very few companies are dumb enough to put critical things into URLs these days
Yeah, the urls are always transmitted in clear text
I'm not a big fan of the whole gun debate, but I just don't understand america
a 5-year-old in north carolina was shot point blank by a neighbor today while he was playing with his sisters
and people try to defend gun ownership?
this shit keeps happening man
"The only way to stop a bad guy with a gun is a good guy with a gun"
Oh, statistically it's nonsense
true
It's like less than 1% of active shooter indicents are resolved from someone on-site with a gun
and that's not even talking about collateral damage
well non lethal stuff is good but its not also good when it is misused
anything is bad when misused
Funny thing, it's called less lethal now
Because it can still kill people
so due to lawsuits, they're branded as less lethal ammunition
but I have a hard time believing the general populace needs to be carrying instant death boom sticks around with them all the time
It's fear
is it though
I'm pretty sure most people are just selfish and want to keep their guns
true
NRA ad campaigns are heavily fear based, they're telling people to prepare for war
It's also interesting that when someone on the left is in power, gun sales are driven up.
Huh, that is interesting
its been that way for years
I used to sell stuff in the firearms niche 7-8 years ago, and after the sandy hook shooting my sales tripled for 2-3 weeks
the anti-gun rhetoric peaks after each shooting, and that makes people panic buy thinking it could get banned
that thought process is silly
we'll stockpile this thing that might be about to be illegal to own
a lot of times in proposed bills they will get grandfathered in
how about we don't do that
Kinda can see why they think that
Although I don't think I will be one to do that
I bought my guns long ago, no panic buying for me :x
I don't know why they think this logic, but I believe the logic is that they need to buy more guns to protect the guns they have if those guns are made illegal
"The government will take my guns over my dead body"
sometimes, it can be for a variety of reasons
I think some definitely are people that want to take advantage of the price
Which will be higher
its certainly a seller's market right now. I checked some listings earlier today and Glocks that sold for $5-600 earlier this year are now being auctioned with bids in the $7-800 range. Depending on what happens in November, supply/demand will either stabilize, or get much worse because of Biden's and Harris's views.
https://twitter.com/gdude2002/status/1293608546156912641?s=20
gdude asked a good question about the mojmap license changes
@Dinnerbone Would this allow for derivative/inspired works? Eg, could an open mappings project be inspired by the official mappings in some way? Would it be legal to distribute the mappings in other forms - eg converted to .tiny or with additional columns?
I won't get a reply
the guy asked for questions but he won't answer them
over 600 impressions and not one interaction
test
@strange barn Whatcha testin'?
why is this channel marked as locked when i can message in it
its not locked
Because it's limited to the Developers role
When you join the server, you don't have the role. You have to pass verification. Which, you have since you're here and have the role π
well
oh
me too
My file reader now has logging functionality and I'm very proud of myself π
and it no longer crashes when it can't parse the date, lol
apparently they leave some channels open so ppl can lurk
Hi guys!
Welcome to my new Programming language!! his name is John!!!!!!
here i'm going to show you how to make do re mi fa sol la si
on John!!!!!!
join yourslelf
import songsjohn = ["do","re","mi","fa","sol","la","si"];
sound_john = input("insert wihch one")
sound_john = songsjohn;
!!!! = high = songsjohn;
if (sound_john == sound == "do"):
print("dooooooooo,tim.pun!!!!!")
elif (sound_john == sound == "re"):
print("reeeeeeee,tim.pun!!!!!")
elif (sound_john == sound == "mi"):
print("miiiiiiiiii,tim.pun!!!!!")
elif (sound_john == sound == "fa"):
print("faaaaaaaaa,tim.pun!!!!!")
elif (sound_john == sound == "sol"):
print("solllllllllllll,tim.pun!!!!!")
elif (sound_john == sound == "la"):
print("laaaaaaaaaaa,tim.pun!!!!!")
elif (sound_john == sound == "si"):
print("siiiiiiiiiiii,tim.pun!!!!!")
:}else{:
print("U did not write anything")```
I hope you enjoyed it!
And have a good Night!!!
For ages, PC / Windows users and Mac users have been arguing about which operating system is best. You come at just the right time to talk to two people you meet. One person who is a Windows user thinks that the simplicity of the window design makes Windows a better operating system, while the other person who is a Mac user claims that macOS is the better operating system because the graphical window effects are
more advanced and user-friendly.
What do you tell the people to make them understand that they are "out cycling" in their argument about which of the two operating systems is best?
@rough sapphire Replying here since it's off-topic for #python-discussion
Different operating systems appeal to different uses. Personally I don't agree with the argument about the difference in the UI since I'm more concerned with developer tools.
I use Hannah Montana Linux btw
sounds legit
it actually exists fyi
Binod
"...themed after some TV show..."
looks more like windows xp lol
This is a really old one haha
https://linuxreviews.org/Hannah_Montana_Linux lol
@rough sapphire there's a Justin Bieber Linux too π³
My question is... were these memes or legitimate attempts to get young people into Linux? osarchive says that it was created with the intention of getting young people into Linux.
If thats true, thats like when church pastors try to do a hip hop rhyme about jesus to win over young people.
lol
I hope its just a meme
biebian lol
lmfao
lol
but i think it was done jusst for lolz
im pretty sure no one is gonna ise HML or JBL because they think they are cool
but what do I know
people do surprise me sometimes
people be peopling
@unborn badge take a look in #help-lollipop . so awesome
how did they manage to abuse KDE so badly
only have
It seems like the creator is taking themselves seriously to some extent.
The song is the most ridiculous thing on the site
^
I hate to share this because its http but its worth it
@rough sapphire man, if you knew the amount of legacy download that are http, like the whole Debian archive from which you install system packages is http haha
yikes
It seems like the creator is taking themselves seriously to some extent.
It is part of the joke haha
Somebody kill me please...These damn empty strings won't go away
i think i should just throw my computer into the bin and live life normally again
Want some help?
alright
seems like u were really intrigued by the HM linux
Dumbest fact I can ever remember reading seriously:
- A birdβs first migration is very risky, but those that survive may live longer
A bird lives longer if it doesn't die the first time it tries to do something
and predrators are always there no matter how old it is haha
I thought you were talking about social media for a second and I was like "yup, word"
a bird's first attempt at instragram is always the riskiest
@sand goblet here's a kick in the nuts. Playing CrossCode yesterday, just got access to Rhombus Center and BAM. Progress stopping crash on PS4. So now I'm stuck on the city select screen waiting for a patch or having to swallow my pride and redoing hours of progress.
Oh dang, that's a big F
Since my autosave loads me on said screen and my manual save is far behind that
Wheeeee
Never had anything like that on PC, that's a big bummer
@rough sapphire something like "if you're slowly lowering your device into a toilet, like companies program their products to do automatically". Mostly talking about the agressive kinds of planned obsolescence like lowering CPU clock speed on old devices without telling the users.
(this practice is mostly justified by voltage problems on old batteries or something, I believe, but doing it silently isn't)
ah you're going at it from a catchphrase
i was hoping for something more literal lmao
nah, I haven't heard of any devices literally lowering themselves into toilets, although it sounds like a wonderful idea for a virus targeting robot vacuum cleaners.
how about this... a forced update that monitors the user's bathroom activity and shocks them in order to drop the phone into the toilet
@gritty zinc "Union of Soviet Socialist Republics" ?
@rough sapphire
I didn't mean that USSR is one, but that it practiced non-acronym abbreviations a lot.
@gritty zinc i know, but sometimes it's not necessary to do that;
like python needs it, instead of .p, .py works better
But for venv why not just ve ?
ve sounds completely impossible to guess the meaning of
venv came after virtualenv iirc
so to me, that kind of explains why they went with venv
virtualenv is a tool to create isolated Python environments. Since Python 3.3, a subset of it has been integrated into the standard library under the
venvmodule. The venv module does not offer all features of this library, to name just a few more prominent:
hmm, checks out.
help booting from grub is a challenge
so right now im trying to take my ubuntu disk that i burned and turn it into a flash drive...
So like.... are you melting it down to the shape of it or....
Bizarre
and the whole reason im doing this is because i just dont want to figure out how to put a 32 bit bootloader with a 64 bit installation disk
Can't u download a new iso?
but i could copy the ubuntu from disk hundreds of times in the time it takes to download the thing from the internet
And is it working?
well no need
i just used the iso i already had on my computer that i put on the cd in the first place
and if this works, i have to download the ubuntu 20.04 server disk anyways
Maybe I misunderstood your issue
do you guys think the surface go 2 is good for programming? its small and compact and small
(and compact)
well it depends on what you're trying to do
i guess the 8gb m3 core could run pycharm right...? i think ill be doing some web dev soon
maybe probably
whats IJ???
Send a pic
lol
im trying to decide of a laptop thats good for programming and light gaming for under a thousand dollars
Yeah I think you can right click and copy the emoji image link
depends what you're programming
And what gaming
Probably just csgo actually
Nice thonk
and django or flask and maybe html css whatever those are
I missed the t when you said it previously so I thought it was going to be holding a clown horn or something
CS:GO is so old it would run on a beefy potato lol
they also have :concern:
yeah i hear it runs 50+ fps
Ehhhhhh
You likely still want to have something more than an Intel chipset
And potentially more than an AMD APU
The feeling when you realize that CS game the kids play is old
I want an intelli honk emoji now
wait is the core m3 intel? im not really into computers
I dislike that the more I build my program and add error checking/logging the longer it takes to run
My program takes 10 seconds now
Any of the core series should be Intel, yeah
and kills my cpu/memory for the duration
oh
When I say intel chipset, I mean graphics chipset
Sometimes also called integrated graphics
:bonecheesewithease:
well that kinda sucks
any recommendations for good laptops under $1000?
What you could do for programming is just get a potato laptop and remote into your desktop
There's a reddit called r/recommendalaptop or something like that
I mean hell, you can do your programming on a Raspberry Pi
It's the gaming that's going to be the deciding factor for the spec
yeah honestly i just want it to play csgo
I still say it depends on what he's programming. For me it's the programming that's the bottleneck
and like you dudes said,its a pretty old game
unless they release another one when i buy another laptop
Well check the minimum or recommended specifications that CS:GO requires and go from there
If that's your baseline
And then from there, when looking at machines, you can check to see if the GPU it has is better or equal to the recommended spec
minimum: A potato
recommended: A mature potato
So... like one with curves?
Minimum CSGO requirements are pretty low
Well there's more to it than memory requirements
8gb Ram and the Ryzen 5 3400g should get you 60fps
I'm choosing to believe the 3400g means its that many grams
3.4kg
it won't run AA(A*) games
That's a heavy cpu damn
Right?
gut it will run CSGO and Esports games
And yeah, the APUs aren't bad
But they're looking for a lappy, not just a card/chip
i dont think i will be playing aa games but i guess its mainly for programming
laptops are not great for gaming imo
But how else will I play my Alcoholics Anonymous games???
Dude that's like a me tier joke
CSGO is very light, and can be done on a laptop, I'm not sure what a minimum there is
I know you can do better
Anti-Air games I guessed!
my current laptop has an intel core i3,5gb ram that doesnt hold a charge so i guess it would be a pretty good upgrade...?
I know a bunch of people who do it on expensive laptops
Nice Kamikaze Hemlock π
nah - it works fine for them. Mostly because they're moving about a lot
How often do they need to buy a new one?
never since I've known them
I have a gaming laptop that works just fine for me.
one of them uses a 2014 mbp, one uses a newer thin and light
Idk how many years you known your friends π
I just need a laptop
the nitro 5 looks good but it looks so gamery
well
I have no idea how long they've had them
at least a couple of years
and clearly the 2014 mbp has been good since 2014
and as a plus, once you're done you can turn the laptop upside down and cook some eggs
I go everywhere with a cooling pad π
My experience with laptops is that they get so full of dirt and shit after a few years that they clock down pretty radically. Difficult to clean em properly as well
Actual gaming laptops seem like a terrible idea
if you're buying a laptop - go for portability
not this terrible hybrid of power, bulkiness, and a bit portable
80s retro is in though
it's not bulky, it's a e s t h e t i c
When I visit my fiancee I want to be able to bring my laptop then play with her and her friends.
bloody gaming laptops with mech RGB keys that weigh 15kilos and are about a foot thick
Oh
I should clarify that my laptop is around 1k, it's classed as a gaming laptop but isn't anything too hardcore
oh which one is it?
If you are in need for some 80s vibes, you can buy a rpi and put it in there https://www.kubii.fr/9969-large_default/boitier-nespi-case-pour-raspberry-pi-4.jpg
yeah, I'm complaining about the extreme end
but I can't see any utility in almost any gaming laptop
Don't know the model off the top of my head but it's an Asus
maybe the Razer Blade - but they're thin and lights as well
For travel gaming I prefer any of the handheld consoles. Switch or 3DS
Mobile gaming > Everything
dont ban me ty mods
Portable gaming is one usecase, but gaming on a laptop is so much worse than on a desktop
i'm yet to find a mobile game that i like
I'm kind of bummed out that Nintendo is the only one in the handheld/portable gaming console market
For sure a switch is a better choice for travel gaming even if you just travel to your bathroom
to the point where you want a separate keyboard/mouse/monitor at home anyway
playstation basically stopped after the vita failed
@plucky ridge I'd absolutely love a Switch-that's-really-a-ps4
Nowadays the handhelds can do some pretty spectacular stuff as well, looking at you botw
like, just have Sony rip off the Switch
or we wouldve had gta v on portable or something
and put PS4 games on it
My new favourite mobile game is discord oh wait
yeah jesus thats good
GTA V really need to die, it is way too old
The small buttons scare me - but I would probably give one a shot
there's nothing wrong with it though
it still plays fine
I tried the psp way back in the day and I hated it. Lost faith in sony handhelds
WHAT
nintendo is where it's at
To be fair though most GTA games are still playable
They really need to release a new one
https://youtu.be/P20ASB1MdnI
this video got so many dislikes its amazing
"With over 130 million copies sold, the record-breaking and critically acclaimed open world experience, Grand Theft Auto V is coming to PlayStation 5 in the second half of 2021 featuring a range of technical improvements, visual upgrades and performance enhancements to take fu...
people still buy it. It's on them.
yeah its practically a money printing machine
man i wish they have free online on console again
red dead > gta
not for online
there's nothing fun to do with friends in Red Dead
I haven't even bothered playing RDR2
I really liked RDR1, but the story of RDR2 really doesn't appeal to me for some reason
heard you just suddenly get rammed by like a tank or somethinf
I also have no way to play through RDR1 again first
hang on i'll get you a rdr2 trailer
which is what I'd really want to do
Ever played Red Dead Revolver? That was fun
Cowboy bullet time
I played it when I was like 8
but don't remember it except for a fight with a fat dude that I could never win
I'm old, huh
@undone berry https://www.youtube.com/watch?v=3Aj2Pt5vWT8
Red Dead 2, Modded American Nightmare
Patreon: https://www.patreon.com/user?u=3360824
Twitter: https://twitter.com/bedbanana
Patreon Wall: https://imgur.com/a/Cls5150
Thank you all for the support!
Huge thank you to those down below who played the characters in the vid & he...
It released in 04, I wouldn't have had it til it was at least 2 years old, probably 3/4 years old. So I'd have been 8-10
haha - I think I've seen this before actually
this is art
omfg wtf is that
this is art
Docker is
updating their ToS? 
Thanks you for, like, not telling us anything about what changed
I love it when they just throw the entire 75 page ToS at you again and say here's the updated one
Should just give us a diff file
That'd be neat
Although not the best for non-coders
Like if it's actually that file type rather than just a diff page
Well non cinder can still use diff tools
But I don't think we have access to the old version
wayback machine probably has it
Sure but consumers shouldn't have to go to such lengths
Wish more things had changelogs
Like when a university changes their course plan for a particular degree path
I just meant Akarys could probably use the wayback machine and his programmer magic to manually get a diff if he's invested enouhg
tos;dr doesn't have it either
it totally sucks that there's not a change log
Well I mean, if they are no changelog I have a feeling that they are trying to hide the changes, ya see
off to the wayback machine for you then
They are trying to hide the changes while still making you legally responsible for knowing them
Thankfully companies still tend to lose those battles
looks like a decent number of changes
left is the old one
pls don't mute me python-bot senpai
those are all the significant changes
everything else is docker moving from san francisco county to santa clara county, and changing "applications" to "third party content"
some of those are a tad suspect though
nice
you're welcome @solid pollen
Nice thanks
@sand goblet Light-.....LIGHT-THEME!?!?!?!?
As if this site I visited once ever for a single task has a dark theme
What's wrong with you
I thought it's like pycharm lol
Could you not?
Quick word of advice, this isn't a shitposting server
ah looks like the patrons role got a new color
wait a minute lol, how come you're royal blue?
There are three different donation levels now, each with its own color
oh
Well technically four, there's a donation level that doesn't give anything
Technically they all don't give anything other than a color and our appreciation
But it's nice to see people donate since all of that goes right back into prizes for the various CodeJams
Oh cool, so after I lose this role, I can buy my color back ;)
*colour
Don't you mean grey?
Channel for patrons to bitch about the latest troll when
Don't actually do that, that'd be awful lol
lol, don't worry, we wont.
It would be nice if we could give patrons something extra to show our appreciation, because you guys are so cool
But we don't want things to become pay to win sort of thing, so we don't really want to do that
patron only channel to Bitch about staff
Honestly any patron channel idea I've had always seems like it'd turn into #lol-this-raid-sucks eventually
I don't think our position on it will change any time soon, thankfully
Even if we gave patrons permissions to type during a raid, it wouldn't make much of a difference because we sort them out so quickly anyway ;)
Oh huh, I didn't even think of that.
I don't actually see any utility or interest in it -but I struggle to see how a Patreon offtopic channel would be pay to win - it would just be boring
It would be kind of counter to the discourse of the server though
Not so much pay to win as much as just exclusionary
Yeah, pay to win is the wrong term, but it wouldn't really benefit anybody (as you were saying)
offtopic for me is pretty much the main draw to the server, but I'm not the target audience, for most people and from the staff perspective - offtopic feels very tertiary to the main goals
It's mainly to keep the riff-raff out of the help channels
The only reason there were off topic channels originally was because you just can't stop general chatter haha
Yep
yeah, I get that - but that's why I don't see the patreon channel as being counter to the discourse of the server
or particularly exclusionary
again - I don't actually want or care about it
And because of that, people might think that donator channels mean they get to jump ahead in line for help, which absolutely isn't the case
hmmm - I kinda see the argument there, but that also seems to hold true just for giving the pretty colour
Except that they have to stand in the queue like everyone else this way
Rather than having a low traffic channel that'd easily catch an eye if a message is sent there
Even with the color
People do occasionally mistake the colour for staff
That's why if I'm poking someone that may have broken a rule I make sure to tell them I'm not
Colours are just aesthetic, barring people who can't/wont pay from a particular channel is quite different imo
I don't really see it. As long as the channel isn't visible to them, it doesn't seem that exclusionary
hell - you could even make it accessible to any coloured role, just anyone who's not a Developer
If you can't see it, it isn't there...?
which is purples
Which again, we don't want
yeah - i'm not saying you do want it
We have Partner channels
sure, but it's not like an extra channel is gonna be make or beak for them
But they're a different matter, honestly
It's not about user perspective though
It's a staff viewpoint and a server culture thing
again, I don't think the channel is a good idea - but I really don't buy the reasoning against it
It's a server meant to help everyone, regardless of whether they donate. A private channel like that would more than likely get abused for that purpose, and since we don't actually make anything from the donations, we really don't feel the need to make something super duper special.
All of that money goes straight back into the community
i mean
the community rewarding those who give back to the community
seems like it would probably be a net good thing
that seems like a healthy cycle
and it already exists with helpers
How do you mean there?
It's touchy legally
It's not a donation if you get something more than a cosmetic out of it
Helpers give to the community in the form of help. That gets recognised and acknowledged with a role+invite to staff+access to staff channels
i'm not sure why the fact it's a cosmetic matters
Yes, because they are expected to carry their weight
getting something is something
They're not getting it for free
neither is someone giving money
Volunteering is different than paying, though.
Both from a financial/legal standpoint and also from our point of view
i'm not saying it isn't. I'm just saying there are similarities between the two
i.e giving back to the server
That's a bit of a stretch, though. The donations aren't directly benefiting the person who made them unless they win a jam
I don't see how it's legally touchy. Tonnes of places have Discord's that require paid access
And the Helper perks are purely so that they can do an even more efficient job
normally legal touchiness from this stuff comes from gambling laws
It's still not an area we want to touch
as long as you guys operate as a charity should
it's not a legal issue at all
my point is that there's 0 difference between what you're currently doing - and different patreon benefits
in legal terms
Okay, can you confirm that's the legal case with every country that our server has members from?
You can, and I can also say that it's not worth the extra hassle
Can you say with absolute confidence that what you're already doing isn't breaking the law in one of those?
it's the exact same thing
I'm not sure why you think the cosmetic nature of things shifts it legally
I can actually since Joe's dad has looked over the documents
Legal expert and what not
Joe's dad might be a lawyer
but not in hundreds of countries
and no one is expert in the law of every country
What do you want from me here
to acknowledge that the point about legality is dumb
If it ends the conversation, sure, fine, it's dumb
Sorry, that was unfair of me. I just get really tired of having to try and justify every decision we as a server make
I suppose.
I just know what I want from this server and the direction for it to grow. To me, it's all about the education and helping aspect. Everything else is completely secondary.
Although we also do care about the off topic channels, of course, and we want to protect the vibe here
I just don't see any actual benefit to anybody of having a patron channel. It's like, "woo, we have our own channel, it's basically the off topic channels, but with less people to talk to. Great". Anyway, you'd finished the conversation, so i'll shut up lol
no - I agree, a patron channel would be dead and boring
I don't actually think it's a good idea
I just don't buy the p2w argument
Ah that's fair, I'm not sure I agree that it isn't exclusionary, but I have to go, so i'll leave it at that.
help are there any java classes with a thing like this: ```java
public class ThisClass {
public static class OtherClass {
// ...
}
}
well i think there are static methods
ive never seen a static class in python tho
well this is java and im just looking for an example of that in the actual jdk 11
javacord that im in answered that java.util.Map.Entry is an example which was handy to find out
i got hacked by dead_sec
Haha
I kind of disagree with the pay to win argument too. I still see cosmetics as a tangible benefit. Itβs not like a game where you can clearly differentiate between cosmetic and gameplay bonuses. In a game the goal is to win. Whatβs the goal in a discord server?
?
?
!
@ emanueljg#4884 hey you asked me to remind you about the factorio release a month ago, it is today
how did it ping the wrong person
oh he left
and i cant dm him because no mutual servers
can someone reach out to him to deliver the message
How do you remember to remind someone after a month? I set a reminder with Google Home and 3 days later when the reminder arrived, I realised it had heard me incorrectly. And I was never able to recall what reminder I'd been trying to set. I forget my own reminders.
just stick post-it notes on everything
Everything? That sounds a little uncomfortable, if you ask me.
Not to mention environmentally unfriendly. "Where once, a proud forest stood tall, now, only sticky notes."
The rubber duck apocalypse, but with sticky notes.
Sometimes it's an inconvenience. Sometimes, it is respite from the anxieties of the waking mind.
Just make a script that allows you to set reminders.
Literally what I did to be less forgetful lmao
Question about VSCode.
Is there some extension like paredit, but for HTML tags?
For example, paredit allows you to grab expressions under a pair of parentheses with a shortcut:
; V
(defn square [x] (*) x x)
(defn square [x] (* x) x)
(defn square [x] (* x x))
and do other useful manipulations with brackets/parentheses/... .
It would be useful for me to to the same with tags::
<!-- V -->
<form> </form>
<input type="...">
<!-- Result that I want after using shortcut: -->
<form>
<input type="...">
</form>
I just managed to lock myself out of my phone for around a half hour
How do you remember to remind someone after a month? I set a reminder with Google Home and 3 days later when the reminder arrived, I realised it had heard me incorrectly. And I was never able to recall what reminder I'd been trying to set. I forget my own reminders.
@empty aurora i just created a calendar event on my iPhone
Good thing you didn't use Siri then, lol.
yeah, i use siri a lot actually, and because i use iOS 12 siri has a little problem, also here is the screenshot
Hey @kindred matrix I was typing when your help channel closed, if the content of the page is generated dynamically using JS, you should use Selenium otherwise BS should be fine
@solid pollen Thank you. I think it's all HTML. I want to make sure that I can interact with the pages on my own and click another URL and it will analyze the page for me again.
Ah, if you want to interact with the page you'll need selenium
Well I mean interacting as in clicking a link? I am using bs for a project that I'm working on involving "clicking" links
is 4gb vram enough for programming?
You don't need vram for programming, in most cases
@rancid forge Maybe you can help me then. I asked a question in Calcium about working with an open tab instead of opening a new one every time I am running a script.
Wait a tab?
Yeah, instead of actually clicking the link, you could just scrap the url again, that's smart
Love, thy name is honey mustard and hashbrowns
That's an interesting combo
@sand goblet It's the best
I like them with ketchup
lol
i screenshotted that
we got mcdonalds hash browns yesterday
I wish I could just buy frozen ones from them to cook ourselves
why is that?
you can say it lol
At least here at Walmarts you can get frozen hashbrowns kind of like theirs
But it might just be an unhealthy American thing
I'd make them myself but I don't think I can get the right kind of potatoes
@plucky ridge could you explain what potato grits are
they're little potatoes they throw on the road when it's icy to stop you from slipping
lmao
Okay, that was a good one
:>
"Hmm, roads are getting slick. I should put my snow potatoes on my tires."
haha
that quote out of context
But yeah, grits seem to be more of a southern thing
I never understood them
Or the appeal of them, rather
That said, I do find myself ordering them once in a long while just to remind myself how terrible they are
I have to agree with that statement
depends what kind of apple
I spent the entire day doing fuck all, quickly rushed some Excel sheet script thing in like an hour - showed my boss he was like "cool, above expectations", and pretty much just told me to go do whatever I like for the next 90 minutes
great - that was my plan anyway
Never played it before, and I dislike jumping right into multiplayer
but
I am gonna play it solo for a while I think
Solo is a good plan for trying it out
do I have you on steam either way?
don't think so
No, I'll send you my friend code
why do both of you have different colored patron roles
apparently I didn't actually download the game yesterday - although I thought I did
I spent the entire day doing fuck all, quickly rushed some Excel sheet script thing in like an hour - showed my boss he was like "cool, above expectations", and pretty much just told me to go do whatever I like for the next 90 minutes
@undone berry sounds like school with extra steps
help it's been raining for hours on end with no sign of stopping
@winter terrace I get money for this though
Exactly
Thatβs just school with extra steps
Such as getting pai
:(
I want money
@spiral ridge we pledge at different levels
okay
K,V,K,V,K,V,K,V,K,V,K,V,K,V,K,V,K,V,K,V
@spiral ridge what happened to your pfp?
it went *poof*
Since you use vsc
everyone has been messaging about my pfp
wait why is my pycharm presence not showing up
it takes lots of code to just get method javadoc
chatDeathsByCause['sschr15'] += 1
print(chatDeathsByCause['sschr15'])
# 4
I just discovered that Escargot MSN is a thing
It's a community project that reverse engineered how MSN Messenger used to work and now runs a third party server so you can still use it to chat
That's wild
oof
nvm i need something else apparently
im dying inside
at least fields don't die on me
Is that JavaScript?
how do i select a thing with an id containing < or > (escaped as < and >, respectively)
ok i changed my pfp
it's back to unity tree
Lookin' good
this code is ugly
Where's that at?
doc_loc = data.select_one(str(name.select_one("a").attrs["href"]).replace("%3C", "<").replace("%3E", ">")[int(constructor):])
```my code is just dying
this code is ugly
@rancid forge be happy
no matter what, soupsieve hates me
Can't you new-line-chain that?
probably but i moved things around and im still dying
Oh, forgot you need to slash them
Ideally you'd want to separate it so that you can more easily pinpoint tracebacks
Simply < doesn't work?
nope
Why?
c_loc = data.select_one(
str(name.select_one("a").attrs["href"])
.replace("%3C", "<")
.replace("%3E", ">")[int(constructor) :]
)
- Why doesn't that work
- Why add angle brackets in
id
I dont know if that workls but its better than a one line
Hmm
i didn't add the angle brackets in id, that is in javadoc
Oh
declaration: module: java.base, package: java.lang, class: Integer
I mean like
Why would someone add angle brackets in id
Let me see what I can do
constructors in java are identified as <init>()
they linked using the java identifier
What is your current selector
hmm?
Glad to know
now testing
accidentally typed $ instead of &
it is not being found...
attempt 3: using <>
(not the comparison operator)
it worked
thanks for the help
You're welcome
now i just need a way to save thousands of classes' fields, methods, constructors, and all of their javadocs
do you guys think 512 gb is enough for a laptop?
It largely depends on the use case. For a lot of people it is. For me, its not really. My solution is to have an SSD of about that size and then get additional hard drives for storage. Its cheaper.
oh my current laptop has 100gb
im looking to upgrade
i guess 512 is good enough...? maybe
how much storage have you used in the current laptop?
if you don't download large games I think you should be fine
like 80% of it
yeah probably some light gaming
csgo, and just programming in general
Hi Guys I'm to new to this server
128gb ssd is enough storage for a laptop imo
@rough sapphire Welcome to the server! What brought you here, if I may ask?
@undone berry Unless you're a packrat like me
Even then, id lean towards external drives and cloud storage
Not saying more isn't nice
Or a secondary HDD if it supports it
Just that it would only be a tiny factor
They're cheap enough anymore
yeah, for photos and stuff I'd just buy like an 8tb HDD and get an external hard drive enclosure
that does sata -> USB
or some similar setup - I don't really store much, so I'm not sure on the exact needs
That's a lot of cat pictures
Thanks, Hmm I heard that this server is extremely useful for python so i created a account and joined... to gain more information and get some experience with u guys and share my knowledge aswell.
That's a lot of cat pictures
yes....cat pictures. and "homework"
Very cool. Are you fairly new to Python or are you an experienced Pythonista?
I'm fairly new to python
!resources Cool! Well in that case I'd like to point out our resources page on our site. It has tons of great beginner books, sites, and playlists. It also has a page detailing a few of the various editors or IDE's you can pick from to write your code in
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
thank you
Any time!
are there other people who add reasons to their suppression on occasion
so like python try: # do something here, idk except: pass # Suppression reason: ?
no like the ide says something
making that disappear
the reason is because i define it in an if statement so it automatically assumes that it might not exist
i mean is it only used if that if statement is true?
correct
if condition_a:
thing = []
for i in things:
if condition_a:
thing.append(i)
else:
print(i)
if condition_a:
print(done)
```this kind of thing
Yeah, pycharm is just guessing and I don't mind it. You can always supress it for that statement
Or restructure your code
i myself just leave the squiggly lines there
this is probably the most parameters i have ever put in a single method
docstring syntax?
?
they asked HEY YOU DO CODEWARS?
oh no my keyboard isn't set to the right mode so i can't make an upside down question mark ΒΏ
wait what
ΒΏ
here you go
you can paste that
ΒΏ
@rancid forge ΒΏSΙΉβMΖpOΖ Op β©Oβ β ΖH pΗΚsΙ ΚΗΙ₯Κ
are you australian or smth
im busy trying to figure out why there's a None when there shouldn't be
what you tryna do
uhhh
...
get
the entirety
of javadoc into json
so i can make a discord
bot that isn't incredibly slow
smth like
j.javadoc javax.swing.smth?
and then it just spits out the documentation?
for some reason i got a none on a constructor line...
f bro
apparently a constructor didn't have javadoc?
why am i running this incredibly intensive task in pycharm?
no it's a python command thing
ah
for some reason the thing generated a 30kb json file with the name JavaBean.json i need help
so
instead of spending six years fighting with None in places where it shouldn't be, I'm instead just going to put it in a try/catch block
debugging is so slow
console.log(++killsBySschr15); // 5
what
say what you will about the ussr
their music is banging
bruh
lol
meh
I absolutely love linking it to people asking for help with sneaker bots
What's a sneaker bot?
https://www.youtube.com/watch?v=NNZscmNE9QI watch this to find out
Ever wondered how to make a sneaker bot? You should watch this video!
Check us out at:
https://pythondiscord.com
https://discord.gg/python
Why do people even want to make sneaker bots?
It's the most pathetic thing ever
What's a sneaker bot?
@scenic blaze it's a program that scraps websites that sell sneakers
I don't understand the fascination of webscraping or why people use it over using an api
Actually what's the point of making a sneaker bot
they use it to quickly buy expensive sneakers
and then they sell it on for 3x the cost
There's plenty of sites that don't have an API, nor is it against the ToS. But yes, using an API is levels above doing any level of scraping
and it works, because people are stupid
once my mum fell on a scam that was like "omg buy our shoes that are 90% off"
bruh
even the grammar was horrible on that website
There's plenty of sites that don't have an API, nor is it against the ToS. But yes, using an API is levels above doing any level of scraping
@rough sapphire yeah, why Adidas (for example) would want to make an API except for stats, that it's extremely unlikely?
They wouldn't
They probably already do. Just not a public facing one
@undone berry Well, in this case, we mean a public facing one.
I'm guessing their registered retailers have access to an api bidding or ordering system
Sure - but my point is that API already exists targeted to the people Addidas wants to target - i.e businesses and not scalpers
Maybe? Could be a different system altogether.
Well, I'm taking the term API here more broadly to make a point - it probably is a different system yeah
but I'd still guess there's an enterprise facing rest API ordering system
I'm just making the general assumption that if a company doesn't have an api they don't want you harvesting their data but I'm sure there are exceptions
The way many companies approach webscraping is that they will scrape it as long as you're not undermining their business model
and that usually means they'll scrape unless the data is for sale from that place
Is anyone experienced with physics here
@velvet ivy IIRC Notch did a series of streams showing a game being programmed from scratch, graphics included. Java, obviously, but has some value regardless of the language you're using.
wat!?
https://www.youtube.com/playlist?list=PLgAujBKarXXoMxJDyi1Am4yvfbHYWRwOC that's them, I think.
interesting...
Notch 
wait
but i saw a class on youtube about python
i ran it
it works
then don say anything bad about my code right?!
do it on your s\
not on mine
ok?
bye
i mean to her guys
not you
relax
Notch :skypepuke:
Yeah, true. You'd hardly be showing support for him by viewing his years-old programming streams, though π
wdym
Yeah, the tutorial's fine. I was just reminded of what a repulsive human being he is
im 14 and i started programming this year
why is that girl with the pistol talking to me like that as if i were trash
Didn't you say you wanted to hack your girlfriend's account?
Maybe that's why they're talking to you like you're trash π€·ββοΈ
the girl i blocked with the pistol
Let her go, my dude. Nothing good will come of that
look
that code i did it on java and on C
and she is always saying bad things about me
Your girlfriend or some person on the internet?
Didn't you join the server today
like pscopath
yes
no
wait
i have 3 accounts on discord
at this one
i joined weeks ago
and she always looks at me like the stupid
Lol, let it go, dude
@young shoal this is the girl im talking about
what
@young shoal come on say the same thing about my code
i don see your messages
u been blocked
thanks
ok
good night for everyone
i mean, my criticisms were genuine, you can't treat a class like a function in java
but this is the way i saw on youtube
probably not
and my teacher taugh me that
also probably not
Can you do that in any lang? I thought that's what methods were for 
that is what methods are for
oh my god
mthods
wait i will have to unblock her because i have always to open the message
import java.util,Scanner;
public class helloWorld{
public static main void(System[] atgs){
Scanner reader = new Scanner(System.in);
int x,numbers;
for (int x=1;x<=5;x++){
System.out.println("insert");
numbers = reader.nextInt();
}
result = mulNumbers(numbers);
}
public class mulNumbers(int c){
int mult = 1,x;
for(int x=1;x<=5;x++){
mult *= c;
}
return mult;
}
}
this code literally will not run
i can explain why if you want
Can you do that in any lang?
you can make callable objects in cpp
Why would you do that? Legit curious
!silence
β silenced current channel for 10 minute(s).
Alright I've had enough
!tempban 728386190767816724 3d You keep causing problems/drama. You've had multiple infractions before. You keep claiming you have alt accounts, which is clearly against ToS. Take a break to calm down, once again.
:incoming_envelope: :ok_hand: applied ban to @calm tapir until 2020-08-18 00:07 (2 days and 23 hours).
!unsilence
β unsilenced current channel.
i really thought i was about to get banned

pretty fine I think





