Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
asher
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
31.
▲
by
asher
14y ago
If you want a funded startup, you could start here: http://www.kpcb.com/careers If you want a big company, Google and Yahoo use a lot of C++ and Java. My last two groups at Yahoo, before leaving for a startup, were C++ and Java. Good luck
32.
▲
by
asher
14y ago
I agree with you about the feeling of fragility, especially with defaultdicts. As for regexes - while they are somewhat clumsy in python, they don't have to be defined distantly: m = re.match(r'(\d{4})', buf) if m: print "year: %s
33.
▲
by
asher
14y ago
Which modules are missing on Pypi?
34.
▲
by
asher
15y ago
Interesting, because I was also thinking of Disney. They had enormous conflicts in Florida with the experienced hotel executives they brought in to run the new hotels. Ultimately those hotel men were pushed out by the Disney managers, who
35.
▲
by
asher
15y ago
> Where is the Wordpress for retail? http://www.shopify.com/
36.
▲
by
asher
15y ago
Well IIRC it was a tempting way to replace for-loops with direct list operations ala Python, Ruby etc. But the amount of syntactic noise and cognitive load seemed too much for the added leverage. Our code had sufficient complexity that I d
37.
▲
by
asher
15y ago
I think he meant C++ library. Lots of the libraries you mentioned are C libraries.
38.
▲
by
asher
15y ago
Well, off the top of my head - and I may be missing some of the awesomeness of boost: shared_ptr - Yes, even non-boosters like this. regex - pcre string - stl string bind - if this is what I think it is, please don't use it. Future maintain
39.
▲
by
asher
15y ago
I agree. Also, the pure-C interface is easier to wrap from scripting languages.
40.
▲
by
asher
15y ago
Martin Seligman, who has been mentioned above, also has a book "Authentic Happiness" which you might find interesting. As he points out, and you have experienced, inborn predisposition is the biggest factor in happiness. However there are
41.
▲
by
asher
15y ago
Exactly. Also, if the library uses a hash function, let the caller override that.
42.
▲
by
asher
15y ago
When launching Truemors, Guy Kawasaki registered 55 domains to "surround" truemors.com. This represented 9% of his total budget. (From Kawasaki's 2008 book Reality Check).
43.
▲
by
asher
16y ago
Perhaps it can be justified on the basis of property rights. If you own a penny, you have the right to place it on your table heads up or tails up, barring extreme circumstances. In that sense, the penny can be in two states. If you own a
44.
▲
by
asher
16y ago
Great post. However, with regard to Apple choosing certain dimensions for a tablet, it is probably patentable. The claim would cover a device with length, width and height within certain numerical ranges. Of course, the invention must be
45.
▲
by
asher
16y ago
It might be easier to write CAD software without an OS. At least, writing directly to a framebuffer is simpler than using X11 or OpenGL or Win32. Unless I'm missing something, a modern CAD system has to plot each entity twice; once to the
46.
▲
by
asher
16y ago
Can't you treat SQLite as a key-value store? Create a table with two columns: key and value. Blobs can be pretty big. Seems to me that a relational DB can easily impersonate a hash, but not vice versa.
47.
▲
by
asher
16y ago
I used to create separate email addresses like the author. Then I realized it's a waste of time. Some will get used for spam - but what's the use of knowing the address came from site X? Either the site operator sold the addresses, the s
48.
▲
by
asher
16y ago
G.K. Chesterton A century old, but often still relevant. For instance: The Modern Martyr http://www.online-literature.com/chesterton/all-things-consi...
49.
▲
by
asher
16y ago
Given a = [1, 2, 3, 4, 5]: Ruby: a.map{|i| i+1}.reject{|i| i%3 == 0}.map{|i| i*i} Python: [i*i for i in filter(lambda i: i%3 != 0, [i+1 for i in a])] Please ignore the fact that the whole operation can be simplified mathema
50.
▲
by
asher
16y ago
All the popular scripting languages "do" the same things. But I prefer Ruby to Python (while still liking Python) because it feels more programmer-friendly. Ruby: a = %w( apple pear orange ) Python: a = [ "apple", "pear", "orange
51.
▲
by
asher
16y ago
It would be wise to approach this topic with some detachment, as if debating whether red or black ants have longer lifespans. There is a risk of feeling one's self-image threatened by this thesis (and its opposite). That perception of thre
52.
▲
by
asher
16y ago
Many of my professors clearly thought it sucked. But the really good and memorable ones took the job seriously and seemed to have a lot of fun. Since I was in an engineering curriculum, I didn't notice many unmotivated students. Anyone lik
53.
▲
by
asher
17y ago
Hpricot for Ruby is great. For instance, parsing a Google search results page: (doc/"a.l").each do |link| label = link.inner_text href = link.attributes['href'] ...
54.
▲
by
asher
17y ago
Good points, KD. Clearly, you've been there. Is there a good writeup somewhere of the deviations from "nice" web design that are needed?
55.
▲
by
asher
17y ago
and blest are those Whose blood and judgement are so well co-medled, That they are not a pipe for Fortune's finger To sound what stop she please --Shakespeare Prices rise and fall; durable institutions endure. It's easy for s
56.
▲
by
asher
17y ago
I think this list is more valuable to employers than to candidates. Employers should be sensitive to the many hot buttons candidates have. Most of them are proxies for appreciation and trust. Treat every touchpoint as a chance to show yo
57.
▲
by
asher
17y ago
I agree. When I worked on Cisco's printing system, CEPS, we sometimes heard from users who wanted to lock down a particular printer so that "outsiders" couldn't use it. We never implemented that feature. CEPS provided usage logs, and if a
58.
▲
by
asher
17y ago
I agree. The author has an interesting theory, but he needs to dig up some real facts to support it. As you point out, his solidest fact undermines his theory. I wonder if there is a "brand backlash"? And if it's temporary, and linked to
59.
▲
by
asher
17y ago
I haven't seen any real data. I think that Starbucks has the data, and knows to a tenth of a percent how many people would prefer an independent shop, all other factors being equal. It also seems that the appeal of the independent shop var
60.
▲
by
asher
17y ago
Thank you, Lionhearted, for gently bringing some maturity and perspective to this thread. Dubai is an amazing and special place, not to be dismissed lightly and put into some prefab category. A friend is working there now. He loves Dubai
More ›