Lamest sounding "I can't wait to get back to coding" you've used lately.
-
"That needs heavy refactoring!". :rolleyes:
"In testa che avete, Signor di Ceprano?" -- Rigoletto
Throw it out and start fresh.
-
I just caught myself saying I wanted to head back to the keyboard to knock out a issue with wildcard selectors while sanitising HTML generated from Markdown and had to stop and have a good hard talking to myself. This - THIS - is what you spend your life doing?? I love it, I really do, but the words really don't convey the excitement we all feel, right?
cheers Chris Maunder
My wife sometimes complains about the amount of time I put in on the weekends, typically around 6-10 hours depending on what I need to get done vs. what SWMBO wants me to do...yard work, football game, etc. :sigh: There's been many hot afternoons while I'm doing yardwork/home chores and think to myself 'I can't wait for Monday!' :laugh: Disclaimer: I am self-employed and WFH, :) I've always liked working on the weekends with fewer distractions, often saving the more complex problems/fixes for that time. There's also the reward of going into the Monday morning conference call feeling ahead of the game.
"Go forth into the source" - Neal Morse "Hope is contagious"
-
My understanding of Regular Expressions is that if you have a problem you're trying to solve with them, you end up with two problems. :laugh:
RegEx (well, non-trivial RegEx anyway) just doesn't fit my head - I'm just not wired that way . . That said, I had a great colleague around 30 years ago who's favorite response (when I explained a problem taking more than 5 minutes to do so) was "Yeah - that's two lines of PERL" . . Not even sure if I remembered the name of the language right, but if he reads this, he'll know, I'm sure . .
A few are great. I am small. Together we are the Universe.
-
Throw it out and start fresh.
-
I just caught myself saying I wanted to head back to the keyboard to knock out a issue with wildcard selectors while sanitising HTML generated from Markdown and had to stop and have a good hard talking to myself. This - THIS - is what you spend your life doing?? I love it, I really do, but the words really don't convey the excitement we all feel, right?
cheers Chris Maunder
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 :-D . 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 just caught myself saying I wanted to head back to the keyboard to knock out a issue with wildcard selectors while sanitising HTML generated from Markdown and had to stop and have a good hard talking to myself. This - THIS - is what you spend your life doing?? I love it, I really do, but the words really don't convey the excitement we all feel, right?
cheers Chris Maunder
-
Yeah, it's fun. :thumbsup:
Is it any wonder that The Lounge has topics like CCC, Wordle-stuff etc? Like I tested positive for Covid yesterday, and I'm WFH, but rather than entirely calling in sick I'm revisiting some lower-priority pet projects that interest me. Like jhaga said "Coding is an addiction..." and Ron Anders "It is fun". To me, programming is often like getting paid to read books, learn stuff, do crossword puzzles, wordle, riddles, and logic puzzles.
-
I just caught myself saying I wanted to head back to the keyboard to knock out a issue with wildcard selectors while sanitising HTML generated from Markdown and had to stop and have a good hard talking to myself. This - THIS - is what you spend your life doing?? I love it, I really do, but the words really don't convey the excitement we all feel, right?
cheers Chris Maunder
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.
-
I just caught myself saying I wanted to head back to the keyboard to knock out a issue with wildcard selectors while sanitising HTML generated from Markdown and had to stop and have a good hard talking to myself. This - THIS - is what you spend your life doing?? I love it, I really do, but the words really don't convey the excitement we all feel, right?
cheers Chris Maunder
Quote:
THIS - is what you spend your life doing??
It's more fun to compute! [It's More Fun to Compute (2009 Remaster) - YouTube](https://www.youtube.com/watch?v=d9tH2XXhiZ4)
-
I just caught myself saying I wanted to head back to the keyboard to knock out a issue with wildcard selectors while sanitising HTML generated from Markdown and had to stop and have a good hard talking to myself. This - THIS - is what you spend your life doing?? I love it, I really do, but the words really don't convey the excitement we all feel, right?
cheers Chris Maunder
-
I just caught myself saying I wanted to head back to the keyboard to knock out a issue with wildcard selectors while sanitising HTML generated from Markdown and had to stop and have a good hard talking to myself. This - THIS - is what you spend your life doing?? I love it, I really do, but the words really don't convey the excitement we all feel, right?
cheers Chris Maunder
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.
-
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
-
I just caught myself saying I wanted to head back to the keyboard to knock out a issue with wildcard selectors while sanitising HTML generated from Markdown and had to stop and have a good hard talking to myself. This - THIS - is what you spend your life doing?? I love it, I really do, but the words really don't convey the excitement we all feel, right?
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.
-
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.
A fun read on why regex can't do HTML can be found here: Parsing Html The Cthulhu Way
-
A fun read on why regex can't do HTML can be found here: Parsing Html The Cthulhu Way
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
-
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.
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