34 comments

[ 1.8 ms ] story [ 60.3 ms ] thread
A day early?
A bit early, but it's Feb 14th already on some places on the planet.
It's never too early to spread some good feelings, though
Please note, this shouldn't be taken as generic advice - draw a heart on February 13th, totally fine, hitting on the widow at a funeral, not fine.
From the loading speed it seems that the results are not cached. Isn't it?
WA is always pretty slow. At least to me.
I arrived at these equations in 2014 when I plotted a heart using Matplotlib for my girlfriend (now my wife). The code and output is available here: https://github.com/susam/heart/. Some of the Matplotlib defaults have changed since then. With the current version of Matplotlib, the following code would produce good results: https://gist.github.com/susam/2a7e38ba632c4a2780fad421d1ca5f....

Today, I thought of sharing a WolframAlpha link to this plot here on Hacker News. I am glad you all liked it! :-)

By the way, I've explained these equations step-by-step along with graph plots for every step in this 6 year old Reddit thread: https://www.reddit.com/comments/1xwuv3/math/cffeykn/.

heres the same thing on desmos, my favorite free graphing calculator https://www.desmos.com/calculator/lvespenn07
Desmos is the best thing ever! I'm certain I would not have passed Calc without it. I always struggled with math and put it off till the last year of grad school (funny enough, you can get into grad school for CS without it).

I only ended up doing calc because with it work could pay me ~$20k more.

I can't believe any respectable school would let in a CS grad student without calculus. Linear algebra is really important, too, but you have to know calculus to do much of the math behind circuits. Good for you for doing it even though it wasn't required.
I'd be surprised if many CS degrees (as opposed to CE) had a circuits course. But I agree that calculus would be a surprising omission.
Nice but, completely off-topic, how is it possible that with uBlock Origin and behind Pi-Hole I get two banners on the right? This is the first place that I remember where it happens!
For me, the 2 banners are related to Wolfram Alpha. Possibly generated from the backend directly, so there's no ad network involved, which can be blocked.
There are some pretty aggressive rules in some blocklists. I had to disable one to read about an Aggregated Discovery Service because it just looks for /ads/ in the URL and decides to block it.
They are content serve directly by Wolfram Alpha.
(comment deleted)
You can kill it by blocking 1st party scripts, but you probably dont want to do that as it will kill the site as well.

Best bet if you really hate it would be to add a filter. But as they are "dogfood" ads those are some of the few I find acceptable.

Wolfram Alpha crawling. They should be caching queries.
100% my first thought when loading this page. It really seems like they are running the calculation on query. Think about how much compute resource have they needlessly burned through by not caching user queries.
Aww. For those of us who have boyfriends and girlfriends who are not technical, this is a nice way to engage them with what we actually do during the day!