Better HN
topnewbestaskshowjobs
Log inSign up

returningfory2

2,464 karma · joined Jun 25, 2020 (6y ago) · 493 submissions

Submissions

comment 5y ago · link · parent

I've use TurboTax before, but this year I used freetaxusa.com and it worked really well. I actually did my taxes in both of them to verify the numbers were the same (in TurboTax, you only pay to submit your return and by exploring the UI you can find a preview of your full return before paying). The numbers matched, so I submitted via freetaxusa.com for $0.

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

On the other hand, if quinoa (for example) is being exported it means the farmers are making more money, otherwise they would just sell it domestically. The worldwide popularity of quinoa generates a net wealth transfer into the (historically poor) quinoa areas from outside.

comment 5y ago · link · parent

Thank you!

comment 5y ago · link · parent

My EB-2 PERM was approved last week. My employer is giving me the choice between concurrent filing of the I-140 (with PP) and I-485, or filing the I-140 with PP and then filing the I-485 upon approval.

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.

comment 5y ago · link · parent

That code snippet is explicitly introduced in the article as not the author's.

comment 5y ago · link · parent

Each senator is given advance notice of all bills that are proposed to be be passed using the unanimous consent procedure. This being passed meant that each senator affirmatively decided not to stop it. Their presence or otherwise in the chamber is not really relevant.

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

The font was designed by Donald Knuth, so I think the parent is right. And Knuth did have a "scientific" approach to it.

In all cases, Knuth is not a font designer so it's not shocking that the font isn't as nice as something like Arno.

comment 5y ago · link · parent

For Digital Ocean object storage, data transfer to/from a Digital Ocean VM is free. You only pay for bytes-at-rest.

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

Yes! As a non-Rust example, the Go 1.15 compiler can't compile some Go 1.16 projects because they use the new embed library.

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

HN meta point

> 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.

https://news.ycombinator.com/item?id=26890520

comment 5y ago · link · parent

Commenters have been reasonably accusing the researchers of bad practice, but I think there's another possible take here based on Hanlon's razor: "never attribute to malice that which is adequately explained by stupidity".

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.

[1] https://qiushiwu.github.io/

comment 5y ago · link · parent

> Where? The argument is _precisely_ that the growth is occurring in non-code areas.

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

In this case, what is the point the blog post is trying to make?

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

The author doesn't like pytest fixtures, but personally they're one of my favorite features of pytest.

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

The problem with this approach is that it creates serious barriers to entry.

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

> Yes, healthcare and the cost of living are more expensive in the US

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

> But they did not buy the macbook with the Apple Card.

The article is ambiguous on this point, though I would presume they did pay with Apple Card given that Apple charged the debt to it?

comment 5y ago · link · parent

As an aside to the main issue here, I feel this is another cautionary tale in jumping to conclusions based on something someone says on social media.

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

In my last job (small company, probably not unlike the company here) I was involved in interviewing for a junior developer role. Most resumes contained a GitHub link.

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

Potentially don't wire them together? That is, isolate them in separate parts of the code.

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

> But, if folks tried more extension and less porting to a new language, I'd wager they could get far.

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

I absolutely agree, but would go even further.

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

> I wish somebody would design a modern typesetting system...

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

You need to have an approved I-140 immigrant petition for your spouse to qualify for H-4 based employment authorization.

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

> Instead, if companies give coupons to pay for rent and food, nobody would complain because they wouldn't see the real value of different cities' coupons.

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

Also if you buy it on a credit card, the CC company is usually your friend.

comment 6y ago · link · parent

The sample "Hiring Pipeline" chapter says that auto-rejections from ATS systems are a "myth" and that most/all resumes are screened by a human. Is this really true? I'm suspicious.

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

+1 to this.

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.

comment 6y ago · link · parent

Yeah, I think this is what Digital Ocean does? I believe the AWS S3 Python library works out of the box for DO.
1
1314151617