Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sha90
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
Announcing "Friend": Adding Fine Grained Visibility Semantics to Ruby
(gnuu.org)
1 points
by
sha90
17y ago
|
0 comments
62.
▲
by
sha90
17y ago
You don't "write a paragraph", you use a word. In fact, the point of patterns is to save you from writing a paragraph. Again, not to repeat the entire blog or anything, but that's why the words exist. # This is a singleton class
63.
▲
by
sha90
17y ago
"Maybe a better name for it would be "very global variable"." The better name for it already exists: it is the Singleton pattern , because OOP software developers already understand this concept. You don't need to invent new names, this
64.
▲
by
sha90
17y ago
I never claimed Active Record was a GoF pattern, in fact, I'm sure it would be easy to read that I cited "Martin Fowler". Whether or not it's GoF, Fowler or any other source doesn't change that it's a design pattern, though. GoF patterns ar
65.
▲
by
sha90
17y ago
"GoF patterns exist primarily to make up for the fact that you're not in Ruby"- this is the epitome of ignorance and the exact denial referred to in the article. I must have missed that part in Design Patterns that said "if you use Ruby you
66.
▲
Let's Do Some Engineering Pt. 1: Design Patterns
(gnuu.org)
9 points
by
sha90
17y ago
|
13 comments
67.
▲
Fixing Ruby's Inheritance Model Transparently (Neat Hack)
(gnuu.org)
3 points
by
sha90
17y ago
|
0 comments
68.
▲
by
sha90
17y ago
Looks very much like, at 3k req/s, that request was cached somewhere (either disk/memory/proxy), which are exactly the kind of optimizations the user mentioned you need to think about. Given that you do need to tell Rails when to cache, it
69.
▲
Who "Owns" Documentation?
(reddit.com)
1 points
by
sha90
17y ago
|
0 comments
70.
▲
Writing Your Own Toy Compiler Using Flex, Bison and LLVM
(gnuu.org)
96 points
by
sha90
17y ago
|
39 comments
71.
▲
by
sha90
17y ago
Even without git, everyone has a local copy of the source on their machines, at worst we can get Hpricot back up without the commit history... but that's not the issue. The problem is GH was hosting all the Hpricot wiki HOWTO docs, which fr
72.
▲
by
sha90
17y ago
Yahoo has been my homepage since '96. I'm oldschool.
73.
▲
Social Engineering Exploit of Google Chrome's Status Bar UI (with video demo)
(gnuu.org)
1 points
by
sha90
17y ago
|
0 comments