#voice-chat-text-1

1 messages Β· Page 2 of 1

viscid light
#

and rectify it in the future

#

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

terse phoenix
#

Yo

#

What sup?

cobalt minnow
#

@uneven ridge your picture is dope, i was scrolling thru my servers nd i thought i unlocked some discord glitch..lmao

hazy garden
#

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

uneven ridge
hazy garden
static swan
#

don't bother i don't have mic

viscid light
#

!e

coarse hearthBOT
#
Missing required argument

code

#
Command Help

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

*Run Python code and get the results.

This command supports multiple lines of code, including 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!*

pale pivot
stuck bluff
#
*ding*
"WHAT DID YOU DO?!"```
umbral rose
pale pivot
sleek thunder
#

@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

pale pivot
stuck bluff
#

!if-name-main

coarse hearthBOT
#

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

sleek thunder
stuck bluff
#

Howdy.

#

I'll be on text for the while.

#

But my ears are on.

#

@hazy shuttle

hazy shuttle
#

sure, i'm on push to talk anyway

#

currently tending to my midjourney fixation

stuck bluff
#

I like their twitter profile image.

hazy shuttle
#

yea it's pretty cool. i wonder what prompt the used, assuming they did.

#

i'll return shortly. require coffee β˜•

misty sinew
#

ypo

#

wazup

sleek thunder
#

!eval
a='butterfly'
while True:
print("Hemlock loves",a)

coarse hearthBOT
#

@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

solid gyro
#

@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

Mustafa Suleyman (born August 1984) is the co-founder and former head of applied AI at DeepMind, an artificial intelligence company acquired by Google and now owned by Alphabet.

#

but - I didn't realise - he hasn't ever done any actual research afaics

olive echo
#

yeah so this seems to be mostly about social responsibility

#

typical ai company corporate talking points

solid gyro
#

yeah, I think I'm just mixing up a bunch of different stuff heard from different people

pale pivot
#

impostor

clear pawn
#

im not

spice scarab
#

!e
print(1,2)

coarse hearthBOT
#

@spice scarab :white_check_mark: Your 3.11 eval job has completed with return code 0.

1 2
obtuse valve
stuck bluff
#

I am not.

obtuse valve
#

i am lol

#

like i can solve rubik's cubes

mystic bane
#

hey

misty sinew
obtuse valve
# misty sinew 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

obtuse valve
pale pivot
obtuse valve
pale pivot
#

I'm slow as shit it is not a challenge

obtuse valve
#

no more pbs

#

sucks to suck

#

:(

pale pivot
#

oh yeah lmao I'm like 40 seconds

#

I just wanted to know how serious you are about it

obtuse valve
pale pivot
#

I don't even know my OLL, I'm trying

obtuse valve
#

what other events do you know

obtuse valve
obtuse valve
pale pivot
#

I have like 15 cases I need to learn, all L ones

obtuse valve
pale pivot
#

I don't really time myself for events tbh

obtuse valve
#

deletes entry from cstimer

pale pivot
#

like I just solve for fun I don't really ever have a timer

#

I have 2x2-7x7, skewb, megaminx, pyraminx

obtuse valve
pale pivot
#

I used to be able to do BLD

obtuse valve
obtuse valve
pale pivot
#

2x2 is a shit one, 3x3 I have Gan 11 M pro (thanks to @halcyon notch ❀️ ), 4x4-5x5 is yuxin little magic

obtuse valve
#

waitttt

#

where do you buy your cubes on

obtuse valve
pale pivot
pale pivot
obtuse valve
pale pivot
#

I also enjoy doing OH but I'm like 1-1.5 minutes for it feelsbad

pale pivot
obtuse valve
obtuse valve
pale pivot
#

I don't think he cubes anymore but he used to

obtuse valve
obtuse valve
pale pivot
#

I have a sq-1 actually but I have not learned it yet

#

got it a couple weeks ago

obtuse valve
pale pivot
#

oh lmao like 2011 or smth

obtuse valve
pale pivot
#

I remember WR being 5.66

obtuse valve
#

kids these days have no idea how life was like without magnetic cubes

pale pivot
#

I got my first magnetic cube like 2 months ago lol

obtuse valve
#

back in my days the "crunchy" weilong gts is the godsend wr crusher

pale pivot
#

actually i lied i got my first magnetic 3x3 2 months ago, I've had the yuxin magnetic 5x5 for like 3 years now

obtuse valve
pale pivot
#

I've never really actively practised / cared

obtuse valve
pale pivot
#

mostly just a side hobby

#

have some free time rn so trying to learn my OLL

obtuse valve
pale pivot
#

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

obtuse valve
#

like cool coding project imo, there are way too many plug and play solvers, we need to reinvent the wheel

pale pivot
#

I've considered it, but it hurt my head so I gave up

#

debugging it does not sound fun

obtuse valve
pale pivot
#

lmao yeah most of mine

obtuse valve
#

however

pale pivot
#

imagine have tabs, debugging is just me vs the code, I don't even know what i would look up

obtuse valve
pale pivot
#

honestly I think 5x5 is one of my favorite events

#

that and BLD, I want to get back into it

obtuse valve
pale pivot
#

i like 5x5 over 4x4 because less parity

obtuse valve
#

but still

#

i like 2x2 bc i have no brain

pale pivot
#

3x3 feels too... like I'm not actually thinking

obtuse valve
#

i just hate f2l

pale pivot
#

I'm SO bad at f2l and cross

obtuse valve
#

100% recommend

pale pivot
#

I have seen all of his videos lol

obtuse valve
pale pivot
#

I just can't be arsed to sit and practice f2l

obtuse valve
pale pivot
#

been subbed to him from like 2017 or smth

obtuse valve
pale pivot
#

my cross is legit like... 8 seconds lmao

obtuse valve
#

how

#

are you colour neutral

pale pivot
#

nope lol

obtuse valve
#

i am partially

pale pivot
#

though I'm slow enough that I don't think I would be significantly worse on any color

#

like I said, like 35-40s

obtuse valve
pale pivot
obtuse valve
pale pivot
#

i meant like "basically that"

misty sinew
#

somebody can help Δ± have a problem

#

and Δ± can't solve

untold vale
mild flume
#

@charred creek Come in here

#

It's dope

#

Homey

#

G funk brother yo

#

Dawg

#

Playa

#

Home slice

random minnow
#

My G

mild flume
#

MC Griffindor

#

Awesome sauce

random minnow
mild flume
mild flume
#

!stream 589497499174043800

coarse hearthBOT
#

βœ… @gray seal can now stream until <t:1660925039:f>.

mild flume
#

!user

coarse hearthBOT
#
Mr. Hemlock#2740

hypesquad_balance early_supporter

User information

Created: <t:1443481946:R>
Profile: @mild flume
ID: 98195144192331776

Member information

Joined: <t:1525291749:R>
Roles: <@&267628507062992896>, <@&807415650778742785>, <@&267629731250176001>, <@&831776746206265384>, <@&587606783669829632>, <@&797891034906099752>, <@&267630620367257601>, <@&295488872404484098>, <@&764245844798079016>, <@&764802720779337729>, <@&463658397560995840>, <@&542431903886606399>

Activity

Messages: 65,236
Activity blocks: 13,780

Infractions

Total: 30
Active: 0

misty sinew
misty sinew
#

!user

coarse hearthBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

marsh flame
#

ok

gray seal
pale pivot
mild flume
#

"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"

pale pivot
mild flume
#

"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"

obtuse valve
#

"a cow with sunglasses eating a darth vader-shaped apple"

floral quiver
#

"michael jackson fighting the terminator with flaming swords and plasma guns, photorealstic"

#

"teletubbie fighting the terminator with flaming swords and plasma guns, photorealstic"

mild flume
#

"A skeleton, a werewolf, a vampire, and a mummy playing poker in a dark room under a single light"

copper socket
#

A cat fishing for tuna in the pacific ocean

mild flume
#

"A buff lemon with a beard fighting a python in armed combat in a back alley, hyper realistic"

floral quiver
#

"futuristic database computer room in ancient Egypt pyramid room, photorealistic"

turbid spruce
#

This is what it made for me

obtuse valve
#

"a businessman, a goldfish with a cowboy hat, a hamster with sunglasses planning for a bank heist"

turbid spruce
mild flume
misty sinew
mild flume
sleek thunder
#

Hey any mobile devloper here
I need help with compiling app for ios by flutter

indigo badger
#

@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

round ledge
#

3 world bargain cause they have to and they popor

#

poor

indigo badger
#

I'm from a 3rd country

#

and a 1st world

round ledge
#

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

indigo badger
#

4 people 1 person gets [1,2,3,4]

round ledge
#

!USER

coarse hearthBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

round ledge
#

!user

coarse hearthBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

round ledge
#

!u

coarse hearthBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

round ledge
#

!server

coarse hearthBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 156
Member status: status_online 58,360 status_offline 295,960

Members: 354,322

Helpers: 145
Moderation Team: 38
Admins: 14
Owners: 3
Contributors: 42
Leads: 10

Channels: 326

Category: 35
News: 10
Staff: 63
Stage_Voice: 2
Text: 205
Voice: 11

red lynx
#

i can't talk for some reason @sick forge

#

it says i dont have permission o.o

golden estuary
#

oh a compiler livestream

#

amazing !

#

and now lisp

#

i want to join your group

misty sinew
#

hi

subtle iris
#

Hi

misty sinew
#

@hazy bloom !voice

hazy bloom
#

!voice

coarse hearthBOT
#

Voice verification

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

upbeat zephyr
#

!voice

visual saffron
#

!voice

coarse hearthBOT
#

Voice verification

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

frank pewter
#

!voice

coarse hearthBOT
#

Voice verification

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

round ledge
#

Are you allowed to @ the owners of the server?

#

whoops sorry

#

dont ban me

ember stream
#

if you have something to say to any of us, feel free to.

round ledge
#

I just wanted to say Hi cause i saw you popped into vc1 for a second

#

Nice server btw

#

has some cool commands

keen stratus
leaden pike
mild flume
slow condor
#

Hi!

mild flume
#

@civic glacier Talk in here for voice chat

#

Keeps from us interrupting pygen.

#

And I'm in Central US

civic glacier
#

oh

mild flume
#

So it's like 09:21

civic glacier
#

this is. A simple #no-mic channel

civic glacier
mild flume
#

Pretty much yeah

#

Does the job.

civic glacier
mild flume
#

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

lofty shore
#

!voice

coarse hearthBOT
#

Voice verification

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

slow condor
#

Nothing had happened. They asked them to apply to stay within some... time limit.

mild flume
#

Yeah that sounds right

slow condor
#

Thought that was a call from work for a second there...!

mild flume
#

There we go. Had to clean my ball

#

...... trackball

#

Forgot the first part of that word matters

golden marsh
mild flume
#

HA

#

Jesus all these tabs

#

Also, @floral current we're in here, nerd

golden marsh
elder wraith
#

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!

mild flume
#

That font hurts me

#

The capital N just looks wrong

#

Although the lowercase g looks like a little snake

wary fable
#

Always fun when you use black on one of your old projects and then refactor it.

mild flume
#

Are you wiping out whole files?

wary fable
#

oh. oh god

mild flume
#

da fuq?

golden marsh
mild flume
#

Amazing

wary fable
#

I ran black. That alone redid literally every line.

#

I then rewrote basically everything because it was written before I learned what functions are.

mild flume
#

The before time

wary fable
#

Or for-loops.

Nothing but if statements

golden marsh
#

the

#

wow

golden marsh
#

even if its just 95% protobuf

wary fable
#

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

leaden pike
#

Apple is great

#

I love Apple

#

I don't get all the hate 😦

wary fable
#

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.

golden marsh
#

me when apple fanbois talk about "buttons on notifications"

mild flume
#

Trying to transition out of it is tedious

leaden pike
#

Well yeah okay I actually get those.

wary fable
#

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

golden marsh
#

i have a phone with a thermal camera

wary fable
#

Oh, CAT S60?

golden marsh
#

nah

#

random chinese brand

wary fable
#

The CAT phones seem cool, but I could just get a dedicated FLIR for that

leaden pike
#

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.

golden marsh
wary fable
#

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.

golden marsh
#

build quality hah, have it in a humid room for a while and then try to get a repair

#

repairability >>>>> build quality

wary fable
#

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.

golden marsh
#

until it is almost a work of art

#

yeah uhh

#

disagree on that

wary fable
#

Key word being almost

wary fable
#

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

leaden pike
wary fable
#

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:

  1. USB-C
  2. Actual all-day battery
  3. Iridium
  4. RCS
  5. GoPro-level camera capabilities
  6. Repairable
  7. The ability to choose between iOS and Android for my device

My watch wishlist is even simpler:

  1. The Garmin Quatix 7 Solar
#

I currently use an Apple Watch 3 because at the time it was the best fit for my needs

stuck bluff
leaden pike
#

I'm actually not very particular. I just need my devices to be pretty :3

wary fable
#

Proper satellite phone

#

Fuck Verizon and their monopoly over the maine coast

leaden pike
#

And maybe last a bit longer than average.

stuck bluff
#

Sometimes users are stupid. Sometimes designers are oblivious.

wary fable
#

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.

stuck bluff
#

As in "users aren't always clever enough to know what's good for them"

golden marsh
#

thats why i want it to be regulated by law

wary fable
#

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

mild flume
#

Right, didn't realize how much that gif was moving

#

My b

wary fable
#

90% of the features being announced on all new smartphones are just the various tech companies participating in a dick-measuring contest.

stuck bluff
#

Foldables.

#

Blegh.

#

Stepping stone tech.

#

As it stands.

mild flume
#

Just something nice about knowing my screen isn't going to get fucked up

stuck bluff
#

Right, the screens on the foldables...like...how long are they supposed to last?

wary fable
#

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.

stuck bluff
#

More than a year? Hang on. Let me get my supply of excess credulity.

wary fable
#

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.

leaden pike
leaden pike
# stuck bluff Foldables.

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.

wary fable
#

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

mild flume
#

!stream 912465721081081896

coarse hearthBOT
#

βœ… @misty sinew can now stream until <t:1662653641:f>.

leaden pike
#

bye guys i should go to sleep now

mild flume
golden marsh
inland marlin
mild flume
#

serialize

#

Not to be confused with cerealized

#

Which is delicious

leaden steppe
golden marsh
#

@calm imp google says "sandbox-oriented" - does the game allow macros?

leaden steppe
#

how could I cerealize some Python ?

#

stuffing it ? uwu

golden marsh
#

that was a joke

leaden steppe
#

know x)

calm imp
mild flume
#

Wonder if AutoHotKey could do something like that

calm imp
#

Nah tried it

mild flume
#

Not sure how well it works for checking images or if it can be tied into it

calm imp
#

Pyautogui doesn't work for it

#

Only direct

mild flume
#

Although I'm hesitant to offer much help on this, since Black Desert is multiplayer

#

And that's always a grey area

golden marsh
mild flume
#

Unless it has built in support like WoW

golden marsh
#

if pyautogui and AHK dont work its likely they're actively trying to block macros

calm imp
#

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

mild flume
#

I mean the best I can think of is using datetime and calculating the next time to trigger it via deltas

calm imp
#

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

mild flume
#

So are you wanting the initial script (the clicker or whatever) to still be triggering even while the repair thing is going?

golden marsh
#

!e ```py
import gc
gc.disable()
print(gc.isenabled())
gc.enable()
print(gc.isenabled())

coarse hearthBOT
#

@golden marsh :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | False
002 | True
mild flume
#

Or do you need it to swap gears entirely

calm imp
#

Would help explain what I mean

mild flume
#

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

calm imp
#

Ah okay

#

All good

mild flume
#

Sorry

calm imp
#

Nah all good it's fine haha I understand

mild flume
golden marsh
misty sinew
#

@mild flume today is a good day

mild flume
pale pivot
stark crypt
#

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

mild flume
ornate nacelle
#

Breh, Operation London Bridge underway.

mild flume
#

Is it falling down?

ornate nacelle
#

Nah, the Queen died.

mild flume
golden marsh
mild flume
#
reef granite
true valley
golden marsh
#

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

β–Ά Play video
reef granite
#

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

β–Ά Play video
unreal rapids
#

wish there was a easier way

mild flume
#

Scrum Lord or Scrub Lord? You decide!

uncut jungle
#

Why not both lol

raven orbit
mild flume
pastel coral
mild flume
#

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

copper cedar
true valley
floral current
#

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]?
raven orbit
#

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

mild flume
#

Hopefully

violet venture
#

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?

mild flume
#

Amazing

violet venture
#

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

raven orbit
uncut jungle
mild flume
#

!stream 786232209987993612

coarse hearthBOT
#

βœ… @leaden pike can now stream until <t:1662734314:f>.

mild flume
#

Ask and ye shall receive

mild flume
#

@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

copper cedar
mild flume
#

!stream 489485360645275650

coarse hearthBOT
#

βœ… @copper cedar can now stream until <t:1662741264:f>.

copper cedar
violet venture
#

(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)

mild flume
#

Back in a sec sorry

hazy shuttle
golden marsh
#

!rules

coarse hearthBOT
#

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.

frozen bay
#

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

mild flume
#

!paste would you mind tossing it in the hastebin link? It's really hard to assist via a screenshot

coarse hearthBOT
#

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.

frozen bay
#

I hope i did it right?

mild flume
#

Yeppers, you did

frozen bay
#

yes?

#

ohh

#

yes

#

i am listening

mild flume
#

Sorry, just found this, one sec

frozen bay
#

alright thanks alot!

#

I had a little bit of problem understanding

#

but in total i think i did understand everything you said

#

Alright thanks!

golden marsh
teal sable
mild flume
pastel coral
mild flume
#

Back on when I get in the van

copper cedar
mild flume
copper cedar
#

lel

pastel coral
#

!rules

coarse hearthBOT
#

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.

elder wraith
pastel coral
peak frigate
violet venture
peak frigate
#

did someone just harmonize? lol

random minnow
#

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 πŸ˜…

jaunty shadow
#

it's a concert

cyan tundra
#

Muzik

violet venture
#

Sunday music with Lemon

cyan tundra
#

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

peak frigate
#

lemon has a soundcloud!

cyan tundra
#

:0

#

drop rn

peak frigate
#

it's full of gems

coarse hearthBOT
#

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

peak frigate
#

!unmute 785528394409967617

coarse hearthBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @misty sinew.

peak frigate
#

been there

cyan tundra
#

je

cyan tundra
#

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

woven sand
#

it's raining cats and dogs here, so can't hear much rn, but your voice is beautiful lemon

ruby goblet
#

bro bout to make me cry

pseudo cradle
#

I don't have VC priveleges yet

ember stream
misty sinew
#

What are you guys doing?

mild flume
#

!kindling

coarse hearthBOT
#

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.

mild flume
#

@misty sinew

random minnow
#

@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`
solid gyro
#

@umbral scroll

halcyon notch
solid gyro
mild flume
#

That's how I want to be right now

mild flume
#

God

#

Damn

#

It

#

Still isn't fixed

feral flume
#

hi i need help with extract rar file without password

mild flume
#

No password, no extraction from what I know

feral flume
#

hmmm

#

i need to extract the file i can give money to whom would help!

mild flume
pale pivot
mild flume
#

What kind of antics am I missing in call? Anything exciting?

solid gyro
#

no

mild flume
#

Fair enough

solid gyro
grim crown
#

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

mild flume
#

brb

halcyon notch
mild flume
#

@pale pivot

point * mypoint = (point *) malloc(sizeof(point));
random minnow
#

point *mypoint = malloc(sizeof(point));

random minnow
pale pivot
#

@mild flume jumping off for now, ping me when you're doing some C

random minnow
copper cedar
#

Sir Loin of the Shire

mild flume
solid gyro
pale pivot
void holly
#

The Data Science Design Manual (Steven S. Skiena)

paper beacon
#

.

#

.

pale pivot
#

@mild flume come hang out with me in silence

mild flume
#

Huh

#

Pascal isn't that far down the list

#

Interesting

pale pivot
mild flume
carmine tapir
#

hello again

misty sinew
#

@cobalt turtle I don't have right lol

#

but can hear you

#

yeah a dev

#

a super function ?

#

never heard of it

void holly
#

12:20 pm

cobalt turtle
#

7:35

#

am

#

@void holly

void holly
#
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')



void holly
#
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')



cobalt turtle
#
  
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

mild flume
#

!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)
coarse hearthBOT
#

@mild flume :white_check_mark: Your 3.11 eval job has completed with return code 0.

<class '__main__.Wolf'>
mild flume
cobalt turtle
#

@mild flume how do list functions work

mild flume
#

List functions? Are you talking like list comprehensions?

cobalt turtle
mild flume
#

Oh right. In most cases, if you're needing to make a list or an empty list, just use []

cobalt turtle
#

oh okay, so it's better to use [] right

#

?

mild flume
#

In most cases, yeah

#

You can use list() for converting a tuple into a list for example

cobalt turtle
#

oh so that's what it's good for

mild flume
#

But in most cases, you'll just be using list literals

cobalt turtle
#

Thanks

cobalt turtle
#
while (name:=input("What's your name: "))=="":
    print(name)



#

why does it not print name

violet venture
cobalt turtle
#

oh ok

rotund shadow
#

Anyone want to join chat

raven orbit
#

@rotund shadow sure

true valley
cobalt turtle
#

is there a a way for me to add an elif ?

#

@warm vessel

#

elif

jagged hawk
#

a = 1 if i<100 else 2 if i>100 else 0

#

?

#

a = "neg" if b<0 else "pos" if b>0 else "zero"

cobalt turtle
jagged hawk
#
>>> 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 ;)

olive echo
#

booiiis

jagged quarry
#

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'

warm vessel
jagged quarry
#

have been 3 mins

#

still going xd

jagged quarry
#

no?

raven orbit
#

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

jagged quarry
#

actually i dont really thing my code has any wrong things in it

raven orbit
jagged quarry
#

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

raven orbit
#

when you post the full code you are currently running, with the full error it produces, I can help you further

raven orbit
#

but that's not the error it produces

#

it literally gives an error about a line which is not in your code

jagged quarry
#

wth

raven orbit
#

that's not the code you posted earlier

jagged quarry
#

whbat

#

ya it is

raven orbit
#

anyway, what's going wrong is that you're opening empty_path in write mode, and empty_path, at first, is your python executable

raven orbit
#

one says empty_path, the other says bos_path

jagged quarry
#

ohh

#

bos_path

#

was

#

the thing in turkish

#

i translated it to empty_path

#

empty means boş

#

i probably forget to translate that first

raven orbit
#

what's line 4 for?

jagged quarry
#

is your python executable

raven orbit
jagged quarry
#

to describe the path

jagged quarry
raven orbit
halcyon notch
jagged quarry
raven orbit
#

or at least comment it out

jagged quarry
#

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

raven orbit
#

can you post your current code

jagged quarry
#
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))
raven orbit
#

you literally changed nothing

jagged quarry
#

i added

#

at empty_path

#

and removed

raven orbit
#

i see no #

jagged quarry
#

because it wasnt working

jagged quarry
#

after that

raven orbit
#

look
when you have an error and want me to diagnose it
you have to post the code which actually caused the error

jagged quarry
#
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

raven orbit
#

i don't have those paths so that won't work

jagged quarry
#

1sec

raven orbit
#

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))
jagged quarry
#

doesnt gave any error

raven orbit
#

did it work

jagged quarry
#

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?

raven orbit
#

no?

jagged quarry
#

oh ok

#

mb

raven orbit
jagged quarry
#

is the result

raven orbit
#

then I see no issue

jagged quarry
#

what

raven orbit
#

it opens your file and writes to it

jagged quarry
#

i dont want it

raven orbit
#

isn't that what you wanted?

jagged quarry
#

nope

raven orbit
#

then what did you want

jagged quarry
raven orbit
#

aha

#

missed that

jagged quarry
#

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

raven orbit
#

you mean it does the same as my code does?

jagged quarry
#

yes

raven orbit
#

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?

jagged quarry
#

first launch

raven orbit
#

is that what you wanted?

jagged quarry
#

SECOND LAUNCH

#

AND WE GOT IT

#

THANKUSOMUCH

raven orbit
#

excellent

#

no problem

jagged quarry
#

so

#

i can go to bed

raven orbit
#

good night

jagged quarry
#

after 1 hours

#

thank you so much

#

have a great night

pale pivot
#

Whole gang is here, me sad

halcyon notch
#

@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

pale pivot
#

macro it out

halcyon notch
#

I need to make a json logger for c++

copper cedar
#

@olive echo Coffee#4024003

halcyon notch
#

because this does not exist

pale pivot
#

Everything is the same except function name

#

Use macro

halcyon notch
#

Okay

pale pivot
#

Or, what I would use

#

Is have a single function

#

Pass in enum for sevwrity

#
log(Level::Fatal, ...)
#

something like that

violet venture
#

sevwrity

violet venture
ocean orbitBOT
#

pass in e-enyum fow sevwrity

pale pivot
#

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

halcyon notch
#
#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

pale pivot
#

Just have all the events derive from VeilEvent

halcyon notch
#

You guys are still giving advice

pale pivot
#

You're using it as a sort of interface anyway

halcyon notch
#

It's just an enum class

pale pivot
#

Why are you templating on an enum, just take it as an input what

#

??!

halcyon notch
#

Wait I'm templating the args

#

I was told this is how variadic args work

pale pivot
#

Yeah why do you have VeilEvent in your template thing

halcyon notch
#

Well don't I need to have all args in the template?

pale pivot
#

No

halcyon notch
#

O

pale pivot
#

Only the unknown ones

#

That you want to template on

#
template <typename T>
T foo(int x, double y, T z) {...}
#

Is fine

halcyon notch
#

O okay

#

Do I still want that as a macro?

pale pivot
#

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

halcyon notch
#

I'll do my best

#

Please make a good json logging library

#

I. don't know what I'm doing

pale pivot
#

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

halcyon notch
#

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

pale pivot
#
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

halcyon notch
#

right right

#

I'll see what works

pale pivot
#

Who needs logger just fprintf JSON into file

halcyon notch
#

xd

pale pivot
#

Generating JSON pretty ez

halcyon notch
pale pivot
#

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

halcyon notch
#

but I want more fields than just message

#

different events have a different log structure for example

random minnow
#

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

pale pivot
#

Yep, overloads are nice

halcyon notch
#

Honestly if someone made this I'd be so happy

pale pivot
#

Buy me new cube I'll make it for you when parents leave

halcyon notch
#

Which cube

random minnow
#

the cube

pale pivot
#

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

halcyon notch
#

Oooo

#

I like it

pale pivot
#

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

halcyon notch
#

Mixed ;D

pale pivot
#

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

halcyon notch
#

I think that's about 6 am my time, could prolly wake eaerly for that

pale pivot
#

Lmk if you do

halcyon notch
#

I shall

pale pivot
#

Probably should be coding some stuff not in aecor before I start LOL

#

Done like 95% aecor for last few months lmfao

halcyon notch
#

You should make monthly changelogs lmao

pale pivot
#

How about we write cpp codegen for aecor and then write JSON logger in aecor

halcyon notch
#

But this is c++ 😦

pale pivot
#

Read first past of sentence

halcyon notch
#

I wanna learn more c++ for work too

#

Oh

#

I read

#

πŸ˜„

#

I am half dead

#

Sleepy

pale pivot
#

Just start comitting aecor to work repos

#

Easy two way interop

halcyon notch
#

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

pale pivot
#

"our project" what are you referring to?

halcyon notch
#

libwebrtc

#

well chromium really

#

there is an in-tree libcxx for chromium

pale pivot
#

This was not in response to me was it

halcyon notch
#

It was

#

I am asleep

#

Basically

pale pivot
halcyon notch
#
#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
cobalt turtle
#

@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

cobalt turtle
#

hmmm are u the ryan I know

#

@jagged hawk oh I meant this

#

sry

jagged hawk
#

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

cobalt turtle
#

ah I see

jagged hawk
#

@warm vessel hi

#

One sec

warm vessel
#

sure

misty sinew
#

s

fluid mason
#

hi, beastblaze

mild flume
golden marsh
uneven rock
#

what if you find out discord is farming user data like tiktok?

barren basin
#

@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

hoary junco
barren basin
#

Heroku sucks ballz

hoary junco
#

to try out it's good

hoary junco
#

xd

barren basin
#

Best GIF ever XD

golden marsh
#

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

barren basin
mild flume
#

!stream 716436228828037120

coarse hearthBOT
#

βœ… @wary spruce can now stream until <t:1664293746:f>.

hoary junco
#

Hi @golden marsh

barren basin
#

!stream 972509136988295189

hoary junco
#

posrt 80 traffic forwarded to port 8000 on localhost

#

aws lambda is called serverless right?

mild flume
#

!stream 716436228828037120

coarse hearthBOT
#

βœ… @wary spruce can now stream until <t:1664294528:f>.

mild flume
#

@pine jewel What were you asking? I was deafened so I missed it

pine jewel
mild flume
#

Gotcha gotcha

pine jewel
#

yeah

mild flume
#

Sadly I'm no help there

pine jewel
#

it's alright!

mild flume
#

Just now learning it myself

#

Always intimidated me prior