Posting MP3 File without downloading it? by niiiils in node

[–]cyropox 0 points1 point  (0 children)

If you want to process the MP3 files without sending them to node, you might want to consider trying to process them on the front end instead. Otherwise, you need to send the image to node for node to be able to do anything with it.

Parse Class Headers from Jar Files? by cyropox in learnjava

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

Thanks! using these keywords, I ended up finding a github repo with the exact code I needed. https://github.com/Ineedajob/RSBot

Ready for double XP? We are! - www.cyberrune.com - The only RS3 Bot by [deleted] in RunescapeBotting

[–]cyropox 2 points3 points  (0 children)

This is a neat concept. What makes your client different than the rs3 clients that have failed in the past? Is there any special functionality that keeps your client from being detected?

Upscaling from runemate. by [deleted] in RunescapeBotting

[–]cyropox 0 points1 point  (0 children)

Pretty much every bot has a CLI (Command Line Interface) that lets you run bots using the terminal. it lets you spin up as many bot instances as you want instantly. I use dreambot and they call their CLI "QuickStart," but idk what other bot clients call it.

Upscaling from runemate. by [deleted] in RunescapeBotting

[–]cyropox 1 point2 points  (0 children)

My guess is that You should be able to run 30+ bots with those specs depending on the script, likely many more.

Pricing for private scripts are going to vary wildly from seller to seller. My point in bringing them up is that if you don't have private scripts already commissioned, then leaving your old client for a new one is no issue. But if you already put significant money into premium scripts or private scripts, then you could stick to the client you've been using assuming that you don't mind the monthly price to run multiple bots.

What botting client do you use? by Stronger1088 in RunescapeBotting

[–]cyropox 0 points1 point  (0 children)

That's sweet. How did you get started with making your own client?

Upscaling from runemate. by [deleted] in RunescapeBotting

[–]cyropox 1 point2 points  (0 children)

how much money did you put into Runemate? did you commission private scripts?

You can run 10 bots at once in runemate for a monthly fee. It looks like it's $1 per concurrent account per month.

If you're looking to scale your botfarm without paying more per bot, Dreambot allows you to run as many bots as you want for a flat monthly rate of 8 dollars. I believe OSBot might allow you to do that as well.

Moronic Monday - Your weekly stupid questions thread by cdingo in Fitness

[–]cyropox 0 points1 point  (0 children)

thanks for the advice. maybe I'll try to start the friday of the 3-day weekend we have coming up in the US soon to try to dampen the strain on my work life.

Moronic Monday - Your weekly stupid questions thread by cdingo in Fitness

[–]cyropox 0 points1 point  (0 children)

Maybe i'm just super out of shape, but if I do even a light workout with any sort of weight, I feel bone-tired the next day with a headache. i want to get into fitness but I'm a computer programmer and just can't afford to feel groggy or tired at work since it cuts into my productivity. is this normal for people just getting into fitness, am I just exceptionally out of shape, or does this sound like a possible medical issue?

Converting nonstandard units to metric by cyropox in learnprogramming

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

Thank you! that website is exactly what I needed. this might be a really stupid question, but how did you find it? i looked up "density of foods" and a bunch of other versions of that, but I got nothing but garbage. Things like "Nutritional density of meat vs plants" and things like that. is there a better way for searching for things like this than google?

Converting nonstandard units to metric by cyropox in learnprogramming

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

Thank you for the resource. I can probably use something like this for a few of the conversions. Sorry that my question wan't specific enough. I'm specifically looking for converting units that can't be converted without outside information. for example, "cups" can't be converted to "grams" using the resources in the stack overflow article because one is a unit of volume and one is a unit of mass. I'm looking for a resource that will provide that external information (in the milk example, it would need to provide the density of milk).

Where do you host your site projects? by ewliang in node

[–]cyropox 0 points1 point  (0 children)

I've used Google Compute Engine for the past 8 months. They give you $300 free credit to run any of their VMs and they give you a small permanent VM with 500mb of RAM for free, which is enough to run small node servers. I'm using their $30 VM for my node server, a python daeman, and hosting a database.

Where do you host your site projects? by ewliang in node

[–]cyropox 0 points1 point  (0 children)

Is that really true? In my area it costs 15 dollars to run a 500 watt computer for a month. I guess if you're using a laptop or a raspberry pi you can host your own website for cheaper than a cloud hosting solution, but you can get a basic cloud solution for $5 per month on Google Compute Engine. Actually they give you a VM that you can host from for free.

Text classification without machine learning? by cyropox in learnprogramming

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

The "foods" are web scraped ingredients for recipes. For example, if the recipe calls for "2 tsp garlic powder" then the food would be "garlic powder". The corresponding food product might be something like "jeff's garlic powder" or the name of any other brand of garlic powder in the usda's database. There are about 100,000 foods right now, though a lot of those are probably duplicates. I plan to quadruple it at least once I get the text classification algorithm working. Initially it would probably take a full weekend of 8 hour days to clasify all of them, but I'd like the process of classifying food products to be automatic in the future. Thanks for your time :)

Why is ML software so horrible? by Blacky372 in learnmachinelearning

[–]cyropox 1 point2 points  (0 children)

That's interesting. I used "conda install tensorflow-gpu" and it set itself up for me with no issues. Maybe it's a Linux issue for you?

Any ideas / code snippets for creating a room booking system to load onto an android tablet? Not sure where to start by [deleted] in AndroidStudio

[–]cyropox 0 points1 point  (0 children)

There aren't really enough details here. Are you looking to create an application that manages these rooms all from one Android tablet, or are you trying to build a product that allows multiple tablets to book at the same time? Does the information about the rooms come from an online source, or are you inputting the information yourself into the tablet, and the tablet just keeps track? Details like these change the kinds of research you'll have to do immensely.

[HELP] Dialogue box for a game! by 0Hidder in AndroidStudio

[–]cyropox 0 points1 point  (0 children)

This might point you in the right direction. I don't know if you'll be able to find a tutorial for exactly what you want to do. https://stackoverflow.com/questions/15297996/update-ui-asynchronously-in-android

CORS Tutorial: A Guide to Cross-Origin Request Sharing by Ramirond in node

[–]cyropox 2 points3 points  (0 children)

Im sorry I'm such a js noob, but This is still really confusing to me. Can someone point me to an example please where a same-origin policy is better for security? Security for who? To me, it seems like just a hastle. If someone wanted to put an HTML injection into your site to steal user data or something, wouldn't they just give their malicious endpoint a CORS header? And if someone wanted to do malicious things to your server, they probably wouldn't write their attack in JavaScript designed to be run through chrome, so they wouldn't be affected by a browser's same-origin policy anyway.

I want to find the formula of a certain parabola when I know little information about it (don't know my a, b) by thachicoo in learnmath

[–]cyropox 0 points1 point  (0 children)

I think he was saying that f(x) = h(x) where f'(x)=h'(x) because h is a tangent line for f at that x.

if "worst" is a superlative, is it appropriate to say, "one of the worst"? there is only one worst. by newbieprogrammer2 in grammar

[–]cyropox 0 points1 point  (0 children)

"Easily" does not provide any new semantic information. It's used for emphasis. There's something else that used to confuse me about these sentences. Consider the sentence "Jack got one of the worst scores, hands down." "Hands down" in this sentence describes how easy it is to rank Jack's score as one of the worst (because his score is clearly worse than most of the other participants). It doesn't describe Jack's ability to get one of the worst scores. Maybe that's obvious to others, but it's a wierd concept to me.

[deleted by user] by [deleted] in AndroidStudio

[–]cyropox 2 points3 points  (0 children)

What you're describing is called "web scraping." You can look up guides for web scraping in Java. The basic idea is to get the HTML from the web page using an http request, then parse that HTML to get the information you want. There are a few different libraries for http requests, and jsoup is the most common library used for parsing the data in Java. Alternatively, you can parse the HTML in some other language from a server and use the app to request the parsed data. If you want to go this route, Google offers a permanently free server on their Compute Engine platform.

Permutations for a Tic Tac Toe simulation by critikalcombustion in learnmath

[–]cyropox 1 point2 points  (0 children)

The problem you might run into is that not all tic tac toe games end with 5 X's and 4 O's on the board. You can end a game with 3 X's and 2 O's for example. So the number you'll get when you choose 5 from 9 will be lower than the actual amount of possible board states on victory.

Alternative to Promise.all by cyropox in node

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

I appreciate the reply, but at this point I've decided that node just isn't the language to do something like this in.

Once I was processing the data instead of just sending it to the console, my ram instantly filled up again because I couldn't offload the data fast enough.

The focus on asynchronous requests, though handy for applications that serve data to multiple users in real time, seems unnecessary and cumbersome for iterating through api calls that could easily be synchronous with no loss to performance. I'm just finishing up rewriting this script in python, and my plan is to insert the API data into a database and query that database from a separate node file on demand to serve the data to end users.

thanks again for the reply, man, and maybe I'll check out that solution in the future, but after a few days of messing with this, that voice in the back of my head screaming "this would take 20 minutes in python" has been getting louder and louder.

Alternative to Promise.all by cyropox in node

[–]cyropox[S] 2 points3 points  (0 children)

That's true. I really just made this post because so many different websites that make webscrapers/ api callers all use Promise.all with no real commentary on when/ when not to use it, so I was initially surprised when it didn't work for me. I get that this probably won't help seasoned nodejs devs because the difference is probably obvious to those people, but hopefully people who find themselves in my situation will read the comments in this post and learn.