|
Club the fox to death and rip its head off. Wring the chicken's neck and cook the bird and serve with a delicious peri-peri sauce. As for the seed, throw it away and see what grows in its place the following year. In the meantime, go to the island. Rabbit pie anyone?
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.
|
|
|
|
|
If you can only do 2 things:
Add 25 to a number
or
subtract 6 from that number;
is it possible to obtain any number?
And how could you get the number 20 starting from 0?
|
|
|
|
|
x = 0;
while (x != n)
{
x += 25;
x -= 6;
x -= 6;
x -= 6;
x -= 6;
}
Wow. That was hard. I just fell out of bed and still am sleeping to 90%. And, of course, you can also unroll the loop 20 times if it must be the primitive solution.
The language is JavaScript. that of Mordor, which I will not utter here
I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.
modified 9-Feb-14 1:37am.
|
|
|
|
|
Try to reach this answer in the least number of steps.
Try the human asnwer
|
|
|
|
|
The loop contains 5 operation and iterates 20 times, so we would have 100 operations. Fine.
0 + 25 - 6 + 25 - 6 - 6 - 6 - 6 = 20.
Or you could try to find the solutions for a x 25 + b x -6 = n for any given n. For n = 20 a would be 2 and b would be 5.
Colborne_Greg wrote: Try the human asnwer
That's hard, even if I have to wait another 100 years before they finally send a ship to pick me up.
The language is JavaScript. that of Mordor, which I will not utter here
I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.
|
|
|
|
|
Two quarters and five half dozens.
The solution 50 cents for case of eggs.
|
|
|
|
|
Simples:
int x = 0;
int n = 21;
while (x != n)
{
while (x < n)
{
x+=25;
}
while (x > n)
{
x-=6;
}
}
speramus in juniperus
|
|
|
|
|
|
Nagy Vilmos wrote: int x = 0;
int n = 21;
while (x != n)
Errrm... you were meant to stop at 20.
|
|
|
|
|
A while back I posted that I thought I had bricked my Beagle Bone, well I ordered 2 cheap Transcend uSD cards when I ordered the BBB and since neither worked I thought I had bricked the device. Then in a obscure post in an old forum I read something about the cheaper SD cards having trouble being detected in certain situations, and I don't remember why and can't find the post again to save my sole.
So I went and got a new uSD card today, formatted it using the SDFormatter utility (good utility to have)[^] wrote the image and stuck in the BBB and behold the beast lives.
Between that and the Mucinex(sp?) I feel much better.
|
|
|
|
|
Mike Hankey wrote: can't find the post again to save my sole.
Why, what's wrong with your shoe?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Richard Andrew x64 wrote: Why, what's wrong with your shoe?
Good eye!
Why it's in my shoe of course.
|
|
|
|
|
Mike Hankey wrote: I ordered 2 cheap Transcend uSD cards
Good to find out that the beast lives after all.
|
|
|
|
|
Yeah I should have known better. It's hard to see where you're going with your head up your ass.
Thanks yeah it's working like a champ now...in the process of updating it right now!
|
|
|
|
|
uhhuhhh hhuhh you said " bricked my Beagle Bone" huuhh uhhhuh
"... having only that moment finished a vigorous game of Wiff-Waff and eaten a tartiflet." - Henry Minute
"...who gives a tinker's cuss?" - Dalek Dave
"Let's face it, after Monday and Tuesday, even the calendar says WTF!" - gavindon
It's plain that they do not yet know what true fear really is. - JSOP 2011
|
|
|
|
|
Yeah I know I spoke to soon, in fact this is being sent from the beast.
|
|
|
|
|
That's a bugger!
I hate cheap memory nowadays - it always gives me grief.
I bought a cheap Chinese 16Gb uSD years ago, and it was fine, until I used more than 2Gb, when it scrambled it's FAT every time. Turns out it was a 2Gb that reported itself as a 16Gb...
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
I bought the Transcends from NewEgg, had never used that brand before but figured they'd be ok? You never know.
OriginalGriff wrote: Turns out it was a 2Gb that reported itself as a 16Gb...
The old bait and switch eh?
|
|
|
|
|
The first memory card I ever bought sits right on the other desk in my old computer and still eorks after more than 35 years. 4k ought to be enough for everybody.
The last memory I bought a few days ago will be inserted into a small camera. If the weather is ok, I will throw the camera into a case, along with charged batteries, the remote control and at least one model heli. And then I hopefully get two hours of flying and maybe some first videos from the camera under the belly of the heli.
The language is JavaScript. that of Mordor, which I will not utter here
I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.
|
|
|
|
|
CDP1802 wrote: 4k ought to be enough for everybody.
What would anyone do with more than that?
Would love to see the videos from the heli. What camera are you using?
|
|
|
|
|
A very cheap little thing from China. It's most important features are to be cheap, small and very light, so that it will fit under the heli and probably even survive a crash.
Some people already got some results with the same camera and heli:
Video[^] and another video.[^]
The main problem will be to hang it up exactly at the center of gravity, so that the small 130x gets of the ground and still flies well. The secondary problem then will be vibrations from the motor which can reduce the video quality.
I already had a small test flight with the small Nano CPx. The heli is only 20 cm long, half of that is the tail. The camera is about 5 cm long and the little heli looked like a pregnant grasshopper while flying around with it.
The language is JavaScript. that of Mordor, which I will not utter here
I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.
|
|
|
|
|
Awesome videos
I had thought about getting a cheap camera from china store but have to many other things going on right now. What are you interfacing the camera to?
|
|
|
|
|
Sorry, I did not run away yesterday. My internet connection was dead. And I did not get to fly because of the weather. Maybe next weekend.
This is my second 'trainer': A Blade 130x[^]. It's a small heli wich makes it tough, agile and inexpensive to repair. And here[^] you can get an impression why it is not really a toy.
The language is JavaScript. that of Mordor, which I will not utter here
I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.
|
|
|
|
|
No problem I've been sick and pretty much slept the last 36hrs.
Looks like it would be a fun sport/hobby.
|
|
|
|
|
I quit smoking a year ago and needed something to spend all the money
Edit; I was also sick back then and could not have smoked even if I wanted to. Afterwards I just did no buy any cigarrettes anymore.
The language is JavaScript. that of Mordor, which I will not utter here
I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.
|
|
|
|