background preloader

Share

Facebook Twitter

Computer Systems Laboratory Colloquium. PyCuda/Examples/2DFFT - Andreas Klöckner's wiki. This code does the fast Fourier transform on 2d data of any size. It used the transpose split method to achieve larger sizes and to use multiprocessing. The no of parts the input image is to be split, is decided by the user based on the available GPU memory and CPU processing cores. jackin@opt.utsunomiya-u.ac.jp Toggle line numbers 1 import numpy 2 import scipy.misc 3 import numpy.fft as nfft 4 import multiprocessing 5 6 from pyfft.cuda import Plan 7 from pycuda.tools import make_default_context 8 import pycuda.tools as pytools 9 import pycuda.gpuarray as garray 10 import pycuda.driver as drv 11 12 13 class GPUMulti(multiprocessing.Process): 14 def __init__(self, number, input_cpu, output_cpu): 15 multiprocessing.Process. CategoryPyCuda CategoryPyCuda CategoryPyCuda. Welcome — Theano v0.5 documentation. Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently.

Theano features: tight integration with NumPy – Use numpy.ndarray in Theano-compiled functions.transparent use of a GPU – Perform data-intensive computations much faster than on a CPU.efficient symbolic differentiation – Theano does your derivatives for functions with one or many inputs.speed and stability optimizations – Get the right answer for log(1+x) even when x is really tiny.dynamic C code generation – Evaluate expressions faster.extensive unit-testing and self-verification – Detect and diagnose many types of errors. Theano has been powering large-scale computationally intensive scientific investigations since 2007. But it is also approachable enough to be used in the classroom (University of Montreal’s deep learning/machine learning classes). 2017/11/15: Release of Theano 1.0.0.

Git clone How do I? Cudamat - A Python matrix class that uses CUDA for performing computations. Rands In Repose. » Fully Distributed Teams: are they viable? It has become increasingly common for technology companies to run as Fully Distributed teams. That is, teams that collaborate primarily over the web rather than using informal, face-to-face communication as the main means of collaborating. This has only become viable recently due to a mix of factors, including: the rise of “cloud” collaboration services (aka “web 2.0″ software) as exemplified by Google Apps, Dropbox, and SalesForcethe wide availability of high-speed broadband in homes that rivals office Internet connections (e.g. home cable and fiber)real-time text, audio and video communication platforms such as IRC, Google Talk, and Skype Thanks to these factors, we can now run Fully Distributed teams without a loss in general productivity for many (though not all) roles.

In my mind, there are three models for scaling number of employees in a growing company in the wild today. These are: Vertically Scaled: Fully co-located team in a single office. Related Reading Discuss on Hacker News. 7 Ways to Leverage Your Time to Increase Your Productivity. We’re all busy people. Some people, though, are busier than we’d ever imagine, yet are somehow are able to stay on top of things so well they seem to go about their life in a lackadaisical manner, while we struggle to produce good work and maintain a household.

What’s their secret? Why do they seem to have everything figured out; always unstressed and ready to go? Leverage. Sure, tactics like maintaining “to-do” lists (or “done” lists), setting goals, and decreasing the amount and time of meetings can all help. Leverage is an awesome force–it allows us to multiply our abilities by applying a little pressure to something. In life, we can leverage our time, and here are seven ways to do just that: Get it out of your head. Leverage is only useful to us if we’re using it in the right direction: if we let the pressures of our lives get to us so much that we feel like we’re drowning, leverage is to blame. Or a better tomorrow! What about you? SetupManual. Part 1: Reality Check - Tom Howard. “You took some funding, and you didn’t make it to the next milestone. That’s what failed startups look like”.

“What do you have to show for the funding you’ve taken so far?” I tried to explain. “We felt we needed to build our own technology platform for flight search, because nothing already existed to support the product we were trying to build. “Well that sure was a mistake,” he huffed. “How do you know your product is something people want?” It was hard to explain. It was the way people’s eyes lit up as they exclaimed, “That’s exactly what I’ve been wanting for years!” It was the emails people used to send us, thanking us for building it, and calling it “amazing”.

It was Melina Chan, a Melbourne expat who’d moved to Battambang, Cambodia to found a non-profit initiative. More recently, it was the number of people, many of whom seemed seriously talented, who’d responded to our recent job listings, telling us how much our concept excited them. Sigh. . “10 percent a day? “Yeah. How Google's Self-Driving Car Works. Once a secret project, Google's autonomous vehicles are now out in the open, quite literally, with the company test-driving them on public roads and, on one occasion, even inviting people to ride inside one of the robot cars as it raced around a closed course.

Google's fleet of robotic Toyota Priuses has now logged more than 190,000 miles (about 300,000 kilometers), driving in city traffic, busy highways, and mountainous roads with only occasional human intervention. The project is still far from becoming commercially viable, but Google has set up a demonstration system on its campus, using driverless golf carts, which points to how the technology could change transportation even in the near future. Stanford University professor Sebastian Thrun, who guides the project, and Google engineer Chris Urmson discussed these and other details in a keynote speech at the IEEE International Conference on Intelligent Robots and Systems in San Francisco last month.

Watch: Early Startup Time Wasters. A major difference between launching a brand new startup and working on one that’s a year or two old is quality of shot selection. Every day begins with 1,000 doors in front of you: which door do you go through to make the most progress? Shot selection is choosing what to focus on at the expense of other forgone opportunities. It’s one of the most critical skills in running a startup. As a company matures, it should be normal (ideally) for judgment to improve and shot selection to get a lot better, resulting in less wasted time and more forward momentum. Looking back on the first six months of my own startup, I’m embarrassed by how terrible my shot selection was. I wish I had never spent time on: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.

It’s easy to criticize with the benefit of hindsight, but I believe most of these mistakes were avoidable at the time. Home ↑ Afriggeri/cv. Tiny, cheap, and dangerous: Inside a (fake) iPhone charger. Thoughts on the death of Ma Ailun According to reports, a woman in China was tragically electrocuted using her iPhone while it was charging. This seems technically plausible to me if she were using a cheap or counterfeit charger like I describe below. There's 340 volts DC inside the charger, which is enough to kill. In a cheap charger, there can be less than a millimeter separating this voltage from the output, a fraction of the recommended safe distance. These charger sometimes short out (picture), which could send lethal voltage through the USB cable.

I recently wrote a popular article on the history of computer power supplies, which led to speculation on what's inside those amazingly small one-inch cube USB chargers sold by Apple, Samsung, RIM, and other companies. The no-name charger I bought is just over an inch in length, excluding the Eurpopean-style plug. The power supply itself is slightly smaller than one cubic inch. Detailed explanation Isolation and safety Conclusions. LaTeX Matters. Data and visualization blogs worth following. A High Frequency Trader's Apology, Pt 2.

A High Frequency Trader's Apology, Pt 2 In a previous post I discussed the mechanics of HFT. If you haven’t read it, go read it now. Now I’ll discuss it’s social utility and cost. About the title Recap - how HFT’s make their money In the previous post, I explained that HFT’s usually make their money by running market making strategies. 12:00:00.000 - MomCorp issues an earnings release HFT’s now conclude risk has gone down and believe it is safe to buy at price $10.00 or to sell at $10.05. 12:00:00.032 BUY(Leela, $10.00, 100 shares) <- Leela trades first 12:00:00.042 SELL(Leela, $10.05, 100 shares) 12:00:00.045 BUY(Bender, $10.00, 100 shares) Pay attention - this is the high frequency part of the story. Now Fry decides that he doubled his money, and wants to cash out so that he can purchase anchovies. 12:01:00.000 SELL(Fry, $10.00, 100 shares) At this point the matching engine marks a trade between Fry and Leela, and Fry has sold Leela 100 shares for $10.00/share.

Price Discovery Profit: $95. A High Frequency Trader's Apology, Pt 1. A High Frequency Trader's Apology, Pt 1 I’m a former high frequency trader. And following the tradition of G.H. Hardy, I feel the need to make an apology for my former profession. Not an apology in the sense of a request for forgiveness of wrongs performed, but merely an intellectual justification of a field which is often misunderstood. In this blog post, I’ll attempt to explain the basics of how high frequency trading works and why traders attempt to improve their latency. Also, after you are done reading, go read the HN Comments. Mechanics of HFT Any serious discussion of HFT needs to begin with an explanation of the mechanics of how HFT works. BUY(owner=Mal, max_price=20.00, quantity=100) At this point Mal hasn’t bought or sold anything - he has merely informed the world of his desire to buy.

Now suppose Inara comes along and wishes to sell some shares, say 200 shares @ $20.10. SELL(owner=Inara, min_price=20.10, quantity=200) ------ BUY(owner=Mal, max_price=20.00, quantity=100) Price. Symptom checker and diagnosis calculator. RetroShare.