#ot1-perplexing-regexing
1 messages · Page 30 of 1
wheregoes is pretty good
and what about when the url is found? is there some online VM kinda thing?
Sorry I’ve been in a work meeting. Wheregoes is fantastic, but I use a VM with a VPN constantly, so I just kinda send it. Whois/Burpsuite to chase down requests as well.
figured that. don't have a vpn myself, so no-contact methods for me only. no google results was sus enough for the proper url, and whois (forgot about that) says it was registered today
Yeah generally any time someone links something I don’t recognize I bump a whois out and just pop it open in a VM to see what it’s all about. Feel free to poke, if I’m around I don’t mind chasing it down quick. Caught me at a bad time cause I’m in a work meeting lol
your timing is ok - bast nuked the message and poster anyways, so the threat should be gone (from here at least)
Someone on our team has a neat toolkit for no-contact analysis of websites I think. Lemme poke him.
https://urlscan.io/
https://browserling.com/
Were the two that were recommended RE: this conversation.
browserling is also no-contact, it's like a little few minute VM you get to browse the URL
GitHub is a database
oooooh browserling, pretty cool, TIL
this is the best code quality
I want the satisfaction of knocking this out in a little one liner and looking at the diff.
say wat
hi guys
my name is itsme and im a little bit struggled with mathematics
i got this problem and i would like if someone can help me to solve it
i already make another one
but im struggled with this one
What's the objective? To simplify?
Or to prove those are equivalent?
i think i have to demonstrate that the left part is equal to the right part
because the last that i did was
but this complicated to me a lot
what
this is another one
yeah the other one looks weird
what is sen and why is there one without an argument
also what does a dot mean in this context
ahhh sen is sin but in spanish
ahh yeah
i forgot to put the argument in the 2senx
i made that with mathtype in google docs excuse moi
@uneven ingot let me write something out for you and i'll show you
ohh yeah anything helps me
thanks robin for being with me like that
@uneven ingot
lmk if you don't understand something
also sorry for bad handwriting lol
your handwriting is pretty nice, im juts a little bit lost
ohh okay you first solve the (1+coscA)/cotA and then you solve the cotA/cscA
ohhh okay
you solve it both of them
the right part and the left part
uff that's was a large problem thanks!!!
any tip or something that you can give me ?
exactly
For?
indeed don't feel bad if you didn't get it first try (i actually have chicken scrawl trying to actually figure it out on a second page)
the image i sent you is just the cleaned up version
That's kind of generic but you end up building an intuition for it as you do more and more math
makes a lot of sense thanks a lot robin you are a lifesaver
ill study that problem you sent
Hi @grave cove
You should grow up to be Edd
Don’t do the code
Do the math with letters
hell no
my math knowledge extends only to calculus
though the engineering program at uni makes us do linear algebra and stuffs
But it works, according to your fans
Unlike your code that I am fixing
it be that way
Do what you’re good at
i can make a pretty good discord bot but that's about it
doge
that's a nice lookin dog
I want to learn python along with AI
Is it link between python and AI
@grave cove
Python is often the language of choice for AI/ML researchers, yes
For that we need separate software for both or in one we can run
@grave cove in PhD we can take specialization of AI
could've just used the Pythagorean identity with csc and cot
it's like 2 lines
(What's the equation BTW?)
since 1 + cot^2 = csc^2
which you get just from dividing the pythag identity by sin^2
👀
Oh cool
the good thing is that you can usually do these in several ways. some will come to you more naturally than others
this is the type of problem where seeing how others solve it helps a lot
stickies method is probably better
best method is clearly to differentiate and then prove equality
and then show equality for some A
ain't no way I'm differentiating that
it's not too bad
you could make it slightly easier by converting to 1+sin /cos ig
oh huh
it's 1 + sin / cos^2
neat
i guess that does follow from it being 1+t/1-t
- get differentiated
+ l + ratio + didnt' ask```
get integrated nerd
Finally, these things are done 👀
I think their factories had a break for a few days recently or something so it took a lot longer than usual
pee cee bees
my favourite type of bee
mac bees are superior
damn moyen is orange now
Twitter is better on the app guys.
Aboo and ModenChat are both new moddies.

Proud of the homies.

Mod aboose opportunity
he was supposed to pay up may 1st
but missed his payment
so now he owes me interest next month
woah woah, I never agreed to the interest
I'm glad you appreciate my totally qualified opinion
I like how everyone is helping everyone else here
what about me 😭
don't worry psvm you can be my reference
I've got my CSA exam in a few minutes 😩
Are you staff anywhere
thanks
remember, if you get less than a 5, you need to pick a different major than CS
some dude wanted to get food so it's been delayed by a couple minutes
sometimes
🤔
wat
perfection ethics work slash
nah
the longer it takes, the later I get to go back to actual class
delay in what context
delay in getting started
the technology is so advanced and I can solve a simple problem of delay
that isn't great?
a stop sign
AT 30 YEARS OLD
the last to know
Local Snekbox 😄
(UNREGISTERED)
I'm not paying for Sublime Text
i think the only ones who do are the cia
mr lavish lifestyle
lavish maba--
Kinda' cool that you can see it lock in certain numbers.
yess thats what i love about crypto challenges
so satisfying - it's like seeing the insides of the lock click when picking locks, but like in crypto
You'll notice the message at the bottom tells me to do it in hex.
Because... you know.
That's cool.
Took me forever and I think I got distracted with something else and gave up.
lol
while True:
QUERYVAL = (UPPER+LOWER)//2
print(f'TRY: 0x{BASE}.{QUERYVAL}')
httpr = requests.get(f'{HOST}0x{BASE}.{QUERYVAL}')
textresponse = httpr.text
if 'greater' in textresponse:
UPPER = QUERYVAL
elif 'smaller' in textresponse:
LOWER = QUERYVAL
else:
print(textresponse)
break```
Have u made a kernel?
Made? No. Broken? Many.
I'm a programmer in potentially the loosest sense of the word. I can put a coherent program together, but it won't win any awards and 'working' is a fragile concept.
lol
neither do the rest of us
welcome to the club
Ansible good, become Ansibling
you underestimate my power
the anstelble
reminds me of when you take terms of a p adic sequence
i suppose just taking terms of a normal real sequence also works
Ansible lets Robin deploy his bugs faster though!
str.replace(old, new[, count])```
Return a copy of the string with all occurrences of substring *old* replaced by *new*. If the optional argument *count* is given, only the first *count* occurrences are replaced.
why is it that when i do changes to code in my projects it's always about 100 lines of changes
i don't even think it's that much
it's easy to get carried away i think
is that a lot?
molecular commits
Grades molecular average
the channel name says otherwise
you're just perpetuating fake news Steler
what fake news are we pushing this week?
you have no choice. youve pushed back the deadline 3 times at this point.
if i dont add interest, then you will just keep pushing back the deadlines

I made a ray caster in scratch
It took me a few hours
Would like to share
!otn a chris is fake news
:x: The channel name chris-is-fake-news is too similar to pydis-is-fake-news, and thus was not added. Use !otn forceadd to override this check.
!otn forceadd chris is fake news
:ok_hand: Added chris-is-fake-news to the names list.
Chris is pydis??
no.
maybe
your face is pydis.
pydis nuts
you didn't have to do me like that 😔
when I worked at starbucks in like 2017, a customer called and cancelled their mobile order, and my coworker who received the call just said "[customer name] is fake news"
and no one was sure what they meant, so people made the order anyway.
lmfao
@vale raven
what
IDK
may i be of assistance
No

🐾
well.
One of the servers im in shows me this
Does this mean it got blasted?
Wouldnt discord outage have some sort of icon change or something
This OT name is lying
Bless
in terms of cleanliness and readablity rate my code
https://hastebin.com/share/esefivepil.javascript
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
var bad, use let/const
Consider adding strings to an array and joining them instead of += but since those operations dont change with input its fine i guess
Also consider template literals for multiline strings
Cant use arrow functions for everything tho
arrow functions funky stuff with this
moyen how would you rank the following: discord mobile, discord web, discord desktop
desktop discord crashes at least once a day for me
things are going well for us.
daily at this point
what did you break now?
There's a certain condition that, while exceedingly infrequent, kills our poor bot.
err api
(Malware authors reading this, our api is flawless and has no such conditions.)
There is no defense
Go's gopher i think?
main.🐍 when

skill issue
Come lang
desktop
web
mobile
el oh el
I imagine trying to import as module would go less well
Go++
Robin uses Arch BTW?
cool
jesus@heaven:/tmp$ python3 main.:snake:
Hello
works for me too
real
not real
what's wrong with json for config files?
json is IMO somewhat less human-editable than toml, and less readable
for a language designed for configuration, it surely sucks at it
personally, I favor hjson (https://hjson.github.io/)
what does?
toml?
i hate this for a number of reasons
exhibit a:
those are shit reasons to have two comment types
it also just has a lot of exceptions
and
have entirely opposite rules
your hate is irrelevant
fair
@grave cove re #community-meta message
Yeah, I saw someone else using it here a while ago. It allows you to search public github repos (including via regex etc.). Super nice. GitHub are working on a native system for it, but it was like, a year ago now that they announced that. 
Been using it for a long time; definitely recommend
And it's got a button on the top right to open the file/line in github too, so you can search and then go straight to the file on github (or even the same site if you don't care about going to the github page)
Thanks! I've bookmarked it. Looks incredibly handy
it was like, a year ago now that they announced that
Heck, 1.5 years ago almost: https://github.blog/2021-12-08-improving-github-code-search/
That's when they opened the beta it seems, but it's still not completely released yet
It is, isn’t it?
Dec 8, 2021. So... 1 month 2 days away, but yeah, near enough
And that's the beta announcement, I feel like there was another before that
There was a couple of announcements
They announced a new code search
Then they announced a new UI
Then they announced “the new new UI with new and improved code search”
Then a few months later they announced the “navigation update”, which is another new UI
They really didn’t do themselves any favors there
But the new new code search is in open beta
Nice lmao
Is great
Yeah, I imagine so
Do you two actually not have it?
Wonder if it works with your own private repos 🤔
It does
Nice :)
You have to opt in, and I guess I never did 
Shouldn’t have to now
Maybe
Your reminder will arrive on <t:1683394801:F>!
@carmine apex
Give it a shot
Sourcegraph was always buggy for me
GHCS is great
The “auto_enroll” in here should catch you up
https://github.com/search?type=code&auto_enroll=true
Here's your reminder: ^
[Jump back to when you created the reminder](#ot1-perplexing-regexing message)
Ah, nice!
IKR!
Is bootiful
Just ignore the redundant f-string there, I wrote that a long time ago
I wonder if there's a way to easily see all the code I contributed to a repo? 🤔
Doesn't look like it 
Most the options seem to be listed here https://github.com/search/advanced
Floating point moment
graph goes hard as album art
the skiers crashed at the bottom
this plot is about the relative motion of relativistic ships so this works well actually
ah
it ends up calculating stuff like Sqrt[Cosh[20]^2 - (19 Sinh[20]^2)/100] which has catastrophic cancellation
but at least I got a fun result: if two ships start from the same point with accelerations a₁ and a₁+Δa, their distance as measured by a light distance finder changes, with the first ship's proper time, as
where I'm missing factors of c because c, of course, is 1
Hello lizard peoples, I wanted to simulate gravity between bodies for fun, but i found that any more than 150 particles begins to lag immensely (the video attached is ~80 particles). everything seems dandy until up to there, I moved all the math functions like abs, sin, atan2 to numpy, optimized it and used Cython, but the very best (while running slower still) was ~250 particles. Is there anyway that I can go past this (to a few thousands, maybe even tens of thousands). BTW, the code for determining the velocity of all the particles to the rest, is O(n^2) because each particle has to be compared to the rest, is there someway that i can reduce that? (maybe through grouping very close particles as one particle or somehow)
and this was done with pygame, if the issues is the library, is there any other faster library i can use?
See, say, https://en.wikipedia.org/wiki/N-body_simulation. One way is to spatially-partition your points into boxes, and within a box compute interactions faithfully, while when considering other boxes, merging the cells in the other box into one.
but there's tons of complexity under the hood
e.g. the fact that you'll get more accuracy if you don't just assume the points in a box are a point mass, but use a multipole decomposition. so there's some mass in the center, and also some, uhh, dipole gravitic moment, and so on
EDIT: after some thinking realised that with regards to a system of particles's center of mass, the dipole moment is zero. so the lowest one after the sum of masses is the quadrupole
oh nice, found a better page on this: https://wikiless.tiekoetter.com/wiki/Barnes–Hut_simulation
The Barnes–Hut simulation (named after Josh Barnes and Piet Hut) is an approximation algorithm for performing an n-body simulation. It is notable for having order O(n log n) compared to a direct-sum algorithm which would be O(n2).The simulation volume is usually divided up into cubic cells via an octree (in a three-dimensional space), so that on...
the tens of thousands of particle kind of scale is best achieved by using GPU compute
opengl?
*Disclaimer: This video is not meant to be taken seriously - the speaker doesn't really hold these views, in fact much the opposite. The slides were written by someone else, and not shown to the speaker beforehand!
In this Karaoke talk, one of the biggest Rust enjoyers at Warwick Uni is made to insult everything they hold dear - from the mascot...
if you like that, you'll love this https://www.youtube.com/watch?v=ul9vyWuT8SU
Follow me on Mastodon: https://hachyderm.io/@fasterthanlime
Support my work: https://fasterthanli.me/donate
00:00 Intro
00:13 What's Rust?
00:49 Number 1
01:10 Number 2
01:35 Number 3
02:01 Number 4
02:27 Number 5
02:47 Number 6
03:10 Number 7
03:30 Number 8
03:50 Number 9
04:09 Number 10
04:34 Outro
it's absolute comedy
PyDis Fanfic
leeks

incredible
This is disgusting.
lmao why
Rust is easily the worst language. Ima report that youtuber 😄
based
It's saying it would be the best if it was the only.
even if it was the only lang, it's still the worst
It would be both
using nothing would be better
Good point 
But also the worst.
Cause it is... the worst.
Harry Spotter, the boy who lifted.
Hedwig bulking fr
harry potter and the swoll-cerer's stone
Hi i wanna ask,so i just finished a HTML tutorial should learn deep further about HTML or instead learn about CSS or JavaScript
The tutorial includes about
Img
Video
List
Form
Audio
Color text
Basic text
Etc
wdym color text
LOL literally the next day
https://github.blog/changelog/2023-05-08-the-new-code-search-and-code-view-is-now-generally-available/
Adventure Time Lemongrab?
that's if lemongrab got a FAANG job and depression lol
I know this.
#python-discussion message
@spare oriole can you confirm that you did tell her about omelette du fromage?
sadly, no, but i did tell her about oeufs poches
that was a challenge from my speech teacher, bitter woman.
missed opportunity
which one of those is the rickroll
surprisingly, neither
or both
omelette DU fromage is serious business
i must say, @warped sentinel - i've not heard of la cite de la peur before, but the scene with the manual sfx, especially the cat, is hilarious
my pfp also comes from the same folks: https://www.youtube.com/watch?v=XkOYGrZQqmU
btw, la cite de la peur is a whole movie. One of the best movie ever
Damn lmao
Spooky 👻
How do we feel about VScode's new dark mode
I need community opinion because i have none of my own
I've been using it for a while now
Hayo, I want to make new friends
it's fine but i don't like the borders
it's good but i don't like the new UI they rolled out
what new UI?
If you're on mobile, it should be in settings iirc
coding on a soft keyboard is painful
Once again, I am forever thankful at panera's free wifi at all locations. I get to kickstart a model to run on an hpc at some very random location in the New England area on my drive home
new england? 👀
You are welcome
england was so good they decided to make a sequel
OpenVPN on your own hardware is great for on the go
Ideas don't wait for you to open your pc
perhaps skynse would like this
idk who was that flutter guy
I use synthwave black
I like pitch black IDEs
Softer on my eyes
I use noctis obscuro
Haven't tried it
skynse is indeed the flutter person
ngl i am a big idiot fr
This is from 2022 so before the generative AI frenzy this year
@mystic drift If you care to review how i've installed docker in WSL.
https://github.com/Preocts/eggcarton/blob/main/shell-scripts/install-docker.sh
It's fine
Honestly, this just might be the push I needed for me to actually go full Linux for development
you do you boo.
Thank you though 🫂
Aaand done
Now I'm an Arch believer once more
Gotta rice the shit out of it though
when will dolby audio drivers ever get good on Linux
When you write a decent non-proprietary driver solution that sounds good.
just gonna sneak in to Dolby's HQ, stealing Windows driver source and porting to Linux
sounds easy
Imagine waking up at 4:20 in the morning with low blood sugar, sweaty and disoriented and devouring every snackie within reach to stay alive and conscious
Haha
Couldnt be me haha

eh i've had worse snacks
Like what
I usually keep a jar of nutella around for things like this
The woman ate it all and didnt replace it, smh
one time i ate almost an entire piece of naan before realizing it was moldy on the side i didn't see
i certainly became a lot more cautious after that
Last time i had something bad it was milk
It was day old, for some reason it maybe my coffee chunky
It turned to yogurt overnight 💀
ew!
she ate the whole nutella can???
Glass and all
I did this with cinnamon bread at like midnight
Guess I'll perish 🤷

Woke up.
Snaaaak.
Ate half a loaf of moldy cinnamon bread.
Looked at it the next day and it was… not ideal.
did you get sick from it
omw to eat all the mold I can
im allergic to penicillin :/
I am too.
… what?
gn
Graduated in December of my senior year 
how
As my father describes me regularly: “You are the smartest dumbass I know.”
based father
Would probably drown in a light drizzle by looking up at the sky with my mouth open, but I retain knowledge pretty well.
So I took a shit ton of advanced and AP classes
@low chasm good luck with your world exam tomorrow, have you been studying at all?
I've tried ;-;
my teacher is doing a breakfast/cram session at 6 before the exam, so I'll go to that too
Do console.log(correct+1) in the Line before the Last line
its fine
I've used it some more by now, it feels nice
You know, some things you dont have to show people
yeah its not one of them
15874 chars long
I've seen worse
there are worse
please submit to pyobfusc.com
I'm pretty sure we've asked you to deobf worse
from functools import reduce as red; from math import \
(factorial as fact, comb);import sys;from decimal import \
(getcontext as c,Decimal as dc);(a:=range,
b:=int(sys. argv[1]));\
c( ).prec=b ;ber=lambda\
e,f=[dc(1)] :[f.append(\
1-sum(comb( h,g)*f[g]/(h\
-g + 1) for g in a(h)))for
h in a(1, e + 1)] and abs( \
f[-1]);print ((2 * fact(b) / \
(ber(b)* 2** b * red(dc.__mul__
, [1 - (1/dc (i) ** b) for i in
[2, 3, 5, 7] ]))) **1/dc(b)))
can someone deobf this
!e
from functools import reduce as red; from math import \
(factorial as fact, comb);import sys;from decimal import \
(getcontext as c,Decimal as dc);(a:=range,
b:=int(sys. argv[1]));\
c( ).prec=b ;ber=lambda\
e,f=[dc(1)] :[f.append(\
1-sum(comb( h,g)*f[g]/(h\
-g + 1) for g in a(h)))for
h in a(1, e + 1)] and abs( \
f[-1]);print ((2 * fact(b) / \
(ber(b)* 2** b * red(dc.__mul__
, [1 - (1/dc (i) ** b) for i in
[2, 3, 5, 7] ]))) **1/dc(b)))```
@foggy jungle :x: Your 3.11 eval job has completed with return code 1.
001 | File "/home/main.py", line 13
002 | [2, 3, 5, 7] ]))) **1/dc(b)))
003 | ^
004 | SyntaxError: unmatched ')'
No.
lul
fix the syntax error first
oh this is the wrong version sorry
I wanna' finish that builtins dict fuckery that I was doing.
ok I got it working:
!e
from functools import reduce as red; from math import \
(factorial as fact, comb);import sys;from decimal import \
(getcontext as c,Decimal as dc);(a:=range,
b:=100);c ().prec=b;\
ber=lambda e,f=[dc(1)]:\
[f.append( 1-sum(comb(h
,g)*f[g]/(h - g + 1) for
g in a(h))) for h in a(1,
e+1)]and abs (f[-1]);print\
((2 * fact(b) /(ber(b)* 2**
b * red( dc . __mul__, [1 -
(1/dc(i) ** b) for i in[2, 3,
5, 7]]))) ** (1 / dc(b)))
@short skiff :white_check_mark: Your 3.11 eval job has completed with return code 0.
3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117064
cute
good, now do tau, the superior constant
ok that's actually a good idea
also it uses the gauss-legendre algorithm which converges super fast
you can do like 1m digits of pi easily
from functools import reduce as red
from math import factorial as fact, comb
import sys
from decimal import getcontext as c, Decimal as dc
((a := range), (b := 100))
c().prec = b
ber = lambda e, f=[dc(1)]: [f.append(1 - sum((comb(h, g) * f[g] / (h - g + 1) for g in a(h)))) for h in a(1, e + 1)] and abs(f[-1])
print((2 * fact(b) / (ber(b) * 2 ** b * red(dc.__mul__, [1 - 1 / dc(i) ** b for i in [2, 3, 5, 7]]))) ** (1 / dc(b)))
``` base
oh no wait this one doesn't use gauss legendre
it uses the bernoulli number derivation published in Plouffe (2022)
ok wait this is my best one see if u can deobfusc this: ```python
n=256;q, t, m, e, p, c, f=(range(n),16,lambda x
,y, r=0:m((h:=x <<1,h^283)[
h&n!= 0],y>> 1,(r,r ^x)
[y&1])if y else r,lambda
a,w= 1,p=n -2:e(m(a, a),(w,m
(w,a))[p&1] ,p>> 1)if p
else w, lambda b: list(
map (print,["%.2x "*t%(*b[r:r+t],)for
r in [*q][::t]])),lambda a,i: (a<<i|a>>8-i)&255
,lambda a: (a^c(a,1)^c(a,2)^c(a,3)^c(a,4))^99);
p(s:=[f(e(i)) for i in q]);p([*map(s.index,q)])
full ```py
from math import factorial as fact, comb
import sys
from decimal import getcontext, Decimal
getcontext().prec = 100
def ber(e, f=[Decimal(1)]):
for h in range(1, e + 1):
sumvar = 0
for g in range(h):
sumvar += comb(h, g) * f[g] / (h - g + 1)
f.append(sumvar)
return abs(f[-1])
print((2 * fact(100) / (ber(100)
* 2 ** 100
* (1 - Decimal(2) ** -100)
* (1 - Decimal(3) ** -100)
* (1 - Decimal(5) ** -100)
* (1 - Decimal(7) ** -100))) ** (Decimal(1) / 100))
this is basically exactly what my implementation was before I golfed it. damn good job
Though the final algorithm is a bit off, I don't think you need all those -100 exponents
i mean i just simplified 1 / x ** 100
hmm wait lemme check something
@small coral I'm pretty sure you can just simplify it to one division, and then the bernoulli number multiplied by those constants based on n
oh no wait you need two
also one of the other main issues with this approach is that the only algorithms that have decent complexity for calculating bernoulli numbers leverage a high precision value of pi
so i had to use the factorial type approach
this looks like some hexdump program idk
it spells out AES if that gives a hint
the hex values are very specific
She Rjindael on my S-box till I encrypt
def m(x, y, r=0):
if y:
h = x * 2
if h & 256:
h ^= 283
if y & 1:
r ^= x
return m(h, y >> 1, r)
return r
def e(a, w=1, p=254):
if p:
if p & 1:
w = m(w, a)
return e(m(a, a), w, p >> 1)
return w
def print_lines(bytes_string):
for r in range(0, 256, 16):
print(' '.join(f"{x:.2x}" for x in bytes_string[r:r + 16]))
def leftrot_8(x, shift):
return ((x << shift) | (x >> 8-shift)) & 255
def init_sbox_num(a):
return (a ^ leftrot_8(a, 1) ^ leftrot_8(a, 2)
^ leftrot_8(a, 3) ^ leftrot_8(a, 4) ^ 99)
sbox = []
for i in range(256):
sbox.append(init_sbox_num(e(i)))
print_lines(sbox)
print_lines([*map(s.index, range(256))])
``` idk
that's a really good dissasembly, if you want the version I had before I golfed it it's here : https://gist.github.com/juliusgeo/9e4eff4c0519f7f7b9af122d59a3253e
this helps a lot ```py
from ast import parse, unparse
print(unparse(parse(r"""...""")))
but yeah basically it uses binary finite field arithmetic to calculate a specific S-box. the e function I believe calculates the multiplicative inverse, and m calculates multiplication. the function you called leftrot_8 is basically just confining the coefficients of the polynomials to be in the right number space.
because you're calculating most things by shifting integers, which inevitably will result in numbers that overflow. in python you can't overflow integers, but you need to make sure that your version does have overflow so you can simulate the finite field actually being finite
oh shit i'm gonna add that to my snippets
yeah pyobfuscate is just that but worse
@mild sierra Hi, about the help thread that you opened earlier - you didn't break any rules, getting data from NewYorkTimes via their API is perfectly fine - you're good to get help with it.
@low chasm ok thx!
thats one way to put it
it can get big
Easily?
deps
ah yeah
Though this is hard codded only works running as file
It generates strings from globals
that's fine, you would just have to provide whatever shell command you use to run the file like python golfed.py
🙂
you call that cute 🙂
how is this as a youtube thumbnail?
Pretty sure it's supposed to represent Neanderthals or early humans. 
is tarzan the name of an early AI or something
Tarzan is a savage feral child
tarzan progeamming
nice
tarzan gaming
I have a python adjacent question and my Google-fu is not up to snuff today.
Is it possible to have a set of actions happen anytime I open a terminal window? I know there is a bash/ps1/etc profile that gets looked at to load certain items in a terminal. Does it have enough functionality for me to code in a process where everytime I open a terminal, it alters a specific file?
yes, it's basically a bash script (or pwsh, or whatever you're using)
I guess it's time to dive in powershell documentation!
@terse sluice play with me? 🥺
I need you to know how odd this statement looks if people don't know that dennis used to be f1re =P
pft
just some friendly gaming 🥺
who was f1re?
Hayo, anybody online?
maybe
dennis presumably
he's an admin here
when fixing a missing import fixes 3/4 of your failing tests 
fixing another one got me down to a single failing test
that's nice
You know whats a nice thought. One day we will be dead
such is life
aboo, 0x2f is 47, not 2
how large is your python folder?
I have no idea it's by project not language unfortunately
oof
it's been 3 years
since mine is created
I have all my venvs in a separate folder in my root directory
or rather ~/
but yeah most of the other stuff is definitely metadata
ooh, almost same number of items, but yours is 6.3G and mine 1G
ohh i see
oh yeah you have 6k more files
Oh
“You Never Give Me Your Money / The End” - a tribute to The Beatles - is out on all digital platforms. Crush the link below to buy the vinyl and support Doctors Without Borders!
Music Video by Taylor Stephens
Buy the 7" vinyl!
https://www.tenaciousd.com/
Listen to the single on Spotify!
http://open.spotify.com/album/3To8nPz6KqbKRZtYJauPZ1
...
Anyone has seen the movie silver linings
What Server is that
build a bear
I cant find it
ping the doggo
@vale raven
Ping?
Why me?
ur server
Could you Send the Link to the Server, please? I want to join
If i'm allowed to
Thanks
No worries, feel free to invite whoever. There’s a permanent invite on the GitHub
@ moderators !!! advertising!!!
heck u man
why github it's difficulty
?
Everyone Join this server now!!!
too late
banned for advertisement 
I predict that satellite song will win again
https://www.youtube.com/watch?v=g8FmgUtUxvE
I don't think this is the song you mean but it's still a banger.
My love is like foot steps in the snow, baby,
I follow you everywhere you go, baby.
The pain as light has come to wake you
But you will never realize
That I inspire the dreams that guide you baby.
I follow the winds that bring the cold, baby,
I light a fire in your soul, baby.
The lightest touch of feathers falling
My love might be invisible
Bu...
no, the one by lena => https://www.youtube.com/watch?v=8QSgNM9yNjo
Powered by http://www.eurovision.tv Lena will represent Germany with the song Satellite at the 2010 Eurovision Song Contest in Oslo (Norway), taking place on the 25th, 27th and 29th of May.
But what social commentary does it bring to the table
that most people don't care about it?
substantially
I don't vote for eurovision
Do you think its because the music is good?
It was very good though
Impossible, there arent any good songs in Eurovision
What about that time israel won with a chicken song 🐔💀
Lowest hanging fruit
That song wasn't just low hanging
It was straight up resting on the ground
Like a wriggling worm ready to be pecked at by chickens
Ah, now I get it
Chickens are dinosaurs and dinosaurs are badass
what did he say
He was switching apps
SyntaxError: not a chance
@rotund cipher what i mean is that people are good not because of ethics or morals or whatnot, its because bad people died out
just like cynical ppl
this is just genetic morals
semantics
but semantics ARE crucial for any discussion
so dont take this wrong as me dismissive at all
i know in many places morals/ethics are understood as "objective good/bad" but theres also the more plain useage of "the good and bad of any given person"
i think hegel like differentiated between the two and called one morals and the other ethics but dont quote me on that
regardless ym actual concern with AI isnt that they could be "evil" but that they are "unpredictable"
and you sort of can mathematically prove that any neural network is unpredictable unless you comprehend the entire network itself
but a human is also unpredictable?
so like we train NWs and other AI models nowadays thru this evolution/learning method, so we have a teacher subAi and test environments and blah blah
not nearly as unpredictable, not even close, when you kill someones child you can make a prediction as to them being rather unhappy with you afterwards
with an AI, even what you trained it on, is not predictable
i dont think that ais are any less predictable, especially to data scientists
so the issue is, Ais arent algorithmic solutions to mostly algorithmic problems
in fact, humans brains are much more complicated
anything that could have an algorithmic solution, but creating an algorithm for would be too big a pain in the ass to do usually has a NW thrown at it, its rather a brute force method really
the issue is we make asusmptions about what its goals are
but they arent algorithmic problems and even if they are, why not use ai
because we train it to complete goals
but it mght not ever actually encode to solve that goal but merely something that looks like that goal within the test environment
same thing in life
but then when you put it out, any anomality could have any side effect
a student might go to school
ANY side effect
and then shoot it when he/she grows up
the two are simply not a fair comparison
instead of doing whatever
this is a very american take
youre just supporting humans because of emotions
kids dont shoot up schools in europe on mass because of healthcare, whatever
im supporting humans because science
science supports ai
actually an algorithmic solution beats both
proven algorithm >>>>>> everything else
whats your point
but AIs are black boxes
write an algorithm to recognize images
not machitoons
@rotund cipher some ppl are good only bec they think theyll go to hell if theyre not
who cares about love when you have a proven algorithm, unlike love 🙄
humans arent any better than ai
for solving problem A? yes
theres a reason why so many higher up IT guys are incredibly wary about the current direction AI is heading, and thats because they understand what it is very well
i wish i had the language to properly explain it
but the reason isnt ethical
its practical
also ethical but thats secondary lol
ai was being used a while ago for recognizing images its just making new leaps now
ppl are jealous that ai is smarter loll
if youre so scared you should learn how ai works, youll prob calm down
the gpt is just a huge transformer, nothing more
im literally taking courses on neural networks at an academic niveau you goofball
i study theoretical mathematics at the university of vienna
ok dude
im not some goof who doesnt know what theyre talkng about
modern AI is a risk not because theyre inherently dangerous, its their implementation and the blind faith in correct goal-syncronicity thats verifiably a mistake
well then i don't get it. why are you so worried if the world is just atoms and well all die sooner or later anyway
AIs will pass all testing environments and then fail miserably outsid eof it
how is that different from humans passing exams and failing jobs
due to unforeseen factors, and then those factors will be "patched" etc etc except you can prove that an AI can -always- develop hidden asyncronicites
because the AI doesnt intentionally cheat to pass
you never call anyone out like that, even if its obv theyre lying cuz they get mad lol
it passes perfectly what it is being tested on, it can perfectly fine complete the TESTS
the issue is that the tests cannot test EVERYTHING
there are always anonamilties
these two are NOT the same
stop with the human comparisons
AIs arent humans
well theres test data to avoid overfitting
ones a bundle of cells the other an algorithmic black box
this isnt about overfitting
and any other mistakes will be insignificant, compared to the powerful ppls mistakes rn
yk the saying "life goes on"? whatever happens, well survive dw
they profably will not be "insignifcant" as could be seen nmerous times already in test environments and experiments specifically proving my point
but experiments dont mean shit to the AIvangelists so why bother
whats science
what good is SCIENCE in the face of "but i think its fine"
ok lets look at the worst case scenario
ai in every single vehicle backfires because of global warming or something idk
doesn't mean that airbags wont save right
and theres not much that ai can do that humans cant prevent
if an ai goes rogue in us then the other countries can fly in to save the day
itll be extremely difficult for ai to do significant damage because were not giving it power to do something, were just using it as a tool
just like a gun is much safer than a sentient gun
thanks for your contribution @rough sapphire
that is exactly what we are talking about btw
right @rotund cipher
the reason debugging exists is because programmers dont prove their code
the thing is you cant debug an Ai having wild side effects easily
wdym "prove"? dont they just make mistakes
in maths you prove things, as in PROVE prove, in science you at least have evidence, but most of modern IT is pretty ... halfassed on that front, its duct taped code and hope
one of the things as well is that an ai needs to have enough power to run and so any person could just nuke the computers if something happens or shut off the power or just switch it off. and maybe also a failsafe
Ai falls in one of those categories where if you dont give them any "effect" its mostly harmless
like chat gpt 4 or whatever
it prints texts
texts, thats the side ffects, it often lies because it doesnt "understand" what its babbling its just a fancy chat bot really, but then you get to cars, or medical bots, or what have you
btw @rotund cipher how do you have such a good vocabulary but such terrible grammar
this wild abandon of AI implimentation, every field is warning IT that thats stupid
but IT does not care
i skip words cuz im lazy
i type faster than i think out loud on occasion
no for example "it prints texts" text is correct
you make many spelling mistakes too but thats fine
whats wrong about using the plural
text is the plural
there is no "texts"
and somehow you know words like semantics, alvangelists, and so on
text (countable and uncountable, plural texts)
i do linguistics as a hobby xP
yes i meant many texts
youd think so but na
ai will do the languageing for me
well, semantics and syntax, everything else is more or less secondary but still
thats actually fair because a language is for understanding
a buncha francish scribes frenchifying words and then the english did their own language dirty by "pseudo latinizing" it
f.e.
debt
did you know debt never had a pronounced b?
never, it got added because english scribes thought its etymology comes from the latin debitum
i mean it does in america
but actually it comes from french dette
ah yea but thats like "Ye olde" or "salmon" with a pronounced l
but at least youll never confuse it with "that" :)
where the spelling influences the pronunciation
ðæt, in old english
anyway, theres some other words like that all over english
btw do you know any other languages?
english is a pretty new language, you can't complain
DYK the Y in Ye is actually a very halfassed Þ
also who cares where the words came from at least we have them
it looks like youre sticking your tongue out
its not that new. take any creole of your liking itll be newer
the letter thorn used to represent all the ths in english
include the th in the
þe turned to ye
but was always pronounced th
but this became uncommon knowledge
hence why people think its "ye olde" instead of "þe olde"
i thought ye was lazy yes
technically ye is a lazy yeah
same root
no;nay;yes;yay, yay->yeah->ye
?
not to be confused with "hear ye hear ye!" where ye is an archaic second person plural
my mother tongue is german, i know basic finnish grammar, basic japanese grammar, the korean "alphabet" aka Hanguel (technically not an alphabet, but w.e.) and ehm, toki pona, a cute little constructed language
as a hobby??
i SHOULD learn some spanish but am lazy
that looks like a job
are you american?
no
odd, not being monolingual is very common in europe
i dont speak those languages, just know bits n pieces
but linguistics as a hobby makes language aquisition much easier
well alphabets are just scripts
i like scripts
because so many languages have english loan words, knowing the script alone can sometimes do wonders is understanding languages haha
do you want to work in the gpt department?
absolutely not
where then
fun
having a big vocabulary is nice
because you can explain yourself
satisfying
idk about fun tho
seems more like a nightmare
knowing other languages which you don't know the word in this lagnuage
fun proof by example for the LOTHypothesis ig
I'm yet to learn both Spanish and French
It's on my bucket list
coincidence are silver lines? like you see the c 4 symbol/tatics/go?
huh
if i'm storing something in a database and want to add a created_at field
what type should I use?
using postgres btw
Depends
Are you using an ORM?
sure, I'm using gorm
You should be able to pass in a regular datetime.datetime object then
At least, that's what we do with SQLAlchemy
is 20 reqs/sec ratelimit reasonable for a todo list app?
that seems way too high
soo, maybe 5 reqs/sec then?
underbeard
maybe 7-10
alright, i'm going with 8 reqs/sec
I would like to confirm something
for the truth table
A B C X
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 1
a product of sums expression for this is
X=(A+B+C)(A+B+C')(A'+B'+C)
right?
lgtm
why not X = AB + A'B' + AC
nvm
i got it wrong
X = AB' + A'B + AC
it doesn't really matter how simplified it is yet
just that that expression there is correct
because my teacher says that all of those should be negated
which I disagree with because it produces the wrong truth table
Hmm, it should be the right one
Everything I say will be generated as True
The missile knows where it is because it knows where it isn't.
In this Javascript tutorial, we'll show how you can use corrective commands to compensate for variations and drive your nuclear tipped BGM 109G Gryphon intercontinental ballistic missile from a position where it is, to a position where it isn't.
And enum's it's superiour in every way
No longer I will have to make useless tables!
I think you'll be glad to hear we also use enums
Blessed soul
Whom is "we"?
I- I thought I was the only one 

My team and I
Who are participating?
Kernel panic is the team lead, shennanigans our DevOps, aboo, moyen, jah, pupper, psvm, and a bunch others
I think we've got a team size of like 30 but those are the ones that are active
DM me if you'd like to learn more :3
Nice!
!rule ad
oh wow look a pydis staff breaking rule 6
i also feel encouraged to break rule six because a trusted member in the server has done it
Please don't D:
what kind of team is that? what does it do
what cool thing are you doing?
damn leaked
yes you are allowed
this is an off-topic channel, so only if it's off-topic
Let's just say its cybersecurity stuffs
okay
cool beans
I don't care if you say what you're up to, but don't advertise for members in PyDis. Looks bad.
true

🥴
that looks like poorly written code
is that supposed to be a joke?
I have no sense of humor
...spanking?
is there a file size that will crash the python interpreter?
not really
just limited by memory more or less
you only have 64gb of ram?

is that a lot?
but that is funny I wonder if you could do like a zip bomb but with a python file that just kept on loading larger and larger files into the interpretr
😦
one assumes that the python interpreter would eventually crash with an out of memory error
well yeah but only after slowing down ur computer for a while haha
also wouldn't it eventually start going to swap?
maybe it would get so slow it could never fail?
yes, theoretically
what's the theoretical size that would?
like order of magnitude
like 2^64 bytes
oh that's not too bad
16 exabytes 
that sounds like a lotta bytes
I don't think all 64 bits are available for physical memory addressing in x86_64 architectures
yeah, only 48 bits available, or 256TB
wait a second guys:python def infiniterator(): while True: yield """ #blank comment """ ''.join(infiniterator())
I had to stop the run there but it does seem to just endlessly take up space
idk if u even need the exec
from itertools import repeat
list(repeat(["string"]*100))
this one works way faster it was causing my computer to glitch because I couldn't stop it in time
ok I got a shorter and faster one I think: ```python
["💣"for _ in import("itertools").repeat(None)]
a='x'
while 1:a*=2



