Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kijin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
1788 ms
·
4081.
▲
by
kijin
15y ago
I wonder how these high-res tablets would affect HTML5 media queries. Right now, many of us do something like "screen and (max-device-width: 480px)". That's going to get rather awkward if pixel density varies a lot between devices. We won't
4082.
▲
by
kijin
15y ago
> it could be expected that the earliest shared source code and tutorials would likely contain bugs. Unfortunately, a lot of recent PHP tutorials published in seemingly up-to-date websites also contain WTF code. Case in point: this tuto
4083.
▲
by
kijin
15y ago
Many of those features are completely harmless if used correctly. By itself, exec() doesn't cause your machine to be compromised. It is a valuable function that every scripting language should have. (Would you like Python to disable os.exec
4084.
▲
by
kijin
15y ago
If you have a front controller, you don't even need to repeat that single include in any file. Why repeat the same include in 100 different files if you can avoid it? Also, what if you realize after a while that you need to change the locat
4085.
▲
by
kijin
15y ago
If you're writing the app, you're absolutely right. Apps should be written in such a way that everything is properly sanitized and sandboxed. Unfortunately, a lot of people who use PHP are stuck with third-party apps with questionable secur
4086.
▲
by
kijin
15y ago
Having everything go through index.php (the "front controller") makes it a lot easier to manage common libraries and use PHP's autoloading capability. You don't have to add a bunch of includes to every script. You don't have to change every
4087.
▲
by
kijin
15y ago
You're right about the 8M memory limit, but I don't think there's anything wrong with the 15 second execution limit. No page should take over 15 seconds to generate.
4088.
▲
by
kijin
15y ago
iOS is lovely. All the apps are represented by finger-sized icons. In Ubuntu, neither Unity nor GNOME 3 have any desktop icons by default. Unity at least has a dock on the left, but GNOME 3 requires you to click "Activities" before you can
4089.
▲
by
kijin
15y ago
Yep, that definitely helps. But I have yet to see a Linux UI that would help me find anything other than most frequently used apps on a tablet nearly as easily as I can on a regular computer. We'd need a different sort of UI for that. I dou
4090.
▲
by
kijin
15y ago
Mint uses the same repositories as Ubuntu for the most part. You can also use the Debian Edition, which uses the same repositories as Debian Testing. Both repos are as comprehensive as they get.
4091.
▲
by
kijin
15y ago
Yes, desktop environments such as Unity seem to be designed with text search in mind. Instead of navigating a menu tree or filesystem tree, users are expected to "search" for whatever they're looking for. Which works pretty well... until yo
4092.
▲
by
kijin
15y ago
> it is faster to read and write than a specially formatted ASCII file How many milliseconds does it take to parse YAML, XML, or any other file format for which a parser written in C is widely available? > the user is expected to do
4093.
▲
by
kijin
15y ago
Yep, same problem. Firefox hangs whenever I try to do anything "intensive" with Places, such as selectively deleting stuff from the history or reorganizing a large number of bookmarks. It's gotten much better than before, though. Weird thin
4094.
▲
by
kijin
15y ago
I'm also suspecting this. Too many people seem to think that they can get away with an unhealthy diet if they take vitamin and mineral supplements.
4095.
▲
by
kijin
15y ago
> Uninstall or change a program That's a terribly long label for an icon. This and other unnecessarily long labels are probably responsible for at least half of the "It looks cluttered" complaints. I generally don't mind the ribbon inte
4096.
▲
by
kijin
15y ago
I use VirtualBox to run Ubuntu 32-bit and various other Linux distros on Win7 64-bit. No Truecrypt or Dropbox is involved. I have similar occasional issues with shared folders. Access denied randomly when trying to overwrite files. Files re
4097.
▲
by
kijin
15y ago
If the link allows you to pick a new password without knowing your current password, anyone who intercepts the email with the link would also get full access using the new password.
4098.
▲
by
kijin
15y ago
Wouldn't that be blocked by cross-site AJAX restrictions? Or are we talking about injecting <img> and <script> tags into the document?
4099.
▲
by
kijin
15y ago
If I'm reading this correctly, the attack requires specially crafted JS to be slipped into the target browser. But aren't you already screwed if third parties can slip arbitrary JS into your pages? It would be great if somebody could explai
4100.
▲
by
kijin
15y ago
> Breaking everything down into composable components and forcing the user to compose even simple, everyday procedures before being able to use them? How terribly difficult and exclusive to techies only! Who said anything about "forcing
4101.
▲
by
kijin
15y ago
I've been using NFS.N for over three years now. I have a number of small sites and domains with them. The sites cost pennies a month, the feature set is staggering, and the domain registration process makes Gandi and Namecheap look clunky i
4102.
▲
by
kijin
15y ago
It seems that GoDaddy created a certificate for the wrong domain in the first place. Still, the author should have pointed out the problem and ask GoDaddy to fix it instead of revoking the certificate himself.
4103.
▲
by
kijin
15y ago
You may be right about X-XSS-Protection (with the IE8 bug) and Access-Control-Allow-Origin (when set to "*"), but I wouldn't say that X-Frame-Options reduces security. It has two possible values, SAMEORIGIN and DENY, both of which help prev
4104.
▲
by
kijin
15y ago
Hmm, that would mean no Gmail for anyone in Pakistan. Any service that uses SSL for logins would also become unusable if SSL was banned. I don't see any mention of a wholesale ban on encryption, only the use of encryption for privacy purpos
4105.
▲
by
kijin
15y ago
http://www.prb.org/Articles/2002/HowManyPeopleHaveEverLivedo... It is estimated that approximately 106 billion have lived on Earth between 8000 BC and 2002. (The population before 8000 BC is thought to have been too small to count on a sc