06-19-2013 11:09 AM
@LordNobady wrote:
i have seen a nice example on the idee exchange.
hire
Well, they did flat out say it was a Rube. But the illustration required something simple.
06-23-2013 09:52 AM
06-23-2013 10:22 AM - edited 06-23-2013 10:22 AM
@Yamaeda wrote:
Sweet lords and demons!
Wow!I think it is safe to say that the code could be rewritten so it fits on a postage stamp!
It currently has anything, including 14 tier Aztec pyramids, the opposite of boolean logic, and incredible duplication of operations. 😄 How many times do you possible need to take the same subset of the same string in parallel (see image), just to compare with a different string for each subset. (I wonder if the compiler can eliminate the common subexpressions here :o).
06-23-2013 11:31 AM
Yes, it also has Rubes in the form of 'x AND true-constant' and the works. It's actually impressive to get that many RGC's in one VI. 😄
/Y
06-23-2013 12:18 PM - edited 06-23-2013 12:22 PM
I was looking at the code that yamaeda had mentioned.... and my 6 yr old son passes by me overlooking my shoulder and replied," wow! did you do that"? and I just chuckled from the mouths of babes
06-24-2013 02:38 AM
Long time listener, first time poster.
Entry level Rube, I guess, but it tickled me. Found here.
"I want to store lots of numbers using Write to Spreadsheet File. It takes 1D/2D arrays. Let's see... I'm going to bundle them together. No, wait - I don't need it in a bundle, I need an array! Let's unbundle them again and then build an array from the same inputs!"
06-25-2013 08:38 AM - edited 06-25-2013 08:41 AM
It seems to be the Rube Overlord. 😄
This is a very confusing diagram, also. But that's not the point.
The "String which was read" was splitted using the Match Pattern Function, when the Split String.vi (advanced string functions) could easily do this job, which would save BD space and improve the program performance.
Anyone can spot something else?
This Rube was spotted here.
Also, I've attached the VI.
[EDIT: Well it seems that I cannot send the .VI. Please change the attachment extension from .txt to .VI.)
Regards
06-25-2013 08:48 AM
A proper Scan From String or Spreadsheet String To Array would make that so much easier.
06-25-2013 09:13 AM
06-25-2013 09:21 AM
paulmw escreveu:
Add Zero (sorry no pic)
Just realized this. I wonder what was the intention.
Regards