Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
closed
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
331.
▲
by
closed
9y ago
Yes, but it is still applying that function to a single column (the summarise example I gave could aggregate multiple columns into a single result, e.g. sum(col1 / col2))
332.
▲
by
closed
9y ago
The summarise example I gave creates a single new column (some_col), that is a function of two columns from the grouped data frame. Passing a map to agg is just creating multiple columns, each a function of at most a single column in the da
333.
▲
by
closed
9y ago
You're not alone! I think pandas made some design decisions around their transformation functions that make it a lot more cumbersome to use than R's dplyr. It's not obvious from the documentation, though. As an example from t
334.
▲
by
closed
10y ago
> Contains no passive voice. Passenger is used as the subject, rather than object in your quoted passage. To see it in active voice, change "one of the passengers was politely asked...", to "SOME_SUBJECT politely asked one
335.
▲
by
closed
10y ago
Serious question--for some reason, I've always believed that previous employers tend to avoid saying anything negative about their former employees. Is this not the case?
336.
▲
by
closed
10y ago
Most psychological researchers deidentify subject data, since you can only show it to a very small group of people otherwise. (which might prevent you from e.g. getting statistical help from someone outside the project).
337.
▲
by
closed
10y ago
I have all kinds of books like that, for teaching / perusing, but now am going to sandwich them with hardcore math books out of paranoia
338.
▲
by
closed
10y ago
I don't think they forgot anything. You mention your observations among your customers, in order to support a more general point. They are questioning whether that generalization follows from your observations (using observations of th
339.
▲
by
closed
10y ago
Really enjoyed the metacognition portion of this article. It seems like the key here is... 1. people overestimate how much they'll remember. 2. this is due in part because in the moment you've learned something, you can recall it
340.
▲
by
closed
10y ago
If docker didn't work for you, because it didn't feel enough like having a virtual machine you can tinker with, then vagrant might be a good choice.
341.
▲
by
closed
10y ago
Thanks for this advice. I love that the simplicity of your post demonstrates the concept it's teaching.
342.
▲
by
closed
10y ago
This tutorial looks great. I picked up Antlr4 a few months ago, and hadn't done any parsing before then. The first week was basically me, The Definitive Antlr4 Reference, and extreme confusion with how different targets worked. Compoun
343.
▲
by
closed
10y ago
Agreed. I think the key here is that consistent exposure over time to patterns reduces cognitive load through "chunking".
344.
▲
by
closed
10y ago
When I was looking for a pressure cooker, I dropped into the subreddit r/pressurecooking and was surprised to see it was basically devoted to the Instant Pot!
345.
▲
by
closed
10y ago
As a person who isn't Mormon, but was raised as such, including two years as a Mormon missionary--I feel like these resources have also fundamentally changed the way I think about the world. Even though me and the parent comment likely
346.
▲
by
closed
10y ago
That was the first video I've ever had to play at 6x its original speed!
347.
▲
by
closed
10y ago
I had a similar situation, where a colleague's research assistant estimated it would take her 300 hours to process some data. 15 mins of python later and I landed coauthorship on their paper! I've run into similar situations where
348.
▲
by
closed
10y ago
well, there goes my Friday night. Cheers :)
349.
▲
by
closed
10y ago
Ah, that helps a lot--thanks for the example! Most ASTs I've have seen look much more gruesome than that. That AST looks straight delightful. (actually now that I think about it, R may do something a bit similar)
350.
▲
by
closed
10y ago
What is the benefit of this? It seems like oftentimes editing ASTs is much more verbose than code that would generate an AST. For example, in python's builtin ast library, writing the variable > x in AST is.. > Expr(value=Name(id
351.
▲
by
closed
10y ago
> Although managing data in relational database has plenty of benefits, they’re rarely used in day-to-day work with small to medium scale datasets. But why is that? Why do we see an awful lot of data stored in static files in CSV or JSON
352.
▲
by
closed
10y ago
Edit: on second thought, you're probably right. I think I was too off the cuff in responding. Left original response below. If by best fit you mean minimizing sum squared error, that's fair. But to be sure, if someone said t-test
353.
▲
by
closed
10y ago
Do you mean that you fit a simple linear model, of the form below? ability = b0 + b1*endorsements + error And when you say t-test, are you saying you did a t-test for the parameter b1? Usually when people refer to a t-test, without more inf
354.
▲
by
closed
10y ago
Agreed. This post would be okay if there wasn't so much "we crunched the numbers" talk, and then very perplexing reporting.
355.
▲
by
closed
10y ago
Interesting article! It seems like they were very careful about using simple, approachable language, which seems huge in helping people loosen their kung-fu grip on p-values. One of their sections, "P-values are not posterior probabili
356.
▲
by
closed
10y ago
The article or that specific quote from the article? The article seems to be directed toward people developing video games, from a developer of video games. That video games have utility in a general sense seems to be a given in the article
357.
▲
by
closed
10y ago
It sounds like a lot of the top level comments are missing the point,and think this article is simply about how video games are not useful. I didn't get that at all (the first few paragraphs are confusing imo, though), and the paragrap
358.
▲
by
closed
10y ago
I agree, it sounds like the author is arguing that the direction games take needs to change, in order to promote a positive cultural shift. He sounds like he's thought a lot about what he's writing about, but it seemed like he som
359.
▲
by
closed
10y ago
In my mind, one of the most critical factors to make a memory palace work is essentially hijacking your very skilled spatial memory, and heavy expertise in some spatial location (e.g. your home). This allows you to use that location as a co
360.
▲
by
closed
10y ago
That's fair. I might be preaching to the choir here, but something that might help is braising the meat in a small amount of liquid, rather than stewing it by covering it in liquid. http://www.thekitchn.com/whats-the-di
More ›