Weekly roundup - 11


Wordpress released .blog extension, get yours with an incredible price. eg. hakan.blog -> 5220 euro, thanks, feeling valued. https://get.blog/ Get Android debug keystore hash (SHA1, SHA256 or MD5) - useful for firebase authentication:keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android Star Citizen 2016 - Gamescom trailer: https://www.youtube.com/watch?v=GucYhhLwIxg Android Nougat 7.0 Official website TheVerge review Yet another betalist clone: http://www.betafy.co/ I needed a Mac’s Preview like image editor to quickly resize/stretch images for Chrome Webstore. I made my logo but it turned out to be 128x127px so I need to make it 128x128px. Spent like 15 minutes. Tried these ones: Geeqie * sudo apt-get install geeqie Gthumb * sudo apt-get install gthumb Shotwell image viewer Nautilus right click context menu resizer * sudo apt-get install p...

Weekly roundup - 10 #pocket #ai #rtos


‘Pink + Purple == Fuchsia (a new Operating System).’ HN discussion They say it’s an OS for augmented reality with predictable latency times like a RTOS. Let’s see. https://fuchsia.googlesource.com/magenta/+show/master/docs/mg_and_lk.md https://github.com/fuchsia-mirror/escher https://fuchsia.googlesource.com/ What we learned from running Fuchsia, the mysterious new OS from Google This week I was sooo annoyed with Pocket so I decided to start a new project. Stay tuned! Meanwhile I tried these ones: Basket Raindrop Flynx’s reader UI Instapaper Problem is that Pocket and these ones have problem with really simple sites like Medium, wikipedia and my favorite eksisozluk.com For the people with lack of color abilities while doing the web design: http://jxnblk.com/hello-color Play MS-Dos games in the browser for free without DosBox https://archi...

Weekly roundup - 9 #sqlite #python #bash


SQLite dump a table as csv: sqlite3 -header -csv mydb.db "select * from my_table;" > monthly.csv See the schema * cat .schema | sqlite3 mydb.db Redirect output to txt file from sqlite cli. * $ sqlite3 mydb.db * `.output my.txt` * `select * from my_table;` * OR just dump the whole db * `$ sqlite3 mydb.db` * `.output my.txt` * `.dump` Bash - check if a command is installed in the machine:command_exists (){ type "$1" &> /dev/null ;}# Install csvtojson if not exists.if command_exists csvtojson ; then echo "csvtojson exists"else echo "Installing csvtojson" sudo npm install -g csvtojsonfi Python multi threading: Pass parameters to the threadimport threadingdef F(): threading.Thread(target=Foo, args=(my_param,)).start()def Foo(my_param): print 'This is a long running process' Jekyll multiline code blocks for github pages (kramdown):```language_namesome_code_here(...

Useful BeautifulSoup Tips #bs #python #scraper


Poor man’s scraper…Yes it works like a charm even on the unvalidated html. That’s my biggest problem with python libraries like lxml etc, they don’t really work well with the unvalidated html/xml trees. However BeautifulSoup does everything it can.Here are some handy commands I use every day: Install: sudo easy_install beautifulsoup4from bs4 import BeautifulSoupsoup = BeautifulSoup(html_doc, 'html.parser')# Prettify your html. Works amazingly well.print soup.prettify()# Find one element in the html by tag name.soup.find('a')# Find all elements in the html by tag name.soup.find_all('a')# Find one element in the html by having a class name (multiple classes will be found as well):soup.find('a', {'class': 'some-css-class'})# Find one element in the html by having a class name (multiple classes will be found as well):for s in soup.find_all('a', {'class': 'some-css-class'}): print s # Get element's text within the tags:soup.find('a', {'class': 'some-css-class'}).get_text()# Get ele...

Weekly roundup 8 - #css #oneplus


Oneplus 3 is awesome, the best phone I’ve ever used so far. And it’s amazingly fast after Nexus 6p. Full review will come. Pokemon Go still going strong, here is the map created by consuming information from directly Niantic’s servers: https://github.com/AHAAAAAAA/PokemonGo-Map Duckduckgo thinks Telegram is not secure Postgres team discussed the Uber’s migration from Postgres to MySQL https://www.postgresql.org/message-id/5797D5A1.5030009%40agliodbs.com This was Uber’s original post Cool discussion in Hacker News about how postgres acted mature instead of replying back each claim. By the way, TIL: postgres is the successor of Ingress which is the core developer’s first rdbms. So it’s name is coming from post-ingress. This week I dedicated some time reading Language Translation with Machine Learning by using Natural Language Processing. Rough chart Weird Jekyll update My blog was down for a couple of ...

Weekly roundup - 7 #domain #parse #pokemon


There was a coup attempt in Turkey so I skipped writing new posts. Here I go again. Openshift is incredibly easy to set up ghost and wordpress for free. Free tier’s response times are amazing, you can even uploada images. I really like ghost, I’d definitely go back if I didn’t move my blog to gh-pages. You can even set up phpMyAdmin for free without spending any of your gears. I mean literally free! Namecheap has added catch-all filter for incoming emails. So no need to use mailgun filters any more. Started to play Overwatch, no more side projects :/ Successfully migrated one of my apps from Parse.com to my self-hosted parse server in heroku free tier which is backed by MongoLab (mLab). So it’s still free but of course not as performant as before. MLab puts some latency and heroku free tier apps sleep 6 hours per day. Let’s how it will go. However, this was a tricky process. May write something about it later. Become level 20 at pokemon Found this very...

Weekly roundup - 6 #json #rss #nativescript


Summer in Dublin, Air lounger is actually working not just some marketing trick Started to watch Game of Thrones stories: https://www.youtube.com/watch?v=sEcwakbtXG4 Rewrote my prayer times application since ramadan is here: * Used nativescript which is amazingly good. On the first day of the update of the app I received 158 concurrent users Will write another post regarding the structure of the app. Change a remote address git remote set-url Realized this: if you try to iframe youtube in a webview in an android app, your app may be rejected by Google Play Store https://play.google.com/about/privacy-security/#device-and-network-abuse Awesome way of getting JSON out of RSS feeds: https://query.yahooapis.com/v1/public/yql?q=select%20title%2Clink%2Cdescription%20from%20rss%20where%20url%3D%22**<ENCODED_RSS_URL>**&format=json&diagnostics=true&callback= There is this option but it’s heavily cached *...

Weekly roundup - 5


** Leaf - Machine Learning for Hackers http://autumnai.com/leaf/book/leaf.html Personal info of 93.4 million Mexicans exposed on Amazon http://www.databreaches.net/personal-info-of-93-4-million-mexicans-exposed-on-amazon/ Very cute chart library chart.js http://www.chartjs.org/ An alternative chart library http://metricsgraphicsjs.org/ Github has ~12M open issues https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+ 52 technologies you need to learn in 2016 https://github.com/shekhargulati/52-technologies-in-2016 GAE get_all http://stackoverflow.com/questions/3195647/how-to-get-checkbox-data-using-python-on-gae How Kalman filters work http://www.anuncommonlab.com/articles/how-kalman-filters-work/*

Weekly roundup - 4 #leak #privacy #torrent #swift


A panorama night shot with Nexus 6p, 2015 Apple use swift only in calculator app in iOS. https:[email protected]/is-apple-using-swift-4a6c80f74599#.d35wfcl91 Turkish citizenship data leaked (50m records) https://twitter.com/dchest/status/716934572949299200 Panama Papers leak ng-infinite-scroll CDN https://cdnjs.cloudflare.com/ajax/libs/ngInfiniteScroll/1.2.2/ng-infinite-scroll.min.js Easiest terminal torrent client: Aria2c wget http://example.com/some.torrent sudo apt-get install aria2 aria2c some.torrent Today I learnt (TIL), there is a neo4j alternative developed by a Googler: https://github.com/google/cayley Read large files with python without pullling whole file into memorywith open("log.txt") as infile: for line in infile: do_something_with(line) Impressive: Grindr Manages More than 1,800,000 API Calls Per Minute with Less than 5 Engineers - W...

Weekly roundup - 3 #instagram #api #css #aprilfools


San Francisco 2015, Oneplus One Example Instagram Api call Following: https://api.instagram.com/v1/users/USER_ID/follows?access_token=TOKEN Posts https://api.instagram.com/v1/users/USER_ID/media/recent?access_token=TOKEN RxJava: Reactive Extensions for Java AirBnb switched to RxJava on Android app https://realm.io/news/kau-felipe-lima-adopting-rxjava-airbnb-android/ Reactive programming Evolution of Go https://talks.golang.org/2015/gophercon-goevolution.slide#21 Ubuntu tablet edition pre orders http://www.bq.com/uk/aquaris-m10-ubuntu-edition Very beautiful HTML/CSS templates: http://html5up.net/ Kubernetes handles 10m qps with zero downtime, impressive video http://blog.kubernetes.io/2016/03/1000-nodes-and-beyond-updates-to-Kubernetes-performance-and-scalability-in-12.html “Modern computing: typing at a regular ...


subscribe via RSS