Better HN
topnewbestaskshowjobs
Log inSign up

laGrenouille

495 karma · joined Jan 25, 2015 (11y ago) · 91 submissions

Submissions

comment 3mo ago · link · parent

Yes, this (as the even shorter c.colname) and the fact that you can do var= in place of assign in with_columns/agg changed my whole outlook on polars. Have been using it as my main driver for the past year.

comment 4mo ago · link · parent

I have always stayed away from additional software for bibliography management for similar reasons that the authors cites. However, while I do not use Zotero the software, their ZoteroBib (https://zbib.org/) has been a huge time saver. No login or account needed; just copy the URL or DOI and it generates the BibTeX entry. I find it far more accurate than Google Scholar.

comment 6mo ago · link · parent

Great visualizations. Really enjoyed having a well-written example where mathematical proofs directly help with understanding a practical application.

I wonder what would happen with this analysis if a momentum term was added to the gradient descent. It seems that it would fix the specific failure modes in the examples, but I wonder if there's a corresponding mathematical way of categorizing what kinds of functions can(not) be quickly optimized with GD + momentum.

comment 6mo ago · link · parent

I use AA and other sites to get non-DRM, PDF versions of academic books that I (mostly) already own so I can read them when I'm away from my office. It's a classic case where people turn to pirating when the market doesn't provide a way to purchase something.

Same thing with movies. Ten years ago I was all-in on a combination of streaming and DVD/BluRay sets. The market has completely collapsed for me with region locking and overly aggressive DRM. So, I've started pirating those again as well when it's not possible to get through another route.

comment 1y ago · link · parent

I have read the quoted GitHub docs page before and also found it somewhat odd. Not because it shouldn't be allowed to post public code without a LICENSE (or with a restrictive one), but because GitHub has a "Fork" button on every repository. It's strange to me that GitHub has a one-click button that can violate the default terms of code uploaded to the site.

comment 2y ago · link · parent

> His fame may outlive Foch and Ludendorff, Wilson and Clemenceau.

Funny to think how this has aged since 1915. Over a century later Einstein is an almost universally known figure. The others on this list are, particularly outside of France, names that I would not expect the median person to be able to say something interesting about.

comment 2y ago · link · parent

Hotels with similar amenities are usually priced at absurdly high rates for corporate clients.

The place you linked to has the equivalent of a studio apartment with no laundry machine going for over 9000 CAD for a month. AirBnB has plenty of one bedrooms going for a third of that.

comment 4y ago · link · parent

I completely agree that it's an open question about what exactly constitutes data science and what should (or at least could) be covered in a standard introduction. For me, a fairly reasonable—though certainly not definitive—set of topics are five items listed on this course's syllabus. And that's what makes this so frustrating, personally. The instructors actually have a good proposal of what should be taught, but then just turn around and teach a classical course in statistical learning.

comment 4y ago · link · parent

You're thinking too narrowly about what "schema design" could mean. No, data scientists do not typically design back-end, production database systems. But defining and organizing a multi-sheet spreadsheet for manual data collection is what many data scientists spend much of their time doing (i.e., in the biomedical space). Doing that well definitely requires some understanding of concepts such as functional dependency, normal forms, and data types.

comment 4y ago · link · parent

These notes might be a great source for what they cover, but as a whole I find this to be a good example of what is currently wrong with data science education. While the syllabus has bullet points that include "1. data collection", "2. data management", and "5. communication", the content and schedule have a 90%+ overlap with a standard machine learning course. They even use a statistical learning textbook (a good one, but still).

Statistics departments keep trying to latch on to the excitement (and money) around data science by changing the superfluous things like department names and course titles without actually adjusting what they teach. I would love to see a version of this that actually engages at a non-superficial level with topics such as database design, theory(ies) of data visualization, methods for storytelling with data, and interactive design.

comment 4y ago · link · parent

LexisNexis, which does other things now but started in the legal space, offers a huge collection of legal opinions with a fairly good search and linking capabilities. Most clerks and law professionals would have access to it.

I think the benefit of Wikipedia is not access to materials so much as it is the succinct summarization of the legal opinions. Perhaps now NLP could help with this, but it's a very complicated problem to provide a summary of the important bits from a 100+ page legal document.

comment 4y ago · link · parent

There is a rather surprising amount of research about these kinds of approaches [1]. The various strategies and extensions are an interesting read.

^[1] https://en.wikipedia.org/wiki/Fair_cake-cutting

comment 4y ago · link · parent

But arguably the EU is even more motivated by the security issues of an emboldened Russia. Combined with the much stronger environmental push from groups in Europe, it seems reasonable that they would push as much or more for energy-based sanctions against Russia.

comment 4y ago · link · parent

Yes, that's what I learned as well. And that's actually close to what Harvard reported using last year ($2.1 billion from the endowment; 40% of the budget).

I was only using the more aggressive number as a thought experiment to the original poster about what it would take the cover the entire operating budget.

comment 4y ago · link · parent

Using Harvard as an example, they had an operating expenses of $5.0 billion in 2021 [1]. In order to cover that, they would need to be having a consistent rate of return around 9% on their ($54 billion) endowment. That a fairly good estimate of the rate of return for the stock market over the past 25 years, so not unreasonable. Though, this ignores that most of the endowment consists of restricted funds that can only be used on certain ways. Also, generally you need to cut a few percentage points if you want to guard against inflation.

So yes, Harvard could cover just about all of their budget with the endowment returns, though they probably need some extra income to cover the holes formed by the restricted funds and avoid inflation pressure.

Is their current usage of the returns too conservative? Probably. Do they have an absurdly large pile of cash that they have no business holding on to? Not really; the investment returns roughly correspond with their current operating costs.

[^1] https://finance.harvard.edu/financial-overview

comment 4y ago · link · parent

I see a lot of confusion about college endowments on HN. It's best to think of them not as saving accounts but financial instruments. Annual university budgets make use of the returns off of the endowment, often covering more than half of their expenses. Their long-term plan is to never tap into the principal. In fact, the hope is to increase the principal with new donations to expand the annual returns to fight against inflation and support new initiatives.

comment 4y ago · link · parent

Yes, that's a good point in the case of six keys (I think my point holds for just learning three), but it is not the one made that the article seemed to make.

comment 4y ago · link · parent

Interesting quantitative take studying chord distribution. The basic takeaway seems to be that if you re-phrase a song into a different key you can play a lot with just a few chords (I IV V), and even more with a few others.

While I would agree that you'll be okay playing any major scale in C major (or whatever other major key choose to learn), playing a song in a minor scale on a major scale just doesn't sound quite right. So, I'd double all of the numbers on their final table to account for learning a full set of major and minor chords.

comment 4y ago · link · parent

And not just that, usually they can only get it back if you're fired with cause.

comment 4y ago · link · parent

Thanks, though I actually meant to copy the entire thing (my fault).

My point was that a lot of people working in data analysis would (strongly) disagree with the idea that we need to model the data in order to do anything with it. Visualisations and tabulations can tell a lot without any mathematical formalism.

comment 4y ago · link · parent

> The unfortunate truth about data is that nothing much can be done with it

This is a fairly strong statement that goes against a lot of other work in data science and information visualization (John Tukey, Edward Tufte, Jacques Bertin, Hadley Wickham, ...). For example, see [0] and [1].

[0] https://en.wikipedia.org/wiki/Exploratory_data_analysis [1] https://courses.csail.mit.edu/18.337/2015/docs/50YearsDataSc...

comment 4y ago · link · parent

I agree about the product; perhaps they were acquired for the people rather than the actual IP. Would make sense from that perspective for HF, which has leaned strongly in the text direction, if they want to expand in the AI space.

comment 5y ago · link · parent

The app is different. You can certainly use Netflix on a recent Apple TV [1].

[1] https://help.netflix.com/en/node/23887

comment 5y ago · link · parent

The text makes it fairly clear that there is one particular line of code that each slightly longer example is showing off. The one line of interest is highlighted at the top of each example.

comment 5y ago · link · parent

> NB. If it's a graph: write out the edge list (etc.) .

I don't understand what issue you are referring to.

For a dense network, each pair of adjacent layers forms a complete bipartite graph. In other words, edges are all pairs with one node in layer N and another in layer N+1.

CNNs and RNNs take a little more work, but still easy to describe the graph structure.

comment 5y ago · link · parent

This is fascinating. Does anyone know the original source of the material?

comment 5y ago · link · parent

> if your definition of "mediocre" is "from a non-top-20 school", that definition is absurd.

My guess is that they are talking about a program that is Top-20 in a particular field, or even large sub-field, rather than the overall university ranking. This can be quite different than an overall ranking. For example, SUNY Stonebrook and University of Minnesota are powerhouses in topology and combinatorics, respectively, but certainly not amongst the most prestegious in other fields.

With the qualifier of "within a a field", this comment is far from absurd. The exact cut-off, of course, differs from field to field. In Near Eastern Languages, don't waste your time outside the Top-3. In CS, even graduates from programs in the Top-50 have a chance a faculty job.

comment 5y ago · link · parent

As somewhat alluded to in the article, there is a similar movement within the study of Classical Greek. In some ways this is even more interesting for classical Greek epics because there is good evidence that they were traditionally sung. There are a number of interesting recordings of the Iliad and Odyssey in the original Greek [1].

[1] https://www.youtube.com/watch?v=qI0mkt6Z3I0

comment 5y ago · link · parent

The opening of this essay is a beautifully written and surprisingly timely reflection on the importance of not judging the worth of time spent on certain pursuits purely on their direct, material utility.

I was hoping the rest would build on the deeper importance of fields such as art, music, and literature at the level of both the individual and society as a whole. Unfortunately, the rest is a bit underwhelming. It is mostly examples showing how particular pursuits in mathematics and theoretical physics eventually created more practical applications in future generations. Interesting, of course, but still focused on raw 'utility', just one step more removed.

comment 5y ago · link · parent

Airtable is a great example of what I would like to see. Basically, the ability to create sheets that are are like airtable-like that users can reference as usual in other general-purpose excel sheets.
1234