I'm looking for Chuck Norris Facts style answers. In case anyone is curious, this question was inspired by Jon's own comment to this question.
EDIT: If you're into cryptography, you may enjoy these facts.
Now with official sanction from the powers that be!
That said: if y'all have a topic you'd like to write about for the blog, please feel free to. The post about topics is just a suggestion, if you'd like to write about something else related to the site, do so!
For example, there's a room called "Trash", but if we move messages there, then people get a notification. "Trashcan" doesn't give notifications, but is mod-only, so people can't see what was trashed. The Bakery works to not notify people, but still let them read what was trashed
Seriously, one of the "rules" for this room is that less is more. It doesn't need to always have messages, and you don't need to send "nothing" messages. Take a look at the chatiquette: "Don't make noise" is a central tenet here
You probably want to start by coming up with a quick overview of the challenge. What the topic is, how the gameplay will go, what language(s) will be allowed.
The problem with allowing any language is that it requires a lot of overhead for interacting with the controller, and most people already know JS or Python anyway.
After you're done with a quick overview, that's probably a good stage to start thinking about how fun the idea is so far. It's early enough in the process that you can make big changes without having to scrap lots of work, and unfortunately a large fraction of KotH ideas tend to not work so well in real life.
A good thing about Python Koths, is that a lot of langs are written in Python and so you can some up with some bash program on TIO that runs those in esoteric langs if you really want
Going back to KotHs (I've been drafting this message for like 5m :p):
There are two main things I'd keep in mind when thinking about whether a KotH will be fun: entry barrier and skill ceiling. Entry barrier is how hard it is to write a bot. If it's easy to get started, more people will get involved. Skill ceiling is the harder one. A higher skill ceiling means that it's harder to find an optimal strategy, often because there's a large number of possible strategies, and some depth in the gameplay.
But I'll try my very bestest to stay in touch in one-on-one if anyone ever wants to reach out! I'm AviFS#4576 on Discord (and you can find me on the CGCC server)
@Redwolf It's prisoner's dilemma. 5% chance of making a mistake and doing the opposite of what wanted to do - equivalent of 10% chance random move instead. @AviFS, same as @cairdcoinheringaahing
@RedwolfPrograms Those sorts of KotHs tend to have a low entry barrier, so they get lots of submissions and tend to be fairly fun, but no deeper strategies are really possible (and no bots are really "unique", since there's only so many strategies and most have been done before).
@user Thanks for the info! I followed the instructions here to download the Scala installer for Windows and create the example hello-world project. Built it with sbt from command line and it worked.
Then I downloaded IntelliJ and tried to open the same project. The build failed and said "Cannot determine Java VM executable in selected JDK." Is that a Scala version error, or...?
Let's go for a rollercodester ride
The objective of this challenge is to create a program that is run recursively through several languages of your choice. The output of the first iteration becomes the code for the second iteration, et. cetera.
You choose the language sequence, but each unique l...
I don’t think I’ve ever encountered that error before, maybe try creating a new project using the Scala project wizard and see which settings are changed?
yeah :P our elections usually aren't all that interesting cuz the difference between our two parties is significantly less than the democrats/republicans (i think)
and also since we actually have more than two parties unlike the US, we can have minority governments and that happesn quite often so change isn't as drastic
this election wasn't supposed to happen but the government called an early election to try to get a majority liberal government which doesn't seem to be happening from the projections and leads
Plus with the US election there's 50 states which each get a pretty big vote in the final outcome, so there's 50 big "turning points" in the election results
Whereas with any reasonable system you just watch the votes trickle in
@RedwolfPrograms I mean... I wouldn't say all states get a pretty big vote. Not unless it comes down to the wire. Usually the result seems to depend on the medium-large states.
we also have ridings here that are kinda like the electoral college except each riding is just worth 1 seat and there are 338 across the country so it's not as absurd as 50
it is still possible to lose the popular vote and win though, which happened last election (2019, liberals won with a slight popular vote disadvantage to the conservatives)
@DLosc Well, not necessarily super big, but they're fairly sizeable and occur with a long enough delay that it's a bit suspenseful waiting to see which candidate gets the next few electors
i'm just glad that a) NDP support hasn't drawn too much support away from the liberal party which might cause it to lose and b) PPC still has 0 seats :)
The Ludic Numbers are a sequence that pops up when you apply the sieve of eratosthenes to the natural numbers, completely removing the numbers every iteration. Here is how they are gener...
@pVCaecidiosporeadduced I was out shopping for food 6 days ago, and left at 5:20pm. It's been released today that there was someone with covid at that same place I was at 5:30pm (10 minutes after I left)
I'm talking about my question up there - Numberless - "Your program should output 0123456789. If we remove all 0s, it should output 0. Same for all the other numbers (123456789)"
I am implementing the Collatz tree in VBA as discussed at:
Rows of the Collatz tree
Using the logic as discussed at:
http://oeis.org/search?q=+A088976&sort=&language=&go=Search
Given an Excel file with a Sheet named OUTPUT, my code which missing few CHILD values is:
Public Sub CollatzTree()
' Col...
Can this polynomial be factored?
(in progress)
As you may know, Polynomials are expressions involving the sum of a variable raised to various powers, each summand having a different power of the variable and a coefficient multipler of the variable. When the coefficients, variable, and powers are ...
Meh
On Code Review, it makes little difference. Code Review isn't riddled with redundant answers. Most researchers are well-prepared to read lengthy and multiple answers. The re-organization of the accepted answer's page location is rather irrelevant here.
When I am researching something on CR...
Task Description:
In this task you will learn the difference between client & server machines. You will also learn how to use various scripting languages and technology to build database server, server application, and client application.
1- To build the Database you can use Mysql Workbench. Your...
@JonathanFrech you can avoid bc with vim's i_<c-r>= . also it seems in vim, the comparison operators returns 0 or 1, so you can also use that instead of sorting. is there a reason why you chose v instead of vim, since it seems you don't use any v-specific features?
@user Okay, so at this point I'm super frustrated and about ready to give up on the whole thing (or maybe just IntelliJ). >_<
Googled a bit, figured out that JDK basically = Java compiler etc. Fine. How to find the path to the one I have installed? Googled some more. Tried where javac. Turns out it's in C:\Users\DLosc\AppData\Local\Coursier\cache\jvm\[email protected]. That's... not where I expect things to install themselves, but whatever.
Plugged that in to IntelliJ. It looked like it recognized it as a valid JDK, that's good. Rebuilt the Hello World project. Same error. I give up.
Code page readability, storage/layout rules (tacit, stack based, etc.), and overloads are probably the main three
Things like familiarity and intuitiveness are the hard ones, because unless you use APL/J or Forth as your everyday languages, you probably won't feel comfortable with tacit or stack based for a while