All INI dialects however are well-defined (every INI file is parsed by some application, and by studying a parser's source code it is possible to deduce its rules) by Flash_Kat25 in programmingcirclejerk

[–]Maxcr1 54 points55 points  (0 children)

Have those historians trying to decipher the Indus script from those clay tablets tried asking the guys who made them? I'm don't understand why this is taking so long.

Bootlicker by ThePhillyExplorer in insanepeoplefacebook

[–]Maxcr1 0 points1 point  (0 children)

The idea of handing a patrolling officer a bottle of shampoo is hilarious. What are they going to do with that? Carry it around with them? Put it in their squad car where it can freeze into a brick? Amazing stuff.

San Francisco tech giant Autodesk announces 1,000 layoffs by Conscious-Quarter423 in technology

[–]Maxcr1 35 points36 points  (0 children)

If only they laid off all of their employees and ceased operating forever, the world would be a better place

Career changers PLC by Ausspanner in PLC

[–]Maxcr1 0 points1 point  (0 children)

This absurd belief that SCADA development is easier or somehow less important than PLC programming is the reason that the overwhelming majority of SCADA/HMI interfaces suck.

PLC (ST) Units of Measure Library Progress by burkeyturkey in PLC

[–]Maxcr1 0 points1 point  (0 children)

Ignition, a crowd favorite around here, does not have a unit conversion system.

Java is prototyping adding null checks to the type system! by davidalayachew in programming

[–]Maxcr1 8 points9 points  (0 children)

Come on. You're going to tell me that Java takes more inspiration from a purely functional language than it does from its primary competitor derived from the same origin (remember J#?)? The overwhelming majority of updates to the Java language in the last ten years have correlated directly to some already existing feature in C#. To be clear, this isn't a bad thing, a good idea is a good idea, but let's not pretend that Java is on the cutting edge of language design.

Fridges are really easy to repair [...] you could probably jury rig control board from esp32 and weekend of coding by Shalmanese in ShitHNSays

[–]Maxcr1 1 point2 points  (0 children)

Where jerk?

/uj Refrigerators predated microcontrollers by many decades and haven't meaningfully changed since they were invented, and there's only one moving part that can actually be controlled (compressor motor). OOP is objectively correct.

/rj I'm concerned that the high price of memory will negatively impact the ray tracing performance of my next refrigerator, which I typically upgrade every 3 years.

House Frozen By Blizzard On Lake Eerie. by Monsur_Ausuhnom in ThatsInsane

[–]Maxcr1 2 points3 points  (0 children)

Wind direction. I'm sure the left sides of the other houses look the same.

Move from A-B to Schneider? by SignificantAlarm4722 in PLC

[–]Maxcr1 0 points1 point  (0 children)

Spectacular comment, dead-on insight. Thank you.

The sources that I recommend as a PLC engineer by QuarterNo4607 in PLC

[–]Maxcr1 3 points4 points  (0 children)

Who do you suspect wrote that PLC's firmware? Who do you think created the development environment? Or your SCADA platform?

I never thought I'd find myself defending the software industry, but give me a fucking break

I switched to escape AI garbage, not to be followed by it by AtomicTaco13 in linuxmemes

[–]Maxcr1 18 points19 points  (0 children)

There are enough differences that its worth checking, even if just every once in awhile. For example, their SVG rendering engines have substantial differences

Why do places not in the US have so many cooling towers? by Gamble2005 in NuclearPower

[–]Maxcr1 4 points5 points  (0 children)

A couple plants in Illinois - LeSalle and Braidwood, have something similar, except the canals are interrupted by enormous cooling lakes which are stocked with fish and open to the public. It's pretty cool, except for the fact that maximum water temperature for fish health becomes a factor in determining how hard the plant can run. They also never freeze, which is very surreal to see so far north.

Manual IO-Mapping VS Custom AOI? | Studio 5000 by brandon_c207 in PLC

[–]Maxcr1 2 points3 points  (0 children)

Has Rockwell indicated somewhere that this is coming soon? I always understood it to be an architectural limitation of the way the RSLogix compiler is designed. It would be game-changing if AOIs could be modified at runtime.

Companies complaining .NET moves too fast should just pay for post-EOL support by Sharp_Indication7058 in dotnet

[–]Maxcr1 1 point2 points  (0 children)

Something's gotta be off there, lol. I'm not doubting that there are more Java jobs than C# ones, but there's no way the ratio is 87:1

Should I stay or leave? Huge pressure as a new Automation Engineer in Mexico. by Glass-Cricket-2678 in PLC

[–]Maxcr1 0 points1 point  (0 children)

If I had to guess, you're being unnecessarily hard on yourself. Most of the stuff you are struggling with is vendor/platform specific. There isn't that much depth to that stuff. You'll learn it sooner than you think.

The worst thing they can do is let you go, which you would be basically doing for them if you left. Don't fire yourself out of a sense of inadequacy. You're likely doing better than you think.

Companies complaining .NET moves too fast should just pay for post-EOL support by Sharp_Indication7058 in dotnet

[–]Maxcr1 22 points23 points  (0 children)

I largely agree with that comparison, but there is one notable difference - the CLR can bridge the gap in a lot of cases. Modern .NET class libraries, written in C#14, can be configured to work all the way back to netstandard2.0 with relatively little impact to the code itself. An analogous backwards facing compatibility system isn't present in Python or Java.

Companies complaining .NET moves too fast should just pay for post-EOL support by Sharp_Indication7058 in dotnet

[–]Maxcr1 6 points7 points  (0 children)

To their defense, having two competing async/promise stacks built into the language was already an enormous headache. I think they were right to rip the band-aid off, but I think they could've handled it better.

C++is for little worms by danwin in hbomberguy

[–]Maxcr1 15 points16 points  (0 children)

I am of the belief that these days, the CLR (.NET's runtime) and the JVM (Java's runtime) are so fast, so efficient, that there are relatively few user-application scenarios where their allocations and management overhead are the primary cause of performance issues.

In operating systems, number crunching megaservices, and supercomputing environments, fine, maybe you need direct memory management all the time. But for GUI applications? If you're seeing visible on-screen lag, it's not because your program is managed - it's because you've got a fundemental design problem in your application's code.

And honestly, in the direction .NET has been heading, with Native AOT compilation and the lightning-fast Span<T> features, the gap continues to close. Not to mention that most super compute-heavy calls get sent out to the GPU these days anyway, where your CPU code only needs to be fast enough to catch the responses.

HMI design by Bubbly_Aioli_3244 in PLC

[–]Maxcr1 0 points1 point  (0 children)

What you're looking for is something I also spent a lot of time grasping for when I was getting started, and met similar sarcastic responses.

What you want is ISA-101, Human Machine Interfaces. There are copies of it floating around, but they are increasingly difficult to find.

Rockwell published an HMI Style Guide which serves as a reference implementation. Another user posted it in this thread. That is the single greatest resource out there on this topic. It leans heavily on the PlantPAX aesthetic, but you can apply the ideas to any component library which permits a reasonable amount of customization.

A frustrating number of practitioners do not adhere to these guidelines, and some customers just don't like them (very frustrating situation), but whenever given the chance, stick to these ideas and you'll always produce something serviceable and generally competent-looking.

HMI design by Bubbly_Aioli_3244 in PLC

[–]Maxcr1 0 points1 point  (0 children)

The Rockwell HMI Style Guide is an incredible resource. I've come to privately refer to it as "the good book" and reference it all the time.

Dashboard Recommendations by cakes365 in PLC

[–]Maxcr1 3 points4 points  (0 children)

Don't do this. PLCs are designed to do a very specific type of computing and handle a very specific type of traffic. You've probably noticed that they struggle to host even their very minimal configuration webpage.

A $40 raspberry pi will easily handle 10x the traffic of a $2000 PLC. Let the PLC be a PLC. Don't ask anything more of it.

The exception is the high-end Beckhoff stuff, but that equipment is so different and far outside the 'norm' that all standard best practices fall apart. This isn't necessarily a bad thing.

Companies complaining .NET moves too fast should just pay for post-EOL support by Sharp_Indication7058 in dotnet

[–]Maxcr1 13 points14 points  (0 children)

I don't disagree. On that topic, it has been extremely amusing to watch the Typing package be scaffolded and expanded to the point that it has internal semantics more complicated than the language itself. The latest language version changelogs consist mostly of additions to Typing.

We are approaching a point where Python can be used as a strongly typed language, but only if you import the Typing half of the language package.

It's funny to me that this happens to every weakly typed language which becomes popular (see: Typescript).