Skip to content
Sign UpLog In
Profile icon

Dylan P

@Dylan-Pusilo
This account is just for user end testing for @hello1964. Sometimes I'll make Java repls on this account.
Repls
Community
Dylan-Pusilo
Dylan-Pusilo
shared a Post
2 years ago
Explicit types in python
Imagine in python you are working with other people on a project, and you make a function. Then someone else uses that function and puts the wrong typ
Explicit Types
Python
Dylan-Pusilo
Dylan-Pusilo
shared a Post
2 years ago
I had to use the ask feed because I made the project on another account. It's a game were you click bricks that engulf other bricks. Tell me what you
DynamicSquid
DynamicSquid
Wrong section2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
Thanks!2 years ago
OlauPla
OlauPla
Hi, no it is not possible to post a share repl.it without code.2 years ago
Dylan-Pusilo
Dylan-Pusilo
shared a Post
2 years ago
I made a team called "Terminal Reality." In this team we make terminal games. Well not "we" yet because I'm the only member. The only requirements are
Dylan-Pusilo
Dylan-Pusilo
If anyone could help with audio too that would be great2 years ago
Axrevyn
Axrevyn
What do you mean by "terminal games?" 2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
I'll join!2 years ago
Dylan-Pusilo
Dylan-Pusilo
shared a Post
2 years ago
So I'm working on a write function. I wanted to make it sound like it was being typed. So I made this project to test it out: https://repl.it/@hello46
Coder100
Coder100
that's a connectivity issue. The audio has been super weird and not even working for some people. How about that :( Here's what you can do: Report to bugs Recommend people get faster wifi hint hint what does print('\a') do?2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
Check out this link: https://stackoverflow.com/questions/43222452/play-wav-without-delay2 years ago
Dylan-Pusilo
Dylan-Pusilo
shared a Post
2 years ago
I'm making a clicker game with HTML, CSS, and JavaScript. To be honest I'm a noob at those languages. I made a button that adds money to your total. H
RYANTADIPARTHI
RYANTADIPARTHI
It's because whenever you click the button, the text is updating, but the button is not. Once the button updates too, along with the text, it won't disappear anymore.2 years ago
Dylan-Pusilo
Dylan-Pusilo
shared a Post
2 years ago
I recently just learned how to use decorators in python (like 5 minutes ago). I decided to test them out. I wanted to make one that would repeat the c
Coder100
Coder100
Sorry about that! def parametrized(dec): def layer(args, *kwargs): def repl(f): return dec(f, args, *kwargs) return repl return layer def rep(f, times): for i in range(times): f() repeat = parametrized(rep) @repeat(5) def test(): print("hi") `2 years ago
Coder100
Coder100
Replace this for line 42-44. @repeat(times=5) def printMoreStuff(text: str): print("Hey There") Easy, right? read more2 years ago
Coder100
Coder100
Coder100 is here to save the day!2 years ago
Dylan-Pusilo
Dylan-Pusilo
shared a Post
2 years ago
I'm help @CoolGuy27 with their repl. No one who was invited to the repl could figure out why the click button won't call click() when it was pressed c
CoolGuy27
CoolGuy27
@hello4691 I fixed it somehow. It took lots of messing around!2 years ago
Kookiez
Kookiez
but it still isnt working :(2 years ago
Kookiez
Kookiez
oh lol yeah we forgot to link the js2 years ago
Dylan-Pusilo
Dylan-Pusilo
shared a Post
2 years ago
So you know most languages have 3 basic loops: While, repeat While, and for. I was thinking what if the user could create their own loops sort of like
fuzzyastrocat
fuzzyastrocat
Ah, I actually implemented this in my programming language Sea. All control flow is implemented as a "query", so you could do things like this: int::repeatUntil { !$int :while { $(); } } You'd then use it like this: x != y :repeatUntil { print("Wow cool!"); } `2 years ago
techpixel
techpixel
@hello4691 Nevermind the last comment. This is possible in python via wrappers: def loopwrap(func, args, *kwargs): def inner(cond, args, *kwargs): while not cond: func(args, *kwargs) return inner @loopwrap def test(): print('okay!') test(True) #doesn't work test(False) #does work `2 years ago
Coder100
Coder100
wdym creating your own loops?2 years ago
Dylan-Pusilo
Dylan-Pusilo
shared a Post
2 years ago
I came up with a cool coding concept called simplified conditions statements (or scs for short). It's pretty simple really. In front of a conditional
OlauPla
OlauPla
I think in the first ones you just reorder things that are possible in python or other languages, i think you don't simplify you just make it harder to read. It is what I think, just an opinion.2 years ago
Coder100
Coder100
one feedback I have is to change the syntax a little bit. Right now it just looks like a silly mistake :) Here's my revised syntax: ifc var1 and var2 and var3 and var4 == my_var: ifc is what it is called, do you like it? And it also allows for: ifc var1 and var2 == myvar or var3 and var4 == myvar: I might even go so far to say you can suggest this to pep2 years ago
Flyingcrabs
Flyingcrabs
so you should tell repl not me or mods people to see. about your idea 2 years ago
Dylan-Pusilo
Dylan-Pusilo
shared a Post
2 years ago
I got banned on my other account @hello1964. I didn't do anything that would have gotten me banned. So I contacted repl.it and it's been over a week a
HyperScripter
HyperScripter
hello9 months ago
Dylan-Pusilo
Dylan-Pusilo
You know what if no one really cares that I was banned then why should I care. I'm just ganna make really good repls and share them with my friends who do care.2 years ago
Flyingcrabs
Flyingcrabs
Just contact the person that banned you and talk to them2 years ago