This page is a NO-INDEX summary of comments posted in this blog.

Total 849 Comments (13/34 Pages) - Newer Comments - Older Comments

301. 2018-05-09 13:37:50 FknMayhem Comments on The SteemIt Discord Bot Upgrade and API:

This is pretty awesome. Thanks for the excellent work. I do suggest though that you use STU rather than SBD for the total reward amount (as first introduced by dragosroua of steem.supply - Steem Supply Rewards calculator. Using STU will be less confusing.


302. 2018-05-08 15:37:28 JC Comments on Model-View-Controller Explained in C++:
Hi ! Thanks for this tutorial. As in the previous comment, I also see that "issue" and I changed the code to get only a constant pointer to the model in the view (cf. following code). Therefore, the view doesn't have a copy of the model and the data always match. Does it still respect the MVC design pattern ? Maybe, having a copy of the model in the view can also allow some "rendering processing". For example, having a model which holds a real signal (array of reals), the view can implement a FFT visualization of the corresponding spectrum. ------- code ------ // https://helloacm.com/model-view-controller-explained-in-c/ #include #include using namespace std; // common.h typedef void (*DataChangeHandler)(string newData); // model.h // Model is responsible for data get and set class Model { public: Model(const string &data) { this->SetData(data); } Model() { } // default constructor string Data() const { return this->data; } void SetData(const string &data) { this->data = data; if (this->event != nullptr) { // data change callback event this->event(data); } } // register the event when data changes. void RegisterDataChangeHandler(DataChangeHandler handler) { this->event = handler; } private: string data = ""; DataChangeHandler event = nullptr; }; // view.h // View is responsible to present data to users class View { public: View(const Model &model) { this->model = &; } View() {} void SetModel(const Model &model) { this->model = &; } void Render() { std::cout << "Model Data = " <Data() < no need to update the data held by the * view... */ }; // controller.h // Controller combines Model and View class Controller { public: Controller(const Model &model, const View &view) { this->SetModel(model); this->SetView(view); } void SetModel(const Model &model) { this->model = model; } void SetView(const View &view) { this->view = view; } // when application starts void OnLoad() { this->view.Render(); } private: Model model; View view; }; // mvc.cpp void DataChange(string data) { cout << "Data Changes: " << data <<endl; } int main() { Model model("Model"); View view(model); // register the data-change event model.RegisterDataChangeHandler(&;DataChange); // binds model and view. Controller controller(model, view); // when application starts or button is clicked or form is shown... controller.OnLoad(); model.SetData("Changes"); // this should trigger View to render controller.OnLoad(); return 0; }


303. 2018-05-02 19:59:00 Oleg Comments on Technically Images can be Stored on BlockChain:
Picture of Leonardo da Vinci "Mona Lisa" in the blockchain of Ethereum (Smart Contract)


304. 2018-04-29 11:51:44 manoj Comments on C/C++ Function to Compute the Bilinear Interpolation :
Hi, I need a detail explanation for this. Please help regarding this


305. 2018-04-25 04:43:31 Irene Hynes Comments on Interview Question: What is the difference between List and Dictionary in Python?:
Hi There , Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have I have a basic image, in color. I would like to change every color by another color. I know the functions putpixel, et caetera. My problem, it is that I do not know how to separate, to indicate every "zone" of color. For example: transform all the green pixels into another color, all the red in an other one, et caetera. Anybody would have an edvice to give me? I look forward to see your next updates. Ciao, Irene Hynes


306. 2018-04-13 06:25:04 evan Comments on Bogo Sort Algorithm:
in that sounds of sorting program, the highlighted ones in bogosort are what? I had thought they were just the values being compared, but there are multiple higlighted elements.... anyways that's a C# program so maybe it's different, but I'm just looking for something similar.


307. 2018-04-09 06:50:37 Support Wala Comments on How to Check CPU (Cores) on VPS/Dedicate Server?:
I can gain the knowledge from your site which is really interesting. Thank you so much for sharing valuable information.


308. 2018-04-06 21:26:22 Steven R Comments on Set Up 8-bit Ultimate Famicom Game Console - BBG (BBK) - with Keyboard and Floppy Drive - USB Floppy Emulator - NES Game Console:
My friend, I need help with making a bootable floppy, very tiring typing each game in manually throw bbgdos!!


309. 2018-03-31 14:51:52 ACMer Comments on How to Empty Recycle Bin when it hangs due to lots of files?:
Thank you for sharing.


310. 2018-03-31 05:17:33 Kev Comments on How to Empty Recycle Bin when it hangs due to lots of files?:
Thanks - this was helpful. One thing I would add is that it requires run as admin.


311. 2018-03-27 07:27:03 Dawin Comments on The Simple Video .m3u8 Downloader/Parser in PHP and Javascript:
I use Allavsoft to directly download M3U8 videos to MP4 or MOV


312. 2018-03-11 11:25:04 john Comments on Turtle Programming: Fractal Stars, Random, Console, Eraser, SetPC, SetXY, Examples, Wait, Bug Fixes and So much more!:
This is a great introduction.. I am most interested in bug fixes


313. 2018-03-09 10:20:21 fi.fantasygamer.net Comments on Key Considerations for Developing Online Casino Games:
Return to player is the factor that pushes regular players to stay for longer period. Before registering with online casino or starting new game to make dollars, you need to check the house edge, RTP, player percentage payout and more vital key factors. Educate yourself with best sources. We help you to know more about these terms. fi.fantasygamer.net Look for associated terms that allow you to cash out maximum.


314. 2018-03-07 22:47:58 Steven R Comments on The 8 bit DOS by Famicom Clone - BBGDOS in the 1990s:
do you have a download for the game converter? or files? just got a bbk 98 but no disks 🙁


315. 2018-03-06 22:06:59 Kg bhau Comments on The Machine Learning Case Study - How to Predict Weight over Height/Gender using Linear Regression?:
Hey its look like there is no main method so I can't able to execute program. Please bundled this into single file will be very helpful. Please send it to my email id.


316. 2018-03-05 07:55:30 HaileyHaley2 Comments on Key Considerations for Developing Online Casino Games:
Although, Casino Offers you every opportunity to win huge money, but there are some hidden features that casinos don’t want you to know. Everyone even casino owners in gambling are for making money. So, the question is who will make more profit. Do you want to know the hidden features of small payout games to make their payouts even larger?


317. 2018-03-03 09:39:56 sheela Comments on Constructor and Destructor in Python Classes:
Above Given sharing Example syntax are useful to me.Thank you


318. 2018-02-17 20:13:55 Nik Comments on How to Create and Run Unit Tests in C# .NET - A Quick Tutorial:
That is useful.... thanks.


319. 2018-02-01 05:30:11 Anh Minh Comments on How to Remove all elements of val From a Linked List?:
Memory Leak!


320. 2018-01-30 13:38:06 Prodis Comments on How to Check Server Response Time using cURL command line?:
Thank for sharing this information. It helped me.


321. 2018-01-25 10:18:07 yalcinn Comments on How to Send Email using VBScript and GMail (SSL)?:
many thanks, I solved my problem with these codes


322. 2018-01-20 07:09:10 ricky Comments on SQL Coding Exercise - Rank Scores:
Hello! using this query how to rank this between 2 dates and by user_id?


323. 2018-01-18 20:48:37 ACMer Comments on Free API Endpoints:
Thanks!


324. 2018-01-17 21:29:49 lololol Comments on Free API Endpoints:
great apis bro


325. 2018-01-14 04:18:24 Comments on A Short Introduction - Logistic Regression Algorithm:
the decision boundary for logistic regression is linear. the activation function is logistic, with a typical classification discrimination level of 0.5.


Newer Comments - Older Comments

–EOF (The Ultimate Computing & Technology Blog) —

46 words

The Permanent URL is: List of Comments