#⌨coders-cave
1 messages · Page 108 of 1
because its probably corrupted
look
what
just
then what if the website's dates are in different languages per page what are you gonna do
they are also localized accordind to the poster
source
do this intead
main
yes
its in the headers
but thats not the exact date is it
wdym
if you check that for an earlier post it will be the same
the date
check this ones headers
found what
last modified
you need to get the date it was first posted?
but i remember thats just how servers store the image
like the file inside the server
and search "date"
the image wont be edited right?
the Date header is today's date too bad
the Last-Modified header is the last time the file was modified in the server i think
so i guess its reliable
is there really nothing i can do
because if the post was to be modified and the image was reuploaded then it would be a new file..?
bill
yes
thank you, now we're 500 years behind in technology
lmao
wait
if the hebrew is unreadable by datetime
then how does the website read it and modify it????????**
oh
its usually used for reading
writing
or just not reading the gif headers
doesn't affect this
usually stuff reads the header as plain text
so
its valid
until you try to
convert it into an object
that's not a string
guys give ideas
how do you even convert hebrew date to standart date???
٢٠٢٢-٠٦-٠٤T٠٥:١٠:٠٢+03:00
c++
Google's free service instantly translates words, phrases, and web pages between English and over 100 other languages.
LOOK IT SHOWS THE DATE
HOW CAN I DO THE SAME IN PYTHON
i know but you're not gonna implement an entire language translator in python
or are you
actually you can go with this
just do things like str.replace("hebrew", "english")
Dates in the Hebrew calendar
Ik
I found some stuff that might e useful
Some libraries
Rei you will help me right?
You can properly translate the date on Google translate
Just need to find a date translating module
is it C#
no
oh that means one thing, if c# cant do it then nothing else can :)
haha lmao yes
we can even do var @public = "public"; var @private = "string thing"; var @var = "var named as var?????"; Console.WriteLine(@var);
but you need @ keyword for that, and who in their right mind names vars like this anyways
but you can also do
struct Struct { string @string; }
Struct s = new Struct { @string = "a string" };
Console.WriteLine(s.string); // its self explanatory to get a field named string in Struct
Stop bragging
So guys I found out that date isn't even hebrew
It's Arabi
And I think some of our fellow programmer mods know arabic
Can they help maybe ??????
Turtle gut help
Yo Rei 
guess what
I figured how to translate the date
All by myself 😎
And totally no stack overflowing
Now rei could ypu help me make a code that detects if a string has arabic numbers in it?
> "stop bragging"
> brags
noob
Thanks
Just saving it
Did you just realized
ffs
guys the date isnt the time it was posted
the date is the gif file was created
what the fuk
but isnt that the same thing
NO
the website I am checking has a lot of gifs and gif files
I am trying to get the date it was published
NOT THE DATE GIF ITSELF WAS CREATED
ARGGGHHHHHHHHHHHHHHHHH ALL MY EFFORT WENT SHITE
rei help
frick
now i gotta find the publish date somehow
rei
i need dateS
can you please go to that source web i put here earlier
and help me find an actual publish date in the files
this is painful
wait
why are you trying to find something you cant find
if i were you id just put the Last-Modified date
nO
people wont care anyways, you're trying to make a copy of the entire website right?
i mean just look
if the publish date
is out in the open
then why isnt it in the web page?
if its not
that means even the website doesn't know when its publushed'
Vamo joga? Vamo joga free fire
frick off
Kkkkkkkk
website has no life and constantly checks if a new post has been published
so it will know the original date no matter what
website is an arsehole
rei help
@rose pawn fala alienígena, humano filho da put*
ian sorry for telling you frick off
but i dont understand you
talk alien?
are you talking alien?
is portugese alien?*******???
REI HOW DO I FIND THE ORIGINAL DATE
reI
rei i will write a poet for you
Roams around in servers
Explains codes to losers
Indicator of clues
REI the saviour of programmers
Hi not rei here
Don't you think that its time you learn how to use your search engine efficiently
Also im 100% sure the answer of your question is on the internet
Because
I have managed to find much rarer stuff on there
In 5 minutes
My problem is too specific
Rei the prophet themselves said that the website was flawed
Btw I would like to remind you that I figured how to translate dates from Arabic by myself
I mean by stack overflow but it's the same thing
Rei if you see this read messages above (there is even a rei poet)
Vgigvt ictcutcyibesilbvgvgg hi ivi h
@rose pawn for the
last
fucking sake
the amount of time you called me
its annoying
you're sounding like a 9 year old
LOOK
THE SHIT YOU'RE TRYING TO ACHIVE IS IMPOSSIBLE
the published data is gone
forever
because the website design it to be that way
stop asking me for the impossible
find answers for yourself ffs
you already did it many time
your issue is too specific?
generalize it
instead of like something specific to your project
try to like
"how to find the last element of an array"
instead of
"how to find the last element of an array that has 27 elements and is a type of ints"
Error fixed
I have a question
yes
@main brook hi! Are you here?
hai
@main brook may I ask you something
yeah i don't want
Damn
This chat is so weird recently
I guess
i attended a
coding class
today
its a trial righr
they asked me about stuff and if i have any experience
How bad was it 10/10?
forgot about that one
they told me
"i think this class wouldn't be beneficial for you, you already know all the things we're gonna teach"
they apparently made this foe
for
beginners
What did they teach you
well
Lmao
Yea thats pretty beginner
i know
but
he does it because
he doesn't know what to explain
lmao
he asked me alot of things
data structures, algorithms, languages
i told him i know all of it
THE CONCEPT ATLEAST
like hell i know all programming languages
lmao
To learn malbolge
nobody would know
because you'd be in a confinement cell
how do you survive 40c
And we have to wear uniforms
IN UNIFORMS
Full sleeves
holy shit man
my phone overheats
i'd die in 30c
its a very closed space
and the windows are
no ventilation
literally just a glass
i also wear uniform
I can probably survive 50C in winter clothes because summers have been insanely hot recently
So I got used to it
imagine having winter
you will be the only man standing after the Global Warming hits
reminds me
we didnt even hit -30c this year
it was snowing for a bit here
a few months ago
very weird
considering its a tropical area
We used to have awful winters here
cold is good
very nice haydot
Global warming 
bitcoin miners
One oven at a time
the globe is warming
of all global emissions
because
electricity
also quantum computer is a problem
with current internet
tfw you invent fake money and spend one fifth of the world's electricity printing it
lOL
its just Printing but Digital
true
What if
what haydot
imagine
some dumb people be like
"omg the globe is warming!, lets put ac everywhere so it stays cold!"
Open Quantum Assembly Language (OpenQASM; pronounced open kazm) is an intermediate representation for quantum instructions. The language was first described in a paper published in July 2017, and a reference source code implementation was released as part of IBM's Quantum Information Software Kit (Qiskit) for use with their IBM Quantum Experienc...
gl haydot
Idc
Quantum computer did some weird workaround
for securities
it does a
randomize
like bogo sort
learn quantum computing haydot you'll get to work at google and crack encryption
its great
What if
Im the first person
To create
QuantomOS
Thats not how you spell it
Idc
Yes
There are probably no emulators for quantum computers
But fuck it
I dont need to debug
Or test
quantum entanglement, superposition, quantum teleportation
go!
literally
quantum computer is fucked
when a qbit decided
"i shall teleport to somewhere else!"
rei as a fellow python enjoyer do you think C is worth learning
and your whole program crashes
yes
i just did a code solving
with C++
because the tutor said
python is slow
As someone who knows C you dont really learn C
Because its so simple
do you just suffer
hmm
cpp is cool but im talking about the OG
all you had to do was follow the damn addresses CJ
All you had to do was flip the damn bit CJ
we need more epic space rays
hm
that can be interpreted
in 2 ways
as a medical student
and as an engineer student
Medical students coming into this chat may be a BIT confused
Get it
Because
Bit
Yea ima go

you know when a medical student change their major
to IT
they'll hear someone said this
"yeah they used to have std but now not anymore which is kinda sad"
Just finished my game enemy system movement, just need to know why the frick it flies when it jumps 
prolly cause
ur using unity ?
yes
3d?
2d
ur using a rigidbody?
yes
u have gravity enabled?
yes
can i see the code for the jump
its more an issue whenever
the enemy is moved by velocity
the enemy basically takes forever to fall down
even tho i applied the same rigidbody settings
do less velocity then
of the player
thats not the issue
the velocity of Y is set to 0
but still takes for ever to go down
i meant velocity not like position
the X is not 0
fr
ok finally understood the issue
used Vector2.zero and it fixed the floating
thanks for the info about the 0 thing
nvm
i enabled wrong script
imma just keep it velocity.y
My man is talking about specific things in his code without actually showing it
Rust has now for me become
The best language
To ever exist
Its just...fucking perfect man
So yea I just wanted to show my appreciation for rust here
finally found the issue
I was dumb af at that time i kept the vector2.zero on update
not really
we have hamza who can come in, say c# good and start a holy war
Always has been.
potoguesee alein!!!
help me!
C# SUCKS!!!!1!!!11!!!!1!1111111
wow it didnt work
how can i summon code people
Cat gal sorry I thpught you were portogeese alien
that was iee
They just magically appear
how do i offend proggrammers?
You can summon me by saying a magic word
C# IS GARBAGE!111111111111111111111111
please help?
"OS" "low level" "bios" "uefi" "boot" so on
yeah ofcourse i do, what do you think I am? a uefi?
Anyways ima go play gd now as this chat sucks
ok boot
go play some bios
😎
btw I would like to rwmind you that somehow I havent done anything against server rules
must be so annoying for all those mods getting annoyed at me but not being able to do anything
bcz im lawful 😎
hey admins
can you move this channel up
so more people see it
can u put this under general
btw help
i could just modifiy the code rei alrady made
i need to spend time working on it and actually use my head
unaceptable
I have to get people on some random server to do it for me
yeah you have to do that in cs
consider helping
not saying you should help
just consider
and help
i am considering blocking you
as is half of this chat at this point
ValueError: Invalid isoformat string: '2022-05-17T+08:00 Shang Wu 11:21:20+08:00'
okay i wont say unnececary things anymore no problem
and if I do i will put it in the same message so u dont get multiple notifs
How do you modify someone's traits on a worldbox file
Decompress edit compress
Yeah i'm new to that I would need more details
chinese moment
its useful
for people who associate things little technical to coding
and for people who can't read channel topic
your mother is garbage
your opinion is garbage
Rei
I know you said you wouldn't help me anymore
But if I made a code to turn Chinese dates to regular dates
Would you help me make it more ethical
Because I know that if I do it will be like 20 lines of code
Imagine me talking here with the coders
yeah id rather talk with your mother
no
Why
scraping a website is 99% most of the time against the website's tos
Why would it
Where can I see the tos
and even in API you get rate limited
you dont have to follow the tos lol
or from the menu
The thing is
mostly Automation aren't allowed
Application Programming Interface
the site does not have an api
i usually provide
then thats where proxies come in
Well they haven't doe it yet
and then that proxy banned too
too small to detect
also because
you're not doing consecutive
like
asynchronous
I am
dude the site is so shit, i dont think they have some kind of way to detect a ddos
unless the site went down
lol
true
Hey
its a
terms for
simultaneous operation
happening at the same time
but those are very confused
with pararelism
asynchronous are sequence of operations running by switching on which operation are running
Guys I checked the tos
okay bad analogy
just think of it
asynchronous
waiting for your oven to bake
while you clean
pararelism is
2 of yourself
1 is cleaning
You must not crawl, scrape, or otherwise cache any content from Folioscope including but not limited to user profiles and animations.
1 is waiting
L
What's the purpose of this rule
If it's not too bad they might allow me
Like does it damage the website for me to scrape it??
resource allocation
when you request to the website as a person
they send you a document
but for apis
they just send you needed data
like instead of html
its just
{"data":1}
and less user auth
because apis
doesn't care session
its a stateless
way
you know if i get
C+
i can proudly say
"my grade is C++"
bad but complex
Rei
I put /robots.txt at the end of the url bcz apparently that shows me if a website allows scraping or not
It said User agent: BLEXbot
Bill gates do you know anything about this
Okay apparently it's a bot chrome uses
Rei you run the code once too
User Agent headers
If I'm in trouble you are in trouble
So not my bussiness
no
C# nation
india
But that might be just because I am familiar with the flag
nice
And I don't know indian
what flag
oh i thought it has something to do with the # which looks like a particular flag
🇮🇩
singapore
indonesia
poland
bruh
no thats poland
no
Thats a wide medicine bill
💊
Unless you are on android
flag_id
🇵🇱 🇮🇩
🇵🇱 🇮🇩 🇵🇱 🇮🇩 🇵🇱 🇮🇩 🇵🇱 🇮🇩 🇵🇱 🇮🇩 🇵🇱 🇮🇩 🇵🇱 🇮🇩 🇵🇱 🇮🇩
isnt that singapore
also red white is indonesia
C#
white red is poland
C#
Yes I noticed that
yes
you can pretty much do that with all languages
but C# does it best :)
do u wanna see
what im working on rn
just google
its cool
Google what?
google example code
Who is they????
Bill, Hamza
we're not even inviting anymore
I dont think hamza would let me in anyway
nooo
Yes
to write binary
meanwhile haydot
i dont know but
Anyway idk why I'm asking questions like that
he's a masochist
he writes on the hardest language or maybe not the hardest because i barely write C
and when i say C, its not C++, its raw C
Rei please reconsider
Some people hate pyhton
Saying it became the ordinary language and it doesn't deserve that
rei would you like to see my problematic date filter
iso_split = date.split(":",1)
print(iso_split)
print(iso_split[0].split("T",1)[-1])
if len(iso_split[0].split("T",1)[-1]) == 1:
num = f"0{iso_split[0][-1]}"
print (num)
iso_split[0] = f"{iso_split[0][:-1]}{num}"
print(iso_split)
date = ":".join(iso_split)
if date[-1] == 'Z':
date = re.sub(r".$", "+00:00", date)
print(date)
if len(date) > 25:
date = date[:11] + date[-14:]
print(date)
date = datetime.datetime.fromisoformat(date)
date = date.astimezone(pytz.UTC)```
btw how do I put `
how do i type that ` instead of '
okay i figured it out
I make oss for fun
Yea
And also
C is literally more simple to work in and set up for oss than any other language
Other than c++ as its the same process
Also nowadays i mostly work in rust
cool
if (isinstance(date[-14:], int)) == False:
date = date = date[:11] + "0" + date[-13:]
else:
date = date[:11] + date[-14:]```
2022-05-31T+08:00 Xia Wu 5:22:07+08:00 when this is date
it gives this 2022-05-31T05:22:07+08:00
and the UTC version of that date comes as 2022-05-30 21:22:07+00:00
which is wrong
why is that?
can someone please help?
if len(iso_split[0].split("T",1)[-1]) == 1:
num = f"0{iso_split[0][-1]}"
iso_split[0] = f"{iso_split[0][:-1]}{num}"
date = ":".join(iso_split)
rei how can i make it that this code checks the letter before the -13th index and puts 0 there instead of behind "T"
im asking you because i dont understand this code
Because
Of this
o
ok
you can like
turn str into a list
which means
each character is the elements
since str can't be mutated
but you can change list
in python str behaves like a char array too
infact every language does this i think
except java
lol
how print hello python (jk i know already)
political
you are moth'er
it's a sequence
but its also immutable
you can't insert new element
nor change its element
unlike most language
where a string is literally an array of chars
I never expected to get used to unity quickly ngl
I thought it would take days but i got used to it first try
Luckily i had an idea of development from roblox
welcome to unity
fellow
c#
brother
nah getting started on unity is easy
why is my bufferedimage in java failed with awt exception :V
because you're using java
its a shithole of a language
like dude look
java doesnt even know the resources it has on a particular package name
this is because java doesnt have a reflection standard
just do C# instead lmao
where can i install c# ;-;
download visual studio, its 90x better than these bootleg java IDEs
if you want something lighter try visual studio code
oh lmao dont forget these java kids moving to vs code lmao they cant even make good ides
political
Why is worldbox not made 3d :V
visual studio
oof
Do anyone know how to stop a coroutine in unity, i tried StopCoroutine(myroutine()); but didnot work
IntelliJ, vim, eclipse
javas good imo
it’s not the most efficient language but probably the most organized in terms of object oriented programming, much easier to compartmentalize different parts of a project into abstract classes with Java than with other languages (in my opinion of course)
Who uses C++
that would be me
Noice
Rei
How do import a large text file into python without my pc crashing
If I copy paste it my pc slows down and it doesn't load
My mf ing windows 10 auto updated when i was afk and i didnot save my unity settings 
Luckily scripts were on auto save but bruh
Lost in project settings
scenes are temperoraily saved
so even if unity crash or your pc turns off you can still access them
those are not halfway as good as visual studio
MOST ORGANIZED?!?!?!?!?!?! then why the fuck are there 4 different objects to represent a date, one uses unix epoch as starting point, one uses 1980 and one uses the birth of christ
abstract and interfaces are ass, you cant use abstract variables only functions, not better than c++
i already checked but it didnot have my lastest settings
also dont forget primitives are an absolute mess, inagine you had to do Integer.toString(90), Long.toString and comparing string via String.compare because == compares via reference and not by value..why????
-
those are obscure and essentially unused options there just in case people need them
-
those standard libraries lol, they aren’t actually the language and have nothing to do with the languages syntax or organization
also visual studio is terrible imo, vscode is better but I still prefer IntelliJ or vim over both
and also yes, most organized, each file needs to have a class to function, this makes it very clear where functions are located as opposed to them being in classes or namespaces or whatnot, also I don’t think I’ve ever used the 1980 or birth of christ time measurements over the course of multiple years, those are just obscure and old libraries, they don’t represent the whole language
and Java doesn’t really support ‘auto’ variable types, so it’s very structurally sound in terms of variable types. this also means the linters for it are clearer and more accurate than other languages, from what I’ve seen in my own experience
yep, because the primitive data types are represented as classes, which further makes them easier to understand with autocomplete and linters. strings have .equals because you’re comparing the stored content of the class (however it may be stored) with a built in class function as opposed to the classes themselves with an == sign
if it’s really that much of a bother I’m sure you could suggest to have primitive types built in and not represented as classes to oracle
also Java’s not better than c++ in the slightest, and I never said it was; it doesn’t have pointers and macros and isn’t built to work on all platforms. just because it doesn’t have the same purpose as other languages doesn’t mean it’s inherently bad smh
literally never heard of a Java developer preferring vscode, and no one I’ve talked to about Java has ever mentioned vscode
check stack overflow, ignore the whole anti java shit, it’s not a bad language, it’s just not as good as c++, doesn’t mean it’s bad though lmao
vscode is better than visual studio only if you don't use modern software thst helps you design and maintain good working software properly
I use vscode for personal projects
C# fan boys when you say that other languages exist:
https://c.tenor.com/lQNf6C6HDYQAAAAM/angry-kid.gif
but at work I use visual studio because it's just plain better for professional software
and well I also use asp.net at work so it's not like I have options
Tbh comparing java and c/c++ just isnt fair because the two languages are meant for completely different things
Its like comparing a borderline kernel language to a relatively high level language
Language vs language bullshit is honestly really stupid and is usually done by people who don't wanna learn a language because its too hard and unpopular so they shit on it
Rei
Rei help
Jupe help
wha
exactly, I don’t see why people despise Java so much just because it’s not meant for the same purpose as other languages
true, I still prefer vim though to be honest, top tier editor
exactly, thank you
hard to learn, for them atleast
:p
and Java is faster than C# (It's really up to the compiler tho)
Where can I read good articles about asymptotic computational complexity?
for sorting algorithms
C# and Java are both compiled but still interpreted


