News for hackers. Stuff that matters.

stungeye

Re:ASCII Clouds on Friday January 16, 2026 @03:57PM (#46652120)
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

Re:Ask HN: Getting back to C++ and looking for ideas on Monday May 10, 2021 @12:02PM (#27107528)
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...

Re:Eve: Programming designed for humans on Saturday October 29, 2016 @09:06AM (#12823762)
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.

Re:LastPass and the Heartbleed Bug on Tuesday April 08, 2014 @02:03PM (#7554957)
The passwords are decrypted locally on your machine using javascript not on the lastpass servers.
Re:LastPass and the Heartbleed Bug on Tuesday April 08, 2014 @01:53PM (#7554911)
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.

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?

Re:Ask HN: Where do you spend Bitcoins? on Saturday November 23, 2013 @02:23PM (#6787094)
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

Re:The Universe Is Not a Computer on Tuesday December 04, 2012 @02:46PM (#4872879)
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

Re:How to get that native iOS feel with PhoneGap on Sunday September 02, 2012 @11:32AM (#4467210)
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

Re:A set of top Computer Science blogs on Tuesday May 08, 2012 @11:35AM (#3944125)
Knowing and Doing, reflections of an academic and computer scientist: http://www.cs.uni.edu/~wallingf/blog/index.html
Re:Mruby and MobiRuby on Friday April 20, 2012 @12:20PM (#3868516)
A quick look at the MobiRuby example code worries me. It looks like Objective-C, but awkwardly written using Ruby syntax. In other words, it looks more like an Objective-C wrapper, than a Ruby DSL for writing iPhone apps.

However, with plans to port the system to Android, perhaps a unified DSL could be built to target both platforms.

Like some others have said, the Turing Test is more a human mimicry test than a test of intelligence or consciousness. We humans love to anthropomorphize, so tricking us into believing a machine is human shouldn't be how we gauge the effectiveness of our AI.

I ran across these "Fundamental Principles of Cognition" that might do a better job:

Principle 1. Object Identification (Categorization)

Principle 2. Minimal Parsing ("Occam’s Razor")

Principle 3. Object Prediction (Pattern Completion)

Principle 4. Essence Distillation (Analogy Making)

Principle 5. Quantity Estimation and Comparison (Numerosity Perception)

Principle 6. Association-Building by Co-occurrence (Hebbian Learning)

Principle 6½. Temporal Fading of Rarity (Learning by Forgetting)

See: http://www.foundalis.com/res/poc/PrinciplesOfCognition.htm

Also, Hofstadter suggests some similar "essential abilities for intelligence".

1. To respond to situations very flexibility.

2. To make sense out of ambiguous or contradictory messages.

3. To recognize the relative importance of different elements of a situation.

4. To find similarities between situations despite differences, which may separate them.

5. To draw distinctions between situations despite similarities, which may link them.

Re:HTML5 as a gaming platform on Sunday March 18, 2012 @01:35PM (#3720217)
Many smartphone users are prevented from upgrading their firmware/OS. So even if the device lifecycles are shorter, developers cannot ignore legacy devices. If we look at the current Android stats for top entertainment app users:

Android 2.3.3+ = 50.79 % Android 2.2 = 23.87 % Android 2.1 = 7.22 % Android 4.0.3 = 1.42 %

As a developer, am I really going to only target my html5 or native app for 4.0.3?

p.s. Sorry for the delayed reply. :)

Re:HTML5 as a gaming platform on Monday March 12, 2012 @07:33PM (#3696217)
True enough, it will get better.

Old mobile browsers will be to html5 games what IE6 was to web devs.

Re:A Dad’s Plea To Developers Of iPad Apps For Children on Monday March 12, 2012 @01:57PM (#3694572)
A continuation of #7: I've seen ad-supported apps targeted to children that include kid-inappropriate ads.

I had a 7 year old recently ask me about dieting and weight-loss strategies because of an in-game "one weird trick to lose weight" ad.

Re:HTML5 as a gaming platform on Monday March 12, 2012 @01:44PM (#3694526)
"So what's in common with these two games? They're both originally mobile games." (Emphasis mine.)

The sad part is that once converted to HTML5 these games won't be able to run on many (most?) mobile devices. Current mobile browsers are too slow or non-standard to run HTML5 based games. The exception is iOS 5 powered devices (iPhone/iPad) since the browser now includes hardware acceleration for both HTML5 canvas and CSS3 animation transforms.

For more details, see Spaceport.io's recent HTML5 animation performance tests: http://spaceport.io/spaceport_perfmarks_report_2012_3.pdf

In late 2003 I was laid off from my job as a hardware/firmware design engineer. I spent the next two years away from work. During this time I spent nearly a year on self-study, got married, and then went travelling with my wife in Europe and south-east Asia. We worked on and off while travelling to be able to afford to continue our adventures.

If you are a self-motivated learner I would highly recommend a study break. The stuff I learnt during my break helped me secure my current job. I spent most of my time learning about web development, both client-side and server-side technologies. I now teach these technologies at a local college. I also do contract web work on the side.

As others have mentioned, be sure to pick some solid learning outcomes. Map out your study goals. Give yourself timeframes and be sure to reward yourself when you meet these milestones.

I'd recommend either blogging about your experiences or putting together a portfolio of work. This will come in handy when future employers ask about the gap in your resume. Working on one or two open-source projects might also be worth while.

Learning to live frugally and within your means is also key.