« first day (1944 days earlier)      last day (2900 days later) » 

2:00 PM
If you insert it correctly, you can make people think their keyboard is wrong
@MarsUltor What does that do?
 
Pinging does not work?
Did you receive my ping
 
@Bálint replace a character with character + one or more zero-width space
 
@LeakyNun ?
 
@MarsUltor That's evil
 
Evil on a whole new level
 
@LeakyNun NO STEALTH PING
 
@EᴀsᴛᴇʀʟʏIʀᴋ Stealth pinging was corrected
Some time ago
 
2:02 PM
that pings, but isn't stealth
@Bálint yeah
 
which one pings?
 
but still disallowed to annoyingly ping.
 
The other really really evil thing is to change spaces to hard spaces in some languages, wich doesn't support it
 
Chat mini-challenge: You're given a string consisting of the characters -<>. The pairs --, -<, ><, >-, <> are linked, and the remaining pairs ->, >>, <-, << are not. Your task is to split the string at the middle of each non-linked pair. For example, "-<>>->--<>-<<>--<" gives output "-<>", ">-", ">--<>-<", "<>--<".
 
@Zgarb This sounds quite fun for a proper challenge. :)
 
Anybody willing to give a Meta.SE bounty?
for at least 100 rep.
 
@LeakyNun how do you use it?
 
1. Click "Run Program! (Ctrl-Enter)"
2. Copy the result.
3. Paste it in some text editor.
4. Try to delete it by backspace.
5. ???
6. Profit!
 
1000 zws-s?
 
2:08 PM
yep
 
you can't send the message
 
@Zgarb Retina, 29 but I think it should be possible in less...
 
500 char is the limit
 
@MartinBüttner Maybe... I thought it would be very simple with reasonable regex tools.
 
yeah, doesn't ping anymore
 
2:10 PM
What is the best IDE for HTML, CSS and web languages?
 
Angelfire
 
@MartinBüttner 22
 
It keeps getting better...
 
2:16 PM
hm wait
that wasn't quite correct
oh but this is for 13: retina.tryitonline.net/…
 
damn, that's short
 
@Bálint vim
 
@Bálint some people seem to like WebStorm
sublimetext is a decent all purpose editor
 
@Poke I don't have a credit card to actually pay for it (yet).
 
@Bálint or brackets
 
2:19 PM
@MartinBüttner How does that work?
 
@Bálint notepad.exe
 
@Bálint WebStorm
 
@TimmyD I'm not stupid, nor masichist
@NathanMerrill I don't have a credit card to actually pay for it (yet).
 
are you in school?
 
I dunno about the best, but I use Notepad++.
 
2:20 PM
@NathanMerrill No, but I can't have one until I'm 16 and I can work
So, until tomorrow pretty much...
 
@Zgarb Well, a valid chain can only consist of matched <> or hyphens, because everything else breaks it. The only unmatched > or < can be at the start or end respectively. So I'm just matching that form directly instead of checking for all pairs character by character.
2
 
wait, you aren't 16, and you aren't in school?
 
I've basically converted the problem to an NFA and converted that NFA to a regex (very informally)
 
@El'endiaStarman I use it too, but I want to look for a better one
@NathanMerrill It's 4 PM here
 
2:21 PM
@NathanMerrill time zones...
 
@MartinBüttner Ahh, that's clever.
 
thanks :)
 
@Bálint lol, I mean are you attending a school :) JetBrains has a educational license
 
@NathanMerrill Isn't that for university students?
 
you could use eclipse :]
>.<
 
2:23 PM
@Bálint my school doesn't sanatize their inputs either .-.
 
And !` means "remove matching prefixes greedily, printing one per line"?
 
@Zgarb it just means "print all matches" (one per line)
 
@Poke Eclipse is for java mainly, and I hate eclipse
 
eclipse is like emacs
just a nice ocean of plugins
you can do everything with it
 
@Zgarb if you would put a ; in the input, then it would break the chain but not appear in the output at all
 
2:24 PM
@MartinBüttner Oh right, because matches will naturally be a partition of the input.
 
I'm thinking of doing a challenge that requires printing the decimal expansion of 1/49...9 to K digits, like, given n = 3 and K = 6, print the first 6 digits of 1/4999
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I think we've had that for 99998 iirc
 
2:25 PM
> Sublime Text may be downloaded and evaluated for free, however a license must be purchased for continued use. There is currently no enforced time limit for the evaluation.
That's like winrar
 
@Bálint not necessarily, but you will need an edu address or an ISIC card, or for your high school to get a Classroom License
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Related
 
maybe not though... can't find it
 
@NathanMerrill I can guarantee, I have none of those, because I have no idea what those are
 
@Bálint Yes, though I think Sublime looks for stuff like how often you save a file, or how much text you type, that sort of thing. So it's a usage limit, not a time limit.
 
2:26 PM
the first is an email address, the second you can obtain for $25
 
@LeakyNun kinda not really
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Related
 
petitioning your school for a classroom license is free, though not guaranteed :)
 
@TimmyD true, but this would probably be better solved using a different approach
 
Hum, the obfuscating challenge has been putted on hold while I was finishing my clean code D:
I'm sad now :'(
 
2:31 PM
even if it wasn't off topic, it would be a duplicate of this challenge:
95
Q: Obfuscated Hello World

Kevin BrownCreate the shortest possible obfuscated program that displays the text "Hello World". In order to be considered an obfuscated program, it must meet at least two of the following requirements: Does not contain the characters: "h", "l", "w" and "d" in any case Does not contain the characters...

which should be closed IMO
 
I don't see how it is a duplicate, and also it isn't closed as off-topic, but too broad ;)
 
@Zgarb Any J challenge?
 
er yeah, I mean too broad
I think I voted it too broad anyways
 
@LeakyNun Are you learning J?
 
@Zgarb Yep.
 
2:35 PM
they are duplicates because the core of the challenge "obfuscate" is essentially the same
the different task is irrelevant
 
@NathanMerrill that's the same as saying two string processing challenges are the same because you have to string-process in both...
 
and the additional restrictions (that the particular letters can't appear in your source code) could be grounds for differentiation, but it isn't big enough IMO
no, its not. Obfuscating is the task, not the type of task
where as string processing is the type
otherwise, we could take every challenge on our site and make it an obfuscation challenge
 
Chat mini-challenge: four-square conjecture (I know it's a duplicate so what)
 
@LeakyNun Alright. Task: given a 2D array of integers (of size at least 2x2), find the 2x2 sub-array whose sum is maximal.
 
@NathanMerrill Obfuscation is the criteria which defines the voting guide line (the "quality" of each submissions) in a popcon, it isn't a task
 
2:37 PM
@Zgarb testcase?
 
what is the "core" of the challenge?
people aren't trying to figure out how to write a hello world, they are trying to figure out how to obfuscate
 
@NathanMerrill I agree that the core of the challenge is the obfucation, but the task is simply comparing an input to your username.
 
so are you ok with somebody making an obfuscation challenge out of every other challenge on our site?
 
@NathanMerrill That could be the same in any other popcon, they don't try to output hello world, they try to output the most beautiful hello world
 
Input:
3 12  4 4
5  0  1 9
2 10 11 0
Output:
 0  1
10 11
@LeakyNun ^
 
2:40 PM
@Katenkyo right, and if we had 2 popcons that were both "make the code as beautiful as possible", one would be a duplicate of the other
 
@NathanMerrill No, I'm not, obfuscation, as other popcon, must not be something that copycat every other challenges for the sake of a different winning criteria
 
i like popcorn
 
@Zgarb thanks
 
@Katenkyo we allow copying of challenges under a different scoring criteria, as long as answers in the other challenge aren't competitive
 
@NathanMerrill popcon judges mostly the output and the algorythm, not the code in itself, so yes, it's the goal
 
2:41 PM
0
Q: Real Coding Skill

bacchusbealeMost puzzles and questions asked on CodeGolf are interesting and challenging. However, usually the answers that win are created from pre-fabricated languages designed for golfing code. This seems unfair since it is easy to make ANY language you like for any situation. Languages used to answer the...

 
@Zgarb lol I don't even know where to start
 
@LeakyNun Try Cut
The dyadic u ;. _3 case should be helpful.
 
@Zgarb Never mind, could you please post the answer...
 
Alright.
[:(>@{.@\:+/^:2@>)@,2 2<;._3]
It's a bit golfed, I do that automatically now. :P
 
well...
I know you're a master
but I'm a beginner lol
 
2:51 PM
Okay, maybe I'll give you something simpler.
@LeakyNun Given a 2D array of integers, sort each row in ascending order.
Input:
3 12  4 4
5  0  1 9
2 10 11 0
Output:
3 4  4 12
0 1  5  9
0 2 10 11
I have to go now, so you're on your own.
 
@Zgarb This is for 1D {~/:
 
@Zgarb speaking of J, how is jellyfish doing? :)
 
@Zgarb here
({~/:)"1
{~"1/:"1
 
3:12 PM
1
Q: Is the gas lighter than air?

anatolygAir balloons need a gas that is lighter than air. However, hydrogen is flammable, while helium is not sustainable, so we need a replacement! You must write code that determines whether any given gas is lighter than air. Input: a molecular chemical formula of a gas (ASCII) Output: true if the ...

 
7 comments in 15 minutes.
 
hi all
 
hi part of all
34s :|
 
I have a video on the external sd of my android phone which I want to play on my ipad. Is this beyond the wit of modern computers?
I can't work out how you can do this
 
@Lembik -._(._.)_.-
 
3:22 PM
now that needs explaining :)
it just seems so hard
scp file me@remote isn't an option it seems :)
 
@Lembik Get adapter, plug SD into iPad...
 
email it to yourself
 
Throw away the ipad, watch it on the phone.
 
@Meanbits Any mini-challenge?
 
@mınxomaτ do they really exist??
@Poke that's no good. I can't email 1GB
 
compress it into multiple smaller volumes and then email each of those volumes one at a time
 
@mınxomaτ the ipad doesn't have a lightning connector
@Poke :) that would be about 32 parts!
 
@Lembik And how should I now that? Is it the old 32pin then?
 
and...
 
3:36 PM
@Lembik Then just throw the iPad away.
 
@mınxomaτ thanks :)
 
@mınxomaτ ಠ_ಠ
 
one option is to set up the android phone as dlna server
 
That's what I tried to say, and he gets the thanks :/
 
additionally you could: transfer over bluetooth, use your computer as a proxy, set up a small fileserver on your android phone and hit it with the ipad, set up a small ftp server on either the ipad or the android device
 
3:37 PM
but I was looking for something simpler
@Meanbits Thanks!
@Poke no computer sadly
 
@Lembik You won't really throw away the iPad, will you? ,_,
 
write the bits on a stickynote and learn to interpret them in your head
2
 
so.. options 1) dlna option 2) something else :)
@Poke now that's a sensible :)
 
well you ignored my other ideas :[
 
3:38 PM
@Lembik So, only one option, DLNA.
 
@Poke You'd need a lot of sticky notes. Might be better to stream them down from the top of the screen using green characters on a black background.
 
I have no choice but this choice.
 
@zyabin101 so far!
 
@Meanbits i like where you're going with this
 
@mınxomaτ that is an interesting option but I have to admit I don't fully understand which apps can play movies from that
 
3:39 PM
@Lembik Take a guess >.>
 
@mınxomaτ well I am reading too :)
 
Oh, here's an idea: Play it on the phone, and point the ipad's camera at the phone so it will play in the preview window. Instant resize/transfer :D
 
@Meanbits genius!
 
Optical transfer is soooo fast.
 
ok.. maybe I should set up an ssh server on the android phone and transfer to goodplayer
 
3:41 PM
I suggested file server and ftp server and you went with ssh.
 
@Poke .
?
 
I could just read a book instead of course :)
 
The only true failure is giving up.
 
that's me!
 
heh
 
3:43 PM
i'd probably just go with the bluetooth option if it was me
 
@Poke what was the bluetooth option? I think it got lost in the noise
 
you can transfer files over bluetooth
 
@Poke oh! Which app in the ipad side would they go to?
the ipad has a sandboxed file storage per app I believe
 
oh hmm
not sure...
 
I feel I have asked the equivalent of fermat's last theorm :)
 
3:46 PM
@LeakyNun Good!
 
@Zgarb Thanks!
 
@MartinBüttner Slowly but surely. I almost answered a challenge with it not long ago, but the interpreter had a bug and I was too lazy to fix it right away...
@LeakyNun Now, can you sort the columns instead of the rows?
 
@Zgarb rank _1?
or _
 
No, rank is not enough here.
 
3:56 PM
3
Q: Correct way to add numbers to get lots of 8's

Darrel HoffmanInspired by this question which was further inspired by this one, write a program which takes two integers and adds them in a unique way, by performing an OR operation on the segments used to display them in a 7-segment display. For reference, the digits are represented in the following way: _...

 
I'll have to go again, but think about it!
 
transpose?
 
we have a special name for poses made by transsexual people now?
what have we come to
 
is there some number system where you only change a constant number of bits when you add or subtract one?
@Optimizer ?
 
@Zgarb here
|:@({~"1/:"1)@|:
 
4:04 PM
Well, since the obfuscation challenge is closed for good, does anyone want to see my attempt at it? :3
 
The obfuscation challenge can still be reopened, 4 more votes needed, right?
 
well, yeah, but it was just mod-hammered
it'll just be mod-hammered again
 
oh, I see
how about reopening it and then everybody quickly post their answers? :D
 
@Lembik that is dumb.
 
I personally think the question is on-topic--it states a guideline by which to vote, it has an objective task. How is too broad?
@mIllIbyte I'm all for that :3
 
4:07 PM
@Lembik Unary?
 
do you have an answer that you wanted to post?
 
yes
 
how many bytes? :3
 
@Lembik There's Gray Code...
 
I tried posting it twice, and both times it was closed while I was writing my answer
 
4:08 PM
@TimmyD hmm... Let me look it up
 
it's big, because the golfing requierement was added to the question after my first attempt
 
but I misremembered it
might be nice to have a challenge around that
 
@mIllIbyte last I checked, there was no code-golf requirement
 
@Lembik Yes, that sounds interesting.
Ugly to actually implement in hardware, but interesting.
 
ok so the challenge would be implement constant time addition and subtraction with arbitrarily large numbers
code-golf?
 
4:13 PM
"Try to make code as short as possible while still hard to read."
 
@mIllIbyte could you expland that thought please :)
 
Oh, it's the last sentence from the challenge text. Somebody added it after the challenge was first posted. I think it might encourage downvotes for big answers.
My answer is big, so I am going to get downvotes :)
 
I rollbacked the revision.
It was not the author's intent, so it's an invalid edit.
 
4:44 PM
Chat mini challenge: return/output the prefixes of a list
 
^ define prefixes
 
first N items of a list?
 
prefixes of a list [1 2 3 4]: [[1], [1, 2], [1, 2, 3], [1, 2, 3, 4]]
 
I like those chat mini challenges
I find a lot of bugs in my code with them
 
:29916673 I came as quickly as I could.
 
4:54 PM
really? glad to help :)
 
@CᴏɴᴏʀO'Bʀɪᴇɴ PowerShell, 38 bytes param($n)0..($n.length-1)|%{$n[0..$_]}
Might be able to get shorter
Oh, yeah, don't need to cycle through the array that way
26 bytes param($n)$n|%{$n[0..$i++]}
 
o_o how does that one work
 
The $n|{...} loops through each element of the input. But we don't care 'bout each element individually, we just want to repeat that many times.
 
is $i the counter?
 
Each time we take a slice of the input array from 0 up to $I++
 
4:59 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ no empty list?
 
right - generated on the fly
 
@Fatalize empty list optional I guess
 
@wizzwizz4 Didn't you were the one, who wanted to see the demo with the terrain I showed 2 days ago?
 
@Bálint I... think so.
 

« first day (1944 days earlier)      last day (2900 days later) »