Donnerstag, 29. Dezember 2011

Leptonica











Leptonica is the name of an image processing library which uses image recognition to determine the "bounding boxes" and orientation of all the letters on a scanned page.

This was named by a scientist I'm sure. "Leptons" are the tiny little light weight particles like 'photons' in comparison to the big heavy particles - like neutrons and protons. Photons are the particles that are in light...
that allow us to see images at all! :)

Right now it is the thing that will not build or is interrupting the build of "tesseract" my optical character recog nition library.


    checking for leptonica... yes
    checking for pixCreate in -llept... no
    configure: error: leptonica library missing

Hmm most frustrating... 


Swendawg



Montag, 26. Dezember 2011

Sendgrid and Online in Sydney!


Okay guys,

So I've finally got my act together - after switching jobs I gave my new job my 100% attention for the first three months - but now I'm able to do a little bit of work on my own project at home.
So this morning I checked out sharehouser from github/heroku (after some fun with ssh keys...)

*TIP* if you forget your passphrase for your ssh key - use "ssh-keygen -p" it will let you "reset" your password - but you can also use it to locally attempt remembering your passphrase! :)

Then "ssh-add" to add the key to your keyring (you may need to do:

chmod 600 ~/.ssh
chmod 600 ~/id_rsa*

)

Yes so now it's all up and running and I'm good to go - before I left Germany I actually managed to get Sendgrid hooked up into sharehouser - so now you can email it your bills directly into your sharehouser house - it expects bills to be in the following format:


etc...

It's a pretty nice feature to be able to add bills to your sharehouse from anywhere.

Okay gotta keep codin!


Swendawg

Sonntag, 31. Juli 2011

Free icecream for children travelling on german railways

The main train company in germany "deutsch bahn / die bahn"

has decided it is a good idea to give children free icecream every time

they travel on german railway.... there is a special deal for families.

Children under 15 can travel for free with their family.....

AND get free icecream...

this is not just any sort of icecream... it is:






well well well!

This a promotion of the new "X-POP" ice cream... a perfect

captive market for the product... ALL other children in the train will get this

ice cream

making it almost impossible for any "normal" parent to resist also purchasing

an icecream for their child... they KNOW the dangers of being "different"

for young children at school age....


So... what nutritional benefits do the children under 15 get from their special treat?




First weird thing... this is a german website... but it doesn't use the german
numbering system instead using 0.3 ..... they should put 0,3 because the comma us
used in Germany as the decimal sign... ohhh well

So basically not very much protein..
The thing we DO NOT see here - the main thing which is important is the amount of fructose sugar that's in it. It's becoming slowly clear that fructose is a special type of sugar that affects the body in a very particular way... and over a long period of time and REGULAR exposure... it can cause very bad effects...

(or so goes the theory...) :)

If you look at MOST processed foods - they VERY often use fructose - specifically "high fructose corn syrup" - it's very easy to produce and store - and it increases the shelf life of all products. It even has a slightly addictive quality to it... in some ways... (or so the theory goes..) :)


Let's take a look if we can find out the REAL type of sugar in this ice cream.

More questions about ingredients? - read on

The main ingredients of ice cream are milk and cream, includes milk fat, skim milk, buttermilk,
cream and milk. Our other ingredients are cane sugar and glucose syrup.



Okay... so we are mainly talking "glucose" so that's not so bad... however...
the "cane sugar" term is actually hiding behind it this fact... although not SOOO scary/impressive


[wikipedia]

But what percentage is this...?
As they mentioned their other ingredients are "cane sugar" and "glucose syrup"
IN THAT ORDER (if order is important here... I guess it's an informational web site
and not bound by the same laws as nutritional labeling..)

Well I searched for a while... it's very hard to find the actual percentages of fructose
in cane sugar :).

It's hard to get good information...

Sounds like an interesting web site idea - a fructose content search engine for food.

gotta go!


Swendawg

Online!

Sharehouser IS online.... but I won't say where... it's in alpha alpha alpha

phase at the moment... but it can already send me emails!

I want to use the "sendgrid" extension to allow it to receive emails as well.

Interesting times ahead!

Stay tuned.