Python, Docker, Twisted, Scikit-learn, uWSGI, X-Road, Hosting, SSD
Post date: Dec 14, 2014 10:43:06 AM
- Watched: Mikko Hyppönen's TEDx Brussels 2014 talk Internet is on Fire.
- Finnish businesses are looking for multiple methods to avoid taxes. This is the situation where taxation is so high, it's really worth of all effort trying to find anyway to avoid taxation. Taxation avoidance is a good business.
- Maybe 'Finnish businesses' should be located in Panama or Hong Kong? There has been multiple discussions if running business in Estonia gives true tax benefits as those two previous alternatives do.
- Reminded developers once again about Semantic Versioning which does make sense, instead of versioning everything totally randomly or not changing version numbers at all when releasing new versions. I've seen so many projects to miserably fail with even simple versioning.
- Watched pyvideo Set your code free releasing and maintaining an open-source Python project.
- I'm just wondering why some firewalls do reserver NAT table entires for UDP ports which have been forwarded to internal network? Because there's static mapping in place, there's no reason what so ever to replicate these static mappings as temporary mappings, which then just consume resources in the temporary mapping talbe. In case of many DHT network implementations which quickly communicate with large number of peers, this could easily reserve thousands of entries, and then basically swamp the routers NAT table. If I would write such firmware or software, I wouldn't simply store the static mappings into the temporary NAT table at all.
- Alternate view, I hate sites which require login & password, especially to only view content. I try to ignore every such site, because those are designed really badly. As well as I don't get it what's the silly correlation between email and registration. I don't want to give my email, nor I want to register. If I need to give email, I can give any random temporary email. Signup procedures on many sites are horrible. Best sites do allow interaction without these hindrances.
- Watched pyvideo So You Want to Build an API. Nothing new, but otherwise a good talk including best practices and patterns of API building. Handled caching, headers, authentication, resource urls, rate limiting, JSON data structures, and other regular stuff.
- Checked out new Docker features. Docker Engine, Docker Machine, Docker Swarm, Docker Compose.
- Watched: Introduction to Twisted which goes differences between synchronous and asynchronous code through.
- Watched: Machine Learning with Scikit-learn.
- uWSGI's Emperor mode is as wonderful as many other features with uWSGI. Even cofiguration data can be given on command line or from directory of config files (XML, INI, JSON, YAML, SQLite3), PostgreSQL, MongoDB, AMQP, ZeroMQ, Zookeeper, LDAP. Wonderful, you won't run out of options.
- Wondered the standard style of network admins to screw up things. They take any random network device. Uuggh, I can't login. Then they reset it to factory settings and start tuning things. Don't they really realize how massively they just f..d up. Nothing to say about these so called 'field best practices', duh.
- National Service Channel (Finland) - Technology review - Finnish:" Mainio yhteenveto kansallisen palveluväylän teknologioista ja tekiinoista, lienee kuitenkin suurimpia integraatiohankkeita ja projekteja Suomessa tulevina vuosina."
- For English information check out X-Road Europe.
- If anyone is interested about these integration projects, or related services, that's great. Because at least I'm interested about these new services and opportunities. As well as the stuff they're doing is very familiar to me.
- kw: tiedonsiirtoprotokolla, tekniset vatimukset, aikataulu, jatkokehitys, yleisesittely, palveluarkkitehtuuri, viestiväylä, palveluprosessi, standardointi, hajautettu järjestelmä.
- Also checkout (in Finnish), National Service Channel Experiences by City of Espoo. No surprises there either.
- Checked out VersaWeb. It seems that they provide "Heztner" like prices in US. Really nice and competitive pricing. Yet they got US only servers right now.
- If you're looking for super cheap VPS servers to work as VPN gateway or just to monitor things or so, running really light code on the web all the time, it's good idea to checkout Atlantic.net. Starting from less than 1 USD / month. I also wrote a long post about differences of vps and cloud (IaaS, SaaS) alternatives but that's in Finnish.
- Something different? Checked out Cruise Missiles, History of Nuclear Power and Area 51 documentaries, telling a lot about history of inventions made and tested and what kind of failures did they experience.
Final comments: Some SSD drives are just so horrible. Works SST performance ever? Ok ok, 10 MB/s read 4MB/s write USB 2.0 sticks are worse, as well as the Random 4KB access speed is still much better than with traditional HDD's.
CrystalDiskMark 3.0.3 (C) 2007-2013 hiyohiyo
Crystal Dew World : Crystal Dew World
* MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]
Sequential Read : 82.151 MB/s
Sequential Write : 31.920 MB/s
Random Read 512KB : 79.885 MB/s
Random Write 512KB : 15.408 MB/s
Random Read 4KB (QD=1) : 7.955 MB/s [ 1942.1 IOPS]
Random Write 4KB (QD=1) : 1.954 MB/s [ 477.1 IOPS]
Random Read 4KB (QD=32) : 8.360 MB/s [ 2041.0 IOPS]
Random Write 4KB (QD=32) : 1.908 MB/s [ 465.9 IOPS]
Test : 100 MB (x3)
Date : 2014/12/08