Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wycats
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
541.
▲
AbstractQueryFactoryFactories and alias_method_chain: The Ruby Way
(yehudakatz.com)
42 points
by
wycats
17y ago
|
9 comments
542.
▲
by
wycats
17y ago
I'm pretty sure the help vampire phenomenon is an example of the lmgtfy phenomenon and not a real problem (except in rare cases)
543.
▲
by
wycats
17y ago
The article is an unfiltered, unedited quick transcript of a conversation I had with Alex. I actually have used both Django and Python, and I'm not alone in my criticism. Django avoids external dependencies, and has been criticized by other
544.
▲
The Blind Men and the Elephant: A Story of Noobs
(yehudakatz.com)
56 points
by
wycats
17y ago
|
12 comments
545.
▲
by
wycats
17y ago
The problem using a case statement is: what are you casing on? In order to properly do content negotiation, you first need to know all of the possible provided formats, so you can negotiate against the "Accept"ed ones. In order to do it wit
546.
▲
The Building Blocks of Ruby
(yehudakatz.com)
93 points
by
wycats
17y ago
|
39 comments
547.
▲
Rails 3 Beta Top Line
(engineyard.com)
49 points
by
wycats
17y ago
|
0 comments
548.
▲
by
wycats
17y ago
We've been putting on the finishing touches since the weekend. At the moment, we've been running through the startup experience over and over, clearing any rough bits that are low-hanging fruit. We've been working on the new bundler, which
549.
▲
by
wycats
17y ago
Let's actually take a look at the two scenarios. In the case of corporation-owned property, the shareholders indirectly own the property itself. If the government takes away the property, the shareholders lose the property, and the governme
550.
▲
by
wycats
17y ago
You're thinking about partnerships, which are the associations of people others are talking about (created, as you point out, via contract law). Corporation are special entities created by governments to shield the executives from persoanl
551.
▲
by
wycats
17y ago
Corporations aren't normal associations of people or the arguments below would be correct. They're groups of people hired by others to spend their money WITH A SPECIAL LIABILITY SHIELD. That shield protects them personally from the corporat
552.
▲
by
wycats
17y ago
Did you read to the end? It's possible, with pure HTML, JavaScript, and CSS, to solve these problems. Apple has, and we don't need them to release "PastryKit" for us to get the same powers.
553.
▲
by
wycats
17y ago
Wow, do people think if they say this enough times, it'll be true? Apple has been spending gads of time, energy and effort to make the web experience as close to native as possible. This includes giving access to hardware accelerated CSS an
554.
▲
The Irony of iPad: A Great Day For Open Technologies
(yehudakatz.com)
206 points
by
wycats
17y ago
|
61 comments
555.
▲
by
wycats
17y ago
I'd prefer (2007) to (old)
556.
▲
The Maximal Usage Doctrine of OSS (or: Why Having Users is a Good Thing)
(yehudakatz.com)
7 points
by
wycats
17y ago
|
1 comments
557.
▲
by
wycats
17y ago
Thanks! Ruby 1.9 and Rubinius are both "Ruby VMs", while Ruby 1.8 is an interpreter, and IronRuby/JRuby leverage existing VMs. In this case, Evan, who works on a Ruby VM, was looking at Ruby 1.9, another Ruby VM ;)
558.
▲
by
wycats
17y ago
Ha. I knew someone was going to use this post as an excuse to wail on Ruby. No other Ruby VM uses a global (or thread-local) for this problem; it's not necessary to implement the functionality. While we were working through the problem, E
559.
▲
by
wycats
17y ago
Hehe. I guess you didn't get the reference ( http://wikiality.wikia.com/The_Craziest_Fucking_Thing_Ive_Ev... )
560.
▲
The Craziest F***ing Bug I've Ever Seen
(yehudakatz.com)
68 points
by
wycats
17y ago
|
26 comments
561.
▲
by
wycats
17y ago
There are two ways I can think of to achieve a similar effect. Let's use this example from the Django docs: info_dict = { 'queryset': Poll.objects.all(), } (r'^(?P<object_id>\d+)/$', 'django.views.generic.list_de
562.
▲
by
wycats
17y ago
I hope I showed that those sorts of things are quite possible using the same basic techniques that I showed for the redirection and rendering generic actions. Thanks for the feedback :)
563.
▲
by
wycats
17y ago
The lack of tediousness is the feature. When using Rails, you aren't required to know much about what's going on in order to get the benefits. And that results in an almost universal level of usage.
564.
▲
by
wycats
17y ago
Yep. If you just use the default asset host configuration, we limit it to four hosts, as per YSlow.
565.
▲
by
wycats
17y ago
Also, the reason for using javascript_include_tag instead of <script> is that the actual script tag would look like <script src=" http://assetsN.yourapp.com/location/of/concatted_js_files.js... ; There's a lot of additional he
566.
▲
by
wycats
17y ago
You have to set up the Expires header and modify every asset tag to include a cache-busting query string. Doing this via HTML parsing in Apache is extremely non-performant. Manually adding the mtime query string to every asset reference i
567.
▲
by
wycats
17y ago
How did you read that into what I wrote? According to Steve Souders (YSlow), 80% of the time spent waiting for a page to load happens on the client. Rails makes it really easy to cut down significantly on that time. The question of server-s
568.
▲
by
wycats
17y ago
Is it? Do you have pages that don't include assets? No JavaScript? No CSS? No images? If so, then I think you're right. Otherwise, built-in Rails functionality will make all your pages faster.
569.
▲
by
wycats
17y ago
There are a few cases where it's actually true depending on your host. For instance, if you use a Rails hosting provider, your image_tag, javascript_include_tag, and css_link_tag, you will get the benefit of far-future expires for free. Thi
570.
▲
by
wycats
17y ago
Of course not. But Rails makes it dead easy!
More ›