|
RDTSC doesn't actually measure the number of clock cycles elapsed
-
www.forwardscattering.org
-
11 years ago
-
eng
The RDTSC instruction on x86 CPUs is supposed to read a counter that is incremented (by one) every clock cycle. However, it doesn't actually do this. Instead, the counter increases at a fixed frequency, independent of the actual clock speed of your CPU, which varies based on load, temperature etc.. This does not seem to be documented anywhere. I found this out the hard way, after measuring the frequency of rdtsc myself, and notic....
|
|
Since Apple began requiring that developers submitting applications to the Mac App Store sandbox their products, it has remained a somewhat controversial decision. Two years after the rule went in to effect, it continues to preclude a number of great apps from sharing in the spotlight Apple so generously — and to such great effect — sheds on its platform’s developers by featuring their creations on the store’s front page. Nevertheless, by a..
|
|
Josh Gross and Matthew Ström are former freelancers that banded together to create Planetary, a studio empowering companies through better design.
|
|
The drunken scribblings of a mad man. Possibly some kind of ancient cuneiform. A random page out of the Middle Earth phone directory. Whatever it was, it was the server password, not that it matters now: the little Post-It note reminder had long since thrown itself into the waste paper bin. Somewhere a landfill sat, knowing our password and chuckling away at our misfortune. It seems that our hero is in a bit of trouble, if only slightly sel..
|
|
It has been quite a while since I posted one of these — more than a month, in fact: the last came out at the beginning of May . Today, I finally have cause to bring this series back. Finally — far too long has passed during which I had no cause to sit down and revel in the simple beauty of nature and its rustic inhabitants. Permalink.
|
|
ShipIt - 24-hour hackathon for Millennium+ Platform Dev
-
engineering.cerner.com
-
11 years ago
-
eng
At the end of March, some of our teams held their first 24-hour hackathon, titled ShipIt: Millennium+ Services FedEx Day. We had 41 participants, in 15 teams working on 15 unique projects. The idea was inspired by several teams spending a few hours every so often to work on different projects. After reading about Atlassian’s hack days, we decided to hold one. The event was initially announced early in February, to give teams time to work th..
|
|
I really liked this book, especially the setting and the timeframe. It had good character development with Lina having flashbacks…
|
|
Hat-tip to Hayes Brown for tweeting this link, apparently Amazon does, indeed, sell everything — including, it seems, radioactive uranium ore. This surprisingly unsurprising development is not the best part though, but rather the “Customer Questions and Answers” section as well as the top reviews; in a word, hilarious. Permalink.
|
|
Finally, after an uncomfortable few weeks of just one or two entries here, I have amassed a respectable roster highlighting the past week’s best podcasts. Enjoy! Permalink.
|
|
The other day, as I drove home from work and practiced my dictation to the tune of Siri’s inept transcription abilities, I deftly tapped iMessages’ “Send as Text Message” tooltip for what — given the number of text messages I send each month — must quite literally fall somewhere in the neighborhood of the millionth time. I tapped this button two or three times until, finally, my phone realized I wanted every outgoing message sent without th..
|
|
Small update. This week was bug fixes and more improvements to the level editor (more on that here) . In other news, we were grateful to get some coverage from Monday Night Indie ! Unfortunately the stream highlighted some pretty major issues with the tutorial, so... Brand new level design! That's it for this week. Thanks for reading.
|
|
From the day after Apple’s WWDC Keynote, Joe Steele took a refreshingly even-handed look at Swift, giving both the opinions of its proponents and opponents equal time, attention, and weight. And as if this were not enough, he included a number of astute observations and his causes for both concern and enthusiasm as well. If you, like me, have trouble staying abreast of tech news and thus have yet to read much about Swift, this is a great st..
|
|
One of my favorite ways to develop software is to do it together with others. Pair programming has always been a motivating and fun activity for me, but some pairings work better than others. When our team was formed we decided to pair program and rotate partners every day. I had lots of fun programming with Milina, Asanka, Manoj and Chamath, but my favorite session was the one I had with Sankalpa.
|
|
Introduction Dave Cheney published a post called Ice Cream Makers and Data Races . The post showed an example of an interesting data race that can occur when using an interface typed variable to make a method call. If you have not read the post yet please do. Once you read the post you will discover that the problem lies with the fact that an interface value is implemented internally using a two word header and that the Go memory model ....
|
|
Once upon a time it used to be difficult to create integration tests in Ember.js. Fortunately, the framework has come a long way and it’s now really easy to get integration testing working in your application. This screencast shows how to set it up with ember-cli: There is some boilerplate code required that you’ll need at the top of your integration test files if you want to do it yourself. Here it is:
|
|
In reply to shahar. Oh, Hi, Shahar! Always a surprise to meet familiar faces across the internet...
|
|
I really have very little to say on the recent debate surrounding the future viability of podcast networks. To me, it seems a lot like the age-old flame wars comparing Macs and PCs, and the more recent and equally bombastic arguments over iOS versus Android: everyone has their own personal preference, and we must all accept that. Taken a step further, everyone has their own personal preference, we need to accept that, and no one will ever c..
|
|
Master SDN hacker Flavio sent me some tunes. They were sitting on my desktop in a folder: $ ls ~/Desktop/ uncopyrighted_tunes_from_flavio/ I wanted to listen them while hacking, but what was the easiest way…? I wanted to use the nautilus file browser to select which folder to play, and the totem music/video player to do the playing. Drop a file named totem into: ~/.local/share/nautilus/scripts/ with the content..
|
|
Master SDN hacker Flavio sent me some tunes. They were sitting on my desktop in a folder: $ ls ~/Desktop/ uncopyrighted_tunes_from_flavio/ I wanted to listen them while hacking, but what was the easiest way…? I wanted to use the nautilus file browser to select which folder to play, and the totem music/video player to do the playing. Drop a file named totem into: ~/.local/share/nautilus/scripts/ with the content..
|
|
I absolutely loved the ending of this series. It was just so good, but in my opinion the ending was a bit cliche, yet the author…
|
|
In reply to Brian. Anything you want.
|
|
It’s sad to see tourism and capitalism ruining the way of life for a people whose traditions go back generations and hundreds of years. You might not agree with their beliefs, or may even go so far as to boldly proclaim the Amish lifestyle nothing more than a sham to avoid taxes; but regardless if your own personal opinions, I think we can all agree that this is unfortunate. Permalink.
|
|
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
-
11 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....
|
|
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
|
|
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.
|
|
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 […]
|
|
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.
|