Better HN
topnewbestaskshowjobs
Log inSign up

seanharr11

155 karma · joined Aug 29, 2016 (10y ago) · 36 submissions

http://thelaziestprogrammer.com/
Submissions

comment 5y ago · link · parent

Notemeal | Senior Software Dev | Remote then Boston | Full-Time | https://notemeal.io/careers

Typescript, Apollo GraphQL, React, Ionic

We’re integrating dietitian-built meal plans with chef-crafted menus to create a new dining experience.

Join our founding team of hackers in building a modern tech stack that (literally) serves 5,000 athletes across the NFL, Team USA, USSOCOM, NBA, NHL and MLB, with plans to (soon) disrupt the consumer dining experience.

comment 5y ago · link · parent

Come work at Notemeal. We have an office with a private gym in Boston and can get tested for COVID once per week as a perk. https://notemeal.io jokes aside (kind of), we were remote for the first year, and it wears on you pretty fast to eat, sleep and work in the same room.

3.

Ask HN: Why Does Tab Key Jump to 'Send' Button When Composing Gmail Msg?

1 points · by seanharr11 · 7y ago · discuss

comment 8y ago · link · parent

I've begun the rationalization process...I should be able to start this sometime in January. I've begun drawing up the plans though...

comment 8y ago · link · parent

We did this with the New England Patriots, only we moved to an on-prem PostgreSQL instance. Specifically, we were on Oracle 8, so just finding the compatible drivers was half of the battle. I wrote a Python utility that carries these (nasty) migrations out from end-to-end. It works well, probably doesn't scale well, and needs tests. IT also doesn't solve the problems of Oracle-specific features, we just dropped those, which is probably not suitable for most folks, though many of these can/should be done at the application level.

Anyway, I made a promise to myself that when the project hits 300 stars I'd write tests and refactor for scalability. I need 3 more. Probably will be looking for some help if anyone's interested... https://www.github.com/seanharr11/etlalchemy

6.

Ask HN: Suggested Intro to Stats Courses with Programming Assignments

2 points · by seanharr11 · 8y ago · discuss

7.

Ask HN: Poloniex HTTP Req Errors When Verifying ID?

2 points · by seanharr11 · 9y ago · discuss

comment 9y ago · link · parent

This page suggest that I am logged into "VK", which apparently is the Russian-equivalent of Facebook, but I never heard of it before this. Any reason why that is?

comment 9y ago · link · parent

I'm trying to give some consult to a company who is looking to store JSON data in MySQL, and they have a Rails app.

Given a Rails web app (i.e. ActiveRecord models), what is the best choice if the JSON column type is essential?

Initial research shows that PostgreSQL stores JSONB more efficiently, and provides faster query performance with indexes, while MySQL exposes and JSON query interface w/o much optimization. Thoughts?

comment 9y ago · link · parent

Just a quick interjection: I wrote a library that migrates between any 2 relational databases. In my case, I migrated off of Oracle and onto MySQL, but the tool supports any RDBMS supported by SQLAlchemy.

https://github.com/seanharr11/etlalchemy

The best way to know is to try! It takes 4 lines of python to get you migrated.

PostgreSQL is a bit more feature rich in my findings, but for the majority of web development there really aren't huge differences. In my experience, MySQL performs a bit better for lots of simple READ queries, while PostgreSQL can handle larger, more complex queries and very frequent WRITEs.

comment 9y ago · link · parent

Let me know how it goes...please open issues if you find them!

comment 9y ago · link · parent

I wrote an open source tool that migrates between any 2 relational databases.

https://github.com/seanharr11/etlalchemy

This includes automatic migration of the schema, constraints, indexes and obviously data. It leverages fast bulk loading tools like mysqlimport, and PostgreSQL's COPY FROM. It doesn't need any config. Just plug and play.

The tool uses SQLAlchemy to abstract column types, and handles various column type conversions between any flavor of SQL.

The one thing it needs are tests, and scalability support for tables bigger than a few GB!

comment 9y ago · link · parent

A few of these steps could be solved with this tool, including schema/index migrations, and even initial (fast) data transfer: https://github.com/seanharr11/etlalchemy

14.

Ask HN: Level of difficulty of cyber warfare on N. Korea vs. Iran/Stuxnet?

1 points · by seanharr11 · 9y ago · discuss

comment 9y ago · link · parent

Ahh I got it. Understood, definitely worth clarifying, will update. Thanks.

comment 9y ago · link · parent

The comment right below has 2 links:

Gradient Descent explored similarly to this post: http://thelaziestprogrammer.com/sharrington/math-of-machine-...

The difference between the two: https://www.quora.com/In-optimization-why-is-Newtons-method-...

comment 9y ago · link · parent

Thanks for the feedback, I co-worker just jabbed me with regarding the log property mistake also...

As to the motivation for the correct step: can you point me to a resource that explains this? Not sure I follow...

comment 9y ago · link · parent

I just took the index of the data point (i.e. 1, 250) as the y-axis with the intention of "Stretching out" the data set along the y-axis. Otherwise the data would otherwise be illegibly compressed on a 1-D number line.

In retrospect, I could have better represented the data with 2 overlying histograms, but this (somewhat) captures the intent of showing that "more expensive houses tend to have more than 2 bathrooms".

comment 9y ago · link · parent

I am a programmer trying to learn math, so are my intended audience members.

That said, I should include facts related to convergence, and maybe even speed compared to SGD.

As to the reciprocal -> inverse generalization, do you have any resources you could point we towards to better understand this?

Additionally, a concrete answer to "Why would following the tangent repeatedly be a good idea?" has been hard to come by for me. I am able to visualize this, but if you have resources that explain this well please share.

comment 9y ago · link · parent

Thank you. I err'ed on the side of caution to (try) to reduce information overload, but I also didn't want to assume too much prior knowledge. Delicate balance...

Maybe a linked post that dives deeper into the 5 steps of Newton's Method? Would that be more approachable?

comment 9y ago · link · parent

I wrote this post (first) on Gradient Descent that will be helpful if you liked the OP.

http://thelaziestprogrammer.com/sharrington/math-of-machine-...

This looks at the algorithm the same way that the OP does (mathematically, visually, programmatically), only it applies it to a simpler Linear Regression model.

22.

Visualizing the Math Behind Logistic Regression and Newton's Method(thelaziestprogrammer.com ↗)

191 points · by seanharr11 · 9y ago · 29 comments

23.

Visualizing Divergent Gradient Descent(thelaziestprogrammer.com ↗)

4 points · by seanharr11 · 9y ago · discuss

comment 9y ago · link · parent

Interesting. That's also been my experience so it's good to hear confirmation. It seems the be consistent with the posts I've read on how "rank" is calculated.

I wonder what the penalty is for "re-posting", especially because timing seems to be key. You post at 8:30AM and get very few looks from your target audience, and then post again at 10AM and coincidentally reach a large amount of your target audience.

I wonder where the line is drawn between "spam" and "persistence"...

25.

Ask HN: Are user's Karma Points taken into account in ranking a submission?

2 points · by seanharr11 · 9y ago · 4 comments

26.

Visual and Mathematical Tour of Gradient Descent(thelaziestprogrammer.com ↗)

3 points · by seanharr11 · 9y ago · discuss

27.

Ask HN: Web-based GUI to visualize multivariable calc?

1 points · by seanharr11 · 9y ago · discuss

comment 9y ago · link · parent

For those of you experience a github outage (like myself), you can read about the software package here: http://thelaziestprogrammer.com/sharrington/databases/migrat...

comment 9y ago · link · parent

Down in Boston, MA

30.

Show HN: Etlalchemy – Efficiently Migrate Between Relational Databases(github.com ↗)

4 points · by seanharr11 · 9y ago · 1 comment

12