|
I've been struggling for days to get my parallel display working.
I even gave up on it and deleted the code in frustration.
I rewrote it today, and once I got it compiling it worked the FIRST TIME.
This is no joke because it's like this
ili9341 driver -> generic display driver code -> raw 8 bit parallel software driver -> display
And all of it had to work in order for anything to show up at all.
Who's a superstar?
*beams*
Real programmers use butterflies
|
|
|
|
|
Nice, I just gave you beer in celebration of that impossibility
Oh no, what have I done? I'm 16, so I'm underage...
"FBI OPEN UP!!!"
Sorry guys gotta run!!!
|
|
|
|
|
That's not what the FBI does.
|
|
|
|
|
Awesome!
It's been maybe 20 years since I had a significant chunk of code work the first time, and that was because it was so painful to set up our test environment that I would carefully inspect my code before checking it in, untested. It occasionally bit me in the butt, but we had source code patching 40 years ago, so it was only a big deal to chronic whiners. Nowadays, it's so easy to debug that I've gotten sloppy!
|
|
|
|
|
Doesn't that feel good.
Especially with a rewrite in anger.
|
|
|
|
|
Ha the good old rewrite from scratch trick!
Works quite well once you know the problem well, which you did!
Congratulations!
|
|
|
|
|
|
It is not an article. At best, it is a tip. If you want to see an article to compare yours against, read any of OriginalGriff's works, or Sergey Kryukov's works, or many others.
At most, your writing is a tip on a fun way to play with the 'Turtle' in python. You assume your readers know what the 'Turtle' is, which is not the case. You don't describe what the code does - it is more of a code dump. The writing could be greatly improved by giving a little background on the turtle, showing pictures of it and what your code does to it. It could also benefit from a better overview of what you learned during the creation of the code, and how it introduced you to Python programming.
Best wishes improving it, and creating more fun content!
|
|
|
|
|
Okay, thanks. I will fix that later. Don't know why I didn't think of that.
|
|
|
|
|
Hello and Welcome
You appear to have a good start towards your career and the most important thing is to keep learning. This is a good place to learn, many experienced and professional programmers with many years of experience ready and willing to help a young beginner such as yourself.
The less you need, the more you have.
Even a blind squirrel gets a nut...occasionally.
JaxCoder.com
|
|
|
|
|
Thank you. Just wanted some info for what I need to do and if I am on the right track.
|
|
|
|
|
I will try to post it at noon GMT.
|
|
|
|
|
A new laptop will soon arrive to replace one that is over 5 years old. I'll then have the problem of migrating everything (software and files) to the new laptop.
Both laptops are Dells, running Windows 10. What would you recommend for doing the migration?
The last time, I recall using Laplink PC Mover Professional and an ethernet cable. Neither laptop has a built-in ethernet port, and I don't want to buy a second adapter, so I'd probably use a USB cable this time. I could use Laplink's software again, but it only works with a USB cable that you have to buy from them at a stupid price. Annoying, so I wanted to see if anyone had other suggestions.
|
|
|
|
|
Take the chance and continue with a fresh and clean laptop and forget the old trash
|
|
|
|
|
Quote: 0x01AA wrote: continue with a fresh and clean laptop and forget the old trash
I actually second this.
I also followed this path when upgrading - installed stuff on the go, as soon as I noticed I needed it. Not beforehand. At first sight it looks like you'll miss a lot of stuff (like *really* a lot), and are more busy installing than working, but it pays of in the long run.
Now I only have stuff on my laptop that I really need (i.e. no more Visual Studio, no more IIS-sh*t, which saves me tons of gigabytes). If needed, I can always RDP into my main machine (let's face it: how many times did you work in the last couple of years when there was no internet connection? For me: almost none. There you go).
I now enjoy a lightweight laptop. Until the next upgrade, that is
|
|
|
|
|
I'll strongly second the second. It's amazing how much stuff from your old machine you think you'll need, but you won't. At least, that's been my experience.
The only thing I'd add would be to make sure you have a full backup of all personal files from the old laptop. Personally, I'm comfortable with them on OneDrive or Google Drive (both companies know everything about me already). Then, start fresh on the new machine and just pull files down as needed.
It is a very freeing experience.
|
|
|
|
|
Similar here. My solution is not to scrap the old machines and stow them away as a backup(?).
And the reality: Now I have at least six old machines... never touched/needed them for years, but still afraid to throw them away. This is also a/my kind of paranoia
[Edit]
I do the same with coffee/espresso machines
|
|
|
|
|
glare
looking over my shoulder at my last 3 laptops....
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
Ha! I used Laplink when it required a custom serial cable (late 80s).
I rang out the pins of one and cobbled up adapters so I could copy several PCs at once.
|
|
|
|
|
|
If you can, remove the hard drives/SSDs/NVMEs from both laptops and plug them into ports inside a desktop.
Both USB and LAN are terribly slow compared to SATA/PCI-express.
I always image the drives before using them for something else and I recently had to do a drive upgrade (in linux).
The oldest SATA3 SSD disk (250GB) took over 4h using USB 3.0 to make an image. I remade the image (because of errors in the first attempt) with the drive connected to a SATA port and it took some 20min. The newest NVME disk (1TB) took under 1h to image.
Note that my 10 year old motherboard is PCI-express 2.0 and does not have a NVME port, I use an adaptor NVME->PCI-express.
As far as software is concerned, I am sorry but I can not offer any suggestions. I do not use Windows since they announced Windows 8.
|
|
|
|
|
Before you buy anything check CUKUSA.com[^]
They have a silly name, but their prices are fantastic and they use anywhere from mid to top shelf components.
They primarily market to gamers, but look around, because I use gamer systems sans fancy video as coding workstations and they're fantastic for that.
Real programmers use butterflies
|
|
|
|
|
Too late, but thanks for the reco. I did check out their site, and my guess is that my laptop is comparable to what they offer. I've been pleased with 3 Dells in a row, so I got an XPS17. It has a 17" screen, which wasn't offered last time (an XPS15). I like the 17" because I don't bother with monitors, partly because SWMBO appropriated my large desk, so I'm stuck with a puny one.
|
|
|
|
|
Well keep them in your back pocket. I ordered a dev machine from them in january, and it's fantastic. I can't believe how little I paid for it, and they have state side support I didn't even have to wait for. Plus they sell on amazon.
Between the prices, build quality and support, I really don't know how they do it. I feel a bit like I'm in a stephen king novel when I peruse their stock, like if I order something that seems too good to be true at the price, something terrible will happen to me later.
Real programmers use butterflies
|
|
|
|
|
I love my old Dell XPS 17, which is why I've hung on to it for 10 years. 17" screen, plus a KB that isn't all scrunched together. Also has a second HD bay which was handy when I upgraded to a SSD drive (made my original drive the secondary, copied files across that I needed).
If Dell is making the XPS 17 again, I will probably get one...
|
|
|
|