|
After I moved back from New Jersey in June 2008 I started to track my body weight more seriously. My routine usually consists of getting up and after finishing the morning bathroom I would step on my scale. That way I try to ensure that the condition for each weighing are as similar as possible. I recorded my weight on paper and eventually would put everything into a spreadsheet for further analysis.
|
|
When starting to work on an existing codebase, I often find myself in a state of despair. The code doesn’t make any sense, the programmers must have all been idiots, why on earth would they do it like this, … I hate everything about the code. I spend hours going through it, thinking to myself, I would have done a much better job writing this and making a list of changes that must be done in order for the project to conform to my s..
|
|
When starting to work on an existing codebase, I often find myself in a state of despair. The code doesn’t make any sense, the programmers must have all been idiots, why on earth would they do it like this, … I hate everything about the code. I spend hours going through it, thinking to myself, I would have done a much better job writing this and making a list of changes that must be done in order for the project to conform to my s..
|
|
A few weeks ago now Yahoo bought Tumblr for more than a billion dollars; responding to the news, Marco Arment wrote The One-Person Product . In episode seventy-five of Roderick on the Line, John talked about watching successful young artists blow fortunes one CD at a time. On the one hundred and twentieth episode of their Back to Work program , Dan and Merlin discussed a common topic between Marco’s article and John’s podcast, the top..
|
|
I really enjoy reading Matt Gemmell’s writing. His article from quite a while ago, Writing Tools , caught my attention , and iOS 7 greatly impressed me . So, earlier this afternoon, I subscribed to his site; ironically, The Unfollower was the first article I read after doing so. Continuing the previously-established trend of excellence, this piece was no exception. Permalink.
|
|
While I don’t agree with many of the author’s points, nor do I agree with her overarching theme, she did, however, say a number of interesting things throughout the piece. I tried, for the most part, to stay away from articles written on this topic, but this one is well worth the read. “The security state operates as a ratchet. Once you click in a new level of surveillance or intrusiveness, it becomes the new baseline. What was unthinka..
|
|
A Marvellous & Incomplete Compendium of reddit Automatons & Bots
-
duncanlock.net
-
13 years ago
-
eng
Figure 1. How much does a software bot weigh, anyway? Heavily modified & adapted from the original public domain robot on openclipart, posted by johnny_automatic. reddit, the insanely popular internet community, had 71,435,935 unique visitors last month, with over 2,360,783 people logged in [1] . I say people - but it turns out that not all the denizens of reddit are human. There are also bots. Lots and lots of bots. How many? No-one ....
|
|
What makes an app great is the little things — the small details that take something normal and turn it into something extraordinary. I see iOS 7 as a blank canvas — an ‘un-design’ if you will. The goal of a 3rd-party isn’t to copy the stock apps pixel for pixel (that wasn’t the goal for iOS 1-6, and it’s not the goal now). Rather this is Apple saying it’s time to re-imagine what mobile software should look and act like. Five-hundred mi..
|
|
Adding Support for Search Engines to your Javascript Applications
-
eviltrout.com
-
13 years ago
-
eng
Important Update (May 25, 2014) : Google has started parsing and indexing Javascript. The approach of this article is to use
|
I fell in love with a dead keyboard layout. A decade or so ago while helping a friends father clean out an old building, we came across an ancient Sun Microsystems server. We found it curious. Everything about it was different from what we were used to. The command line was black text on a white background, the connectors strange and foreign, and the keyboard layout was bizarre. We never did much with it; turning it on made all the lig....
|
I fell in love with a dead keyboard layout. A decade or so ago while helping a friends father clean out an old building, we came across an ancient Sun Microsystems server. We found it curious. Everything about it was different from what we were used to. The command line was black text on a white background, the connectors strange and foreign, and the keyboard layout was bizarre. We never did much with it; turning it on made all the lig....
|
|
So I just rolled a new vm to hack around with FreeIPA . Here are some things that I’ve come across so far. I was planning on configuring LDAP, and Kerberos manually, but the included webui looks like a lovely tool to have for the data entry, user administrator type who likes to click on things. Let’s explore… /etc/hosts : FreeIPA is choosy about how your /etc/hosts is formatted. It requires an entry that has a particular order, th..
|
|
So I just rolled a new vm to hack around with FreeIPA . Here are some things that I’ve come across so far. I was planning on configuring LDAP, and Kerberos manually, but the included webui looks like a lovely tool to have for the data entry, user administrator type who likes to click on things. Let’s explore… /etc/hosts : FreeIPA is choosy about how your /etc/hosts is formatted. It requires an entry that has a particular order, th..
|
|
Minimal password security is gained from case-sensitivity
-
www.databasesandlife.com
-
13 years ago
-
eng
My colleague suggested that systems should compare passwords in a case-sensitive manner. He pointed out the larger space of possible passwords, and thus the longer passwords would take to crack by a brute-force attack. This is all standard knowledge. I still maintain, however, as discussed before , that the correct trade-off between usability and security is to compare passwords in a case-insensitive manner. The increase in usability ..
|
|
from a dev perspective at least. When you allocate an amount larger than the system RAM for some reason, maybe by accident, or maybe because MSVC miscompiles your code. Then Windows proceeds to page everything out to disk, including task manager, which means you can't shut down the offending program. Your computer then becomes completely unresponsive. 5 Minutes later, when you can finally kill the program, then every other program compet..
|
|
In response to some discussion in the gluster community, I am releasing my puppet-lsi module. It’s quite simple, but it is very useful for rebuilding machines. It could do a lot more, but I wanted to depend on the proprietary LSI tools as little as possible. Running megacli with puppet would be a very doable hack, but I’m not sure enough devops out there who would use that feature. Usage is straightforward if you like the sensible def..
|
|
In response to some discussion in the gluster community, I am releasing my puppet-lsi module. It’s quite simple, but it is very useful for rebuilding machines. It could do a lot more, but I wanted to depend on the proprietary LSI tools as little as possible. Running megacli with puppet would be a very doable hack, but I’m not sure enough devops out there who would use that feature. Usage is straightforward if you like the sensible def..
|
|
The original author of code should fix its bugs, and they should do that before writing more code
-
www.databasesandlife.com
-
13 years ago
-
eng
There are (at least) the following options that a project manager must make when organizing bug fixes to software: Should the original author of the code in question fix the bug? Or should there be a “bug team” who surgically go in and fix bugs? Should one fix bugs as one goes along? Or concentrate on features and write the bugs down and fix them in a “bug sprint”? I am very much in favour of the original author fixing bugs , and fixi..
|
|
I was really surprised how easy it was to read an XML document using the encoding/xml package that comes with the standard library. The package works by defining structs that map the XML document. If you need more flexibility then use Gustavo Niemeyer’s xmlpath package ( found here) . Here is the XML document we are going to read and de-serialize:
|
|
Repository: @knadh/simplemysql GitHub release page: v0.3.0 Full Changelog : https://github.com/knadh/simplemysql/compare/v0.2.0...v0.3.0
|
|
Repository: @knadh/simplemysql GitHub release page: v0.4.0 Full Changelog : https://github.com/knadh/simplemysql/compare/v0.3.0...v0.4.0
|
|
Repository: @knadh/simplemysql GitHub release page: v0.5.0 Full Changelog : https://github.com/knadh/simplemysql/compare/v0.4.0...v0.5.0
|
|
jQuery Promises: The answer to PostMessage's asynchrony
-
engineering.wingify.com
-
13 years ago
-
eng
Visual Website Optimizer's editor component loads a website for editing using a proxy tunnel. It put a big restriction on what kind of…
|
|
Hello fellow Unixers, In this thread I'll explain how to enjoy playing games on free Unix OS for a cheap price. The rumor that gaming on Unix is bad has been around for quite some time now. While it's almost true for the newest games with the 3D rendering that makes hair looks so real that it feels like your own hair are fake, it's still not true for all games. I won't start blabbering about "Steam"TM because the internet is already infe..
|
|
Problem: Determine if a number is prime, with an acceptably small error rate. Solution: (in Python) import random def decompose(n): exponentOfTwo = 0 while n % 2 == 0: n = n/2 exponentOfTwo += 1 return exponentOfTwo, n def isWitness(possibleWitness, p, exponent, remainder): possibleWitness = pow(possibleWitness, remainder, p) if possibleWitness == 1 or possibleWitness == p - 1: return False for _ in range(exponent): possibleWitness = pow(po..
|
|
Problem: Determine if a number is prime, with an acceptably small error rate. Solution: (in Python) import random def decompose(n): exponentOfTwo = 0 while n % 2 == 0: n = n/2 exponentOfTwo += 1 return exponentOfTwo, n def isWitness(possibleWitness, p, exponent, remainder): possibleWitness = pow(possibleWitness, remainder, p) if possibleWitness == 1 or possibleWitness == p - 1: return False for _ in range(exponent): possibleWitness = pow(po..
|
|
Problem: Determine if a number is prime, with an acceptably small error rate. Solution: (in Python) import random def decompose(n): exponentOfTwo = 0 while n % 2 == 0: n = n/2 exponentOfTwo += 1 return exponentOfTwo, n def isWitness(possibleWitness, p, exponent, remainder): possibleWitness = pow(possibleWitness, remainder, p) if possibleWitness == 1 or possibleWitness == p - 1: return False for _ in range(exponent): possibleWitness = pow(po..
|
|
In this morass of terribly-written prose, Rene Ritchie did manage to make an interesting point: “The problem is that Apple listened, and now instead of being a trend creator they are ‘following’ trends.” While I can’t say I necessarily agree with this opinion, it is nevertheless a very interesting one, and one that I haven’t see voiced since the WWDC keynote nearly a week ago. Permalink.
|
|
I love this article. Its post slug, “campus”, should give you an idea as to what it is about. Great read. Permalink.
|
|
Working my way through The B&B Podcast’s back catalog I came across episode seventy-three, Faded Avocado , during which Shawn and Ben talked about Marcelo Somer’s piece The Linkblog Cancer . This article sparked a controversy that went viral a few months ago, a controversy even the likes of Jim Dalrymple and Marco Arment felt the need to respond to. I even mentioned it, albeit briefly, in my article Reinventing the Linkblog . F..
|
|
As an iphone developer contractor, I’ve released some applications on the Apple Store for my customers but not on my own. Here is my 1st personal (30 hours) toy project: 7shape a 7 minutes workout training application, based on an [NYT blog](http://well.blogs.nytimes.com/2013/05/09/the- scientific-7-minute-workout/) post. I’ve spent 20 hours on website release, marketing, 3D for the human trainer and application design, and last 10 hours to..
|
|
Recently I got together with some local developers to discuss client side MVC frameworks. We ended up discussing many of the differences between AngularJS and Ember . Discourse is an Ember application and has been since the first prototype, so I have a lot of experience with it. However, it became clear during the conversation with my peers that there was a lot about AngularJS I didn’t know. There is evidence that AngularJS is beat..
|
|
Figure 1. StackOverflow is made of people - lots and lots and lots of people. Seemingly like everything else in the world, Stack Overflow is getting more & more competitive as time passes. Gaining a good reputation - and even finding good questions to answer - is becoming harder and harder, as more and more people compete for less and less unanswered questions. This is fantastic if you want to find an answer - but makes it much harde....
|
|
Don't use string constants when writing SQL statements in code
-
www.databasesandlife.com
-
13 years ago
-
eng
I was always in two minds about using constants for table and column names when writing SELECT queries. Now I've concluded that constants are definitely bad, and should not be used. Here's why. The topic of discussion is difference is between writing sql = "SELECT * FROM " + TABLE_NAME + " WHERE ..." and sql = "SELECT * FROM my_table WHERE ..." There are the following consequences from this choice as far as I can see:
|
|
I’ve written a bit before about understanding the output from EXPLAIN and EXPLAIN ANALYZE in PostgreSQL. Though understandably getting a grasp on execution plans could probably use some more guidance. Yet, this time around I’m taking a bit of a cop out and highlighting a few tools instead of documenting myself, which I’ve done in a talk I’ve frequently given Postgres Demystified . Getting at the Data The first small thing you ....
|
|
I’ve written a bit before about understanding the output from EXPLAIN and EXPLAIN ANALYZE in PostgreSQL. Though understandably getting a grasp on execution plans could probably use some more guidance. Yet, this time around I’m taking a bit of a cop out and highlighting a few tools instead of documenting myself, which I’ve done in a talk I’ve frequently given Postgres Demystified . Getting at the Data The first small thing you ....
|
|
When you look around you while sitting in a church service, you will generally have a sense of who is who. You know who the nice people are, who the grumps are and who always causes trouble. You know the people who always ask silly questions, and you know the people that always seem to know what to say when you are helpless. You might have an idea of who is a strong Christian and who has ways to go. We all do. What does the Bible say....
|
|
When you look around you while sitting in a church service, you will generally have a sense of who is who. You know who the nice people are, who the grumps are and who always causes trouble. You know the people who always ask silly questions, and you know the people that always seem to know what to say when you are helpless. You might have an idea of who is a strong Christian and who has ways to go. We all do. What does the Bible say....
|
|
ReadWrite’s new site looks fantastic, very reminiscent of Digg’s current design. “It would have been easy at that point to rest on our laurels. But we and our colleagues at Say Media, our parent company, whose technology and design teams worked tirelessly on this launch, wanted to keep pushing our design forward and drop the remnants of the ’90s-era Web that clung to our site.” Good for them. Permalink.
|