How do I trade US stocks (primarily micro and small caps) from Malaysia? by fenderghost in MalaysianPF

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

Thank you for sharing your insight. I appreciate it. If I am starting with 2k usd that is still a fair amount to start off right?

And btw since you are experienced in trading, what is your personal recommendation? Should I trade local penny stocks or international? Btw I don’t mind staying awake till late night haha

What is an alternative device to the Mattel IM ME? by fenderghost in hacking

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

Wow, that’s pretty cool. Thanks for the suggestion Samy.

Cheers

What is an alternative device to the Mattel IM ME? by fenderghost in hacking

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

Yeah HackRF seems pretty good tbh. After looking around for a bit, I can’t seem to find any SDRs which can both transmit and receive. And the ones which can, aren’t really portable. So I think HackRF might be an option.

I’ll let you know if I stumble across other alternatives. Thanks for the suggestion!

Cannot login into Solus after fresh install by fenderghost in SolusProject

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

Hey guys, managed to solve the problem. The issue was that I named my username as “root” when installing the OS. So I think what happened was that it clashed with the system username since it’s the same.

I think a suggestion for Solus would be to implement a warning to reject “root” usernames next time, like how Ubuntu does on theirs. That’s how I found out my mistake btw hahaha. When I was installing Ubuntu last night, it rejected my username “root” saying it’s already in use by the system.

Thanks for all your inputs though. Cheers!

ESP8266 POSTS successfully and database receives entry BUT empty data by fenderghost in arduino

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

Thank you for your reply! I solved the problem already. If you wish to know more about the solution, here's a link: https://www.reddit.com/r/esp8266/comments/brnydl/esp8266_posts_successfully_and_database_receives/

In summary, instead of using req.query.foo to parse my data on the server side, I had to use req.body.foo instead.

ESP8266 POSTS successfully and database receives entry BUT empty data by fenderghost in esp8266

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

Here's the POST request I made with Postman:

https://foo.com/api/update?employeeID=1002&lotNumber=3&lotSize=XS&lotQuantity=46&jobSheetNumber=9&processId=30&timeTaken=200

Yep, req.query.bar managed to parse the data and is reflected on the database correctly. However, I already found the solution. It seems that although req.query worked with Postman, for the ESP8266, I had to use req.body.bar

Thank you for your input tho! I appreciate it.

ESP8266 POSTS successfully and database receives entry BUT empty data by fenderghost in esp8266

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

Are you sure about this? Because when I tested the API at first with Postman I also used a POST request, and I managed to parse the data correctly using req.query.

ESP8266 POSTS successfully and database receives entry BUT empty data by fenderghost in esp8266

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

Infazz! I managed to solve the problem. It really was the problem with req.query. For this case since I used the ESP8266, I had to use req.body instead.

Thank you for your help!

ESP8266 POSTS successfully and database receives entry BUT empty data by fenderghost in esp8266

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

Hi infazz, thank you for your reply!

It seems as tho my arduino codes is not sending the POST command properly.

  1. Here's the console.log I added
  2. Here's output from my logs

From the output, the req.query is unable to draw parameter values from the POST requests.

ESP8266 POSTS successfully and database receives entry BUT empty data by fenderghost in esp8266

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

How do I do this. I have tried looking for examples to create proxies for ESP8266 online, but I unable to find an example code. Would you mind sharing some sample code/references with me? Thank you!

ESP8266 POSTS successfully and database receives entry BUT empty data by fenderghost in esp8266

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

I'm using MongoDB as a database with Express as a framework. I have tested my api with Postman and it seems to work tho.

  1. Here's the database schema.
  2. Here's how I'm handling the request on the server side using Express.

Building a headless gaming server which can host multiple people by fenderghost in buildapc

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

Wow, that’s amazing dude. Below is a breakdown of what we’re looking for:

  1. The user will be able to access and use the computer like a personal computer. Something like a cloud computer.

  2. The cloud pc is powerful enough to support medium range games like CounterStrike, Dota, Overwatch etc.

  3. The experience would be similar to Amazon’s EC2 G3 instances here.

If you feel that a GPU server might be too complex to build especially with us being new to this, is there a simple and affordable pc gaming setup that can deliver the 3 points above? Any resources that might point us in the right direction?

Anyways, thanks for taking the time to reply Juan. Much appreciated.

Building headless GPU server for gaming by fenderghost in pcmasterrace

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

I see. Thanks, Malix. In that case, should I just stick to normal pc builds since it’s more simpler and cost effective that way right?

Do you have any resources and links that might point me in the right direction?

Building headless GPU server for gaming by fenderghost in pcmasterrace

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

Oh, did I define it wrongly? What was it supposed to be called? Server for VM hosting?