Notifications
Clear all

how to code python  

Page 6 / 6
  RSS

frogandtoad
(@frogandtoad)
Reputable Member
Joined: 1 year ago
Posts: 455
2020-01-16 12:46 pm  

@casey

Posted by: @casey

Its been over a decade since I last used C++ and when I decided to refresh my memory on how to program a game in C++ using the window's API from some books I had the code refused to compile with the code::blocks ide I had downloaded.  Apparently the code was written before c++ 11.  No doubt there was a work around but it made me decide not to bother with it. 

Unfortunately, this is not the fault of the language per se, but more so to do with the evolution of the IT world.  If you work in IT, then you will appreciate that one has to forever update their skill set, be it programming, networking, cloud, ITIL, etc... MS continually change languages just about every decade, so this experience is nothing new.

Having said that however, both C and C++ have stood the test of time for one good reason, and that is their portability to compile the same code on every platform, with the caveat that you only stick to the language as strictly defined in the ISO standard - Obviously you will need to have a compiler that supports the latest standard features on each target platform, but it does work extremely well if you stick to the standard.

Granted, python offers faster prototyping, but if a programmer is proficient in C or C++, then the speed to prototype something is really negligible, IMO of course 🙂

Cheers!


ReplyQuote
Robo Pi
(@robo-pi)
Robotics Engineer Moderator
Joined: 1 year ago
Posts: 1774
2020-01-17 12:41 am  
Posted by: @frogandtoad

The last version I had was 6.0 with the full MSDN library (at lease back then you got real documentation, along with video example... where do you get that these days?)

That's the version I used too.  I loved it and I  still have my VB 6.0 manual on a shelf here in case I ever go back to it. ?  Although that's extremely unlikely now that I'm using C#.

Posted by: @frogandtoad

I'd really like to get back to C# one of these days... I may just get back to one of my unfinished projects!

I'm writing a C# program I call Robot Overseer.    The idea is that I'll be able to communicate with all my robots from a single laptop computer.   I'm actually working on trying to produce a video on to build my Robot Overseer program.   Unfortunately my video making skills and equipment are not in the best of shape.  So it's taking me forever just to try to get this video started.  My current Windows computers are excruciatingly slow.  They are slow enough just running the code IDE.  But then I need to have the screen capture program running in the background, and that even slows things down further.   So the viewers will need to wait for long pauses for everything I click on to execute.   Either that, or I'd need to painstakingly edit all those pauses out.

I really need to break down and buy a super fast computer so these delays simply are no longer an issue.

Same holds for processing the finished videos.  Fortunately I can move the videos over to a Jetson Nano and process them there.   And yes, a little Jetson Nano runs faster than my Windows machines.  That's how bad my computer are.

DroneBot Workshop Robotics Engineer
James


ReplyQuote
Spyder
(@spyder)
Prominent Member
Joined: 1 year ago
Posts: 801
2020-01-17 1:01 am  

@robo-pi

Did you know that VLC has a desktop capture function so you can make "how to" videos ?


ReplyQuote
Robo Pi
(@robo-pi)
Robotics Engineer Moderator
Joined: 1 year ago
Posts: 1774
2020-01-17 2:37 am  
Posted by: @spyder

@robo-pi

Did you know that VLC has a desktop capture function so you can make "how to" videos ?

I didn't know that.  I use VLC on the Jetson Nano to convert video file types.  But I didn't know it can also do screen captures.  I've been using other programs for that.  In any case, I need to do screen captures on my Windows machines.  I don't currently have VLC installed on them, unless it's hidden in accessories?

Nope, not in there.

I've been using a program called Activepresenter to do screen capture.

The problem isn't with screen capture.  The problem is that my computers are extremely SLOW.  Probably in part because they are bogged down with a bunch of old software and files that should have been removed centuries ago. ? 

They are also no doubt filled with Windows Bloatware, Spyware, Adware, Ransomware, etc.  The thing just updated itself last night.  Probably installed more Spyware.

DroneBot Workshop Robotics Engineer
James


ReplyQuote
Spyder
(@spyder)
Prominent Member
Joined: 1 year ago
Posts: 801
2020-01-17 2:43 am  

@robo-pi

VLC --> Media --> Open Capture Device --> (dropdown menu) Desktop

Also, I like MalwareBytes for degarbaging a pc. Tron is also good if yer careful cuz it looks for everything. It's very effective tho


ReplyQuote
Page 6 / 6