illectrility

joined 2 years ago
[–] [email protected] 1 points 1 month ago

Best of luck to you. I think my code is quite messy but if you can use any of it, feel free!

[–] [email protected] 2 points 1 month ago

Okay, would've been interesting to see

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago)

Pretty similar but I couldn't get re-rolls to work on there. That's the main reason I made this

[–] [email protected] 1 points 1 month ago

I wish you best of luck. Feel free to re-use any of my code if you think it could be helpful. Even though in my opinion it is a huge mess

[–] [email protected] 2 points 1 month ago (2 children)

What was the app called and is it still available?

[–] [email protected] 5 points 1 month ago (1 children)

No, there is no advantage or disadvantage functionality. I made it purely for balancing, so finding out the average damage a character would do. In that case I would just write out all the different rolls the character would do when attacking and have the program calculate using that. It's pretty barebones

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (2 children)

I believe it doesn't handle any of that right now. I admittedly only play D&D so that's the use-case I based this on. The scenario you're describing sounds really complex and I have no idea how I would implement that kind of functionality currently

[–] [email protected] 9 points 1 month ago

Thank you very much. I, too, initially used a sampling approach but that was obviously inefficient and inaccurate. Getting this to work was a HUGE pain so it's nice to read some kind words about it, thank you

[–] [email protected] 1 points 1 month ago (4 children)

So you would have a pool of 14 dice and you can re-roll the lowest 4 or any 4 dice?

[–] [email protected] 2 points 1 month ago

Well, I had a look at anydice.com but I couldn't get re-rolls to work. So I made this specifically with re-roll functionality in mind. All in all they're pretty similar, though.

[–] [email protected] 15 points 1 month ago* (last edited 1 month ago)

Yes, yes I did... It's here

Thank you for pointing that out

82
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

I made a web page where you can simulate a complex dice roll sequence with conditionals (e.g. re-roll when roll is a 1) using a Python-like syntax. (Click the "Toggle Syntax" button to view examples)

It needs a second to load because it has to load a Python interpreter in the background (I'm not good at web development) but once that's done, it works really well.

It's still very barebones and I still have to work out some problems.

Maybe some of you could use it, though.

There's also just the Python version available to run locally here

Everything is GPLv3, enjoy!

14
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

I made a web page where you can simulate a complex dice roll sequence with conditionals (e.g. re-roll when roll is a 1) using a Python-like syntax. (Click the "Toggle Syntax" button to view examples)

It needs a second to load because it has to load a Python interpreter in the background (I'm not good at web development) but once that's done, it works really well.

It's still very barebones and I still have to work out some problems.

Maybe some of you could use it, though.

There's also just the Python version available to run locally here

Everything is GPLv3, enjoy!

[–] [email protected] 5 points 3 months ago

Yeah, I understand the possible applications and they do sound quite useful. Scheduled posting, for example, is really cool. The word "bot" just doesn't make it sound like client features to me but that's most likely a me issue. It looks very promising, keep up the good work

1
Atheism Pamphlet (archive.org)
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 

Found this pamphlet in my mailbox this morning. I pretty much agree with it and I think I'll keep it for the next time Jehovah's Witnesses decide to show up way too early in the morning.

Edit: I linked the digital mirror that was printed on the back of the pamphlet. Also, it's CC0 which I think is cool

 

I'm sorry if this isn't the place to ask this, I also asked over at [email protected].

So what I want to do is this: Two RasPis are at different locations. They're on different networks but have internet access. Pressing a button on one of the Pis turns on an LED over at the other Pi via GPIO. How can I make the communication work? My first thought was Telegram bots as I'm familiar with those for notifications but you can't have Telegram bots communicate with each other, sadly. Is there a good (and secure) solution to this? Preferably using Python code and without continuous costs like server hosting, etc?

Thanks!

 
 
 
1
This is art (sh.itjust.works)
 
 
3
Ameruleica (sh.itjust.works)
 
1
Pure wisdom (sh.itjust.works)
 
 
view more: next ›