Also, a creeper blew up the bottom of the sugar cane and took the whole tower down. I have the supplies and will rebuild it later. Don't mess with the little tower, I logged off on top of it.
@EᴀsᴛᴇʀʟʏIʀᴋ to prevent creeper damages, replace the second layer of dirst with TNT. That way, you won't see it but it will keep creepers aways because TNT contains the body of their comrades.
In Windows, when you perform double-click in a text, the word around your cursor in the text will be selected.
(This feature has more complicated properties, but they will not be required to be implemented for this challenge.)
For example, let | be your cursor in abc de|f ghi.
Then, when you d...
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
Each of the tilings listed here have numbers under them. I know that they describe the tiling, but I can't figure out how. Can anybody explain how it works?
C, 74 bytes
p[99];i;main(l){for(scanf("%d",&i);scanf("%s%n",&p,&l),i>l;i-=l);puts(p);}
Expects the input on stdin to be the 0-based index followed by one space or newline, followed by the string. E.g.:
2 abc def
This is a mirror: |. I just found out that you can stick a mirror in the middle of a string if the string can be mirrored on itself! For example, the string abccba. If you cut it in half the two halves are mirror images of each other:
abc <--> cba
So, we can stick a mirror in the middle of t...
• I see a gray rhomb on the toolbars, meaning the Hello Action. When I hover on the gray rhomb, it comes yellow and when I click it, a message comes out with text "Hello, World!"
But that was just on a routine patrol while I was working on that whole "What does PPCG need to have differently than the network" thread I asked you guys to make back at graduation.
It has come up several times recently (more than usual) that PPCG differs from most of the other Stack Exchange sites in that it's not a Q&A site. People don't come here to ask a question because they have a problem, people come here to solve recreational challenges. The most valuable contributio...
@GraceNote Ah well, I've been meaning to go through some of those for ages and flesh them out into separate feature requests. Could you let us know if there are any that are especially likely to happen or which ones we should prioritise?
I suppose you're currently mostly looking into text-only changes?
@MartinEnder If possible I'd like to look at stuff beyond that when possible (other than question rep changes), but I'll have to finish my review of the sitch first. Slightly squashed between hosting a bunch of elections and also the upcoming Docs deal so I haven't been treating this the right amount of attention.
Do you have any idea how for example changes to the help centre are going to work? They would be quite extensive if they happen, so it would probably too big in scope for the community to draft all the changes, but at the same time you'd probably need community input to figure out what exactly needs changing?
@Optimizer She's not from an anime, she's from a game, as are all of mine
@MartinEnder I don't know yet. The basic process is going to be something like "I look over the list and do basic feasibility of 'Never' or 'Maybe' on everything, then I get together with one or more devs and we talk about base feasibility at all, then we discuss scope of how to implement changes that we think are possible", something like that.
@zʏᴀʙiɴ101 Back when we only had the trilogy and MSO, it took me 6 hours to accumulate more reputation on Meta Stack Overflow than I had from 6 weeks of time on Stack Overflow leading up to my first meta post.
@DrGreenEggsandIronMan If there are parts where I'll need to ask for clarification about a particular request, it'll probably happen in the thread but anyone would be able to provide input, yes.
@HelkaHomba I'm working on preparing a set of music samples for you. Not necessarily finished samples, just more of a "which one of these should I keep working on" -type thing.
Do I have an emoji?
code-golf string
Given an input string in your language, return true or false if the input contains an emoji character.
Acceptable output:
1/0
TRUE/FALSE
true/false
YES/NO
yes/no
Sample test cases:
"" -> 0
"💩" -> 1
"hello💩" -> 1
"hello" -> 0
"!±≡𩸽" -> 0
Discu...
Related: Increase reputation awarded for questions
It has recently came to my attention that tag badges are only awarded based on answer votes. For a site like Stack Overflow, that makes sense, as providing good answers is the perfect way to demonstrate that you know what you're talking about in...
I've technically had this explanation for "Why we're not doing this" for months but never actually posted it. Or written it, really, which is why it's not instantly up right now
Open the Install/Update perspective, then:
>- Right click the Feature Updates view - New - Site Bookmark - enter a
meaningful name in the `Name` field - enter
`schas002.github.io/bugfreespork/v2.1/site.xml` in the `URL` field -
Finish - open the folder with the name you chose - Other - Hello World Feature
1.0.0 - Install by adding to the Selected Updates - open the Selected Updates
view - right click it - Process All - Next - agree to the "End User License
Agreement" that is actually the Unlicense - Finish - Install - restart the
@flawr And yes, 188 needs the same central trick. I'll bet you're supposed to solve 312 with the knowledge gained from 188, not the other way around... :P
@uoɥʇʎPʎzɐɹC It definitely is. Given time though, I could make SW3D fun again. But I'll finish Pytek first.
Write a program or function that prints or returns a string of the alphanumeric characters plus underscore, in any order. To be precise, the following characters need to be output, and no more:
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
When printing to stdout, an optional...
@orlp Can I output the characters with a newline between each one? It's the only proper way I can do it in this language (aside from a giant string obviously)
@orlp Wait, now I'm confused. You've banned all built-ins and constants whose values contain nine or more of the desired characters, right? That should include \w by my thinking, in any implementation.
Regex and \w is fine, those are not constants that contain those letters. But any built-in method that directly gives you 9 or more distinct characters, such as string.ascii_letters is disallowed. — orlp48 secs ago
\w is not really different than C's isalnum for example