Skip to content
Sign upLog in
Profile icon

Archie Maclean

@ArchieMaclean
Way too proud of my profile pic.
Repls
Community
ArchieMaclean
ArchieMaclean
shared a Post
1 year ago
2
Elm template
This a little template for getting started using Elm, a little language for the web that gives you very reliable web applications. There are instruct
Elm Template
Bash
RoBlockHead
RoBlockHead
@JackFly26 is this that Elm thing you were talking about? Haha1 year ago
ArchieMaclean
ArchieMaclean
shared a Post
2 years ago
5
Wilde https://repl.it/@AMLanguage/Wilde Wilde is a programming language designed to incorporate the reliability of functional programming with the e
TheDrone7
TheDrone7
Hello Archie! Could you please edit the post and mention your teammates since the jam required you to work in a team of at least 2 members? Thank you.2 years ago
ArchieMaclean
ArchieMaclean
shared a Post
2 years ago
1
A one-line Haskell solution. Slow and stupid. I am so sorry.
Prime thing
Haskell
TheDrone7
TheDrone7
SCORED.2 years ago
ArchieMaclean
ArchieMaclean
shared a Post
3 years ago
5
When I try to run this, it gives the following error: WebSocket transport not available. Install eventlet or gevent and gevent-websocket for improved
hmmmmmmmm
Python
NotTani
NotTani
Basically, long story short, Flask has its own development server. It is decent in many ways, but it is not asynchronous, so it cannot accept WebSockets. It can, however, accept Socket.IO, because it does not solely rely on WebSockets. Your application will work just fine, but it may be noticeably slower/less efficient. In order for gevent or eventlet to work, you need to use a server that is not the development one (such as gunicorn). If you are running this on repl.it, you just have to deal wi3 years ago
ArchieMaclean
ArchieMaclean
shared a Post
3 years ago
1
I have a function, Request that takes a URL, header, e.t.c. and fetches from that URL, then converts that JSON to an interface{} (i.e. dynamic struct)
Golang testing
Go
superwhiskers
superwhiskers
(already answered on discord, but i'll post it here for others to see) i believe you could just assert the type for the document as being a map[string]interface{} and then assert the value you get (e.g. at key username) as being a string, or if you're confident that all values in the json document are strings, you can assert the document as being a map[string]string also, you can't access the username key with .username on the document, you need to do map access (e.g. resp["username"])3 years ago
ArchieMaclean
ArchieMaclean
Thanks Superwhiskers for solving this. image3 years ago
ArchieMaclean
ArchieMaclean
shared a Post
3 years ago
59
Note: repl.it-color is made by myself, not repl.it. Also, it doesn't work on phones and possibly tablets because repl.it uses the Ace editor on phones
FourtyCoder
FourtyCoder
not working for me :/4 months ago
richauff
richauff
Doesn't seem to be changing anything for me. Do I need to change anything in my replit settings to allow it to work? (total noob to this stuff so thanks in advance for any help!)4 months ago
NamishKumarMoha
NamishKumarMoha
the save button is not showing7 months ago
ArchieMaclean
ArchieMaclean
shared a Post
3 years ago
12
Warning: Be careful if you have epilepsy. There are flashing/moving squares/lights. It should probably be all right, but just be careful. Please view
<SPACE>
HTML, CSS, JS
TheDrone7
TheDrone7
Legit good.3 years ago
hyperupcall
hyperupcall
very nice! and there's nothing wrong with spaghetti🍝 :)3 years ago
JackFly26
JackFly26
abusive comments3 years ago
ArchieMaclean
ArchieMaclean
shared a Post
3 years ago
7
This was just a really quick repl I made that allows live preview of HTML and CSS, so you don't have to keep pressing the run button. I haven't done
Live Preview
HTML, CSS, JS
glitchish
glitchish
This is cool.2 years ago
ArchieMaclean
ArchieMaclean
shared a Post
3 years ago
98
Java Tutorial for Beginners This is a very fast tour of some basic Java. You should type everything in to a Java repl, and try changing values to see
AlexisFleming
AlexisFleming
Research keeps on uncovering the genuine CBD and show that individuals with headaches, despondency, and constant agony might profit from CBD treatment. Specialists are viewing that CBD oil is weedrepublic demonstrating as gainful in dealing with sicknesses like AIDS and Crohns illness when endorsed by clinical specialists.3 months ago
AaronLoghlen
AaronLoghlen
I recalled the writer and the storyline, yet darned if I would recollect the title of the book. Bingo! The absolute previously hit was for proofpoint essentials another book that referenced Kunte Kinte in the snippet, and referred to the TV smaller than normal series, Roots . I recollected the book was likewise named Roots , however it didn't turn up among Microsoft's hits.3 months ago
ArchieMaclean
ArchieMaclean
shared a Post
3 years ago
22
Learning Web Development with Python and Django Part 4 Part 1 Welcome! In Part 3, we learnt about apps, and set up our external database on ElephantS
polinom
polinom
createsuperuser fails Traceback (most recent call last): File "manage.py", line 22, in main() File "manage.py", line 18, in main executefromcommand_line(sys.argv) File "/home/runner/Django-Try-Again/venv/lib/python3.8/site-packages/django/core/management/init.py", line 419, in executefromcommand_line utility.execute() File "/home/runner/Django-Try-Again/venv/lib/python3.8/site-packages/django/core/management/init.py", line 413, in execute self.fetchcommand(subcommand).ru5 months ago
pythoncode9690
pythoncode9690
This used to work for me. But it no longer does. I haven't changed anything. Can somebody please take a look and advise? I was so proud of this little application when it worked :( https://repl.it/@oakwindicloud/TestPythonDjangoPart33 years ago
tzcle3
tzcle3
Thanks, Archie. Well explained for beginners.3 years ago
ArchieMaclean
ArchieMaclean
shared a Post
3 years ago
26
Learning Web Development with Python and Django Part 3 Thank you to @timmyichen and @masfrost for sorting out the repl.it issue! Welcome! In Part 1 a
Mohammad-Fahad3
Mohammad-Fahad3
https://www.imybkexperience.com/ Your writing is really informative, especially because it's so meaningful and updated. Thanks for sharing this wonderful post! Your writing is really great. I’m so glad I read it. It kept me hooked the whole way through. Thanks for this information. I really appreciate the information that you have provided. https://www.mykfc-experience.com/ https://www.mybpcreditcard.one/3 months ago
Shkev
Shkev
What should I put for the name of the database, because I am constantly getting an error that says FATAL: database "[insert name]" does not exist? 3 years ago
ArchieMaclean
ArchieMaclean
shared a Post
3 years ago
32
Learning Web Development with Python and Django Part 2 Welcome! In Part 1 we made our first web-page with Django using function-based views. In this
pythoncode9690
pythoncode9690
@ArchieMaclean Hi. This was working for me perfectly up until recently. I can't figure out what's wrong with it. I haven't changed anything. Can you please take a look. Help :( Thank you!!! https://repl.it/@oakwindicloud/TestPythonDjangoPart23 years ago
10RK
10RK
Thanks for the tutorial, it is very well explained.3 years ago
phillipwong
phillipwong
It is quite good.3 years ago
ArchieMaclean
ArchieMaclean
shared a Post
3 years ago
80
Learning Web Development with Python and Django Part 1 If you already know a bit about web development, then check out Gareth Dwyer's Tutorial. This
EdwardMcBride2
EdwardMcBride2
My wife and I run a clinic and I believe that for a successful interaction between doctors and their patients, the interaction with the end user must be smooth, functional and reliable. So we turned to https://upplabs.com/expertise/healthcare/ to develop a healthcare software solution. Almost all patients use their smartphone to make an appointment or check their treatment plan.2 months ago
Noahoger
Noahoger
I have heard a lot about Python in the past. But honestly, I never tried this program in the past. I have great interest in this one. Though I would like to give it a try https://sitecreator.io/ Let me know if you have some kind of experience with this one too.8 months ago
TrialledBot
TrialledBot
images2 years ago
ArchieMaclean
ArchieMaclean
shared a Post
4 years ago
5
Created by me and Pyer with help from pyelias. This is still under construction, but please let us now what you think! It is a command line text edito
texteditor-1
Python
PYer
PYer
Hey! I saw you created a syntax highlighter! If only we had it back then...2 years ago
PYer
PYer
good memories :)3 years ago
ArchieMaclean
ArchieMaclean
shared a Post
4 years ago
3
Hi there, I am learning PHP, and literally started this afternoon. In the tutorial I was watching it said you could put HTML tags in the PHP file, but
TSelden
TSelden
Did you include the closing php tag: '?>'? That could be your problem.2 years ago
timmy_i_chen
timmy_i_chen
We made some updates to PHP (well, we made two new "languages"): https://repl.it/languages/php_cli - New and improved PHP language for command line interface shenanigans. Supports multiple files and syntax highlighting. https://repl.it/languages/php7 - PHP Web servers! Just like other hosted repls, this allows you to write websites using PHP. Enjoy!3 years ago
theangryepicbanana
theangryepicbanana
you don't need to include any html. just start with <?php and it should work4 years ago