BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Rube Goldberg Code

I like the build array followed by replace array subset putting the same things in - in the same order. Looks like one of those cases where there was something else that was later removed (at least that seems the best explanation - that it was built that way from the ground up is too scary to contemplate).

 

That's just my favourite(?) out of this one - there is just too much to pick out that is done in a way that it shouldn't have been.

 

     Rob

0 Kudos
Message 551 of 2,617
(12,408 Views)
Mathan's picture got lost somehow..
0 Kudos
Message 552 of 2,617
(12,385 Views)

To Randomly generate an array of 8*8 with whole numbers and find the sum of them.

 

 

Thread here

Message 553 of 2,617
(12,291 Views)

Mathan wrote:

To Randomly generate an array of 8*8 with whole numbers and find the sum of them.


I love the coercions with the upper limit lower than the lower limit. 😄

0 Kudos
Message 554 of 2,617
(12,254 Views)

I saw this thread and it is funny. I found one of my old ones in here. I was put together to do something spacific. I have since revised it. Hey raven thanks for busting my chops.

 

Short Date String to Seconds_BD.png

 

Here is the new way.

 

New Way.png

 

So ravens you want to bust my chops some more on this one too?

 

Tim
GHSP
Message 555 of 2,617
(12,155 Views)

aeastet wrote:

I saw this thread and it is funny. I found one of my old ones in here. I was put together to do something spacific. I have since revised it. Hey raven thanks for busting my chops.


Actually, I was the one busting your chops on that one. I'll let Ravens Fan bust your chops on the new one. Smiley Wink

0 Kudos
Message 556 of 2,617
(12,148 Views)

That's an interesting one.  I'm trying to figure out what it does.  My guess is that it takes some arbitrary date/time string and runs it through the wringer until it finds a date/time format that successfully converts it to a time?

 

Does it work?

 

How about the %Y options?  I would think the last element where it was a full date,  would use a 4 digit year.  So Saturday, October 17, 2009 makes more sense then Saturday, October 17, 09   Smiley Very Happy

0 Kudos
Message 557 of 2,617
(12,145 Views)

Translating a boolean state to a number can be soo complicated (top) or so easy (bottom).

 

 

(This is just the tip of the iceberg salad, of course. The best solution does not need any of this :))

 

 

Spotted here.

Message Edited by altenbach on 10-17-2009 03:18 PM
Message 558 of 2,617
(12,127 Views)

Yes it works. It itirates through all of the accepted string formats for data and time to output the date time numerice date time stanp etc...

 

What do you see that is wrong with this one?

Tim
GHSP
0 Kudos
Message 559 of 2,617
(12,082 Views)

aeastet wrote:

Yes it works.


you should always quote a small section of the post you are referring to.

 

There are hundreds of posts above, and we don't know which one you are talking about. Thanks! 🙂

Message 560 of 2,617
(12,077 Views)