The most difficult thing about this script was to get the form and the tab control to size to their contents. That doesn't happen automatically. At Powershell level, the control size appears to have a Height and Width property that can be set. That is not the case on my Powershell and Windows 10 Pro. I had to create a System.Drawing.Size object and assign that to the size property.
@davidwengier Thank you for that suggestion, I will check it out. The documentation didn't give me the impression it would help for setting the initial size, but I may have overlooked something.
I took some time today to learn how to make a trendline graph for statistics pertaining to 2 similar processes for one of my clients. This is created using #QlikView, a #dataanalytics visualizer by the #Qlik company. The #UI does not switch to dark mode easily: it takes a lot of tinkering to get it to look good. As far as #UX goes, Qlik can improve their application a lot.
Please, makers of email subscribe and unsubscribe systems, stop allowing just anyone to supply any email address. That’s just asking for abuse. Stop putting your trust in random anonymous strangers.
What you should do when having someone subscribe: send a confirmation email to their address, with an expiring link.
What you should to when having someone unsubscribe: put an unsubscribe link into their email with a unique identifier that finds their subscription and instantly unsubscribes.
In the #java and #csharp OOP programming languages, #reflection is used to not only review an object’s private fields and methods, but also to access and change them.
This is used for instance by large #dependencyinjection libraries and frameworks, by preprocessors, and of course by the standard library itself.
It is dangerous because it can break a class’ definition of what should be private and inaccessible.
I'm building #umpire, an anonymous registration of #missing and #murdered people, intended to match missing against murdered people's profiles. My spouse is a forensic genetic genealogist who specializes in marginalized communities and found existing sources to be lacking in their ability to search, match, and review. Follow my progress live on Mastodon, here, or over on GitHub: https://github.com/aeveltstra/umpire-web and https://github.com/aeveltstra/umpire-db.
Umpire is being built in vanilla PHP, HTML, JS, CSS, and SQL, backed by a MySQL database. The intent is to distribute the system as #FOSS, and have instances around the world federate with each other much like #ActivityPub instances do. We already created a different application (written in Python and SVG) that can extract the data and turn the people's profiles into paper posters and social media posts. We seek to keep the tech stack as straightforward as possible, to allow easy collaboration.
I support clients who believe things happen as if by magic. We may agree that magic merely is something sufficiently complex as to defy understanding. For my clients, that magic is me.
Thus you have to communicate with me if you want things to happen, and preferably ahead of time, rather than expecting them and then complain if they don’t happen.
It’s like praying to God, except that the mover and shaker is me. And I refuse to read your mind.
The other day my kid asks me to present math problems about area. Early middle school: simple multiplications and divisions. He got taught a formula for areas of trapezoids: A = 1/2h * (b1 + b2).
I decided to show him how to #unittest his #math solution, by giving him a different approach: A = a + 2b, where a = area of the square, and b = area of each triangle on the sides of that square.
He threw a fit and refused to accept my approach, because it wasn’t the same as he had learned.
@SmartmanApps Ah. But I didn’t try to teach 3 things. The kid already knows the middle-school, grade 7 way of calculating the area of a trapezoid. What I’m teaching, is just 1 thing: how to check whether the calculation was performed correctly. Wouldn’t teachers want pupils who can double-check their work? Out here in my line of work, that ability is very valuable.
@SmartmanApps Yes, one thing at a time. And instead of teaching a formula to memorize, without any understanding of how it came to be, what should be taught is that understanding. This is as easy as teaching kids addition: here’s a shape, there’s a shape, oh, and look, a third shape that is the exact same size as the first. And each of those shapes have an area calculated by multiplication, which they already know. Build upon prior knowledge.
#html fits every screen size out of the box. #css gets abused to stop it from doing that; to constrain the display by web browsers to specific widths. That’s counterproductive. The solution therefore is to remove such constraining CSS. Don’t apply a minimum width rule, and allow on-screen components to flow underneath each other as screen size dictates. Stop trying to make computer screens behave like hard-copy magazine paper.
@aeveltstra And also stop labelling content based on your assumptions: I see so many pages where it says "see map, right" or "see image, left" when those images are above or below.
Hey, #typescript devs: is there any way to compile typescript without needing NPM and Node?
Microsoft’s documentation says the easiest way to install tcl is by using NPM. That means they aren’t saying it’s the only way. But it also lacks mention of other ways.
I’m not adverse to building tcl myself if needed, or use different methods for different operating systems.
Hey, #java software devs: how do you prevent the #jvm from dumping memory into the application folder if the application or system causes it to malfunction? I still want the memory dump, just somewhere else. Can that be done? Please show me the way!
You really shouldn’t call your product “enterprise level” when:
Your product forces us to store cache on the system hard drive rather than letting us choose where to store it.
Your product forces us to install a system module that is 10 years old, no longer supported by its vendor, and refuses to work with any newer, supported version.
Your product is single-threaded when its purpose is to provide gigabytes of data transfer, simultaneously.
My train just ran over something pretty intense. Now we’re stopped a short distance away from a railway station. The power went out. I smell burnt brakes. Let’s hope whatever we ran over wasn’t alive before we hit it…
If you’re driving #Lyft or #Uber in NJ, now is a good time to head for railway stations on the NECL between Newark Penn Station and Princeton. East-bound railway traffic is on full stop due to electrical wire problems.
Thank you, powers that be, for imparting wisdom on the train engineer who stopped us safely, and the passengers who chose to stay on instead of endangering their life. Stepping on live tracks will earn you a Darwin Award.