HNHacker News
TopNewBestAskShowJobs

amasad

6,553 karma · joined August 18, 2011

Email: amjad@repl.it

twitter: @amasad

Founder: https://repl.it

submissionscomments
amasad··on Let's guess what Google requires in 14 days or they kill our extension
I had a similar experience but it wasn't important to me and I let it go despite being a growing extension with 10s of thousands of users and lots of good reviews.
amasad··on Show HN: Lite – A small, fast text editor
Very cool! I ran it on repl.it via x11 but not sure it does the perf justice because of the network lag: https://repl.it/@amasad/lite
amasad··on GitHub Codespaces
I doubt you'd get the same quick & simple experience you have with Repl.it. This is more replacing your local VSCode, which is not what Repl.it aims to replace.
amasad··on Pg-Basic
That's awesome -- how did you find that out?
amasad··on Pg-Basic
Awesome -- thank you!

We wrote about the process it takes to add a language here: https://blog.repl.it/elisp

But also, since we announced `.replit` which allows you to configure the run button you can pretty much build your own environment without waiting for us to support it natively: https://docs.repl.it/repls/dot-replit

What are you looking to add?

amasad··on Pg-Basic
We've made progress but remain not entirely satisfied with its API. This is a big focus for us now and hope to have something to announce soon.
amasad··on Pg-Basic
We just started from Basic because a) it's a good starting off point and b) it's good to be compatible with something so many people are familiar with. However, now are evolving the language towards something more modern. To that end, line numbers are optional :-)

Here is the same program with no line numbers: https://repl.it/@paulgraham/repeat-nolines

amasad··on Pg-Basic
Fun idea! Two years ago on HN I said something similar: "We think repl.it is the C64 of the cloud era"

https://news.ycombinator.com/item?id=18279085

amasad··on Pg-Basic
I just made line numbers optional and it kinda starts looking like EasyLang. I think they also started from Basic.
amasad··on Pg-Basic
Ha!
amasad··on Pg-Basic
Yes so regardless of what language or where the language runs, we give you a container, inside that container we drop in a server that's responsible for most of the functionality including editing, collaboration, hosting, etc. A little about that here: https://blog.repl.it/collab

The IDE is built on top of a window-tiling manager abstraction we built in React.js: https://blog.repl.it/ide

Now, as for languages, most of them do run inside the container, which is built from our base image polygott (https://github.com/replit/polygott). However, a select-few are better suited to run on the client. We have a client-side jail called: replbox (https://github.com/replit/replbox). Basic, for example, runs on replbox because I wanted to graphics to be instant. For something like PyGame or LOVE frameworks we had to go with VNC streaming but that's not ideal for obvious network reasons.

There is a lot more to it -- it sometimes feels like building an entire city -- and you can find some more posts on our blog: https://blog.repl.it/ (which incidentally is hosted on Repl.it).

amasad··on Pg-Basic
Yes try Basic. But even if you want to use Python, I would started with our Python Turtle environment which would be a lot less confusing than Pyxel: http://repl.it/l/python_turtle
amasad··on Pg-Basic
Cool see this here! But let me provide some context: This is a program PG wrote with his kid. He asked me to build into Repl.it a classic Basic implementation and make it really easy to do graphics programming. So I wrote an interpreter and called it pg-basic

Try it here: https://repl.it/l/basic

Docs: https://docs.repl.it/misc/basic

Interpreter source code: https://repl.it/@amasad/pg-basic

PG's tweet: https://twitter.com/paulg/status/1256526589300441093

However, we realized that we can do a much better job on syntax and other features. So in collaboration with PG, we're evolving the language to make it more expressive and cleaner without losing the magic that makes Basic a great introductory programming language.

amasad··on It’s Time to Build
Having children will give you that incentive. People with no children will have higher time preference -- they prefer today's consumption over investment in the future.

That's why I find a lot of the antinatalism of modern western culture to be concerning.

amasad··on It’s Time to Build
But you're right in that 99% of VCs and investors in general think short term. Very high time preference.
amasad··on It’s Time to Build
> We don't have it because building these things requires long term investments and folks like Marc and his investors are not interested in long term investments.

I don't know where you get this from but as far as VC goes a16z are especially willing to take long-term bets. Case in point, when we pitched them, we explicitly said it's going to take us a decade to achieve our goals and they were okay with that.

amasad··on John Conway has died
This compelled me to write a quick Game of Life implementation. This is nearly 40 Lines of Code in Classic BASIC https://repl.it/@amasad/conways-game-of-life

RIP John Conway.

amasad··on Python for Non-Programmers
Oh ok. I'll think about that. Slightly off topic but I just made a BASIC environment designed for kids learning to code. The theory is BASIC is still one of the best way languages to start with. Let me know if you try it:

- https://repl.it/languages/basic

- docs: https://docs.repl.it/misc/basic

amasad··on Python for Non-Programmers
Repl.it CEO here, I'm curious which noise are you talking about? Here is how the empty python environment looks like (editor, console, and a huge green run button): https://answer-on-hn.amasad.repl.co/python.png

We continue to test with kids and they intuitively get it with little instructions. If you want to make the environment even simpler just add "?lite=1" to the url and it will look like this: https://answer-on-hn.amasad.repl.co/lite.png

amasad··on Ask HN: Who is hiring? (April 2020)
Up to you
amasad··on Ask HN: Who is hiring? (April 2020)
Repl.it (YC W18) | Frontend, mobile, backend, Support, Bizdev | SF or REMOTE | https://repl.it/jobs

Repl.it is the first massively open computing platform where anyone, even without even needing an account, can hop on and in seconds start executing code, build and host applications and websites, and collaborate with other people.

Providing a service like this is challenging from all a scaling, security, and billing perspectives. Also, supporting the number of languages we do (https://repl.it/languages) is a hard tooling problem -- we have to build generic protocols for executing, debugging, authoring code, running tests, handling files, etc. Finally, it's an incredibly challenging frontend/design problem to build a fast collaborative in-browser IDE that's both powerful and simple.

It's a great time to be joining us, we're still 9 full-time people, we reach millions of coders a month, and we're backed by YC and a16z.

amasad··on Ask HN: Who is hiring right now?
Repl.it (YC W18) | Engineers | SF or REMOTE | https://repl.it/jobs

Repl.it is the first massively open computing platform where anyone, even without even needing an account, can hop on and in seconds start executing code, build and host applications and websites, and collaborate with other people.

Providing a service like this is challenging from all a scaling, security, and billing perspectives. Also, supporting the number of languages we do (https://repl.it/languages) is a hard tooling problem -- we have to build generic protocols for executing, debugging, authoring code, running tests, handling files, etc. Finally, it's an incredibly challenging frontend/design problem to build a fast collaborative in-browser IDE that's both powerful and simple.

It's a great time to be joining us, we're still 8 full-time people, we reach millions of coders a month, and we're backed by YC and a16z.

amasad··on Eat for $1.50 per Day – Layoffs, Coronavirus Quarantine, Food Shortages
Costco is obviously cheaper but you need a subscription and you need to commute there.
amasad··on Eat for $1.50 per Day – Layoffs, Coronavirus Quarantine, Food Shortages
1. Many people live in studios and don't have a kitchen

2. Here in SF and every other city I lived ground beef is $9-10/lb

amasad··on Eat for $1.50 per Day – Layoffs, Coronavirus Quarantine, Food Shortages
If you're on a keto diet and/or want to eat well and save big, I suggest going to McDonald's and ordering 1/4lb patties which, depending on your location might be $1 to $2 tops each.

Despite what they say, McDonald's patties are a 100% beef and they're relatively good quality.

More info McD keto hacks here http://www.zerocarbhealth.com/zero-carb-ordering-from-mcdona...

amasad··on South Korea's drive-through testing for coronavirus
There is already studies on that coming out of Wuhan and it's not looking good. Here are some highlights from my own research. Note that RT-PCR is what the CDC recommends and what most nations are using for testing COVID-19:

> the total positive rate of RT-PCR for throat swab samples was reported to be about 30% to 60% at initial presentation [1]

> In patients with negative RT-PCR results, 75% (308/413) had positive chest CT findings; of 308, 48% were considered as highly likely cases, with 33% as probable cases [2]

> For patients with negative RT-PCR tests, more than 70% had typical CT manifestations. On the one hand, due to the overlap of CT imaging features between COVID-19 and other viral pneumonia, false-positive cases of COVID-19 can be identified on chest CT. Nevertheless, considering the rapidly spreading epidemic of COVID-19, the priority was to identify any suspicious CT case in order to isolate the patients and administer appropriate treatment [3]

> Conclusions: In the close contacts of COVID-19 patients, nearly half or even more of the 'asymptomatic infected individuals' reported in the active nucleic acid test screening might be false positives [4]

[1][2][3]: https://pubs.rsna.org/doi/full/10.1148/radiol.2020200642

[4]: https://www.ncbi.nlm.nih.gov/pubmed/32133832

amasad··on CLUI: Building a Graphical Command Line
Even worse. Using node.js
amasad··on CLUI: Building a Graphical Command Line
Unfortunately we fall into that bucket. It's a dynamic app :-)
amasad··on CLUI: Building a Graphical Command Line
Yep, that's the plan -- we're adding to our IDE. Will report back results.
amasad··on CLUI: Building a Graphical Command Line
Might be interesting to people here: this blog is hosted on Repl.it on a single repl/container[1] (2GB memory, 2vCPUs[2]) that's also powering IDE functions like editing, collaboration, chat, intellisense, etc.

We're able to fix typos and bugs and have it live-deployed as it's serving traffic. I recorded a gif here of what it looks like from the inside: https://twitter.com/amasad/status/1235742525056380929

Where is the fabled "hackernews hug of death" if a tiny container can handle the traffic? :-)

[1] https://repl.it/@turbio/replit-blog

[2] https://repl.it/site/pricing

← PreviousPage 7 of 32Next →