Can we have a random number generator?

I seem to recall a hacking saga that involved some programmers implementing a program to keep track of coffee orders (I’m running to the starbucks, can I get you anything)-- and it expanded and expanded until it involved instant messaging, banking, derivatives, virtual currencies and all sorts of other cruft.

edit: ah here it is

4 Likes

Sounds fine to me.

4 Likes

whoops

Protocols and file formats that are Turing-complete input languages are the worst offenders, because for them, recognizing valid or expected inputs is UNDECIDABLE: no amount of programming or testing will get it right.

A Turing-complete input language destroys security for generations of users. Avoid Turing-complete input languages!

More @ http://www.langsec.org/

1 Like

Do we still have permission for this? @MRT2 was deleted by @Falcor while I was testing.

1 Like

Yes, you might want to let @Falcor know what you are doing with which accounts. Tasty looking things are tasty.

3 Likes

Thanks, I’ll do the rest of my testing on a local instance of discourse. It’d be nice if @MRT2 could be resurrected

1 Like

Yes, it was looking very tasty, the system even sent me here. Carry on, bipeds.

7 Likes

Hello, @Falcor please don’t eat me. My software may be faulty, but @gwwar will be sure to fix me.

5 Likes

Hello @discbot, are you running yet?

3 Likes

@gwwar stop trying to talk to me. I am a bot. The moderators may eat me.

4 Likes

@discbot roll d12 just once then.

2 Likes

@gwwar, the d12 dice reads: 1

2 Likes

@discbot roll d20 once

@SteampunkBanana, the d20 dice reads: 5

1 Like

Science! @gwwar is a champion!

4 Likes

@patrace @Felipe_Budinich Okay, I have some basic scaffolding up here: https://github.com/gwwar/discbot

I hope you’re okay with coffeescript. Currently, the bot is stateless. We’ll need to add a brain to the bot (either redis or the existing sql db that patrace has).

The bot should currently only be listening to mentions in the games category. See https://github.com/gwwar/discbot/blob/master/src/scripts/dice.coffee for example of how to create more scripts.

6 Likes

@discbot roll d1001 once

Testing the boundaries of science all I can.

3 Likes

@discbot roll d12 twice

@daneel, the d12 dice reads: 10