Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment Re:Just a search for a multiple of 2? (Score 1) 167

Look at the powers of 2. The only way you get to 1 is by coming down to 1. Thus, 2, which must be divided by 2 gives you one. The only way to get 2 is from 4 being divided by 2. In fact, once you end up on any power of two, it is just a number of divisions by 2 to get you to 1. If you end up at 1024, then divide by 2 for ten times and you end up at 1.

So how to you end up on a power of 2? Two possible ways:
1. Half of the next higher power of two.
2. 3n + 1

So what are the powers of two that minus one are evenly divisible by 3. Each number of this form is just one iteration away from a power of two. And the POWER of two is the number of iterations to get to 1 at that point.

Since an "n" for 3n+1 to be a power of 2 is an odd number, the only way you got to it was by dividing an even number. So what are all of the 2n values where 3n+1 is a power of 2?

Now each of these 2n values is even, and therefore is half of another even number, and possibly also a 3n+1 for some odd n.

In Clojure (or some other suitable Lisp, or something close enough to Lisp such as Python), create an infinite stream of powers of two. From that a function filters all powers of 2 that are a 3n+1 for some odd n. From here have functions that when mapped over a stream of evens gives you possible n/2 or 3n+1 forms. Or from a stream of odds gives you n/2 forms. You end up with a list of these lazy infinite streams. And each stream may fork into more streams which are added to the list of streams. Now merge sort the streams. It is important that the streams are lazy -- which is easy to implement in Clojure. Probably easy with Python using a loop with yield. See how long it takes for you to go insane.

Comment Re:Automated Doublespeak (Score 1) 79

Facebook has brazenly and openly declared it will allow politicians to buy ads and outright lie to everyone. Spread misinformation. Deception. Lies. Conspiracy theories. And things that even 8chan wouldn't touch.

What does that say about doublespeak and conscience? But look family, I made a lot of money from Facebook last year!! Isn't that all that matters?

Comment Re:Wow (Score 0) 79

If you left out one word, Liberal, I could agree with you.

The worship of money does not belong exclusively to any political party or point of view.

Consider that keeping the people about 50 / 50 divided and squabbling over two unworkable points of view might be exactly what the money worshipers want? You're playing right into their hands.

Comment Re:Why concerned? (Score 1) 79

So you're saying like . . .

Hey, friends and family, don't ask me that, okay? After all, what matters is that I made over $300 K last year at Facebook by abusing your privacy, selling you to advertisers, selling your info to anyone who's payment will clear, and generally tearing apart the fabric of society and manipulating democracy.

But look! . . . $300 K !!!

Comment Re:Surveillance ... (Score 1) 26

> Surveillance is only one aspect of machine vision, yet it seems like it is the only one the
> government cares about...why ?

> What about for quality control in manufacturing ?
> What about for medical uses ?
> What about for self driving cars ?
> What about for agriculture, spotting disease , pest control , water management ?

Surveillance is about the government caring about "quality control" of human beings. For certain specific definitions of "quality".

Comment Re:A CTO with no technology knowledget (Score 0) 26

Only four? I think Trump will do anything to stay in office beyond 2024.

Now the Trumpers will criticize that I even suggest such a thing But wouldn't they be the ones who should be cheering this insanity?

There are any number of excuses that could be used. "The 2020 election was compromised. It is necessary for me to remain in office until a safe and secure election can be held. One that gives us an outcome we can trust!"

Comment Re:I 4 1 FULLY SUPPORT IT!!! (Score 0) 357

GO ahead and support it. It is only a matter of time before Trump comes for YOUR dna. I can hear it now.

To track disloyalty a citizen database is needed, and believe me, it will be the best citizen database, ever, bigger even than China's, the best citizen database, I promise, and it will be the newest way to keep track of citizens using the cyber, and believe me, I have friends in governments that know all about tracking citizens, and our system of dna tracking will be the envy of like-thinking governments around the world, believe me!

Slashdot Top Deals

Mommy, what happens to your files when you die?

Working...
OSZAR »