typeof null -> "object"
@Baconman321
“Villains!” I shrieked, “dissemble no more! I admit the deed! — tear up the planks! — here, here! — it is the beating of his hideous heart!”
Hi, I recently noticed that I got 200 pings or so from replit. This was actually because our team was chatting. This is highly annoying, especially be
DynamicSquid I don't think there is a manual way to change the settings, but I think Replit is working to change that1 year ago
I was wondering, why instead of doing this to check for NaN:
Number.isNaN(Number("nanThing"));
we don't do this:
Number("nanThing").toString() === "
Coder100 semantics? no.
javascript? yes.
remember javascript likes to hurt you and likes type coercion :D
Number.isNaN({}) // false
Number({}).toString() == "NaN" // true
`2 years ago
I was doing some research for badminton and I used a browser emulator to work around network restrictions.
I probably should have remembered that it'
Coder100 Replit's servers use google cloud computing.
The servers are spread all around the world, but the ones replit rents are in the US. citation needed.
question is how does that affect you
do you live near that
do you2 years ago
a5rocks Replit uses (or used GCP under the hood. https://cloud.google.com/
They might still use Heroku too, not sure.2 years ago
I have a program in Go that allows me to make and edit articles.
Sometimes, though the program won't save an edit of the article. The articles are st
InvisibleOne Is this a text file on replit? Becuase occasionally replit will not save what your code has written to a text file if you are say; opening it in another tab or something. This is because replit does not save changes unless they are made by you, if that makes any sense.2 years ago
robowolf Well sometimes if you haven't closed the file, for example when you do something like files = open('file',w) and forget to do files.close() it doesn't save. Also could you put your code, and when it say it's been edited has the file actually been edited.2 years ago
Andy_4sberg Replit doesn't allow repls to edit files. It creates a new instance of the repl and anything changed will just revert to how it was programmed. You should try using the Replit database, which doesn't reset unless you tell it to.2 years ago
So I made a website (I'm not saying the URL just yet - it's a surprise for later on).
Yesterday it was working, and now it's giving me the ERRSSLPROT
RayhanADev Nope that's just plain weird... I think it could be a bug that they recently created? Probably bur report it.2 years ago
I made a special handler for certain links. Those links are encoded using net/http's QueryEscape.
What I'm having trouble with though, is that my pro
I'm
sure you guys have used JavaScript at least once in your life.
As with all coding languages, though... you will run into performance issues... w
Baconman321 @tussiez do you think we could use this for perlin noise?
Do we have recurring inputs for our perlin noise implementation, anyways?2 years ago
Disclaimer!
There always has been (and always will be) ways to bypass this since devtools is more powerful than JavaScript itself. Don't expect it to
HTML, CSS, JS
AshtonHill1 its kinda easy to get if u have a computer with touchscreen
all u have to do is spam click and touch with ur finger1 year ago
Is there any way to update PHP to 7.4?
setcookie() can accept an array of options in 7.4 which is what I am want to do, but I can't do it in replit b
MiaChillfox Hi,
I made a script that can install PHP 7.3, 7.4 or 8.0.
https://replit.com/talk/share/Script-to-install-PHP-73-74-and-80/131222
Currently, it is just PHP, so it might not include the modules you want.2 years ago
HOW HAVE I MADE SOMETHING SO BEAUTIFUL??!
So like, my teacher was tired of seeing Google Slides (lol I feel his pain) and instead wanted us to do pad
HTML, CSS, JS
Brendan23 @Baconman321 I know this is a dumb question, but is there a way to get to the next step from the step on the picture bellow? There's no continue button or anything like that.
picture2 years ago
I know other people have said yes, but I went a bit more into depth. In no way am I trying to break replit's rules, but IP logging is quite important
Coder100 ahem
https://replit.com/site/terms
please, this is a simple question that can be resolved with a quick read of the TOS.
Second, IP collection is a common thing that almost all big sites use. It's literally something that is vital to analytics. If you don't want tracking, don't use the internet lol2 years ago
All of a sudden I get the http error 500 on some comments and 404 on some posts including the sortacraft model maker and pretty much all of the trendi
RhinoRunner I have been having the same problem. I reported it to bugs (https://replit.com/bugs/p/recent-page-loading-issues)2 years ago
I have repl recently (well, maybe not recently but within the last handful of months or so) added annotations. They are great and all, but whenever I
RYANTADIPARTHI
that's probably a repl.it bug. Try refreshing, or enabling your settings. if not, i can report to bugs, for you.2 years ago
I want to set up a websocket server in C++ (don't tell me it's bad, I'm going for the speed and the challenge).
However, the current way they recomme
programmeruser Invite me to the repl, I've already wasted too many hours of my life trying to install C++ libraries on repl2 years ago
Baconman321 @xxpertHacker U seem very skilled with this stuff. Any ideas about how to make a websocket server in general?
It's going to take quite a bit of effort (especially since my C++ skills are very rusty and I barely know the tip of the iceberg), but I really want to make a websocket server in C++ (for game servers as well as mathematical calculations since NodeJS would be slow as heck).2 years ago
EpicGamer007 cant u use git clone https://github.com/microsoft/cpprestsdk? Then you just need to sift through and get the specific files u need and then link it to ur c++ thing.2 years ago
Before you guys go around saying "it's a float overflow" just to get your precious cycles, I just want to let you know that I already know that.
In m
Coder100 btw do you have an actual use case for this in which you need the accuracy for something arbitrary large? If so, write ur own bignumber lib or find one2 years ago
Coder100 js has the same problem where the number would lose it's precision and get truncated to the max safe integer.
Perhaps that is what is going on here? (But with like LONG_MAX or smth)2 years ago
Every time I try to upvote it says "something went wrong, please contact support", and then clicking again says "validation error". I reload and it sh
xxpertHacker Whenever I post a comment now too, it doesn't show for me until I reload.
That is a separate issue caused solely by using dark mode; it has already been reported but without any response from Repl.
Btw, you should experience this when editing/updating posts and comments too, do you?
To fix this, just use light mode.2 years ago
I tried loading a HTML5 repl on a team that I am in and it says the hexHere.replusercontent.co sent an invalid response (hexHere is the ID of the repl
RYANTADIPARTHI this is probably a bug. Report it
EDIT: i think you can't report it. You told me once. Want me to report it?2 years ago
All of a sudden, repl achievements went poof!
Where did they go, though?
Will they come back?
\- A confused bacon strip
RYANTADIPARTHI hmm, that's what i'm wondering. I guess repl removed them for a bit. They'll probably bring them back. But for now, it seems they removed it.2 years ago
All of a sudden the chatbox isn't showing up in any multiplayer repls for me.
Could this be that I have the explorer role?
I think it could also be
Yall
like Node JS right?
How about making web servers in Node JS?
Sometimes though, don't you get the obsession to make your program run faster?
I