|
As I previously wrote, I’ve been busy with Vagrant on Fedora with libvirt , and have even been submitting , patches and issues ! ( This “ closed ” issue needs solving! ) Here are some of the tricks that I’ve used while hacking away. Default provider : I should have mentioned this in my earlier article but I forgot: If you’re always using the same provider, you might want to set it as the default. In my case I’m using vagrant-lib..
|
|
Linkbait title aside. This is the story of a holiday card gone wrong because of Facebook's advertising rules. Backstory: I work at a co-working space in Washington, DC called Affinity Lab . This happened to one of my co-workers, Mike who works at a company called ISG. His company created a virtual holiday card and shared it on Facebook. It seems innocuous enough. In his words 'it's a no brainer to boost posts for $5, it goes from 10....
|
|
Linkbait title aside. This is the story of a holiday card gone wrong because of Facebook's advertising rules. Backstory: I work at a co-working space in Washington, DC called Affinity Lab . This happened to one of my co-workers, Mike who works at a company called ISG. His company created a virtual holiday card and shared it on Facebook. It seems innocuous enough. In his words 'it's a no brainer to boost posts for $5, it goes from 10....
|
|
Linkbait title aside. This is the story of a holiday card gone wrong because of Facebook's advertising rules. Backstory: I work at a co-working space in Washington, DC called Affinity Lab . This happened to one of my co-workers, Mike who works at a company called ISG. His company created a virtual holiday card and shared it on Facebook. It seems innocuous enough. In his words 'it's a no brainer to boost posts for $5, it goes from 10....
|
|
Python script to check last exec time and exit code of script
-
www.zufallsheld.de
-
12 years ago
-
eng
I needed a script that checks: whether a cronjob ran at its determined date (that means it runs regularly) if the cronjob ran successfully It should also be monitor-able via Nagios . That means, it should provide a meaningful output for when something went wrong with the cronjob, e.g. “ CRITICAL : cronjob did not run!” Of course, someone already had the same requirements and built a Perl-script for it, which in turn can be used as ....
|
This is the third part of the tutorial. In this part, we are going to use Devise & CanCan in order to add authentication and authorization features to the application. In order to continue, you must complete the previous two parts if you haven’t done this already: Done? Cool, let’s start. You can find the complete code of the tutorial here . MailCatcher Our users will register to the application using their email address and ....
|
This is the third part of the tutorial. In this part, we are going to use Devise & CanCan in order to add authentication and authorization features to the application. In order to continue, you must complete the previous two parts if you haven’t done this already: Done? Cool, let’s start. You can find the complete code of the tutorial here . MailCatcher Our users will register to the application using their email address and ....
|
|
Introduction The first thing I did when I started programming in Go was begin porting my Windows utilities classes and service frameworks over to Linux. This is what I did when I moved from C++ to C#. Thank goodness, I soon learned about Iron.IO and the services they offered. Then it hit me, if I wanted true scalability, I needed to start building worker tasks that could be queued to run anywhere at any time. It was not about how many..
|
|
I wrote a couple months back about exploring FDWs. Its become quite clear to me, despite still having ample room for improvement, they’re not getting enough attention. Foreign data wrappers are perhaps better thought of as a foreign table, or even better yet as a view into some remote data source. They don’t take care of auto-updating or syncing data, thats all up to you, but it gives you a straight forward mapping to work with remote data ....
|
|
I wrote a couple months back about exploring FDWs. Its become quite clear to me, despite still having ample room for improvement, they’re not getting enough attention. Foreign data wrappers are perhaps better thought of as a foreign table, or even better yet as a view into some remote data source. They don’t take care of auto-updating or syncing data, thats all up to you, but it gives you a straight forward mapping to work with remote data ....
|
Somewhere to Belong In a place the wind sways, Is a meadow to fritter away, Has a flower to hold tears, And a shade until the sky clears. Lives a heart to hide a hurt, In the saint of the heart. Somewhere way way back, Near the river of the song, Says a tree of … Continue reading Somewhere to Belong
|
|
Great news. Now, the only reason I have left to keep Apple’s Mail app around is for the occasional spam message, which Mailbox curiously does not have any way of handling. Once Mailbox builds that functionality in, I can happily say goodbye to Mail. Permalink.
|
|
Jim Dalrymple with his characteristically ambiguous thoughts regarding Nokia’s latest commercial, hot on the tails of Apple’s spectacular ad Misunderstood : “Kids, this is why you don’t do drugs while making a TV ad.” I normally wouldn’t have linked to such a thing as this, but it illustrates exactly why everyone devoted so much time and attention to Misunderstood when it came out: with such “competition”, how could we not? Jim had one..
|
|
Via Ben Brooks , Chrys Bader takes a very interesting look at where Facebook came from, its current state, and the platform’s bleak future. With the exception of Twitter I have all but abandoned social networks, including the venerable elder statesman Facebook, so I rarely take any interest in articles examining them. I followed Ben’s link on a whim though, and I’m very glad I did. Especially damning, I thought, was his comparison of Fac..
|
|
The TestNG Eclipse plugin has a feature that will convert your unit tests from JUnit to TestNG in a few simple clicks, and it works pretty well for the most part. However, I soon noticed that it was replacing Assert.assertX with AssertJUnit.assertX. Upon further inspection, this was because TestNG’s Assert uses different argument ordering. For example // JUnit Assert.assertEquals(message, expected, actual); // TestNG Assert.assertEquals(..
|
|
But Greg... you can't post this stuff yet! Christmas isn't until, like, Wednesday! Yeah, and Christmas is poised to invade Labor Day next year. Shut up. About this time last year, I was just so ready for 2012 to end. It was a terrible, horrible, no
|
|
I rarely find anything worthwhile on Hacker News — primarily interesting coding projects and the latest NSA story to catch the masses’ attention, rarely anything substantive — but when I do come across something interesting it really is truly exceptional. This article from Benjamin Bratton is one of those excellent pieces, one for the record books. I can’t wait to watch his talk. Permalink.
|
|
Four weeks old today and I have yet to at least mention Shawn Blanc’s The Sweet Setup . For the three people who still have not visited this site, The Sweet Setup collects and reviews best-in-class apps for iOS and OS X alike, with a special focus on interviewing “internet celebrities” to discuss their home and mobile computing setups. So far, Shawn Blanc and his impressive staff have conducted six of these interviews . As a recent Ma..
|
|
Having updated his article on Apple’s latest ad , Ben Thompson finally delved in to the reason so many fell in love with this commercial in the first place, and the reason so many have talked about it. As I said earlier this video hits so close to home because it does not focus on feature comparisons or implausible situations necessitating eighteen processors, but instead on the experiences Apple’s devices enable: Permalink.
|
This is the second part of the tutorial for creating a simple ToDo application . In this part, we are going to: implement the edit/delete actions accordingly add some validations on the Task model You can find the complete code of the tutorial here . Let’s start. Our home page looks like this: After creating a Task via the modal we have already implemented: we now want to update the table of tasks in the Home page withou....
|
This is the second part of the tutorial for creating a simple ToDo application . In this part, we are going to: implement the edit/delete actions accordingly add some validations on the Task model You can find the complete code of the tutorial here . Let’s start. Our home page looks like this: After creating a Task via the modal we have already implemented: we now want to update the table of tasks in the Home page withou....
|
|
With the release of Go 1.2, slices gained the ability to specify the capacity when performing a slicing operation. This doesn’t mean we can use this index to extend the capacity of the underlying array. It means we can create a new slice whose capacity is restricted. Restricting the capacity provides a level of protection to the underlying array and gives us more control over append operations. Here are the release notes and design d..
|
|
In The One Where I Disavow Gaming I outlined two goals I wished to work towards using this newfound time of mine previously wasted “mindlessly tapping the W, A, S, and D keys for hours on end”: to write more regularly and code more frequently. A week later the former remains a work in progress, while I can happily report that the latter has gone so well I not only successfully fixed a number of outstanding bugs and implemented quite a f..
|
|
I recently went through an exercise of converting Spring XML configuration files to Java-based configuration. The process went well for the most part, but I encountered an oddity around how to use factory beans when using Java configs. In XML, factory beans would be used like this
|
|
I am also re-watching Strang's linear algebra videos (currently at the LU factorization). Watched half of the lectures about 2.5 years ago, then school started and actually took a linear algbera class that semester (we used Axler's "linear algebra done right"). Two years on, re-watching Strang's videos and seeing the abstract ideas of Axler's textbook being played out concretely in terms of computation and matrices - it's amazing! I can now..
|
|
A lot of people have combined a RasPi and a SDR dongle to get a low power consumption ADS-B tracker. Tomasz Miklas has created an image for the Raspberry Pi, that has everything that is needed to run your own aircraft tracking "service" already set up. I've finally had a chance to experiment with it and this will be my short review.
|
|
Last night I took Coin to task for extending their pre-order sale, again, in to the new year rather than allowing it to expire as should have happened sometime today. I briefly explained how this move has further devalued their product by virtually solidifying it at the $50 price point, and then talked about how Coin’s latest escapade showed a startling lack of respect for the individuals who put their hard-earned cash on the line so that..
|
|
Less Overproduction (of unused functions in interface between team members) Less Waiting (for the only person who knows a particular area) Less Motion (as everyone gets more skilled) Fewer Defects (because two pair of eyes see better than one) Less Over-processing (from duplicate responsibility) Less Inventory (as team works on focused set of features and tasks) Less Transportation (handoffs inside a story) Less Underused talent (as everyon..
|
|
I feel a bit like a broken record at this point, what with having already talked about Coin twice before , but the company’s latest stunt bears once again picking up my banner and going back off to war: earlier this evening, via their Twitter account, Coin posted a “BREAKING NEWS!” announcement that — you guessed it — extended the $50 off early adopter deal into the new year. Surprised? You should’t be. Permalink.
|
|
I recently inherited some money, and as a consequence was able to pay off most of my long term, PITA, oh god how are we ever gonna get out of this, debt. The day I went from website to website zeroing everything out was supposed to be a good day;
|
|
Perhaps the number one reason why people are afraid to try Lisp or don’t like it is the huge amounts of parentheses cluttering up the code. It’s said to be hard to read the code when it’s full of parentheses. Any experienced Lisp programmer will tell you that the parentheses disappear fairly early on. After a while, you hardly notice them as something annoying. In fact, going back to C-family languages will make you feel like you need t....
|
|
Perhaps the number one reason why people are afraid to try Lisp or don’t like it is the huge amounts of parentheses cluttering up the code. It’s said to be hard to read the code when it’s full of parentheses. Any experienced Lisp programmer will tell you that the parentheses disappear fairly early on. After a while, you hardly notice them as something annoying. In fact, going back to C-family languages will make you feel like you need t....
|
|
Derek Sivers: We got two ciders and she patiently waited while I spent 20 minutes reading through it. Pages filled with words about processing family drama, formulating goals, plans for life changes, romantic details, lists of regrets, contemplations, etc. I was surprised it was all meaningless to me. These pages
|
|
We just opened the Flowhub website for pre-orders. Flowhub is the collaborative development environment for NoFlo and other flow-based programming systems. Once it launches for general use, Flowhub is the fruition of the project initiated by our successful NoFlo Development Environment Kickstarter from last August. Flowhub will provide a development environment for your flow-based programs, allowing you to collaborate and build....
|
|
We just opened the Flowhub website for pre-orders. Flowhub is the collaborative development environment for NoFlo and other flow-based programming systems. Once it launches for general use, Flowhub is the fruition of the project initiated by our successful NoFlo Development Environment Kickstarter from last August. Flowhub will provide a development environment for your flow-based programs, allowing you to collaborate and build....
|
|
After all the talk of Castro in the last twenty-four hours since its release, and as an avid podcast listener myself , I couldn’t help but feel obligated to weigh in. With articles from John Moltz , Cody Fink , and Shawn Blanc waiting unread in my Instapaper queue, I downloaded Castro earlier this evening expecting to burn the midnight oil to get this article out. It came as a great surprise, then, when I tried every one of Castro’s ..
|