4-way multiplexer still hasn't loaded into my domino program, I might have to manually edit the file and feed it straight into the command line one, I might have not told the GUI to not try to print dominoes that arn't on screen
Golf a Venn Diagram generator
In order to properly celebrate John Venn's 180th birthday, today your task will be creating a program that outputs a Venn Diagram based on user input.
Input:
The user will input three sets. Use stdin (or whatever your language's equivalent is) to get the values. Y...
I'm starting to think maybe the domino playground has died, because the printer managed to create a dictionary of dictionaries of the same data in less than 3minutes, and this has taken over 5minutes to /not/ read the same data into a fixed size array
@NathanMerrill the select.poll MIGHT be redundant with simply having the timeout. I didn't test what happens if you just wrap write and readline in a timeout.
so i was trying to write a search engine the other day and I didn't know what sorting algorithm to use, so I wrote a random expression generator and a bunch of unit tests to score a sorting expression, and ran it repeatedly
damn. might not work on file handles there. you could try ditching the select stuff, and just relying on interruptingcow to deal with timeouts during reads and writes
interruptingcow uses SIG_ALRM which should get captured even during those blocking IO activities.
While there are a couple of Python 2.7 programmers here, what are your reasons for using 2 rather than 3? I started learning 3 but I've noticed 2 is still used a lot.
@NathanMerrill your trader's sandbox game, it says near the top that "Each year, you will consume 2 of each product.", but further down it says "After all trades are over, or after you have left the market, you will consume 1 of each product, and the year starts over."
@Malachi I'm glad you spotted that - I was looking around for a way to mention it to you. I have no problem with any dialect of English being used, I'm just not going to approve an edit to change from the OP's dialect. I approved everything else in the edit though.
As Texorama on the Internet would say, "Sí, "minimise" (como otros ejemplos de palabras con "-ize/-ise") se usa en UK, "minimze" en USA. En Canada, aunque se usan allá unas formas británicas, es "minimize.""
Which roughly translates to "British people use 'minimise'. Americans and Canadians use 'minimize'."
Either is fine, and neither should cause any confusion. I only rejected that aspect of the edit because it could lead to an edit war back and forth. I'm just leaving it in the dialect of the OP
the General Consensus on StackExchange is that the language is English and that we should not accept if the question/answer is not legible to an English speaking person...
I just saw someone edit the title of this question to change the spelling from favourite (The British spelling) to favorite (The US-English spelling).
Does SOFU have an accepted standard on language and spelling? Which is it?
@Malachi I didn't have any problem with you suggesting it - that's why I wanted to find a way to tell you so you didn't think I had a problem with your spelling of it
I heard the same argument for closed as duplicate questions remaining closed and NOT deleted. They serve as signposts to point people to the original. Deleting the duplicate only serves to delete the breadcrumb trail for future visitors