Most active commenters
  • JodieBenitez(3)

220 points khaledh | 30 comments | | HN request time: 1.616s | source | bottom
1. Imustaskforhelp ◴[] No.43685572[source]
oh boy I was thinking of doing something like this for the lolz but I genuinely didn't knew what it meant to put tariff in programming.

The author however has it figured out.

What an amazing job to create something so mematic I think. A perfect blend of politics and programming.

2. akkartik ◴[] No.43685835[source]
What is #mipa?
replies(3): >>43686402 #>>43686438 #>>43687109 #
3. khaledh ◴[] No.43686402[source]
There's a PR to fix that: https://github.com/hxu296/tariff/pull/11/files
4. graemep ◴[] No.43686727[source]
I was hoping this would be a way of penalising developers who add ridiculous numbers of dependencies.
replies(1): >>43687963 #
5. lawrencejgd ◴[] No.43687109[source]
Make Importing Peak Again?
6. hughdbrown ◴[] No.43687185[source]
Because those packages are cheating us.
7. snvzz ◴[] No.43687963[source]
Or automatically funding projects depended on.
8. 3eb7988a1663 ◴[] No.43688043[source]
The issue tracker + pull requests are also worth browsing: https://github.com/hxu296/tariff/issues
replies(1): >>43690869 #
9. elashri ◴[] No.43688427[source]
There should be a method to impose base tarrifs of 10% by default on all packages. Even if you are not importing non-existent packages from the penguin Islands.
replies(1): >>43688686 #
10. cosmicgadget ◴[] No.43688455[source]
I am going to be so much more productive now that I'm incentivized to code everything from scratch.
11. jogu ◴[] No.43688686[source]
The tariff definition is just a dict so it's pretty straightforward to pass a dict that has a default value instead.
12. JodieBenitez ◴[] No.43689455[source]
I don't have a horse in the white house race. I'm not even american, so my voice don't count here. But I wish developers would refrain from using the languages tooling to voice political opinions. At least this package I can ignore... but the last time I used npm my terminal looked like both a blend of a protest march and a craigslist page, completely drowning the relevant informations.
replies(7): >>43689581 #>>43690010 #>>43690095 #>>43690217 #>>43691336 #>>43693244 #>>43693846 #
13. 12_throw_away ◴[] No.43689581[source]
wow, sounds awful, you should probably ask for your money back
14. moktonar ◴[] No.43689976[source]
Well.. this might not be as silly as it seems..
15. edent ◴[] No.43690095[source]
I'm pretty glad Alan Turing expressed his political opinions in code.
16. sabslikesobs ◴[] No.43690217[source]
Yeah. I feel there's a kind of eternal serenity to be found in truly apolitical works. For everyone to put their connection to Today aside and share in something timeless---that really feels like genuine connection to others.
replies(2): >>43691484 #>>43691847 #
17. norskeld ◴[] No.43690858[source]
roll-safe.jpg

  tariff.set({
    "numpy": -100
  })
18. adamquek ◴[] No.43690869[source]
Oh! Thanks for sharing. #4 is a winner!
replies(1): >>43691879 #
19. 4ndrewl ◴[] No.43691336[source]
OTOH you're fortunate enough not to have to worry about US/world politics _and_ all these people have written a bunch of code for you for free. So there's that...
replies(1): >>43691987 #
20. exe34 ◴[] No.43691484{3}[source]
I feel it's dehumanising to expect people to provide free work and hide their lived struggles. There are trans people contributing top notch code to the community - I don't want them to feel like they have to hide their existence and the ongoing persecution of their kind and produce apolitical code just because it makes some people uncomfortable to see somebody else suffer.
21. Peritract ◴[] No.43691847{3}[source]
> For everyone to put their connection to Today aside and share in something timeless

This is a political position.

replies(1): >>43693452 #
22. skylurk ◴[] No.43691879{3}[source]
> C++, what a disrespectful language! Nobody can be faster than Python, NOBODY! We should raise the tariff charged to C++ to 145x.
23. JodieBenitez ◴[] No.43691987{3}[source]
Yeah, sure. OTOH if this forum never had any criticism of free stuff we could probably host it on a raspberry pi.
24. Lvl999Noob ◴[] No.43692682[source]
Feature request! Could this automatically figure out which country the package is from, then impose the at-that-time current tariff? And maybe work out whether the dev is in USA or outside.

A best effort is fine! (Actually, mid effort is probably better; more true to the source)

25. bccdee ◴[] No.43693244[source]
The point of a protest march is that it takes place in infrastructure that people need to use for other stuff & that it's hard to ignore. It's not just the expression of a political opinion, it's a form of activism—a way to push for change by making it uncomfortable for things to remain as they are. It's meant to be annoying.
26. philipov ◴[] No.43693452{4}[source]
Yes, the purest form of privilege is the option to not engage with politics.
27. paulddraper ◴[] No.43693846[source]
You can disable that stuff. I do.
replies(1): >>43703084 #
28. touristtam ◴[] No.43696245[source]
I feel I need this for node....
29. JodieBenitez ◴[] No.43703084{3}[source]
like npm install --quiet ?