Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stormbrew
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
278 ms
·
2521.
▲
by
stormbrew
14y ago
Most hash tables have a semi-random order dictated by the hash algorithm in combination with the bucket count. PHP Arrays are ordered by insertion order (each slot in the hash table has a next pointer, the last of which is appended to on in
2522.
▲
by
stormbrew
14y ago
Insert-ordered hash tables are a little less unique now. Ruby 1.9+ has them (with the built-in Hash), though it was introduced quietly and not a lot of people seem to know that. It's a surprisingly useful data structure sometimes. I'm not s
2523.
▲
by
stormbrew
14y ago
I think the interesting thing that this highlights about php, perhaps especially for people who've never worked in it, is the fact that php is an extremely rare example of a scripting language that has value semantics for complex objects. I
2524.
▲
by
stormbrew
14y ago
Interesting approach. This strikes me as kind of like the classic "put the constant on the left" advice in C/C++ that, no matter how many people agree it's a good idea, no one ever does because the cognitive effort of understanding it is hi
2525.
▲
by
stormbrew
14y ago
On the other hand, it means we've now had point and minor releases that broke everything (1.9, 1.8.7, and I think even one or two of the 1.8.7 patch releases actually backported breaking 1.9 features), while the major release is apparently
2526.
▲
by
stormbrew
14y ago
This is actually one of the worst things about it to me, other than the lack of comments. A language that has comma-separated lists and doesn't allow trailing commas on the list as a whole is frustrating to use in a version controlled conte
2527.
▲
by
stormbrew
14y ago
Agreed, I'd much rather have a normalized subset of YAML without the object serialization stuff (I don't even understand why it's there: why take a format intended to be read by humans and then muck it up with complex and dangerous object s
2528.
▲
by
stormbrew
14y ago
I did not say it was brand new, but it is the youngest and that's inarguable. It's pre-webkit state also was not exactly much to write home about, and I say that having been a user of Konqueror back in the day. Google seems to be replacing
2529.
▲
by
stormbrew
14y ago
This has always struck me as a really poor argument. For one thing, because webkit itself is by far the youngest rendering engine around and also among the most complete. You can't reasonably argue both for a webkit monoculture and an unr
2530.
▲
Never forward email to GMail. Ever. Google ’causes’ backscatter.
(stormbrew.ca)
5 points
by
stormbrew
16y ago
|
1 comments
2531.
▲
by
stormbrew
17y ago
Hey, if you follow the new instructions you should be able to use wildcards now. It's not in the instructions yet, and the gem is really fresh so may not be up on gemcutter yet, but if you put "*papersmith.oncloud.org" where it says to put
2532.
▲
Content is Not a Feature
(afterthree.net)
1 points
by
stormbrew
17y ago
|
0 comments
2533.
▲
by
stormbrew
17y ago
I saw someone doing it in the logs (possibly you?) and plan to add that. Probably in the next couple of days along with some other changes to the client libraries.
2534.
▲
by
stormbrew
17y ago
It's quite different from Heroku. With Heroku you're deploying your app to a foreign hosting service. With oncloud you're running it locally while making it accessible publicly. No need to push anything anywhere and you have full access to
2535.
▲
Canadian ISPs: “Consumers will make good choices if we don’t inform them”
(stormbrew.ca)
4 points
by
stormbrew
17y ago
|
0 comments
2536.
▲
How Facebook is Doing It Wrong, and Why It Doesn't Matter
(stormbrew.ca)
1 points
by
stormbrew
17y ago
|
0 comments
2537.
▲
Twitter Promotion Done Wrong: #moonfruit
(stormbrew.ca)
1 points
by
stormbrew
17y ago
|
0 comments