jump to content my subreddits announcements Art AskReddit askscience aww blog books creepy dataisbeautiful DIY Documentaries EarthPorn explainlikeimfive Fitness food funny Futurology gadgets gaming GetMotivated gifs history IAmA InternetIsBeautiful Jokes LifeProTips listentothis mildlyinteresting movies Music news nosleep nottheonion OldSchoolCool personalfinance philosophy photoshopbattles pics science Showerthoughts space sports television tifu todayilearned TwoXChromosomes UpliftingNews videos worldnews WritingPrompts edit subscriptions front - all - random | creepy - DIY - explainlikeimfive - Documentaries - books - OldSchoolCool - Jokes - food - AskReddit - dataisbeautiful - videos - gaming - pics - funny - movies - Art - news - listentothis - Showerthoughts - Futurology - gifs - gadgets - philosophy - history - askscience - photoshopbattles - LifeProTips - aww - UpliftingNews - wo...
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 to reassign `this` pointer inside object member function? up vote 3 down vote favorite I have an interesting question about C++ pointers. You pro...
Home About 2014-12-23 by Quinlan Pfiffer <span class="comment_count"><a href="/blog/0005_Maintainable_Software.html#disqus_thread">Comments</a></span> I recently read The Lava Layer Anti-Pattern and it inspired me to try to write down some of the rules discovered over my short software career. Most of the time I joke about having no dependencies on a project, but a lot of the time it makes sense. There are a few things that I've been seeing repeated over the past year or so that I think are good ideas, so I'm going to attempt to write them down. "You overloaded plus? What does plus do?" This one comes straight from the functional programming world, but can easily be applied to imperative languages as well. Side-effects are the bane of anyone trying to reason about your program, and reasoning about a large program you're trying to maintain is important. If you don't know wh...
Sign up for a GitHub account Sign in All Gists qpfiffer / reply.txt secret Created December 23, 2014 Code Revisions 1 /.sunken-menu-group /.sunken-menu-contents Embed HTTPS SSH You can clone with HTTPS or SSH . Download Gist /.only-with-full-nav View reply.txt reply.txt Raw File suppressed. Click to show. 1 2 3 4 5 6 7 Insufficient. Start here. It's in javascript, so they'll understand. http://www.visual6502.org/JSSim/ Cheat codes if you get frustrated. http://6502.org/source/ Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment /.discussion-timeline /.gist-content /.container Something went wrong with that request. Please try again. Status API Blog About © 201...
Redis CRC Speed Improvements (Spoiler: short attention havers can follow direct link to results .) Redis has a CRC-64 implementation and a lot of people have copied it into other projects. Redis also has a CRC-16 implementation but fewer people have copied that one . They work, but they could be better. CRCs are inherently non-parallelizable because the C in CRC stands for Cyclical, meaning the value of the next iteration depends depends on the previous iteration. There's no simple unrolling of loops to process multiple bytes per iteration. Redis uses CRC-64 in three places: adding a checksum when migrating keys across instances (and verifying said checksum) adding a checksum to RDB output, both for replication and persistence (optional, can be disabled by config option because of slow performance) user-initiated memory testing Redis uses CRC-16 in one place: hash functi...
index modules | next | previous | Python » 3.4.2 Documentation » The Python Standard Library » 16. Generic Operating System Services » ctypes ¶ ctypes is a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries. It can be used to wrap these libraries in pure Python. ¶ Note: The code samples in this tutorial use doctest to make sure that they actually work. Since some code samples behave differently under Linux, Windows, or Mac OS X, they contain doctest directives in comments. Note: Some code samples reference the ctypes c_int type. This type is an alias for the c_long type on 32-bit systems. So, you should not be confused if c_long is printed if you would expect c_int — they are actually the same type. ¶ ctypes exports the cdll , and on Windows windll and oledll objects, for loadin...
previous next contents elements attributes index 17 Forms Contents Introduction to forms Controls Control types The FORM element The INPUT element Control types created with INPUT Examples of forms containing INPUT controls The BUTTON element The SELECT , OPTGROUP , and OPTION elements Pre-selected options The TEXTAREA element The ISINDEX element Labels The LABEL element Adding structure to forms: the FIELDSET and LEGEND elements Giving focus to an element Tabbing navigation Access keys Disabled and read-only controls Disabled controls Read-only controls Form submission Form submission method Successful controls Processing form data Step one: Identify the successful controls Step two: Build a form data set Step three: Encode the form data set Step four: Submit the encoded form data set Form content types application/x-www-for...
Skip to content Sign up Sign in This repository Explore Features Enterprise Blog Star 0 Fork 0 infoforcefeed / django-olegdbcache /.container /.repohead Code Issues Pull Requests Pulse Graphs HTTPS Subversion You can clone with HTTPS or Subversion . Download ZIP /.repository-sidebar Permalink Browse code I FUCKED IT UP! I FUCKED IT UP! I FUCKED IT UP! master commit 7f3a4187c1a17d128dff2c7f91c31b04e18d0ed4 1 parent f624d44 kyleterry authored Feb 28, 2014 Unified Split Showing 1 changed file with 1 addition and 1 deletion . + 1 − 1 django_olegdbcache/__init__.py 2 django_olegdbcache/__init__.py Show notes View @@ -1 +1 @@ - from . cache import OlegDBCache + from . oleg import OlegD...
Skip to content Sign up Sign in This repository Explore Features Enterprise Blog Star 0 Fork 0 infoforcefeed / django-olegdbcache /.container /.repohead Code Issues Pull Requests Pulse Graphs HTTPS Subversion You can clone with HTTPS or Subversion . Download ZIP /.repository-sidebar 11 commits 1 branch 0 releases 2 contributors 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 Nothing to show /.select-menu-list /.select-menu-modal /.select-menu-modal-holder /.select-menu django-olegdbcache / Updated the code to use the generic ole...
<![endif] Twitter Search query Search Twitter Remove Verified account @ Suggested users Verified account @ Verified account @ Language: English Bahasa Indonesia Bahasa Melayu Čeština Dansk Deutsch EnglishUK Español Filipino français Italiano Magyar Nederlands Norsk Polski Português română Suomi Svenska Tiếng Việt Türkçe Русский Українська мова עִבְרִית العربية فارسی हिन्दी বাংলা ภาษาไทย 한국어 日本語 简体中文 繁體中文 Have an account? Log in New to Twitter? Join Today » Log in Phone, email or username Password Log in Remember me Forgot password? Already using Twitter via text message? Follow Following Unfollow Blocked Unblock Pending Cancel sazerzac @ nap_dad Dec 14 ::criticizes the font choices of a prot...
Overview | Download | Deploy | Bugs/Patches | Screencasts | Documentation | Community | Blog Begin Content Rails 4.2: Active Job, Asynchronous Mails, Adequate Record, Web Console, Foreign Keys Posted by dhh , December 19, 2014 @ 9:00 pm Begin Post We come bearing gifts! It's Rails 4.2, and the final version is ready just in time for Christmas. It's full of great toys, useful gizmos, and polished edges, courtesy of a fantastic community of merry elves who've been coding away with jolly glee for months. This is probably also the most well-tested new major release of Rails in a long time. Through four betas and three release candidates, tons of people have helped ensure that regressions and bugs have been caught. Since the first beta, we have some 1600+ commits of spit and polish applied. So you have good reason to be excited! To recap, here's a walkthrough of the major...