|
This book was amazing, I was thinking that the amount of pages the book offers wouldn’t be able to tell a good story but this…
|
|
Figure 1: Sample screenshot editing my .vimrc Vim is an excellent text editor. I've used it for many years and like most vim users, have collected a fairly large collection of settings in my .vimrc and learned how to grok my vim usage effectively through a lot of trial and error. To that end, I've tried to assemble a useful overview of my experience with vim. Foreword: Why? Why would you want to even put in the effort to ....
|
|
Solved: Jetty doesn't show errors on web application start-up
-
www.databasesandlife.com
-
12 years ago
-
eng
From a certain version of the “jetty” package in Debian Linux, if the web application didn’t start up (servlet init() throws an Exception), this error wasn’t logged anywhere. The solution is to install the libjetty-extra package. sudo apt-get install libjetty-extra It took some amount of experimentation to find the solution. I don’t know why you’d ever want to not log errors; i.e. why the logging of errors is an “extra”.
|
|
Recently, Phil Robertson of the sensational cable TV program Duck Dynasty has drawn quite a bit of flack for his very Christian views kept largely hidden until now through A&E’s refusal to air his more candid statements. Setting personal opinions aside though and totally disregard the absurdity of crucifying Phil for his beliefs because today’s hyper-sensitive, disgustingly entitled society seeks to vilify everyone who challenges their nu..
|
In the previous three posts we created a simple ToDo application with Ruby on Rails. In this last part we are going to deploy the application to OpenShift. You can find the complete code of the tutorial here . OpenShift OpenShift is a cloud application platform (by Red Hat). Few months ago, when I was discovering Ruby & Ruby on Rails I started developing an application in order to practice. When I completed the first version I w....
|
In the previous three posts we created a simple ToDo application with Ruby on Rails. In this last part we are going to deploy the application to OpenShift. You can find the complete code of the tutorial here . OpenShift OpenShift is a cloud application platform (by Red Hat). Few months ago, when I was discovering Ruby & Ruby on Rails I started developing an application in order to practice. When I completed the first version I w....
|
|
When I joined college I was a pretty bad swimmer. During freshman year I took some beginner/intermediate swimming classes and learned proper swimming technique for stomach crawl, breaststroke and butterfly. The next year I saw this class called Master’s swimming, spoke to the coach and signed up for it. I was by far the weakest swimmer in the class. Everybody else had great stamina and technique. We would do series of 50 metres swimming f....
|
|
Well, One Game a Month is done! I’ve managed to complete 12 games for the year. My motivation by the end was lacking, so I took it kind of easy this month and made a very simple and quick game called Simon Says . Last month’s game, 9 to 5 , took much longer due to the number of art assets required. I’ll write a proper post about the challenge, how everything went, etc later.
|
|
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..
|
|
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;
|