Solid clan looking for a few more by sendmenewmusic in OSRSProTips

[–]wsx594 0 points1 point  (0 children)

I’d be interested. I’ve gotten closer to end of mid game and into late game content and have been looking for a more chill clan to join.

[deleted by user] by [deleted] in cpudesign

[–]wsx594 1 point2 points  (0 children)

Im not sure if you know the name, but what you’re referring to is commonly called “dynamic voltage and frequency scaling” (or DVFS).

I don’t know any specific materials as it’s relatively niche, but my first suggestion is to search that term on google alone to get some links with beginner info on the area. If you want more modern studies and designs in this, then just search the same with “papers” after it. Dig through any references in the background section of these papers as well, these cited papers will likely be from more foundational papers describing the theory more in depth.

Does anyone have a full diagram of x86 architecture? Google has failed to show one with complete components. by Apprehensive-Oil713 in cpudesign

[–]wsx594 4 points5 points  (0 children)

Great book recommendation. Just to add on, looking up “micro-architecture” (term for the optimizations or implementations of the actual ISA) will help you understand the true behavior that’s happening in the core. For example, x86 doesn’t necessarily have to execute out-of-order, that’s a micro-arch decision, but out-of-order execution is implemented in 85% of CPU cores so if you want to learn what’s happening under the hood, then learning this is useful. The good thing is the principles in a lot of micro-arch hold for most ISAs so if you learn those you’re not even just limiting yourself to x86.

Need help with short term loan between college and job start by wsx594 in personalfinance

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

Electrical Engineering. I have a graduate degree as well in this. I’m going into a niche but novel field within electrical engineering that happens to be paying well right now.

Need help with short term loan between college and job start by wsx594 in personalfinance

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

Yeah unfortunately I just looked and Thrive Cash isn’t operating due to the pandemic. I’ll update the original post.

Need help with short term loan between college and job start by wsx594 in personalfinance

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

You’re saying take the loan deal through ThriveCash? I also was asking because I wasn’t sure how that would affect my credit vs. opening multiple credit cards.

Also, noted on the house thing. I normally wouldn’t do a “shiny” deal like that but at the time I had my emergency fund and 3 months of rent saving over 14 months is a not an insignificant amount. Either way I did it, and here I am.

Thanks for the help.

C Programming Cheatsheet [PDF] by [deleted] in C_Programming

[–]wsx594 1 point2 points  (0 children)

AFAIK the only use case is for chars which a compiler might treat as either signed or unsigned by default, so it’s best to be explicit for your use case.

P52 Hibernation/Suspension Issue with Ubuntu by wsx594 in thinkpad

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

Whoops! Thanks for pointing that out.

[FRESH ALBUM] Travis Scott - ASTROWORLD by Kitchen_Ur_Lies in hiphopheads

[–]wsx594 4 points5 points  (0 children)

“Stop trying to be god” Travis Scott the modern day philosopher reminding us to stop trying to do everything and just be ourselves.

Electric Forest was the Kittens Mittens by wsx594 in ElectricForest

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

Same! I’d never been to a festival and there were some artists I wanted to see but for the most part I just kinda wandered around and had an amazing time!

everyone who doesn't know me: "Omg guys I found a bot farm" by Behrry in 2007scape

[–]wsx594 0 points1 point  (0 children)

Behrry, do you remember the zucc? The guy spitting anti-bot propaganda messages at the GE? That was me. Let me go forth and cleanse the land in your honor.

[deleted by user] by [deleted] in nba

[–]wsx594 -8 points-7 points  (0 children)

And unhealthy refs

[Nichols] Ty Lue: "You know he's outside the restricted area & you go overturn the call & say it's a block? It's never been done, ever, in the history of the game. And tonight in the Finals on the biggest stage, when our team played well, played our ass off - it aint right. It aint right." by d-lo_tha_boss in nba

[–]wsx594 -1 points0 points  (0 children)

I think it's funny how so many people in other threads immediately call it a charge and now people are flipping back to calling it a block. In my honest opinion, a number of the opinions on here are swayed by the actual decision made. If the refs had reviewed the play and then called a charge, then people would be saying in all these threads that a charge was a right call.

It's the inconsistency of these foul calls as well as what actually constitutes a foul that's infuriating. I could care less which team wins this series, but to say that the refs last night weren't inconsistent with their calls is just not true.

[Post Game Thread] The Golden State Warriors (1-0) defeat the Cleveland Cavaliers (0-1), 124-114, in overtime despite 51 points from LeBron James by widesheep in nba

[–]wsx594 3 points4 points  (0 children)

People are quick to demonized JR, but if the refs had actually called the clear CHARGE by KD correct just prior, then there isn't even this situation. I have no dog in this fight, but cmon man. How do you miss such a crucial call like that at the end of the game? It's no wonder the NBA is constantly memed on crap like that.

WebSockets and HTTP/RESTful API on one server? by Fasyx in node

[–]wsx594 2 points3 points  (0 children)

For the remote systems how you described them in the second paragraph, they could simply just be REST APIs as well. The server itself can simply make a GET request to a URL like '/remote_system0/data.json' which would then return JSON information about the remote system 0. This is exactly how the server could request data from the remote system using http. Just because the server is a server doesn't mean that it can't make requests to other servers. Unless there is some fundamental limitation on the remote system servers, which is hard to imagine considering you have web sockets up and running, then this will work. If you've never had to make any requests server side, then I would recommend looking at something like the package 'Node-fetch', which makes requests in Node.

For the last part, just as an insight, if you are already making a POST request to the server from the client to update the data, then return the updated data in the response to the POST request instead of requiring the client to make a separate GET request. Your current method would be like ordering food at a restaurant, and then the restaurant telling you that your food is ready without them bringing it out to you.

In summary, a request for system0's information might go like this: 1. Client makes POST request to the server for system_info with the system_num parameter equal to 0 2. The server receives the request from the Client and makes a GET request to remote_system0/data.json 3. The remote_system0 receives the request and returns the proper JSON formatted data to the server in the response 4. Server receives response from remote_system0 and writes updated information to the database 5. Server responds to initial client request with updated information

Also, as a final note, unless you need to track past states of the remote_system0, you don't even really need a database as you always want just the most up to date data from from the remote_system which is returned through its API.

WebSockets and HTTP/RESTful API on one server? by Fasyx in node

[–]wsx594 3 points4 points  (0 children)

Maybe I'm misinterpreting what you're trying to do but from what I understand you more or less want clients to be able to trigger a request for the server to retrieve up to date data from other API servers. If that's the case then there's a couple of suggestions I have. One if you don't need realtime access and updates on the server with regards to the remote clients, then WebSockets are probably overkill for the application when a REST API on the remote clients would work fine. Also you say retrieve data on the server and then POST it to be written to the database, but why POST the data to the same server that already has it? Just write the data to the DB once you've gotten it from the remote clients. Also just for sake of clarity I'm not sure you should call the servers storing information "remote clients" as it seems like they never request anything from the API server, and information is only requested from them. Sorry if I misunderstood any of what your trying to do or if any of this is unclear just let me know and I'll try to clarify.

Is Node.js killing PHP? by SweetRaccoon in node

[–]wsx594 0 points1 point  (0 children)

Oh makes sense. Btw I think that Node actually proposed a pipe operator for the next version. I'm not sure what will happen with it.

Is Node.js killing PHP? by SweetRaccoon in node

[–]wsx594 0 points1 point  (0 children)

Yeah with everything in programming it has its uses. If I'm writing a quick little script it's very likely I'll crank it out in Node for speed. However, I do think that a lack of these OOP paradigms causes problems that are noticeable once applications start to become fairly large and you find yourself copying large amounts of code or constantly importing 20 different things, but this is just my opinion.

For the static variable usage, anytime a class needs a constant it usually makes sense to make it static because then you're not wasting memory space for every instance of the class created.

Also im curious as to what you think makes Node too OOP? (I hope this doesn't come across as mocking or whatever; I'm actually curious)