The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions. Or if you must, use the Back Room[^] - but enter at your own risk.
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen. For those discussions where you wish to be a little more frank, use the Soapbox[^]
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
7. Not everyone's first language is English. Be understanding.
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
We are a community for software developers. Leave the egos at the door.
Besides working on some cool stuff and writing a bunch of blog posts (ok, that was shameless), taking care of my gf that got the creeping crud since Wed and today is finally starting to feel better, I had the fun task of disinfecting an Amazon EC2 server I run for a client. So, here's the shameless recount. Lots of Trojans, but the worst of it was some app that got installed that was running a "miner" program. WTF. How did the instance get infected to begin with? I have a small clue to which I blame myself for my stupidity. No, not open ports or password issues or other stuff, I believe the ultimate culprit was the FileZilla install that I had downloaded ages ago on the server was infected to begin with.
It's really amazing how a website is attacked -- daily I get numerous attempts to hack into the website itself. If I leave the SSH connection open, within minutes there are attempts to connect. And so forth. I need to start getting aggressive in automatically blacklisting IP's.
Good news is it's all cleaned up, though I'm not sure why Amazon doesn't provide a virus scanner in the OS as standard practice when you create an instance. This instance is running Windows Server 2012 R2, so I had to go through these hoops to get Security Essentials installed.
I can see now where a good IT security specialist (which I am NOT) would be worth the money, as well as investing in a server-grade AV program. Ah, the lessons we learn.
All the homeowner chores I have to do on Sundays often make me thankful for the non-physicality aspect of writing code.
For instance, on today's agenda is getting on the roof to remove pine-straw, which the mrs. expects me to keep for the flowerbeds. The worst part is cleaning the gutters. I hate being on ladders...or even on a roof for that matter. Funny, it never seemed to bother me when I was younger, now it's almost like vertigo sets in >= 6 ft. up! Oh well, time to get to it! Hope the rest of you aren't working to hard today!
btw, the chore above is for a rental house...I've already spent this morning working around the main house.
At least be grateful that you can still get onto a roof. My days of roof work are over. I have a permanent form of ataxia with some vertigo that means I have to walk with a cane to help me stay balanced. Yuck! Growing old really sucks!
I've had flicker screen on my laptop since I updated to Win10. My i7, 8GB /w touchscreen, toshiba originally came with Win8.1 and I had ran it for 6 mos with no problems.
After updating to Win10, I began having screen flicker problems that have gotten so bad that my screen would go entirely black for 30 sec. - 1 minute before coming back.
It's gotten better over time and worse. I've tried installing various drivers, etc.
At some point I noticed if I moved my laptop screen the problem would seem to fix itself.
Then I noticed that if I touched the screen it would seem to fix the problem.
This same flicker problem has been reported on Microsoft Surface devices (also touchscreen devices).
Then it hit me today --- "is there a way to disable the touch screen and would that help?"
It seems to have solved the problem so far. I will update and let you know if I see the problem any more.
Maybe this will help someone else too.
We will see what happens.
I am seriously happy because I've just returned to my laptop after being away from it (lunch break) for over an hour. The problem has always manifested after the screen goes to sleep and then I awaken it, however, as I just unlocked the screen I had zero flicker.
Yes, I no longer have touchscreen ability on my laptop but I never use it anyways, so I've lost nothing...except the terrible flicker.
Stuart Russell and the Future of Life Institute have created an eerie viral video titled "Slaughterbots" that depicts a future in which humans develop small, hand-sized drones that are programmed to identify and eliminate designated targets.
«While I complain of being able to see only a shadow of the past, I may be insensitive to reality as it is now, since I'm not at a stage of development where I'm capable of seeing it.» Claude Levi-Strauss (Tristes Tropiques, 1955)
Of course I'll go to the doctor this next week, but meanwhile...
I got a brand new Sail chair from Herman Miller.
Yesterday I saw the table at the office was a little bit inclined to the right... And now, after a couple of months sitting on the new chair I've discovered my back is aching terribly in the low end left side.
As most of the people here are sitting everyday and I guess I'm not the first one to get this kind of ache...
What would you recommend me to soften that ache a little?
I have found two things to help -
(1) Going for a walk at lunch
(2) Having two tennis balls handy, lying on the ground on top of the tennis balls in the spots that ache and spending around three minutes doing the equivalent of what dogs do when they roll in something. It hurts but I have found it is the one thing that fixes my back the fastest. If I catch the ache early I find the tennis ball method can fix my back that day.
“That which can be asserted without evidence, can be dismissed without evidence.”
Sounds like the chair was wrong for you.
We're all different, there is no chair that works for everyone.
See if you can get another one.
Take a look at the link from CHill, the knee rolls does it for me. Whenever my back feels "wrong" I do the knee rolls, hear and feel a klick. and usually everything is ok within a day. If I don't I'm looking forward to a lumbago and/or a week or two of back pain.
For me the problem actually was my old car, I had back problems every month when it was at the worst. When I changed my car to a different brand, my problems more or less vanished within half a year.
Swimming, especially crawl is a good movement to prevent/ease back/spine problems ... and also (I am not joking ...) run up the stairs using feet and arms, like a cat or dog ... (it is a real advice I got once from my physician), but I prefer swimming as it is less "unusual" ... I imagine the faces om my neighbours - is he drunk or what ...
also - manual therapy can help, and of course painkillers are not good at all ...
As others said sitting too much is a problem,
but it's slightly more than that, sitting too still is the aggravating factor.
Same as staring at the screen too long without looking around much: stiff neck,
keeping legs crossed for long periods, sore knees
Our muscles are not designed for staying in one place, all muscles need to relax and tension - helps the fresh blood flow in, helps the crap flow out. Even when we sleep our unconscious brain moves us around.
When I was a young lazy (and overweight) nerd I'd almost always have back pain often weeks at a time, these days pretty much none (except standing still too long will get me (for me will resolve fast with a brief sit or squat).
getting up and walking about is a good start - anything less is just bad.
Exercise warm-ups/downs (even without the exercise) is better,
with real cardio exercise at least a few times a week best.
tai chi also works really well. (Wont comment on yoga, never tried it.)
Something else also not mentioned by others, all of the above will do as much for your mind as it does for your body, it's a fact, your brain benefits from breaks too. Not joking, try it and tell me I'm wrong - you wont.
This once young lazy and fat nerd:
Today I always slouch when I sit, sitting on a 3 legged stool I'll slouch, even more when watching videos at home - so slouched my ass is beyond the end of the chair, my neck bent forward by the back of the chair, and often my feet are up above my head and the screen (on cupboards around the PC) ... unlike my younger self I don't get sore at all.
1. I rarely sit still more than 30 minutes, even if it's just to go and pour a cup of coffee, after which I'll return back to that same slouched position
2. regular high intensity cardio, at least 5 hours a week including a minimum 30 minutes per session continuously 90 - 95% max HR - only danger to that: if I don't drink enough plain water during exercise sometimes later get cramps that bring tears to my eyes. (Sports drinks no difference or possibly worse - but don't bother with them, they're a waste of money bogus crap anyway - but that's another topic for the SB.)
Do not switch off your computer.
The question is: can we educate the nerds of open-source?
So imagine this: You are working with a 3rd party who maintain an open-source system for your common customer... You have some code that talks to the API... The 3rd party upgrades the open-source project... everything fail apart in the most disturbing way...
The reason: The open-source API got new features... The new features are added with total overlooking of the old... No default values for new parameters... No API versioning... Nothing...
The cause: A lot of (sometimes too much) people with change-rights without the minimal understanding of the consequences of their actions... Granted - they write spectacular code (most of them), but they lack the minimal education to understand what public API is... Most of the time they not even understand why it is wrong what they have done, after all - it is open-source, so change it as you like!!!
And that's what holds back Linux to take over Windows...
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
There are such open source projects, I can only recommend, stay away from them for commercial projects "that matter".
Many open source systems offer support licenses (open source does NOT mean "free to use" - don't forget that!) where you:
* Pay for the right to use it commercial
* Have a direct support line (<- who you're gonna call?)
* Get assistance even on code level if required
Teluu (pjsip) is a good example for that. This is a kind of open source that should be supported. Some anonymous garage projects are nothing I'd tinker with.
It's actually not that much different than having some team in the company maintaining a proprietary closed-source API. Happens all the time where I work -- somebody else changes the API, and it breaks all the calls we're making to their service. There's no communication, no warning, no backwards compatibility, no versioning, nothing.
So, the cat decides to throw up on the bed at 05:30 - fortunately, I managed to get him off while he was still "making the noises" so all I had to do was break out the carpet cleaning machine.
But ... there's no point in going back to bed, right?
Last night, the WookieTab was down to 8% power, so I left it plugged into the charger overnight. Unplug it, the screen lights up, and what do I see? "Getting windows ready, do not turn off your device".
Why then, Microsoft? Did you actually wait until it was no longer on charge?
Yes, it looks like it did from the percentage it eventually came up with.
OK, updates are important - BUT GIVE US A CHANCE TO DECIDE WHEN TO INSTALL THEM!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
05:30 is a good time for the cat to puke - Friday was 04:00, and Saturday 03:30
We've stopped the new medication (oral Ibuprofen gel) since vomiting is one of the "adverse condition" listed and will hope it calms down. Hopefully, the AB's the vet gave him should be pretty much finished their work, and he won't need the temperature lowering effect of NSAIDs any more anyway. I'll be keeping a close eye on him, and he has a vets appointment booked tomorrow morning if I need it anyway.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
This is one statement I have long taken issue with, particularly as a product becomes more mature it is 100% commonly accepted delusion.
OK for win 10 there may still be some merit or even requirement for updates but for Windows 7 has actually not needed an update applied since before 2015, yet the common misconception is that every update must be applied lest it collapse into a steaming virus ridden non-functional system. Yes my own and many client systems have run with windows updates turned of since as early as 2014. (A few selective updates may have been applied, but not many).
Even the recent 'huge security threats,' wannacry and the like, were never threats except in a few uncommon installations, (and really should have been corrected at the network level, not the operating system anyway.)
The main only issue holding me back from adopting win 10, and advising clients to do the same, is [because of the update process]; the inability to ensure the system I suggest/provide to a client is and will remain stable
- no matter who provides nobody wants even the chance of something that keeps breaking as much as win10
- I don't want to be saddled with more support calls for something I didn't cause or suggest.
Those of my clients that chose themselves to deploy to 10, I advise them I will not provide immediate response support for operating system [caused] issues, and will charge heavily for support provided to remediate such. (If they want to pay me $500 an hour to reinstall windows 10 at my own pace and timing then go ahead, I won't do it for any less, I prefer they find another geek if it comes to that.)
My final advice to clients remains: stay on 7 with this summary: why the hell change if the current system is not broken, and windows 10 cons aside for them there are no pros; zero advantage, yes ZERO to deploying 10. They absolutely don't need it, nothing is gained.
The interface, although ugly, doesn't matter.
The "fastest" at starting, stopping, running doesn't matter (a few seconds during boot, who cares
- and BTW: it's no longer true anyway
The 'privacy' is not really an issue for me nor clients
- of course set minimal: to cut wasted bandwidth, not to worry about stealing information
The app store is a joke but that doesn't matter, it's their company applications that matter.
Do not switch off your computer.
I mentioned in a recent thread that I have a Windows 10 machine that failed to install this month's set of patches. It has very little reason to fail - Windows 10 1709, which came out in October, was clean installed barely a month ago, and I haven't installed any software on it other than the Nvidia ION driver it needs and VLC--it's in a very clean state. The machine is hooked up to a projector and is used only for watching videos - whether it's streaming from across my LAN (nothing is stored locally) or streaming from YouTube.
Why it fails to install an update when it's still in such a clean state, I don't know. However, this machine never managed to upgrade itself to Windows 10 1703, so it had been running 1607 since it came out. A few months ago, that started failing to install monthly updates, and knowing that it wasn't able to update to 1703 (without starting over), I waited patiently for 1709 to come out to do a clean install. The fact that it's now running into problems so soon after it's been wiped/reinstalled was the last straw for me. To be fair, I have Windows 10 running on at least half a dozen other machines, both physical and virtual, and none of those have tested my patience as much as this one has.
Last night I've had enough and installed Lubuntu 17.10 on it - it's rated as one of the better low-overhead distributions of Linux (that also has a decent desktop environment). The machine is old - it's an Acer Revo R3610, with some Atom CPU and 4GB of RAM. While it's good enough for its purpose (playing video), it did take Windows 10 some time to get going, especially after a cold boot, so I felt it was important to install a distribution that's not so resource-hungry. It performed better when it had Windows 7.
Long story short: I was impressed with how everything "just worked". I copied the ISO to a USB stick with Rufus (which makes it bootable), and was up and running within 20 minutes. It picked up both video and audio on its own, the NIC, and even the wireless adapter (which I don't really need). Out of the box, it sees the network share that contains my media library. There's some built-in app that plays AVI, MP4 and MKV files without a hitch, so I haven't even bothered installing VLC. There's a version of Kodi for Linux (which I hadn't reinstalled on Windows while it was running 1709), and it's indistinguishable from the Windows version - bonus, it performs much better than the Windows version ever did. The task manager (or whatever the equivalent is called) hasn't shown the OS using more than about 700MB of the 4GB of RAM.
If regular updates for this distribution are as problem-free on this physical machine as they are on the virtual machines I had been tinkering with, I think I'm going to manage to squeeze out more mileage from this machine than Windows was going to provide.
I guess my point, if I have one at all to make, is this: Microsoft, get your act together.
I agree. I've had the same positive experiences with Ubuntu. My main machine is still Win10 however, since I'm so often do dev work and I'm so use windows after all these years.
ubuntu amazingly simple to install and just start using and everything including wifi just starts working properly on all types of old h/w too.
I have had a couple of things that are odd though. I get warnings to update then try too and it doesn't want to update. But overall, it's an amazing system and especially considering it is such a huge open source project.
I use Fedora Linux quite a bit for various things, and honestly it is quite user friendly. I still use Windows for most things (as NVidia drivers for Linux suck), but Linux is on several other systems I own.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
And there are a number of flavours of ubuntu, a very ight weight one, called xubuntu or some such, and one thats really like windows I believe. (Been a while since I played with it)
Anyway, yes, it is a good distro and for an engineer very easy to get to grips with. You can for example just switch out the entire kernel for another (you can build a kernel specific to your hardware for example) and back up the entire OS by just copying a directory.
Microisofts reaction with the OS is interesting. It is free, now called IoT (bundled up with the other two OSs, the old mobile and the phone one I seem to recall), and even the old NT version doesnt force you to run the exhaustive tests on your drivers before getting them signed.
I wonder if Microsoft are desperate and are trying to push their OS into places typically dominated by Linux? They are going to have to try a lot harder though, as you say. They really arent winning the race.