Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaffeinecoma
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
91.
▲
All the good ideas are already taken
(thedailybeast.com)
3 points
by
kaffeinecoma
14y ago
|
0 comments
92.
▲
by
kaffeinecoma
14y ago
I've found that I get dramatically better clients by requiring 50% payment up-front, and then invoicing weekly. People who balk at the 50% terms are likely to be problem customers, and are best avoided anyway. The weekly invoicing helps new
93.
▲
by
kaffeinecoma
14y ago
On Ken Thompson: Regarding his programming style ... hardly ever uses unit tests, starts his projects by designing the data structures and then works bottom up, with throwaway test stubs. Sounds to me like he does use unit tes
94.
▲
Some things I've learnt about programming
(blog.jgc.org)
1 points
by
kaffeinecoma
14y ago
|
0 comments
95.
▲
by
kaffeinecoma
14y ago
I jump into the Rails (or other Ruby libraries) source for understanding quite often. This is good advice, but for folks coming from static languages it's really a challenge to figure out how to find stuff. I've resorted to running it all
96.
▲
by
kaffeinecoma
14y ago
user: kaolinite 20 year old Python/PHP/C developer That font will be just perfect for you in about 15-20 years.
97.
▲
by
kaffeinecoma
14y ago
John Siracusa recently covered patents on his Hypercritical podcast: http://5by5.tv/hypercritical/68 . Nice dissection of the idea of drug patents as being "special" (vs other kinds of patentable IP) in there as well.
98.
▲
by
kaffeinecoma
14y ago
Everyone's jumping on the PHP bashing. I don't think that's what this blog post was really about. Did you read to the end? One of the explicit goals of my next project is to do whatever we can to buff up a ... particular ... open sou
99.
▲
by
kaffeinecoma
14y ago
Exactly. I avoided IDEs for years thinking they were for lazy typists. Finally a friend convinced me to try one, and it totally changed the way I work. Just hit CTRL-space and see what you can do with it. Who needs to look up documentation
100.
▲
by
kaffeinecoma
14y ago
I think that if you're using Java you might as well get some benefit out of the static typing- use an IDE that can put it to good use for source navigation. I'm a long-time Java programmer who's spoiled by tools like Intellij, and I cry e
101.
▲
by
kaffeinecoma
14y ago
I found that, but it cmd+r (I'm on a Mac) seems to only show you hits in the current file. The thing I'm interested in doing is clicking on a call to foo.bar() and have it bring up Foo.rb, right on the "def bar" method. Also a lot of the ti
102.
▲
by
kaffeinecoma
14y ago
I don't- but for discoverability purposes, I'm more likely to find success by clicking on a method name than by randomly pawing keyboard shortcuts. Once discovered, I'll happily take the shortcut.
103.
▲
by
kaffeinecoma
14y ago
As an Intellij user (and Emacs way before that) I'm trying to give this a chance, but I see no way to click-navigate through source code. Am I missing something? I tried installing SublimeCodeIntel, and that lets me (occasionally) navigate
104.
▲
by
kaffeinecoma
14y ago
My first reaction to this was that they'd never be able to engineer a sturdy/safe tube across the ocean. Then I thought about the transatlantic telegraph cable ( http://en.wikipedia.org/wiki/Transatlantic_telegraph_cable)- it was first bui
105.
▲
by
kaffeinecoma
14y ago
No, it's not irrelevant. If you're trying to figure out what gets passed up the call stack, you need to trace it through. Being able to plug in your own values into a single method call via the REPL isn't helpful if you're trying to analyze
106.
▲
by
kaffeinecoma
14y ago
> a REPL. Just give it a whirl and see what you get. In a large system you might have to jump through a lot of hoops to get an accurate result from the REPL. What if the thing you're trying to puzzle out is 20 call levels deep? As a new
107.
▲
by
kaffeinecoma
14y ago
I wonder whether they are actually measuring the right thing here. I think the real value to static typing is not so much the initial development of small (tiny, in this case) programs, but rather large systems that have long lifetimes and
108.
▲
by
kaffeinecoma
14y ago
I've always had a problem with this too. If a product is 80% off, you pay 20% of the original price; 100% off and it's free. If a product is 80% faster, it runs in 20% of the original time. If it's 100% faster, it runs in zero time.
109.
▲
by
kaffeinecoma
15y ago
Re Wicket: have a look at PropertyModel and CompoundPropertyModel. You'll lose a bit of type safety, but it will seriously cut down on boilerplate code. In particular it helps map wicket:ids to your Java bean hierarchies by following simple
110.
▲
by
kaffeinecoma
15y ago
Interesting approach, but what stops the client from using this to his advantage? "Hmm, if I fail to pay, the code becomes open-source, and then I can use it for free."
111.
▲
by
kaffeinecoma
15y ago
It was meant to be a parody.
112.
▲
by
kaffeinecoma
15y ago
Yes, it was exactly like that- lots of code had grown around the "bug", and it was not immediately obvious what other software had come to depend upon it. "Little hairs", as Joel might say.
113.
▲
by
kaffeinecoma
15y ago
The whole software infrastructure was a scary house of cards. They were afraid that there was unknown code that might be depending on it. For example RESTful services in other departments that were not under our immediate control.
114.
▲
by
kaffeinecoma
15y ago
Yes, but it would raise the exception at run-time, and only when the particular path is taken.
115.
▲
by
kaffeinecoma
15y ago
In a static language this would be flagged as an error. I assume something less than ideal happens in languages such as Ruby. I once worked at a company where a very early piece of code had a typo "properites" instead of "properties". This
116.
▲
The quasicrystal that fell to Earth
(arstechnica.com)
1 points
by
kaffeinecoma
15y ago
|
0 comments
117.
▲
by
kaffeinecoma
15y ago
I didn't know what it was either, but I googled it and found a simple explanation on Wikipedia. I'm sure the interviewer would at least give you that basic background information ("Pascal's triangle is a structure in which each number in th
118.
▲
by
kaffeinecoma
15y ago
I switched to Chrome about a year ago for its performance, and now I'm about to go back to Safari for exactly the same reason. What happened to Chrome performance on OSX Lion? Why does it scroll like molasses?
119.
▲
by
kaffeinecoma
15y ago
Please forgive this comment which is totally unrelated to the article, but does anyone else have trouble scrolling this page in Chrome on OSX? I often encounter pages that give Chrome fits, but I can't quite figure out what's causing it.
120.
▲
by
kaffeinecoma
15y ago
Sure I could have found all of the references easily. That's one of the reasons I still prefer Java over a dynamic language- my IDE can tell me instantly (option key + F7) where a particular object is used in the entire codebase. I just was
More ›