Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dmethvin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
301.
▲
by
dmethvin
14y ago
If Github is going to show the first line of a commit message, it's damn handy to know how long that line would be so you don't get something stupid-looking like this: https://github.com/torvalds/subsurface/commit/bea6637c03a90f...
302.
▲
by
dmethvin
14y ago
See his other rant about Github's handling of single-line commit summaries. When space is at a premium it's a waste to past-tensify all the verbs since it inevitably wastes precious characters in the one-line description. It drives me nuts
303.
▲
by
dmethvin
14y ago
Kind of ... the focus has to be on the number before the mousewheel works though: http://jsfiddle.net/dmethvin/gDfcY/
304.
▲
by
dmethvin
14y ago
Please don't include jQuery or Prototype using the URLs shown there, because they are only cached for one hour. Use a full-version URL.
305.
▲
by
dmethvin
14y ago
Well fine, then Paydirt should say "We require (and test on) IE9 or higher" and not feel bad if they have to throw IE 6/7/8 overboard. It's not any trickier than saying you support the most recent two Firefox releases and don't test on 3.6.
306.
▲
by
dmethvin
14y ago
Interesting how? The article itself says PLIST can't handle several real-life JSON situations including Twitter. The focus of the article seemed to be performance. That's premature until a site determines that JSON parsing or creation is a
307.
▲
by
dmethvin
14y ago
Exception models have been analyzed extensively for about 40 years, what you're referring to is the "resumption model". I know PL/I supported it, circa 1980. There are problem domains where it makes sense, think about hardware exceptions fo
308.
▲
by
dmethvin
14y ago
I don't use Perl much anymore, but I never had a problem with it when I did. Stop complaining and write some code.
309.
▲
by
dmethvin
15y ago
Well the back-end payment processing will have to pass the seller some sort of identifier with the purchase, at the very least something like an email address, so that you can have an account for that person. Then the seller will want to as
310.
▲
by
dmethvin
15y ago
Yes, it says the requirements are Apache 2, PHP 5.x, and GD lib. I would call those specific server-side technologies.
311.
▲
by
dmethvin
15y ago
Just about anyone using PayPal's back-end payment notification has experienced this. The article says PayPal notifies you about a delay but I've seen cases where even that doesn't happen. If you're selling a service, the best thing to do is
312.
▲
by
dmethvin
15y ago
All of these adaptive image solutions are heroic but incredible hacks. They load two images, load no images when JavaScript is disabled, depend on userAgent sniffing, and/or only work with specific backend technologies. What we need is the
313.
▲
by
dmethvin
15y ago
We've been spoiled by Moore's Law in technology. In comparison, all the "battery breakthroughs" of the past decade are pretty feeble. If someone could double or triple the energy density of a battery, that would be a breakthrough. Unfortu
314.
▲
by
dmethvin
15y ago
With great power comes great responsibility. Sure, read the source. But don't think that because you followed some internal code path and figured out that it's "safe" to pass `null` to a function that it will always be safe. If the docs f
315.
▲
by
dmethvin
15y ago
I think it's just a matter of time before some legitimate cardiology hospital accidentally adopts this as their logo.
316.
▲
by
dmethvin
15y ago
As long as security uses a blacklist, it will be possible to evade it pretty easily. There are products that use a whitelist such as bit9.com, but that approach mostly works in corporate networks where they can set policy about what executa
317.
▲
Getting Touchy About Patents - jQuery Blog
(blog.jquery.com)
15 points
by
dmethvin
15y ago
|
0 comments
318.
▲
by
dmethvin
15y ago
I understand deadlines, and yes you may not be able to do more than explain to the user that there is a problem out of your control. But don't diss Airbrake because you don't have time to investigate and/or fix. They're not sayin' you have
319.
▲
by
dmethvin
15y ago
Google Analytics works for summary-level error reporting (file, line, error message) but not very well if you want to know the details like a stack trace which can change on each occurrence. That's where the other solutions are much better.
320.
▲
by
dmethvin
15y ago
It sounds like Airbrake was very helpful. It is telling you that users are experiencing errors frequently, something you didn't know before. If, for example, the "google javascript never loaded" situation is common you'd want to either fix
321.
▲
by
dmethvin
15y ago
Every browser has its quirks on errors. At least IE will give you stack info from window.onerror even without a try/catch, although they didn't get the file name right until IE8. The "line 0" errors are often due to eval scripts where there
322.
▲
by
dmethvin
15y ago
Rather than using $.ajax, I've used a simple image request with URL parameters for sending back error info. That has the benefit of allowing cross-domain transfers. Be sure to save the user-agent info as well so you can correlate errors wit
323.
▲
by
dmethvin
15y ago
Everyone makes mistakes, so the fact that Perkins Coie sued the wrong person isn't so bad. But the fact they won't admit their mistake without this person hiring their own lawyer to prove them wrong? Bad. I suppose he can countersue Perkins
324.
▲
by
dmethvin
15y ago
Can you be more specific about what is missing?
325.
▲
by
dmethvin
15y ago
> "Corporate ethics and compliance may be similar, but their cores are different," says Oshima from his home in Sendai. "From the perspective of corporate social responsibility, we cannot say that there is no need to question a company'
326.
▲
by
dmethvin
15y ago
The point of that blog post is that sites should track the client-side errors that occur. It's hardly a new idea, but is worth repeating since so few people still seem to do it. Remember folks, for apps that use the back-end as a JSON servi
327.
▲
by
dmethvin
15y ago
I think the main takeaway here is that rather than creating a product that needed to elbow its way into an already-crowded market, they solved the problem by creating a new market. Seeing how people really cleaned minor spills and dirt was
328.
▲
by
dmethvin
15y ago
It sounds like we are agreeing then. If you are using the data for ad-hoc reporting via a SQL query tool for example, you're not just using your database as a simple program data persistence layer. If you're not careful though, your program
329.
▲
by
dmethvin
15y ago
SQL is just like any other language. If you're new to it then sure it's going to look strange. But a large well-designed query can be many times faster than "building up from intermediate results". Your procedural code is off in another p
330.
▲
by
dmethvin
15y ago
It's really hard to say what the performance issue was here, but my experience is that SQL servers do a really good job of handling data sets if you use them correctly. If the problem was a "cache miss" it might mean that one or more tables
More ›