Input
Positive integer n < 64 and a threshold k.
Output
All n-bit integers in such an order that the number of ones in their binary representation is non-decreasing and the number of ones is at least k. Within this restriction, the integers can be output in any order of your choosing.
Example...
Read a crossword
Occasionally I see a completed crossword and being as I am, I can't be bothered to find out what the solutions to the clues actually were.
Input:
A 2D string (any format, newline separated, 2d list etc.)
Blank squares will be represented with a (space character)
Every other ...
Does anyone else here have troubles clicking on buttons and links sometimes on SE pages? It seems like whenever I open up PPCG and want to ask a question or post an answer it would let me click either of those buttons... I am currently using Chrome Canary and have to swap to Edge to click on these important buttons
@Rainbolt Or just continue as you did, even after visiting your dad, you were still below your starting point, you'll reach it one day! Keep the good work !
But in any case, the solution shouldn't be "oh god, how do I save this challenge, let's quickly add something", because even if it does differentiate the question, it's likely not going to improve it, and then maybe it's not worth the change in the first place.
@Lembik I'd recommend it you undelete it and see what happens.
(And roll back the addition of the second parameter)
@Rainbolt 6'2". After looking at it more, I guess 160 is still right in the good range at that height, but I just can't see myself dropping 15 lbs. It'd have to be mostly muscle mass that got lost.
@Rainbolt I'm 6' even, 280lbs and 35% bodyfat. Suppose I drop 65 pounds only of fat, leaving me at 215lbs and ~15% bodyfat (which most anyone would agree is pretty healthy). I'd still be at a BMI of 29.2, which is right on the very upper end of overweight.
Also, it doesn't take your body shape and morphology into account: some people just are skinny just because they can't gain fat, the opposite is true with people that naturally gain fat/muscle easily
I don't think anyone is arguing that BMI is perfect. It's a somewhat useful metric for average height/body type people, though. If you're training for something or are very into fitness, sure, you'd be better off using something else.
@Geobits I hate BMI because it's a flawed metric that reinforces and influences a lot of bad behavior and critical self-inspection in many people, myself included.
I've once been at 74 kg (while doing sports 4x weeks), then gone down to 60kg to the re-gain up to 70kg of fat... It says a lot on how bad it would be to say that 70kg is the best for me
@TimmyD Yep. When I was in the military, they revamped their fitness tests to take BMI into account and most of the serious lifters ended up having to get waivered to stay in. IIRC, they moved to calipers shortly thereafter.
@Rainbolt Some people are because of things like I said about the military, for one. People were literally threatened with dismissal from service because they had too much muscle :/
Your job is to open a browser window of the default browser to http://codegolf.stackexchange.com.
This is code-golf, so the shortest answer in bytes wins.
@Rainbolt Please don't take this as meaning that I'm mad at you. Being frustrated like this is a good reminder to myself that I'm happier and healthier now than when I wasn't treating my body well. It just takes me a while to get my brain thoughts in correct alignment.
@TimmyD You can hop fences, but that's about the only parkour involved. They encourage afk fishing and afk running around and afk crafting. I saw my first guild wars yesterday, and after it was over my chat was full of "That was fun guys!" and "Nice strategy!", so I assume the pvp is fun. The PvE is somewhat grindy, but I get about 30% of a level each day just by afk fishing.
I see a lot of people saying they have spent their entire last two weeks of play time just afk breeding horses.
My friend has like 8 workers running around the map for him, and he spends most of his time brewing beer to keep them happy. He's trying to craft a boat so that we can afk fish in the middle of the ocean.
There's even a video guide on the best way to afk Black Desert.
I think the idea is that you waste tons of power in your home so that your electricity bill runs up, and then you come home to actually play, you can focus on PvE and PvP.
I used to play World of Warcraft years ago, and then people predicted that future MMOs will basically play themselves while the player is away. It seems they were right, in a sense.
Maybe someday players will become the NPCs when they are logged off.
They used to have a system like that in Perfect World, where you set up a shop wherever you felt like it and people would buy items from you while you afk.
@Rainbolt I've already got two servers, two switches, and a router running 24x7, plus 3 consoles that only enter "low power" mode rather than fully switching off. I don't need to leave my gaming machine on, too.
Anonymous
Black Desert looks interesting but I can't find a play/download button and Path of Exile is already devouring my free time
They have some cash shop items that, at first, would appear to make the game pay to win as well. But then you realize that all of the cash shop items can also be crafted.
@El'endiaStarman they posted that two days too early
i used to always say "for dev purposes linux is best but if it's not an option i'd choose mac over windows because at least you get bash" but i guess that's not the case any more
You are an explorer, mapping an unknown world. Your ship is carried on the wind. Where it goes, who knows?
Each day, in your spyglass, you see features to the north, south, east and west. You always see four such features, corresponding to the cardinal directions. Your spyglass reports ASCII sy...
Game Console Text Input code-golf string keyboard
On modern game consoles, trying to input text is a nightmare. Trying to type with a few buttons and a joystick on a virtual keyboard is annoying, and I like to make as few movements/button presses as possible.
The keyboard you will be using look...
Oration is a programming language created by @ConorO'Brien, which I have helped with.
My answer here has come under fire for copying somebody else's code, and being just a lengthier version of python. The python answer is here.
I think it is still valid as a language (as of now, it is actually ...
Introduction
Everyone knows the game tic-tac-toe, but in this challenge, we are going to introduce a little twist. We are only going to use crosses. The first person who places three crosses in a row loses. An interesting fact is that the maximum amount of crosses before someone loses, is equal ...
@El'endiaStarman The second ² isn't applied to the second argument, but to the result of the difference. To do square left, square right, subtract, you'd need ²_²}. The } chooses the right argument.
Ugggh. We just had another cookoff at work and the theme this time was "Breakfast for Lunch". I had my first ever pig-in-a-bacon-blanket-in-a-croissant-blanket-coated-in-honey.
We had a build your own donut area where you can put peanut butter and chocolate and bananas on your donut.
Multiple biscuit and gravy stalls, monkey bread, some kind of breakfast casserole...
Retina, score 1
The empty program counts the number of matches of the empty regex in the input (which is the empty string). That's exactly 1 match, so it prints 1.
Try it online.
Jelly, 3 bytes
”ṘṘ
Try it online!
Verification
$ echo $LANG
en_US
$ xxd -g 1 quine.jelly
0000000: ff cc cc ...
$ ./jelly f quine.jelly | xxd -g 1
0000000: ff cc cc ...
How it works
”ṘṘ Main link. No input.
...
@KennyLau While there is nothing wrong with talking about Jelly here, if you want to have a more focused conversation where CR probably won't be mentioned, there is a room dedicated to it.