@MilkyWay90 again, check the wiki "To tile these unit cells to emulate other patterns, place them so that the cornermost blocks overlap; the unit cells will physically overlap by 5 cells in every direction. The overlap will place tubs inside cross-corner neighbours."
Essay topic: Ice. All I've written: Hear now a tragic tale of tyranny, a shocking story of submission, a catastrophic chronicle of capitulation. 1000 rep if you can guess where I'm going with this (hint: I can't)
I think we can all agree that an Oreo™ looks like this
####
----
####
Having extensively reverse engineered this information, I have come to the conclusion that a Reore™ would look like this:
----
####
----
And that clearly, then, a Orereooreo™ would look like this:
##########
----------
-...
The challenge is to implement a function or program that takes two numbers, \$x\$ and \$y\$ and return the result of \$x^y\$.
The program cannot use any other mathematical operation other than \$+\$ or \$-\$, so no multiplication or division. Functions built into languages are also not allowed....
Write shortest possible code that will return true if the two given integer values are equal or their sum or difference is 5.
Example test cases:
4 1 => True
10 10 => True
1 6 => True
-256 -251 => True
The shortest I could come up with in python2 is 56 characters long:
x=input();y=input();pr...
Given a 2D map of the border between Astan and Blandia, make the Blands pay (with land) for a border trench.
For example, with Alandian cells are marked A, Blanian cells are marked B and trench cells are marked + (the map frames are only for clarity):
┌──────────┐ ┌──────────┐
│AAAAAAAAAA│ │AAA...
Code-golf idea: Reverse GoL. Given a GoL board, return a previous state that would evolve to the given state in the next generation. It must be possible for small boards, but probably requires brute force, no?
(I sandboxed that idea, decided it was in no state to be posted, and offered it for anyone to improve and post. Instead it was just posted without modification, so there's definitely room for a better thought out previous state finding challenge...)
When I offered it for adaptation I suggested it might work better with a different rule set. Might also be better with a smaller neighbourhood although I'm not sure how to make it suitable for approaches other than brute force.
@trichoplax I don't think you can avoid brute force for the actual GoL, as it is turing complete. I think that would imply solving the halting problem or something.
UTF-8 is a relatively simple way to encode Unicode codepoints in a variable-width format such that it doesn't easily confuse code that isn't Unicode aware.
UTF-8 overview
Bytes in the range of 0-0x7F, inclusive, are normally valid
Bytes with the bit pattern 10XX XXXX are considered continuatio...
#thanosdidnothingwrong
Even if you are happy about Thanos "humanitarian" actions with the famous snap, there is a trully sad point , the infinity gauntlet is basically destroyed.
The Gaunlet "works" with a 50/50 chance to destroy a random ammount of characters from right to left of a "line of yo...
@Adám Good point. Not all cellular automata are Turing complete though. I know some of the 1D ones are not. There might be some 2D ones too. I'm not sure
A reversible cellular automaton is a cellular automaton in which every configuration has a unique predecessor. That is, it is a regular grid of cells, each containing a state drawn from a finite set of states, with a rule for updating all cells simultaneously based on the states of their neighbors, such that the previous state of any cell before an update can be determined uniquely from the updated states of all the cells. The time-reversed dynamics of a reversible cellular automaton can always be described by another cellular automaton rule, possibly on a much larger neighborhood.
Several methods...
if there's no simple way to reverse GoL, a fastest-code could be interesting (though i have no idea how that would work and if there's really that much to optimize)
@Adám you probably never opted out of the beta dashboard rework (or ngn's talking about some other smaller design changes, but i've been using a dark theme so can't tell)
@dzaima Even if brute force is the only way, tables of patterns and their predecessors to cut down the possibilities for larger patterns might help, maybe...?
The main thing that stands out to me is that I can set an emoji next to my status (which I don't have a particular problem with), but there is a default emoji and no obvious way to set it back to no emoji.
I don't mind having the option but being forced to have an emoji bothers me
Oh actually it's fine - to others I show as having no status and no emoji. It's only when viewing my own profile as myself that I have a blue smiley face stuck on my avatar. Still annoying, but as long as it isn't visible to anyone I can let myself not care
@trichoplax a simple .js-user-status-context { display: none; } hides the status updater from your profile page, but i can't seem to find any other account to test with which has a status :|
yeah that doesn't hide other users statuses, for that you'd also need .user-status-container
@trichoplax after clicking randomly through links in this
> Logic gates based on billiard-ball computer designs have also been made to operate using live soldier crabs of the species Mictyris guinotae in place of the billiard balls
"...the crabs are very sensitive to the shadows made by standing and moving object. Thus the intimidation plate can trigger soldier crabs to move away from the shadowed region."
@Adám Is it just the blue grinning face that's actually a button to let you choose an emoji? If you view it logged out (say in another browser or a private window) does it still show?
The "Give us feedback" link might reasonably be presumed to be a link to give feedback to the GitHub user, but is actually a link to give feedback on the concept of GitHub statuses
The president of Blandia, recognizing how expensive the trench will be between his country and that of Astan and that the Astanians will be able to swoop in and snatched up the land that ends up being nothing but trench for themselves (represented by !):
[
"AAAAAAAAAA",
"A!AAAAAA!A",
"A+++...
Question: Given a standard 3x3 Rubik's Cube in the solved configuration, is it possible to enumerate every different configuration exactly once, without repeating, and return to the original solved state?
500 reputation for an golfy language
This bounty will be awarded to a new golfing language (more precisely, to an answer in that language by its author to Showcase of Languages) that
Bests all pre-2019 languages by 10% or 2 bytes (whichever is greater) in 10 pure code-golf challenges.
The 10...
@lirtosiast Sounds doable, but 10/100 is a high bar for what basically is a job to create a superior golfing language. Best bet would be a highly domain specific language for a domain that is popular enough to be 10% of challenges. Very tough. Stencil might have stood a chance if there were enough cellular automaton challenges.