Message from @Void

Discord ID: 291622233422692353


2017-03-15 17:19:26 UTC  

wowruip

2017-03-15 17:19:27 UTC  

Rip bot.

2017-03-15 17:19:31 UTC  

RIP

2017-03-15 17:19:32 UTC  

it'll catch up

2017-03-15 17:19:36 UTC  

it's just you triggered it

2017-03-15 17:19:38 UTC  

Still though, don't spam general.

2017-03-15 17:19:58 UTC  

9217917886
Faggot.

2017-03-15 17:19:58 UTC  

8269507627
Faggot.

2017-03-15 17:19:58 UTC  

6679708583
Faggot.

2017-03-15 17:19:58 UTC  

8250162165
Faggot.

2017-03-15 17:19:59 UTC  

8090911906
Faggot.

2017-03-15 17:20:13 UTC  

That's a lot of Faggots

2017-03-15 17:20:15 UTC  

p!check'em if gets, then we listen to @Verm

2017-03-15 17:20:15 UTC  

What are you using to generate the numbers though

2017-03-15 17:20:30 UTC  

basically darty I take the log10 of whatever size I want
then roll a number for each space
if that number is the same as the prior it'll add +1 to how many are repeating
and then it adds the number to the front of the string

2017-03-15 17:20:53 UTC  

9423524859
Faggot.

2017-03-15 17:21:47 UTC  

> makes a bot to generate imageboard style post numbers
> numbers are completely randomized and are not actually post numbers

2017-03-15 17:21:52 UTC  

so you start out with say 1
then roll a 1
1 == 1 is true, so repeating is 2
and then 11 is the string
then you roll a 2
2 isn't the same as 1, so repeating is locked at 2
and then you get 211

2017-03-15 17:22:32 UTC  

Why not just generate a random number between 1000000 and 9999999?

2017-03-15 17:22:38 UTC  

the individual numbers are just (int)(Math.Random()*10)

2017-03-15 17:22:55 UTC  

and because then to check how many repeating I'd need to do a looot more modulus logic

2017-03-15 17:23:12 UTC  

same amount of work this just came into my head first

2017-03-15 17:23:24 UTC  

same accuracy too

2017-03-15 17:24:30 UTC  
2017-03-15 17:24:49 UTC  

int rep(int digits)
{
if(digits%10==(digits/10)%10)
{
return reps(digits/10)+1;
}
return 0;
}

2017-03-15 17:25:53 UTC  

that would only check 2 digits out of the list and you'd need to cut off the ones before it

2017-03-15 17:26:06 UTC  

its recursive.

2017-03-15 17:26:16 UTC  

oh woops missread

2017-03-15 17:26:46 UTC  

if darty(faggot)
{
stop(suck%100==(dick/69)%1488
{
return why(faggot/1488)+777
} post this;
} get

2017-03-15 17:26:54 UTC  

i never remember to use recursive functions outside of linked lists and trees

2017-03-15 17:27:40 UTC  

either way logic works for both, no reason to change it now

2017-03-15 17:28:04 UTC  

and the random number generation is at worst a little low on the odds

2017-03-15 17:29:00 UTC  

http://i.imgur.com/IYdd3vi.png I remember a DM tried to force this
made me sad

2017-03-15 17:29:43 UTC  

man

2017-03-15 17:29:52 UTC  

That's pretty great

2017-03-15 17:30:04 UTC  

Let me tell you one of mine that happened recently

2017-03-15 17:31:47 UTC  

> make an AI/robotics character in Eclipse Phase
> start hacking into a ship core on a mission
> realise the opposing AI has linked up all the access panels to the generator
> 400 volt straight to the access ports
> hack doorway, get to the control terminal and clone over AI
> leave with Mike Pence ship AI

2017-03-15 17:32:12 UTC  

It honestly sounded better in my mind.

2017-03-15 17:32:33 UTC  

hue