@Maltysen It's one of those topics I know more about than I probably should (as in, I have no reason for knowing anything about it). I just read that apparently some people can do the Valsalva maneuver without using their hands (aka using nose muscles to close the nostrils).
Rikers-MacBook-Pro:~ rikerw$ cheddar
Cheddar> r = 2
< Unprintable object of class "Object" with literal value undefined
Cheddar> print r
readline.js:945
throw err;
^
TypeError: Cannot read property 'has' of undefined
at CheddarEval.step (/Users/rikerw/.Cheddar/dist/interpreter/core/eval/eval.js:155:55)
at CheddarEval.exec (/Users/rikerw/.Cheddar/dist/interpreter/core/eval/eval.js:259:34)
at Interface.<anonymous> (/Users/rikerw/.Cheddar/dist/interpreter/tests/repl.js:155:38)
Given N >= 1, output the mean number of bits in an integer from 0 to N - 1
Specification
The output can be calculated as the sum of the number of bits in the binary representation of each number from 0 to N-1, divided by N.
The binary representation of a number has no leading zeroes in this co...
like you write 1,234,456 instead of 1234456 for clarity so some languages use _ to serve the same clarity as , (swift, ruby, cheddar, and more have this)
Fizzbuzz for tensorflow
Since I was a new and naive user, I posted this question. In one day it got over 25 upvotes but was shut down for being too broad. Clearly there is community interest -- so by the suggestion of @DrGreenEggsandHamDJ I'll try it again in the sandbox. I'd really like to see ...
@Meanbits I don't think the challenge is a good fit for our site, unless you want it to be a code-golf. It currently is a "Implement this algorithm" sort of challenge, and unless you want to specify what machine learning is (and all of its details), then I'm not sure if it'll work well
@NathanMerrill Yea, I know it has other problems, but I was hoping they could be resolved. My first order of business was "eww popcon (esp with a time limit)".
To me, the tensorflow challenge is like a steak in a Chinese restaurant. It's a really good steak and I'm sure people would love it, but it's kinda hard to fit it into the menu without turning heads [/awkwardanalogies]
I have never tried it but when I googled wok burners (thinking to find a standalone high-output gas hob), I found this article about a wok ring called the "WokMon" on Serious Eats and had to post it here:
A couple months ago I was approached by Glen Lee, an inventor who claimed to have an ing...
I was looking at the new APIs introduced in Android 4.2.
While looking at the UserManager class I came across the following method:
public boolean isUserAGoat()
Used to determine whether the user making this call is subject to teleportations.
Returns whether the user making this call...
A clarification I'd like to have is whether JavaScript submissions for image-processing should support Cross-Origin Resource Sharing. Specifically, it requires setting the crossOrigin attribute of an Image to "".
This seems like a frivolous expectation in the context of code-golf, which is why I...
@Sherlock9 Timezones... I found a potential problem with my APL answer. The rows of the output are sorted by first occurrence, not by player number. For 21,14, the output is like follows. Note that 13 comes before 12; the last two rows are swapped.
Barely. The players are still clearly marked, even if they aren't sorted. I suppose it will do, for now. Not sure what happens if any more problems come up though :D
@DrGreenEggsandHamDJ I get your point, but personally I think there's a lot of situations where being able to output in reverse can completely change what the golfiest solution is. Having trouble finding an explicit example though
@DrGreenEggsandHamDJ The only reason I'm kind of against things like this is because it raises the learning curve for new users. We've already got the fact that inputs can be reordered, functions can be unnamed, input can come in all sorts of ways and that way we score flags which people get wrong half the time.
I dunno about default, but if you ever see a question with 3 inputs, chances are there's an answer which takes them in a different order from the example in the question
This question is probably harder than all of those "generate a sequence of number" tasks, because this requires TWO sequences working in unison.
Really looking forward to the answers!
In his book "Gödel, Escher and Bach", Douglas Hofstadter has a quite few sequences of numbers inside, all of th...
Cant upload anymore. Becourse Im writing to the seriell monitor? Possible to delete running program in Arduino Uno without upload?
Fault when I try to upload even the basic program "Blink".
Using Port : COM3
Using Programmer : arduino
Overriding B...
wizz was saying that nobody knows where the bounty would go if you don't award the bounty. This despite several people having already explained what happens to a bounty that isn't awarded in the time limit -__-
I am asking this on the behalf of someone who did not want to sign up for the SE network. I will use first-person for simplicity.
When I bought my computer, it came with FileVault enabled as default. After a few months of use, I decided to install Ubuntu on a separate partition on the machine, s...