Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ianhorn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
ianhorn
6y ago
I'd like to see something that could do this, handling the awfulness of real world tabular data. "What country has the highest GDP? Okay, which table has GDP? Is it the country_gdp table? No, that's an old one that hasn'
122.
▲
by
ianhorn
6y ago
Even if your audience is other people who enjoy building, it can work because they might build on top of your thing. Think about an arduino. It's open source, and so maybe you could build it yourself, but there's all sorts of othe
123.
▲
by
ianhorn
6y ago
Learning from sensory input and world interaction PLUS language is a huge thing. Like teaching a dog to sit. The dog learns about the world with all sorts of sensory input, it interacts with the world, and it hears you speak a ton. But it&#
124.
▲
by
ianhorn
6y ago
Right now, so many people's social outlets are work, which seems the bad part. Take that away and either now there's nothing, or norms change and people make more social outlets to meet people outside of work. I'm sure hoping
125.
▲
by
ianhorn
6y ago
I'd imagine an issue is that there's just no place to go for it. If a big existing community introduced annotations, I'd bet it could catch on. Imagine clicking through an article from facebook and you automatically get annot
126.
▲
by
ianhorn
6y ago
I made a dead simple, somehow surprisingly useful one for python back in 2014. I still use it for quick investigations all the time. hipsterplot: https://github.com/imh/hipsterplot
127.
▲
by
ianhorn
6y ago
The discussion here is largely about how it's impossible to be really correct at Google scale, and this is something that terrifies me about where the industry is going. When there's a task that can be done by people, we can alway
128.
▲
by
ianhorn
6y ago
Heh, yup, it's part of the hackiness of it all. "with do(MyMonadClass) as my_variable: <some code>" equates to haskell's "myVariable = do <some code>". I can't remember why the MyMonadClass par
129.
▲
by
ianhorn
6y ago
Huh, I've had a wrong understanding of that for over a decade! TIL, thanks.
130.
▲
by
ianhorn
6y ago
It'll always create a new object but my understanding is that at least in numpy the new and old object will share memory. Am I wrong there too?
131.
▲
by
ianhorn
6y ago
If I have a string x = "this is a very long string..." and do y = x[:10], then it's a whole new string? If x is near my memory limits, and I do y = x[:-1] will it basically double my memory usage? Is that what you meant by e
132.
▲
by
ianhorn
6y ago
Lambdas can be multiline/multistep, but it's just as ugly as you'd expect. Maybe the most "pure" functional way to do it is to have multiple binds/applies/maps, so instead of something like `x=1; y=2; x +
133.
▲
by
ianhorn
6y ago
This is neat. It reminds me of an silly project [0] I made a while back to implement do-notation in python. In OP's project you still end up with code that's basically this: y = (Maybe(just=x) if x > 0 else Maybe()).bind(