[\w\.-_]
should really be [\w\.\-_]
instead.But not that's not what caused the problem mentioned in this post.
(edited for clairifcation)
269 karma · joined January 12, 2010
[\w\.-_]
should really be [\w\.\-_]
instead.But not that's not what caused the problem mentioned in this post.
(edited for clairifcation)
# show only items in both a and b
comm -1 -2 <(sort -u a_list) <(sort -u b_list)
# show only items unique to a
comm -2 -3 <(sort -u a_list) <(sort -u b_list)
# show only items unique to b
comm -1 -3 <(sort -u a_list) <(sort -u b_list)http://imgur.com/upload?url=https%3A%2F%2Fnews.ycombinator.c...
Perhaps someone had included a URL like the one above in some wordpress template.
See: http://nullsleep.tumblr.com/post/16524517190/animated-gif-mi...
Edit: This is what it looks like with all frame delays set to 2 centiseconds: http://i.imgur.com/24xpZEd.gif
On Chrome and Firefox, you should see it animate more quickly.
See: https://developer.apple.com/library/ios/#releasenotes/StoreK...
One way to resolve that issue is to create two versions of the password (one with normal casing and one with inverted casing, but both with the first character lowercased), sort them, and pick the first result.
["pAsSwOrD", "PaSsWoRd", "PAsSwOrD"].map(function canonicalize(pwd) {
function invert(str) {
return (str == str.toUpperCase()
? str.toLowerCase()
: str.toUpperCase());
}
var head = pwd.substring(0, 1).toLowerCase();
var tail = pwd.substring(1);
var vers = [head + tail,
head + tail.split("").map(invert).join("")];
return vers.sort()[0];
});
Which gives the following result: ["pAsSwOrD", "pAsSwOrD", "pAsSwOrD"]
The three different variations get canonicalized into one version. With it, you can just store one hash instead of three.Despite the bug, I think it illustrates a good point. You can adopt a specific coding style that help you achieve higher level of minification/obfuscation.
It would be nice if languages like TypeScript can perform this transformation for you.
http://stackoverflow.com/questions/1384325/in-git-is-there-a...
Instead of creating a repo per project, I create a orphan branch within a shared repo for that project. The benefit of this approach is that you can always cleanly export the commits into its own repository without altering SHA ids. The con is that you have to pick separate branch names for each project (e.g. proj1-master, proj2-master).
14.9.1 What is Cacheable
By default, a response is cacheable if the requirements of the
request method, request header fields, and the response status
indicate that it is cacheable.
Section 9.5 (for the POST request method): Responses to this method are not cacheable, unless the response
includes appropriate Cache-Control or Expires header fields. However,
the 303 (See Other) response can be used to direct the user agent to
retrieve a cacheable resource.
Responses to the POST request method are not cacheable by default according to the spec.1.) I compiled my app with a 4-inch default image using XCode 4.4.1 with iOS 5.1 as the base SDK and ran the app in Xcode 4.4.1's iOS simulator.
2.) I copied the resulting i386 app folder from /Library/Application Support/iPhone Simulator/5.1/Applications/[app uuid] to /Library/Application Support/iPhone Simulator/6.0/Applications/
3.) I started XCode 4.5's iOS Simulator and ran my app from Spring Board.
The result? It did work. I was able to see my Xcode 4.4.1-compiled app in 4-inch display mode.
I can't say for sure if this will work on the iPhone 5 hardware, but I'd bet the answer is yes.
I guess with this finding, if you're not using any iOS 6.0 features, it may be better to continue to compile your app using Xcode 4.4.1 since that lets you more easily produce app with armv6 support.
The article says Dragon agreed to pay Goldman a flat fee of $5 million. What if Goldman did perform due diligence, reported the issues to Dragon, and caused the deal to get cancelled, would Goldman still get $5 million? I don't think so, but if their agreement says they should and I were in Goldman's shoes, I would find reasons to recommend against the deal, because, to earn $5 million, it seems much easier to just advise against the deal than to assist the transaction and bear the risk of a bad outcome. On the other hand, if Goldman gets nothing (or a fraction of the $5 million fee) in the event that the deal gets cancelled, it would be in Goldman's best interests to see the deal go through and avoid performing any potentially deal-breaking services (e.g. due diligence) not specified in the written agreement.
There are scenarios where vendors or customers do have the business's best interests in mind. One such scenario is when the vendor or customer has very close family relationship with the business owner (e.g. husband-wife, father-son, etc.) These scenarios are uncommon. To be on the safe side, I agree with the sentiment that only you have your own best interests in mind.
http://itunes.apple.com/us/rss/customerreviews/id=[your_apps_apple_id]/sortBy=mostRecent/xml
For example, here's the RSS feed URL for the Facebook app.http://itunes.apple.com/us/rss/customerreviews/id=284882215/...