Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
raymondh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
301.
▲
by
raymondh
14y ago
This article is long on inflammatory language and short on analysis or evidence. There are plenty of real issues with HFT as currently practiced (front-running data feeds, gaming with flickering orders, dark pools, etc). However, the artic
302.
▲
by
raymondh
14y ago
I've had good success doing public code review sessions at conferences where the goal was simply to generate discussion points rather than to catch errors. The discussion center around how to use the language more effectively and sometime v
303.
▲
Marissa Mayer: Why Work Burnout Is About Resentment
(cnbc.com)
3 points
by
raymondh
14y ago
|
6 comments
304.
▲
by
raymondh
14y ago
Likewise, when an automated stock trading program makes unfavorable trades, the company running the program is responsible for those trades. To the extent machines are allowed to proxy for humans, the humans are fully responsible for the ac
305.
▲
by
raymondh
14y ago
Beautiful website. Fascinating display. Nice source code.
306.
▲
A World Without Coral Reefs
(nytimes.com)
116 points
by
raymondh
14y ago
|
42 comments
307.
▲
by
raymondh
14y ago
Thank you to the whole team of heroic PyCon organizers!
308.
▲
by
raymondh
14y ago
Governors have that power.
309.
▲
7Gbps wireless transfers
(arstechnica.com)
1 points
by
raymondh
14y ago
|
0 comments
310.
▲
by
raymondh
14y ago
A false cognate in Python is super(). It does something much different than super in other languages -- calls to super may call some class that is not a parent of the class where the call originates.
311.
▲
Dropbox Emacs
(lists.gnu.org)
2 points
by
raymondh
14y ago
|
0 comments
312.
▲
by
raymondh
14y ago
Too bad that a horrible answer was selected as the best. The minheap/maxheap solution requires that the entire stream of integers be stored in memory. There is a fast and memory efficient solution using Indexable Skiplists: http://code.ac
313.
▲
by
raymondh
14y ago
There is a Python2.5 backport of collections.Counter() at http://code.activestate.com/recipes/576611/
314.
▲
by
raymondh
14y ago
Overall, this is a nice post. There are two quibbles though. 1). For the most part, "c = collections.Counter()" is almost always better than "c = defaultdict(int)" * Counter only supplies missing values rather than automatically insertin
315.
▲
by
raymondh
14y ago
This article contains excellent recommendations except for one (the numbers.py module is nearly useless).
316.
▲
by
raymondh
15y ago
+1 This is a beautiful little recipe.
317.
▲
by
raymondh
15y ago
FWIW, Michael Foord's mock library has been approved for inclusion in the Python's standard library. See http://www.python.org/dev/peps/pep-0417/ and http://www.gossamer-threads.com/lists/python/dev/973274
318.
▲
by
raymondh
15y ago
Python's unittest.py was a direct port from Java's JUnit. More recently, a Google contribution to unittest.py added a huge number of self.assertThisThatOrTheOther() methods. The new methods were designed to have better diagnostic messages
319.
▲
Why No One Uses Your Test Framework
(slideshare.net)
38 points
by
raymondh
15y ago
|
23 comments
320.
▲
by
raymondh
15y ago
If someone is looking for open source work in Python, the IDLE editor could use some love and care :-)
321.
▲
by
raymondh
15y ago
I just signed the petition. If nothing else, it was very satisfying.
322.
▲
by
raymondh
15y ago
This is a wonderful recap of the different ways of expressing the same idea in different languages. It is a fine Rosetta Stone. That being said, it would also be useful to characterize features that are completely unique to a given languag
323.
▲
by
raymondh
15y ago
Why was this downvoted? Margins are a relevant topic when discussing the survival of a business, and a "tragedy of the commons" is relevant when discussing the failure of a segment of business upon which all the others depend.
324.
▲
by
raymondh
15y ago
Retail store fronts don't have any problems that cannot be solved by better margins. If the publishers valued the service offered by Barnes & Noble, the obvious solution is to grant lower prices to brick-and-mortar bookstores. According
325.
▲
Verizon's audacious new fee for on-line payments
(money.cnn.com)
85 points
by
raymondh
15y ago
|
73 comments
326.
▲
by
raymondh
15y ago
I've long been a big fan of this book. It will make you a better programmer even if you don't program in Forth. The only downside is that it will feel dated (because it is). Many of the ideas that were once progressive, original, and a b
327.
▲
by
raymondh
15y ago
A "rolling blackout" would be just an effective -- go dark for a few hours each day.
328.
▲
Bill undermines video viewing privacy laws
(nytimes.com)
13 points
by
raymondh
15y ago
|
1 comments
329.
▲
China’s newest export: Internet censorship
(blogs.reuters.com)
3 points
by
raymondh
15y ago
|
0 comments
330.
▲
by
raymondh
15y ago
I also like list(s) for its clarity and universality (the same technique works with dict(m) and deque(d) for example). The s[:] gets called faster (builtin syntax dispatches directly) than list(s) which requires a global lookup. One called
More ›