Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
samdk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
samdk
14y ago
It's obvious Apple isn't the only offender, but they are a big and, lately, very active one. I fault them for their actions because I think what they're doing negatively affects a large number of people. It being legal and them being able t
62.
▲
by
samdk
14y ago
"Don't hate the player, hate the game" If you find your arguments relying on catchy phrases like this, you should reexamine them, because they're probably lacking. I especially dislike this one in particular because it's used as a
63.
▲
by
samdk
14y ago
I think that many people post jokes here because on other similar sites they're an easy way to get (often quite a lot of) upvotes, and a lot of us here dislike that mentality. My criteria for upvoting a joke are generally the same as my cri
64.
▲
Hackers on Planet Earth #9: 7/13-7/15 in NYC
(hopenumbernine.net)
2 points
by
samdk
14y ago
|
0 comments
65.
▲
by
samdk
14y ago
Responses like this to people who don't like PHP are just as bad as the people constantly and loudly attacking it. Neither accomplishes anything other than building animosity. Your suggestion that people improve PHP instead of attacking it
66.
▲
by
samdk
14y ago
I do this whenever I read complicated pieces of code. It's enormously helpful, even if I don't keep my changes around. Some of the time the changes are broadly beneficial (like taking a multi-thousand-line file and adding some organizationa
67.
▲
by
samdk
14y ago
And they're charging (as far as I can tell from finding the same/equivalent parts on newegg for the lowest end $2,500 model) 4-5x the actual hardware cost. CPU: $260, 3x2GB ECC DDR3: $60, 1TB 7200 RPM HDD: $120, Radeon HD 5770: $120
68.
▲
by
samdk
14y ago
Having strong opinions is different from having an opinion on everything. Being in a place full of opinionated people is nice, so long as those people are able to discuss their opinions rationally and are okay with not getting their way eve
69.
▲
by
samdk
14y ago
Design feedback: Your 'buy now' and 'learn more' buttons on the homepage are very hard to see. They need to stand out. Make them bigger and bolder, or change the color (red would stand out much more and still fit into your overall theme), o
70.
▲
by
samdk
14y ago
You're conflating two separate arguments I made about two separate topics. The first is about per-project vs per-user pricing. The second is about tiered pricing. They are independent. First, per-project pricing: Any pricing scheme creates
71.
▲
by
samdk
14y ago
I'd argue that charging per-project makes much more sense than charging per-user. Charging per user creates incentives to have as few users as possible using Basecamp, which makes it much less useful. Charging per-project means that you're
72.
▲
by
samdk
14y ago
I don't program in Node very much or in Go at all, but I think there are reasons to use Node that aren't "Node is fast". I think the "Node is fast" mantra was originally really meant as a comparison to Ruby/Python/PHP, not as a comparison t
73.
▲
by
samdk
14y ago
Python lists are array-backed, Lisp lists are singly-linked lists. Appending to the front of an array list is O(n)--you don't want to do it. Appending to the back is constant time, but is an in-place operation and doesn't return anything, w
74.
▲
by
samdk
14y ago
You can't unshift a paradigm like DRM for big media Yes, you can. DRM was pervasive in the music industry. It no longer is. DRM was pervasive in the ebook industry. We are beginning to see signs from publishers (Tor books being th
75.
▲
by
samdk
14y ago
[DRM] can't simply be "abolished" without some suitable alternative to protects both interests. It can be and in the music industry largely has been. iTunes has no DRM. Amazon's mp3 store has no DRM. Bandcamp has no DRM. The s
76.
▲
by
samdk
14y ago
For me, there are a couple of benefits of having the functionality built into my search engine rather than my browser. First, all I have to do is set up DDG as the default search engine in my browser, and then I get tons of search shortcuts
77.
▲
by
samdk
14y ago
I use it rarely in Python, although it's sometimes useful. I use it more often in other languages to replicate Python's enumerate, since zip(range(len(seq)),seq) is basically enumerate(seq) (although with this implementation it's not a gene
78.
▲
by
samdk
14y ago
One issue is that it's easy to end up with things that aren't round numbers by mistake (if you do any sort of division, for example, or are getting results from an external library, etc., and strategies for reducing errors that rely on the
79.
▲
by
samdk
14y ago
Other people's attempts to answer your question seem to have not done what you're looking for, so I'm going to try to be more specific. First and foremost, Clojure is a Lisp. Many other people more qualified to describe the benefits of Lisp
80.
▲
by
samdk
14y ago
The Python community generally advocates an "it's easier to ask for forgiveness than permission" coding style. When faced with a condition of the form "if condition a holds, do b, else c", it's very often a better idea to do "let's try b, a
81.
▲
by
samdk
15y ago
I don't normally comment on articles unless I've read them in their entirety, and this was no exception. I've re-read that paragraph in context several times, and I don't think it's entirely clear that you only meant it can't be done browse
82.
▲
by
samdk
15y ago
While this is possibly an interesting UI experiment, this paragraph says everything you need to know about real-world use: Utilizing something like bcrypt as a hash function is not an option, because the number of rounds needs
83.
▲
by
samdk
15y ago
I like this post very much. HN discussions often end up being about minor details rather than the overarching point, and I think that's unfortunate. Those details are often things that are a matter of preference. There are good and bad argu
84.
▲
by
samdk
15y ago
The map is unnecessary. Just reduce: (* assuming: val total_len : string -> int *) List.reduce seq ~f:(fun a b -> if (total_len a) > (total_len b) then a else b) It's not necessary in this case, but fold is
85.
▲
by
samdk
15y ago
Having been a teaching assistant for intro programming classes targeted at non-CS majors, I disagree. You don't need to understand what a 'stack' or 'heap' is to understand what's going on and for this to be useful. And even if it's too com
86.
▲
by
samdk
15y ago
I haven't looked at this implementation specifically, but the issue with many similar proposals/implementations is that the generated JavaScript is ugly. One of the nice things about CoffeeScript is that there's no magic--it's very easy to
87.
▲
by
samdk
15y ago
The first most effective thing was taking a data structures class. It was the second programming class I took in college, and I use the knowledge from that class every day. I think that you can be a pretty good programmer without a lot of t
88.
▲
by
samdk
15y ago
The positioning of sponsored links makes me very sad. I use j/k/enter to navigate most of the time, and this means that I need to worry about accidentally selecting a link with a near-100% probability of being completely useless to me. (It'
89.
▲
by
samdk
15y ago
I'm really not the right person to be answering this. I haven't been at Jane Street that long, and I have no experience programming OCaml without Core. You'll likely get a much better answer on the mailing list: https://groups.google.com/f
90.
▲
by
samdk
15y ago
While this is mostly true, it's worth noting that this is part of a push to make Core easier to build and use, which we hope will encourage more people to use it. (And enable others to contribute.) There's still a ton of work to be done in
More ›