The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Mmm... we are in Australia here, not goddamn America
That only means your chances of getting shot are considerably lower and if you get shot at least you can pay the hospital bill, but at the price of about 0.8 freedoms per bald eagle³
The crunch happens even in Europe though.
But don't listen to me!
You should only regret the things that you didn't do
I had to write a WPF sample pp for them...
Took me a lot more than the hours the HR suggested.. (I am rusty hey, no WPF in like 3 years now)
But the end result code is very neat loved it!
Also.. added some async IAsyncEnumerable and IObservable goodness to handle mouse drag in a 10 line method which looks totally procedural and straightforward.. Hopefully they will be both surprised and impressed!
Quick question if someone tells you to knock up a quick script to monitor a thing, you would think 'Hmmm, a Python job', I seem to have to use a thing called 'Script Runner' which seems to have a version of what you need, but not what you want. Is it a company thing or is Script Runner in the wild Before I started at my current place scripts were either Python or TCL. Script Runner seems to be a little out date (won't run on Win10 without issues!). So heard of it? I'll bet Dave Auld has!
I wouldn't think that because then you'd have to install Python runtime, etc.
I'm thinking you're talking about work so I'm guessing your running Win10 and then I would think either:
1) C# via LinqPad[^]
But, if you're running on Linux then maybe something else.
Now that DotNet Core can really do nice Console apps on Linux -- things like FileSystemWatcher etc. can be really easy and then I'd go for C# again.
Or, I might even think Go(lang) because it builds an executable with no need for runtime to be installed. Just My Two Cents
I'm just thinking out loud and I've never heard of ScriptRunner before.
Well I'm sitting there going 'Oh it gives out the data over serial, I can put together a .NET program to read it and display it', 'Thats nice but can you use Script Runner, it's more flexible', Have 'they' been taking something. I have done the whole not using .NET as it's evil in the past, don't want to go down that route again!!
Ah, yes, h/w and serial connection. Now that makes sense that you want to use Python. I'm assuming there are lots of library choices that help over in Python land and .NET def would not be my first choice for that either.
Do I need to actually fill this in? Didn't think so!
But if I need one, here's my continual pet peeve: why does VS randomly change the "Find" (Ctrl+F) or "Find All" (Ctrl+Shift+F) document selection from "current document / entire solution" (respectively for the pressed keyboard shortcut) to "all open documents", "entire solution", or whatever else it thinks is the option of the day based on various planetary conjunctions?