Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
benhoyt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
571.
▲
by
benhoyt
9y ago
What kind of flights do you take that you get to see the pilot in this post 9/11 world? (I agree with the sentiment though.)
572.
▲
by
benhoyt
9y ago
It's simply not true that "emoji are the first time that text has been widely used to convey emotional state". It's just done it with words rather than cartoonish face icons. Almost from the beginning text has conveyed e
573.
▲
by
benhoyt
9y ago
Interestingly, the CL (changelist?) numbers are in the HTML as comments, so if you do View Source you can see them. And then you can go to (for example) https://golang.org/cl/42028 to see the associated code changes. N
574.
▲
by
benhoyt
9y ago
I agree with the sentiments of this post (you can't "just" add generics; there are serious trade-offs), but I think his assertion that Python is "on the wrong side of history" is untrue. More people are using Python
575.
▲
by
benhoyt
9y ago
It would be really nice if each change in the release notes linked to the GitHub issue and/or PR, so curious folks can see how each fix or improvement is implemented. For example, see the notes like "Contributed by Victor Stinner
576.
▲
Preview the Python Serverless Microframework for AWS
(aws.amazon.com)
1 points
by
benhoyt
9y ago
|
0 comments
577.
▲
by
benhoyt
9y ago
"Guido has a cow". Hmmm, or maybe he knows this would be mean huge, backwards-incompatible changes to the language's dynamic nature, and especially after the experience with the changes (I think much lesser ones compared to t
578.
▲
SpreadShare: Explore community-curated spreadsheets for startups/professionals
(spreadshare.co)
6 points
by
benhoyt
10y ago
|
1 comments
579.
▲
by
benhoyt
10y ago
Good call! Thanks to Jekyll and Rouge, I added some light syntax highlighting.
580.
▲
by
benhoyt
10y ago
I've scanned the source code and it doesn't look like it handles the bytes/unicode thing. Which, while the project is cool, will mean it won't work for a ton of Python 3 code.
581.
▲
Show HN: Pygit – Just enough git to push itself to GitHub
(benhoyt.com)
208 points
by
benhoyt
10y ago
|
23 comments
582.
▲
by
benhoyt
10y ago
That's an old version of Python source from a mirror. It uses functools.lru_cache with a maxsize of 256 now: https://github.com/python/cpython/blob/fcfe80ec2592fed8b3941...
583.
▲
Two kinds of speed (or why I still like dynamically typed languages)
(benhoyt.com)
2 points
by
benhoyt
10y ago
|
0 comments
584.
▲
cdnupload: A multi-licensing experiment
(benhoyt.com)
3 points
by
benhoyt
10y ago
|
0 comments
585.
▲
Show HN: Upload your statics to a CDN with a content-based hash in the filenames
(cdnupload.com)
1 points
by
benhoyt
10y ago
|
0 comments
586.
▲
by
benhoyt
10y ago
Nice! I released a Python BK-tree module on PyPI recently, along with a write-up about how I'm using it for duplicate image detection: * https://pypi.python.org/pypi/pybktree/1.0 * http://tech.jets
587.
▲
Duplicate image detection with perceptual hashing in Python
(tech.jetsetter.com)
9 points
by
benhoyt
10y ago
|
0 comments
588.
▲
by
benhoyt
10y ago
I immediately looked at the length of this commit's hash to see if it was longer than 40 hex chars -- but no, it's just an SHA-1. It would have been cool if somehow the hash of this commit that added new hashes was a new hash. Sli
589.
▲
by
benhoyt
10y ago
I believe that was only for apps that could talk to Objective C API's natively, in other words, essentially bypassing the native code review process. React Native can only do hot updates of JavaScript (which may call existing Objective
590.
▲
by
benhoyt
10y ago
A few years ago I wrote an article entitle "Should you use C++ for an embedded project": http://blog.brush.co.nz/2011/01/cpp-embedded/ -- however, my embedded experience is mostly on very small micr
591.
▲
by
benhoyt
10y ago
It's pretty cheap to get the file size with decompressing the whole blob. You can decompress just the first hundred of so bytes of the .git blob object, which starts with "blob {size}\x00". For example, using Python: >
592.
▲
by
benhoyt
10y ago
Three years ago my company paid me US$28,000 to move my family (me, wife, three young kids) from New Zealand to New York City. This covered a moving company (approx US$10,000), flights, and one month's rent while we found a place to li
593.
▲
by
benhoyt
10y ago
> I find it bizarre that there are certain sounds that ... will cause offense. I concur that people shouldn't be so sensitive, but I think your approach above is actually the "bizarre" way of looking at it. Ideas, words,
594.
▲
Developing GiftyWeddings.com
(benhoyt.com)
2 points
by
benhoyt
10y ago
|
0 comments
595.
▲
Developing GiftyWeddings.com
(benhoyt.com)
1 points
by
benhoyt
10y ago
|
0 comments
596.
▲
by
benhoyt
10y ago
It's a fairly cynical take on journalism, but it seems like an article like that would be mostly "read SpaceX's press release and a few of their tweets, then summarize and paraphrase". If a not-very-well-known blogger di
597.
▲
by
benhoyt
10y ago
Normally, yes. But if you define __slots__ on the class, it's the same overhead as a namedtuple (no __dict__ per instance).
598.
▲
by
benhoyt
10y ago
I don't know if this was an official launch, but if you do have an official launch I think it'd be better to seed it by reaching out to some folks first. Even two or three postings before a launch event would have made it seem mor
599.
▲
by
benhoyt
10y ago
Interesting perspective on the terms (in your last paragraph). I've long thought it's odd how this language has changed over the years. A long time ago a disabled person might have been called "retarded" -- that's p
600.
▲
by
benhoyt
10y ago
I definitely hear what you're saying. In this particular case I find the more succinct map/filter a little easier to grok, but as soon as you have a bunch more clauses with some flatMap() and reduce(), the "functional" w
More ›