HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
vthommeret
mathtocode
JavaScript2020–2020
vthommeret / mathtocode

mathtocode

Discover this repository through its Hacker News conversations.

2Distinct people
6Mentions
0Explicit recommenders
254GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A public description has not been verified.

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 2:17:07 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour6 dated mentions

Observed mentions: 2020-06-13 22:38:32 UTC to 2020-06-14 15:26:37 UTC.

012020-06-13 22:00:00 UTC to 2020-06-13 23:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJun 13, 22:002020-06-13 23:00:00 UTC to 2020-06-14 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2020-06-14 00:00:00 UTC to 2020-06-14 01:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-06-14 01:00:00 UTC to 2020-06-14 02:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-06-14 02:00:00 UTC to 2020-06-14 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-06-14 03:00:00 UTC to 2020-06-14 04:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-06-14 04:00:00 UTC to 2020-06-14 05:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-06-14 05:00:00 UTC to 2020-06-14 06:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2020-06-14 06:00:00 UTC to 2020-06-14 07:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJun 14, 06:002020-06-14 07:00:00 UTC to 2020-06-14 08:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-06-14 08:00:00 UTC to 2020-06-14 09:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2020-06-14 09:00:00 UTC to 2020-06-14 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-06-14 10:00:00 UTC to 2020-06-14 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-06-14 11:00:00 UTC to 2020-06-14 12:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2020-06-14 12:00:00 UTC to 2020-06-14 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-06-14 13:00:00 UTC to 2020-06-14 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-06-14 14:00:00 UTC to 2020-06-14 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-06-14 15:00:00 UTC to 2020-06-14 16:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJun 14, 15:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jun 13, 22:002020-06-13 22:00:00 UTC2020-06-13 23:00:00 UTC101
Jun 13, 23:002020-06-13 23:00:00 UTC2020-06-14 00:00:00 UTC101
Jun 14, 00:002020-06-14 00:00:00 UTC2020-06-14 01:00:00 UTC000
Jun 14, 01:002020-06-14 01:00:00 UTC2020-06-14 02:00:00 UTC000
Jun 14, 02:002020-06-14 02:00:00 UTC2020-06-14 03:00:00 UTC000
Jun 14, 03:002020-06-14 03:00:00 UTC2020-06-14 04:00:00 UTC000
Jun 14, 04:002020-06-14 04:00:00 UTC2020-06-14 05:00:00 UTC000
Jun 14, 05:002020-06-14 05:00:00 UTC2020-06-14 06:00:00 UTC101
Jun 14, 06:002020-06-14 06:00:00 UTC2020-06-14 07:00:00 UTC000
Jun 14, 07:002020-06-14 07:00:00 UTC2020-06-14 08:00:00 UTC000
Jun 14, 08:002020-06-14 08:00:00 UTC2020-06-14 09:00:00 UTC101
Jun 14, 09:002020-06-14 09:00:00 UTC2020-06-14 10:00:00 UTC000
Jun 14, 10:002020-06-14 10:00:00 UTC2020-06-14 11:00:00 UTC000
Jun 14, 11:002020-06-14 11:00:00 UTC2020-06-14 12:00:00 UTC101
Jun 14, 12:002020-06-14 12:00:00 UTC2020-06-14 13:00:00 UTC000
Jun 14, 13:002020-06-14 13:00:00 UTC2020-06-14 14:00:00 UTC000
Jun 14, 14:002020-06-14 14:00:00 UTC2020-06-14 15:00:00 UTC000
Jun 14, 15:002020-06-14 15:00:00 UTC2020-06-14 16:00:00 UTC101

What Hacker News says

1 sources
That's close, but basically you need to take the square of each element first, e.g. `m * * 2` [0]. This keeps the shape of the matrix while `m.prod()` returns a single number (multiplying each element together). So it should look something like this: `np.sqrt((m * * 2).sum())` Re: The error message, it looks like it's occurring because `sum` doesn't normally take any parameters and interprets the argument as an "axis" parameter — https://numpy.org/doc/1.18/reference/generated/numpy.sum.htm... Order of operations is tricky and I could do a better job breaking it down. Still plan to add the Show Solution button but need to get some sleep :-). In the meantime you can see all the possible solutions in the repo! https://github.com/vthommeret/mathtocode/tree/master/questio... [0] Remove the space between the asterisks / I had to add it since HN
Read the rest
interprets them as italics.
In Show HN: Math to Code – Interactive NumPy tutorial for engineers

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.