@ETHproductions Update on the TestMySite thing: the email apparently contains exactly the same information as was available directly on the webpage 6 months ago ಠ_ಠ
brb making a service that requests the email from TestMySite through a temporary email address and sends that email to the user as soon as it is recieved :P
@EinkornEnchanter Those aren't single tokens in any language that uses the [A-Za-z_]\w* rule. But 0o and 0x are special since they begin numeric literals.
This is a very very simple algorithm, that I am sure can be solved in many many different languages. In Spain the ID cards (known as DNI) consist of 8 numbers and a control character. The control character is calculated with the following algorithm: divide the number by 23, take the rest of the o...
Oh OK. Lemme check. I will ping you if it doesn't works.
Anonymous
6:55 AM
@HyperNeutrino We can pretty easily. All we'd need is to be room owners in the Trash room, which wouldn't be that much of a request. If it ever becomes necessary, we can make it happen.
// example from: // https://msdn.microsoft.com/en-us/library/windows/desktop/ms737591(v=vs.85).aspx #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <winsock2.h> #include <ws2tcpip.h> #include <stdlib.h> #include <stdio.h> // Need to link with Ws2_32.lib, Mswsock.lib, and Advapi32.lib #p...
Write a program, that sends its own source code over network.
Network example is TCP/UDP or web socket. Ethernet, bluetooth, Wi-Fi and internet over USB are allowed.
No need to write reciver program. You can use any encoding protocol, but decoder will be realizable.
Rules
Network is not a st...
Challenge
Given a string and a number, divide the string into that many equal-sized parts. For example, if the number is 3, you should divide the string into 3 pieces no matter how long the string is.
If the length of the string does not divide evenly into the number provided, you should round ...
Code Golf - The Challenge:
Write a function to reverse a string of text. For example, given:
hello world
it would return
dlrow olleh
You may not use a built in function to reverse the string.
BASKETBALL FRVR !!!
You might already be familiar with the game: Basketball FRVR in facebook. Like in regular basketball, you can either hit a:
3 when the ball enters the basket without touching the rim (a virgin-shot: we call it so in our country :D) or
2 when the ball enters the basket but a...
Write a function that calculates a row of the pascal triangle and returns the middle number, if there are 2 it should return their sum.
You may not use a built in function.
Example:
5
would return
20
Example 2:
4
would return
6
Background
Celebrating the release of Dyalog APL 16.0, where the solution to this problem is {⊢⌺(≢⍵)⊢⍵}.
Task
Given a printable ASCII string of odd length n, make an n × n square with the string centered horizontally, duplicated to be centered vertically, and with acrostics of the same string ...
CMC: calculate the oddity of a number. Every odd number can be expressed as 2*n+1. 5 = 2*2+1, so the output is 1. 7 = 2*3+1 => 3 = 2*1+1 => 2*0+1 and so the output is 3 for 7. The output for even numbers is 0 because they can't be expressed in the form of 2*n+1.
What's Underneath the Sine Wave?
kolmogorov-complexity code-golf
Task
Your task is to output a part of the sine wave out of any character of your choosing and on any background of your choosing (as long as the background is not any of the characters that are in the wave itself). The wave can s...
@HyperNeutrino It's perfectly possible to return moved messages to where they came from if it's something important. If a couple of messages get caught up when moving a large conversation it's not usually a high priority though.
any odd number n will become 3n+1. The result is always an even number, so the next step would be (3n+1)/2. So let's call the process of an odd number going through two steps of the collatz conjecture and ending up in (3n+1)/2 as one STEP. The oddity of a number is how many consecutive STEPs an odd number takes before it reaches an even number.
Given a positive integer as input, your task is to output a truthy value if the number is divisible by the double of the sum of its digits, and a falsy value otherwise. In other words:
(sum_of_digits)*2 | number
The values do not have to be constant, as long as the falsy values are clearly di...
CMC: Given two numbers, compute how many [orders of magnitude](https://en.wikipedia.org/wiki/Order_of_magnitude) away they are from each other. Test cases:
Your mission
Create, in the language of your choice, a program that outputs a randomly selected lennyface from a lennyface (artistic minifigures, see this) list.
Rules
Input : A list of lennyfaces and numbers.
Output (STDOUT for example) : the randomly-selected lennyface.
A line with a number...
Random lennyface selector
Your mission
Create, in the language of your choice, a program that outputs a randomly selected lennyface (artistic minifigures, see this) from a lennyface list.
Rules
Input : A list of lennyfaces and numbers.
Output (STDOUT for example) : the randomly-selected lenn...
Random lennyface selector
Your mission
Create, in the language of your choice, a program that outputs a randomly selected lennyface (artistic minifigures, see this) from a lennyface list.
Rules
Input : A list of lennyfaces and numbers.
Output (STDOUT for example) : the randomly-selected lenn...
Based on the original OP headline: Regex that only matches itself, the following will work as requested:
regex = '/itself/'
Output will match itself as requested
@V.Courtois if anyone tries to steal a challenge from the Sandbox, it will be noticed, and it will either be deleted or downvoted to oblivion or something like that. But I've never seen any challenge being stolen, so don't worry