|
Comment on [Video 178] Guido van Rossum: Type Hints by [Video 318] Christopher Neugebauer: Python's New Type Hints in Action… In JavaScript - Daily Tech Video
-
dailytechvideo.com
-
10 years ago
-
eng
there has been some movement in the last year or two to introduce some form of strong typing, or type hints, into Python. What does this mean, and how does it work? One way to think about it is by looking […]
|
|
If using Emacs shell and helm projectile, you can wire these up to quickly change your current working directory. (require 'helm-projectile) (defun ar/shell-cd (dir-path) "Like shell-pop--cd-to-cwd-shell, but without recentering." (unless (string-equal mode-name "Shell") (error "Not in Shell mode")) (message mode-name) (goto-char (point-max)) (comint-kill-input) (insert (concat "cd " (shell-quote-argument dir-path))) (let ((comin..
|
|
My Bosch washer/dryer (WKD28350GB) stopped drying recently. Resetting the dryer's thermostat red breaker did the trick. Edit: Similar post here .
|
|
SuperElasticsearch - More Python goodness in elasticsearch-py
-
engineering.wingify.com
-
10 years ago
-
eng
We have been using Elasticsearch for storing analytics data. This data stored in Elasticsearch is used in the Post Report Segmentation…
|
|
Complete guide to using ccache to dramatically speed up C/C++/Objective-C build times for large iOS projects and CI systems.
|
|
Congratulations, you have a lot of code!"Congratulations, you have a lot of code!" Remedying Android’s method limit - Part 2
-
developers.soundcloud.com
-
10 years ago
-
eng
In part one we described how running into Android’s method limit may leave you unable to build, and offered strategies you can employ to make your app fit into a single DEX file. In this part we share an alternative option: using multiple DEX files.
|
|
Last weekend, the Python Hackathon Düsseldorf took place at trivago's office. Although we were only five people we had a lot of fun. I took the chance to brush up my Python skills a little bit. Also I wanted to scratch an itch that was bugging me for a long time: our housekeeping book.
|
|
Last weekend, the Python Hackathon Düsseldorf took place at trivago's office. Although we were only five people we had a lot of fun. I took the chance to brush up my Python skills a little bit. Also I wanted to scratch an itch that was bugging me for a long time: our housekeeping book.
|
|
Congratulations, you have a lot of code!"Congratulations, you have a lot of code!" Remedying Android’s method limit - Part 2
-
developers.soundcloud.com
-
10 years ago
-
eng
In part one we described how running into Android’s method limit may leave you unable to build, and offered strategies you can employ to make your app fit into a single DEX file. In this part we share an alternative option: using multiple DEX files.
|
|
C++ should have a bit_cast function. bit_cast
|
|
SICP in Clojure - Chapter 4 In one of the previous blog posts I have announced that I would like to start a new series of posts. It is a persistent journal from my journey through aforementioned book. I hope that you will enjoy it and find it useful - the main goal is to make this series a place where we can return in future, recall ideas and thoughts that accompanied reading process. Introduction By finishing the previous chapter we l....
|
|
I’ve never really been camping before, so when a friend asked if I wanted to go camping over Labor Day weekend, I gladly accepted. In the past, I’ve mentioned that living in the truck feels like perpetual camping. Think about it: I practically live outside, I forgo a lot of modern conveniences (namely heat, A/C, and a nearby bathroom), and I fall asleep to the sounds of nature every night (there’s a shocking amount of wildlife at the edge o..
|
|
I’ve never really been camping before, so when a friend asked if I wanted to go camping over Labor Day weekend, I gladly accepted. In the past, I’ve mentioned that living in the truck feels like perpetual camping. Think about it: I practically live outside, I forgo a lot of modern conveniences (namely heat, A/C, and a nearby bathroom), and I fall asleep to the sounds of nature every night (there’s a shocking amount of wildlife at the edge o..
|
|
Playing with node and fetch: // Requisite: npm install node-fetch --save // Save to fetch-demo.js // Run: node fetch-demo.js var fetch = require('node-fetch'); fetch("http://xenodium.com/data/javascript-fetch-node-sample/message.json\n", { method: 'GET', timeout: 5000 }).then(function(response) { return response.json(); }).then(function(response) { console.log('subject: ' + response.subject); console.log('body: ' + response.body); })...
|
|
How do you make 3D-glasses-like graphics in the browser? We'll look at how blend modes work together to create this effect.
|
|
People have all sorts of suggestions for how you should spend your 20s, and they land pretty much everywhere on the spectrum. Some say you should work extra hard to provide yourself with a solid foundation for the future. After all, you’re young and void of life’s later obligations, put that time to good use. Others say you shouldn’t squander it toiling your best years away in monotony. As is probably evident from some of my other writings ..
|
|
People have all sorts of suggestions for how you should spend your 20s, and they land pretty much everywhere on the spectrum. Some say you should work extra hard to provide yourself with a solid foundation for the future. After all, you’re young and void of life’s later obligations, put that time to good use. Others say you shouldn’t squander it toiling your best years away in monotony. As is probably evident from some of my other writings ..
|
|
I’ve added several new formulas to “A Formula for A/B Testing” (now known as Formulas for Bayesian A/B Testing ). In addition to including the count data formula on the page, I have extended both formulas to work with three-pronged tests, that is, A/B/C tests.
|
|
These days if you’re creating a company you likely hope to accomplish more with less people, two ways of doing this fall to: The sharing economy and creating a platform. It’s easy to see the case for this when you have such unicorns like AirBnB or Uber. The opportunity for each of those to compete against hotel chains or taxi services which each need to manage their own inventory is incredibly exciting and revolutionary. In a similar fash....
|
|
These days if you’re creating a company you likely hope to accomplish more with less people, two ways of doing this fall to: The sharing economy and creating a platform. It’s easy to see the case for this when you have such unicorns like AirBnB or Uber. The opportunity for each of those to compete against hotel chains or taxi services which each need to manage their own inventory is incredibly exciting and revolutionary. In a similar fash....
|
|
I went to a meetup recently where a talk was given by Cara Marie of the NCC Group. She talked about decompression bombs and the various compression algorithms that can create these malicious artifacts. You might be familiar with Russ Cox’s post Zip Files All The Way Down , which goes over self-reproducing zip files. However most programs will not decompress the files fromm his blog post recursively. Which just leaves us with the problem of....
|
|
Usually when you think of a VPN, you think of accessing an office network from somewhere outside the office . A reverse VPN is for exposing things from your home network into the public. Why? Well for one, you shouldn’t want to expose your home network to the world. There are a lot of risks in doing that. A reverse VPN allows you to securely control what you are exposing. Personally I use this for hooks that Amazon Lamda hits to interact....
|
|
In the previous part I talked about how I encountered grounding for the first time, as it relates to a robot, connecting the abstract to the specific. Here, I’ll look more into how it relates to humans, and how it helps with understanding. Grounding, the act of connecting the abstract to the specific, isn’t a novel technique about how to transmit information, like for example encoding morse-code in blinking. Even if we talked to each o....
|
|
The first post in a series on creating custom image effects in CSS. We'll take a look at the vintage washout effect.
|
|
Organs! Immune systems! Old age! Dying from old age! I’m super excited. I was thinking: “How do I implement old age and death, and health in general? Is health just energy? When the snail is out of energy, it dies? But that seems too simplistic.”
|
|
We are happy to announce version 3.0.0 of our SoundCloud JavaScript SDK. The new SDK improves stream security and content uploading…
|
|
There's a handy HN post pointing to Javier López's Using imagemagick, awk and kmeans to find dominant colors in images . A comment also highlights color-extract, written in Go.
|
|
Those of you who regularly check my blog may remember that I was going to redesign Anvil from scratch. Unfortunately, it was an unavoidable step. We had performance issues and it turned out that blindly copying modern web metaphors to Android doesn’t work well. I am sorry, I had to change a lot of Anvil APIs since then. Those of you who have their apps written with Anvil 0.0.12 most likely would prefer to stick with the older version.
|
|
Those of you who regularly check my blog may remember that I was going to redesign Anvil from scratch. Unfortunately, it was an unavoidable step. We had performance issues and it turned out that blindly copying modern web metaphors to Android doesn’t work well. I am sorry, I had to change a lot of Anvil APIs since then. Those of you who have their apps written with Anvil 0.0.12 most likely would prefer to stick with the older version.
|
|
We are happy to announce version 3.0.0 of our SoundCloud JavaScript SDK. The new SDK improves stream security and content uploading…
|