|
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.
3. No sys-admin, networking, "how do I setup XYZ" questions. For those use the SysAdmin[^] or Hardware and Devices[^] forums.
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.
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.
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.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
modified 16-Sep-19 9:31am.
|
|
|
|
|
My little MCU can't do math.
It runs at 600MHz.
It's running the same code as something that runs at 240MHz, but it's going like 10 times as fast on the 600MHz CPU. They're both 32-bit CPUs.
10 times faster, by my rough estimation.
That doesn't add up. I'm not really complaining per se, but it is a bit like putting something together, it working, and yet having parts left over.
Edit: after actually benchmarking it came out 9 times as fast. pretty close for a wild guess on my part.
To err is human. Fortune favors the monsters.
modified 7hrs 5mins ago.
|
|
|
|
|
Quote: My little MCU can't do math.
I know, it`s music based probably. I guess the processor has groups of cords arranged in levels, the sounds travel between cords and levels which results in logic being produced. It looks like this: <internet link="">alu_schematic.jpg
|
|
|
|
|
In some cases math can be optimised by allowing [a great deal of] loss in precision, and baking your own, eg cos(n) with a precomputed table. Dunno what your little MCU wants to achieive.
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
That's not surprising. It could be that the execution clocks required per instruction are less on your 600 MHz MCU.
There used to be a tool in Norton Utilities attempted to calculate the CPU's clock speed by timing the runtime of a specific task. As long as you were using the same CPU family (an 8026, IIRC), it gave accurate results. It gave too low results on an 8086, and too high results on an 80386+, all dues to the change in required clocks per instruction on the different CPUs.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I've been wanting to switch over to ARM Cortex processors for awhile - I figure coding against them opens a lot more doors for me than just using boutique Tensilica CPUs for example.
The Teensy is Arduino compatible, and the most capable (by far) of the Arduino compatible MCUs on the market. The ARM it uses is a superscalar 32-bit 600mhz processor, with branch prediction, and 64-bit floating point coprocessing. It also has two programmable USB ports, SPDIF, I2S, I2C, SPI, a zillion PWM channels, SDMMC and stuff I don't even remember right now.
So for those of you that have been dabbling in IoT, or want to, I can recommend the Teensy, particularly version 4.1
They are costlier than most other kits, but well worth it. You'll understand where the money went.
I'll probably still use ESP32s sometimes, but the Teensy blows them away.
To err is human. Fortune favors the monsters.
|
|
|
|
|
honey the codewitch wrote: The ARM it uses is a superscalar 32-bit 600mhz processor 600 miliHerz? That's going to take ages...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
i'm a descriptivist.
*hides*
To err is human. Fortune favors the monsters.
|
|
|
|
|
we all knew what you meant. Case sensitive units of measure begs for human error.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Wordle 425 3/6
π©β¬π©β¬π¨
π©β¬π©π©β¬
π©π©π©π©π©
|
|
|
|
|
Wordle 425 3/6
β¬π¨β¬π©β¬
π©β¬π©π©π©
π©π©π©π©π©
So close, so close
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Wordle 425 4/6
🟨β¬β¬β¬β¬
🟨β¬β¬🟨β¬
β¬β¬β¬β¬β¬
🟩🟩🟩🟩🟩
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Wordle 425 3/6
β¬β¬π©π¨β¬
π¨β¬π©π©π¨
π©π©π©π©π©
|
|
|
|
|
Wordle 425 5/6
π¨β¬β¬β¬β¬
β¬π¨β¬β¬β¬
β¬π¨π©β¬β¬
π©β¬π©π©β¬
π©π©π©π©π©
|
|
|
|
|
Wordle 425 4/6
β¬β¬π©π©β¬
β¬β¬π©π©π¨
π©β¬π©π©β¬
π©π©π©π©π©
|
|
|
|
|
Wordle 425 4/6
π¨β¬β¬β¬β¬
β¬π¨β¬π¨β¬
β¬π¨β¬π©π¨
π©π©π©π©π©
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
WΓΆrdl 425 3/6* π₯3
π©π©β¬π©β¬
π©π©β¬π©β¬
π©π©π©π©π©
wordle.at
I hate it when you hit 3 letters directly, the possibilities seem endless then.
Rules for the FOSW ![ ^]
MessageBox.Show(!string.IsNullOrWhiteSpace(_signature)
? $"This is my signature:{Environment.NewLine}{_signature}": "404-Signature not found");
|
|
|
|
|
Wordle 425 5/6
β¬β¬β¬π©β¬
β¬β¬π©π©β¬
β¬β¬π©π©π¨
β¬β¬β¬β¬β¬
π©π©π©π©π©
What the heck kind of word is this!?
|
|
|
|
|
Sander Rossel wrote: What the heck kind of word is this!? Onomatopoeia. SOTW must have provided millions....
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
I was trying to understand on usages for CyberArk. Currently we are using Azure Key Vault for storing secret & credentials. Do anyone have any details when should use CyberArk or what is advantages of CyberArk over Azure Key vault.
modified 18hrs ago.
|
|
|
|
|
|
The conversion from a single-user issue-tracker to a multi-user version with a Postgres database is now completed.
I tested it on a Windows 10 machine with PostgreSQL 14 and an SSD. For a database with 4000 issues the first loading time will be about 1.5 seconds and subsequent application starts will be faster.
I also tried to make it even faster by using Parallel.Foreach() for filling the DataGridView, but this slowed down things instead.
It can be downloaded here: GitHub - RickZeeland/MaxiBug[^]
Note: Microsoft Edge users probably will have problems as Edge considers this to be a "virus", so using Chrome is recommended 
|
|
|
|
|
If you don't want to publish a project[^], then this probably belongs in the Free Tools[^] forum.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Totally forgotten about the Free Tools section 
|
|
|
|
|
A perfect example of the base detective manual. (7)
|
|
|
|