Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
snorkel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
451.
▲
by
snorkel
14y ago
I fully support leaving a job that is not satisfying, but I can't recommend creating a profile on a web site that implies that you regard yourself as a rock star who requires a leather furnished tour bus and a bathtub filled with chilled ch
452.
▲
by
snorkel
14y ago
Conspicuously absent from PHP: array_copy() ... in order to copy-by-value on arrays containing references. Currently to do that you have to do a very fragile hack like this: $copy = array_flip(array_flip($original)); ... whi
453.
▲
by
snorkel
14y ago
Sometimes cancellation is intentionally difficult. It's typical dark pattern: Make signup easy, and cancellation difficult.
454.
▲
by
snorkel
14y ago
JSON wins because it's easier to manipulate JSON data directly in your language of choice because the data is already in a usable structure. If you instead receive data as HTML, you have to read that data into some native structure before y
455.
▲
by
snorkel
14y ago
Market forces pushed airliners in the opposite direction: low ticket prices == cram as many cattle that be legally packed into the fuselage, close the door, and go So all the cool features Boeing cares to demonstrate on this plane will not
456.
▲
by
snorkel
14y ago
You gotta to hand it Salesforce for inventing news ways for employees to waste time in their tools and still qualifying it as work.
457.
▲
by
snorkel
14y ago
Windows 95 was the last time I can recall a major rev of Windows lived up to its pre-release hype. This Windows 8 hype reminds me of the salivating over Longhorn which turned out as Windows Vista, again.
458.
▲
by
snorkel
14y ago
Yes, you can do similar in a traditional RDMS, you have a table called Person and another table called Person_properties with a schema of pid, property, value, timestamp. The object model for Person would have a save() and load() method tha
459.
▲
by
snorkel
14y ago
You have to set boundaries and expectations, so before leaving on break tell the boss "I will not be online this weekend at all no matter what. Period. Have a nice weekend." You don't have to worry about being fired for that because 1) boun
460.
▲
by
snorkel
14y ago
Exactly. You have to weigh cost of the worst case downtime vs cost of redundancy (and not to mention the added complexity of keeping all redundant systems in sync)
461.
▲
by
snorkel
14y ago
Bad, bad, bad idea. The result is the devs who do most of the coding will get most of the blame that only demoralizes key contributors. Unless you're also awarding gold stars for every bug-free line of code then this is just an unproductive
462.
▲
by
snorkel
14y ago
Don't count on the universe. First find a new job, and then quit.
463.
▲
by
snorkel
14y ago
Headline of this post is totally false and this is not even a bug in PHP, it's clearly a bug in the poster's code, so Rasmus response is right. If you actually try doing this in PHP you get this: print number_format("",0); Warning:
464.
▲
by
snorkel
14y ago
I think the perl lib formats and sends this as XML, and perhaps dropping down to XML is required if the language lib isn't up to date.
465.
▲
by
snorkel
14y ago
I have to wag my head at the lack of a having a smooth transition plan for customer support. The new Groupon overlords should've insisted on it, or at least supported it.
466.
▲
by
snorkel
14y ago
The two most popular are a crock: * Required attribute alt missing: Most images are decorative, having alt is pointless in most cases. Should be optional. * & didn't start a character reference: proving this was a bad choice for an esca
467.
▲
by
snorkel
14y ago
Sure, just duplicate your entire stack in at least two zones and replicate all data in realtime, and then you just need to convince your boss/investors/yourself that spending 2X on hosting is worth it. Once you add up the costs you soon rea
468.
▲
by
snorkel
14y ago
You can snapshot EBS volumes, however your EBS disk I/O will be blocked while the snapshot is being made, so you can't do it often on a large busy volume. You can also raid EBS volumes together for realtime redundancy, but adds cost and com
469.
▲
by
snorkel
14y ago
It does the same thing as OK.
470.
▲
by
snorkel
14y ago
Nope, can't say I've needed to do any 2D pattern matching on the UNIX command line, ever. Sure back in age of dinosaurs when command line was being used for 2D graphics this may have been useful, but ... we have actual GUI interfaces to do
471.
▲
by
snorkel
14y ago
I've lived Ruby land and Python world for quite some time and I must say it's good to be back in home in PHP where getting things done doesn't involve clever semantics and tying yourself up in layers of abstraction. Oh yeah, and it's nice t
472.
▲
by
snorkel
14y ago
The seductive advantage of server side rendering is centralized control of what all clients see. Whenever you push too much business logic down to the clients you have to contend with how to ensure all of those clients are using the same lo
473.
▲
by
snorkel
14y ago
One case where he could be a little bit correct is screen sharing a large desktop would use more bandwidth, but I doubt he was thinking that.
474.
▲
by
snorkel
14y ago
Reason: It's easier to play these chords on a 6 string guitar, which has been the dominant instrument of choice for pop song composers. The first C chord on a guitar is easy to hit with no finger twisting required. It's also easy to switch
475.
▲
by
snorkel
14y ago
The Grocery Checkout is a better analogy for understanding how to tune lower level settings that affect web site performance such as max open file handles, timeout, and total worker threads. Overall you're trying to maximize * how many chec
476.
▲
by
snorkel
14y ago
Agree. I'm happy there's finally a Mac term app that can support the same emacs color scheme I was using on a Linux desktop 14 years ago!
477.
▲
by
snorkel
14y ago
... but still, a head wag at LinkedIn for using weak hashing, which I'm guessing means MD5.
478.
▲
by
snorkel
14y ago
If it's pushing PHP to ridiculous limits you seek then you want Facebook's HipHop compiler. But web stack design is really an art form, hard to summarize in an HN comment.
479.
▲
by
snorkel
14y ago
Copy away. I don't care. Information wants to be beer.
480.
▲
by
snorkel
14y ago
Here's a short list: 1. Cache the output at the edges: Use Varnish or other reverse proxy cache. 2. Cache byte code: Use APC or XCache PHP opcode cache. 3. Cache and minimize database I/O: reduce database touches using memcached, redis, fil
More ›