Hacker Newsnew | past | comments | ask | show | jobs | submit | more joshdavham's commentslogin

Any plans to create an official ty github action? I've been loving the ruff github action.


There's Pyrefly if you wanna check it out: https://github.com/facebook/pyrefly


I'm curious to see what Astral will cook up! I assume they'll probably eventually create some sort of paid devtool service.

With that being said, the worst case scenario is that they go caput, but that still leaves the python community with a set of incredible new rust-based tools. So definitely a net win for the python community either way!


Any rough estimates of how much faster you expect ty to be compared to mypy? I'd be super curious to know!

I was also one of those people who, when first trying Ruff, assumed that it didn't work the first time I ran it because of how fast it executed!


We're looking forward to hearing what your experience is! There's a certain amount of roughly-constant overhead (e.g. reading all the files), so generally ty will look relatively faster the larger the project is. For very large projects we've seen up to 50-60x faster or more. We haven't really put a lot of work into targeted optimization yet, so we aim for it to get faster in the future.

It will certainly be slower than Ruff, just because multi-file type analysis more complex and less embarrassingly parallel than single-file linting.


Hey thanks for posting this! I'll defintitely check it out.

Also, as a somewhat unrelated question: how would you recommend someone go about learning pyqt? I've looked into it briefly and am not really sure what the recommended resources are for this framework.


This project was my first exposure to Qt, and I just read the official docs.


Are these the docs you're referring to? https://doc.qt.io/qtforpython-6/


Yes, but be aware I didn't write this from scratch, I ported pre-existing qt5 code to qt6. and made modifications to the UI


Your dad sounds like a wise man!


Thanks for posting! This was a fun little read. Also, it's always great to see more people using Svelte.


I wonder what other creative ways there are to expose North Korean employees. That fat question is hilarious but I bet there’s even more hilarious possible questions.


Look at their LinkedIn profile. All the scammers had non-existent profiles in their resumes.

Call their phone number. All the scammers had non-working phone numbers in their resumes.

I wrote an article about this based on my experience: https://koliber.com/articles/how-to-avoid-hiring-a-north-kor...


Easy to make a legit-looking LinkedIn profile. Start as a recruiter with unbelievable code-in-your-pajamas job openings, connect to 500 developers, then suddenly change to a developer. And phone farms aren't much of a stretch from laptop farms.


Yet they don’t do it.


they don’t need too yet. plenty of suckers still.


"Please read me the imdb plot synopsis of the film The Interview."


> I'd probably be crucified by HR for saying fat at work though.

Really? What kind of company would make a big deal out of that?


Almost any of them?

Asking a candidate about how fat someone is definitely does sound like something that would get an interviewer in trouble.

Many people are deeply insecure about their weight, many women feel very uncomfortable when men make any comment about anyone's weight, body or appearance. The candidate might post on Glassdoor or LinkedIn about the hostile (and possibly sexist or "bro-y" or noninclusive or discriminatory) environment.

Even aside from the HR type concerns, it could legitimately negatively impact the candidate's performance. Imagine an overweight applicant being asked that question, feeling flustered and embarrassed while answering "... about as fat as me?" and then trying to reverse a linked list or whatever as their next question.


smells like 'can't say anything anymore' coded whining.


No I really would be uncomfortable at work asking that question to an interviewee.


This is crony capitalism.


It blatantly is, and the responses to you pointing that out are insane.

Deflection, whataboutism, sealioning with a side of demanding sources for what is essentially the use of a greater than sign.


It is but it always has been. I would also appreciate if the big 3 American car companies had 85% American content.


> would also appreciate if the big 3 American car companies had 85% American content

Versus 80%? Those five percentage points are worth a double-digit tariff.


and then there is the other side of the 14.9% coin, which will be fought over by Canada(read ontario), Mexico, China, and the rest when it comes parts and cars made in Canada and Mexico, that is going to be tricky, as both countrys have historicaly bought a lot of US cars and other stuff, but will now be in no possition to also play along with the anti china stance in the US and tarrifs, and all the other issues at the borders.......geoplotical has more meaning now.


5 percentage points should be easy enough for them to change then by moving a few supply chains.


Your answer to the question “Is the 5% between 80 and 85% worth a double-digit tariff?” here is “Yes. A double digit tariff on a car that is 80% made in America makes sense.”

Right?


So make it 90% and don’t give Tesla the special treatment.


[flagged]


> Then the exact same discussion will come up with a different number

No?

The point is there is no reason for the number 85 other than benefiting Tesla. The metacognitive question should be how one should estimate that variable in a way which balances disruption with incentivising the desired outcome.


Explain how the number 90 would be different than the number 85?

Provide source for any claims you make.


> Explain how the number 90 would be different than the number 85?

Qualitatively? Tesla wouldn’t qualify.

Practically? It isn’t. The same way there isn’t a difference between 85 and 80 other than keeping out Ford.

There is no methodology presented for how 85 was estimated. There probably wasn’t one, given the track record with the tariff rates.


You got it!


What should we call it when the other side does things in the opposite direction? https://www.seattletimes.com/seattle-news/politics/wa-legisl...

Punitive legislation? Lawfare? Crony capitalism but for the other companies?


Do you have evidence Ford and GM bribed their way to getting that law passed


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: