Sorry, but I think you did not get the point. My question is not about storing data. It's about UI design.
Behzad
Sorry, but I think you did not get the point. My question is not about storing data. It's about UI design.
Behzad
This is a Winforms app. With clicking a checkbox, user enables a feature in the Settings form. Somewhere else in a form a tab named "Alarms": Option 1: which was visible but disabled, gets enabled. Option 2: which was hidden, added to the TabControl again. In terms of UI design decision, which method you prefer? Personally, I like option 1. What, you, the community think is a better option?
Behzad
100% agreed!
Behzad
IMHO, in recent years, the best feature MS has added to the C# is Tuple. It helps make code cleaner and quicker to write. It can be compared to Generic lists.
Behzad
Connecting to the free world!
Behzad
Be free from censorship!
Behzad
How old are you?
Behzad
On paper AMD Ryzen 5900x has twice horsepower than Intel i5-12400, though in single thread applications, 12400 is lightly better. So we checked this fact by a very simple winform application ( Net 8 - VS 2022 ver. 17.8.4 ):
List lv = new List();
listView1.Items.Clear();
for (int i = 0; i < numericUpDown1.Value; i++)
{
ListViewItem item = new ListViewItem(i.ToString("D8"));
TestClass t = new TestClass(i);
item.Tag = t;
item.SubItems.Add(t.ID.ToString("D8"));
item.SubItems.Add(t.ID2.ToString("D8"));
item.SubItems.Add(t.ID3.ToString("D8"));
item.SubItems.Add(t.ID4.ToString("D8"));
lv.Add(item);
}
listView1.BeginUpdate();
listView1.Items.AddRange(lv.ToArray());
listView1.EndUpdate();
With
numericUpDown1.Value= 1_000_000
10 times benchmark, Intel cpu completed the task on average in 18 seconds. AMD cpu never completed the task below 60 seconds. Intel cpu setup: Win11 in VirtualBox with 6 cores 16 GB RAM ADATA NVME 2.0 disk AMD cpu setup: bare metal Win11 48 GB RAM SAMSUNG NVME 2.0 disk. What's wrong with AMD cpu? Who should we blame on issue: MS or AMD? Any idea? P.S.: I'm a hardcore fan of AMD.
Behzad
Yeah, I got that message but after reading few lines of docs, I decided to not test it. It needs 16 GB memory and my box has only 32GB.
Behzad
Isn't it better to use an existing product? Have you looked at ScottPlot ?
Behzad
I tested and it says 7Zip and CMake need to get updated. Really fantastic!
Behzad
I learned something new. Thank you.
Behzad
I'm contractor for one of the wealthiest companies in the country. They have enough money to buy best in class software from biggest names in the industry. 2 out of 3 internal departments ( Eng. and Utility departments ) that I've worked with, know me and trust in my software. Now I'm going to introduce myself to the 3rd and most important department ( Maintenance Dep. ). Generally speaking, Management and engineers in this department go for the big names and don't waste their time and money on unknown vendors. I'm brave enough to host them in a meeting in coming months. I'm thinking about the ways I can assure them about my software. Management and Engineers from the first 2 departments have told me, If they are asked, will talk in favor of me. Literally, this is the only chance I have. Please share your thoughts, hints and suggestions for the meeting. Edit: The software I'm talking about is a critical mission software used in Oil Industry. Big players claim 7 nines Availability. My software is good ( enough?? ) in this regard ( 5 nines). TBH, It's a very fierce and tough competition. Thanks
Behzad
From 'Daily Insider', Monday, May 22: deepin Linux V23 can replace Windows 11 on your PC I read it until sentence 2, If you are dissatisfied with Windows 11 or macOS, and intrigued by Linux, deepin, a distro from China,.... Well, enough reading this article and closed the tab. Sorry but I don't trust a Chinese distro.
Behzad
We have been developing an industrial SCADA application for the the last 15 years( more than 200 KLOC ). At the beginning we were sure we can run our software on both Linux and Windows. With the decision of Microsoft to not support dotnet core + Winforms on Linux, we finally came to conclusion that it is time to migrate to a new technology. Now, 2 choices comes to mind: 1-Qt 2-GTK. We have zero knowledge in both of them or any other library. Community seems to prefer GTK. Which technology or another one would you recommend for the GUI part of our program? Decision will be made based on these criteria in order of importance: 1- Long and active Community support ( At least the next 10 years ) 2- Would prefer Open-Source one, so bugs and security holes get patched as soon as possible 2- Fair amount of library and 3rd-party controls 3- Modern Looking Controls 4- Good IDE Support Happy Christmas to all. cheers Behzad
Behzad
Am I the only one who hates recent addings to the language? Some examples: ?? Named/optional arguments () ?[] discards :confused:
(_, _, area) = city.GetCityInformation(cityName);
Switch expressions The list can go on and on. They are trying to make programming much easier and at the same time are making the syntax more and more unreadable:mad::mad:
Behzad
Why not just work from within a virtualized OS? All you need to do is copying the vm files to the new box. My setup is as this: A linux host and a bunch of virtualized OSes including Win10, Win7 and Raspbian OS.
Behzad
been using this for 4 years. Solid and fast. had some really nice features that others copy-paste. Still some features others don't have yet.
Behzad
We have this large HMI application that splits into 3 distinct softwares. One is an editor which user uses to define the plant and other stuff related to it. Pretty big software! We have pollshed it through the years and I'm sure we have little to zero bugs. In it, users are informed about their input mistakes by message boxes and it's pretty common that a client calls and complains about the bugs the software has. When we ask them to whatsapp us an image of the bug they usally send an image of a messagebox. They don't event try reading the message it shows. Their first assumption is always is every messagebox shows a bug! This has lead me to think about different way of showing user erros/mistakes.
Behzad
Same here! These are issues I faced - Random VS hang - Form Designer hang - Controls not moving around properly - Properties window hang
Behzad