|
Miss C-a, C-e in your browser and other Linux apps? You can enable the GTK Emacs key theme: $ gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" or if on Cinnamon: $ gsettings set org.cinnamon.desktop.interface gtk-key-theme Emacs If your desktop environment is not running gnome-settings-daemon, start it with: $ gnome-settings-daemon More at Emacs Keybindings in Chrome Without Gnome and How to get Emacs key bindings..
|
|
FreeBSD is now fully supported on the Raspberry Pi2, makes it a fun small computer to experiment with BSD. If you have a Raspberry Pi 1, you can simply install 10.2-RELEASE image. For Raspberry Pi 2, you need 11.0-CURRENT which is the development branch, images can be found here. dd the image as usual to a SD card, it will be auto resized at first boot. (See growfs_enable="YES") in rc.conf.
|
|
It’s been an interesting year. I left my job as a producer at an ad agency, I helped start a fantasy sports company, I moved to Los Angeles and then moved back…
|
|
A number of times in a crowd I’ve asked how many people enjoy writing SQL, and often there’s a person or two. The follow up is how many people enjoy reading other people’s SQL and that’s unanimously 0. The reason for this is that so many people write bad SQL. It’s not that it doesn’t do the job, it’s just that people don’t tend to treat SQL the same as other languages and don’t follow strong code formatting guidelines. So, of course here’s ....
|
|
A number of times in a crowd I’ve asked how many people enjoy writing SQL, and often there’s a person or two. The follow up is how many people enjoy reading other people’s SQL and that’s unanimously 0. The reason for this is that so many people write bad SQL. It’s not that it doesn’t do the job, it’s just that people don’t tend to treat SQL the same as other languages and don’t follow strong code formatting guidelines. So, of course here’s ....
|
|
If you weren’t aware user namepace support was added to Docker awhile back in the “Experimental” builds. But with the upcoming release of Docker Engine 1.10.0, Phil Estes is working on moving it into stable . Now this is all super exciting and blah blah blah, but what I am going to talk about today is how I started running all the containers from my Docker Containers on the Desktop with the new user namespace support. The containers/im....
|
|
Install libclang on Mac brew install llvm --with-clang Configure Emacs (use-package irony :ensure t :config (add-hook 'objc-mode-hook 'irony-mode) (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options)) (use-package company-irony :ensure t :config (add-hook 'objc-mode-hook (lambda () (setq-local company-backends '((company-irony))))) (add-hook 'irony-mode-hook 'company-irony-setup-begin-commands)) install irony server R....
|
|
36 Hours in Helsinki . Boat to the Baltics; Tallinn (Estonia). Helsinki - Suomenlinna (former maritime fortress). Lapland (husky sledding, reindeer, Santa Claus village). Päivä no:23 Reitti no:23 no:12 | Leipomo K.E.Avikainen (try munkkipossu: pig shaped donut) . Ragu Ravintola (try panfried fiesh, pulled pork, steak tartare, chocolate mouse) . Rovaniemi for reindeer, dog sled, santaland, artic circle photos.
|
|
Aim for a new moon (eg. 2016-01-10 or 2016-02-08). Aim for auroral zone . Guide Gunnar will go distance to ensure you see the lights. Kiruna Sleddog Tours . Tromsø's reindeer racing . Tromsø . Hundekjøring : drive your own sled. Tromsø whale watching.
|
|
The officially-supported Ubuntu Phones run pretty old kernels. The Nexus 4 and BQ phones all run v3.4, and the Meizu MX4 runs v3.10. Device kernels typically lag a bit behind since so much effort goes into making them compatible with the hardware, but this posed a bit of a complication since the Click confinement model utilizes features of AppArmor v3, which isn’t even released yet. However, we like to push the envelope here at Canonical, s..
|
|
I love really Amazon EMR . Over the years it’s grown from being “Hadoop on-demand” to a full-fledged cluster management system for running OSS big-data apps (Hadoop MR of course, but also Spark, Hue, Hive, Pig, Oozie and more). While Hadoop out of the box supports reading from S3, EMR has a proprietary implementation called EMRFS that has some nice features. For those reasons, it’s really the best Hadoop cluster to use if you’re storin....
|
|
On the last episode of From Inside the Box, we found our pickup truck protagonist in the throes of a struggle for survival: not of flesh, but of his very livelihood. Where will he go? What will he do? Will he ever understand why kids love the taste of Cinnamon Toast Crunch™? Find out on this episode eventually…maybe. Just kidding. I don’t plan to talk about any of those things today. Instead, we’re going to talk about poor decisions,..
|
|
On the last episode of From Inside the Box, we found our pickup truck protagonist in the throes of a struggle for survival: not of flesh, but of his very livelihood. Where will he go? What will he do? Will he ever understand why kids love the taste of Cinnamon Toast Crunch™? Find out on this episode eventually…maybe. Just kidding. I don’t plan to talk about any of those things today. Instead, we’re going to talk about poor decisions,..
|
|
Generating Realistic Satellite Imagery with Deep Neural Networks
-
www.hallada.net
-
10 years ago
-
eng
I’ve been doing a lot of experimenting with neural-style the last month. I think I’ve discovered a few exciting applications of the technique that I haven’t seen anyone else do yet. The true power of this algorithm really shines when you can see concrete examples. Skip to the Applications part of this post to see the outputs from my experimentation if you are already familiar with DeepDream, Deep Style, and all the other latest happe....
|
|
Generating Realistic Satellite Imagery with Deep Neural Networks
-
www.hallada.net
-
10 years ago
-
eng
I’ve been doing a lot of experimenting with neural-style the last month. I think I’ve discovered a few exciting applications of the technique that I haven’t seen anyone else do yet. The true power of this algorithm really shines when you can see concrete examples. Skip to the Applications part of this post to see the outputs from my experimentation if you are already familiar with DeepDream, Deep Style, and all the other latest happe....
|
|
This was to be my very first CTF challenge, and what better time to start than during the festive period! Lots of chocolate, alcohol, and mix in a bit of hacking. Perfect to improve my skills and prove my theoretical knowledge hasn’t gone to waste. So… lets get started: Download PCAP from ‘Josh’ wget http://holidayhackchallenge.com/2015/giyh-capture.pcap Download Python script from ‘Josh’ wget http://holidayhackchallenge.com..
|
|
We - at the dev-sec.io -team - create Ansible (and Puppet and Chef) roles that harden the security of our Linux-servers. They are meant to be used in production so we try to provide these roles to several different operating systems, including Debian, Ubuntu, RedHat and its derivates. Manually testing the roles on many different systems is a very time-consuming task: You’ll have to set up a virtual machine, update it, install Ansible, ru....
|
|
Heute erst hab ich ein Artikel über idea debt gelesen - die große Anzahl an aufgeschriebenen Ideen kann eher hinderlich sein, und wie eine todo-Liste wirken, die man abarbeiten muss. Wer will denn sowas? Aber wohin mit den Ideen, mit den halb ausgesprochenen, halb im Mund hängenden Gedanken? Womit mit halb guten Fotos und unpassenden Anfängen? Vielleicht an diesen Ort? Vielleicht gefällt es ihnen in diesem ruhigen Teich.
|
|
When you work in the software industry, indubitably you will find the (now very famous)BOFH, and Clients from Hell material, where a technical person complains about a client. Whether they asked for an impossible thing or software that doesn’t even make sense, the common mood (or at least what I get from them) is that the client is somewhat stupid, or short sighted. I don’t want to discuss whether the clients are on the right or not, but I ..
|
|
When you work in the software industry, indubitably you will find the (now very famous)BOFH, and Clients from Hell material, where a technical person complains about a client. Whether they asked for an impossible thing or software that doesn’t even make sense, the common mood (or at least what I get from them) is that the client is somewhat stupid, or short sighted. I don’t want to discuss whether the clients are on the right or not, but I ..
|
|
In case you missed it, we recently merged a default seccomp profile for Docker containers. I urge you to try out the default seccomp profile, mostly so we can rest easy knowing the defaults are sane and your containers work as before. You can download the master version of Docker Engine from master.dockerproject.org or experimental.docker.com . We even have a doc describing the syscalls we purposely block and security vulnerabilit....
|
|
Problem: Estimate the number of distinct items in a data stream that is too large to fit in memory. Solution: (in python) import random def randomHash(modulus): a, b = random.randint(0,modulus-1), random.randint(0,modulus-1) def f(x): return (a*x + b) % modulus return f def average(L): return sum(L) / len(L) def numDistinctElements(stream, numParallelHashes=10): modulus = 2**20 hashes = [randomHash(modulus) for _ in range(numParallelHashes)..
|
|
Problem: Estimate the number of distinct items in a data stream that is too large to fit in memory. Solution: (in python) import random def randomHash(modulus): a, b = random.randint(0,modulus-1), random.randint(0,modulus-1) def f(x): return (a*x + b) % modulus return f def average(L): return sum(L) / len(L) def numDistinctElements(stream, numParallelHashes=10): modulus = 2**20 hashes = [randomHash(modulus) for _ in range(numParallelHashes)..
|
|
Problem: Estimate the number of distinct items in a data stream that is too large to fit in memory. Solution: (in python) import random def randomHash(modulus): a, b = random.randint(0,modulus-1), random.randint(0,modulus-1) def f(x): return (a*x + b) % modulus return f def average(L): return sum(L) / len(L) def numDistinctElements(stream, numParallelHashes=10): modulus = 2**20 hashes = [randomHash(modulus) for _ in range(numParallelHashes)..
|
|
I often find myself creating one-off scripts to scrape data off websites for various reasons. My go-to approach for this is to hack something together with Requests and BeautifulSoup , but this was getting tiring. Enter Cyborg , my library that makes writing web scrapers quick and easy. Cyborg is an...
|
|
I often find myself creating one-off scripts to scrape data off websites for various reasons. My go-to approach for this is to hack something together with Requests and BeautifulSoup , but this was getting tiring. Enter Cyborg , my library that makes writing web scrapers quick and easy. Cyborg is an...
|
|
One of the key elements of personal finance is separating "needs" from "wants". Every guide to controlling your budget usually starts with…
|
|
Been a fan of highlight-thing-mode . It automatically highlights all instances of symbol at point. Today, I gave highlight-symbol a try. Similar concept, but also adds the ability to jump to next/previous instances of symbol at point. (use-package highlight-symbol :ensure t :config (set-face-attribute 'highlight-symbol-face nil :background "default" :foreground "#FA009A") (setq highlight-symbol-idle-delay 0) (setq highlight-symbol..
|
|
From Gandhi: Radical Wisdom for a Changing World : Anger "I do get angry, but I feel angry with myself for it. Full conquest of anger is possible only through self-realization. We should love even those who have the worst opinion of us. This is ahimsa, the rest is only ignorance." Bad handwriting "I am now of opinion that children should first be taught the art of drawing before learning how to write. Let the child learn his letters by....
|
|
Introducing Quick Thoughts Thinking about ways to share my tech thoughts and engage with the Internet, I've been feeling frustrated by twitter's tweet length limit and ensuing conversation and clarification struggles. But also the relatively high friction of a blog post has been limiting as well. A new idea I'm going to try is to quickly log "Thoughts of the Week" then edit and curate them into a weekly blog post. I'll be doing this using ....
|
|
A few hours ago I was notified that I have been awarded with the Microsoft MVP Award for Development Technologies. This came totally unexpected. Especially so considering that during the last few years I have been splitting my time between Microsoft and other open source technologies. My public work has mostly been on Python and MongoDB. Yes I also released .NET open source projects in the meantime (more are coming soon) and yes, I wrote ..
|