08-04-2015 10:20 AM
I contribute ideas to G-Wiz.com for the various commic strips.
The main character is named "G-Wiz" and is an expert in LV and always has the right answer.
Recently I sumbitted another one but it is much too geeky for mos taudiences but I hope Y'all will enjoy it. The strip was inspired by an example from the LV performance class where parallel loops was being discussed as illustrated in this image.
The Strip:
Frame 1
G-Wiz is in a heated discussion with the instructor.
Instructor" How the h@#$ is possible that loop can be run in parallel?"
Frame 2
G-Wiz is seen walking away with a big grin on his face and the boss asks
Boss: Why are you so happy?
G-Wiz: I just toook care of one of the items on my Bucket List!"
Frame 3
Boss: "Oh, what was that?"
Frame 4
G-Wiz: "I answered a question using the phrase "addition is commutative' "
I hope you enjoyed it.
Ben
08-04-2015 02:53 PM
08-04-2015 03:05 PM
Your LabTOONS were better WHEN YOU WERE WRITTING THEM !
That VI is part fo the course material so no can share but you can write it yourself I bet.
Ben
08-05-2015 12:44 AM
@Ben wrote:
G-Wiz: "I answered a question using the phrase "addition is commutative' "
Soooo... not so much of a math wimp?
08-05-2015 08:16 AM
@tst wrote:
@Ben wrote:
G-Wiz: "I answered a question using the phrase "addition is commutative' "
Soooo... not so much of a math wimp?
Considering the audience here, still a wimp. But to twist this in a LV way...
Look at the wonderful job NI developers did when they made that loop parallel-izable. The SR and addition operation have to be handled as a clump that is accessing the the SR value as if it is a DVR so that the rest of the logic can run in parallel but avoid race conditions between the instances of the loop.
Clever work!
Ben
08-05-2015 10:11 AM
@Ben wrote:
Look at the wonderful job NI developers did when they made that loop parallel-izable. The SR and addition operation have to be handled as a clump that is accessing the the SR value as if it is a DVR so that the rest of the logic can run in parallel but avoid race conditions between the instances of the loop.
A plain matrix multiplication from the linear algebra palette is still quite a bit faster for some reason, but does the same thing. To go parallel you would then use the same function from the multicore and sparse matrix toolkit. 😉
I would need to do some benchmarking, but replacing the inner loop with a plain array multiply followed y "add array elements", might be better able to take advantage of SSE. Not sure.... Maybe the compiler already does that behind the scenes.
08-05-2015 01:22 PM
Geek humor.......
Two antenna met on a roof and fell madly in love and decided to get married. The wedding was all right, but the reception was excellent!!
03-07-2016 07:42 AM
03-07-2016 07:56 AM
@jcarmody wrote:Hello, Monday.
More like "Hello darkness my old friend..."
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
03-07-2016 09:08 AM
I can't even remember why/where it was brought to my attention, but I found some interesting bible verses last week:
"You shall do no wrong in judgment, in measurement of weight, or capacity. You shall have just balances, just weights, a just ephah, and a just hin; I am the LORD your God, who brought you out from the land of Egypt" - Leviticus 19:35-36
I thought it was pretty amusing as an engineer that the bible would be so specific about weights/measures and using calibrated instruments. If you work in calibration/measurement it looks like you are doing God's work!
It's also not the only one I found...
"Do not have two differing weights in your bag--one heavy, one light." - Deuteronomy 25:13
"The LORD detests dishonest scales, but accurate weights find favor with him." - Proverbs 11:1
"You are to use accurate scales, an accurate ephah and an accurate bath." - Ezekiel 45:10
(Disclaimer: I am not religious - I know that bringing up the subject of religion can sometimes be a source of controversy, but I did find this interesting/amusing - it's not meant to offend)