|
Coding is an addiction so I am trying to limit myself to one function or one feature per day.
I consider a day lost on which I have not coded at least once...
jhaga
|
|
|
|
|
Man is defined by his projects.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
"That needs heavy refactoring!".
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Throw it out and start fresh.
|
|
|
|
|
Indeed.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
|
Chris Maunder wrote: the words really don't convey the excitement we all feel, right? When I'm coding something new I'm happier than a pig in slop, as we say here in rural Ohio .
I spend a lot of my time locating and fixing bugs in software written by others, a consequence of our team shrinking from 17 to 4 and then back up to 6 over the last few years. This is frustrating as it takes hours of work identifying the problem, determining the solution (usually just a line or two), more hours verifying that the solution doesn't break something, and then test, test, test.
Two large services in our current product were in a sorry state after being touched inappropriately by multiple people over time. I convinced my boss to let me do a rewrite on both. This has been wonderful on several fronts. Neither are UI code. Don't misunderstand, I'm a sickie and I like doing UI code. I just wanted to prove to myself I could do internals as well. Some of the implementation patterns in the original services are clunky, so I can improve those. The services are in C++ rather than the C#/WPF we use for our UI, so I'm refreshing some skills.
The irony here is that working on these has become a refuge of sorts. I have some family issues going on, and the coding gives me something positive and satisfying to work toward.
Software Zen: delete this;
|
|
|
|
|
I don't code because I love it.
I code because it is better than roofing a house in July.
|
|
|
|
|
here 2 attempts at writing emotion
I long for the sweat surrender, as my eyes dance over the screen, my mind swirls with thoughts to find the illusive answer to the reason, the why. And with but a moments switch, my mind is clear, my heart is full, my hands caress each key not missing a step. Thus it is solved.
or
Just want to get down and dirty, in-between the thick juiciness of it all. Get all sweaty, work up a really stink of 15 hours grinding, and pounding attempt after attempt. The harder it gets, the greater the release.
each to their own.
|
|
|
|
|
|
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!
|
|
|
|