|
I wish I could say the same for C++
|
|
|
|
|
C++ is one of those languages that you have to keep banging at until it "clicks" after which it becomes a lot faster to learn additional C++.
That said, I do not believe it's possible to master every aspect of C++ in one lifetime. I don't even think Mr. Stroustup could say he has. After all, in the early days of the language he never imagined template would be used how it is used now.
Keep at it. OOP is cool, but after you've got the fundamentals down, explore the power of the template keyword, and constexpr, because that's really what sets C++ apart and to a degree even defines it these days. If you want to understand C++'s "personality", you'll want to understand metaprogramming. Plus it can be fun, because it's all little brain teasers the way it bakes out. "Solve this puzzle to create your implementation" - seriously.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: After all, in the early days of the language he never imagined template would be used how it is used now.
Heck, he didn't even imagine templates: Template Metaprogramming with C++
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown
|
|
|
|
|
I should add, I tell everybody who is new(ish) to C++ these days - get an Arduino kit, and code with that.
(Use VS Code w/ PlatformIO instead of the Arduino IDE, since it has intellisense, and is cleaner)
Arduino is a very easy to use software framework - designed for electrical engineers and hobbyists rather than developers. Plus being able to interact with physical devices via code helps to both realize your creations and can keep you motivated to keep at it.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: ...being able to interact with physical devices via code... ... is even more true with Assembler, IMO, and a lot of fun.
There are no solutions, only trade-offs. - Thomas Sowell
A day can really slip by when you're deliberately avoiding what you're supposed to do. - Calvin (Bill Watterson, Calvin & Hobbes)
|
|
|
|
|
Looks ok. What is it?
I think FE could be a prime candidate for getting eaten alive by AI.
The rise of micro/nano services could see more customized UX where users spin their own UI (using AI) around wiring to those services as their specific individual needs dictate.
|
|
|
|
|
It's a media cataloger. Basically you punch in a TV series and it creates an HTML web on your local filesystem with a folder structure for all of your media, and information pages about it.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I lurked that bit.
I was meaning what UI framework stuff are you tapping?
|
|
|
|
|
No frameworks, except for the W3 stylesheet, which I finally started using when my arm got twisted by CSS behaving inexplicably.
There's minimal JS involved.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Yeah I kinda expected to hear "my own".
I doubted you'd shove Angular/React into an Arduino or something so it was either something more obscure and incredibly light or DIY.
|
|
|
|
|
Well this targets nothing smaller than a phone, to be honest. No IoT here.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I'm using winhost.com to host my website.
When I try to download a 200 MB file from the site, it comes down at less then 10 Mbps. A friend who lives about 40 miles away also experiences the same slow downloads from the website.
I contacted support and the rep responded that the speed is normal. But with my cable internet, the file should come down in less than 10 seconds, not in 2 minutes.
I don't have download lags with any other site, and I performed a speed test and scored about 360 Mbps.
Anyone have experience:
0. With this company (Winhost?)
1. With a slow download speed from a website they maintain?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Richard Andrew x64 wrote: With this company (Winhost?) Never used them. My cheapo, shared host is DreamHost.
Richard Andrew x64 wrote: 1. With a slow download speed from a website they maintain? Yeah. Usually if you get the a shared, cheap plan they'll offer bandwidth and diskspace as part of the sales pitch, but put you in the lousiest network/subnet/machines with crap NICs/whatever... and they're shared no less.
Can always do a traceroute to confirm what you already suspect about where the slow down is.
As far as the rep, level 1 support rarely knows what's going on... even for corporate accounts. Have fun with that.
Jeremy Falcon
|
|
|
|
|
Well, tracert shows no big delays over all the hops.
My plan boasts unlimited diskspace and bandwidth, but by bandwidth, they are referring to number of bytes transferred, not speed.
Have you ever tested the maximum download speed from your DreamHost website?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I had intermittent issues with my site (although my host has been extremely responsive and resolved all my issues). I use interserver.net and they are the best & I’ve used multiple hosts including godaddy (worst), smarterasp.net(better) & winhost
Anyways I created a simple speed test on my site which displays the download time right on the page. You can see it and steal the extremely simple code at Test Load Speed[^]
It simply uses a larger image to make the page take a bit longer
I just ran it and saw downs load in 0.058 seconds
But when I was having problems I saw the time got to 7-10 seconds
|
|
|
|
|
Don't worry raddevus, I won't tell anyone you're using a Mac. Your secret is safe with me.
Jeremy Falcon
|
|
|
|
|
Actually, I use all three of the BigThree OSes.
1) My main desktop (typing on now) I run Ubuntu 22.04.4 LTS.
2) My laptop is now a Mac Pro M3 - I gave my older AMD R7 16GB Windows laptop to my wife -- it runs win11 now.
3) I also have a MacMini M1 running headless under my desk (connected via KVM)
4) I have a Win10 VM which I connect to via VirtualBox (whenever I'm forced to use Windows - rare these days)
5) I remote to work (from Linux using Remmina RDP) machines which run Windows 10 where write C# ala Visual Studio.
|
|
|
|
|
Noice. IMO, if one doesn't at least use them, they really shouldn't be having an opinion on them. These days I'm on Windows 11 and Debian 12 (WSL). No current plans to use a Mac again, but you never know...
Jeremy Falcon
|
|
|
|
|
Yeah, the only reason I have the Macs is because I'm interested in developing iOS apps.
I've written a couple and I'm currently writing one for a friend.
We'll see how it goes.
|
|
|
|
|
That's cool, man.
Jeremy Falcon
|
|
|
|
|
I've run bootcamp on mac hardware for years and my bootcamp partition just got corrupted and Windows can't seem to repair it. macOS can read the whole thing (or as much as I need it to read) with no problems so I think it's time I finally ditched bootcamp altogether. I still need Windows for a certain webforms app we wrote a while ago, plus a couple of other utilities I occasionally use, so a Windows VM makes sense.
On which machine are you running Windows as a VM? The ubuntu or mac Mini? (I have the same mac mini bolted underneath my desk as well).
cheers
Chris Maunder
|
|
|
|
|
I run the win10 VM via VirtualBox on my Ubuntu desktop.
When I got my recent Mac Pro laptop I looked around a little to see if there is a way to run VirtualBox on it and it seems like there are challenges. Maybe stemming from M-chip hardware & virtualization or something.
|
|
|
|
|
I have a DELL I've setup as triple boot: Ubuntu, Win11 and Debian so maybe that will just be my solution for now.
Parallels runs Windows on Arm (for a hefty fee) and the new May 20 launch of the snapdragon powered laptops and latest windows release may mean Arm64 support (hence my M1 mini) might be more widely available.
I did get Windows on Arm running on VMWare. Briefly. The VM just stopped working, as did the whole VMWare system. It was odd.
cheers
Chris Maunder
|
|
|
|
|
Richard Andrew x64 wrote: Well, tracert shows no big delays over all the hops. The good news is, it's not the servers then. So they're probably just manually throttling your bandwidth.
Richard Andrew x64 wrote: My plan boasts unlimited diskspace and bandwidth, but by bandwidth, they are referring to number of bytes transferred, not speed. Yeah, most do that. Nobody ever gonna say in their sales pitch... but we're gonna screw you this way. Cheerio.
Richard Andrew x64 wrote: Have you ever tested the maximum download speed from your DreamHost website? I only use it to host a stub website to help me keep a trademark, but I just ran a quick test through WSL and with DreamHost I can download a small file at around 600K/second. A similar small file off a government website is also 600K/second. Granted, the smaller the file less accurate that is. So, I also ran a test using testfile.org and it clocked in at 19.3MB/second, as a point of reference.
Keep in mind though, I'm on a Cable Modem use shared bandwidth. So, "real" speeds won't kick in unless you're streaming/doing larger downloads and your neighbors aren't on Netflix. But, at least the speed was the same as with the government website.
Jeremy Falcon
modified 7-Apr-24 22:02pm.
|
|
|
|
|
I, too, am on a cable modem. And the ISP speed test shows a peak of 360 Mbps. Am I foolish to think that a little guy like me could afford what it takes to have people download 200 MB files at that speed?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|