Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eklitzke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
481.
▲
by
eklitzke
15y ago
I'm not sure I follow you here. You can't have NULL characters in filenames on POSIX systems, so there's not an issue here (that I know of). What is the risk you're worried about?
482.
▲
by
eklitzke
15y ago
My assumption is that it won't be a huge problem, since Chrome is available in the Android Market. Note that Maps, YouTube, GMail, etc. are already closed source, c.f. http://source.android.com/faqs.html#how-can-i-get-access-to-...
483.
▲
by
eklitzke
15y ago
I believe that both browsers are based on WebKit and V8 (that's what they've said about the stock browser in the past, anyway), so your results aren't too surprising. The Chrome app adds a bunch of new features, better UI, and makes the bro
484.
▲
by
eklitzke
15y ago
I believe that most of the DMCA compliance can be done automatically through the use of Content ID.[1] Basically, for partners that they have a Content ID relationship with (e.g. the big entertainment companies), they can automatically dete
485.
▲
by
eklitzke
15y ago
On the other hand, Los Angeles is ten times bigger in terms of total area, and has less than half the population density of San Francisco. That makes it more practical to have a fixie in SF, where you're generally traveling shorter distance
486.
▲
by
eklitzke
15y ago
Here's an interesting alternative perspective on Facebook comments, coming from one of its most prominent users, TechCrunch: http://techcrunch.com/2011/04/03/facebook-comments-epitomize... The flipside to this is that there have been a nu
487.
▲
by
eklitzke
16y ago
I wouldn't discount a company because they're competing with Google. There are a lot of companies that have competed with Google and have successfully out-competed them (likewise, there are a lot of companies that Google has acquired after
488.
▲
by
eklitzke
16y ago
In reply to your comment, and the one below, we generally avoid REPLACE INTO and ON DUPLICATE KEY UPDATE. I'm not 100% sure about REPLACE INTO, but the ON DUPLICATE KEY UPDATE syntax definitely causes replication issues, even though it's al
489.
▲
by
eklitzke
16y ago
You could use MySQL's `ON DUPLICATE KEY` syntax to work around the deadlock, which provides a syntax like `UPSERT` in some other databases. This would work because the operation would be atomic. However, at Yelp we've had replication issues
490.
▲
MySQL Minutiae & InnoDB Internals
(engineeringblog.yelp.com)
17 points
by
eklitzke
16y ago
|
8 comments
491.
▲
by
eklitzke
16y ago
Is that really where all of the memory goes? On a normal consumer-grade HDD a disk seek is ~10ms and reading a megabyte sequentially is another 10ms or so. Conservatively speaking it should be possible to load a site from the disk cache in
492.
▲
by
eklitzke
16y ago
The updates are really small. As they've detailed in a number of blog posts, the patch format is a custom binary diff that understands the format of ELF/EXE/etc. file formats to get the smallest diffs possible. Also, on Linux systems Chrome
493.
▲
by
eklitzke
16y ago
There was a pretty good discussion about this on LWN a while back, I recommend it to anyone who wants more information (both the commentary their, as well as the linked article): https://lwn.net/Articles/424859/
494.
▲
by
eklitzke
16y ago
This is a feature of GNU `getopt`, and I think it's supported by most BSD getopts. It's also recommended behavior by the SUS, see guideline 10: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_... So it's not mandated , but it
495.
▲
by
eklitzke
16y ago
In Python 2.x are encoded in UCS-2, not UTF-16, at least by default (I'm not sure about Python 3.x, I assume it's the same though). If you want to support every single possible Unicode codepoint, you can tell Python to do so at compile ti
496.
▲
by
eklitzke
16y ago
So, is "standard" here being used to differentiate something approved by an official standards body like ANSI/ISO vs. the IETF/RFC system? I can kind of see how that would make sense, since RFCs are just memoranda published by the IETF th
497.
▲
by
eklitzke
16y ago
While this seems plausible to me -- I'm on Linux, and other tabbed apps like gnome-terminal place the close-window button on the right -- I think that Chrome's behavior makes the most sense anyway. When you close a tab, tabs shift towards t
498.
▲
by
eklitzke
16y ago
I know that this is a pedantic criticism, but isn't that convoluted "kill stray mongrels" command just a simple pkill? The first example is made excessively complicated as well (why not just grep -c)? Certain things are definitely annoying
499.
▲
by
eklitzke
16y ago
Dave Jones has been fuzzing Linux system calls recently; here's one LWN article about the topic: http://lwn.net/Articles/414273/ . There are also some posts about more bugs he's discovered this way on his blog.
500.
▲
by
eklitzke
16y ago
I think Yelp is a good example. When you're looking for a local business, you have a category/search term in mind, as well as a location. The single input field in Google search is awkward when trying to fulfill this need.
501.
▲
by
eklitzke
16y ago
In addition to the standard 'du' command, which you can sort and munge with the standard unix stuff, Gnome has bundled the 'baobab' utility for the last few releases (so if you're on a relatively recent Gnome release, you probably already h
502.
▲
by
eklitzke
16y ago
Does anyone know what you get you buy the Berkeley DB products? I'm mostly curious if they've actually added new/cool things that aren't available in the open-source releases, or if you're purchasing licensing rights for commercial use, sup
503.
▲
by
eklitzke
16y ago
It seems like optical discs (CD/DVD/BluRay) are the right idea, they're just not made from stable enough materials. As far as I know, you could apply the same technology used to make optical discs to a more stable material like gold. Assumi
504.
▲
by
eklitzke
16y ago
I'm not as familiar with the Firefox extensions, but in Chrome all extensions are turned off by default in incognito mode -- only those extensions that you've explicitly enabled will be active in incognito mode. Furthermore, the docs for Ch
505.
▲
by
eklitzke
16y ago
Huh? Who are all of these vendors with secret OpenSSH patches?
506.
▲
by
eklitzke
16y ago
RSVP'ing as per the email thread, I'm a "maybe".
507.
▲
by
eklitzke
16y ago
There was recently an article on HN (sorry, can't find it ATM) about how to create a startup in China. The typical route is to create a business entity called a WFOE[1], which lets you operate your business in China as a foreigner, and has
508.
▲
by
eklitzke
16y ago
Err, my formatting got messed up. Pretend like there's a newline between the two log entries I described.
509.
▲
by
eklitzke
16y ago
One solution that Steve didn't discuss is JSON. To be fair, JSON wasn't that popular in 2005, but it's still a great solution. The way it works is that their are no mandatory newline characters in JSON. Whitespace between lexical elements i
510.
▲
by
eklitzke
16y ago
There are still various protective taxes in place with respect to importing automobiles from abroad (not to mention shipping costs). It could be that in this case Toyota expects that producing cars locally in America will reduce in lower co
More ›