1. 程式人生 > >#151: Augmented reality, Profiling CPython, ptracer by Pinterest and more

#151: Augmented reality, Profiling CPython, ptracer by Pinterest and more

Worthy Read This post chronicles a mobile app development team’s journey to continuous delivery, the challenges along the way, how they overcame them and their thoughts beyond continuous delivery. Check it out. advert
You may (or may not) have heard of or seen the augmented reality Invizimals video game or the Topps 3D baseball cards. The main idea is to render in the screen of a tablet, PC or smartphone a 3D model of a specific figure on top of a card according to the position and orientation of the card.  opencv
Must read thread. core-python
Instagram employs Python in one of the world’s largest settings, using it to implement the “business logic” needed to serve 800 million monthly active users. We use the reference implementation of Python, known as CPython, as the runtime used to execute our code. As we’ve grown, the number of machines required toserve our users has become a significant contributor to our growing infrastructure needs. These machines are CPU bound, and as a result, we keep a close eye on the efficiency of the code we write and deploy, and have focused on building tools to detect and diagnose performance regressions. This continues to serve us well, but the projected growth of our web tier led us to investigate sources of inefficiency in the runtime itself. cpython, production In this post, I will outline a strategy to ‘learn pandas’. For those who are unaware, pandas is the most popular library in the scientific Python ecosystem for doing data analysis. Pandas pandas Making Pinterest faster and more reliable is a constant focus for our engineering team and using hardware resources more efficiently is a major part of this effort. Improving efficiency and reliability requires good diagnostic tools, and today we’re announcing our newest tracing tool: ptracer, which provides granular syscall tracing in Python programs. In this post we’ll cover background on Pinterest’s codebase, why we needed a better tracer and how ptracer can help solve certain engineering problems. Pinterest The Definitive Guide to Apache Spark. Download today! advert A "wat" is what I call a snippet of code that demonstrates a counterintuitive edge case of a programming language. (The name comes from this excellent talk by Gary Bernhardt.) If you're not familiar with the language, you might conclude that it's poorly designed when you see a wat. Often, more context about the language design will make the wat seem reasonable, or at least justified. core-python code snippets For statically checking Python code, mypy is great, but it only works after you have added type annotations to your codebase. When you have a large codebase, this can be painful. At Dropbox we’ve annotated over 1.2 million lines of code (about 20% of our total Python codebase), so we know how much work this can be. It’s worth it though: the payoff is fantastic. mypy Django 2.0 release candidate 1 is the final opportunity for you to try out the assortment of new features before Django 2.0 is released. django Tangent is a new, free, and open-source Python library for automatic differentiation. In contrast to existing machine learning libraries, Tangent is a source-to-source system, consuming a Python function f and emitting a new Python function that computes the gradient of f. This allows much better user visibility into gradient computations, as well as easy user-level editing and debugging of gradients. Tangent comes with many more features for debugging and designing machine learning models. neural networks Today, we’re going to do some splunking within the deep, dark place which is your browser history. pandas, codesnippets DEAL WITH IT is a meme where glasses fly in from off the screen, and on to a user’s face. The best instances of this meme do so in a unique way. Today we’ll write an automatic meme generator, using any static image with faces as our input. This code makes a great starting point for a meme API, or building your own animated version using video input. meme In this article, we going to look at Spark Streaming and this is one of several other libraries exposed by Spark Platform. spark, code snippets What do words look like as colours? What would Shakespear’s sonnets look like as colours? This mini project renders text as colours using Python and saves them in a grid as an image. image processing, art Building your first poetical chat-bot from scratch telegram cryptocurrency Embed docs directly on your website with a few lines of code. Test the API for free. advert Jobs Piscataway Township, NJ, United States Participate in testing RESTFul APIs using Postman and Soapui. Study, analyse the project requirements and ensure the delivering code meets the client needs. Performance and Stress testing through JMeter Projects pyannotate - 383 Stars, 8 Fork Auto-generate PEP-484 annotations tosheets - 156 Stars, 1 Fork Send your stdin to google sheets. This is the code for "YOLO Object Detection" by Siraj Raval on Youtube A special kind of ModelAdmin that allows it to be nested within another ModelAdmin. Convert CSV files into a SQLite database. Automatic Memes in Python with Face Detection. smop - 0 Stars, 0 Fork Small Matlab to Python compiler (Please open an issue if you are using this program) An online real-time collaborative IDE for teams to work together efficiently in a fast-paced project.