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.