|
Level design for days" has been my motto for several months now, and this week is no different. Behold, new challenge levels! These are timed, bite-sized maps with simple goals that can be completed in under a minute. They're the kind of things you can create in the level editor and share on Steam. I need to find a new texture for that garish green material. Lots of other things are happening, but they're more like a million ti..
|
|
Creating a community is no easy task. When LayerVault founders Kelly Sutton and Allan Grinshtein saw engineers were edging out designers in other communities…
|
|
Deploying lighttpd, your flask-apps, gunicorn and supervisor with Ansible on CentOS
-
www.zufallsheld.de
-
11 years ago
-
eng
Deploying your first Python-app can be tedious if you want to do everything by yourself. There are many great tutorials that help you set up all the necessary programs you’ll need to host your webapp. And trust me, it’s not easy: You’ll have to use a webserver that proxies the requests from your browser to a WSGI server . This in turn handles the communication with your app. You’ll also have to serve the static media like images, w....
|
If you frequently send out mass email news letters and keep getting users replying to all recipients, or need to
|
|
Dear jar capacity validator, I’m sorry I ever doubted you. I thought you were killing my snails, but really it’s my lack of you that caused the problem. I am the one guilty of virtual snailslaughter.
|
|
After collecting some photovoltaic data using PikoPy and a some readings from the residential meter it was time to put everything together. The data is collected by a couple of scripts triggered by a cronjob every five minutes. $ crontab -l */5 * * * * python /home/solarpi/kostal_piko.py */5 * * * * python /home/solarpi/collect_meter.py */15 * * * * python /home/solarpi/collect_weather.py The results are then written into a SQLite database..
|
|
Are Your Cache-Control Directives Doing What They Are Supposed to Do?
-
techblog.thescore.com
-
11 years ago
-
eng
pHTTP offers very powerful support for a href=http://tools.ietf.org/html/rfc2616#section-13caching/a:/p blockquote pThe goal of caching in HTTP/1.1 is to eliminate the need to send requests in many cases, and to eliminate the need to send full responses in many other cases. The former reduces the number of network round-trips required for many operations; we use an quot;expirationquot; mechanism for this purpose (see section 13.2). The latt....
|
|
When designers and developers work together from the start, it produces better outcomes. But how can we get designers involved and wanting to participate in the open source community from the start?
|
|
Learning a single-variable polynomial, or the power of adaptive queries
-
www.jeremykun.com
-
11 years ago
-
eng
Problem: Alice chooses a secret polynomial $ p(x)$ with nonnegative integer coefficients. Bob wants to discover this polynomial by querying Alice for the value of $ p(x)$ for some integer $ x$ of Bob’s choice. What is the minimal number of queries Bob needs to determine $ p(x)$ exactly? Solution: Two queries. The first is $ p(1)$, and if we call $ N = p(1) + 1$, then the second query is $ p(N)$.
|
|
Learning a single-variable polynomial, or the power of adaptive queries
-
www.jeremykun.com
-
11 years ago
-
eng
Problem: Alice chooses a secret polynomial $ p(x)$ with nonnegative integer coefficients. Bob wants to discover this polynomial by querying Alice for the value of $ p(x)$ for some integer $ x$ of Bob’s choice. What is the minimal number of queries Bob needs to determine $ p(x)$ exactly? Solution: Two queries. The first is $ p(1)$, and if we call $ N = p(1) + 1$, then the second query is $ p(N)$.
|
|
Learning a single-variable polynomial, or the power of adaptive queries
-
www.jeremykun.com
-
11 years ago
-
eng
Problem: Alice chooses a secret polynomial $ p(x)$ with nonnegative integer coefficients. Bob wants to discover this polynomial by querying Alice for the value of $ p(x)$ for some integer $ x$ of Bob’s choice. What is the minimal number of queries Bob needs to determine $ p(x)$ exactly? Solution: Two queries. The first is $ p(1)$, and if we call $ N = p(1) + 1$, then the second query is $ p(N)$.
|
|
Robert C.Martin, of Clean Code fame, has something to say on the role of we programmers in today’s society. We rule the world. We don’t quite understand this yet. More importantly, the world doesn’t quite understand it yet. Our civilization doesn’t quite realize how dependent it has become on software — on us. He goes as far as suggesting a programmer’s code of conduct of sorts. Food for thought I guess, although I suspect we’re to..
|
|
Have you ever written JUnit tests extending a class that does some before and after work, so you didn’t have to repeat that code in various test classes?
|
|
The D programming language has quickly become our language of choice on the Data Science team for any task that requires efficiency, and is now the keystone language for our critical infrastructure. Why? Because D has a lot to offer. A Brief Introduction One of the clearest advantages of using D compared to other typical data science workflows is that it compiles down into machine code. Without an interpreter or virtual machine layer,....
|
|
The SoundCloud API will be dropping support for Extensible Markup Language (XML) responses. XML will be phased out on the following schedule…
|
|
In the inaugural part of the series, I have covered ListFragments and it’s single advantage while having full control over the fragment and it’s layout. It will reduce the pain of managing or showing the progress, because ListFragment does it automatically for you
|
|
Over the weekend I spoke at the Embergarten Saturday Symposium , which was an awesome mini conference on Ember in Toronto. My topic was “Ember at 10ft”, and it was about how to build a TV friendly interface in Ember.js. The talk was recorded but not yet posted, however I’ve already posted the source code on github. The github repo contains my slides from the talk as well as speaking notes. I’ve also put up an online demo . Check it ..
|
|
The SoundCloud API will be dropping support for Extensible Markup Language (XML) responses. XML will be phased out on the following schedule…
|
|
In the inaugural part of the series, I have covered ListFragments and it’s single advantage while having full control over the fragment and it’s layout. It will reduce the pain of managing or showing the progress, because ListFragment does it automatically for you
|
|
Python-like generator functions, implemented as a library: Generator functions implemented as a library This is possible through two simple tricks: The language represents stack frames as objects on the heap. There’s a native function for grabbing the current stack frame. Turns out replacing the calling stack frame is really the only thing you need in order to implement coroutines and generics. The implementation is only 23 lin..
|
|
Python-like generator functions, implemented as a library: Generator functions implemented as a library This is possible through two simple tricks: The language represents stack frames as objects on the heap. There’s a native function for grabbing the current stack frame. Turns out replacing the calling stack frame is really the only thing you need in order to implement coroutines and generics. The implementation is only 23 lin..
|
|
Python-like generator functions, implemented as a library: Generator functions implemented as a library This is possible through two simple tricks: The language represents stack frames as objects on the heap. There’s a native function for grabbing the current stack frame. Turns out replacing the calling stack frame is really the only thing you need in order to implement coroutines and generics. The implementation is only 23 lin..
|
|
What Does “Free as in Speech” or “Free as in Beer” Really Mean?
-
justingarrison.com
-
11 years ago
-
eng
In the open source community you’ll often hear the phrase “free as in speech” or “free as in beer” in
|
|
I survived 7DFPS , barely. Here are some fascinating statistics: Days to create an FPS: 7 Hours spent: 93 Levels built: 5 Lines of code written: 2313 Hours to spare before deadline: 2 Functioning brain cells remaining: approximately 4 I'm happy with the result, though. Jack did a great job on the audio as usual, although at the last minute I had to throw in some clunky placeholder sfxr sounds. Blame me for those! Maybe we'll replac..
|
|
Like many other people who hold a degree in science, I look at people who are currently upset about GMO products with pity and disdain. They don’t know what it is, but they’re willing to call it evil for whatever reason. GMO stands for genetically modified organism, which is essentially any organism (plant, animal, amoeba, etc.) that has had its DNA modified in some way. DNA are the blueprints of a living cell that in turn produce the R..
|
|
Like many other people who hold a degree in science, I look at people who are currently upset about GMO products with pity and disdain. They don’t know what it is, but they’re willing to call it evil for whatever reason. GMO stands for genetically modified organism, which is essentially any organism (plant, animal, amoeba, etc.) that has had its DNA modified in some way. DNA are the blueprints of a living cell that in turn produce the R..
|
|
It's been a little over a month since I started using tmux. Below, I'll try to explain most of my .tmux.conf, a bit of my current workflow using awesome + tmux and various cool stuff you can do with tmux. My latest .tmux.conf can be found on my dotfiles repo on GitHub .
|
|
I’ve been writing apps for a long time now, stretching back to the Windows Mobile days, something completely new dawned on me in the last few months ago as I took had a bit of break for Wedding planning and moving house – For a long time I’d not been using agile, I’ve not been lean. As it the natural reaction to these things I first went to blame others “Store certification forces me to release complete apps”, “I can’t iterate often with ..
|
|
Klokan Technologies GmbH team, in cooperation with CampToCamp and BoundlessGeo, designed and implemented a binding between the OpenLayers and Cesium projects allowing to display maps in 3D.
|
|
An alphabetized list of styleguides and pattern libraries and a look into the differences between those two terms.
|
|
PowerShell makes working with rest API's easy. In PowerShell version 3, the cmdlets and where introduced. These cmdlets are a huge…
|
|
Securing SSH: Just because it has secure in the name doesn't mean that it's secure out of the box
-
joshuarogers.net
-
11 years ago
-
eng
My server had an unauthorized login attempt today. Really, it was more along the lines of 2,000 login attempts. Why is my server under attack? Simply because it is on the internet. See, this is actually a normal day for a small server. Last week, there were just over 12,000 attempts. So, business as usual for a server looks something like walking through a zombie filled wasteland armed only with a cowbell and a belt made of bacon.
|
|
satellite One of the most interesting questions posed in the last thirty years of computer science is to ask how much “information” must be communicated between two parties in order for them to jointly compute something. One can imagine these two parties living on distant planets, so that the cost of communicating any amount of information is very expensive, but each person has an integral component of the answer that the other does not.
|
|
satellite One of the most interesting questions posed in the last thirty years of computer science is to ask how much “information” must be communicated between two parties in order for them to jointly compute something. One can imagine these two parties living on distant planets, so that the cost of communicating any amount of information is very expensive, but each person has an integral component of the answer that the other does not.
|
|
satellite One of the most interesting questions posed in the last thirty years of computer science is to ask how much “information” must be communicated between two parties in order for them to jointly compute something. One can imagine these two parties living on distant planets, so that the cost of communicating any amount of information is very expensive, but each person has an integral component of the answer that the other does not.
|