Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
buddydvd
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
buddydvd
3y ago
The part of regex [\w\.-_] should really be [\w\.\-_] instead. But not that's not what caused the problem mentioned in this post. (edited for clairifcation)
2.
▲
by
buddydvd
8y ago
I tried out your command and got different line count compared to the output of the commands mentioned in the post. The man page for comm says it assumes inputs to be pre-sorted. To do that, you need to sort the input files before passing
3.
▲
by
buddydvd
11y ago
Clicking the link below creates a new imgur URL: 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.
4.
▲
by
buddydvd
11y ago
Get a copy of Merriam Webster's Visual Dictionary and just go through its approx. 1000 pages of high-quality illustrations. It efficiently introduces you to countless tip-of-the-ice-berg topics/industries that are very much remote
5.
▲
by
buddydvd
13y ago
Thanks for the link. Awhile back, I had implemented an n-bit cipher (where 1 <= n <=64) with an unbalanced Feistel network and used hash function as the basis of the round functions. I then wrap it within a cycle-walking function to f
6.
▲
by
buddydvd
13y ago
+1 for skip32.c since it's O(1) space and O(1) time. With the prime approach, you may need to call it multiple times to reject numbers greater than 2^32-1. Also, a generalized Feistel algorithm may be used to generate permutations with
7.
▲
by
buddydvd
13y ago
It's actually more of a hack to deal with malformed GIFs and goes directly against spec. To address GIFs where each frame has a 0 frame delay, most GIF decoders implement a minimum frame delay value. See: http://nullsleep.tumblr.com/post/1
8.
▲
by
buddydvd
13y ago
Non-consumable in-app purchases are restorable on any iOS device you can sign in with your iTunes account. When you buy a new iOS device and use StoreKit's restore transaction feature, Apple will generate a new receipt with UDID of that dev
9.
▲
by
buddydvd
13y ago
The UDID embedded in receipts prevents/deters people from sharing them with others using MITM techniques. Sharing does happen and Apple's article helps address that issue.
10.
▲
by
buddydvd
14y ago
Apparently, with the lipo tool, you can still support iOS below version 4.3 and Apple won't reject it. See: http://stackoverflow.com/a/12678077
11.
▲
by
buddydvd
14y ago
One use of UDID is verifying in-app purchase receipts. It's demonstrated in the sample code associated with Apple's article titled "In-App Purchase Receipt Validation on iOS". See: https://developer.apple.com/library/ios/#releasenotes/Sto
12.
▲
by
buddydvd
14y ago
Lowercasing the first character--by itself alone--does not address inverted case scenario (e.g. "PaSsWoRd" and "pAsSwOrD" evaluate to "paSsWoRd" and "pAsSwOrD" respectively). One way to resolve that issue is to create two versions of the pa
13.
▲
by
buddydvd
14y ago
There's a bug in the first optimization example. Specifically, class "point"'s "up" and "down" methods still reference the "move" method as "move" instead of "b". It can be fixed by replacing the original statement "p.move(10)" with "move.c
14.
▲
by
buddydvd
14y ago
I'm not sure what you mean -- Facebook disabled the iframe approach long ago.
15.
▲
by
buddydvd
14y ago
For the many-small-repo scenario, I use this technique to host multiple projects under one Github private repository: http://stackoverflow.com/questions/1384325/in-git-is-there-a... Instead of creating a repo per project, I create a orpha
16.
▲
by
buddydvd
14y ago
I agree. I recall when Facebook Connect was first introduced, it provided websites the ability to let non-logged-in users to login to Facebook via an inline iframe. (the experience is pretty much same as Stripe's button's approach). Faceboo
17.
▲
by
buddydvd
14y ago
What's broken is this: when you make a POST request to a server that omits the Cache-Control header, iOS 6 caches that response by default. That behavior violates the HTTP spec.
18.
▲
by
buddydvd
14y ago
RFC 2616 Section 14.9.1 states: 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. Sect
19.
▲
by
buddydvd
14y ago
Another connection related issue is that iOS 6 cache responses of ajax POST requests. http://news.ycombinator.com/item?id=4550441
20.
▲
by
buddydvd
14y ago
Two of our iOS apps broke because of this bug. This is a huge breaking issue. Two known workaround: 1.) appending random query value to the request URL and 2.) update the web service to set "Cache-Control: no-cache" in the response headers
21.
▲
by
buddydvd
14y ago
Okay, I was able to confirm sergeo's statement. Here's what I did: 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 i
22.
▲
by
buddydvd
14y ago
Do you know how to run Xcode 4.4-compiled binary in Xcode 4.5's iPhone simulator?
23.
▲
by
buddydvd
14y ago
They're all down for me.
24.
▲
by
buddydvd
14y ago
Can't tell if this is serious. Is this feature designed for hipsters? What is the percentage of the population that knows Morse code?
25.
▲
by
buddydvd
14y ago
Interesting. Perhaps, instead of relying on "Vary: Accept" the server should respond with: "Vary: YourCustomHeader". The API client, on the other hand, will include "YourCustomHeader: SomeConstantValue" when making requests to the server. T
26.
▲
by
buddydvd
14y ago
Businesses may share common interests with their vendors or customers but they also almost always share conflicting interests. Unless both parties' interests completely align with each other's, I can't see how a vendor/customer can be consi
27.
▲
by
buddydvd
14y ago
You can track reviews for an iOS app by subscribing to its rss feed. 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://it
28.
▲
by
buddydvd
14y ago
My friends and I do the same thing: highlight and google the title of the article instead of clicking on the link. The funny thing is we all learned to do this on our own! Quite disappointed to see FB recently added JS code to prohibit user
29.
▲
by
buddydvd
14y ago
Look into format-preserving encryption. I wrote something that allows you to generate permutations for an arbitrary sized range. With it, there are no collisions.
30.
▲
by
buddydvd
14y ago
Thank you. I'll do that.
More ›