News for hackers. Stuff that matters.

juangburgos

Re:A practical guide of PID Tuner [pdf] on Monday August 09, 2021 @12:27PM (#28118866)
A PID tuning guide with almost no math. But very important thing to consider when making an system identification test indeed.
Re:PID Tuner: A Practical Guide on Wednesday August 04, 2021 @03:31AM (#28058284)
I like that it has no math or equations, only practical tips.
Useful if you need to adjust the PID gains https://pidtuner.com
Re:PID Controller: A Simple Control Loop Mechanism on Monday May 31, 2021 @04:32AM (#27341659)
LQR does not include integral action by default
Re:Tune Your PID Controller on Thursday May 27, 2021 @04:02AM (#27300488)
Not sure I can (legal reasons?), but suffice to say thay feed multiple stations with multiple relatively large machines (+10MW). In some cases they have daisy-chained basins, so there are also level inner-loops to be tuned. So the approach has been using the pidtuner for tuning the inner loops first by keeping the outloops in manual. Then tune the loops outwards using the same approach. This has been the winning combination.
Re:Tune Your PID Controller on Wednesday May 26, 2021 @12:10PM (#27292334)
For me the most complicated part when doing manually was the delay, because the water from the intake gates do not reach the headponds inmediatly. What I like is that the tool considers the delay in the tuning.
Re:Tune Your PID Controller on Wednesday May 26, 2021 @10:35AM (#27290980)
I have used this tool to tune the water level PIDs of several hydroelectric substations. I passed from spending days with manual fine tuning to a couple of hours of a simple experiment and tuning with this tool.
Re:Debugging WebAssembly with Modern Tools on Friday December 11, 2020 @03:50AM (#25383705)
Thers is this tool whole algorithms were originally implemented in C++ to use in industrial applications. But was easily ported to the web to create a PWA that now anybody can use. This would have not been possible before. Check it out: https://pidtuner.com
Re:Ask HN: Good C++ code bases to read? on Wednesday October 28, 2020 @05:57AM (#24917019)
It is athough question, given that C++ is multi paradigm and recently changing a lot (last 10 years). There is:

* Classic C++ (before C++11) * Modern C++ (after C++11) * Object oriented C++ * Functional C++ * Metaprogramming (Template) C++ * I am sure there are more examples...

There is also whether you plan to use a specific library or not.

For example I have used Qt for a long time and never touched the STD (standard library) or STL (standard template library). Qt has its own Qt way of doing things.

You might need to be more specific as to which is the dommain that you want to apply C++.

Re:How can climate be predictable if weather is chaotic? on Tuesday October 27, 2020 @05:28AM (#24905719)
A system can have any number of states (variables that store energy). The output of that system is a combination of those states.

Some states can have slow dynamics, while other states have fast dynamics. Is is possible for a system to have chaos present only in the fast dynamics (weather in this case) and non-chaotic slow dynamics (climate).

And that's all there is to it.

Just use a simple linear non-causal filter, i.e. low pass filter forward in time and then backwards in time. Do this for any desired bandwidth and iterate as many times as you want. No need for neural networks in here.
Re:Ask HN: Non-web developers, what do you do? on Tuesday October 13, 2020 @04:25AM (#24763460)
Industrial software, at the SCADA level. Basically "industrial IOT" (aka indistry 4.0). Moving data from one place to another. Historial data, events, alarms, reports, human-machine interfaces (aka GUIs). Mostly C and C++. C++ really puts all together, just use C because most industrial network protocol libraries are implemeted in C.
Re:Fortran Compiled to WebAssembly on Wednesday September 30, 2020 @06:05AM (#24637105)
CBLAS (and CLAPACK) can already be compiled. It is used for example in https://pidtuner.com
Re:Wt – C++ Web Toolkit on Monday July 13, 2020 @07:34AM (#23819606)
WrDesigner author here. I started the QtDesigner-like tool for Wt because I had a project where I needed to expose some existing C++ code on to the web. In the end I never used it. As I learnt web technologies, I found much flecible and easier to expose an API to the web using QWebChannel and then do the frontend with one of the existing frameworks (Vue, React, etc).
OPC UA, regardless of the transport
Create a whatsapp group and add one person, then inmediatly kick out that person from the group. Then you have a group for just yourself. Call it "links" group.

Use this group to paste links. On the desktop use https://web.whatsapp.com/ to access those links.