#voice-chat-text-1
1 messages Β· Page 2 of 1
Coding?
What is the best way to learn faster though?
courses?
I don't think so,
That will take ages as course start baby step approach
Right, once I get verified back, hopefully soon
I will get back to ide for coding
for the being, taking break
Please do it quicker
I need to speak up
@uneven ridge your picture is dope, i was scrolling thru my servers nd i thought i unlocked some discord glitch..lmao
Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
python -m apps.simple_test
python apps/clean_mesh.py -f ./results/pifuhd_final/recon
python -m apps.render_turntable -f ./results/pifuhd_final/recon -ww 512 -hh 512
don't bother i don't have mic
!e
code
!eval [python_version] <code, ...>
Can also use: e
*Run Python code and get the results.
This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.
By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*
*ding*
"WHAT DID YOU DO?!"```
Hi, I'm Cubastic and it's a new DIY on my channel! Today we're gonna be the easiest Rubik's Cube in the world, which is the 1x1x3 Rubik's Cube! You will learn how to do it yourself, what it looks like and how it works. Enjoy!
β Mi canal en espaΓ±ol: https://bit.ly/3yJ5jsj
β Friend's channel about customization: https://bit.ly/2RXsiAp
π· If you l...
@umbral rose can you send me the code of that now or when it's finished I just wanna learn how you used those angles in that
!if-name-main
if __name__ == '__main__'
This is a statement that is only true if the module (your source code) it appears in is being run directly, as opposed to being imported into another module. When you run your module, the __name__ special variable is automatically set to the string '__main__'. Conversely, when you import that same module into a different one, and run that, __name__ is instead set to the filename of your module minus the .py extension.
Example
# foo.py
print('spam')
if __name__ == '__main__':
print('eggs')
If you run the above module foo.py directly, both 'spam'and 'eggs' will be printed. Now consider this next example:
# bar.py
import foo
If you run this module named bar.py, it will execute the code in foo.py. First it will print 'spam', and then the if statement will fail, because __name__ will now be the string 'foo'.
Why would I do this?
β’ Your module is a library, but also has a special case where it can be run directly
β’ Your module is a library and you want to safeguard it against people running it directly (like what pip does)
β’ Your module is the main program, but has unit tests and the testing framework works by importing your module, and you want to avoid having your main code run during the test
Thanks I got this
I like their twitter profile image.
yea it's pretty cool. i wonder what prompt the used, assuming they did.
i'll return shortly. require coffee β
!eval
a='butterfly'
while True:
print("Hemlock loves",a)
@sleek thunder :x: Your 3.11 eval job has completed with return code 143 (SIGTERM).
001 | Hemlock loves butterfly
002 | Hemlock loves butterfly
003 | Hemlock loves butterfly
004 | Hemlock loves butterfly
005 | Hemlock loves butterfly
006 | Hemlock loves butterfly
007 | Hemlock loves butterfly
008 | Hemlock loves butterfly
009 | Hemlock loves butterfly
010 | Hemlock loves butterfly
011 | Hemlock loves butterfly
... (truncated - too many lines)
Full output: too long to upload
@olive echo this is the guy I was thinking of, not Demis. I've heard radio interviews with him about AI ethics stuff https://en.wikipedia.org/wiki/Mustafa_Suleyman#AI_Ethics
but - I didn't realise - he hasn't ever done any actual research afaics
yeah so this seems to be mostly about social responsibility
typical ai company corporate talking points
yeah, I think I'm just mixing up a bunch of different stuff heard from different people
impostor
im not
!e
print(1,2)
@spice scarab :white_check_mark: Your 3.11 eval job has completed with return code 0.
1 2
opal are you a cuber?
I am not.
hey
teach me your ways
i will introduce you to the rubik's cube sensei, allow me to introduce you to jperm-san
https://www.youtube.com/channel/UCqTVfT9JQqhA6_Hi_h_h97Q
I make videos so you can get faster!
Check out the "Playlists" section on the main channel page.
Business Email βΊ dylanqwang@gmail.com
How you can support me:
Patreon βΊ http://patreon.com/jperm
Clothing βΊ http://teespring.com/stores/jperm
F2L Algs βΊ http://bit.ly/bestf2l
PB Sheet βΊ http://bit.ly/JPERMPBS
Facebook βΊ http://facebook.com/jpermcu...
learn beginner's method first and then after you've figured out, learn cfop from him immediately
Interesting! Thank you
how fast are you
hello, fellow cuber, you dare challenge me /j
I'm slow as shit it is not a challenge
pb sub 10 cfop forgot exact time, but that was 3 years ago
no more pbs
sucks to suck
:(
very lol jk im busy now
I don't even know my OLL, I'm trying
what other events do you know
ik all coll but not all oll cases literally 50-ish lol
sub 10 pyramix, sub 5 2x2
I have like 15 cases I need to learn, all L ones
L lol
I don't really time myself for events tbh
+1 dnfs don't count and +2 are nonexistent at home lol
deletes entry from cstimer
like I just solve for fun I don't really ever have a timer
I have 2x2-7x7, skewb, megaminx, pyraminx
omg what mains
I used to be able to do BLD
pochman method? what method lol
||3x3 feet was removed bc of covid||
2x2 is a shit one, 3x3 I have Gan 11 M pro (thanks to @halcyon notch β€οΈ ), 4x4-5x5 is yuxin little magic
OMG HE'S A CUBER?
waitttt
where do you buy your cubes on
wow... gan 11 m pro, i only have gan 356x v2
speedcubescanada.com / amazon / wherever I can find them
I would not buy one for myself but LP blessed me with a gift
π€
do you prefer thecubicle or scs (we will not be friends if you choose the wrong one /j)
I also enjoy doing OH but I'm like 1-1.5 minutes for it feelsbad
I'm not in the states so I haven't used either
oh phew
is he a cuber as well? ||damn if only he could get me a new set of cubes from 2x2-7x7 with pyra, skewb, sq1, clock, megaminx||
I don't think he cubes anymore but he used to
oh wow lol
i just want pro cubessssss pleasseeeeeeeee
when did you start to cube
oh lmao like 2011 or smth
nice
I remember WR being 5.66
we are veterans
kids these days have no idea how life was like without magnetic cubes
I got my first magnetic cube like 2 months ago lol
back in my days the "crunchy" weilong gts is the godsend wr crusher
actually i lied i got my first magnetic 3x3 2 months ago, I've had the yuxin magnetic 5x5 for like 3 years now
how are you still so slow
I've never really actively practised / cared
oh lol
yeah lol if definitely didn't cube excessively for a while lol
honestly just got back into it a lot last 2 or so months since i got magnetic 3x3
my best cube before that was still my zhanchi LOL
i think developing a rubiks cube solver from scratch would be cool
like cool coding project imo, there are way too many plug and play solvers, we need to reinvent the wheel
tldr of all my projects so far
lmao yeah most of mine
opening 2304982304982304807439876 tabs at once does not sound fun
however
imagine have tabs, debugging is just me vs the code, I don't even know what i would look up
watching wr compilations and reactions is certainly fun
honestly I think 5x5 is one of my favorite events
that and BLD, I want to get back into it
you like parity????11!11 are you sadistic i idk why ppl would like it lol /j
i like 5x5 over 4x4 because less parity
yes ik
but still
i like 2x2 bc i have no brain
3x3 feels too... like I'm not actually thinking
3x3 is weird
i just hate f2l
I'm SO bad at f2l and cross
I have seen all of his videos lol
+1 fun fact i remembered when jperm was like a smol channel i subbed
I just can't be arsed to sit and practice f2l
+1 like fuck memorise algs and cases i just wanna get gud lol
been subbed to him from like 2017 or smth
yeah +1 smth like that probs earlier?
my cross is legit like... 8 seconds lmao
tf
how
are you colour neutral
nope lol
i am partially
though I'm slow enough that I don't think I would be significantly worse on any color
like I said, like 35-40s
"im too bad i have nothing to lose"
basically
yes?
i meant like "basically that"
tell me
@charred creek Come in here
It's dope
Homey
G funk brother yo
Dawg
Playa
Home slice
My G
This crate provides Rust interfaces for NumPy C APIs, especially for the ndarray class.
API documentation for the Rust ndarray_for_numpy_users mod in crate ndarray.
!stream 589497499174043800
β @gray seal can now stream until <t:1660925039:f>.
!user

Created: <t:1443481946:R>
Profile: @mild flume
ID: 98195144192331776
Joined: <t:1525291749:R>
Roles: <@&267628507062992896>, <@&807415650778742785>, <@&267629731250176001>, <@&831776746206265384>, <@&587606783669829632>, <@&797891034906099752>, <@&267630620367257601>, <@&295488872404484098>, <@&764245844798079016>, <@&764802720779337729>, <@&463658397560995840>, <@&542431903886606399>
Messages: 65,236
Activity blocks: 13,780
Total: 30
Active: 0
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
ok
"Cows getting married with a crab acting as the minister"
"A programmer looking confused at a computer made of yams"
"A fiddler crab playing a fiddle on a roof"
"A rainbow over a lush green field, the rainbow ends at a pool filled with unicorns wearing floaties"
"A demon riding a motorcycle made out of bone at a McDonald's drive-thru"
"a cow with sunglasses eating a darth vader-shaped apple"
"michael jackson fighting the terminator with flaming swords and plasma guns, photorealstic"
"teletubbie fighting the terminator with flaming swords and plasma guns, photorealstic"
"A skeleton, a werewolf, a vampire, and a mummy playing poker in a dark room under a single light"
A cat fishing for tuna in the pacific ocean
"A buff lemon with a beard fighting a python in armed combat in a back alley, hyper realistic"
"futuristic database computer room in ancient Egypt pyramid room, photorealistic"
"a businessman, a goldfish with a cowboy hat, a hamster with sunglasses planning for a bank heist"
Banning something only makes people more curious about it so I dont see how this helps anyone
It doesn't. It's just some bizarre moral panic bs. Also, I won't be on much if at all today. We've got a leak in our water heater so I'm trying to get all that figured out
Oh nooo, Good luck!
Hey any mobile devloper here
I need help with compiling app for ios by flutter
@round ledge they're opposites so sure!
yin and yang ig
@round ledge that makes no sense
π I wish I was voice verified
they shower bro
what
in america water is waisted
Ice bucket challenge
they don't have to shower
but
they have the choice
they're pretty much polar opposites
the ice bucket challenge was dumb it wasted so much water
they could've just donated lol
ok
what???
Lmao
I wish i could talk
π
I could debate this so well
second world dont bargain cause they dont want to seem poor
1st world bargain becuase its fun
thus both first world and third world bargain but second world doesnt
4 people 1 person gets [1,2,3,4]
!USER
You are not allowed to use that command here. Please use the #bot-commands channel instead.
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
!u
You are not allowed to use that command here. Please use the #bot-commands channel instead.
!server
hi
Hi
@hazy bloom !voice
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
sure. we're just people.
if you have something to say to any of us, feel free to.
I just wanted to say Hi cause i saw you popped into vc1 for a second
Nice server btw
has some cool commands
i have messaged a problem could you please show me the way to solve it #code-help-voice-text
https://tenor.com/PMCc.gif @stuck bluff
Hi!
@civic glacier Talk in here for voice chat
Keeps from us interrupting pygen.
And I'm in Central US
oh
So it's like 09:21
this is. A simple #no-mic channel
.
Do you ever tried to make a console game
It's been on my bucket list
But I don't have anything that would be worth publishing. I've got game ideas, but they're like.... basic little RPG Maker ideas
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Nothing had happened. They asked them to apply to stay within some... time limit.
Yeah that sounds right
Thought that was a call from work for a second there...!
There we go. Had to clean my ball
...... trackball
Forgot the first part of that word matters
WASM is maximum web hubris
We can build executable binary system that canβt get out of its sandbox
From same creators of WASM, electronic voting, with block chain!
That font hurts me
The capital N just looks wrong
Although the lowercase g looks like a little snake
Always fun when you use black on one of your old projects and then refactor it.
Are you wiping out whole files?
reminds me of this
oh. oh god
da fuq?
Amazing
I ran black. That alone redid literally every line.
I then rewrote basically everything because it was written before I learned what functions are.
The before time
Or for-loops.
Nothing but if statements
at least this is actual code
even if its just 95% protobuf
something like
x = 0
if x < 5:
x++
if x < 5:
x++
...
That's what I wrote four years ago lol
Now I write code like :
x = 0
while True:
if x < 5:
x += 1
else:
continue
much worse
The best thing about these apple announcements is watching the apple fanboys and the apple haters fighting
I hate all platforms equally, so I'm okay with it
I used an android phone when Apple Pay came out, I was over the moon over it because it meant that NFC payments were going to go mainstream.
me when apple fanbois talk about "buttons on notifications"
It's the cost and locking into their ecosystem
Trying to transition out of it is tedious
Well yeah okay I actually get those.
LIDAR is a gimmick for most. I learned the hard way never to buy a phone on a gimmick.
Samsung Galaxy S4 had a hygrometer.
Which sounds amazing on paper until you take into account that you carry your phone in your pants pocket, and the humidity in your pants pocket is not representative of the actual ambient humidity
Same thing goes with the thermometer, which was located directly on top of the battery.
Yet it was advertised as being able to measure the ambient temperature and humidity
i have a phone with a thermal camera
Oh, CAT S60?
The CAT phones seem cool, but I could just get a dedicated FLIR for that
It's just that. Apple build quality is the best in the market right now. Other brands may have all the cutting edge stuff but an Apple device in the hand feels different, you know.
CAT is just so underpowered, sadly
I use a MacBook. I don't like it, but between the build quality and the fact that I can just walk down to the mall whenever I need help with it is worth the price in my opinion.
build quality hah, have it in a humid room for a while and then try to get a repair
repairability >>>>> build quality
True. That's why I insure the hell out of it
I liked the iphone announcement. I won a thousand dollars because I had a bet with my entire team that there wouldn't be USB-C
Also, fuck any company that still refuses to use Type C
glares at my blue yeti mic
What I do like about Apple is the fact that they take existing tech, and refine it until it is almost a work of art. They don't innovate so much as make things work really well.
ah, right need to charge my phone. my bad
Dear Apple: give us a significantly bulkier phone where all the extra size is additional battery capacity
Anyway, since I cannot connect to voice until I recharge my mobile device, I'll chat later.
Key word being almost
rugged phones ftw
But when I say work of art, I don't mean it is pretty. I mean that they prioritize form over function
Case in point: Apple's insistence that nothing, and I mean nothing, will ever have a sharp corner
perfection takes time π
yeah but apple needs at least twice the expected lifespan of the universe to even approach perfection
Nothing can ever be perfect, and Apple is rapidly moving away from perfection and into the same exact trap Microsoft fell into when they were making Vista
The "screw what the customers want, we know best" trap
My phone wishlist is very simple, but Apple will resist implementing most of it every step of the way:
- USB-C
- Actual all-day battery
- Iridium
- RCS
- GoPro-level camera capabilities
- Repairable
- The ability to choose between iOS and Android for my device
My watch wishlist is even simpler:
- The Garmin Quatix 7 Solar
I currently use an Apple Watch 3 because at the time it was the best fit for my needs
There's a balance, there, sometimes and depending.
I'm actually not very particular. I just need my devices to be pretty :3
Iridium?
Like
The element?
Satellite phone
Proper satellite phone
Fuck Verizon and their monopoly over the maine coast
And maybe last a bit longer than average.
Sometimes users are stupid. Sometimes designers are oblivious.
Sometimes the users are stupid?
That hasn't been my experience. It's closer to "assume single digit IQ every single step of the design and engineering process"
Remember, we actually understand tech. We're edge cases.
As in "users aren't always clever enough to know what's good for them"
thats why i want it to be regulated by law
But most users are simple. Most users just want to post minion memes on Facebook and then get in arguments about politics with their neighbors.
And then play candy crush saga level 999999 or whatever the maximum is nowadays
90% of the features being announced on all new smartphones are just the various tech companies participating in a dick-measuring contest.
I do miss clamshells....
Just something nice about knowing my screen isn't going to get fucked up
Right, the screens on the foldables...like...how long are they supposed to last?
There's a reason why I strongly believe that the best smartphone that ever existed (I am very biased here because I am only thinking about my use-case right now) was the Motorola Moto Z Force. It had the best system for peripherals, to this day.
More than a year? Hang on. Let me get my supply of excess credulity.
If they ever make a fourth one, that'll be what gets me back onto Android
Until then, I'm going to stick to something that....just works. I don't need it to do much, and the freedom android provides is a double edged sword in my case. I bricked my Pixel because I tried to hack it so the lock screen could be useable as an interface for a Kestrel handheld weather station
iPhones don't even give you the option (other than jailbreaking) and I'm very willing to accept these limitations for the time being.
Do I like the limitations? No. Do I think my current iPhone is a good phone?
Honestly, I use it mostly as a camera that can also use Discord.
I can do that on Android as well, but I am still paying for this phone so I am kinda stuck with it until my Verizon bill finally falls back to 80 a month
Who knows? Next might be a Samsung. Or a Pixel. Or another iPhone. Or maybe I'll find something niche that fits my needs better than the big three.
Exactly. All these debates are pointless.
Speaking of which, The Samsung z folds are pretty clunky I didn't really like them. Smaller yes, but heavy.
I've made a conscious decision to never allow myself to ever own a credit card. Cuz I am not to be trusted with money I don't have.
The worst thing a person can ever do is buy a product because of the company
That was me with Apple in 2011
I learned a painful and very expensive lesson as a result
!stream 912465721081081896
β @misty sinew can now stream until <t:1662653641:f>.
bye guys i should go to sleep now
Wdchu buy?
#game-development @leaden steppe
serialize
Not to be confused with cerealized
Which is delicious
huh
@calm imp google says "sandbox-oriented" - does the game allow macros?
that was a joke
know x)
Nah you're not supposed to macro but that's why I'm trying to use pydirectinput to do what I would do normally but while I'm not there or at school etc
Wonder if AutoHotKey could do something like that
Nah tried it
Not sure how well it works for checking images or if it can be tied into it
Although I'm hesitant to offer much help on this, since Black Desert is multiplayer
And that's always a grey area
theres a rule on this server, we can't help with projects that break terms of service, likely that black desert forbids macros that way
Unless it has built in support like WoW
if pyautogui and AHK dont work its likely they're actively trying to block macros
I get that but again just trying to figure out the scheduling aspect of this the actual coding is done
Was just asking about the scheduling didn't want to ask about anything else haha
I mean the best I can think of is using datetime and calculating the next time to trigger it via deltas
Like my question is this I guess, can I run multiple things that are defined without them interfering with a code possibly rnning?
On a schedule
So are you wanting the initial script (the clicker or whatever) to still be triggering even while the repair thing is going?
!e ```py
import gc
gc.disable()
print(gc.isenabled())
gc.enable()
print(gc.isenabled())
@golden marsh :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | False
002 | True
Or do you need it to swap gears entirely
Can I share screen with you real quick?
Would help explain what I mean
I can't at the moment, and like I said I'm hesitant to offer more help on this without knowing Black Deserts rules on this
Sorry
Nah all good it's fine haha I understand
@mild flume today is a good day
Object animated with Finite Elements Method dancing to FEM by Davido
Original music video: https://www.youtube.com/watch?v=lta5go9P-go
Hi, can you help? I need you to create a spotify account, please. It's just that I'm from Russia, and spotify now calculates when VPN is enabled, and it's impossible to register specifically. please
@misty sinew https://pydocx.readthedocs.io/en/latest/
Breh, Operation London Bridge underway.
Is it falling down?
Nah, the Queen died.
thanks
431 votes and 144 comments so far on Reddit
In this indie game devlogβ’, we're taking a look at a simple feature that allows us to easily change the appearance of our characters - without the need to recreate every animation.
=== Wishlist Astortion on Steam ===
https://store.steampowered.com/app/1993980/Astortion/
=== Support the channel ===
Patreon:
https://www.patreon.com/aarthificial
...
I have this Base64 response (attached b64 file).
I need a Python 3.7 script that gets the following data (see screenshot) from the Base64 string:
4.897951068019847
264040
If you go to https://protobuf-decoder.netlify.app/ and paste the Base64 data in, you'll get above data. That's where the screenshot originates from.
TODO: Create a somewha...
"Beasts" by Richard Wilbur is one of my favorite poems. I took the text and plugged it into Disco Diffusion, an Artificial Intelligence image/video generator and then edited the images slightly. Of course, this needs to be higher fidelity but this is my first experiment with AI and the results are pretty amazing. With some fine tuning of prompts...
In the litany of copyright infringement lawsuits, technology lawyer and musician Damien Riehl demonstrates that music is merely math, and has a finite number of possible melodies. If youβve ever thought a song you like sounded similar to another, the culprit may not be an unethical forger, but rather the limited mathematical musical equations th...
I sat down to talk with Damien Riehl and Noah Rubin about their project to copyright every possible melody, and why that's a good thing.
The TedX talk:
https://youtu.be/sJtm0MoOgiU
VSauce "Will We Ever Run Out of New Music"
https://youtu.be/DAcjV60RnRw
(ββ _β )
β¦Ώ Adam Neely T-shirts! β¦Ώ
https://teespring.com/stores/adam-neely-merchandise
β¦Ώ SU...
wish there was a easier way
Catch us on The Vans Warped Tour all Summer! Dates here: https://vanswarpedtour.com/dates/
NEW ALBUM 'WELCOME TO BONKERS' AVAILABLE NOW:
Spotify: https://open.spotify.com/album/6EXsfqTqHgc0XNti4Dn5r7?si=kLSdj8W_RZmD-8UxHYa7vA
CDs/Vinyl: http://www.districtlines.com/nekrogoblikon
Bandcamp: http://www.nekrogoblikon.bandcamp.com/
iTunes: https://i...
@mild flume
Scrum Lord or Scrub Lord? You decide!
Why not both lol
@pastel coral https://www.gizchina.com/2022/06/05/sony-xperia-ace-iii-is-launched-with-a-sd-480-and-a-single-13mp-camera/
@pale pivot https://github.com/lxgr-linux/pokete/pull/241
Table football, also known as foosball and table soccer, is a table-top game that is loosely based on association football. The aim of the game is to move the ball into the opponent's goal by manipulating rods which have figures attached. Although rules often vary by country and region when the game is played casually, at the competitive level ...
On David Lettermanβs new Netflix Show, musician Kanye West talked about how he manages life with bipolar disorder.
https?:\/\/[a-z\d\.]+[a-z\d]+(\/[A-Za-z0-9\-\._~:\/\?#\[\]\@\!\$\&'(\)*+ ;]*)*
# String
'hello world' # hello world
# Greedy repetition
'hello'{1,5} # (?:hello){1,5}
'hello'* # (?:hello)*
'hello'+ # (?:hello)+
# Lazy repetition
'hello'{1,5} lazy # (?:hello){1,5}?
'hello'* lazy # (?:hello)*?
'hello'+ lazy # (?:hello)+?
# Alternation
'hello' | 'world' # hello|world
# Character classes
['aeiou'] # [aeiou]
['p'-'s'] # [p-s]
# Named character classes
[word] [space] [n] # \w\s\n
# Combined
[w 'a' 't'-'z' U+15] # [\wat-z\x15]
# Negated character classes
!['a' 't'-'z'] # [^at-z]
# Unicode
[Greek] U+30F Grapheme # \p{Greek}\u030F\X
# Boundaries
Start End # ^$
% 'hello' !% # \bhello\B
# Non-capturing groups
'terri' ('fic' | 'ble') # terri(?:fic|ble)
# Capturing groups
:('test') # (test)
:name('test') # (?P<name>test)
# Lookahead/lookbehind
>> 'foo' | 'bar' # (?=foo|bar)
<< 'foo' | 'bar' # (?<=foo|bar)
!>> 'foo' | 'bar' # (?!foo|bar)
!<< 'foo' | 'bar' # (?<!foo|bar)
# Backreferences
:('test') ::1 # (test)\1
:name('test') ::name # (?P<name>test)\1
# Ranges
range '0'-'999' # 0|[1-9][0-9]{0,2}
range '0'-'255' # 0|1[0-9]{0,2}|2(?:[0-4][0-9]?|5[0-5]?|[6-9])?|[3-9][0-9]?
Noise, commonly known as static, white noise or static noise, in analog video and television, is a random dot pixel pattern of static displayed when no transmission signal is obtained by the antenna receiver of television sets and other display devices.
Some television sets or other displayed devices don't show the static screen, instead, they j...
Getting started?
Hopefully
I haven't really seen anything I'd be a good fit for yet
lots of stock/crypto trading bots
One guy listed like 15 steps starting with "create empty GitHub repo" and ending with "and screen share with me if I don't understand any of the steps"
Like .... dude - do you just want me to teach you how to do it?
Amazing
All he wanted was Django with OUATH through Azure B2C
That's like two hours of work
It was weird that he made it so dramatic - probably just because he didn't understand
And I saw the exact same post - exact same typos and all, from two different users in two different countries
Was weird
Push/Pull concentric & blend pots from Alps, Alpha, Bourns & CTS. Add custom features like coil tap, phase, series/parallel & more. Free shipping over $49.
!stream 786232209987993612
β @leaden pike can now stream until <t:1662734314:f>.
Ask and ye shall receive
@gleaming storm 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 our voice gate system
!stream 489485360645275650
β @copper cedar can now stream until <t:1662741264:f>.
Thanks Mr. Python bot, for my 1.5 minutes of streamability
(it's 1.5 minutes of being allowed to click the button. Once you've started, you can keep going as long as you want, you just won't be able to click the button again after you stop)
Back in a sec sorry
!rules
The rules and guidelines that apply to this community can be found on our rules page. We expect all members of the community to have read and understood these.
question
I'm new to Python and pygame so I need some help
I ran into a issue
I didn't spot any problems in this code but if you do please say it so I could learn from it and avoid the mistake later in my coding career (if i will have a coding career)
the player sprite (rectangle) should move when I hit the arrow keys
But it doesnt
!paste would you mind tossing it in the hastebin link? It's really hard to assist via a screenshot
Pasting large amounts of code
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
Yeppers, you did
Sorry, just found this, one sec
alright thanks alot!
I had a little bit of problem understanding
but in total i think i did understand everything you said
Alright thanks!
(for who doesn't recognize the code. It's a famous routine from the quake 3 engine. Verbatim. Which is GPL licensed)
idk is it good?
Back on when I get in the van
lel
!rules
The rules and guidelines that apply to this community can be found on our rules page. We expect all members of the community to have read and understood these.
Awwww
ok this matches pretty well to the tempo and it's cracking me up


did someone just harmonize? lol
I think Exit Music (For A Film) by radiohead sounds a lot like the one you just played @ember stream
wait
I think you did play it
yes you did π
it's a concert
Muzik
Sunday music with Lemon
Man should make something like a podcast or something
listen to it when im doing nothing and just need something to chill to
will be perfect for when im reading
lemon has a soundcloud!
Listen to Lemonsaurus | SoundCloud is an audio platform that lets you listen to what you love and share the sounds you create.
it's full of gems
:incoming_envelope: :ok_hand: applied mute to @misty sinew until <t:1662928492:f> (10 minutes) (reason: discord_emojis rule: sent 40 emojis in 10s).
The <@&831776746206265384> have been alerted for review.
!unmute 785528394409967617
:incoming_envelope: :ok_hand: pardoned infraction mute for @misty sinew.
been there
je
be cooler if there was a life version B*(
Feel like a personal consort or some
Now imagine if it wasn't heavily moderated
I can.. I seen stuff..
π
NOOO
He dropped to the afk section
its all good now
Not sure it that kind is allowed tho
it's raining cats and dogs here, so can't hear much rn, but your voice is beautiful lemon
bro bout to make me cry
I don't have VC priveleges yet
β€οΈ thanks for listening!
What are you guys doing?
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.
@misty sinew
@pale pivot
section .text
global main
extern printf
main:
mov rbp, rsp
mov al, 1
push al
sub rsp, 7
mov sil, [rbp-1]
mov rdi, s0
call printf
mov rax, 60
mov rdi, 0
syscall
section .data
s0: db `%d\n`
hi i need help with extract rar file without password
No password, no extraction from what I know
We do not allow the offer of paid work here. What even is it that you're so desperate to get in there
What kind of antics am I missing in call? Anything exciting?
no
Fair enough
Dahl's widow claimed that Charlie was originally written as "a little black boy." Dahl's biographer said the change to a white character was driven by Dahl's agent, who thought a black Charlie would not appeal to readers.
Charlie and the Chocolate Factory is a 1964 children's novel by British author Roald Dahl. The story features the adventures of young Charlie Bucket inside the chocolate factory of eccentric chocolatier Willy Wonka.The story was originally inspired by Roald Dahl's experience of chocolate companies during his schooldays at Repton School in Derbys...
brb
I did not come out of the cupboard under the stairs for this.
Support this channel: https://www.patreon.com/contrapoints
βΏDonate: https://paypal.me/contrapoints
βΏInstagram: https://www.instagram.com/contrapoints/
βΏFacebook: https://www.facebook.com/ContraPoints/
βΏWebsite: https://www.contrapoints.com/
βΏTwitter: https://twitter.com/ContraPoints
...
@pale pivot
point * mypoint = (point *) malloc(sizeof(point));
what about this?
point *mypoint = malloc(sizeof(point));
@solid gyro drill https://open.spotify.com/track/4o2Iwvz9M7qdUUaCmfrZAQ
@mild flume jumping off for now, ping me when you're doing some C
@solid gyro grime https://open.spotify.com/track/1o1x4gUntwc9sqeMDWR9eE
The Data Science Design Manual (Steven S. Skiena)
@mild flume come hang out with me in silence
Rust is a programming language implemented as a set of open source projects. It combines the performance and resource efficiency of systems programming languages like C with the memory safety of languages like Java. Rust started in 2006 as a personal project of Graydon Hoare before becoming a research project at Mozilla in 2010. Rust [β¦]
Huh
Pascal isn't that far down the list
Interesting
hello again
@cobalt turtle I don't have right lol
but can hear you
yeah a dev
a super function ?
never heard of it
12:20 pm
class A:
def __init__(self, name):
self.name = name
class B(A):
def __init__(self, name) -> None:
self.name = name
print(self.name)
A.__init__( self,name)
B('name')
class A:
def __init__(self, name):
self.name = name
class B(A):
def __init__(self, name) -> None:
self.name = name
print(self.name)
super(B,self).__init__(name)
B('name')
class Animal:
alive=True
def eat(self):
print("Eating something...")
class Wolf(Animal):
def eat(self):
print("Eating meat...")
class Sheep(Animal):
def eat(self):
print("Eating grass...")
garou = Wolf
shaun = Sheep
!e
class Animal:
alive=True
def eat(self):
print("Eating something...")
class Wolf(Animal):
def eat(self):
print("Eating meat...")
class Sheep(Animal):
def eat(self):
print("Eating grass...")
garou = Wolf
shaun = Sheep
print(garou)
@mild flume :white_check_mark: Your 3.11 eval job has completed with return code 0.
<class '__main__.Wolf'>
@cobalt turtle https://blog.teclado.com/python-abc-abstract-base-classes/ This actually does a really good job explaining them
@mild flume how do list functions work
List functions? Are you talking like list comprehensions?
Oh right. In most cases, if you're needing to make a list or an empty list, just use []
In most cases, yeah
You can use list() for converting a tuple into a list for example
oh so that's what it's good for
But in most cases, you'll just be using list literals
Thanks
while (name:=input("What's your name: "))=="":
print(name)
why does it not print name
It does
But only if name=""
oh ok
Anyone want to join chat
@rotund shadow sure
I love the absurdity of this car.
a = 1 if i<100 else 2 if i>100 else 0
?
a = "neg" if b<0 else "pos" if b>0 else "zero"
>>> i=100
>>> a = 1 if i<100 else 2 if i>100 else 0
>>> a
0
>>> i=101
>>> a = 1 if i<100 else 2 if i>100 else 0
>>> a
2
>>> i=99
>>> a = 1 if i<100 else 2 if i>100 else 0
>>> a
1
Despite some other answers: YES it IS possible:
if expression1:
statement1
elif expression2:
statement2
else:
statement3
translates to the following one liner:
statement1 if expression1 else (statement2 if expression2 else statement3)
in fact you can nest those till infinity. Enjoy ;)
booiiis
hey
can u guys help me with my code
import pywhatkit as py
from pathlib import Path
userINPUT = input("LΓΌtfen Γ§Δ±ktΔ±sΔ±nΔ± almak istediΔiniz metni yazΔ±n :\n")
empty_path = Path("C:/Users/sturk/AppData/Local/Programs/Python/Python310")
if Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png").exists():
for x in range(1,100):
if Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±" + str(x) + ".png").exists():
bos_path= Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±" + str(x) + ".png")
else:
empty_path = Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png")
writeINPUT = py.text_to_handwriting(userINPUT, str(bos_path), (0, 0, 138))
``` that is my code which makes ur text a handwrite like that
but the second launch gaves that error
File "C:\Users\sturk\Desktop\Coding()\3131\elodevi.py", line 11, in <module> writeINPUT = py.text_to_handwriting(userINPUT, str(empty_path), (0, 0, 138)) File "C:\Users\sturk\AppData\Local\Programs\Python\Python310\lib\site-packages\pywhatkit\handwriting.py", line 18, in text_to_handwriting with open(save_to, "wb") as file: PermissionError: [Errno 13] Permission denied: 'C:\\Users\\sturk\\AppData\\Local\\Programs\\Python\\Python310'
does anybody knows anything that can help?
no?
your error is not for your code
the code has the line
writeINPUT = py.text_to_handwriting(userINPUT, str(bos_path), (0, 0, 138))
but in the error it says
writeINPUT = py.text_to_handwriting(userINPUT, str(empty_path), (0, 0, 138))
can you post the code which produced the error
idk which line produced the error
actually i dont really thing my code has any wrong things in it
then just what do you think was causing your error
im trying to do
like
if cΔ±ktΔ±.png exists
name the new png cΔ±ktΔ±1.png
the other one cΔ±ktΔ±2.png
i think that isnt working
when you post the full code you are currently running, with the full error it produces, I can help you further
that is the full code
but that's not the error it produces
it literally gives an error about a line which is not in your code
wth
.
anyway, what's going wrong is that you're opening empty_path in write mode, and empty_path, at first, is your python executable
ohh
bos_path
was
the thing in turkish
i translated it to empty_path
empty means boΕ
i probably forget to translate that first
this is what went wrong
i dont even know what
what's line 4 for?
is your python executable
C:/Users/sturk/AppData/Local/Programs/Python/Python310
to describe the path
.
why do you need the path of your python executable
i dont exactly know why some guy helped me with that line but he said smt like to use pathlib
well, it's giving you the error and you're not using it anywhere so I suggest you remove it
or at least comment it out
asfasfasfas Traceback (most recent call last): File "C:\Users\sturk\Desktop\Coding()\3131\elodevi.py", line 11, in <module> writeINPUT = py.text_to_handwriting(userINPUT, str(empty_path), (0, 0, 138)) NameError: name 'empty_path' is not defined
i think im using that
can you post your current code
import pywhatkit as py
from pathlib import Path
userINPUT = input("LΓΌtfen Γ§Δ±ktΔ±sΔ±nΔ± almak istediΔiniz metni yazΔ±n :\n")
empty_path = Path("C:/Users/sturk/AppData/Local/Programs/Python/Python310")
if Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png").exists():
for x in range(1,100):
if Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±" + str(x) + ".png").exists():
empty_path= Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±" + str(x) + ".png")
else:
empty_path = Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png")
writeINPUT = py.text_to_handwriting(userINPUT, str(empty_path), (0, 0, 138))
you literally changed nothing
i see no #
because it wasnt working
look
when you have an error and want me to diagnose it
you have to post the code which actually caused the error
import pywhatkit as py
from pathlib import Path
userINPUT = input("LΓΌtfen Γ§Δ±ktΔ±sΔ±nΔ± almak istediΔiniz metni yazΔ±n :\n")
#empty_path = Path("C:/Users/sturk/AppData/Local/Programs/Python/Python310")
if Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png").exists():
for x in range(1,100):
if Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±" + str(x) + ".png").exists():
empty_path= Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±" + str(x) + ".png")
else:
empty_path = Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png")
writeINPUT = py.text_to_handwriting(userINPUT, str(empty_path), (0, 0, 138))
try that
isnt working
i don't have those paths so that won't work
try this:
import pywhatkit as py
from pathlib import Path
userINPUT = input("LΓΌtfen Γ§Δ±ktΔ±sΔ±nΔ± almak istediΔiniz metni yazΔ±n :\n")
#empty_path = Path("C:/Users/sturk/AppData/Local/Programs/Python/Python310")
if Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png").exists():
for x in range(1,100):
if Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±" + str(x) + ".png").exists():
empty_path= Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±" + str(x) + ".png")
if 'empty_path' not in locals():
empty_path = Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png")
writeINPUT = py.text_to_handwriting(userINPUT, str(empty_path), (0, 0, 138))
doesnt gave any error
did it work
but just replaces the "cΔ±ktΔ±.png"
with another "cΔ±ktΔ±.png"
wait
i think ur code is wrong
empty_path = Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png")
shouldnt that needs to be the python path?
no?
and if you open that?
the text that i gave for second launch
is the result
then I see no issue
what
it opens your file and writes to it
i dont want it
isn't that what you wanted?
nope
then what did you want
.
also
import pywhatkit as py
from pathlib import Path
userINPUT = input("LΓΌtfen Γ§Δ±ktΔ±sΔ±nΔ± almak istediΔiniz metni yazΔ±n :\n")
empty_path = Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png")
if Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png").exists():
for x in range(1,100):
if Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±" + str(x) + ".png").exists():
empty_path= Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±" + str(x) + ".png")
else:
empty_path = Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png")
writeINPUT = py.text_to_handwriting(userINPUT, str(empty_path), (0, 0, 138))
if i write like that empty_path = Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png")
that does the same thing
replacing the png
you mean it does the same as my code does?
yes
well yes
uh
try this:
import pywhatkit as py
from pathlib import Path
userINPUT = input("LΓΌtfen Γ§Δ±ktΔ±sΔ±nΔ± almak istediΔiniz metni yazΔ±n :\n")
if Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png").exists():
for x in range(1,100):
if Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±" + str(x) + ".png").exists():
empty_path= Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±" + str(x+1) + ".png")
else:
empty_path= Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±" + str(x) + ".png")
break
else:
empty_path = Path("C:/Users/sturk/Desktop/dosyamekani/cΔ±ktΔ±.png")
writeINPUT = py.text_to_handwriting(userINPUT, str(empty_path), (0, 0, 138))
does that work?
first launch
is that what you wanted?
good night
Whole gang is here, me sad
@pale pivot
How do i make this not shit
namespace log {
class Logger {
public:
Logger();
template<VeilEvent, typename... Argument> void trace(VeilEvent event, Argument... arg);
template<VeilEvent, typename... Argument> void debug(VeilEvent event, Argument... arg);
template<VeilEvent, typename... Argument> void info(VeilEvent event, Argument... arg);
template<VeilEvent, typename... Argument> void warn(VeilEvent event, Argument... arg);
template<VeilEvent, typename... Argument> void error(VeilEvent event, Argument... arg);
template<VeilEvent, typename... Argument> void fatal(VeilEvent event, Argument... arg);
};
}
I need your help
macro it out
I need to make a json logger for c++
@olive echo Coffee#4024003
because this does not exist
Okay
Or, what I would use
Is have a single function
Pass in enum for sevwrity
log(Level::Fatal, ...)
something like that
sevwrity
.uwu
pass in e-enyum fow sevwrity
But it's a little more verbose
Typing on mobile is the new .uwu
OR, if you make VeilEvent a base class and inherit from that, you can get rid of the template bs and just take in VeilEvent& as the input
#define VEIL_LOG template<VeilEvent, typename... Argument>
namespace log {
class Logger {
public:
Logger();
VEIL_LOG void trace(VeilEvent event, Argument... arg);
VEIL_LOG void debug(VeilEvent event, Argument... arg);
VEIL_LOG void info(VeilEvent event, Argument... arg);
VEIL_LOG void warn(VeilEvent event, Argument... arg);
VEIL_LOG void error(VeilEvent event, Argument... arg);
VEIL_LOG void fatal(VeilEvent event, Argument... arg);
};
}
Is this less shit
Oh wait
Just have all the events derive from VeilEvent
You guys are still giving advice
You're using it as a sort of interface anyway
It's just an enum class
Yeah why do you have VeilEvent in your template thing
Well don't I need to have all args in the template?
No
O
Only the unknown ones
That you want to template on
template <typename T>
T foo(int x, double y, T z) {...}
Is fine
I mean, I don't really think it matters too much, as long as the interface to use it is nice
You can macro out the functions if you'd like
Personally I'd just have them in the way they are
I'll do my best
Please make a good json logging library
I. don't know what I'm doing
I was also thinking more along the lines of
class Logger {
LOG_FUNCTION(trace);
LOG_FUNCTION(error);
...
}
Just macro out the whole thing if you really want to minimize the duplication
Generally with loggers you also want to have global macros for easy logging without clutter
I think logger.trace(l["message"] = "something's wrong") makes sense
I dunno how to make json trees nice
Maybe I just wanna make specific functions for each event type
Or just have like
Premade templates for logs
That I can use
class Logger {
typename <...>
void log(LogLevel level, VeilEvent event, ...Arguments);
}
static Logger logger;
#define trace(...) logger.log(LogLevel::Trace, ...)
on phone so not full code, but whatever you think looks nicer, this is bikeshedding on usage
Who needs logger just fprintf JSON into file
xd
Not sure what you mean by this, doesn't sound very complicated?
Generating JSON pretty ez
I just want this in c++ https://github.com/rs/zerolog
Yeah you don't need allocation, just stream JSON output
You just want a function that takes "hello world" and outputs {"time":1516134303,"level":"debug","message":"hello world"} to a file / stream
simple input/output
but I want more fields than just message
different events have a different log structure for example
You should just be able to have the same builder class pattern as zero log
but just add overloads too
so you don't need like .Str
Yep, overloads are nice
Honestly if someone made this I'd be so happy
Buy me new cube I'll make it for you when parents leave
Which cube
the cube
I didn't think you'd take me up on this, I haven't thought this far ahead
Tbh I'd say let's code it together to get you good at cpp
But like the only free time I have till the 5th is like late nights
So past 11pm EST for a couple hours
What's your sleep schedule like
Mixed ;D
Well, if you're up around 11pm time in Toronto, happy to work on it with you
Can probably knock this out in a couple hours, shouldn't be too bad
Otherwise you'll have to do it yourself or wait a 10 days or so LOL
I think that's about 6 am my time, could prolly wake eaerly for that
Lmk if you do
so good too see my code working
I shall
Probably should be coding some stuff not in aecor before I start LOL
Done like 95% aecor for last few months lmfao
You should make monthly changelogs lmao
How about we write cpp codegen for aecor and then write JSON logger in aecor
But this is c++ π¦
Read first past of sentence
Hm, since libwebrtc has it's own version of libcxx this is not that heavy of a dependency
^ (this is stupid btw)
Let's just include libcxx in our project
have our own fork
perfect
"our project" what are you referring to?
This was not in response to me was it
Go sleep, wake up early for some cpp
#pragma once
#include <string>
namespace jlog {
enum class Level { Trace, Debug, Info, Warning, Error, Fatal };
class Logger {
public:
Logger(Level minLevel);
void log(Level level, std::string message);
void trace(std::string message) { log(Level::Trace, message); };
void debug(std::string message) { log(Level::Debug, message); };
void info(std::string message) { log(Level::Info, message); };
void warning(std::string message) { log(Level::Warning, message); };
void error(std::string message) { log(Level::Error, message); };
void fatal(std::string message) { log(Level::Fatal, message); };
private:
Level minLevel;
};
} // namespace jlog
@rocky musk look Rust maybe at the top, idk it's just a video from a guy name fireship who sounds like he knows what he's doing
WHO THE HELL ARE YOU?
Ye I know
Rust is just harder than c
Imo
But it has a fantastic community around it
That I bealive is aa chart of most liked language
Stackoverflow survey
ah I see
sure
s
hi, beastblaze
Facebook it! http://on.fb.me/fs9nvy
Tweet it! http://bit.ly/RTRLKart
A harsh, gritty look at the world of Mario Kart in real life. Red shells mean business.
Thanks to K1 Speed for allowing us use of their track! Check out their YouTube Channel at http://youtube.com/k1speed
Special thanks to Corridor Digital ( http://youtube.com/corridordigita...
what if you find out discord is farming user data like tiktok?
@wary spruce
You just have to open Gunicorn on let's say port:8000
then open Nginx and listen on port 80/443 and reverse proxy to port 8000
for starters you can try this free https://www.heroku.com/free
Heroku sucks ballz
to try out it's good
xd
Best GIF ever XD
i've used it before and honestly I'm perfectly happy paying 5/month for the convenience of having a actual server, heroku was pain
i know many people can't do that though
yup, also with VPS, you can do a ton of stuff.
!stream 716436228828037120
β @wary spruce can now stream until <t:1664293746:f>.
Hi @golden marsh
!stream 972509136988295189
posrt 80 traffic forwarded to port 8000 on localhost
aws lambda is called serverless right?
!stream 716436228828037120
β @wary spruce can now stream until <t:1664294528:f>.
@pine jewel What were you asking? I was deafened so I missed it
oh i was gonna ask about setting up a web server
Gotcha gotcha
yeah
Sadly I'm no help there
it's alright!

58,360
295,960
