Readit News logoReadit News
stungeye commented on ASCII Clouds   caidan.dev/portfolio/asci... · Posted by u/majkinetor
mildmelon · a month ago
Author here. P5JS is great and I've used it in the past. However you can get pretty far with just VanillaJS. Here's the source code to the ASCII Clouds tool, it's almost all plain JS.

https://github.com/caidanw/caidanw.github.io/blob/main/src/p...

stungeye · a month ago
So cool. Thanks for sharing the source! A few years back I made a p5.js ASCII Cloud sketch using the extended ASCII block chars.

For those curious what a stripped-down version of noise-based clouds would look like, it's only 50 lines of js: https://editor.p5js.org/stungeye/sketches/LPdeHgz9B

stungeye commented on Ask HN: Getting back to C++ and looking for ideas    · Posted by u/throwawaybbq1
stungeye · 5 years ago
If you're interested in working with graphics or sounds, I'd recommend checking out openFrameworks, which bills itself as a "creative coding toolkit". https://openframeworks.cc

For a taste of what is possible with openFramworks, take a peek at this youtube series by Lewis Lepton: https://www.youtube.com/watch?v=dwt2NAd1ZYY&list=PL4neAtv21W...

stungeye commented on Eve: Programming designed for humans   programming.witheve.com/... · Posted by u/ibdknox
stungeye · 9 years ago
As a programming instructor the Eve demo video gave me goosebumps. The emphasis on prose+code, world=data, and the discoverability afforded by the inspector are of particular interest to me.

Our current learning stack for folks with zero coding experience is Scratch (https://scratch.mit.edu) to Processing (https://processing.org) to Java.* I'll be watching the Eve project carefully to see how it might fit into our intro to programming path.

*If these intro students continue to our full program they learn C#, SQL, PHP & JS/HTML too.

stungeye commented on LastPass and the Heartbleed Bug   blog.lastpass.com/2014/04... · Posted by u/mjhoy
IgorPartola · 12 years ago
This cannot be. Your passwords (the ones you are trying to protect) must be encrypted using your master password. LastPass needs to decrypt them somewhere using your master password. What you are describing is how their browser extension seems to work. However, their website does not require the extension to work. So either they implement security in JavaScript that's running within the page (cannot by definition be done securely), or they store all your passwords in a way that they can decrypt them (invalidates the use case for LastPass).
stungeye · 12 years ago
The passwords are decrypted locally on your machine using javascript not on the lastpass servers.
stungeye commented on LastPass and the Heartbleed Bug   blog.lastpass.com/2014/04... · Posted by u/mjhoy
IgorPartola · 12 years ago
The issue I have with LastPass is that they claim to never see your master password. This is not true in any sense. Open their website, log in using your master pass. You just submitted it to them. As a secondary thing, pick a random password from the list and say "Show me the password"; it will ask you for your master password. The extension you install has nothing to do with this: you are entering the password directly into their web page and interacting with their JavaScript and their server-side code. At this point they have your master password.

I understand why they do this: it's convenient and lets you share/give passwords to others. But this feature is 100% incompatible with the claim that they never see your master password.

stungeye · 12 years ago
My understanding is that even with their web login process your password isn't sent to their servers in plaintext. From the comments on their heartbleed blog post: "We only use one-way salted hashes (after going through PBKDF2 rounds) to send to the server for authentication."

So their servers get a hashed version of your password, but not the password itself. Their servers likely also store a hashed version of your password so that they can authenticate you. This style of auth is also used when you use the "show me the password" feature.

stungeye commented on My open source social networking protocol and companion iOS app released today   postcardsocial.net/... · Posted by u/kylnew
stungeye · 12 years ago
Impressive. I've been using Tumblr in a similar way, with my self-hosted blog as the "host network".

I'll download the app and play around. Any plans for a web-based posting tool?

stungeye commented on Ask HN: Where do you spend Bitcoins?    · Posted by u/emilepetrone
stungeye · 12 years ago
FYI: CaVirtex (a Canadian BTC exchange) is holding a $500 shopping cart integration contest to attract developers to their API.

https://www.cavirtex.com/news

stungeye commented on The Universe Is Not a Computer   technologyreview.com/view... · Posted by u/ca98am79
confluence · 13 years ago
I'm sorry but WTF.

Maybe I have my computer science theory all wrong but I distinctly remember this statement: the universe is Turing complete.

That means that it is at least a computer - it may be something more - but it must be at the very least a computer.

Secondly WTF is with non-computable arguments. Given arbitrary memory and ability to do computation - anything can be computed.

Thirdly what's this mapping crap - the universe's probabilistic state does not need to be mapped - it's just information moving around.

The Lagrangian method he uses can be computed. Looks just like an expensive optimisation problem.

stungeye · 13 years ago
I'm not sure that "the universe as Turing machine" is anything more than a theory. The universe can contain Turing machines -- we're both using one right now -- but I don't think we can say for certain that the universe is one.

Also, not everything is computable. Alan Turing proved this in his paper "On Computable Numbers, with an Application to the Entscheidungsproblem." The Halting Problem is a related example of the limits of computation.

http://en.wikipedia.org/wiki/Halting_problem

stungeye commented on How to get that native iOS feel with PhoneGap   mikedellanoce.com/2012/09... · Posted by u/mdellanoce
tszming · 13 years ago
Are there any working examples using these tricks so we can test the difference? (The author's product request an invite to use)
stungeye · 13 years ago
I recommend checking out the Photoswipe source. It uses many of these techniques to create a swipe-based image gallery optimized for iOS and Android.

https://github.com/codecomputerlove/PhotoSwipe

Here's a simple HTML5/Photoswipe/Phonegap app I wrote that you could experiment with:

https://github.com/stungeye/HTML5-Tumblr-Mobile-App

Explained here: http://mobilehtml5.stungeye.com

stungeye commented on A set of top Computer Science blogs   drtomcrick.wordpress.com/... · Posted by u/johndcook
stungeye · 14 years ago
Knowing and Doing, reflections of an academic and computer scientist: http://www.cs.uni.edu/~wallingf/blog/index.html

u/stungeye

KarmaCake day24January 14, 2012
About
Computer Engineer. Coding Instructor. Artist. Your Friend.

Learn to Question. Question to Learn.

View Original