|
Introduction If you are building any kind of application for a consumer based product, it is common to have large amounts of application data being generated about your users. Running reports is a traditional use of this data, but what if you could make this data actionable? What if you could adapt the user experience by aggregating and testing this data against rules that could dictate actions or special messaging? In this post I a....
|
|
pThis article argues that emwhen able to/em one should break down iteration operations over an array into code#map/code and code#select/code as opposed to operating on the enumerable through an code#each/code./p h2The Examples/h2 pThroughout this article I will refer to the following, contrived, example:/p pYou have an array of numbers code[1, 2, 3, 4, 5]/code and you want to subtract 3 from each of the items and then remove all items that ....
|
|
Simple Ways to Protect an API: HTTP Basic Authentication and HTTP Token Authentication
-
techblog.thescore.com
-
12 years ago
-
eng
pThe backend for theScore mobile apps consists of many different web services (Core Sports, Personalization, Push Alerts, etc.). Each service provides its own RESTful API. Some of these services are internal. As such, they only have a very limited number of consumers. Having a limited number of consumers for an API lets you keep the authentication really simple for that API./p pFor the purposes of this blog post, suppose that we have two se....
|
|
We’ve been spending an excessive amount of time tuning our garbage collection and memory management of the new iOS VM based on profiler output. This is one of the cool features in the approach we took (translating Java to C rather than going directly to machine code), we can use Apple’s nifty profiling tools to see where the CPU/GPU spend their time. After quite a few profiling sessions it became apparent that the GC is the main reason fo..
|
|
It’s often said, especially by those who profess to understand Apple on a fundamental level, that the company is not in the business of making strictly hardware or software, or even iPhones and Macs. However, although that realization comes readily enough, the gap it leaves explaining what, exactly, Apple does do if not build computers and operating systems, has proven elusive at best. After WWDC though, we have another great opportunity to..
|
Beautiful lazy shots of cream laden berries, multi-textured saucy pork’s, pasta’s from which dreams are woven off, slices of golden tostones and heavenly fingers of yucca. And yet Chef has nothing to do with food. It’s a story of simple pleasures, of passion of passions and the art of companionship. It’s not that gorgeous food … Continue reading Chef: Movie Review
|
|
On my last project, the client categorically asked the team to ensure that the Django app we were developing had first-class support for Internet Explorer 8. Now I know a number of developers who would cringe at the mere mention of Internet Explorer (IE). I have even heard it said that the only use of Internet Explorer is to download an alternative browser! What do you do when you need to set up a test suite that supports the running of fun..
|
|
If you've spent any amount of time running a Linux machine on a Windows network, you've probably had the need to share files between the two. This seems like it should be a trivial matter, but as often as not, it seems to produce bouts of sheer insanity. The problem usually lies in the realization that Windows uses SMB and that Linux tends toward transit over SSH (rsync, scp, sftp.)
|
|
Here’s a simple puzzle with a neat story. A rich old woman is drafting her will and wants to distribute her expansive estate equally amongst her five children. But her children are very greedy, and the woman knows that if he leaves her will unprotected her children will resort to nefarious measures to try to get more than their fair share. In one fearful scenario, she worries that the older four children will team up to bully the youngest c..
|
|
Here’s a simple puzzle with a neat story. A rich old woman is drafting her will and wants to distribute her expansive estate equally amongst her five children. But her children are very greedy, and the woman knows that if he leaves her will unprotected her children will resort to nefarious measures to try to get more than their fair share. In one fearful scenario, she worries that the older four children will team up to bully the youngest c..
|
|
Here’s a simple puzzle with a neat story. A rich old woman is drafting her will and wants to distribute her expansive estate equally amongst her five children. But her children are very greedy, and the woman knows that if he leaves her will unprotected her children will resort to nefarious measures to try to get more than their fair share. In one fearful scenario, she worries that the older four children will team up to bully the youngest c..
|
|
Another short list for you, unfortunately; apologies. I hope that before too long, I will be able to turn out the impressive rosters of days since past and once again shine my admittedly meager spotlight on some work truly worthy of recognition. Until then, though, I have but two recommendations for you: Permalink.
|
|
This is a presentation that I recently gave at UpstatePHP in Greenville evaluating the framework landscape in PHP. We discussed why there are so many, history, goals, benefits, concerns and ultimately a recommendation.
|
|
This is a presentation that I recently gave at UpstatePHP in Greenville evaluating the framework landscape in PHP. We discussed why there are so many, history, goals, benefits, concerns and ultimately a recommendation.
|
|
In 1995, Fluxus artist Dick Higgins created the Intermedia Chart, a Venn diagram describing overlapping academic art traditions. The most important aspect of this static chart, in my opinion, were the unknown circles labeled with a question mark. To represent this motion and fluidity in a dynamic way, I created a rough interactive version using […]
|
|
When we introduced the idea of the EDT from Swing (and pretty much any modern UI toolkit) into what eventually became Codename One, one of the chief benefits was modal dialogs. It’s the ability to block the executing thread in order to ask the user a question, that’s a very powerful tool for a developer. As a result of that we defined modal dialogs the way Swing/AWT defined them: stopping the execution of the code.
|
|
Our animator Antonio has been hard at work on new animations. Check it out! Guys, the level editor is really close to being done. Here's some cool features: You can link entities together. For example, you can have a door open when the player enters a trigger volume. Or have a light turn on. Or both. The UI now displays buttons for all available commands at any given moment, and their keyboard shortcuts. Different comman..
|
|
Following Mike Monteiro’s recent announcement that he would effectively shutter Mule Radio Syndicate due to its untenable demand on his time, many wrote short farewells to what they considered a great podcast network. Marco Arment, however, had something very interesting to say regarding the future of this now-popular business model: Permalink.
|
|
Silicon Valley Business Journal - Best CIO - Matt Crampton
-
www.mattcrampton.com
-
12 years ago
-
eng
Silicon Valley Business Journal - Best CIO: Matt Crampton On June 20, 2014 I was nominated as best CIO by Silicon Valley Business Journal Read Article The interiew is pasted below as well... Best CIO - Private Company: Finalist Matt Crampton, Chief Technology Officer & Co-Founder/Gigwalk Matt Crampton’s fascination with technology all started with his first Tandy 1000 286 that his parents bought him for Christmas when he was a kid. He’s bee..
|
|
There is a rather nice blog post on the Sphinx Search blog about how searchcode uses sphinx. Since I wrote it I thought I would include a slight edited for clarity version below. You can read the original here . I make it no secret that the indexer that powers searchcode is Sphinx Search which for those who do not know is a stand alone indexing and searching engine similar to Solr. Since searchcode’s inception in 2010, Sphinx has..
|
|
Introduction Closures in Go are a very powerful construct but they can also be the cause of bugs if you don’t understand how they work. In this post I am going to pull a small piece of code from Chapter 2 from the Go In Action book that discusses a pitfall you can run into when using closures. The full code example can be found in the Github repository for the book. Chapter 2 discusses this code example in full detail. The Clos..
|
|
Have you noticed the job postings? Design companies want developers. Technology specialists are competing for designers and big business strategy firms are gobbling up entire agencies and boutiques whole. What’s going on with this wholesale rush to stitch together firms from tribes with wildly different professional disposition?
|
|
The points I'm going to discuss here helped me a lot to become more aware of my tests and what I can do to improve them. If you have experience in writing tests, you probably know most of what I'm going to talk about, but it's still good to refresh your memory and add more references on the subject. If you have just started writing tests and are looking for ways to become even better, then you came to the right place!
|
|
I’ve been having fun looking at the betfair market odds of...
-
yieldthought.com
-
12 years ago
-
eng
I’ve been having fun looking at the betfair market odds of a team winning the world cup over time. The interesting thing isn’t the wins and losses, although those are very clear, but how they affect the other teams chances. The vertical axis is the % chance of winning, as predicted by the betfair market after the end of play each day. In some cases a team wins but their performance was so unconvincing that their chances of winning the t....
|
|
If you run Sphinx Search you may want to estimate the amount of RAM that it requires in order to per-cache. This can be done by looking at the size of the spa and spi files on disk. For any Linux system you can run the following command in the directory where your sphinx index(s) are located. ls -la /SPHINXINDEX/|egrep "spa|spi"|awk '{ SUM += $5 } END { print SUM/1024/1024/1024 }' This will print out the number of gigabytes required to st..
|
|
In Africa, there’s a saying: “If you want to go fast, go alone. If you want to go far, go together.” It’s a great mindset with regard to software design and development - we should always encourage a joint working environment. One way to “go together” is through workshops. We do it a lot at Thoughtworks - whether it’s to kickoff a Discovery phase around developing new product propositions or initiating a new phase of work in what we call an..
|
|
Using Page Objects to Overcome Protractor's Shortcomings
-
www.thoughtworks.com
-
12 years ago
-
eng
The Protractor community is getting bigger by the day. We have blogged about ways to get hands-on with Protractor and how to test your AngularJS apps with it. In this blog, let’s look beyond Protractor’s support for writing UI Tests for AngularJS.
|
|
Moving Buying an apartment in Sweden is refreshingly hassle-free but by no means stress-free. You find one you like online, you go to a viewing, you bid…and bid…and bid until you can’t bid no mo’. Alternatively, you find one you like online and just bid.
|
|
At any given time I have a multi-tool, both phillips and flathead screwdrivers, a small survival kit, and a large pocket knife on my person, plus — obviously — a wallet with enough cash to get me out of most situations in which that would be of any help. In my car, I keep a blanket and enough paracord to erect a small shelter, along with a number of other items that would prove quite useful in a number of different situations. And, of cours..
|
|
I started porting my setup from Chef to Ansible a few weeks ago. Having had plenty of experience with Chef gave me a pretty good idea of what I wanted to achieve. One of the main advantages I see in Ansible is the ability to drive your server setup via ssh from your own machine. If you don’t have 100s of servers ( update: actually more like tens of thousands, see the comment by mpdehaan ), this agentless “ push” approach is very po....
|
|
HackerEarth Streak: An exciting data about your HackerEarth activity
-
engineering.hackerearth.com
-
12 years ago
-
eng
We have been constantly adding features to our HackerEarth Developer Profile , making it better with every new update. One of the exciting data in it is HackerEarth Streak on the HackerEarth Activity page. This post explains how we process user data and compute such results. We split it into two parts: Code Streak: Maximum number of unique problems solved continuously Day Streak: Maximum number of days such that one new problem is....
|
|
Fantastic, even-handed look at the often politically-charged debate surrounding gun control in America. I personally believe, like Adam Weinstein, that everyone deserves to protect themselves with the tool that they deem appropriate. However, he does raise quite a few great points and asks a number of very difficult questions that have made me really examine my point of view on this subject like no other piece of this genre ever has. And th..
|
|
I thought I’d share this since it was something I unfortunately, spent a good portion of my afternoon wrestling with. So you want to use an elasticsearch plugin within graylog2-server? I don’t care about your reasons, but this will help you do it. I’m going to go out on a limb and assume you’re wanting to use the kopf plugin to view cluster state, but this will work for any plugin.
|
|
When Ballmer famously said, “Linux is a cancer that attaches itself in an intellectual property sense to everything it touches,” it was fair to characterize Microsoft’s approach to open source as hostile. But over time, forces within Microsoft pushed to change this attitude. Many groups inside of Microsoft continue to see the customer and business value in fostering, rather than fighting, OSS. via Microsoft’s New Running Shoes .
|
|
One of the many challenges with building or refreshing a website is the selection of a Content Management System (CMS). Despite our best efforts the CMS can often be a source of difficulty in a project, but there are alternatives. Read about the approach we took on www.thoughtworks.com to developing functionality to support content management in an incremental fashion.
|
|
Today, I chat with Anna Royzman (@QA_nna) - Conference Chair for this year’s annual conference of the Association for Software Testing (AST) scheduled on August 11th-13th in New York City, and the Chair of AST's test leadership Special Interest Group (Leadership SIG).
|
|
Some features we have in Codename One are a bit hidden behind the surface, we add them as a patch for a developer and don’t have the proper place to document them so they get buried. Case in point is the ability in Android to use the search magnifier icon instead of the done button. To get that functionality you can just set a client property on the relevant text field as such:
|
|
There seems to be a general trend with calling the new release of your search engine next (see Iconfinder and DuckDuckGo ), and so I am happy to announce and write about searchcode next . As with many project searchcode has some very humble beginnings. It originally started out as a “I need to do something” side project originally just indexing programming documentation. Time passed and the idea eventually evolved into a search engine..
|
|
The universe is most surprisingly finite, it seems. Technology even more so. A few posts ago, I lamented that n IP addresses always need to be split n+1 ways. If it is true with IP addresses, it's twice as true with hardware. Given three servers, there will be demand for, at minimum, five. Certainly there must be a way for us to sneak out of this problem too, right? We could always just install multiple sets of services on the same bare met..
|
|
Arel is the kind of library that many of us Rails developers use on a daily basis and might not even know about it. So what's this library whose name only pops up when everything else fails all about?
|