|
|
None. Retired in 2020 and haven't looked back.
|
|
|
|
|
We have migrated our development to an entirely new system at work. I'm fine with it, really, but I'm so tired of being hindered by my lack of expertise in the new system. I just want to be able to test my code; why does it have to be such a headache? I know I'll get good at it eventually, but honestly, let me write code! I feel so useless.
|
|
|
|
|
Hang in there.
cheers
Chris Maunder
|
|
|
|
|
You just highlighted an issue in our sector.
Solving problems because they are fun to solve, leads to more problems down the road, eventually. But still, it should be OK for our work to be fun. That's what initially pulled us into the sector, and motivates us to go great lengths.
Without making this reply too heavy: I think we should move away from "solving problems for fun" when we reach more senior levels, and strive towards "solving problems for others, because helping people with your skills feels good".
Also, you shouldn't parse HTML with regex, because that's fundamentally impossible. Even though it seems perfectly doable from a distance, don't attempt it. Use an HTML parser instead.
|
|
|
|
|
|
Yes, Jeff's post is a classic. FWIW we use AngleSharp which allows wildcard selectors (same as querySelector).
Our perspective and experience is that regex's can be used for HTML if you have guaranteed well-formed HTML and your system can handle < 100% perfection. For us, there are times when using a regex vs fully parsing HTML can mean the difference between an instant response vs a timeout. We did an exercise a few years ago that replaced a bunch of regex's with full parsing and the memory and CPU went through the roof. We also hit situations where a regex could, extremely rarely, result in a catastrophic backtracking. And you can guess how often that 'extremely rare' situation actually occurred. It all depends on what you are trying to do: extract URLs, insert a class name is generally easy and fast and has little chance of exploding. Reformatting to produce well-formed HTML is just not going to happy though!
cheers
Chris Maunder
|
|
|
|
|
I get what you're saying (Use your skills with intent) but doing things for oneself vs doing things for others is something, I feel, that is in someone or it isn't. My faith in humanity these last 3 years has been sorely tested and it feels that either you have this mindset, you grow into this mindset, or you will never have this mindset.
OK, now it's heavy. Sorry.
cheers
Chris Maunder
|
|
|
|
|
It’s about a man in his seventies trying to learn programming.
"The Old Man and the C."
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
I thought he gave up, and then wrote 'A Farewell to ARMs"
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Yeah, ARMs are a RISCy business.
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
His cousin preferred Rrrr...
|
|
|
|
|
|
When they came for the ASM programmers,
I said nothing.
Who needs ASM if you have C?
When they came for the Cobol programmers,
I said nothing.
I can't even write in Cobol.
When they came for the VB6 programmers,
I said nothing.
VB6 is an ex-parrot for over 20 years.
When they come for me,
There will be no one who can say anything.
An empty office, except for ChatGPT.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I wrote a program that watches the files which are created, updated, deleted, etc on your disk (Read about it here on CP[^]).
Wow, that was gratuitous self-promotion and it didn't even feel like it.
Anyways, I had DiscoFiles running and I noticed that MS Edge directories were accessed.
MS Edge Secrets
I looked in this MS Edge directory and found its secrets...
You can get to it on your system (If you are running Edge) at:
%localappdata%\Microsoft\Edge\User Data\ZxcvbnData\3.0.0.0
I mean I'm assuming that last directory will be named ZxcvbnData on yours too??
Copy-Paste to your FileExplorer and it'll get you there.
You can see that there[^].
It's a list of files named:
english_wikipedia.txt
female_names.txt
male_names.txt
manifest.fingerprint
manifest.json
passwords.txt
surnames.txt
us_tv_and_film.txt
What!?!
Well, passwords is a lot of fun. Check it out. FYI - the passwords file is 30,000 lines long (30,000 common / bad passwords)
sunshine
iloveyou
f*ckme // my alteration to protect any kid sisters who are reading
ranger
hockey
computer
starwars
a**hole
pepper
klaster
112233
zxcvbn // why are these letters so common?? !!
freedom
princess
maggie
pass
ginger
11111111
131313
f*ck // my alteration to protect any kid sisters who are reading
love
cheese
159753
summer
chelsea
dallas
biteme
matrix
yankees
6969
corvette
austin
Edit Update
Here are the contents of the manifest.json file:
{
"description": "zxcvbn data component",
"name": "zxcvbnData",
"version": "3.0.0.0"
}
I think that pretty much explains it.
|
|
|
|
|
Quote: zxcvbn // why are these letters so common?? !! Look at your keyboard ... Specifically the lowest row of letters ...
"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!
|
|
|
|
|
OriginalGriff wrote: Look at your keyboard ... Specifically the lowest row of letters ...
I am lame for not noticing. I'm a touch-typist too. Should'a known. <forehad slap>
|
|
|
|
|
Actually, being a touch-typist means you're LESS likely to notice.
I type moderately fast (60-80 wpm), but if you ask me where a given key is located, I have to think about it. I've been typing long enough that my fingers do what is necessary without conscious thought.
|
|
|
|
|
BryanFazekas wrote: being a touch-typist means you're LESS likely to notice.
Yeah, I think you are right about that. I've been touch-typing for over 30 years (learned by playing WizType (Wizard of Id) on a Commodore 128). Amazing, you can actually play the game on Archive.org right in your browser.[^] I just tried it.
Anyways, you are right. I just type, I don't know where the keys are.
|
|
|
|
|
But a regular PC user should recognize Undo, Cut, Copy and Paste.
Truth,
James
|
|
|
|
|
Yep, kind of why I think lighted keyboards are pretty useless for me.
|
|
|
|
|
I have this horrible feeling there's this whole dark and raging qwerty vs zxcvbn thing going on that I'm unaware of.
cheers
Chris Maunder
|
|
|
|
|
Waiting for some angry ANSI X4.22-1983[^] fan to point out that their bottom row reads zqjkxbmwv .
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Are there any left? I though that war was over ...
"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!
|
|
|
|
|
OpenVMS also has a list of words/names which aren't allowed to be passwords. While going through it many years ago I noticed a few LOTR references. I also noticed the absence of a particularly offensive word -- I suppose it's so offensive that they didn't want to risk having it anywhere on the system.
I may need to add the file you mention to my database of word lists.
|
|
|
|