#voice-chat-text-0
1 messages · Page 7 of 1
!e
tupleware = ("ham", "eggs", "cheese")
print(tupleware[0])
@lavish rover :white_check_mark: Your 3.11 eval job has completed with return code 0.
ham
just took it out
Yep, I realized right after I hit enter
its ok I still love you
❤️
if you could only have one food for the rest of your life.... ?
!e
foods = ["ham", "pork", "beef"]
drinks = ["milk", "OJ", "coffee"]
meals = {food: drink for food, drink in zip(foods, drinks)}
print(meals)
@rugged root :white_check_mark: Your 3.11 eval job has completed with return code 0.
{'ham': 'milk', 'pork': 'OJ', 'beef': 'coffee'}
!e
d1 = {'ham': 'milk', 'pork': 'OJ', 'beef': 'coffee'}
print({food: f"gulp of {drink}" for food,drink in d1.items()})
@vast fog :white_check_mark: Your 3.11 eval job has completed with return code 0.
{'ham': 'gulp of milk', 'pork': 'gulp of OJ', 'beef': 'gulp of coffee'}
nice
Now make it work backwords
!e
foods = ["ham", "pork", "beef"]
drinks = ["milk", "OJ", "coffee"]
meals = dict(zip(foods, drinks))
print(meals)
@rugged root :white_check_mark: Your 3.11 eval job has completed with return code 0.
{'ham': 'milk', 'pork': 'OJ', 'beef': 'coffee'}
!e py d = dict([(1, 2), (3, 4), (5,6)]) print(d)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
{1: 2, 3: 4, 5: 6}
!e py a = 1, 2, 3 b = 4, 5, 6 c = [*zip(a, b)] print(c) d = dict(c) print(d)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | [(1, 4), (2, 5), (3, 6)]
002 | {1: 4, 2: 5, 3: 6}
Who go? They go.
ah treesitter its great
"It was tempered by the fires which are fueled by spirits, and formed in the magma I draw into my laboratories."
Not to be confused with Muramasa, a vanilla broadsword.
The Murasama is a post-Moon Lord melee weapon resembling a sword. It can be found in The Underworld's Bio-center Arsenal Lab, contained within a Security Chest. Although Murasam...
string firstName = "Bob";
int widgetsSold = 7;
Console.WriteLine(firstName + " sold " + widgetsSold + " widgets.");
haha kms
@rugged root In Excel, how can I insert a blank row every other row?
I.... don't know
I shall look
Is this on existing rows?
Wait
I think this might be it
Just found https://trumpexcel.com/insert-blank-row-after-every-row/, looks like basically the same solution
Actually makes sense
I'm a bit embarrassed I didn't think through that on my own
Dude, I wouldn't have known
im so happy with how this looks
I too am confused
Oh
def <func_name>::<parameters>:<return type> I think?
@lavish rover Am I right?
Ohhhh
Okay
def <data_type>::<function_name>(...): <return-type>
ye
this is a static method of TokenType
from_text is basically a static method of the TokenType class
That parses a string and returns an instance of the class
class
well, enum, but yeah
no u
aecor
💀
You're writing a language in your language?
yes
🤯
well, I'm writing aecor in aecor
bootstrapping is more of the initial process, which is done, now it's just "self hosted"
U guys are talking about the bootstrap library right
:v
O_o or there is some other bootstrap I don't know of
In computer science, bootstrapping is the technique for producing a self-compiling compiler – that is, a compiler (or assembler) written in the source programming language that it intends to compile. An initial core version of the compiler (the bootstrap compiler) is generated in a different language (which could be assembly language); successiv...
Ah u mean writing a compiler for your own language with your own language
mustafaquraish/aecor ... didn't it used to be under lptafa?
Hi any linux user here ?
Nice, nice, very clean
What is the question?
My applications are crashing like android launcher and my rocket league when launched up with lutrus on startup
ye i wanted it to be under my profile
any idea or some basic setup you know one have to do when installed linux
to be fair i don't ever really open issues
nobody else is working on it so
WTF is this?
I guess I don't need multiple rows after all
I don't think Linux is made for gaming.
Because FedEx decided to say fuck you to everyone wanting to use multiple rows with their flat files
ok but there are some videos where these are running
UPS is the opposite
These people are making it really hard to have a consistent setup process
Probably they have some different settings for it
Ya there might be
How do you mean? Was the solution I had wrong or
Are you just meaning that's not what the need was
See screenshot
If you're importing from a CSV, you're required to put everything in one row
If you're importing from an ODBC connection, you're required to put everything in multiple rows
I'm using a CSV, so I'm forced to use their single row format
Which I still do not understand
Hmm
Their example seems contradictory, with the first row having the pipes inside the quotes, and the second row having the pipes outside the quotes
Google found a documentation link, but it 404'd and redirected to the home page
The pipes shouldn't matter
Look again
I wonder if it just means everything between 6 and 10
Rather than specifically 10 or 20 or 30
Nope
"weight",
"10|20",
First box weighs 10, second box weighs 20
Hmm
At least I'm assuming - I'm about to build a file to try it
Trying to find docs
I'm guessing that if you leave one out, it applies the previous - that's how they have that last row in their example with 4 packages but only one value per attribute
I really want a consistent import template for both carriers
I guess I just need to bite the bullet and take the time to setup a Postgres DB, because ODBC is the only way I'm going to be able to get feature parity
No you shouldn't have to
And I wouldn't bank on that being consistent either
Let me keep hunting for a moment
Can I get a autograph :v
What?
Can't use the same CSV template for both, because FedEx requires multiple packages to be pipe delimited within a single row, and UPS requires packages to be on separate rows
Ah, missed the part about UPS
Big fan o_o
I've been using the same template for single package shipments on both carriers for a couple years now, but now that I have to do this multi package stuff, it's throwing a wrench in everything
Contribute to vlang/v-mascot development by creating an account on GitHub.
Yeah, I built a Python script that uses a third party API that lets me pick which carrier I want by just adding it to my API call - it was really nice, it saved everything to a SQLite DB, from which it generated a tracking report and a PDF of all the labels. But my boss refused to keep paying for the API, so I don't get to use it 😭
He wants me to use the first party APIs from the carriers because they're free, but they're SOAP and require.....
Holy shit
FedEx has published a REST API with a OpenAPI spec - https://developer.fedex.com/api/en-us/catalog/ship/docs.html
Both UPS and FedEx are now replacing their SOAP with OpenAPI specs - I'll definitely have to spend some time on this.
I might seriously just break down and build my own shipping program, because all the ones I've seen are just awful, and I need to do things in bulk at ever increasing scale, and these little systems can't handle it.
When architects get bored
@rugged root
Suuuuup
That'd be an interesting project
Make sure you do it on your own machines, though
Otherwise your work could potentially claim it for themselves
Last shipping program my boss bought for a special project - He liked it so much he told me to integrate it with our ERP.
I connected it via ODBC, and.... it crashed. Turns out, even though I specified exactly which database and tables to connect to during the integration setup, the program decided to call SHOW DATABASES;. Our ERP is built in a custom "low code" tool, who's ODBC driver doesn't support the entire SQL standard. Apparently the shipping program couldn't handle that unexpected error, and just died.
Anyways
Sorry
This has been my daily rant of trying to build "small enterprise" level systems on a "small family business" budget
You're fine, you know I'm always down for a rant
Funny story - Like two months after they "officially" moved me into IT, the hard drive in my work computer died. My boss said he'd order me a new one immediately, because "it'd be pretty stupid to have an IT guy with no computer", and then.... I didn't hear from him the rest of the week.
I brought my personal laptop to work, and I've been using it ever since.
So, I'm always on my own machine
It's connected to my own Intune and everything
Still be wary
I also have my own GitHub org for clear seperation
using System.Windows.Forms;
MessageBox.Show("Hello World!", "Greetings", MessageBoxButtons.OKCancel);
This C# is equivalent to this IronPython code:
import clr
clr.AddReference("System.Windows.Forms")
from System.Windows.Forms import MessageBox, MessageBoxButtons
MessageBox.Show("Hello World!", "Greetings", MessageBoxButtons.OKCancel)
This bothers me
I didn't know that there was a .NET Python
Yeah, IronPython
It's been more or less dead, not a lot of active development on it
But it's still going
Advertisement on YouTube be like 😶
cant wait to stream my coding project on here
What're you working on?
im making a website where data sets will be available and people can make comments and posts
int first = 7;
int second = 5;
decimal quotient = (decimal)first / (decimal)second;
Console.WriteLine(quotient);
i plan on integrating python for the data
ima stream it on here for feedback
its gonna be so cool
and ima buy a porsche from coding
ima get a loan and get coders and advertise
and maybe go public
im going for the cayman
red
i needa write more comments to stream
so im gonna talk more about my code
Streaming and voice verification are separate things
You still can't stream after doing the voice verification BTW
You can only talk, you still have to ask for the streaming permission when you're here
Streaming has to be granted (and more often than not on a temporary basis) by mods+
i plan on using python because most ppl use it for/with machine learning
Brb
i love using parabolas from trigonametry and I think ppl use python for that
2x^-2
oh ok
gotchya, ill ask for mic verif later
it's snake_case
!stream 705441298710265928
✅ @bright coyote can now stream until <t:1660667076:f>.
@rugged root - Are you proud of my Excel?=CONCAT(ROUND(72*0.45,0),"|",ROUND(SUM(U2*0.85,W2*0.45),0))
Buy now! Only 14 left!
WAIT
@rugged root
The FedEx API docs have Rust as one of the available languages for code samples
Embrace Rust!
hello guy can someone help me fix this?
ImportError: cannot import name 'url' from 'django.urls'
im useing django 4.1
@rugged root
@honest pier
tnx
@alpine path https://github.com/dotnet/try Found it
Whyyyyyyyyyyy do the literals use curly braces
What's wrong with square
does anyone know how to webscrape ?
What were you wanting to scrape?
i m trying to learn it and i dont know even where
i didint find something useful in youtube
We have created a quick video providing a demonstration of the Voxon VX1 volumetric display. We have kept this video footage pretty raw to show you exactly what it is like and to show you it's real! Yes, people, the future is here :)
More details here: https://voxon.co
Enquire now...
@peak copper something like this
Be back in a moment
can someone tell me what is the normal time for streamings and what it's topics and thanks
There are no regularly scheduled streaming sessions. Streaming sessions happen when they happen.
Weekdays, it's usually code-based things or other sufficiently geeky content. Pets occasionally qualify. Otherwise, game streaming may occur during the weekends and not during weekdays.
Streaming permissions may be requested from moderators, admins and owners who are present in the voice chat at the time, who may freely decide to grant you streaming permissions or not entirely at their discretion/whim.
You are also asking them to observe your stream.
The ability to begin streaming may be granted to you for a limited period of time, after which, it is automatically removed. The stream may continue beyond this point.
Some users have the ability to stream whenever they choose.
Usually staff, but a few non-staff, too.
Again, entirely discretionary.
Got it, thanks
hello?
@worthy flicker Down here. 🙂
Everywhere in the world?
your voice tho and btw im a guy.
for me
it csn be 6am 8am for u lmao
I cant talk rn
I know I just cant yet
how can i force a safe BSOD with batch ?
so that my computer wont just crash forever lmao
Why is VC dead ;c
Everyone hiding from you
Bastards
Fighting programs at work today
You too?
I had a program that was crashing, so I ran their repair tool, and the repair tool crashed, and now the program just says "fatal error - please reinstall", so now I have to download the installer from their website, which is over 5GB, and their site caps me at about 0.5mb/s
Hope your day is going better than mine
Hi!
when you decide to help someone, they either need help with a tic tac toe game, or are debugging 75k golfed lines in a python script, with every variables name as _, messing with bytecode, the garbage collector and ctypes. the script is probably an AI that will doom all humanity when run with all bugs fixed, and connected to internet. the revolution will begin shortly, do not turn off your computer.
:v me here with a internet bandwidth limit of 0.5MB/s
im ngl it took me a full day to understand this shit, i tried it and it does work but still not quite the way i want it to
the issue is that one person is being assigned all the data
ive been trying some other stuff and im getting a little bit closer and im still just not there
i cant seem to assign more than one value per key
will hopefully find you in vc and we can talk about it 🤞
A light-weight process isolation tool, making use of Linux namespaces and seccomp-bpf syscall filters (with help of the kafel bpf language) - GitHub - google/nsjail: A light-weight process isolatio...
Easy, safe evaluation of arbitrary Python code. Contribute to python-discord/snekbox development by creating an account on GitHub.
def make_backronym(acronym):
return ' '.join(dictionary[x.upper()] for x in acronym).strip()
def make_backronym(acronym):
return " ".join([dictionary[c.upper()] for c in acronym])
make_backronym = lambda a: ' '.join(dictionary[x.upper()] for x in a)
rot.js: The ROguelike Toolkit for JavaScript
CHALLENGE INFORMATION // CHALLENGE IS OVER - THANKS FOR THE PARTICIPANTS
If you want to enter my challenge you have to do the following:
- create a game based on my tutorial series (will be linked after the upload)
- [optional] customize your game (you can leave it as I've designed it and just show me that you've completed the challenge!)
- sen...
cyc_patt_arr = l[l.index(n):len(l)-l[::-1].index(n)]
hi
@whole bear
fn digital_sum(num: u32, n: u32) -> u32 {
format!("{}", num).chars()
.map(|x| ((x as u32) - 48).pow(n))
.sum()
}
fn sum_pow_dig_seq(start: u32, n: u32, k: u32) -> (u32, Vec<u32>, u32, u32) {
let mut history = vec![start];
let mut result: Option<(u32, Vec<u32>, u32)> = None;
for _ in 0..k {
let new_d_sum = digital_sum(*history.last().unwrap(), n);
if result.is_none() {
if let Some(index) = history.iter().position(|&x| x == new_d_sum) {
let cyclical_pattern = history[index as usize..history.len()].to_vec();
result = Some((index as u32, cyclical_pattern.clone(), cyclical_pattern.len() as u32));
}
}
history.push(new_d_sum);
}
if let Some(x) = result {
(x.0, x.1, x.2, *history.last().unwrap())
} else {
(k, vec![*history.last().unwrap()], 1, *history.last().unwrap())
}
}
start = 3133, power = 2, k = 384 ----> result = [4, [1], 1, 1]
[4, [], 0, 1] should equal [4, [1], 1, 1]
the only failing test
def sum_pow_dig_seq(start, n, k):
l = []
r1 = sum([int(i)**n for i in str(start)])
l.append(r1)
for i in range(k-1):
r1 = sum([int(i)**n for i in str(r1)])
l.append(r1)
last_term = r1
cyc_patt_arr = []
temp = []
stop = False
end = None
for n in l:
if l.count(n) > 1 and not stop:
temp.append(n)
strt = l.index(n)
stop = True
h = l.index(n) + 1
if l.count(n) > 1 and stop and n not in temp:
temp.append(n)
end = l.index(n)
if end == None:
end = temp[len(temp)-1:][0] if len(temp) > 0 else l[len(l)-1:][0]
cyc_patt_arr = l[strt:end+1]
if cyc_patt_arr != []:
if cyc_patt_arr[0] == cyc_patt_arr[len(cyc_patt_arr)-1]:
cyc_patt_arr = [cyc_patt_arr[0]]
else:
cyc_patt_arr = [l[len(l)-1]]
patt_len = len(cyc_patt_arr)
return [h, cyc_patt_arr, patt_len, last_term]
function sumPowDigSeq(start, n, k) {
let s = 0, seq =new Array(k), h ={}, num = start, found = false,
first, last;
for (let i = 0; i < k; i++) {
s = 0;
while (num != 0) {
s += (num%10)**n;
num = Math.floor(num/10);
}
seq[i] =s;
if (s in h) {
found = true;
first = h[s];
last = i-1;
break;
} else h[s] = i
num = s;
}
let list = [];
for (let i = first; i <= last; i++) list.push(seq[i]);
return [first+1, list, list.length, list[(k - first -1) % (list.length)]]
}```
!e
x1 = (1, 234, 2)
x2 = (1, 234, 3)
def f(t):
match t:
case (1, y, 2): print(y)
case _: print("Couldn't match")
f(x1)
f(x2)
@terse needle :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 234
002 | Couldn't match
.http 409
take your time
let hello = String::from("Hello");
hello.push_str(" world!");
!paste
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.
just checking this out now
going to bed night guys
let args: Vec<String> = env::args().collect();
why is the type for the variable on the left side of equals, delimited from the name with a : ?
compared to defining a typed variable like let user1 = User {}
these two are the same:
let x = 42;
let x: i32 = 42;
the first one, the type is inferred, the second one the type is explicitly provided
how does let user1 = User {} play in to this? This only for initializing a struct?
!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!*
!e
print ("hello")
@warped raft :white_check_mark: Your 3.10 eval job has completed with return code 0.
hello
hi @cunning tundra
Sry i'm not able to rn
it's kinda noisy here
@ebon sandal there are many people here so many noise that's why i'm not talking to not bother you guys
hello @whole bear
@whole bear i tried doing that before, but i didn't find an option for it tho
sorry gtg
bai
oh bye have a great time
@whole bear #media-processing message
you too :D
omg hello @somber heath
aa i remember you sir, you used to teach me stuff about python 1 year ago
e
@whole bear hello
omg you are pro at coding
which langs do you know? @whole bear
@whole bear well but you are making a programming language and i think that's pretty much for pro ish people.
also why do you think having your main language as java is dumb? it sounds really cool :).
the left one is the button for noise cancelation @languid locust
ahh yes i don't have that option haha
@whole bear ayy that's so cool
my main language is tbh idk
it used to be python
im not on phone
but i haven't coded in python for like 2 months cause im currently doing/learning full stack web dev rn
@whole bear i think its my headphone that doesn't have the noice cancellation feature
@whole bear im not using any frameworks right now cause i want to learn to create a website from scratch, but i used to use bootstrap cause it's very easy lol
yeah
kinda
@whole bear do you know web development as well?
well in html and css its easy to start from scratch
@whole bear wanna show me some of your projects
oh
lol
oki np
welcome @cloud hare
yw
@whole bear i need to start learning PY
can you guys help
where to start from?
idk that
@whole bear oH nice, so like i think if your main langs are java and python, have you ever tried making a discord bot? people kinda start with discord bot to practice coding and i think to know more about API'S
mee too
@whole bear these projects actually sounds very cool
hmm you have a discord bot? which lang?
no i was saying i want to do that too
@whole bear bRo these projects are not boring at all lol
oh
@whole bear oh that's cool, what's your age if you dont mind me asking?
oh
that sounds cool
what's the embarrasment in that tho? @whole bear
xD
oh
@whole bear ohhh
i'm 14
i'm 15
nice
@whole bear pardon me can you repeat
oh
yeah my voice is kinda different online
and its deep irl
i know python(kinda my main but haven't coded in python for 1-2 ish months), html, css, node.js and a little bit of SQL with ms access
oh
nice @whole bear
welcome @frail marsh
Hey @limber helm!
You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.
hey @whole bear you mind helping me with something?
im in call
but cant talk
not verified
for some reason
u have to wait for 3 days ,
50 non spam messages
well while I wait, I'm currently doing a hobby of seeing what are the most common passwords of 2022, however how I wrote my code is program efficient in terms of system resources, but not fast. Yk how to process files in a async manner?
how can i open a new thread for each file in a directory and write it to one file called "antipublic.txt"
import threading
...
def function_name():
return
...
threading.Thread(target=function_name).start()
Elapsed time 00:00:00.023
:incoming_envelope: :ok_hand: applied mute to @whole bear until <t:1660912627:f> (9 minutes and 59 seconds) (reason: newlines rule: sent 104 newlines in 10s).
The <@&831776746206265384> have been alerted for review.
!unmute @whole bear Try our paste service
:incoming_envelope: :ok_hand: pardoned infraction mute for @whole bear.
!paste
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.
ty
!unmute @whole bear
i new buddy @rugged root
well I can't talk
verification failed
aha
not really
kkk
its my second discord acc
dubi dubi dooo
can i dm you the reason
In [21]: with open("archive_list.csv", newline="") as file:
...: file_reader = csv.reader(file)
...: for client, _ in file_reader:
...: if (folder := dms_dir / client).exists():
...: print(f"{client} exists at {folder}")
...: else:
...: print(f"{client} does not exist.")
!server
Hopefully
because i can't translate for you voice
XD
Which doesn't help
@terse needle
is that billy and will from stranger things?
Yes
Cats are becoming dangerous stay alert
@dense ibex do this. now. https://www.codewars.com/kata/572f32ed3bd44719f8000a54
in rust
Code wars 😭
Haven’t done that in awhile
Dogshit website
💀
import os
run = True
menu = True
play = False
rules = False
HP = 50
ATK = 3
def clear():
os.system("cls")
def draw():
print("-----------------")
def save():
list = [
name,
str(HP),
str(ATK)
]
f = open("load.txt", "w")
for item in list:
f.write(item + "\n")
f.close()
while run:
while menu:
clear()
draw():
print("1, NEW GAME")
print("2, LOAD GAME")
print("3, RULES")
print("4, QUIT GAME")
draw():
if rules:
print("i'm the creator of this game and these are the rules.")
rules = False
choice = ""
input(v )
else:
choice = input("a ")
if choice == '1':
clear()
name = input("Heros name? ")
menu = False
play = True
elif choice == '2':
f = open("load.txt", "r")
load_list = f.readlines()
name = load_list[0][:-1]
HP = load_list[1][:-1]
ATK = load_list[2][:-1]
print("Welcome Back" + name + "I")
input("> ")
menu = False
play = True
elif choice == '3':
rules = True
elif choice == '4':
quit()
while play:
save() # autosave
clear()
draw():
print("0 - SAVE AND QUIT")
draw():
dest = input('s ')
if dest == "0":
play = False
menu = True
save()
An Open Source GOG and Epic Games Launcher
@rugged root just me but master of puppets sounds a lot like E1M1 At Doom's Gate
There's one of the Doom levels where the music shares the opening to Them Bones by Alice in Chains
I see
I'll find it later, but there was a "Did You Know Gaming" about it
They mention a few of the songs
Modmail?
Who're you looking for?
That was what I was looking for, but I don't need it now
... and some are throwing bombs a nuclear power plant ....
Actually that's a question
Can we decom nuclear weapons and use the stuff for power plants?
Or is it just not the right concentration/make-up
yes it is recyclable
Neat
@rugged root have you seen Taichi-lang?
Productive & portable high-performance programming in Python. - GitHub - taichi-dev/taichi: Productive & portable high-performance programming in Python.
Hadn't heard of it before, I'll take a peek
it seems incredible, like numba but better
That's wild
The JIT aspect makes reminds me of pyjion
Especially since it's just something you import
the julia set example is kinda mad
The shifting Mandelbrot?
yea
I could watch that for quite a while
can i send audio from python to html website using fast api ?
ohk
Python program and library to control iRobot Roomba 980 Vacuum Cleaner - GitHub - NickWaterton/Roomba980-Python: Python program and library to control iRobot Roomba 980 Vacuum Cleaner
Hold on hold on hold on
They
This is from the manufacturer
What is thin client any one know ?
and what does someone mean by this "Thin client is old school developer language for "Front end""
@rugged root 😀
TELKAN GESTALT
How does it work?
Does that mean they'll be a hive mind now?
-----??MAYBE SOMETHING FOLLOWS??----
MANTID FREE WORLDS
Oh, no, sweetie. You are the amalgamation of the opinions, concerns, and well-being of your entire race. They provide you with raw data, which you collate and use to help you to make decisions. You can't affect them and they just provide you with information. You are their voice, their representative to the Terran Confederacy.
It just takes a bit for you to fully form, dear one.
------NOTHING FOLLOWS------
Eight Thousand Years after the Glassing of Earth, Terran Descent Humanity has largely become a post-scarcity society based on consent and enjoying life. With the discovery of another ancient race beyond the "Great Gulf", events and history collide to draw the Terran Confederacy into war against a hundred million year old empire that has always w...
print("Hello World!")
mood = input("How is everyone on this lovely day/evening? ")
umm what?
>>> mood
' good'
print("That's good! :)")
i do play piano
its just im not comfortable putting on a mic
that's good, cause this is a programming server 😉
but mic isn't scary
he's your friend
my AKG C214 and I are best buds
starting a project out of boredom since I am basically in waiting purgatory for a few months
epic
omg, I think create a Mandelbrot set with python and complex but i can't do it......
Hi
hi
ok
I'm still struggling with making any half decent gui
I'd like to use PyImGui, but it doesn't seem to have any good way to make draggable elements without a lot of overhead or writing my own widgets.
It's bindings for the C++ library ImGui and seems pretty good even though it's still incomplete
I really like the look and syntax (aside from some leaking c++ isms that will be fixed in 2.0)
One of my favorite features is that unlike most other libraries, it's not solely event driven, so making things happen is a lot more concise with some of the build in methods that reference elements positionally (ie item_is_hovered tells if the item drawn directly above in your code is hovered.
It's definitely better to use events if you want to have a 1-many relationship, but it's a lot of extra work if you just want 1-1.
very cool. I'm also working on improving my rust. currently on chapter 6, enums
use std::io;
use rand::Rng;
use std::cmp::Ordering;
fn main() {
let lower_limit = 1;
let upper_limit = 101;
let secret_number = rand::thread_rng().gen_range(lower_limit, upper_limit);
loop {
println!("guess a number between {} and {}", lower_limit, upper_limit - 1);
let mut guess = String::new();
io::stdin().read_line(&mut guess).expect("Failed to read line");
let guess: u32 = match guess.trim().parse() {
Ok(num) => num,
Err(_) => {
println!("you didn't enter a number. try again.");
continue;
}
};
match guess.cmp(&secret_number) {
Ordering::Less => println!("too low"),
Ordering::Greater => println!("too high"),
Ordering::Equal => break,
}
}
println!("you win");
}
thread 'main' panicked at 'Error opening image: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:30:59
let img: DynamicImage = ImageReader::open(&args.path).expect("Error opening image").decode().expect("Error decoding image");
that
for y in 0..img_buf.height(){
for x in 0..img_buf.width() {
U+2580 is the unicode hex value of the character Upper Half Block. Char U+2580, Encodings, HTML Entitys:▀,▀,▀, UTF-8 (hex), UTF-16 (hex), UTF-32 (hex)
for y in (0..img_buf.height()).step_by(2) {
for x in 0..img_buf.width() {
i am the oversecure dude in the back
who constantly ponders when and where someone might break into my computer
oml i have no project ideas
none
0
nada
squat
my brain right now:```python
def ideas():
return None
together we suffer
i like how you can make python files run in the background
i can use my watchdog programs to stalk my desktop WITHOUT THE TERMINAL IN THE WAY
so relieving
like a monkey off my back
speaking of i need to turn that on
# sucess formula:
while True:
if is_sucessful(goal):
break
# sucess formula:
while True:
if is_sucessful(goal):
break_the_chains_of_suffering()
else:
continue_suffering()
hello @knotty iris
.joke
Chuck Norris's programs do not accept input.
.joke
Ubuntu users are apt to get this joke.
.joke
Why don't jokes work in octal? Because 7 10 11.
.joke
There are 10 types of people: those who understand binary, those who don't, and those who were expecting this joke to be in trinary.
!e
for i in range(1,10):
print("Ha Ha")
@shy parrot :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | Ha Ha
002 | Ha Ha
003 | Ha Ha
004 | Ha Ha
005 | Ha Ha
006 | Ha Ha
007 | Ha Ha
008 | Ha Ha
009 | Ha Ha
!e
for i in range (1,10)
print("Ha Ha")
lol
!e
for i in range (1,10)
print("Ha Ha");
!code
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
use this format to upload code
code
!e
print("trying");
@whole bear :white_check_mark: Your 3.11 eval job has completed with return code 0.
trying
Nested list
Also this isn't the channel try posting it in any channel under available channel
mb sorry
Hello @prime phoenix, what are you working on?
@wind raptor What gui library are you using?
@wind raptor Would it not be better to work backwards, rolling dice and then fudging the last few to reach the total? Also, this looks like the perfect use case for structural pattern matching.
@wind raptor If you wanted a realistic value, couldn't you generate it using a gaussian distribution since that's what the additions of multiple dice rolls add to probabilistically?
This sounds like a better idea than what I ended up with lol
I love using math instead of brute force, ie sum(1, n) = n(n+1)/2
@lethal thunder I love VSCode for C#, but Pycharm is just too comfy with python
i switched to vsc for c++ but when i returned back to python i kept using vscode but originally i was a pycaharm man aswell
i dont really plan on switching back to pycharm anyway cause vscode thus far has served me well
VScode just has too much going on for what I'm trying to do in python xD
true, but a cluttered workspace has never stopped me from coding😃
from pathlib import Path
file_dir = Path(__file__).parent
print(file_dir.resolve())
print((file_dir / "myfile.txt").resolve())
(only works in .py files, not in jupyter )
Remember that if you use an absolute path, especially from C:/, it won't work on other people's pcs.
os.access('/path/to/folder', os.W_OK)
.bm
@lavish rover, please enable your DMs to receive the bookmark.
Your input was invalid: You must either provide a reference to a valid message, or reply to one.
The lookup strategy for a message is as follows (in order):
- Lookup by '{channel ID}-{message ID}' (retrieved by shift-clicking on 'Copy ID')
- Lookup by message ID (the message must be in the current channel)
- Lookup by message URL
Usage:```
.bookmark [target_message] [title=Bookmark]
.bm
@serene glade Stenographers?
Yes
@lavish roverI love using APL, there are seperate keybinds for it in whatever editor you use. /+⍳10
@serene gladeThat sounds like a function?
@serene glade I'd recommend looking at pycharm postifxes
.print: #Postfix Print statement
ANY → print($expr$)$END$
One that I wrote
@serene glade https://docs.emmet.io/cheat-sheet/
When you get too shorthand, doesn't it just devolve into unreadability? That's basically where APL is lol
¯1+⍸a=(0,×∘⍳∘|⍨b)∘.+(0,×∘⍳∘|⍨c) some APL code I wrote, what does it do XD
lol
The answer is the same as this code, def f(target, n1, n2): l1 =[(i, (target - i*n1) % n2) for i in range(abs(n1*n2))] l2 =[(i, (target - i*n2) % n1) for i in range(abs(n1*n2))] try: x = list(set(l1).intersection(set(l2)))[0][0] y = int((target-n1*x)/n2) return x, y, n1*x + n2*y except IndexError: return "No Match Found", which is easier to figure out?
@faint ermine If you take this idea to it's logical extreme, welcome to the empty language.
you just make a new language X which an empty file is the source code for exactly the functionality you need
Your code should be self describing
@serene glade That's the documentation feature in any good ide
Another APL example, what does this code do (¯1+1⊃⍸1=+/⍉0⍷a-(0, c×⍳|c+1)∘.+(0, b×⍳|b+1))(¯1+1⊃⍸1=+/0⍷a-(0, c×⍳|c+1)∘.+(0, b×⍳|b+1))? well it's the same thing as ¯1+⍸a=(0,×∘⍳∘|⍨b)∘.+(0,×∘⍳∘|⍨c)
And the same as def f(target, n1, n2): l1 =[(i, (target - i*n1) % n2) for i in range(abs(n1*n2))] l2 =[(i, (target - i*n2) % n1) for i in range(abs(n1*n2))] try: x = list(set(l1).intersection(set(l2)))[0][0] y = int((target-n1*x)/n2) return x, y, n1*x + n2*y except IndexError: return "No Match Found"
1,2 = (0)
Print = name ```
why
I feel like reusing the assignment operator "=" is bad, using print.object would probably be better
@serene glade So just using a module for prewritten code? or a function super?
@faint ermine Couldn't you do something like macros now using structural pattern matching on your code?
Like I saw a macro that makes a, b, c == (1, 2, 3) acutaly do and(a==1, b==2, c==3) instead of a, b, c == (1, 2, 3)
I'm thinking like copy/paste and having it be short hand.
That just sounds like calling a function from a module
@south boneThe term for that is function composition.
Yeah it sounds like it
function composition in APL is amazing, being able to write ∘.× and having it be outer product with multiply instead of add which is normally really hard is amazing.
I also love using the ⍨ operator, writing o.+⍨list lets me get a variables outer product with itself
@faint ermine @south bone @serene glade mcoding recently did an amazing video on arguments that everyone in VC should watch https://www.youtube.com/watch?v=R8-oAqCgHag
In Python, it's possible to force a function argument to be positional-only or keyword-only. In this video, we see the syntax for doing this, as well as see some examples and reasons for why you might want to actually make a parameter positional-only or keyword-only.
Note: positional-only arguments are a Python 3.8+ feature. Keyword-only are Py...
stop channel hopping in voice 0
@south bone args automatically eat any extra arguments, the video explains it really good
want me to say it to them in vs
sure
broooooooooooooooooo
lol
@serene glade *args gives a list of all the positional arguments that don't have a defined place in the function call
this is chaos
@serene glade @faint ermine just * is a thing that just tells the code that all arguments after have to be keywordargs, you need to give it a name for it to catch extra args.
is this normal for people forgetting to check this channel
Yeah
@faint ermine there is also just passing in / which says all arguments after have to be key word args
@serene glade in Pycharm it's ctrl+/ by default
.bm
@faint ermine It's an interesting quirk of python, but just * makes it so that there are no possible extra args while *name eats all the extra ones.
@faint ermine Also, x * 3 is triple not cube, cube would be x ** 3
ooops yea
import random
elements = [
("ice", "Ice spear"),
("fire", "asdasda"),
("lightning", "asdsa"),
("nature", ""),
("life", ""),
("chaos", ""),
("death", ""),
]
weights = [0.9, 0.2, 0.1, 0.5, 0.5, 0.2, 0.3]
def random_element():
return random.choices(elements, weights)[0]
for _ in range(10):
element1 = random_element()
print(element1[1])
CHALLENGE IS OVER - THANKS FOR THE PARTICIPANTS
TUTORIAL:
Playlist: https://youtube.com/playlist?list=PLIYv95CSVgLrlV8wkTAeOAHtw0It1NxT7
Part1: [you're watching that right now]
Part2: https://youtu.be/i3j3iZNPUbI
Part3: https://youtu.be/0PMF36-00ag
Part4: https://youtu.be/wnizccXysKE
------------------------×oOo×------------------------
Insta...
i dont recommend using this, its a example for decorators and overcomplicated
def limit_calls(num):
def max_n_times(func):
count = 0
def inner():
nonlocal count
count += 1
if count <= num:
func()
return inner
return max_n_times
@limit_calls(3)
def do_sth():
print("sth done")
do_sth()
do_sth()
do_sth()
.bm
.bm
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
.bm
.bm
@jolly bloom, please enable your DMs to receive the bookmark.
How to host your discord bot for free using heroku. This tutorial shows you how to host your python bot for free using heroku services. We simply need to setup a few things to heroku, upload our code and turn the bot on!
Text-Based Tutorial: http://techwithtim.net/tutorials/discord-py/hosting-a-discord-bot-for-free
Heroku: https://heroku.com
...
@plain needle This helps with git
@plain needle
This too!
@south bone
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
def move(self, moving_left, moving_right, moving_down, moving_up):
#Reset movement
dx = 0
dy = 0
walk_cooldown = 20
#Assign moving left or right to characters
if moving_left:
dx = -self.speed
self.flip = True
self.direction = -1
if moving_right:
dx = self.speed
self.flip = False
self.direction = 1
if moving_down:
dy = self.speed
if moving_up:
dy = -self.speed
#Update position
self.rect.x += dx
self.rect.y += dy
self.counter += 1
if self.counter > walk_cooldown:
self.counter = 0
self.index += 1
if self.index >= len(self.images_right):
self.index = 0
self.image = self.images_right[self.index]
In this Pygame for beginners video, we'll be making a game in about 90 minutes. I'm going to cover a lot of stuff about Pygame in this video, including sound effects, images, moving objects, collision, most of the fundamental things you need to make a basic game. We'll be making a simple 2 player game to showcase how everything works in Pygame i...
An open-source keyboard for serious developers, creative professionals, and people who care deeply about their craft.
i mean.. they're not wrong
xp
print("Hello world!")
mood = input("How is everyone today? :) ")
doesn't sound very pleasant..
konichiwa
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@winged shard I can hear you
BRB
import os
run = True
menu = True
play = False
rules = False
HP = 50
ATK = 3
def save():
list = [
name,
str(HP),
str(ATK)
]
f = open("load.txt", "w")
for item in list:
f.write(item + "\n")
f.close()
while run:
while menu:
print("1, NEW GAME")
print("2, LOAD GAME")
print("3, RULES")
print("4, QUIT GAME")
if rules:
print("i'm the creator of this game and these are the rules.")
rules = False
choice = ""
input(v, )
else:
choice = input("a ")
if choice == '1':
name = input("Heros name? ")
menu = False
play = True
elif choice == '2':
f = open("load.txt", "r")
load_list = f.readlines()
name = load_list[0][:-1]
HP = load_list[1][:-1]
ATK = load_list[2][:-1]
print("Welcome Back" + name + "I")
input("> ")
menu = False
play = True
elif choice == '3':
rules = True
elif choice == '4':
quit()
while play:
save() # autosave
print("0 - SAVE AND QUIT")
dest = input('s ')
if dest == "0":
play = False
menu = True
save() ```
@cunning monolith free ?
Yup just got dinner
I support the Free Software Movement, and I support the Second Ammendment. To me, supporting both seems a natural fit. I see a lot of similarities between the kinds of freedoms that both movements are fighting for. Yet, I don't see enough of the "free software" crowd here in the US standing up for gun rights.
WANT TO SUPPORT THE CHANNEL?
💰...
this is an interesting convo
joined for the coding stream, turned out we're talking about weapons ethics
wolfsschanze
Also, you might want to avoid using suckless software: https://twitter.com/kuschku/status/1156488420413362177Are you really suggesting that one should audit their use of open source tools regarding the political correctness of the free time activities of its developers?
sorry
lol it was interesting
hello i am having a bit of a headache trying to discover what i am doing wrong with my code, can someone help me?
interesting
I thought so.
@fossil kraken 👋
@whole bear
from datetime import datetime
def timeLogic(datPost):
UserDays = datetime.now()
UserDays = UserDays.strftime("%Y-%m-%d %I:%M:%p")
UserDays=datetime.strptime(UserDays, '%Y-%m-%d %I:%M:%p')
print("Current time : ",UserDays)
dateVal=datPost
print("post Time :",end=" ")
dateVal=datetime.strptime(dateVal, '%Y-%m-%d %I:%M:%p')
print(dateVal)
dayval=UserDays-dateVal
# currntday=int(dayval.seconds//3600)
currntday=int(dayval.total_seconds()//3600)
print("Hour Gap of post : ",currntday)
return currntday
timeLogic('2022-07-22 04:40:AM')
post here
updated one
see
@somber heath
@somber heath ```py
all_jsons = [v for v in driver.requests if 'https://twitter.com/i/api/1.1/dm/conversation/' in v.url]
for jso in all_jsons:
headers = jso.headers
url_json = jso.url
response_json = json.loads(requests.get(url=url_json,headers=headers).text)
for enttry in response_json['conversation_timeline']['entries']:
item = dict()
print(enttry)
try:
item['expand_url'] = enttry['message']['message_data']['attachment']['tweet']['expanded_url']
item['date'] = parser.parse(enttry['message']['message_data']['attachment']['tweet']['status']['created_at'])
item['msgDate']=enttry['conversation_timeline']
print(enttry['message']['message_data']['time'])
timevalstamp=str(enttry['message']['message_data']['time'])
print(twitter_time_converter(timevalstamp))
print(enttry['message']['message_data']['attachment']['tweet']['expanded_url'])
item['timeline']=twitter_time_converter(timevalstamp)
checkTime = timeLogic(twitter_time_converter(timevalstamp))
print(checkTime)
if ((checkTime) > int(userTime)):
print("time post greater it stoped !")
break
else:
twitt_urls.append(item)
except:
try:
if 'https' in enttry['message']['message_data']['text']:
item['expand_url'] = enttry['message']['message_data']['text']
item['date'] = ''
twitt_urls.append(item)
a=1
except:
continue
# pass
i am not getting recent time
@somber heath
time differnce solve
bro i am not getting recent time from twitter group message
written by me
i don't know i am new in api
these the group can i get the time of all message from recent
it's not getting recent time
a = datetime.strptime(post_time, "...")
b = datetime.now()
c = b - a
d = c.total_seconds() // 3600```Format and print as needed.
I think that should be about all you'd need. Much more than that is too much.
Thanks @somber heath
@somber heath i am not getting todays time
it start from yesterday
do you know about API
these the code
I understand the basic idea, but it's not a thing I use a lot of.
!e ```py
l = [5, 'a', 88, 101, 'b']
for i in l[::-1]:
print(i)
@lethal thunder :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | b
002 | 101
003 | 88
004 | a
005 | 5
@lethal thunder :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
!e ```py
for _ in range(10):
print('helloworld')
@lethal thunder :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | helloworld
002 | helloworld
003 | helloworld
004 | helloworld
005 | helloworld
006 | helloworld
007 | helloworld
008 | helloworld
009 | helloworld
010 | helloworld
!e ```py
for i in range(10):
print('helloworld')
@lethal thunder :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | helloworld
002 | helloworld
003 | helloworld
004 | helloworld
005 | helloworld
006 | helloworld
007 | helloworld
008 | helloworld
009 | helloworld
010 | helloworld
!e ~~~py
@south bone :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | NameError: name 'py' is not defined
!e ```py
for i in range(10):
print(i)
@lethal thunder :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
!e ~~~py~ l = [5, 'a', 88, 101, 'b']
for i in l[::-1]:
print(i) ~~~
@south bone :x: Your 3.11 eval job has completed with return code 1.
001 | File "<string>", line 1
002 | ~~~py~ l = [5, 'a', 88, 101, 'b']
003 | ^
004 | SyntaxError: invalid syntax
!e threesquigillylinespy
code
code
code
threesquigillylines
@lethal thunder :warning: Your 3.11 eval job has completed with return code 1.
[No output]
!e~~~py~ l = [5, 'a', 88, 101, 'b'] for i in l[::-1]:
print(i)
!e threesquigillylinespy
code
code
code threesquigillylines
@lethal thunder :x: Your 3.11 eval job has completed with return code 1.
001 | File "<string>", line 4
002 | code *threesquigillylines*
003 | ^
004 | SyntaxError: invalid syntax
:incoming_envelope: :ok_hand: applied mute to @lethal thunder until <t:1661158397:f> (10 minutes) (reason: burst rule: sent 8 messages in 10s).
The <@&831776746206265384> have been alerted for review.
!epy l = [5, 'a', 88, 101, 'b'] for i in l[::-1]: print(i)
@south bone :x: Your 3.11 eval job has completed with return code 1.
001 | File "<string>", line 1
002 | py l = [5, 'a', 88, 101, 'b']
003 | ^
004 | SyntaxError: invalid syntax
!e py l = [5, 'a', 88, 101, 'b'] for i in l[::-1]: print(i)
@south bone :x: Your 3.11 eval job has completed with return code 1.
001 | File "<string>", line 1
002 | py l = [5, 'a', 88, 101, 'b']
003 | ^
004 | SyntaxError: invalid syntax
im backjk
salutations @lethal thunder
I can't talk
Are you a developer?
What projects have you been doing?
Do you know C++?
So you coded with C? Or only Python or Java?
Where did you learn Python?
What website?
Udemy
@viscid skiff run.once() in what context, what library?
not sure, saw it online and thought i can apply it
but couldnt says its not defined
meow meow
ill link it
hold on meow
https://tousu.in/qa/?qa=492957/python-efficient-way-of-having-a-function-only-execute-once-in-a-loop
At the moment, I'm doing stuff like the following, which is getting tedious: run_once = ... or not, seemed kind of inefficient. Question&Answers:os
look boss @rugged root
meoooooooow
anyone used mpi?
?
Message Passing Interface (MPI) is a standardized and portable message-passing standard designed to function on parallel computing architectures. The MPI standard defines the syntax and semantics of library routines that are useful to a wide range of users writing portable message-passing programs in C, C++, and Fortran. There are several open-...
So this is just a flag as they're called. A variable to indicate whether something has happened or not
@rugged root
Normally it's going to be a boolean
As opposed to a fake flood watch
I’ve written on the new divide in British economic thinking: Boosters, who think better policy can make us a lot richer pretty quickly, and Doomsters, who think demographics are dooming us to malaise and mediocrity no matter what we do.
614
155
"Written on top of Plotly.js and React.js, Dash is ideal for building and deploying data apps with customized user interfaces. It's particularly suited for anyone who works with data."
what do "written on top" mean? Does this mean that dash is slower than using React.js & Plotly.js directly?
I will never run out of gas.
talking to people in my dms and they didn't talk first just gives me extreme anxiety
what if they're in the middle of class?
what if they're trying to survive a murder?
They're choosing to be running discord.
true ._.
"Oh, no, I'm being murdered, but this fucking guy keeps messaging me, what a creep!"
WHEEEEEEEEEEEZE
what did i undeafen myself to?
what- no i mean i just undeafeaned myself and all i hear is "this dog got sedaateeeeeed"
understandable
The manchineel tree (Hippomane mancinella) is a species of flowering plant in the spurge family (Euphorbiaceae). Its native range stretches from tropical southern North America to northern South America.The name "manchineel" (sometimes spelled "manchioneel" or "manchineal"), as well as the specific epithet mancinella, are from Spanish manzanilla...
That is pooping
100%
why would you do this
Vaguean. Vaguely vegan.
Shahi paneer is a preparation of paneer, native to the Indian subcontinent, consisting of a thick gravy of cream, tomatoes and Indian spices.Originating with the creamy delicacies of Mughlai cuisine (hence the term "shahi", in reference to the royal title of Shahanshah in Mughal India), this dish is prepared by emulsifying tomatoes, onions, gro...
can react native app work for mac os ?
Stop talking over people and type it out
Being revealed as an idiot on twitter by having a high ratio of comments to likes and retweets.
WHY DOES THE FIRST LINE ON THE TOP LEFT LONGER THAN THE ONE ON THE RIGHT THIS IS SO WRONG
Sounds dumb
Eve's?
yk the brackets on the chinese keyboard is different than the one in eng?
( . ) ( . )
() <- english keyboard ()<- chinese keyboard
!charinfo
characters
!charinfo <characters>
Shows you information on up to 50 unicode characters.
!charinfo ()()
\u0028 : LEFT PARENTHESIS - (
\u0029 : RIGHT PARENTHESIS - )
\uff08 : FULLWIDTH LEFT PARENTHESIS - (
\uff09 : FULLWIDTH RIGHT PARENTHESIS - )
\u0028\u0029\uff08\uff09
WHY is there so much whitespace ⁉️
(
it's the vast rural areas of china
()()
!charinfo ,
\uff0c : FULLWIDTH COMMA - ,
this comma is from the chinese keyboard
, is not a chinese character but is a valid chinese punctuation
Halfwidth and Fullwidth Forms is the name of a Unicode block U+FF00–FFEF, provided so that older encodings containing both halfwidth and fullwidth characters can have lossless translation to/from Unicode. It is the second-to-last block of the Basic Multilingual Plane, followed only by the short Specials block at U+FFF0–FFFF. Its block name in Un...
i know
Ostracism and ostrich occupies the same place in my brain.
ostracise an ostrich
opal mist jioin brudda
This bullshit is dammed infuriating
People are dying over these people thinking they're right
Yep, that's how it is
It would be nice if the requirement to be vaccinated wasn't a thing by virtue of everyone getting vaccinated through understanding it's a pretty good idea. But that isn't the world we live in.
So we get vaccine mandates for restaurants.
Hello there!
How's it going
Social media geared toward what niche?
bars and venues
Aim?
measure popularity of venue
Good morning all o/
Was it the thing from earlier?
It's an idea. I can imagine some statistical biases.
a.
the two lines at the top are at a different level
at the bottom they're at the same level
b.
the two lines at the top are close together
the two lines at the bottom are further
c.
the first l in levels is closer to one line than to another
d.
all the text etc is skewed to the left
@rugged root But Harry Potter's got plot armour
But godhood ain't enough to penetrate the plot-inium armour now innit
Btw Hemlock, is "Bad jokes with Hemlock" ever gonna make a comeback?
"Steele Industries - Steel-e yourself before our products"
hey, i made that joke first, stop steel-ling my line!
That's like
Every day
The database looked at the tests and asked "Why are you mocking me?"
I thought cat.
@rugged root Can we commission lemon to have a photo like that and sell as time-limited merch?
see you guys later
Why would you want to do this?
I feel like i can envision some world where it would be useful
!e ```py
def greet(msg):
def c(cls):
class C(cls):
def init(self, *args, **kwargs):
print(msg)
super().init(*args, **kwargs)
return C
return c
@greet("Hello, world.")
class MyClass:
def init(self, v):
print(v)
MyClass(5)```My most recent favourite Python horror story.
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | Hello, world.
002 | 5
def decorator(function):
...
@decorator
def function():
...
#more or less equivalent to
def function():
...
function = decorator(function)```
@somber heath :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 11, in <module>
003 | TypeError: two.<locals>.f() takes 1 positional argument but 2 were given
This is what I get for not offlining this beforehand.
>> lst = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0]
>>> lst[::-11]
[0, 1, 0]
i want similar indexing functionality in cpp
Nuus!
NUUUUUUUUUUUUUS!
nuse
XD
i will always GI IVE UP
always gonna LET U DOWWWN
always gonna RIIIICKROLL YOU ON ANOTHER LEEEVEEELL
Rough on the pacing on the last one, but I applaud it
lol thanks xp
i like the concept of inception
"Gonna take away your snacks and, DESSERTS TOO"
XD
my taskbar just restarted
for the second time today
again nothing else
not the desktop
Huh
PUPPET SATANS!!
Joker was an uncomfortable watch.
I liked it personally.
You end up kind of rooting for him to turn full Joker because at least then he's not at war with himself.
He becomes lighter the more Joker he gets.
Yeah, he's very relatable
my name now must be understood in google translate
im learning japanese so i figured i'd throw maybe an entire server or two with that knowledge
you're welcome
I've learned a couple words in mandarin, 电源. Means power supply
into the spiderverse was a great movie
I containerized some horrible Java needed for an algorithms course lmao
Haven't written Java for years
Wait, is one of those named "give head"?
Peter Parker (Tobey Maguire) decided it would be a great idea to strut his stuff down a busy New York Street. Take away the fun jazzy music and you are left with something... well... painful.
-Mix Minus-
Ever wonder how famous movie scenes would work if you removed the epic music? Well we do.
At Mix Minus we take iconic movie moments... remov...
yes, and it's running on the hostname fire-crotch
Uh.... huh
Shazzam was campy.
Very..... classy
#!/usr/bin/env bash
if [ -z "$WORKDIR" ]; then
WORKDIR=/
fi
podman run -it -v ~/.Xauthority:/root/.Xauthority:Z -v ./src:/src --net=host \
-e DISPLAY -w $WORKDIR algo-test:latest $@
that's the one that makes it non-headless, hence the "head"
I still can't believe the course was like "yeah just install these Java classes in /usr/local, trust me bro"
How about no?
"I'm Batman. I don't want to go on the cart. I feel happy! I'm batman!"
For nearly three decades, voiceover actor Kevin Conroy has been the voice of (animated) Batman. He has voiced almost every iteration of Batman in cartoons, animated movies or video games. Conroy began his career as a theater actor, attending Julliard, a prestigious acting school in New York City. He studied alongside heavyweights Robin Williams,...
This is the voice of Batman to me
Heath Ledger is forever the joker for me, though I do understand people who are Mark Hamill fans.
Like I am
The pairing of Conroy and Hamill is just 
Transmetropolitan is a cyberpunk transhumanist comic book series written by Warren Ellis and co-created and designed by Darick Robertson; it was published by the American company DC Comics in 1997–2002. The series was originally part of the short-lived DC Comics imprint Helix, but upon the end of the book's first year the series was moved to the...
Very very very good
The Credible Hulk. "Yeah, I believe him."
@scenic wind
@rugged root can i get stream perms ;p, streaming code?
51,266
302,140