AmazingMech2418 (661)

Just an amateur software developer and programmer who programs in many different languages...
Alone Simulator Version 1.0 (200 cycles special!)
posted to Share by BobTheTomatoPie

@DynamicSquid That's pretty much everyone's life right now...

How To Make A True Coding Language: Part 1
posted to Tutorials by CSharpIsGud

You do know that there is more than one way to make a programming language, right? Your type one not programming languages are actually programming languages, just without as many powerful functions. For example, you could create a LOLCODE interpreter using split functions and regular expressions and LOLCODE is a programming language. It's not the most useful, but still a language. Same with Forth which is even easier to create an interpreter for. Then, the type two "not programming languages" really aren't programming languages and just created dialects for known languages. However, Clojure is a dialect of Lisp and is considered a separate language, so why couldn't some of what you call "not programming languages" actually be programming languages? For example, the in-development THAIL programming language is really a dialect of Adapt (my programming language which is also in development). Also, please stop arguing with everyone about the things you call "fake". There is still hard work put into it, just maybe not as much as a real OS or full interpreted/compiled programming language.

Wildest programming language idea
posted to Ask by amasad

My wildest programming language ideas are

Objective BASIC

Like an object-oriented version of BASIC. (might actually make)

Adapt

A programming language where you can dynamically change the syntax with the ability to rewrite the program while it is running and variables with multiple types simultaneously. (in development)

XPL

A language based on XML (https://github.com/amazingmech2418/xpl)

Link

A language based on JSON that could allow programming via a flowchart. (https://github.com/AmazingMech2418/Link-Programming-Language)

Inventor

A language which is entirely based on transpiling. (https://github.com/AmazingMech2418/Inventor)

Possibly the worst programming language I have made actually. LOL!

X

A C-style language with a full graphics library, a safe memory system without buffer overflows, with prototypal OOP, and with a powerful mathematics library. (in planning stage currently)

World's HARDEST game
posted to Share by Coder100

@Coder100 The same width as the paddle... LOL!

Repl Talk Rules and Guidelines [README]
posted to Announcements by mat1

@Jakman In my opinion, a user should be trying to do different things with each post. If someone makes two things with a minimal difference in code, that person isn't learning anything or developing their skills. It doesn't necessarily have to be improvement if the two things are different. Even if someone does the same thing in two different languages, the person is learning something. However, if someone does the same thing in one language multiple times, the person learns nothing. I mean, if you do the same thing in one language multiple times with slight differences and it makes you popular, you get popularity, but it won't really help in the long run as you won't learn anything and cycles do nothing (at least currently).

Global Nonsense Chatroom (HTML markdown for messages)
posted to Share by PowerCoder

Nice, but it's offline now.

ULTIMATE_TRUE_FALSE
posted to Share by Bookie0
pretty cool web chatroom if i say so myself
posted to Share by rafrafraf

@rafrafraf You should be able to add a report button that just tells you the chat name or whatever and temporarily deletes the room until you evaluate it to see if it is appropriate.

Repl-Customs!!! (v1)
posted to Share by IreTheKID

@IreTheKID Yep! You accidentally used the posts API twice.

Repl-Customs!!! (v1)
posted to Share by IreTheKID

@IreTheKID You're welcome! Also, with the recent comments, I think you are using the wrong API. It shows the cycles and descriptions of the recent posts section.

π in R
posted to Share by AmazingMech2418

@LizFoster Well, I guess I could try Lua which is what Love2D is for...

π in R
posted to Share by AmazingMech2418

@HahaYes Thank you!

π in R
posted to Share by AmazingMech2418

@HahaYes Thank you!

Coder100.it
posted to Share by Coder100

Here is a simple console.log implementation for the Node.js "coder100"s:

console.log = (txt) => {
    let doc = document.getElementById('repl').contentDocument;
    doc.body.style.background = "black";
    doc.body.style.color = "white";
    let el = doc.createElement('code');
    el.textContent = txt;
    doc.body.append(el,doc.createElement('br'));
}

Also, to make it look a little more realistic, you could clear the iframe on start and add a log that simply says it is node.js like how in Repl.it, it says "node v10.16.0". However, this implementation does not include color changing based on the content and does not support arrays and objects since you would need to detect those and JSON stringify them. However, that is not difficult to add either.

Typing Speed Test
posted to Share by CodingCactus

Sentence suggestion: "Pi is the best mathematical constant and is a thousand times better than tau."

{{ template_jam }} [EXTENDED!]

@zog1 I don't think it would be the 3 most popular since that would cause an unfair advantage for people who submitted earlier. Additionally, sometimes, repls with more upvotes are just more entertaining and may not be of a higher quality. I personally think the moderators will judge projects based on quality and usability and then choose the top 3 instead of them being simply the most popular.

"Animated" ASCII Cactus
posted to Share by CodingCactus

Great job! I'd recommend using sys.stdout.write instead of print though since it is faster and also, I'd recommend using "\n".join(cactus) to put the entire ASCII cactus into one print function for speed as well. I did it in my fork if you want to see what I mean https://repl.it/@AmazingMech2418/ASCII-Cactus .

Repl Search: The best search engine around
posted to Share by BobTheTomatoPie

@Bookie0 But it isn't correct. XD Apple is trash!

Repl Search: The best search engine around
posted to Share by BobTheTomatoPie

Uh... It's broken...

mac=search("Mac", "mac"," The best computer ever. No point arguing, you'll lose xD")

Line 48. You might want to fix that. It should be

mac=search("Mac", "mac"," The worst computer ever and just a piece of trash. Windows 95 is better than OSX. Even Debian without a desktop environment is better! EVEN DOS IS BETTER! Apple is just trash. No point arguing, you'll lose xD")
ZealousOS (From the maker of PythonOS)
posted to Share by Crcoli7307

@roylatgnail Maybe, in this case, "OS" stands for "open-source"?

BORDERZ
posted to Share by Bookie0

I see you finished it. Sorry for not helping that much... I kind of just forgot about this...

ULTIMATE_TRUE_FALSE
posted to Share by Bookie0

@Bookie0 Ultimate conspiracy theory:

ULTIMATE_TRUE_FALSE
posted to Share by Bookie0


LOL!

pretty cool web chatroom if i say so myself
posted to Share by rafrafraf

Nice, but you might want to moderate it. There are some inappropriate room names (one in particular that I saw in the list).

Repl-Customs!!! (v1)
posted to Share by IreTheKID

@IreTheKID Wait. Just wait...

Repl-Customs!!! (v1)
posted to Share by IreTheKID

@IreTheKID This is way too common of an issue in Python... I've already had to fix an error like that I think twice before in other people's repls...

Repl-Customs!!! (v1)
posted to Share by IreTheKID

@IreTheKID It is an issue in @mat1 's repltalk module. It is accidentally setting item to a class instead of an instantiation of a class.

Repl-Customs!!! (v1)
posted to Share by IreTheKID

@IreTheKID

Traceback (most recent call last):
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/flask/app.py", line 2464, in __call__
    return self.wsgi_app(environ, start_response)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/flask/app.py", line 2450, in wsgi_app
    response = self.handle_exception(e)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/flask/app.py", line 1867, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/runner/Repl-Customs-v1/Repl-Customs/app.py", line 47, in application
    asyncio.run(get_user_object(str(query)))
  File "/usr/lib/python3.8/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/runner/Repl-Customs-v1/Repl-Customs/app.py", line 21, in get_user_object
    raise e
  File "/home/runner/Repl-Customs-v1/Repl-Customs/app.py", line 16, in get_user_object
    comments = await user.get_comments(limit=5,order='new')
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/repltalk/__init__.py", line 814, in get_comments
    _comments = await client._get_user_comments(
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/repltalk/__init__.py", line 1182, in _get_user_comments
    return await self.perform_graphql(
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/repltalk/__init__.py", line 966, in perform_graphql
    'query': str(query)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/repltalk/graphql.py", line 89, in __str__
    output = 'query ' + str(self.field)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/repltalk/graphql.py", line 67, in __str__
    value = builtin_to_graphql(value)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/repltalk/graphql.py", line 7, in builtin_to_graphql
    value = str(item)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/repltalk/graphql.py", line 72, in __str__
    output += str(value)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/repltalk/graphql.py", line 53, in __str__
    output += str(item)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/repltalk/graphql.py", line 72, in __str__
    output += str(value)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/repltalk/graphql.py", line 67, in __str__
    value = builtin_to_graphql(value)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/repltalk/graphql.py", line 7, in builtin_to_graphql
    value = str(item)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/repltalk/graphql.py", line 65, in __str__
    for field in item:
TypeError: 'type' object is not iterable
Repl-Customs!!! (v1)
posted to Share by IreTheKID

@IreTheKID It is in the comments part. The None is because an error was thrown and the except statement makes it set it to None.

Repl-Customs!!! (v1)
posted to Share by IreTheKID

@IreTheKID Try printing the objects you got to see if they are undefined for some reason. I would if I could but I just forked it and it says I need a secret key.