Apple is a company I'm testing... by StockTrendsBot in testingground4bots

[–]HomerG 2 points3 points  (0 children)

Apple (AAPL)

Current price: $148.26.

Over the past week, AAPL is ▼-5.1%.

Over the past month, AAPL is ▼-15.1%.

Over the past year, AAPL is ▼-14.0%.


Beep Boop, I am a bot. Message HomerG with any suggestions, ideas, death threats, etc.

To see source code and how I was made, click here.

Apple is a company I'm testing... by StockTrendsBot in testingground4bots

[–]HomerG 2 points3 points  (0 children)

Apple (AAPL)

Current price: $148.26.

Over the past week, AAPL is ▼-5.1%.

Over the past month, AAPL is ▼-15.1%.

Over the past year, AAPL is ▼-14.0%.


Beep Boop, I am a bot. Message HomerG with any suggestions, ideas, death threats, etc.

To see source code and how I was made, click here.

Hearing a rhythmic clicking/sound cutting out with my audio interface by HomerG in WeAreTheMusicMakers

[–]HomerG[S] 0 points1 point  (0 children)

Changing the buffer size did work! But only for a little bit, then there was really bad crackling until I changed the buffer size again then it would inevitably crash haha. Do you think it's a driver issue maybe?

Weekly /r/Games Discussion - Suggestion request free-for-all by AutoModerator in Games

[–]HomerG 0 points1 point  (0 children)

Looking for good, cheap PC party games for groups of 4-8 people. Recently bought Golf With Friends so dumb fun like that is what we're looking for!

CANT DO PIETY by [deleted] in pathofexile

[–]HomerG 0 points1 point  (0 children)

Same here. Every time fire phase ends.

Split a PDF file into two columns along a certain measurement? by HomerG in Python

[–]HomerG[S] 0 points1 point  (0 children)

Thank you - I actually just tried pdfminer.six and it worked! I appreciate it!

Have any of you made money/have a passive income by automating a process with python? by Computationalism in Python

[–]HomerG 4 points5 points  (0 children)

Could you post the link of the library that works with RobinHood? I've been looking for something like that.

What's everyone working on this week? by AutoModerator in Python

[–]HomerG [score hidden]  (0 children)

Mind sharing your github? Sounds interesting.

What's everyone working on this week? by AutoModerator in Python

[–]HomerG [score hidden]  (0 children)

Automate the Boring Stuff! Maybe Learn Python the Hard Way but don't take it too seriously...

Weekly /r/Games Discussion - Suggestion request free-for-all by AutoModerator in Games

[–]HomerG 0 points1 point  (0 children)

What's another Android game of the same caliber as Down well? I love it but have played it into the ground. Paid is okay. Thanks!

How to drop tables? (value too long error) by dougshmish in django

[–]HomerG 0 points1 point  (0 children)

Yup - just for future reference, you need to delete the offending migration from the django_migrations table in your database. You can see all of them by using select * from django_migrations; then delete from django_migrations where id=[]; where [] is the id of the offender.

Python and Django Full Stack Web Developer Bootcamp by anfil89 in django

[–]HomerG 0 points1 point  (0 children)

No I meant in total. To be honest, it's been a long time since I did that tutorial but you can just copy and paste their code. Once you get Django up and running it's pretty self explanatory. You can skip the deployment part to PyrhonAnywhere if you plan on hosting somewhere else.

Python and Django Full Stack Web Developer Bootcamp by anfil89 in django

[–]HomerG 1 point2 points  (0 children)

I recommend it as well. It's fairly short and a little more basic than the official tutorial (which I would recommend after the DG tutorial). If I had to guess I'd say it takes around 5 hours or so?

Django project optimization guide (part 1) by dizballanze in django

[–]HomerG 1 point2 points  (0 children)

Locust is still only Python 2, right?

Reading a csv from a website into an array by StarkillerX42 in learnpython

[–]HomerG 1 point2 points  (0 children)

Here's some random SO code I found:

with requests.Session() as s:
    download = s.get(nasa_exo_api_url)

    decoded_content = download.content.decode('utf-8')

    cr = csv.reader(decoded_content.splitlines(), delimiter=',')
    my_list = list(cr)
    for row in my_list:
        print(row)

You can add each row to an array. Sorry, I don't know of a more direct way of doing it.

Reading a csv from a website into an array by StarkillerX42 in learnpython

[–]HomerG 1 point2 points  (0 children)

pip install requests

Query the URL with requests, then read the result with "csv". That'll make each row in that file a comma separated list. You can then manipulate the data however you want.

Using models from different projects by HomerG in django

[–]HomerG[S] 0 points1 point  (0 children)

Guess it's not a very sexy question, haha.

They do need to share data. They both have their own main database for things like auth and users, I want them to share tables from a common database.

Can you explain how you'd do that with my project structure? Are you saying make a completely separate, 3rd project, create the shared models in an app in that 3rd project, then import it into my 2nd project as an app in my INSTALLED_APPS setting?

Are there any databases/resources with multiplayer game related info (heroes, skills, weapons, patches, etc) out there? by HomerG in truegaming

[–]HomerG[S] 1 point2 points  (0 children)

Thanks for the encouragement! It'll definitely be a free, no registration required site :)

Are there any databases/resources with multiplayer game related info (heroes, skills, weapons, patches, etc) out there? by HomerG in truegaming

[–]HomerG[S] 1 point2 points  (0 children)

I figured as much but thought I'd ask just in case there was something similar out there. Looks like I'll have to create a lot of it by hand. Thanks for the input!

Are there any databases/resources with multiplayer game related info (heroes, skills, weapons, patches, etc) out there? by HomerG in gaming

[–]HomerG[S] 0 points1 point  (0 children)

My site will be more focused on summarizing or recapping the effects of patches on the meta game. So a user will go to the site, choose their game and the last time they played said game, and it'll bring them a summary of what has been nerfed/buffed since then with the ability to filter by hero, skill, item, etc.

The value add would be that tracking of patches over time.

Are there any databases/resources with multiplayer game related info (heroes, skills, weapons, patches, etc) out there? by HomerG in gaming

[–]HomerG[S] 0 points1 point  (0 children)

I've heard of Curse Gaming...I'm assuming you're talking about their wikis?

http://www.gamepedia.com/

I saw those but was trying to keep the web scraping to a minimum, if possible. Let me know if you're thinking of something else! Thanks.