|
Dealing with a test environment that took an unbecoming length of time to configure.
It was such a PITA that I routinely checked in code untested, which was definitely frowned on if it caused problems. Thankfully it rarely did, and never in a way that couldn't easily be patched (the product had no-restart patching, even in deployed software, forty years ago). I had developed an in-house application framework, so it couldn't be tested without knowing how to configure the test environment for whichever applications might be affected by the latest changes. I could have asked that the test group put someone on call, but it was hard enough to convince some folks that I should work on an application framework, not customer features. So I simply inspected my code carefully, checked it in with fingers crossed, and took the flak when it caused sanity tests to fail. On balance, it ended up being far cheaper to do it that way, but it was such a violation of The Process that it would never have been officially countenanced.
|
|
|
|
|
Being told that all my SQL had to be on a single line, and not formatted.
It would be as readable as formatted SQL, which is true if you just read out aloud the sentence. Wrote a VS plugin that would show a formatted SQL statement after selecting it and pressing a button. Wasn't allowed to copy/paste that formatted statement into code though, it had to be on a single line. Lots of scrolling just to read the statement wouldn't matter, that was preferred to people "wasting time" on formatting.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Eddy Vluggen wrote: people "wasting time" on formatting
Wow. Someone thinks formatting is only about making code, what, pretty?
|
|
|
|
|
Eddy Vluggen wrote: Being told that all my SQL had to be on a single line, and not formatted. I could see that as a way to stop all dogfights about The One and Only True Way to Format Code.
You should consider starting to program in APL. In APL one major goal is to write the entire application on a sigle line.
|
|
|
|
|
Member 7989122 wrote: I could see that as a way to stop all dogfights about The One and Only True Way to Format Code. Yup, was also one of the reasons
Still, there is no "one true way"; simplest solution would be to "accept all", or have some tool do the formatting. Not wanting to have discussions on were whitespace goes is a bad argument to stop all formatting.
Member 7989122 wrote: You should consider starting to program in APL. In APL one major goal is to write the entire application on a sigle line. Only worked there for a year, two tops. No discussions on how to format the VB.NET code since VS automatically did that.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
The first time I went on a customer trip with my boss. I was an intern at the time. We were writing a control system for part of a manufacturing line. At one point, a part of the application I had written stopped working. I couldn't understand what was wrong, my boss was getting pissed, and the customer was looking unimpressed. We spent hours going over this and not getting anywhere. Finally, I went back and compared the code we were running to my original copy. They were different, and I hadn't made the changes. When I showed it to my boss, he admitted changing some things because he didn't like how I did part of it. When we put my code back, the application started working again.
I didn't say more than a half-dozen words to the guy the whole 10-hour drive home.
Software Zen: delete this;
|
|
|
|
|
Spending a beautifully sunny Saturday morning in the cold server room of Skopje airport, because the (redundant) servers weren't communicating with each other, only to find that it was because the installation engineers hadn't followed my very clear, very detailed instructions on installing the Synaptic software.
They hadn't bothered following the section on configuring exceptions for Synaptic's internal firewall, so the servers weren't being allowed to talk to each other.
As is typical, once I'd found the problem, it took only a couple of minutes to fix -- but the day was ruined.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Had a boss who should have been running his company rather than writing code.
I inherited a codebase that had a function that was about 700 lines long, and it had been copied 7 times, each with different parameters and had very subtle changes being made to the bodies of each duplicated function. After about 3 years of seeing this code almost daily (it was pretty much central to everything the app did), I took it upon myself to refactor the code so there was a single function. The next logical step would've been to refactor the one function some more into smaller chunks, but by that time I was still too afraid of breaking it that's where I stopped.
|
|
|
|
|
I remember working with a old Dual Core between 2008-2009. I have a lot of problems with the power supply!!!
|
|
|
|
|
Okay so i have this lil optimizing compiler and it's almost ready potentially for an article save one issue.
It does not do powerset construction at all. So everything gets rendered as an NFA, and yet i trim the NFA yielding some DFA parts to it without going through the full DFA transformation.
This isn't what i wanted.
What I wanted was to do a partial DFA transformation opportunistically but I've stumped myself going about it.
I can hack this together as is and produce an article for it, feeling like it could or rather should be better.
Or I can wait on it and keep trying for i don't know how long until i get it Right(TM)
The only the problem with the latter way is I see no light at the end of this tunnel and while I think it's possible i can't even be sure this approach is feasible in the first place.
Real programmers use butterflies
|
|
|
|
|
In academia, partial results are frequently published in case someone else can pick up the ball and run with it (apologies to British football fans for the shite metaphor).
|
|
|
|
|
I want to post that here, but i also don't think it's appropriate for here. Maybe I'll hang on to it for now.
Turns out, there's a way to do unicode DFAs i just found out about.
I'd much prefer that for my lexers as it's much faster.
I also found a port of brics (a java automata library to C#) so I may use that because brics is legend. the only reason I haven't used brics was it was in java.
Well, there's that issue down. So I guess rolex will now support unicode.
Real programmers use butterflies
|
|
|
|
|
Started doing some work with the Windows 10 speech synthesizer.
It's pretty good at recognizing comas, etc. and inserting the appropriate pauses when they're there.
It's amazing how irritating it gets when they're not.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
|
my kind of music
Live long and prosper
|
|
|
|
|
It did come to mind. Still have some cassettes.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
|
I see what you did there!
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
That's what happens with not enough comas ... or paragraphs.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
I look forward to your article !
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
Ok, so I got me some new laptops and was looking for suggestions/opinions on restart/shutdown.
And lets throw the Docks in too- I have one USB-C dock and another that is Thunderbolt; can these benefit from occasional power downs?
Currently I hibernate the machine, leave the monitors on, and unplug the docks over the weekend.
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
|
|
|
|
|
Depends on the software you use - I find I have to power cycle from time to time on the Surface where it sleep /hibernates most of the time. If I don't, I lose the mouse pointer.
And hibernate can be a PITA if you have network shares onto a power-saving NAS - if it goes into low-power mode and spins the disks down, Windows doesn't always reconnect them properly. The same with access to SQL via the Desktop machine, even if no apps accessing it are open when the Surface is hibernated.
Herself also has "odd problems" with her Jigsaw app - sleep or hibernate with it running full screen and it always comes back with a blank screen, which is annoying to say the least.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I've had issues with my Surface losing the mouse, too. Bluetooth mouse. Same with a Lenovo Yoga before the Surface. Bought a cheap HP Bluetooth mouse (HP # H3T51AA) about a year ago & haven't had a single drop since.
|
|
|
|
|
It's more my work laptop that I am questioning; and it arises when I intend to actually work from home and VPN back into work. Sometimes the Cisco client just doesn't want to "let go" if I don't power down before re-connecting in the office.
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
|
|
|
|
|
I shutdown my home machine every night. My work machines are powered 24x7 and are rebooted periodically when updates are installed.
/ravi
|
|
|
|