|
Mircea Neacsu wrote: However, a little devil inside me thinks that a tool converting _variable to variable_ shouldn't be all that bad I may be dumb as rocks, but I know a good idea when I see it. If I ever make any global edits to my code, I use regular expressions to do so. Now would be a good time to save a backup. Then run the editing script. I learned that the hard way. The editing script almost always changes things that you don't intend to edit. I've encountered catastrophes doing this. I've written 25,000 lines of JavaScript code on a single web page. With that much code, any attempt at a global edit would likely result in a disaster.
|
|
|
|
|
Gary Wheeler wrote: if ( ( _recStatus.OnlineState() == ONLINE ) || (_falseOnline == true) ) If online or offline, then return true...
Gary Wheeler wrote: This is motivation for homicide. Grab your shovels, your pick axes, and your pitchforks. This egregious violation of logic will not be tolerated.
|
|
|
|
|
Welcome, God Of Second Guessing One's Self.
cheers
Chris Maunder
|
|
|
|
|
gary - you and I need to grill a couple of steaks together... I do not suffer stupid either.
For you "youngsters" I would give you some career advice... the veteran who walks around pissed off all the time? Find a reason to talk to him. Or her, but.... You might gain some tribal knowledge that is RAPIDLY evaporating. I'm sure the world will go on, but learn to garden
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
A guy bought a bootleg Sunton 4.3" inch off AliExpress. For those of you not familiar with it, it's basically a clearinghouse for chinese knockoffs and a good source of hard to find electronics, even if it's sketchy as hell.
Anyway, he couldn't get the display working, because the thing doesn't advertise what it knocked off, did not come with schematics, nor code.
Based on little more than an image and the name of the LCD controller it used I was able to find the sunton device it was clearly a copy of.
Then we got the display working with the Sunton code.
Now it uses a different touch controller IC than the real mccoy so I'm having the guy run an I2C scan to find out the address the device reports on.
From there I will basically work my way backward to a touch driver chip.
It feels a bit like old school hacking.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I wouldn't put too much effort into it - in my experience, Chinese electronics have the same shelf life as cheesecake ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
It depends on the vendor honestly.
Makerfabs makes quality kit. So does Espressif.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
The vendor of the electronics or the vendor of the cheesecake?
cheers
Chris Maunder
|
|
|
|
|
Cheesecake?
The electronics definitely.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Griff posted "in my experience, Chinese electronics have the same shelf life as cheesecake ..." and you said "It depends on the vendor honestly" and then I was thinking about cheesecake and relative shelf life.
Because I'm hungry and would kill for a decent cheesecake about now. But it would really depend on the vendor...
cheers
Chris Maunder
|
|
|
|
|
Hahaha, I missed it. I'm really distracted. Talking to an old friend on the phone.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Oh yeah ... a good cheesecake is a thing of rare beauty.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
so, a number of my clients allow me to submit IT support requests via email. Since I'm not an employee, I have no access to the employee portal. I'm left to emailing support-asses@yourguess.com. I made that last part up.
me: "Hi, your remote server is not accessible, and I am on a tight deadline. Help."
email: "Opened on your behalf..."
email: "Your incident has been re-assigned..."
Via email, I have no ability to tweak the priority level. Or get any contact. I need to start an IT support company
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
When looking for IT support software that was on premises and not online, I was amazed how difficult it was to find something that catered for both our support and IT department needs. It seems support and development are different worlds and they have no clue what's happening on the development side or how information should be coupled with e.g. Git or Continous Integration systems.
|
|
|
|
|
tempted to hang a shingle.
"Ancient IT worker, Speaks native American Engrish, $200 per hour, min 1 hour"
"Hello IT support, have you rebooted yet?"
LOL
To err is human to really elephant it up you need a computer
|
|
|
|
|
Context: Merica!!!! where half the people don't pay taxes but can still vote... John, I need you now...
I actually retire in wait... checking... 8 days. I guess I would call my retirement a realignment of nonsense. My entire neighborhood is getting old. We love are homes and our land and are laid waste by GeekSquad and lawn care companies. I plan to pick up some cash...
The good news is that my MIL is legally blind (keeps her off the computer and makes for hilarious interactions with Nigerian or Indian scammers) and my FIL despises and is so luddite on computers it's a crime.
Meanwhile, the remote server seems to work, the corporate IT group are clueless - customer farmed it all out to some Indian group that are totally useless. Read more below. But you corporations that farm your work out... here's your sign: Google[^]
What I have purposed in my heart is elephant it. I worked till 9pm the last job I loved on the last day. Not this time.
Meanwhile, I have no response from IT....
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
I had some fun with a bit of Microsoft nonsense the other day. I have a rather large hosts file - it's over 600KB. I read something about various devices phoning home to them with every URL visited so I put that address into my hosts file and mapped it to 127.0.0.1. I think it was urs.microsoft.com. Adding that single line to the file triggered the AV program at work and it was deemed to be malicious. At home it triggered a medium level warning when I did a virus scan. I removed that line and it accepted the file with no warnings or notification of any kind.
Apparently Microsoft deems it to be an act of malice to block one of their sites and I think that is nonsense.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
I need to start a website with advertising....
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
Maybe you could try setting up a PiHole Pi-hole – Network-wide Ad Blocking, and add the offending address to the blacklist? Or just add the redirect to the hosts file on the system hosting PiHole (PiHole reads the local hosts file and adds entries to it's DNS database)?
There's instructions on how to install PiHole inside a docker instance, if you want to go that route.
Plus, if you can modify your DHCP server to point to the PiHole for DNS, than every system on your local net gets the ad-blocking goodness. Only downside (?) I've encountered is that PiHole does block google ad services, too, so you can't click on any "sponsored" google link, or the "Shopping" links when doing a google search. Which is occasionally annoying. You can find instructions on how to allow ad services through the PiHole, but I think doing so will allow a number of, possibly unwanted, other ad services through as well
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown
|
|
|
|
|
Thirtysome years ago I designed and built cryptographic modules for EFT processing. Early days...
In those days there were two main algorithms for PIN verification.
The IBM Derived PIN system used data from the mag stripe (some of the account number and other fields) to crunch up with DES and other things to generate the expected PIN, which was verified by direct comparison (at a processing system, since the terminal did not have the relevant DES keys etc).
The (more popular) VISA method took the PIN and some stripe data, crunched them up and came out with a 4 digit value which was compared with the PVV (PIN verification value) from the stripe (or issuer's database).
This can be viewed as an elaborate hash function (4 digit PIN -> 4 digit PVV)
I investigated its properties as a hash, and (re-)discovered some interesting statistics.
Obviously a 1:1 mapping could be fairly easily brute-forced, so information is "destroyed" to make it a one-way operation.
As a consequence, looking at the PVV space:
1/e (almost 37%) of PVVs are unreachable - no corresponding PINs
1/e have one PIN mapped to them
1/2e (over 18%) of PVVs have TWO PINs that map to them
1/6e (6%+) of PVVS have THREE PINs that map
1/24e (1.5%+) have FOUR ... and so on
So, (back in PIN space) there is a very real chance that your card has more than one PIN that would work. (Good luck finding the other(s)!)
That fact blew the mind of more than a few bean-counters and auditors....
With regard to OG's thread below, we had requests from card issuing institutions to NOT generate "simple" PINs.
In the end I think we discarded PINs with 4 consecutive digits or more than two repeats.
(A little repetition is good - my favoured PINs have two characteristics:
They can be keyed by laying my hand over the PIN pad and merely flexing fingers.
They include a repeat so even keen watchers wind up missing something.)
Some time later, customer selected PINs (and PIN change terminals) hit the streets...
Ah, nostalgia (ain't what it used to be)!
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Wordle 1,095 5/6*
⬛⬛🟨⬛🟨
⬛🟨🟨⬛🟨
🟨🟨⬛🟨⬛
🟩🟩⬛🟩⬛
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,095 6/6
⬜⬜⬜⬜🟨
🟨⬜⬜🟨⬜
⬜🟩🟨🟩⬜
⬜🟩⬜🟩🟩
🟩🟩⬜🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,095 3/6
⬜⬜⬜⬜🟨
🟩🟨🟨⬜⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,095 3/6*
⬜🟨🟨⬜🟨
⬜🟩⬜🟩🟩
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
🟩🟨⬜⬜🟨
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|