Learning Haxe via the Elm examples

The goal of the Elm2Haxe Project is to implement all of The Elm Language tutorial examples in Haxe OpenFL.

Would anyone care to submit pull requests for Layout, Positioning, 2D Shapes and 2D Fills in the Elm Language Examples basics section.

 

Posted in Hacking | Leave a comment

Generating class diagrams from Python code

I had written some of my most complicated OO Python to-date, using a mixture of SQLAlchemy and Nagare. I found 2 excellent tools for generating class diagrams:

pyreverse within the PyLint distribution is excellent

– and PyNsource is amazing as well

I ended up mainly using the first one, because all I had to do with `pip install pylint` and then pyreverse -o png -p app .

 

Posted in Python | Tagged | Leave a comment

A different view of Google

From this reddit thread we have this dirt on G:

They stole search from RankDex, gmail was in beta for 8 years and the search still sucks balls, google maps is allright, android was acquired by them and is still in beta (not officially, but have you seen the problems they’re having?), chrome started out promising but gets worse and worse, Google voice was a neat idea that was stillborn and their mismanagement of G+ and hangouts is legendary. Reader, iGoogle, Google Talk, Google Health, Knol, Picnik, Buzz, Wave, aardvark, notebook, dictionary, dodgeball, jaiku, lively, pagecreator, answers, Google Plus, Google Glass, Google Nexus Q, etc. etc. etc. There’s more dead projects than live ones.

Posted in Uncategorized | Leave a comment

Solving the dreaded “The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php:

If your wordpress update failed with the error “””The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php"""

Help is on the way.

sudo chown -R www-data:www-data .

.. tada!!!

Posted in Uncategorized | Leave a comment

HTML is a data structure

From reddit user remy porter in the thread “Is Separating HTML and JavaScript Harmful? ” we have:

The problem is that most frameworks misunderstand what HTML is.

HTML is a data structure. Specifically, it’s a semantic data-structure for holding human-readable information. It is the backing-store of a presentation layer, it is not, itself the presentation. CSS is a rule-based system for defining how to map that backing-store into actual rendering. JavaScript is a tool to manipulate that data.

The purpose of our MV- frameworks is mostly to map actual data- XML or JSON- to our HTML backing store. Their mistake is thinking of the HTML as a view- HTML does not have the concept of a “View”, and bolting the view on is awkward and leads to all sorts of tooling issues- which is mostly what the author is complaining about. These are valid complaints, but they don’t arise from separation- they arise from leaky abstractions.

 

 

Posted in Uncategorized | Leave a comment

Concurrency

http://migrateup.com/python-concurrency-story-pt2/#

Posted in Python | Tagged | Leave a comment

Mary Rose Cook on FP in Python

http://maryrosecook.com/blog/post/a-practical-introduction-to-functional-programming

Posted in Python | Tagged | Leave a comment

Zato 2.0 – ESB, SOA, REST, APIs and Cloud Integrations in Python

Zato

Posted in Python | Tagged , , | Leave a comment

scala book pdfs

When I wanted to learn Scala, my first steps were to get Scala, SBT and Intellij IDEA installed. And then I needed to get IntelliJ IDEA to know about my locations for scala, scalac, and sbt.

The next step was to find some offline resources, so I could learn on the train. Here are enough resources to get you going:

Happy hacking!

 

Posted in Uncategorized | Tagged | Leave a comment

Avoid MySQL – especially with Django

This tells why.

Posted in Uncategorized | Leave a comment