Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Channel Catalog


Channel Description:

My Digital Bits And Pieces

older | 1 | (Page 2) | 3 | newer

    0 0

    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

    0 0

    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)

    0 0

    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

    0 0

    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

    0 0

    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

    0 0

    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

    0 0
  • 08/19/16--07:27: Revival of Neural Networks
  • 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

    0 0

    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

    0 0

    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

    0 0

    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

    0 0

    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

    0 0

    Mybookshelf2 (MBS2) is basically in beta stage and provides all functionality available in previous version and more. As I went through programing the new application using several new technologies,  I’ve realized few things, which I’d like to share here. Web client development’s got quite complex It’s not enough now to know a bit of Javascript … Continue reading Lessons Learned From Current Web Application Development

    0 0

    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

    0 0

    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

    0 0
  • 05/24/17--08:34: In RUST We Trust
  • Having been programing recently mostly in dynamic untyped languages (aka Python and JavaScript) I though that it would be nice to try something else, bit different –  meaning compiled and statically typed. Last adventures in this area were with OCAML, which I used for few learning projects couple years ago( like this one).  OCAML is … Continue reading In RUST We Trust

    0 0
  • 08/16/17--01:43: Blockchain madness
  • 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

    0 0
  • 08/19/17--03:44: Ethereum local playground
  • 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

    0 0

    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

    0 0

    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

    0 0
  • 09/27/17--15:44: Secret Sharing Is Caring Too
  • 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

older | 1 | (Page 2) | 3 | newer