Lamest sounding "I can't wait to get back to coding" you've used lately.
-
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