Message from @ThisIsChris

Discord ID: 499356622133395457


2018-10-08 21:33:35 UTC  

Microsoft Edge PDF reader question: you can type notes on PDF documents, but how do you print the notes?

2018-10-09 08:11:59 UTC  

Sorry not experienced with Edge as I don't use it, let alone for PDFs, but I'd expect it to be a near-barebones PDF reader at this point. Can you find any options directed at the PDF reading function of Edge? If not, what about the ability to export PDFs from Edge to say...PNG files? Maybe it will export the notes into the image too.

2018-10-09 08:13:44 UTC  

The most vulgar/inconvenient way to do it would be screenshots saved as images then printed out, without a lot of tweaking it will look bad but you will get those notes...

2018-10-09 12:32:16 UTC  

@wolfwood ty for reply. I can’t seem to find the function, but I don’t know why they would have a notes option if you can’t print the notes

2018-10-09 21:33:24 UTC  

@ThisIsChris Can I constantly ping an endpoint using a personal computer? Do I need some kind of server set up? Or do I just need a program running constantly in the background?

2018-10-09 21:36:40 UTC  

@Jacob yeah you can constantly ping an endpoint using a personal computer. Some endpoints have a rate limit (usually pings per minute or pings per hour) after which point they will tell you that they won't respond with useful information until you slowdown. But the first step is to try pinging it constantly and then only adjust things if you run into an issue

2018-10-09 21:38:29 UTC  

Okay this bot idea might actually be easier than I expected

2018-10-09 21:39:32 UTC  

Here's the concept:

2018-10-09 21:39:35 UTC  

> create a bot that crawls r/changemyview
> send my a notification every time someone makes a post or comment on immigration
> have a document with responses to all the pro-immigration arguments
> literally just copy paste

2018-10-09 21:40:05 UTC  

This could actually influence public opinion with minimal effort. I could make it impossible to be pro-immigration without being met with opposition.

2018-10-09 21:41:36 UTC  

If I want it to take it a step further, I could potentially not even read the comments myself, and just have the bot send an automated response based on key phrases. For example, if the bot finds "immigration grows the economy", it could send a canned response explaining the difference between GDP, per capita GDP, and per capita GDP adjusted for inequality.

2018-10-09 22:04:13 UTC  

@Jacob that's a good idea, though if you automatically post a canned response then they will probably ban your boy from posting in the subreddit. Btw if you want to *post* then you'll need a Dev account for your not, and you'll probably want to use PRAW though it's not strictly necessary. Checkout r/redditdev for more info. If you just want to scan comments though then you don't need the dev stuff. That's what I do, scan comments and then send an email to myself and whoever whenever keywords are found that O might want to respond to. Then I do have canned responses that I copy and paste but I usually edit the opening sentence to make it relevant to the post I'm responding to. I did that a lot to teach people about how what is usually seen as white privilege is actually just Jewish privilege

2018-10-09 22:13:50 UTC  

Ya using the bot to post canned response might be a bit much

2018-10-09 22:22:32 UTC  

It's probably not necessary to go that far anyway. It's not like it's a lot of work to go into my document, copy paste, and maybe switch out a few words.

2018-10-09 22:36:27 UTC  

@Jacob completely agree

2018-10-09 22:41:26 UTC  

You think this is something I should try doing myself after having taken 3 Java classes? Or should I use your white privilege bot and modify it?

2018-10-09 22:57:14 UTC  

@Jacob I'm sure you could do it but there's no sense reinventing the wheel, here's the scraper

https://cdn.discordapp.com/attachments/352761432833523713/499354684952412161/Redditconversationscrapper.py

2018-10-09 22:58:38 UTC  

Not sure if you have python set up already, let me know if you can run the script

2018-10-09 23:00:45 UTC  

okay thanks

2018-10-09 23:01:26 UTC  

I was thinking of doing it as a programming exercise, but my time would probably be better spent practicing what I'm learning in class.

2018-10-09 23:04:56 UTC  

There's plenty to add to the script if you like

2018-10-09 23:07:56 UTC  

Here's one idea we had in another Discord server

2018-10-09 23:09:14 UTC  

Once a comment is identified as being about immigration, scan the comment for particular phrases, like "jobs Americans won't do". Then, when the bot sends me the email, it would it provide both a link to the comment, and a few potential counterarguments based on the key phrase found.

2018-10-09 23:10:35 UTC  

So, let's say I have a database with 30 counterarguments. That's a lot of work to open it up and sift through it each time to get the right now. So, instead, the bot would send me 3 counterarguments in the email that are likely matches based on the text of the comment.

2018-10-09 23:12:41 UTC  

why not just *become* the machine
mindexplosion.jpg

2018-10-10 00:01:26 UTC  

@ThisIsChris Do you think you could add some comments to that code to explain a bit what each section does?

2018-10-11 17:37:21 UTC  

@Jacob alright, here you go!

https://cdn.discordapp.com/attachments/352761432833523713/499998960702717982/Redditconversationscraper_COMMENTED.py

2018-10-11 17:38:17 UTC  

Thanks!

2018-10-11 17:40:24 UTC  

You're welcome! I tried to be thorough with the comments but let me know if there's anything unclear

2018-10-12 04:31:48 UTC  

<@&435155896780324864> Anyone online to help me with Java?

2018-10-12 04:33:51 UTC  

Depends, I took it last spring and I'm doing C++ now. What'd you need?

2018-10-12 04:34:37 UTC  

to find out what's wrong with this program

2018-10-12 04:37:56 UTC  

https://cdn.discordapp.com/attachments/352761432833523713/500165199664381952/StartupCode.zip

2018-10-12 04:38:02 UTC  

okay this is the right one

2018-10-12 04:47:00 UTC  

Is it not compiling?

2018-10-12 04:47:27 UTC  

There's an error on line 155 in the CDoublyLinkedList class

2018-10-12 04:47:34 UTC  

I'm not sure how to compare the objects

2018-10-12 04:54:36 UTC  

what is the purpose of the program?

2018-10-12 04:57:57 UTC  

to make a circular doubly linked list and test it

2018-10-12 04:58:06 UTC  

@ThisIsChris can you help me with this?

2018-10-12 04:59:50 UTC  

@Jacob
line 155-156 is:
```java
if (sortedCurr.data.equals(curr.data) ||
sortedCurr.data.compareTo(curr.data) > 0)
```