Better HN
topnewbestaskshowjobs
Log inSign up

primaryobjects

298 karma · joined May 18, 2011 (15y ago) · 178 submissions

web http://www.primaryobjects.com/kory-becker

bsky https://bsky.app/profile/primaryobjects.bsky.social

twitter http://twitter.com/primaryobjects

blog http://www.primaryobjects.com/articles

linkedin http://www.linkedin.com/in/korybecker

medium https://medium.com/@KoryBecker

meet.hn/city/us-Philadelphia

Submissions

comment 12y ago · link · parent

A fellow tinkerer in program synthesis? Just today, I was tweaking my AI-Programmer project http://primaryobjects.com/CMS/Article149.aspx, which uses genetic algorithms to generate programs.

Glad to see I'm not the only one who thinks programmers can/should become obsolete. :)

comment 12y ago · link · parent

It works on an explicit set, but not on initialization of the object. So:

var x = [{"user":"dude"}]; This won't trigger, and this is what the script include tag executes via the response.

x.user = "wow"; This will trigger, however.

comment 12y ago · link · parent

That's interesting. Apparently, the __defineSetter__ call is still valid in Chrome.

Example http://jsfiddle.net/V53BL

124.

Detecting a Hacked Tweet with Machine Learning(slideshare.net ↗)

1 points · by primaryobjects · 13y ago · discuss

comment 13y ago · link · parent

Yes, all very good points. I didn't use a neutral category, as it's difficult to gauge whether a tweet should be neutral. I've thought of detecting them based upon news-speakish tweets, as you've pointed out. That would require its own machine learning run, just to sort out neutral from containing-sentiment.

Also keep in mind, different topics work better. The term "election" has a lot of news headlines, which many are probably neutral, skewing the results. More consumer-ish topics yield better results. But yes, tweets are difficult to analyze. I've done another recent experiment with tweet analysis, if you like this kind of stuff http://primaryobjects.com/CMS/Article158.aspx

comment 13y ago · link · parent

An API like that is good for an introduction, but I think you'll get better results with a machine learning approach (my pet project http://www.sentimentview.com). When I was running tests with a baseline algorithm (just matching against positive and negative keywords), I saw results from 62% accuracy with the baseline to 80% with an SVM http://blog.sentimentview.com/post/59031004797/learning-curv....

comment 13y ago · link · parent

This is a classic categorical problem for machine learning. I'm surprised so many suggestions have involved formulating some sort of clever algorithm like skin detection, colors, etc. You could certainly use one of those for a baseline, but I'd bet machine learning would out-score most human-derived algorithms.

Take a look at the scores for classifying dogs vs cats with 97% accuracy http://www.kaggle.com/c/dogs-vs-cats/leaderboard. You could use a technique of digitizing the image pixels and feeding to a learning algorithm, similar to http://www.primaryobjects.com/CMS/Article154.aspx.

comment 13y ago · link · parent

I just gave it a try and submitted a program. I scored 64% accuracy. Currently in 4th place, but I'm sure that won't last for long. http://www.kaggle.com/c/dogs-vs-cats/leaderboard

comment 13y ago · link · parent

Same here. I've also been heavily occupied with ML and AI for the past year or two. I think it's going to usher in the next phase of computers, we'll see. Computers are finally getting fast enough to do some interesting things with all of this data we're creating.

comment 13y ago · link · parent

This is a timely article, as my current project deals with Twitter sentiment analysis http://www.sentimentview.com.

Although, I'm not classifying by specific emotion type as the article describes. In all, I'm seeing accuracy rates of around 80%. This is in comparison to a brute-force word list, which scored an accuracy of 62%. I'd be curious to see what kind of accuracy the researches in the article are achieving, with so many sub-division classifications. Not to mention, how did they derive their initial model?

131.

Sentiment Analysis of a Twitter Hashtag #TakingSides(blog.sentimentview.com ↗)

2 points · by primaryobjects · 13y ago · discuss

comment 13y ago · link · parent

I say this with humor, but this weekend, I took part in an indie 48-hour game-jam contest. I created the game, Fire Starter http://dummysoftware.com/games/firestarter

Created it with HTML5, targeting the desktop, rather than mobile. Didn't win, but had a lot of fun. That's kinda like the op's story compressed into a time-span of a few hours, sort of.

Btw, I recommend game-jams to anyone interested in indie game development. It forces you to create something quick, take decisive actions, and finish the game.

comment 13y ago · link · parent

This sounds like genetic algorithm programming (see my other comment below https://news.ycombinator.com/item?id=6080492). Writing a program consists of defining the end state. The GA then runs through thousands of epochs, getting closer and closer to the end state (determined by a fitness score for each program), until the solution is found.

I was able to achieve automated programs for printing text, simple math operations, string manipulation, and conditionals. After that, programming the fitness methods started getting complicated.

comment 13y ago · link · parent

I'm still hoping for computer programs to be written without humans http://www.primaryobjects.com/CMS/Article149.aspx

That was my initial experiment with self-programming AI, although ultimately, the fitness methods were starting to grow in complexity themselves.

comment 13y ago · link · parent

SSL encrypts everything in the url after the ? so GET or POST matters little.

136.

An Intelligent Approach to Image Classification By Color(primaryobjects.com ↗)

1 points · by primaryobjects · 13y ago · discuss

comment 13y ago · link · parent

Couldn't you also serialize the resulting model to JSON (including weights/values), stick that JSON hard-coded into your source, and deserialize at runtime to execute the model? This is how I typically deploy neural networks and other machine learning models.

For example, http://colorbot.herokuapp.com stores the optimal model for the neural network in JSON, right in the code.

comment 13y ago · link · parent

I was just going to comment on the similarity as well. I think these built-in HTML5 editors are great, especially when they include persistence. For the node.js devs, I made a wrapper for Create.js http://github.com/primaryobjects/contentblocks

comment 13y ago · link · parent

WhaleEye SEO Spider - http://www.whalei.com

I created the same thing a year ago. I underestimated the CPU load and number of pages on many sites (especially e-commerce sites). It doesn't take many crawls to quickly fill a db.

140.

Show HN: ColorBot - Node.js, MongoDb, and Machine Learning(colorbot.herokuapp.com ↗)

2 points · by primaryobjects · 13y ago · discuss

comment 13y ago · link · parent

I've been worried about this, ever since their acquisition. However, if they shutdown FeedBurner, there would be a LOT of broken links suddenly left on the web. Kind of like bit.ly or tinyurl suddenly disappearing. I imagine the public backlash from this makes it a bit more tricky for Google to drop FeedBurner, than it was to drop Reader.

comment 13y ago · link · parent

I'm also taking the class. Just finished the logistic regression programming assignment. Great stuff. You can take those algorithms and kind of add a bit of magic to your software.

143.

Show HN: Simple Maze Solver(primaryobjects.com ↗)

2 points · by primaryobjects · 13y ago · discuss

comment 13y ago · link · parent

++[>++++++++++++++++++++++++++++++++++++<-]>.++++++.

It would be nice if there was a url parameter to auto-populate the source code and run it. Generated the above with http://goo.gl/aD67C

comment 13y ago · link · parent

This looks similar to the genetic algorithm technique I used for the AI Programmer project http://www.primaryobjects.com/CMS/Article149.aspx

Genetic algorithms (and variants) can pick up some very interesting patterns for achieving the target fitness. I don't think this is necessarily anything new, and GAs have their limitations, but applying them to multiple NES games is impressive. I'm convinced that GAs will be an important part of future computing.

146.

Your First Node.js Web Application in 15 Easy Steps(primaryobjects.com ↗)

3 points · by primaryobjects · 13y ago · discuss

comment 13y ago · link · parent

It's nice, but I'm more of a fan of direct inline editing on the web page via HTML5 contenteditable=true. The Aloha Editor http://aloha-editor.org does this very well. I've actually just recently added their editor to my node.js mini cms, called ContentBlocks http://contentblocks.herokuapp.com

comment 13y ago · link · parent

Yep. https://github.com/primaryobjects/redant

comment 13y ago · link · parent

Nice job. I made almost the same exact interface a few months back in node.js + mongodb http://red-ant.herokuapp.com
123456