This is what iPanel was, (and yes it was finished via github) , however in Node.jeez, another one. you're starting to get like a certain some-one .
Not sure why you have it displaying the RAM and CPU cores, it's pretty useless imo. I like the design of it though, looks clean and simple. Good luck.
haha, you're not funny.jeez, another one. you're starting to get like a certain some-one .
Not sure why you have it displaying the RAM and CPU cores, it's pretty useless imo. I like the design of it though, looks clean and simple. Good luck.
I don't care about patterns, it's not a heavy end app for a major company. The sooner I stop caring about patterns which are irrelevant in my future, the fastest the updates will be. I simply use it for control flow, and the reliance if you must know is where models have to be initiated before website logic, and where website logic follows its pattern by matter of what the request touches first.haha, you're not funny.
ON-TOPIC:
You must be registered for see links
still an anti-pattern.
You must be registered for see links
Running these in parallel but none of them seem depend on each other so it's kinda redundant to do so.
at least some of us know enough to give actual criticism .
This is what iPanel was, (and yes it was finished via github) , however in Node.
Showing RAM and CPU is basically for those annoying owners who buy dedis to show off their specs LOL that and it's a nice place holder
I was giving my feedback, I wasn't criticising him on anything. oh also, who said I was aiming it at you? maybe you do it on purpose.haha, you're not funny.
ON-TOPIC:
You must be registered for see links
still an anti-pattern.
You must be registered for see links
Running these in parallel but none of them seem depend on each other so it's kinda redundant to do so.
at least some of us know enough to give actual criticism .
Parallelism is not for functions that are 'dependent' on each other... You really, really, really need to stop talking out of your arse. Also, a single, read-only global variable can be useful in many cases.haha, you're not funny.
ON-TOPIC:
You must be registered for see links
still an anti-pattern.
You must be registered for see links
Running these in parallel but none of them seem depend on each other so it's kinda redundant to do so.
at least some of us know enough to give actual criticism .
"Parallelism"Parallelism is not for functions that are 'dependent' on each other... You really, really, really need to stop talking out of your arse. Also, a single, read-only global variable can be useful in many cases.
"Parallelism"
I think you're misinterpreting the purpose of async.parallel in node.js, you've used it in how many occasions or are you just going off prior knowledge of what asynchronous and parallel programming are?
async.parallel
You must be registered for see links
I'm not misinterpreting anything here. Maybe you're the one misinterpreting stuff?Run the tasks collection of functions in parallel, without waiting until the previous function has completed. If any of the functions pass an error to its callback, the main callback is immediately called with the value of the error. Once the tasks have completed, the results are passed to the finalcallback as an array.
If he uses the name 'xHabboApplication' rather than 'Application', I highly doubt any libraries would modify it (the global variable).Global variables in general are still an anti-pattern in Node.js. Especially when you're using a lot of libraries because you don't know which one could use/modify the same variable the houses your entire application instance's (The way Chris uses them), then you're fucked.
lolWho's talking out of their arse... me or you?
He's not using async.forEach lolAlso. When I mentioned functions that were "dependent" on each other I was considering the order of execution with each function would make it perfect for initializing variables and other settings that are dependent on the one beforehand. Otherwise you're just bullshitting and ultimately disregarding the foundation of node.js which is already somewhat asynchronous.
You must be registered for see links
lolThis is a forum @Adil, criticism is not provoking an argument so even if I was wrong "talking out of the arse" is more than rude.
Sums up global variables and why Chris shouldn't be using them in this particular fashion.
You must be registered for see links
Use the function x amount of times until you realize it's not what you think it is (the functionality which you guessed based off the name of the function).I'm not misinterpreting anything here. Maybe you're the one misinterpreting stuff?
Wasn't saying he was if you read it you would understand the relevance of that link but I'll emphasize for you.He's not using async.forEach lol
Why I didn't pressure? My post was deleted when I said "ok" after him not "caring about patterns". Because I just advised against it. it's called criticism.If he uses the name 'xHabboApplication' rather than 'Application', I highly doubt any libraries would modify it (the global variable).
Then it would be a proper, more correct waste of time. But I don't recall attempting to force you to use anything because this is not my project nor something that I use. I only advised against it.Spending twice the amount of time to manually declare variables, and what collections I could need would be a waste of time.
Application.Collections (Contains Async library, Logging library, User Session management, and Error handling)
Application.Database (Contains my Connection pool, and models)
Application.Http (Contains my web servers, middleware, middleware groups, and controllers)
This isn't made to be a perfect or even flawless example of Node in production environments. It's a learning project, and something to try to provide more management options to the scene. I have very little time for development anymore
Edit
I don't use async's forEach function..
Read my reply to Adil.I don't use async's forEach function
Still not making sense. Arguing for the sake arguing. Oh Jaden, you never change.Use the function x amount of times until you realize it's not what you think it is (the functionality which you guessed based off the name of the function).
Your point is still incoherent. async.parallel fires off tasks in parallel.Wasn't saying he was if you read it you would understand the relevance of that link but I'll emphasize for you.
"It's a common misconception that the async library will magically make your synchronous JavaScript asynchronous, alas, it only contains tools for composing function with are already asynchronous. In order to run your example in parallel you'd have to fire up multiple node.js processes or web-workers since JavaScript is single-threaded... that said, I think what you're suggesting is that it just releases control to the event loop after calling each synchronous function. I think using synchronous functions with async is an abuse of the library but people seem determined to do it, so perhaps we should placate them since the performance implications are small. The iterators called in series should already release control to the event loop, it's the ones operating in parallel which currently don't... to keep it predictable we could also wait for a nextTick before calling any async functions to make them consistently asynchronous, but who are these people running sync functions as async iterators??" - caolan
1. I wasn't arguing.Still not making sense. Arguing for the sake arguing. Oh Jaden, you never change.
Your point is still incoherent. async.parallel fires off tasks in parallel.
Sometimes it feels like you argue for the sake of arguing. You really need to get your priorities in order.
Precisely my point, why would you need to add 1 callback to multiple functions that have no correlation to each other programmatically.Async Parallel is only used when I need to ensure that things are returned at the same time or Async Series is used
Support tickets will be implemented in a way to handle presets for the emulator, and website support tickets (could) be implementedAn awesome idea from me:
See support tickets (client)
See support tickets (sent by cms)
MOD tools on panel , like in hotel with .draggable() element