guys, sorry for interrupting, but what I do to reopen my question? I edited it but it was abbandoned. Where should I post to get attention to open it again?
The spoak laugh
For those who don't know, in Brazil some people laugh on chats like this: aposkpaoskaposkaposkpaokspaoskpaoksa.
So here is the challenge: To make a program that generate this laugh in a natural way.
How to produce this laugh programatticaly?
When you laugh like this, you use o...
Challenge
In this challenge, you are to code in any language a program or function that will take a string and output a valid BF program that will print the string.
Input
a string from any type of input, including stdin/file input.
Output
A valid BF program that prints the string.
Scoring
...
One of easiest code written by a programming language is a program printing sequence of characters (ex. "Hello, world!"). However, some esoteric programming languages like Brainfuck, even this simplest code is quite annoying to write.
Your task is to write a program (don't have to written in bra...
Snowman
Once I tried to make a golfing language that was still somewhat readable, kind of like GolfScript++. Then CJam happened. So I went the opposite direction, and made an anti-golfing language that is as unreadable as possible.
end preamble
Snowman is an esolang written in C++. Its main de...
I, uh, sort of wrote an entire mini-tutorial in there. Whoops. (@AlexA.)
@Doorknob Lol just looking at this question. I'm working on making a bitmap language for golfing use on this site. It's currently a WIP, but it's rather like ><> and BrainF**k melded together.
Emo Wolf With A Gun
He's back. He hates zombies. He still hates Java. No copyright infringement intended.
package player;
import zombie.*;
public class EmoWolfWithAGun implements Player {
@Override
public Action doTurn(PlayerContext context) {
PlayerId myself = context.getId(...
@AlexA. My old school and my new high school use different math classes. So I was in Algebra II last year, and this year I'm in "Algebra II / Precalculus" (which is basically the equivalent of what the continuation would be in my old school).
If I continued to go to a public school, I think it would be three years ahead. In my new private school, I'm not sure whether it's 1-2... somewhere in that range, I think. The math system is completely different.
Ah, okay. I've never been to a private school so I have no idea how things work outside of the public school system. (The Washington state public school system to be exact. :P)
(read: anything I say about school may be completely irrelevant or nonsensical in other states)
I recommend it if there's some kind of equivalent. The Washington state taxpayers paid for my first two years of college while I was in high school, so I graduated high school with a diploma and an associate's (2-year) degree from my local community college.
Only spent 2 years actually in high school (9th and 10th grade).
Ah, alright. I like the idea of Rake as a replacement for GNU Make (because I dislike make) but I don't think it'll happen, at least on any significant scale.
If the lambda is (x^2+2^x) which is written as x2^2x^+ and I simply have that in my code, then the program would read the first x and push it onto the stack without realizing that it is part of a lambda expression.
If you did ba<lambda> you'd still need some way of telling the interpreter that the lambda is done should there be code that follows it, so I think making a postfix like this doesn't actually cost a byte over infix
(in my head it did for a bit, but weird stuff goes on in my head most of the time)
Got a small ruling question for one of you gurus: If a problem description says that the input is two values, say "a and b", can you take them in the opposite order? Or is that only if it specifically says something like "in any order"?
Emoticon facial expression recognition
Write a program that accepts as input an emoticon and ouputs if the emoticon is happy or sad.
The program accepts a string as input or parameter, and should display the string "happy" if the input is in the happy emoticon list, or "sad" if the input is in ...
I've been looking for a place to put Element on that list, but unfortunately neither its input nor output character have been used by any other answers so far.
I'll never understand how people decide what to vote for. I posted two answers on a challenge today. One took 2 minutes to write, the other 2 hours. Guess which one is getting the upvotes...
Yes, fastest-code and code-challenge is usually lots of work for little reward. I know that the vote tally doesn't always measure quality, but 8 votes for a 227 byte answer that required no effort vs 2 votes for a 107 byte answer that required a lot of work still seems weird, considering that both answers have been seen by the same people...
Maybe our user base simply likes bubblegum. ¯\_(ツ)_/¯
As you have already discovered, the characters resulting from character codes between 0 and 255 depend entirely on the encoding that is used.
Windows doesn't use neither extended ASCII nor ANSI (usually Windows-1252); it actually depends on the application.
For example, Alt + (2, 2, 4) gives on...
If what I found on SO is any indication, I concluded that there's hardly any correlation between the quality of answers and the number of upvotes. And definitely none between effort and upvotes. The way I look at it, it averages out overall.
Sometimes I quickly get 5 upvotes for answers that are so trivially easy that I was almost embarrassed to post them. Other times I get nothing after searching for information in half a dozen spec documents.
The complete syntax is file://host/path.
If the host is localhost, it can be omitted, resulting in file:///path.
See RFC 1738 – Uniform Resource Locators (URL):
A file URL takes the form:
file://<host>/<path>
[…]
As a special case, <host> can be the string "localhost" or the emp...