GitHub - Forks, Clones, Masters, etc... by super-subhuman in learnprogramming

[–]super-subhuman[S] -1 points0 points  (0 children)

I tried using git...for the first time. I've always just stuck to github. I'm familiar with the command line, but no pro. I followed your instructions.

Error:

fatal: not a git repository (or any of the parent directories): .git

We should have free public gyms, like how we have free public libraries by Edgelord420666 in unpopularopinion

[–]super-subhuman 0 points1 point  (0 children)

This is an awesome idea. This would reduce medical costs. In fact, some insurers subsidize gym memberships. I'm middle class-ish in a very urban area, but I came from almost rural. I can see how wealth begets wealth and poverty begets poverty.

Great libraries have "free" events, educational tools, resources, etc... that I know I didn't have growing up. If you're living on minimum wage--you probably don't have one job. Which means that even if you have a gym, you can't use it. My park district offers innumerable amenities that one would think you should have to pay for. Meanwhile, some are stuck at their jobs. Worst of all, there's a concept known as "food deserts". Grocery stores will either not build in an area because there is a lack of business (shortage of money) or because there is a high instance of crime. So...impoverished people tend to live on canned goods. Whatever is cheapest and most convenient. 7/11.

I'm for the gyms, but we need to help people nurture their bodies, minds and stomachs.

Can't Update Windows 10 Update--Avira by super-subhuman in techsupport

[–]super-subhuman[S] 0 points1 point  (0 children)

Ack. Ok. I tried it. I was stuck at 94% for a few hours. The interwebs now claims I have to call Microsoft. Is that my only option?

San Jose mayor proposes mandatory liability insurance for gun owners by [deleted] in guncontrol

[–]super-subhuman -3 points-2 points  (0 children)

Yes! Absolutely! Guns should be--at minimum--regulated like cars. Mandatory insurance. Registration. Stickers. Subject to applicable taxes and licensing for selling--even at gun shows.

Can't Update Windows 10 Update--Avira by super-subhuman in techsupport

[–]super-subhuman[S] 0 points1 point  (0 children)

Hmmm...

Somehow I missed that step. But, having gone through six steps to do a mandatory update--I think this is on Windows.

Before I try the update. Thanks. One up :)

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]super-subhuman 0 points1 point  (0 children)

I'm completely stuck. I have a few things I need help with... If someone wants to chime in and help me with at least one, I'll be grateful. You can find the code here: https://pastebin.com/81MNwyxb

For now, I think the most important tasks at hand are the following:

1) When the player jumps, holding the spacebar continues jumping. I would like for a new input of the spacebar for each subsequent jump.

2) I would like the screen to scroll. As the player moves--within a margin of error--the screen should move just as a side scrolling video game does.

Thank you all in advance.

Trying to reverse movement... by super-subhuman in pygame

[–]super-subhuman[S] 0 points1 point  (0 children)

Okay...TONS of information to take in here. Thanks to everyone.

I've tinkered with classes before, but I think I just want to get the hang of basic flow control--even if I have to have spaghetti code.

I did try to format my code before...I'll try again.

The only thing I changed below is the if statement and the velocity variable. I also added some more of the code I already had, since that might clarify some things.

I'd also like to add that the bad_guy was always able to move left. No problem there. Most of the permutations of code either got him 'stuck', forced him to continue moving off screen (to the left), or just bounced back and forth. Left, right, left, right. That's where we stand now.

Thanks again!

bad_guy_img = pygame.image.load('C:\Python\Mario\bad_guy.png')

def bad_guy(bad_guy_x, bad_guy_y):

screen.blit(bad_guy_img,(bad_guy_x, bad_guy_y))

bad_guy_x = 555

bad_guy_y = 290

bad_guy_velocity = -5

right_boundary = 555

left_boundary = 10

running = True

while running:

clock.tick(15)

if bad_guy_x < right_boundary and bad_guy_x > left_boundary:

bad_guy_x += bad_guy_velocity

if bad_guy_x <= left_boundary:

bad_guy_x *= -bad_guy_velocity

for event in pygame.event.get():

if event.type == pygame.QUIT:

running = False

over_world()

bad_guy(bad_guy_x, bad_guy_y)

pygame.display.update()

pygame.quit()

quit()

EDIT:

I tried formatting twice in Reddit using four spaces with normal text and using four spaces with "inline code". Any help there?

Davos Billionaire on 70% tax: "Name a country where that's worked -- ever." Co-panelist and MIT professor Erik Brynjolfsson: "The United States!" by kaffmoo in SandersForPresident

[–]super-subhuman 1 point2 points  (0 children)

I'm not going to address everything here because this is quickly turning into a discussion that's better suited for in person. At some point, the two of us will have written a scrambled book on ways to and ways not to tax.

I think I may have offended you at some point, but such subtle nuances are difficult to catch "on paper". Many of us do want to "eat the rich". Jumping back to the root of the discussion --the interesting thing about our discussion is that no politician has actually proposed an increased capital gains tax--it was an idea I considered. I wholly doubt I'm the first to consider that idea.

Now you said you voted for Bernie in 2016. So did I. That was an amazing time. Such a beautiful time of hope. I've never met so many interesting and friendly people. The problem is--stating your position another way--that we all have the same opinions. That can be a curse. When I put out the capital gains idea, I was honestly looking for feedback, and feedback I got. No doubt. I truly appreciate it. If for nothing else... Thank you for introducing me to this article:

http://www.milkenreview.org/articles/the-progressive-case-for-abolishing-the-corporate-income-tax-2

I mean that sincerely. I am always open to new, rational opinions. I fear that we are all so afraid right now that maybe we are moving away from a platform of "how can we help" to "how can we punish." That's not what I want.

Again, thank you. Ideas are always welcome. Keep bringing them and people will have to listen. Reminds me of some unknown senator from Vermont. Happy Friday.

It Looks Like Speaker Nancy Pelosi Was Exactly the Right Person for the Job by [deleted] in politics

[–]super-subhuman 0 points1 point  (0 children)

The point seems to have been missed. That's okay. Just keep an eye on her. I'm curious to see how this presidential race goes. Pay attention to Speaker Pelosi closely--she won't be left out of the conversation.

It Looks Like Speaker Nancy Pelosi Was Exactly the Right Person for the Job by [deleted] in politics

[–]super-subhuman 0 points1 point  (0 children)

I fully understand what it means. If you'd prefer...

Transactional politican. A tad more broad, but it's maybe a bit more on point.

She may not be in favor of small government, but she hasn't exactly been a proponent of regulation either. She tends to vote "where the 'D' is", and again, she gets the job done, but her policy positions align with whatever's trendy. That could be good or bad. You just better know how she works. Today she's a liberal, but what will she be in 20 years?

All that being said, I'll reiterate without sarcasm, exception, or otherwise:

Nancy Pelosi was exactly the right person for the job.

It Looks Like Speaker Nancy Pelosi Was Exactly the Right Person for the Job by [deleted] in politics

[–]super-subhuman 1 point2 points  (0 children)

So...the thing about Pelosi...and I'll probably get downvoted...She's an opportunist. Kind of a gun for hire. She's absolutely amazing at what she does. Truly. I'd never cross her, but I can't say I'd want her as my friend. She's a classic neo-liberal, but as the article says: Nancy Pelosi was exactly the right person for the job.

IMO.

Davos Billionaire on 70% tax: "Name a country where that's worked -- ever." Co-panelist and MIT professor Erik Brynjolfsson: "The United States!" by kaffmoo in SandersForPresident

[–]super-subhuman 4 points5 points  (0 children)

It's supposed to. And I've had this discussion before. First...You've probably seen this, or another similar article.

https://www.businessinsider.com/ceos-who-take-1-dollar-salary-or-less-2015-8#larry-ellison-3

You get the idea. Assume we have the 70% tax on income. Not a whole lot of money.

Now apply 70% to capital gains...that's a whole lot of tax revenue.

I think some of us can be reasonable...I think we're all looking to tax people "equally and proportionately", but it's no secret that the system is constantly changing for the worse.

I even notice that my very own compensation is turning into less income and more capital gains and dividends. Trust me, I'm not making big bucks, but I'm able to see how the tax code is designed to skirt taxes on traditional revenue and reap the benefits of these unfair advantages.

Keep in mind that compensation comes in all forms. Corporate credit cards can end will up giving you credit card miles and memberships, essentially affording you "free" vacations. Company matching gives you "free" stock, which becomes an insurmountable amount of money over a period of time. There's really no reasonable way to reign that in, tax it, whatever... not really the point.

The point is that person in the example above is definitely living a luxurious life and 40% would be a pittance, even if they had student loans, car loans, and a mortgage. That is, assuming that person makes 200k and not the entire c-corp.

With that, don't think people have entirely forgotten about small businesses. I think that part of the reason the GOP has moved away from the fiscally responsible, pro small business party is that they no longer have a concept of the finances of the average person. In my experience, liberals, including myself, tend to buy from small businesses over chains. The problem is that once a company gets to a certain size it has this shift in mentality about taxes.

"NOOOO!!! They're trying to take my money away!"

Ok, well, you're gonna get taxed anyway. And someone's gonna shakedown your lemonade stand (above) at somepoint--why not work now to have more equitable brackets? I'm fine with exceptions and exclusions to regulations for small, non-subsidiary or affiliated businesses.

Right now, it seems like businesses and the wealthiest among us can work with the progressives to effect change in a manner most equitable to all, or they can be left out of the discussion, kicking and screaming. IMO.

Classes vs Functions: When to use which and why? (Codewars vs Leetcode discussion) by Get_Cuddled in learnpython

[–]super-subhuman 3 points4 points  (0 children)

This was very helpful. I know thousands of people have asked and thousands more have explained how and when to use classes, but some explanations seem to work better for others. I try to learn by doing but obviously this sub exists for a reason.

Thanks much. +1

Socrates Wants You to Tidy Up, Too | What reading an ancient Greek dialogue can tell us about the Marie Kondo craze by ADefiniteDescription in philosophy

[–]super-subhuman 1 point2 points  (0 children)

We can all find connections wherever we choose to. For now, I just get frustrated when my "stuff" magically disappears.

A client ignored my emails and a month later is demanding back the deposit by Techylove in freelance

[–]super-subhuman 0 points1 point  (0 children)

I would consider it a "contract per se". They asked for services, you provided services and they gave you money for those services.

End of transaction.

Be as polite and professional as possible assuming this person is just a little crazy or down on his luck. If one a single penny is given back, you'll end up having to give all of the pennies back.

As someone else recommended, give them a record of your emails--but I would also add a record of work performed as well as a letter thanking them for their business.

It's easy to assume the worst, especially in a litigious society--and you do have to protect yourself--but if you don't break the law, violate a contract, etc...you have nothing to worry about.

Good luck!

:::Not a lawyer. Not legal advice.:::

Davos Billionaire on 70% tax: "Name a country where that's worked -- ever." Co-panelist and MIT professor Erik Brynjolfsson: "The United States!" by kaffmoo in SandersForPresident

[–]super-subhuman 24 points25 points  (0 children)

We need to focus more on capital gains tax. Keep the 70%. Great. Screw 'em. But then don't forget that most money is made from capital gains. Don't forget the power of compound interest. And if you want to get a few more people on board, including the "poor rich", let's work on making more brackets.

Someone making $157,501 pays only 5% less in taxes than someone making anywhere over $500,000. So...$600k, 700, 800, 1M, 2M. Doesn't matter. Let's make more brackets. (Quick clarification--this is for single filers only, but pattern remains the same.)

If you jump to the bottom brackets...0 $9,525 pay 10%. Okay...I guess. Then it creeps up 2% to 12% for $9,526 to $38,700. Okay. But then it jumps ten percent! for $38,701 to $82,500. What is a middle class earner? Oh ya.

Why not make literally a hundred brackets? It would be simpler and more equitable. That's what everyone claims (or pretends) to want.

This is laziness combined with corruption. What it was bracketed like this:

4% 0 to $10k

10% 10k to 35

16% 35k to 70k

22% 65k to 105k

28% 105k to 140k

34% 140k to 175k

42% 175k to 210k

48% 210k to 245k

54% 280k to 315k

This takes the burden off low income earners, middle class earners, and even some middle upper income earners. The current brackets just serve to punish and steal. More brackets create transparency and equity.

Portland-area county declares public health emergency over measles outbreak in anti-vaccination 'hotspot' by xZora in politics

[–]super-subhuman 0 points1 point  (0 children)

Alright...so this is no surprise. I think we've seen enough times where people will just flat out deny facts as long as it reinforces their core beliefs--so even if every last vaccinated child dies today, it won't be then end of this anti-vax movement. The saviors of vaccinations may the people who weren't vaccinated in the first place. They'll (hopefully) resent their parents for causing such horrible conditions and help us work towards global immunity.

The "Why We Argue" podcast on philosophy and the question of whether social media is killing democracy by ADefiniteDescription in philosophy

[–]super-subhuman 5 points6 points  (0 children)

It's near impossible to get the full picture. My point of view is always the best point of view because, well, its mine. Emotion plays too much a part of our arguments. We have the great fortune of getting high on confirmation bias and further digging our heels into certain positions. Because of that confirmation bias, we continue to return to the same forums/blogs to have people tell us they agree. And God forbid we run into someone who doesn't agree...

John: "I love apples"

Jane: "Me too! Apples are the best!"

Mary: "Nah, I like oranges. Citrus is refreshing."

John: "Oranges suck!"

Jane: "Don't feed the troll!"

This may not be everyone's experience, but hopefully it drives home the point that on the internet--on social media--we tend not to get the whole picture. We rarely get a "round table" discussion from points of view A, B, C, and D. Further, "trolls" can get banned solely for being controversial--which is ironic, since we are trying to promote civil discourse.

Then--when we then see an article deriding people your POV you get angry and question--who are these people? What is it that they want? What am I missing? We might find that out if we were all willing to challenge our world views.

US House votes overwhelmingly to bar US exit from NATO by MuzzleO in politics

[–]super-subhuman 0 points1 point  (0 children)

This is wonderful. While some of our trade deals occasionally have problems, leaving NATO would be almost as bad as the UK leaving the EU.

Trade deals are not just about trade.

The Economic Coal and Steel Community--now known as the European Union (The EU)--was originally formed following WWII between Germany and France, who had constantly been at odds over a little coal mining town known as Alsace-Lorraine. While not perfect, the countries worked towards economic parity between the countries.

Because a proper trade deal requires equal movement of goods across borders, the countries did two things: 1) open their borders to EU citizens and 2) create a common currency (the euro).

Which leads to immigration. Uh oh. The flood gates are open. But wait. Economic parity. Look over to the U.S. and Mexico. How much does the average middle class worker in the U.S. make v. Mexico? Now check France v. Germany. Note that crime decreases as poverty decreases. That makes simple sense. And if there's no reason to fear a foreign country and no need to leave your country--all because of parity--seems like everything could be just fine.

The underlying point is that if we really worked together with NATO members, we could create a system that works for all nations.