« first day (1869 days earlier)      last day (2977 days later) » 
00:00 - 16:0016:00 - 00:00

12:00 AM
It works with pyth -c, it works on the online interpreter... but it fails miserably when written to a file. What?
And when copy/pasting from the file into the online interpreter, it works...
 
tac
@Doorknob blame caching && null bytes
 
no null bytes
 
tac
is it Linux or Darwin?
your system
 
Debian
 
tac
hm
 
12:09 AM
@Doorknob I'm bad at reading and I thought I read "llamabox" in there somewhere
 
llama and viewBox are like 20 chars away O_o
llama@llama:~$ pyth -c "$(cat rainbow.pyth)"
well this is unnecessarily convoluted
@AquaTart Packing the strings ended up making it longer somehow ಠ_ಠ
By 19 bytes
 
12:38 AM
you should get the hint
 
Hello, world !
I would like your opinion on an answer I would like to post
I've made an XQuery answer for the fizzbuzz challenge, and it works well except for one point : the xquery processor adds an XML header
There are options to remove them but they take half as long as the whole code and are processor dependant. Any idea how to circumvent this problem?
 
@Aaron If it's the language adding the boilerplate around the output, iirc that's okay
 
Oh, nice ! Do you remember reading that in meta? I should try finding a source to link in my answer
 
9
Q: How do we treat default output formats such as "ans = ...." etc.?

Stewie GriffinIn MATLAB and Octave, the default output looks like this (I guess this is relevant for other languages as well): 'This is a string' ans = This is a string x = 'This is a string' x = This is a string Using disp will give: disp('This is a string') This is a string There are, as far as I ...

 
Thanks a lot !
 
12:57 AM
@DonMuesli how do I compile MATL (can I do it with octave or something)?
 
using AB ?
 
@Vihan TIO uses Octave
So yes, I would assume you could too
 
octave matl.m doesn't do anything :/
 
I don't think compile is the word, but yes, MATL works with Octave.
 
@Vihan Yes, it works on Octave. I've tried version 4.0.0. Just download the compiler from Github (latest version: 14.0.0). Then, to run for example the rainbow answer, type
matl -r '-200:200,0:200!PYyq10/k12-t8<*t0>*7/3YGH7B.561FThv.295Oh.51hvFFTvFTFv6Bvl.5hOhv4Bv255*k5M/ZG'
from within Octave
 
1:01 AM
ah okay, got it
though the rainbow is upside down for me
 
IT'S A DOUBLE RAINBOW
 
Octave version?
 
yeah
 
@Vihan Oh. Mac
Then it's not Octave 4.0.0, right?
 
it could just be X11 though
 
1:03 AM
4.0.0 doesn't work on Mac
 
Blasphemy
 
oh, yeah it's: GNU Octave, version 4.0.0
 
@AlexA. :-D
@Vihan Weird. It's the same I have
 
OS X is best OS
(hush, @Dennis)
 
@AlexA. OH MY GOD, DOUBLE RAINBOW ALL THE WAY
 
1:05 AM
Now that I think about it, Stewie's challenge didn't say the rainbow couldn't be upside down :-P
 
WHAT DOES IT MEAN
 
But it's strange. I have it in normal position
 
normal position?
 
I've heard Octave 4.0.0 has problems on Mac?
I don't know which problems, though
 
the lpots work I think
 
1:08 AM
translate: Ventana de comandos
(from Spanish) Command window
 
@AlexA. Yep
I prefer it in English, but it came like that
I use Matlab much more often, anyway
 
Is Octave in Spanish by default? o_O
I'm sure you can change your language settings
 
Octave in the command line seems to be english
 
I didn't do anything. Yes, it autoconfigured itself
 
Github's recent Facebook update is pretty cool ( ͡° ͜ʖ ͡°)
 
1:11 AM
@AlexA. Done! It was very easy, actually. I just hadn't evven bothered to look in Preferences :-)
 
haha
translate es: Command window
(from English) Ventana de comandos
( ͡° ͜ʖ ͡°)
 
@Vihan if there's no shrug and lenny face then I don't care for it
imagine if you could lenny face issues
 
Issue titles support lenny faces I think
 
given a line between two points with integer coordinates, find the number of integer coordinates it passes through
so, for example (0,0), (2,2) passes through 1 coordinate
but (0,0), (2,1) passes through 0
 
yeah
 
@NathanMerrill Sample x axis in 1-steps, compute y and compare with its floored version?
 
@AlexA. Huh, I thought OS X meant tenth best OS.
3
 
@Dennis Hahaha
 
@Dennis No it means 10x better than all other OSs
 
lenny face is messed up
 
1:14 AM
Tenth? You're being generous
 
 
XD
 
@Quill ಠ_ಠ
 
 
@Dennis ಠ_ಠ
 
1:15 AM
@DonMuesli the length of the line from (0,0) to (1,1) is sqrt(2)
not 1
 
? I said "sample the x axis in steps of 1"
Line length doesn't matter
 
ah, my bad
you'd have to sample both the y and x
er, nevermind
although, you could pick the shorter one
 
@Quill does running: $('.js-issue-title').css({letterSpacing: '0px', fontFamily: 'Arial'}) fix the issue?
 
so, that is in O(n). Is it possible to do in less time?
 
why would I want to fix it
 
1:18 AM
@NathanMerrill If you sample x, that gives you the only y samples that can be solutions
 
@Quill why would you not want to?
 
right
(I'm ignoring lines that are parallel to an axis)
 
@AlexA. Hey, that's cool! Congrats!
 
@DonMuesli Thanks! :D
 
0
Q: everything CHANGES

rybo111In the fewest bytes possible, change every lower-case letter in a string to a different upper-case letter. There is a twist: you must also provide a "before and after" example containing real words that are at least 5 letters long. For instance: hello > FUNNY You cannot copy someone else's "be...

 
1:30 AM
8th XQuery answer on the site codegolf.stackexchange.com/a/75405/41881 :)
@Vihan I used the option to remove the XML header in the end, the meta answer you provided me treated about functions rather than whole programs
Btw, could it be interesting to do challenges with XML, JSON or other verbose formats to see if golfing languages can compete with languages equipped to deal with them?
@Vihan thanks for the edit, I should really have checked what I posted before linking it !
 
1:48 AM
@Vihan This seems to be a known issue in OS X. imshow is what MATL's YG function internally uses to display the image
0
Q: imshow in Octave under OSX 10.9.5 shows the image with the y-axis inverted

santutaAccording to the Octave help: The origin (0, 0) for images is located in the upper left. For ordinary plots, the origin is located in the lower left. Octave handles this inversion by plotting the data normally, and then reversing the direction of the y-axis by setting the 'ydir' property ...

The "solution" in StackOVerflow is "hey, invert the image before calling imshow! <--ROFL
 
@DonMuesli oh, so it's a bug not a feature :(
 
Why would it be a feature? "Octave for Mac! Now with 100% more upside down graphics!"
 
>:U :-D
Of course it's a bug!
 
@NewMainPosts Please close this as too broad
 
@Vihan In my code, you can remove the `P. This should give you the rainbow in its normal orientation
matl -r '-200:200,0:200!Yyq10/k12-t8<*t0>*7/3YGH7B.561FThv.295Oh.51hvFFTvFTFv6Bvl.5hOhv4Bv255*k5M/ZG'
 
1:53 AM
@AquaTart I think it's more unclear than anything else
 
@DonMuesli \o/ it works
 
And one byte less :-P This was a "good" bug, hahaha
 
So it is a feature
 
The P in the code was a necessary flip. To flip again (like your system needs), I just removed the flip
 
@AlexA. There's too many possible answers: any string transformation without a fixed point consisting of only lower case letters is valid
The "twist" thing is just a side note on that regard
 
1:56 AM
@Vihan I could say "MATL on Octave on OS X" and remove one byte :-P
Ooops
 
@AquaTart ¯\_(ツ)_/¯ Well, whatever, it's closed.
 
:-)
Corrected
 
@AlexA. But the wrong close reason which really rustles my jimmies
See, someone has already voted to reopen it
:/
2 reopen votes.
This is why you have to get the right close reason the first time otherwise this happens
 
Someone should write a challenge about the new Game of Life spaceship
 
@AlexA. can mosds change the lcose vote reason?
 
1:58 AM
@AquaTart I don't think it's the wrong close reason.
@Vihan Only by reopening and reclosing.
 
ok, I guess that counts because mod actions are immediate
 
@Vihan Hey, look at your Avatar. Of course the rainbow image was upside down!!
 
FWIW, I don't think this is unclear: it's just too broad (indeed I voted to close it as too broad.) Putting the twist aside, any string transformation with no lowercase fixed point is valid. — Aqua Tart 1 min ago
small loan of million two cents
please don't reopen this
 
@DonMuesli haha, but with that logic my whole desktop would be upside down :P
 
@Vihan But you are upside down! You wouldn't even notice! :-D
Try available_graphics_toolkits on Octave maybe
 
2:02 AM
true... didn't think about it that way
@DonMuesli that just says "gnuplot"
ans =
{
  [1,1] = gnuplot
}
 
Oh. Then you can't change it :-(
More people complaining @Vihan
 
I have twice the amount of answers on SO than PPCG, yet I have like 3x more rep on PPCG O_o
 
ppcg is better
 
@DonMuesli I should file a bug saying this bug is mocking me :P
 
@AlexA. Can you move the conversation on the changes challenge to chat?
 
2:14 AM
Comments are not for extended discussion; this conversation has been moved to chat. — Alex A. ♦ 1 min ago
lel post was deleted anyway
 
delete the chatroom too
 
Why?
 
why not?
 
@AlexA. rofl k
thx anyways bb
 
@Optimizer The OP might still want feedback
 
2:22 AM
on what?
 
@AquaTart ( ͡• ͜ʖ~)
@Optimizer If they choose to repost or undeleted it with fixes
 
There isn't really a fix though
 
I know
 
2:35 AM
> taking the best from languages like Ruby, Go, Perl 6 and Julia.
Taking the best from Julia would be taking all of Julia
Taking the best from Go would be not taking Go
And Perl 6. Pfft. A failed attempt to fix a broken language.
 
Perl 6 sucks
Anyways thanks for showing me this. Gotta keep tabs on potential Pytek competitors
 
lel
My current reputation is a palindrome: 18081
English Language Learners graduated and their design is weird.
 
2:54 AM
No kidding.
 
no doorknobbing
 
No optimizing
 
only if code-golfing
also, I am not a kid.
 
@Dennis What happened to the CJam room on SU?
 
Doorknob basically isn't.
 
2:59 AM
Stumble Upon?
 
@AquaTart There was a CJam room on SU?
 
@Dennis I thought so.
 
That was my way of saying Why are you asking me?
 
Because you're one of its owners
 
Wait, what?
 
3:01 AM
Check your profile
 
Oh, now I remember! I wanted to chat with aditsu once, and created a room on the wrong site by accident.
 
Oh rofl
 
That room was never supposed to exist. Let's pretend it didn't. >_>
 
Why wasn't it supposed to exist?
 
in CJam, Jun 17 '14 at 5:15, by Dennis
I meant to create a room on Code Golf. Oh, well...
 
3:03 AM
CJam probably should have its own room
 
Who uses CJam anymore? Jelly and the hundred billion JavaScript-based golfing languages are all the rage.
 
I still use it occasionally. It's still Martin's weapon of choice, and he posts more answers than anybody. There are also Jimmy, Sp3000, Don Muesli and (of course) aditsu.
 
I was mostly joking ;P
 
CJam will always remain the all-around solid golfing language
 
3:19 AM
TIL that integer division is insanely slow. I mean, I knew that it was slow, but it's insanely slow.
 
I was itching to play some multiplayer Doom until I realized I lost my WAD collection when my hard drive went boom :( I own Doom 2 on Steam but I lost the other IWADs and I'll have to dig them up
 
@Dennis which division is fast?
 
@Dennis yep :(
 
0
Q: Minimum Scalar Product

baseman101Minimum Scalar Product The inspiration for this code golf problem is from Google's code jam competition. The premise behind the problem is, given the input of two vectors of varying lengths, find the minimum possible scalar. A scalar can be found using the following formula: x1 * y1 + x2 * y2 +...

 
@Optimizer This one:
int64_t fastdiv(int64_t dividend, int64_t fast_divisor)
{
    int64_t t = (dividend * (fast_divisor >> 8)) >> 32;

    return (((dividend - t) >> 1) + t) >> (fast_divisor & 63);
}
 
3:30 AM
division is built into the CPU, and they care about time
why don't they do that?
 
so much shifting
 
Requires precomputing multiplicants and shift amount for all potential divisors, but seems to be worth it.
 
how much perf gain?
 
Roughly 25% of my division-heavy part of the code.
Easily twice as fast as the built-in division.
 
why won't they make this built in?
 
3:33 AM
It's only faster if you divide by the same amount more than once.
GCC optimizes division by constants in the same way, but if the divisor is unknown at compile time, you're stuck with idiv.
	for (i = 0, p = &primes[8]; i < a; i++, p++)
	{
		primes_fastdiv[i] = 31 - __builtin_clz(*p - 1);
		primes_fastdiv[i] +=
			(1 + (((2L << primes_fastdiv[i]) - *p) << 32) / *p) << 8;
	}
 
@Dennis Runs faster without tabs
2
 
Is this multiplication by the inverse modulo 2^64 or something different?
 
No, that wouldn't truncate.
 
What do you mena, wouldn't truncate?
 
I need 34 / 17 and 35 / 17 to return 2. If that's possible with a single multiplication, I don't know how.
 
3:39 AM
oh
 
@AlexA. +1, can confirm
 
@AlexA. It runs even faster with backwards indentation, but it makes the code unmaintainable.
 
duh
 
Unmaintainable is best tainable
 
Are you implying that your code is maintainable now?
6
 
3:41 AM
Nah, not really.
 
self-rekt
 
90% of my coding skills come from PPCG. That pretty much says everything.
15
 
@Dennis I take it this is for the primes fastest code
 
Yup.
 
I can't believe you're still trying to squeeze better performance out of that
What's the time at now?
 
3:48 AM
6.6 ms for the combined test cases, not counting startup times.
 
Do you regenerate the sieve for every case or only once?
 
The program gets executed with one input at a time.
 
4:33 AM
Hey @El'endiaStarman, just wanted to tell you that Pirofi is amazing :D
 
googles Pirofi
 
@El'endiaStarman The grammar seems really well thought out and put together.
 
Yay! \o/
 
5:41 AM
Hello?
 
hi
 
Any graduation updates or news?
 
haha
what's a graduation update
 
can't even ping him anymore…
 
5:49 AM
@Maltysen Finally, another person who doesn't think pinging a CM is some sort of terrible crime
 
 
@DigitalTrauma Did you make this? digital-trauma.de/mc.html
 
6:20 AM
@HelkaHomba Uhh
 
6:30 AM
@HelkaHomba I'd be surprised given that .de is Germany and Digital Trauma is American.
 
7:24 AM
digital-trau.ma
 
I saw that one lol
 
i dont get it
 
 
7:54 AM
lol
 
@Optimizer I don't get any of them
 
i get some
not as bad as you
@Quill Erza?
 
 
@Quill lol
Monking @Sherlock9. We were sharing comics.
 
 
8:05 AM
Thanks for letting me know
 
Helka Homba
> start
options
 
@Quill Alright. Why pianos?
 
-_-
 
--animation-size 3 1
-_-
^_^
-_-
v_v
--repeat
 
@Quill Quill, I really don't know this one. Can I get more of an explanation please?
 
8:12 AM
that's the joke of it. it's weird that he would be scared of pianos, and gets all weirded out when someone asks him
 
Fair enough
Thanks for all the comics. I'll see if I can dig up some of my own
Yesterday's Schlock Mercenary seems relevant to programming and esolangs :D schlockmercenary.com/2016-03-11
 
8:55 AM
0
Q: multi-consumer multi-queue rabbitMq spring (read message by message for each consumer process)

CarolineThe goal of this project is a bit technical but hopefully to have someone to advise me better. Note that I work in a multi-clustering context, which means that I have the same program running on multiple machines. First, I have a producer who send me the events that need to come in order when t...

 
@NewMainPosts I want to comment "This is the wrong section of Stack Exchange in which to ask for programming help." but I feel I should add another sentence to it
They posted that question on Programmers as well, so I want to add "I see that you've already posted this question to the Programmers Stack Exchange site, " but I'm having trouble completing that sentence
 
9:17 AM
jumps in barrel
 
9:56 AM
@Geobits ^ (don't know who else in here was a pokemon fan)
 
 
1 hour later…
11:17 AM
Thanks anonymous bold text
 
You're welcome...
 
The failures usually don't hurt anything, and if it installs several versions, it increases the chance that one of them is right. (Note: The 'yes' command and '2>/dev/null' are recommended additions.)
2
He forgot pacman...
 
Does anyone know whether you can backup an android phone when you can only enter recovery mode?
 
11:32 AM
Do you have a custom recovery menu installed? Then you could just mount the phone as an USB drive.
 
nope, only the stock recovery
(and no SD card)
 
You can still flash a custom recovery when you can access the recovery mode.
 
11:48 AM
is that Samsung only?
 
12:37 PM
Yes.
 
0
Q: JSFuck with only 5 symbols?

Jens RendersThis is not a challenge but a question, I figured it was on topic because of Non-challenge questions that are related to solving programming puzzles or a particular type of challenge are also on topic. Now on to the question: Is it possible to write any JavaScript code with only 5 letters....

 
@CᴏɴᴏʀO'Bʀɪᴇɴ See the bottom of this answer for a thing I'm working on in Vitsy right now. :D
 
1:39 PM
oh, I totally forgot to check this morning... 3-0 for alphago, yay! :)
 
2:07 PM
Is it possible to include sections in the SE-questiosn that can be unfolded, but do not take any screen space by default?
 
@flawr Hidden Stack Snippets. I'm heading home, will explain soon.
 
Oh, great, I'm looking forward to that=)
@zyabin101theHated Thank you in advance=)
Lol, I just got a necromancer badge for an answer in the sandbox.
 
?
 
17
A: Please add the ability to fold blocks of code in questions and answers

Martin BüttnerThis feature request (and it being declined) is almost 6 years old. I'd appreciate if this could be reconsidered. There are a lot of use cases that have been mentioned but I don't even think this should be focused on code blocks. Since code blocks get a scrollbar anyway you can already fill your ...

4
 
2:26 PM
0
Q: Find the longest path, avoiding obstacles in a 2D plane

xorThe Scenario You are given a matrix of size m x n (width x height) with m*n spots where there are a few obstacles. Spots with obstacles are marked as 1, and those without are marked as 0. You can move vertically or horizontally, but can visit each spot only once. The goal is to cover as much are...

 
@NewMainPosts I'm late! ಠ___ಠ
@flawr Create a Stack Snippet as usual, having CSS and JavaScript blank, and mark the Hidden snippet check box. Inside a snippet you may do any HTML you can do on SE, but you can't do Markdown.
For that you need a Markdown to HTML transpiler or Markdown editor, i.e. MdCharm. And some Stack Exchange things are unavailable.
 
2:54 PM
Didn't we have to censor words like "JSFuck, Brainfuck" etc. in question titles?
8
Q: Profanity in hot questions list

Adam DavisI don't participate enough in PCG to feel I should have a say in whether that community allows profanity in their question titles, and I'm not particularly interested in opening yet another, "Is the language “BrainF_ck” offensive?" question. However, the hot questions list appears on all the net...

Brainfuck is already automatically censored, I see no difference to JSFuck.
@zyabin101theHated What?
 
@mınxomaτ I was being sarcastic.
Huh, JSFucj is not a popular language, so it shouldn't be in the bad word list. But it contains the F-word, so it technically should...
@_@
 
The popularity is irrelevant. It is about the profanity in the title itself.
 
@mınxomaτ nay >_> yea
 
Sooo my JavaScript Befunge-98 interpreter is now working. If you ever need one, check it out. Online version here.
 
3:28 PM
I find it quite hilarous that there are people who find the word fuck itself offensive.
They should be grateful for this word. Without fucking they wouldn't even exist.
 
I believe there are synonyms that most people don't find offensive.
(which, in a way, makes it even weirder)
 
g'morning m8s
 
That does make it even more hillarious in my eyes: Two things who mean the same, but just the name makes one more offensive than the other.
@MartinBüttner ninjenga
 
@crayzeedude Monkevening!
 
@zyabin101theHated but its only 9:38
monkevening isnt for another 8 or 9 hours m8
 
3:37 PM
@crayzeedude It's 18:37 GMT+3 time.
 
it's always monkevening somewhere in the world.....
 
kek
 
translate: monkevening
(from English): <INTERNAL_SERVER_ERROR>
What does it mean?
 
translate: monkevening
From jw to en: monkevening = monkevening
 
3:45 PM
kek
again
 
Any explanation?
 
yesterday, by zyabin101 the Hated
@crayzeedude It's a greeting to a doing his . One word, . It's a Code Review meme, and Quill should link to it soon.
2
except monkevening is an evening greeting i guess
 
O_o We are being infiltrated by CR people.
 
LOL
 
27
A: What's a Zombie? And what are the many other memes of Code Review?

Vogel612Meme: Monking Originator: Morwenn Cultural Height: The 2nd Monitor Background: A morning greeting to the Monkey doing his monkey-business, in other words: monking Examples: A small chat search Variations: Monkernoon, Monkevening, Monknight, ... Important is only that it begins with Monk... ;...

See variations.
 
00:00 - 16:0016:00 - 00:00

« first day (1869 days earlier)      last day (2977 days later) »