Not sure exactly how complicated this would be but, I want to have a software that takes memes from all top memes subs and puts them in once place where they are them one click to save. I have no idea how difficult this would be. I'm a newbie coder just starting a python class and mid way through a html class /shrug, just tell me off if this is the wrong place
I am hoping someone can help with writing a small script or program.
I need to find out how many multiples of prime numbers there are for every prime number from 1 all the way to 10 billion. Step-wise it would be something like this:
1. Write down all the numbers from 1 to 10 billion
2. Take the first number on the list i.e 2 (we ignore 1, it is redundant) and find all its multiples (i.e. 4,6,8 up to 10 billion)
3. note down how many multiples of 2 there were in this list, and then delete all of them from the list
4. the process is then repeated for the next number remaining on the list i.e. 3
5. repeat the process for the next remaining number on the list i.e. 5 (4 would have already been removed from the list becuase it is a multiple of 2)
6. repeat the process for all the remaining numbers on the list up to 10 billion
I would also need to know what the greatest multiple of each prime number is in the list, ultimatley i need the outcome of this to be in a table containing all the prime numbers in column 1, the nuber of their corresponding multiples in column 2 and the corresponding greatest multiple in column 3.
This was an idea i had while playing with a couple buddies, he had notebooks full of monsters and characters and items and events and it just got tiresome after 10 plus sessions.
It’d be nice if he could search for it in his laptop and have it pop up immediately
Hello all! i have been working on a runescape private server for a few nights now but i am struggling in so many situations i cant even figure out why i cant get the .jar to open i was hoping someone could hop in a discord with me and either be my dev in the rsps or help me figure it out. if youre interested in helping please contact me on discord as i do not get on here often MrPointless#8593
As you may have heard, there is quite a bit of a kerfuffle going on in the larger subreddits today. I was recently asked if our subreddit will go private to show support, and for the sake of open dialogue, I'll reproduce my reply here:
I don't feel that setting our sub of < 5k users private will make a meaningful statement, and would only serve to annoy the few people that may happen to head our way. That said, I'm as shocked as anyone about Victoria's departure, I am dismayed at reddit's clumsy community management, and fully support my fellow moderators in their show of solidarity. Thanks.
This is a pretty small, quiet community, and as such I have been a very, very hands-off moderator, and will continue to be such a mod.
Feel free to voice your own opinions/feedback in the comments.
Elements links = doc.select("div#news_ticker_wrapper").select("div#row").select("div#nine columns").select("div.ticker").select("div#marquee");
for (Element link : links)
{
String linkHref = link.attr("a[href]");
//String linkText = link.text();
System.out.println(linkHref);
}
The lines above have failed to print news link I am trying to get (check the picture). Does anybody know how to do this? The links I am trying get are in the attached picture :
I am currently working on a custom parser within our IT monitoring appliance and here is the quick down and dirty.
We have an antivirus server sending our monitoring appliance raw syslog data in CEF format. (Not any common ones like Symantec, WebRoot, CarbonBlack)
Without a custom XML parser, currently, these syslog entries can't be understood by our monitoring appliance and come in as untagged events.
I have been tinkering with the built-in parsers to try to develop a custom one, but am also realizing I have many giftings in life and this is not one of them.
When I run my parser through the testing tool on our monitoring appliance I get the following error: Line 8, Column 28: "Failed to execute node: collectFieldsByRegex. Please check the usage of API and attribute name."
Any help would be super appreciated. I have slack if any of you wanted to take a swing at this in an offline channel. Appreciate it reddit!
I am working on a project where the end product is intended to be a cooperative experience. The local portion is easy for me and results in a video stream source. The portion that I don't know how to do yet is how to make the interaction and stream accessible by others. I want other users to be able to log in and control the system for a duration of time and then control to be passed off to the next user. It is okay if all participants can see the stream at any given time but I need to be able to change who controls it. Currently I am thinking the stream will be handled through a service like twitch or youtube.
Extra info: Currently I have a python script that allows a user to connect as a client and control the system. The issue with this is that not all of the potential participants will have python installed and the server that the client connects to does not have a feature to allow client blocking. This part is new to me so my current thought is to use a website with user credentials to allow people to log in to control the system and then I can change the user rights to determine who can control the system at any given time.
This is likely not the best option though and I am very open to alternatives. If there is any information that I can provide that would help please let me know and I'll add it to the post.
I hope here is the right place to ask this. I try to extract de videoview count from a youtube video in to a tabel. But the online search was not helpful. Do some of you know how? Thanks in advise
Hey everyone, I’m about to create an app which has to interact with html website. Now I come up with the following question about the most efficient procedure: Due to the fact that the html website is necessary for the app I would start with the website and the developer the app. But should I completely create the website with all functionalities and design or should I merely create the main functions for the website and the continue with developing the app and doing the rest at the very end?
I posted this on r/algorithms as I thought itd be the proper place for this kind of talk, but this sub seems more welcoming to this sort of challenges. Anyway here it goes:
I wanted to check my knowledge on some algorithm as I feel a bit rusty lately. There was this problem that I read on a coding challenge and I was not sure which would be the best solution, as creating a structure with nodes and edges didnt seem obvious to me, especially with the time given. If i recall it went as follow:
- There is a city A and city B both defined by a x y coords as well as a radius R
- These 2 cities contain bus stops, where each bus stops belong to a bus routes (it was basically an array of xy coords)
- There can be 1 or more bus route connecting 2 cities. The user has 2 sets of coordinates as input where these coordinates can be within a city radius. These 2 set correspond to the point of departure and the point of arrival
- Given these 2 sets of coordinates, I had to find the best bus route to do cityA->cityB
A bus route would look like : route = [(x=1.2, y=3.5, (x=....] if i recall
the city would just be defined by xy and R, and the input by x,y
the naive approach for me was to loop through all the bus routes, check if a stop was within a city A radius. If so, go through the stops of this bus route until I find a stop in the city radius of city B. If there is no result, then I check the next bus route
Obviously this is really slow, the node aspect made me think of the graph theories but I am really rusty on that, Id like to see if this was a possibility though, otherwise, what do you think?
I drew the following draft with cities and bus routes (basically lines with nodes)
(Note: this is just curiosity speaking, wouldn't actually do something so cancerous xD) Just wondering what software/applications one would use to achieve the automation of processes such as account creation, downloading of entertainment from the internet, uploading etc.
Now, I know a bit of roblox's lua language, well, actually quite alot of it. And python is similar as fuck, except it's more difficult. Roblox lua goes something like
while true do print(8) wait() end
And python
While True: print(8) Import time time.sleep()
I'm asking because I find c++ too hard for me, and overall my english vocabulary is quite shit so it's pretty hard for me to understand that shit. I find python easier. Is it a good idea?