2,464 karma · joined Jun 25, 2020 (6y ago) · 493 submissions
comment 5y ago · link · parent
I think the anti-TurboTax argument makes sense, but with a free alternative like freetaxusa.com the idea that the IRS should prepare on our behalf is slightly less compelling.
comment 5y ago · link · parent
comment 5y ago · link · parent
Is there any reason not to file concurrently? I'm surprised my employer is giving me the choice because I can't think of a good reason to file separately given that I have no upcoming travel plans.
457.
Stripe rescinded my signed offer due to changing company priorities(twitter.com ↗)
88 points · by returningfory2 · 5y ago · 45 comments
comment 5y ago · link · parent
But it seems S3 doesn't have a similar offering. Data transfer is free between S3 and EC2 instances, but you still pay the per-request charge.
I wonder can you factor this into the pricing algorithm.
comment 5y ago · link · parent
The idea in the root comment that it's somehow outrageous that a compiler for version N of a language can't compile versions N+M is ... strange.
PS I love your book :)
comment 5y ago · link · parent
> The old saying still holds true: one should not attribute to malice that which can be adequately explained by incompetence.
This is exactly the comment I left on the original HN thread, which was downvoted [0]. I can understand the kernel maintainers being overwhelmed by the situation and jumping to the worst case interpretation, but interesting to see HN commenters doing the same, too.
comment 5y ago · link · parent
If you look at the website of the PhD student involved [1], they seem to be writing mostly legitimate papers about, for example, using static analysis to find bugs. In this kind of research, having a good reputation in the kernel community is probably pretty valuable because it allows you to develop and apply research to the kernel and get some publications/publicity out of that.
But now, by participating in this separate unethical research about OSS process, they've damaged their professional reputation and probably setback their career somewhat. In this interpretation, their other changes were made in good faith, but now have been tainted by the controversial paper.
comment 5y ago · link · parent
But how is this important? If the thing you're optimizing for is "total Go binary size", then all that matters is the total size of binary! How bytes are organized internally is irrelevant to this metric.
You should redo the analysis where you compile an old version of Cockroach DB (say v1.0.0) with Go versions 1.8 through 1.16, and then see what the numbers say. Your current analysis, which doesn't account for growth in the code base at all, or tries to account for it by deep-diving into the internal organization of the binary, is not sound.
comment 5y ago · link · parent
The title of the post is "Go Executable Files Are Still Getting Larger". Upon further reading and conversation here it seems this is possibly not true, nor what the post is about. If we believe Russ's comments, Go executable sizes haven't increased much in general. Perhaps the reason you're seeing increases in Cockroach DB is because you keep writing more code for Cockroach DB?
Now the point has shifted to this notion of "dark bytes". So the article is about ... how the way you previously diagnosed the contents of binaries doesn't work anymore? That's fine and legitimate, but it seems like the point is over-extrapolated to become a criticism of the Go team.
comment 5y ago · link · parent
Here's an example use case: I have a test suite that tests my application's interactions with the DB. In my experience, the most tedious part of these kinds of tests is setting up the initial DB state. The initial DB state will generally consist of a few populated rows in a few different tables, many linked together through foreign keys. The initial DB state varies in each test.
My approach is to create a pytest fixture for each row of data I want in a test. (I'm using SQLAlchemy, so a row is 1-1 with a populated SQLAlchemy model.) If the row requires another row to exist through a foreign key constraint, the fixture for the child row will depend on the fixture for the parent. This way, if you add the child test fixture to insert the child row, pytest will automatically insert the parent row first. The fixtures ultimately form a dependency tree.
Finally in a test, creating initial DB state is simple: you just add fixtures corresponding to the rows you want to exist in the test. All dependencies will be created automatically behind the scenes by pytest using the fixtures graph. (In the end I have about ~40 fixtures which are used in ~240 tests.)
comment 5y ago · link · parent
I'm an immigrant who finished a pure-math PhD and went into software engineering afterwards by building up a portfolio and leetcoding in my spare time. With your system there is no chance I could have done that. Passing all of the exams would not have been possible without a strictly CS education, and I couldn't have studied for the exams after my PhD finished because my visa status at the time was tied to being actively employed.
So many people nowadays are becoming productive software engineers from slightly unconventional backgrounds (pure math, physics, boot camps) and this would stop immediately if CS certification became part of the job requirements.
comment 5y ago · link · parent
I feel Europeans looking in on the US from the outside consistently have a misleading view on healthcare. I'm saying this as a European in the US working in big tech.
My plan's maximum out-of-pocket in a year is ~$3k, which I can pay pre-tax thanks to an HSA. It is less than 2% of my total comp in the worst case (in 2020 I spent less than $300 on healthcare). In return I get coverage that is generally better than the free public healthcare back in Europe.
I think CoL is similar, but not as clear cut. One thing CoL discussions often miss is that many expenses are independent of the local CoL; for example, a Macbook Pro costs the same in every US city. If your salary adjusts exactly for CoL, you're actually doing better because of this.
comment 5y ago · link · parent
In a response to the original tweet, the author said that "the only thing Apple Card was paying for was the 2TB iCloud upgrade". Now, in this blog post hours later, we learn that actually the author is at least $250* short on a payment for a MacBook Pro. While this is still a grey issue, not having paid your minuscule iCloud subscription versus not having paid for your new Apple computer in full are qualitatively different situations.
*the trade-in value of the author's old Mac; my 2017 MacBook Pro trades in for $360.
comment 5y ago · link · parent
But what was most fascinating to me was that these GitHub accounts were largely inactive. It's not hard to see this: the contributions/calendar feature let's you see at glance how much they've used GitHub, and it's basically the first thing you see when you open a profile. I literally clicked on GitHub links from resumes where the applicant had not used GitHub in the last 365 days.
comment 5y ago · link · parent
I always found Flask-SQLAlchemy a strange approach because it ties opposite and somewhat orthogonal parts of the request lifecycle together. When requests-to-data-transactions is a 1-1 relationship it's a convenience, but once you step out of that I think it's better to do things by hand.
My main app has a simple layer structure of "request > business logic > data layer". All of the business logic functions start a SQLAlchemy transaction using a Python decorator that is ~10 lines of SQLAlchemy code.
comment 5y ago · link · parent
This is what happens - pdfTex, Xetex, Luatex: these are all extensions of the core Tex implementation. The problem is that making these extensions is extraordinarily difficult given the software architecture of Tex. And, notoriously, sharing improvements between extensions is also very very difficult. The end result is that we have compatibility few improvements and complete stagnation is some aspects in the typesetting space (for example, no alternative/improvement to Tex's pagination algorithm).
The problem is that Tex is architected as a monolithic application which you can't easily plug extra stuff into. All of the extensions to Tex have worked by forking the source code entirely, which I think is not a great model.
comment 5y ago · link · parent
When you say Xetex "not a solid piece of engineering on which to build the future", I think the same thing also applies to the original Tex engine written by Knuth. By modern software engineering standards, the original Tex implementation is a nightmare. It's enormously difficult to extend or add new features, and this has resulted in (1) comparatively few extensions being made and (2) when such extensions have been made (e.g. Xetex), they are very difficult technically.
comment 5y ago · link · parent
In theory yes, but I think the problem is that it will never be adopted. Too much of academia is built on the deep assumption that LaTeX is the only possible format that people write documents in.
I think one possible way out is to start a new from-scratch TeX engine that is built in such a way that a new typesetting language (or "front end" if you like) can be added to it. This may lead to some reasonable slow migration strategies.
comment 6y ago · link · parent
However, if your or your spouse's country of birth is also Canada, then at the present time you and your spouse can file for green cards concurrently with the I-140. Both of you will receive work authorization via these pending green card applications.
So the H-4 employment case wouldn't be really relevant to you. That program exists for people born in countries whose green card lines are backlogged, and who can't file for green card with their I-140.
comment 6y ago · link · parent
This is an awesome observation, but I think it needs the qualification that not all of your salary is spent on COL and that people in high COL areas have an advantage in this regard. If you're saving X% of your salary for vacation, say, it's better to be saving in a high COL area because X will be around the same, but the absolute number will be bigger - and this is money you will not be spending in your area.
When I was a PhD student in NYC I was able to travel for more than a month every summer using money I had saved from teaching in NYC. If I had been doing my PhD in a small mid-western college town, I couldn't have done that.
comment 6y ago · link · parent
The next sample chapter even contains an anecdote strongly suggesting it's not a myth:
> With how the recruitment industry is going with ATS systems, one-touch-tooling, and AI, it’s all about optimizing the top of the funnel to streamline the workflow. In this setup, it is key that you have a resume where a machine can identify that you have 80% of what the company is looking for.
comment 6y ago · link · parent
More generally, I feel that one of the main reasons the Supreme Court is such a powerful body nowadays, and why cases like this are considered so important, is because Congress has become so ineffectual. We have internalized the idea that the Supreme Court has the last word on every matter before it. But it emphatically does not. The Supreme Court is only the last word on constitutional cases. So many decisions - this one, certain decisions on gerrymandering - are completely overturnable by Congress.