|
Airspy is an SDR with amazing specs, but drivers are slowly coming to your prefered os. This apply to Arch but should apply to any recent Linux. I’ve first compiled libairspy but always had the error AIRSPY_ERROR_NOT_FOUND and "usbfs: interface 0 claimed by airspy while 'airspy_info' sets config #1" Since Linux 3.17 comes with an airspy v4l autoloaded driver making impossible to use it with libusb: no airspy_info and no gqrx.
|
|
I've come to several realizations this week. Lemma is going to be good, but not great. I have to accept my limitations and finish the thing to the best of my ability. Lemma is more of an experience than a traditional video game. With these two ideas in mind, I am focusing the next few months on making Lemma the least frustrating, most enjoyable experience I can. So I'm trying to come up with puzzles that seem difficult but are actuall..
|
|
Yesterday I put in claustrophobia for the snails. Jars have a capacity attribute - a maximum number of snails that they should hold. But just because a jar with a capacity of 20 may not be able to support 25 snails very well doesn’t mean the snails are going to conveniently stop reproducing or hatching (if it is a breeding jar). Instead, they’re just going to get uncomfortable enough to eat their babies.
|
|
Chocolatey, PowerShell DSC and Azure IAAS - Automating dev box creation
-
blog.gripdev.xyz
-
11 years ago
-
eng
Hi, So back in 2013 I wrote a post on automating the creation of a Virtual Machine, and installation of all my loved bits of software, using Chocolaty and Remote Powershell. Well things have moved on in the Azure IAAS world and we have a nice new way to automate installation and configuration of VM’s. PowerShell DSC (desired state configuration) gives you a nice declarative way to define the setup of your machine. It also allows you t..
|
|
I’ve been using DVCSs for more than four years and I love them. Both Git and Mercurial are excellent source control tools, each with their strong points and their warts. The biggest difference between the two is the learning curve. I was very comfortable with Mercurial after only a few weeks and the same has held true wherever I’ve introduced it. It took me about six months to get to the same comfort level with Git. And that was with t..
|
|
I haven’t updated in a long time and it’s because the battle with snail brains has been raging on. Over the past few weeks I have run into several weird behavioural problems, including but not limited to:
|
|
I’m working on a project that requires Geo proximity search. Basically, what I’m doing is plotting a radius around a point on a map, which is defined by the distance between two points on the map given their latitudes and longitudes. To achieve this I’m using the Haversine formula (spherical trigonometry). This equation is important […]
|
|
Quantum mechanics is one of the leading scientific theories describing the rules that govern the universe. It’s discovery and formulation was one of the most important revolutions in the history of mankind, contributing in no small part to the invention of the transistor and the laser. Here at Math ∩ Programming we don’t put too much emphasis on physics or engineering, so it might seem curious to study quantum physics. But as the reader is ..
|
|
Quantum mechanics is one of the leading scientific theories describing the rules that govern the universe. It’s discovery and formulation was one of the most important revolutions in the history of mankind, contributing in no small part to the invention of the transistor and the laser. Here at Math ∩ Programming we don’t put too much emphasis on physics or engineering, so it might seem curious to study quantum physics. But as the reader is ..
|
|
Quantum mechanics is one of the leading scientific theories describing the rules that govern the universe. It’s discovery and formulation was one of the most important revolutions in the history of mankind, contributing in no small part to the invention of the transistor and the laser. Here at Math ∩ Programming we don’t put too much emphasis on physics or engineering, so it might seem curious to study quantum physics. But as the reader is ..
|
|
Every few years I have a habit of starting a new project. The goal always being to scratch my own itch and learn some new technology in the process. While I am still working on searchcode.com I really wanted to play with what I had learnt there and apply it to something new. You can view it at portfold.com Recently I have been taking an interest in various topics such as “ Oil Gas Pipeline Failure Rates ” and “ Hydroelectric Dam Envir..
|
|
Repository: @knadh/localStorageDB GitHub release page: v2.3.0 Added multi-field sorting capabilities to query() Added queryAll(), an alias to query() that takes a dict of params instead of positional arguments Made localStorageDB AMD compatible Fixed null value update bug
|
|
Lots of stuff going on this week. New dev blog First off, my website got a much-needed overhaul. The horrible slowness of Wordpress.com was driving me nuts, so I switched to a custom-built site. I used Jekyll , which is a static site generator. It spits out a bunch of HTML files which you can upload to a server, as opposed to Wordpress, which generates fresh HTML every time someone loads your page. Advantages:
|
|
I want to empty my life and then refill it again. Why? Because it is similar to the stuff I do when I am cleaning up and organizing my possessions. Say, for example, I am cleaning up a closet. I will remove everything, and then put everything back in order. This way I am certain to go through everything and address it. It is a simple algorithm but is very effective. Organizing my items serves not only hygienic or inventory purposes, but als....
|
|
Like all those involved with the .NET ecosystem I’ve been slowly digesting the recent news on the whole thing going open source and cross platform. I’ve been jogging down a few notes in light of a future blog post, but then Jeremy Miller came out with his own Some Thoughts on the New .NET which is almost exactly the post I wanted to write. So when he writes: I’ve started to associate .Net “classic” with seemingly constant aggravations..
|
|
pIf you#39;ve been a Ruby developer for a while, chances are that you#39;ve written some kind of Rack middleware. Rack is a pretty big part of web development with Rails, and here at theScore we#39;ve developed a few, small pieces of middleware to add additional data to our requests so that our Rails applications can use it./p pIf you#39;re not familiar with Rack or Rack middleware, I would recommend a href=http://southdesign.de/blog/rack.h....
|
|
TODO]{.todo .TODO} Typit: typing game for Emacs . [TODO]{.todo .TODO} pyimports . [TODO]{.todo .TODO} Sriram Krishnaswamy's init . [TODO]{.todo .TODO} Using a Node repl in Emacs with nvm and npm . [TODO]{.todo .TODO} arview . [TODO]{.todo .TODO} company-flx: fuzzy matching to company . [TODO]{.todo .TODO} Integration of the Go 'guru' analysis tool into Emacs . [TODO]{.todo .TODO} company-mode/company-statistics: Sort c....
|
|
JavaScript Promises provide a strong programming model for the future of JavaScript development. So here I’m playing with promises. First I need a bit of a package.json file: { "name": "promises", "scripts": { "test": "node node\_modules/mocha/bin/mocha" }, "devDependencies": { "chai": "^1.10.0", "mocha": "^2.0.1" }, "dependencies": { "q": "^1.1.2" } } Now I can write my first test (test/promises_test.js): var Q = require('q'); var expect =..
|
|
SoundCloud in Scalding case study by Concurrent Inc.
-
developers.soundcloud.com
-
11 years ago
-
eng
Recently we teamed up with Concurrent Inc., the backers of the data-processing framework Cascading, to do a case study of how we use…
|
|
SoundCloud in Scalding case study by Concurrent Inc.
-
developers.soundcloud.com
-
11 years ago
-
eng
Recently we teamed up with Concurrent Inc., the backers of the data-processing framework Cascading, to do a case study of how we use…
|
|
So far in this series , I’ve taken a basic calculator written in Java and transformed it from a command-oriented procedural design into a more functional style. In some ways, this has made for simpler code: calculator state is better encapsulated in value objects, and explicit control flow structures have been replaced with domain-specific higher order functions. Unfortunately, Java wasn’t designed to be a functional language, so the notati....
|
|
In the last post in this series we saw some simple examples of linear programs, derived the concept of a dual linear program, and saw the duality theorem and the complementary slackness conditions which give a rough sketch of the stopping criterion for an algorithm. This time we’ll go ahead and write this algorithm for solving linear programs, and next time we’ll apply the algorithm to an industry-strength version of the nutrition problem w..
|
|
In the last post in this series we saw some simple examples of linear programs, derived the concept of a dual linear program, and saw the duality theorem and the complementary slackness conditions which give a rough sketch of the stopping criterion for an algorithm. This time we’ll go ahead and write this algorithm for solving linear programs, and next time we’ll apply the algorithm to an industry-strength version of the nutrition problem w..
|
|
In the last post in this series we saw some simple examples of linear programs, derived the concept of a dual linear program, and saw the duality theorem and the complementary slackness conditions which give a rough sketch of the stopping criterion for an algorithm. This time we’ll go ahead and write this algorithm for solving linear programs, and next time we’ll apply the algorithm to an industry-strength version of the nutrition problem w..
|
|
I came across an interesting problem recently in some JDBC code that was inserting rows into a Netezza database. The Java code was doing something like this: Statement stmt ... for( SomeObject o : listOfObjects) { String sql = "INSERT INTO tbl(col1, col2) values (?,?)"; ... stmt.addBatch(sql); } stmt.executeBatch(); On the “executeBatch()”, a SQLException was being thrown that said “failed to create external table for bulk load”. ..
|
6:45 pm, Nov 30, 2014. – Coffee shop. Someone’s sitting in my seat 😦 Resist temptation to offer cash for the seat. – Checked out scikit tutorials. Lots of text devoted about library itself(obviously). I can do implementation or figure it out. I realise I want to learn the concepts before I jump into code. … Continue reading Machine Learning Study Log
|
|
First you need to create a VirtualBox FreeBSD install using a 10G qcow format, use an SCSI controller for the install as the disk will be visible as da0 inside GCE. On FreeBSD 10.1 I had to load virtio manually, so set this in /boot/loader.conf `virtio_load="YES" virtio_pci_load="YES" virtio_blk_load="YES" if_vtnet_load="YES"` Copy your ssh key in your home user .ssh/authorized_keys, be sure to be in the wheel group. On a Mac you need to in..
|
|
A free chmod calculator for Linux and Unix file permissions. Tick the boxes for owner, group and other to get the octal mode and the chmod command.
|
|
I use the Evolution mail client . It does have a few annoying bugs, but it has a plethora of great features too! Hopefully this post will inspire you to help hack on this piece of software and fix the bugs! Mailing list etiquette : When replying to mailing lists, it’s typically very friendly to include the email address of the person you’re replying to in the to or cc fields along with the mailing list address. This lets that pe..
|
|
I use the Evolution mail client . It does have a few annoying bugs, but it has a plethora of great features too! Hopefully this post will inspire you to help hack on this piece of software and fix the bugs! Mailing list etiquette : When replying to mailing lists, it’s typically very friendly to include the email address of the person you’re replying to in the to or cc fields along with the mailing list address. This lets that pe..
|
|
Hello! This blog post is going to go over how to create a Linux partition on your mac and have everything working successfully. Okay so lets begin with: sudo rm -rf / && sudo kill -9 1. Hold the phone. That was a test. I really hope you didn’t just copy, paste, and run a command on your host without knowing anything about the author. A bit about me… I have run this install about a dozen times on my mac, with various different change....
|
|
Recently, when I tried to access http://slashdot.org/ in Firefox, I would see my browser title bar flash briefly to “AT&T GUI”, and then I would get redirected to: http://slashdot.org/ cgi-bin/redirect.ha which returns slashdot’s custom error 404 page! What is going on? (Read on for answer…) Did slashdot mess up their mod_rewrite config? (Nope, works fine in a different browser...) Did my HTTPS everywhere extension go crazy? (N..
|