home features Feature Overview Organizations Testimonials blog library Reference Reference Documentation Architecture Blog Posts Talks Tutorials Recipes community Get Support Participate Develop Bitbucket download Release: 0.9.8 | Release Date: October 13, 2014 SQLAlchemy 0.9 Documentation Contents | Index | PDF SQLAlchemy ORM Object Relational Tutorial Mapper Configuration Relationship Configuration Loading Objects Using the Session Events and Internals ORM Extensions Association Proxy ¶ Simplifying Scalar Collections Creation of New Values Simplifying Association Objects Proxying to Dictionary Based Collections Composite Association Proxies Querying with Association Proxies API Documentation Automap Declarative Mutation Tracking Ordering List Horizontal Sharding Hybrid Attributes Alternate Class Instrumentation ORM Examples 0.9.8 ...
Curried Lua wiki Currying is defined by Wikipedia [1] as follows: "In computer science, currying is the technique of transforming a function taking multiple arguments into a function that takes a single argument (the first of the arguments to the original function) and returns a new function that takes the remainder of the arguments and returns the result" You can implement curried functions in all languages that support functions as first-class objects. For example, there's a little [tutorial about curried JavaScript] . Here is a small Lua example of a curried function: function sum(number) return function (anothernumber) return number + anothernumber end end local f = sum(5) print (f(3)) --> 8 -- WalterCruz Here is another, contributed by [ GavinWraith ], which takes a variable number of arguments terminated with a " () ": function addup(x)...
Skip to content Sign up Sign in This repository Explore Features Enterprise Blog Star 155 Fork 5 ers35 / luakernel /.container /.repohead Code Issues Pull Requests Pulse Graphs HTTPS Subversion You can clone with HTTPS or Subversion . Download ZIP /.repository-sidebar Lua + SQLite + musl libc running on x86. 6 commits 1 branch 0 releases 1 contributor C 93.7% C++ 5.0% Assembly 1.2% Other 0.1% C C++ Assembly Other branch: master Switch branches/tags /.select-menu-header Branches Tags /.select-menu-tabs /.select-menu-filters master /.select-menu-item Nothing to show /.select-menu-list Nothing to show /.select-menu-list /.select-menu-modal /.select-menu-moda...
current community chat blog Stack Overflow Meta Stack Overflow Stack Overflow Careers Sign up or log in to customize your list. more stack exchange communities Stack Exchange sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site stack overflow careers Stack Overflow Questions Tags Users Badges Unanswered Ask Question Take the 2-minute tour × Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required. How can you program if you're blind? up vote 685 down vote favorite 346 Sight is one of the senses most programmers take for granted. Most programmer...
Sign up for a GitHub account Sign in All Gists colby / imgur.sh Last active January 28, 2015 Code Revisions 2 /.sunken-menu-group /.sunken-menu-contents Embed HTTPS SSH You can clone with HTTPS or SSH . Download Gist /.only-with-full-nav Imgur bash function to upload images View imgur.sh imgur.sh Raw File suppressed. Click to show. 1 2 3 4 5 6 7 # Note: uses some random ClientID for authentication, does not handle errors # Usage: $ imgur ~/Desktop/oleg.png function imgur { [ $# -lt 1 ] && echo " imgur: requires an image file path " && exit 1 curl -sH " Authorization: Client-ID 3e7a4deb7ac67da " -F " image=@ $1 " " https://api.imgur.com/3/upload " | grep -oE " http:.*\.[a-z]{3,4} " | tr -d ' \ ' } Sign up for free to join...
Skip to content Sign up Sign in This repository Explore Features Enterprise Blog Star 4 Fork 0 skoczen / polytester /.container /.repohead Code Issues Pull Requests Pulse Graphs HTTPS Subversion You can clone with HTTPS or Subversion . Download ZIP /.repository-sidebar Polytester is a simple, easy-to-use multi-language test runner. 36 commits 1 branch 6 releases 1 contributor Python 100% Python branch: master Switch branches/tags /.select-menu-header Branches Tags /.select-menu-tabs /.select-menu-filters master /.select-menu-item Nothing to show /.select-menu-list 1.0.1 /.select-menu-item 1.0 /.select-menu-item 0.1.3 /.select-menu-item 0.1.2 /.select-menu-item ...
<![endif] The Official Slack Blog Jobs Sign In Go to slack.com Screenhero joins Slack! Posted January 28th, 2015 Around the same time we started building Slack, another team began building their vision; a service specializing in voice, video and screen sharing that would allow people working remotely to work as if they were in the same room, and people in the same room to work better than ever. That team was Screenhero. And the more we got to know them, the more we liked the cut of their jib. So Screenhero is joining Slack. This is very good. This is the plan: Over the coming months, we will be migrating all of Screenhero’s many features, along with many new ones, to Slack. During this time, Slack teams on the Standard or Plus Plan can use Screenhero for free to get a taste of what’s to come ( magically create your account now, in fact. Why not?...
SoundCloud Developers Blog Tumblr Jobs Developers Your Apps Register a new app HTTP API Guide HTTP API Reference HTTP API Wrappers HTTP API Console Widget API iOS SDK Support Backstage Blog API Agile Android Announcements Architecture Clojure Contests Data Events Finagle Go Guides HTML5 Hacks Hadoop JavaScript Mobile Monitoring Open Source Post Mortem Ruby SDKs Scala Scalding Search and Discovery Security iOS Sharing Kits Buttons & Logos Terms of Use Backstage Blog January 26th, 2015 Announcements Open Source Monitoring Go By Julius Volz, Björn Rabenstein In previous blog posts , we discussed how SoundCloud has been moving towards a microservice architecture. Soon we had hundreds of services, with many thousand instances running and changing at the same time. With our existi...
Adam Drake About Sat 25 January 2014 by Adam Drake As I was browsing the web and catching up on some sites I visit periodically, I found a cool article from Tom Hayden about using Amazon Elastic Map Reduce (EMR) and mrjob in order to compute some statistics on win/loss ratios for chess games he downloaded from the millionbase archive , and generally have fun with EMR. Since the data volume was only about 1.75GB containing around 2 million chess games, I was skeptical of using Hadoop for the task, but I can understand his goal of learning and having fun with mrjob and EMR. Since the problem is basically just to look at the result lines of each file and aggregate the different results, it seems ideally suited to stream processing with shell commands. I tried this out, and for the same amount of data I was able to use my laptop to get the results in about 12...
unethical blogger 11 Nov 2010 on Over the past month or so I've fallen in love with an incredibly simple command line tool: GNU/Parallel . Parallel has more or less replaced my use of xargs when piping data around on the many machines that I use. Unlike xargs however, Parallel lets me make use of the many cores that I have access to, either on my laptop or the many quad and octocore machines we have lying around the Apture office. Using Parallel is incredibly easy, in fact the docs enumerate just about every possible incantation of Parallel you might want to use, but starting simple you can just pipe stuff to it: cat listofthings.txt | parallel --max-procs=8 --group 'echo "Thing: {}"' The command above will run at most eight concurrent processes and group the output of each of the processes when the entire thing completes, simple and in this case not too much diff...
Network Filter Blog about network and security corrects IE6 width calculation google_ad_section_start(name=default) Sunday, 14 December 2014 INTRODUCTION : ___________________________________________________ OpenBSD and FreeBSD are both great OS that I admire and use. OpenBSD is considered more secure since it is its main goal, but FreeBSD can be tweaked to be pretty well hardened as well. Depending on the forums or to who we ask, we will have different opinions. But what are the facts? Which OS is more secure and why? I am not asking the question about which one is globally better, as "better" has a different meaning depending on the context and the needs (ISP routers, database servers, home gateway, desktop sy...
HOME CS:GO VLOG ABOUT COMMENT ump_nearace This media won't play because your browser doesn't support html5 video tags, you should probably try another browser, preferably one that isn't built by the Illuminati. ...
HOME CS:GO VLOG ABOUT COMMENT SONG FOR CRISIUS This media won't play because your browser doesn't support html5 video tags, you should probably try another browser, preferably one that isn't built by the Illuminati. ...