- RSS Channel Showcase 5555243
- RSS Channel Showcase 2399180
- RSS Channel Showcase 8990476
- RSS Channel Showcase 8532602
Articles on this Page
- 04/30/16--22:16: _Flashing ROM to Sam...
- 05/01/16--02:40: _SQL or NoSQL – Why ...
- 05/06/16--10:46: _Functional Fun with...
- 05/27/16--03:53: _Run Multiple Termin...
- 06/13/16--08:24: _WAMP Is WebSocket o...
- 07/16/16--02:42: _Next Adventure in A...
- 08/19/16--07:27: _Revival of Neural N...
- 09/01/16--02:49: _Asyncio Proxy for B...
- 10/27/16--05:35: _NetworkManager Scri...
- 11/01/16--02:53: _Mybookshelf2 Alpha ...
- 12/04/16--08:28: _Easy SQL Schema Mig...
- 01/21/17--08:11: _Lessons Learned Fro...
- 02/27/17--08:36: _Comparison of JSON ...
- 03/28/17--03:21: _Run and monitor tas...
- 05/24/17--08:34: _In RUST We Trust
- 08/16/17--01:43: _Blockchain madness
- 08/19/17--03:44: _Ethereum local play...
- 09/04/17--00:05: _Writing Distributed...
- 09/26/17--08:35: _The Splendors and M...
- 09/27/17--15:44: _Secret Sharing Is C...
- 04/30/16--22:16: Flashing ROM to Samsung Phone
- 05/01/16--02:40: SQL or NoSQL – Why not to use both (in PostgreSQL)
- 05/06/16--10:46: Functional Fun with Asyncio and Monads
- 05/27/16--03:53: Run Multiple Terminal Tabs with Python Virtualenv
- 06/13/16--08:24: WAMP Is WebSocket on Steroids
- 07/16/16--02:42: Next Adventure in Aurelia – Autocomplete Component
- 08/19/16--07:27: Revival of Neural Networks
- 09/01/16--02:49: Asyncio Proxy for Blocking Functions
- 10/27/16--05:35: NetworkManager Script to Set HTTP Proxy
- 11/01/16--02:53: Mybookshelf2 Alpha Version is available
- 12/04/16--08:28: Easy SQL Schema Migration for SqlAlchemy and Flask
- 01/21/17--08:11: Lessons Learned From Current Web Application Development
- 03/28/17--03:21: Run and monitor tasks via WebSocket with ASEXOR
- 05/24/17--08:34: In RUST We Trust
- 08/16/17--01:43: Blockchain madness
- 08/19/17--03:44: Ethereum local playground
- 09/04/17--00:05: Writing Distributed Application for Ethereum
- 09/26/17--08:35: The Splendors and Miseries of CaaS – Experiences with Openshift3
- 09/27/17--15:44: Secret Sharing Is Caring Too
On Linux there is a great Heimdall tool. I used it recently to flash stock ROM and custom recovery (TWRP) to my old Samsung S3 mini. Best to be used from command line. Heimdall is in Ubuntu repos (or build from source): [crayon-572935ffc5bca169001186/] Steps to flash: Restart phone in download mode – push all tree … Continue reading Flashing ROM to Samsung Phone
NoSQL databases have become very popular in last years and there is a plenty of various options available. It looks like traditional relational databases (RDBMs) are almost not needed any more. NoSQL solutions are advertised as faster, more scalable and easier to use. So who would care about relations, joins, foreign keys and similar stuff … Continue reading SQL or NoSQL – Why not to use both (in PostgreSQL)
Python 3.4+ provides excellent Asyncio library for asynchronous tasks scheduling and asynchronous I/O operations. It’s similar to gevent, but here tasks are implemented by generator based coroutines. Asynchronous I/O is useful for higher I/O loads, where it usually achieves better performance and scalability then other approaches (threads, processes). About a year ago I played with … Continue reading Functional Fun with Asyncio and Monads
Virtualenv is a must have for python development. If your project is complex beast consisting of multiple services/components you want them see running in different terminals (ideally tabs of one terminal window). Staring all terminal manually could be cumbersome. This simple script starts terminal tabs (in gnome-terminal) with activated virtual environments and eventually appropriate services/applications … Continue reading Run Multiple Terminal Tabs with Python Virtualenv
If you look for WAMP abbreviation over Internet, you will probably find that WAMP = Windows + Apache + MySQL + PHP – which was popular web stack some time ago (but who wants to run web server on Windows today? And other components now also have viable alternatives). But in this article I’d like … Continue reading WAMP Is WebSocket on Steroids
As I have written in this post I’m slowly getting into Aurelia Web UI framework. Recently I needed an autocomplete component. My requirements were: get suggestions from server via REST API (JSON payload) simple, yet flexible (value can be calculated from received suggestions) flexible ways to display suggestions (ideally provide a template to display suggestions … Continue reading Next Adventure in Aurelia – Autocomplete Component
My actual master studies topic was AI (more then 20 years ago). Artificial Neural Networks (ANNs) were already known and popular branch of AI and we had some introduction to basics of artificial neural networks (like perceptron, back propagation, etc.). Though it was quite interesting topic, I had not seen many practical applications in those … Continue reading Revival of Neural Networks
File operations and other IO operations can block asyncio loop and unfortunately python does not support true asynchronous disk operations (mainly due to problematic state of async disk IO in underlying os – aka linux – special library is need for true asynchronous disk operations so normally select (or other IO event library) always reports … Continue reading Asyncio Proxy for Blocking Functions
While Gnome and it’s derivatives support automatic proxy detection, it do not work well for all programs, particularly for command line programs. I’ve found that using simple script in /etc/NetworkManager/dispatcher.d works better for me, which sets and unsets fixed proxy works better. NM dispatcher scripts are run each time network connections change (network up, … Continue reading NetworkManager Script to Set HTTP Proxy
Mybookshelf2 enters the stage, when code can be considered of alpha quality. Basic functionality is there, so it could be tried and I plan to move my ebooks collection to it soon. MBS2 is packed with new technologies and comparing to previous version (Mybookshelf) it can be considered a completely new application. So what’s new? … Continue reading Mybookshelf2 Alpha Version is available
While SqlAlchemy (and Flask-SqlAlchemy) provides an easy way to create DB schema from scratch, migration of an existing schema is bit more challenging. As soon as you change attributes in your declarative ORM models, the underlying DB schema is to be changed for application to work. If you need to keep data , you’ll need … Continue reading Easy SQL Schema Migration for SqlAlchemy and Flask
Recently I’ve been working on some extensions to ASEXOR, adding there direct support for messaging via WebSocket and I use JSON for small messages that travels between client (browser or standalone) and backend. Messages looks like these: [crayon-58c42a42c3a79424443016/] I wondered, if choosing different serialization format(s) (similar to JSON, but binary) could bring more efficiency into … Continue reading Comparison of JSON Like Serializations – JSON vs UBJSON vs MessagePack vs CBOR
Many modern web applications require more then just displaying data in the browser. Data may need to be processed and transformed in various ways, which require intensive processing tasks on server side. Such processing is best done asynchronously outside of web application server, as such tasks can be relatively long running. There are already many … Continue reading Run and monitor tasks via WebSocket with ASEXOR
Some technologies I really notice only when they hit me directly into the face. That’s the case of blockchain – I have been looking into Bitcoin several years back and found it quite interesting (especially from cryptographic perspective – as interesting usecase for applied cryptography), but never expected that it’ll reach such extensive grow in … Continue reading Blockchain madness
In past article I’ve talked generally about blockchain technologies, in this article we will look into Ethereum from user perspective. We will build local playground, where we can test many functions of Ethereum(Ethers transfers, using and writing smart contracts and more) without spending real Ethers (and thus real money). This guide in intended for users … Continue reading Ethereum local playground
In past article I’ve written about some basic stuff we can do with Ethereum client Parity – like transfering Ethers, creating multi-signature wallet and even writing our own contracts. Now I’ll continue with writing our very own Distributed Application ( Dapp). What is Dapp? In my understanding Distributed Application is combination of contract(s) deployed in … Continue reading Writing Distributed Application for Ethereum
Container as a Service (CaaS) is increasingly popular cloud service (usually categorized under Platform as a Service family of cloud services). It can provide easy ways how to deploy web applications leveraging Linux container technologies usually most popular Docker containers. Recent addition to this family is Openshift v3 from RedHat. Openshift is available as an … Continue reading The Splendors and Miseries of CaaS – Experiences with Openshift3
In todays digital world passwords and other types of secrets are omnipresent and they secure access to various assets dear to our hearts, some of those can have tremendous tangible or moral value. For such assets it’s worth to select really good and strong password, which basically means long and hard to remember. How to … Continue reading Secret Sharing Is Caring Too