Can anyone tell me why this program fails?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












33












$begingroup$



 org.apache.kafka.clients.consumer.ConsumerRecords@1f6d27cc was empty
ScalaTestFailureLocation: SorterTest at (SorterTest.scala:75107)
org.scalatest.exceptions.TestFailedException: org.apache.kafka.clients.consumer.ConsumerRecords@1f6d27cc was empty
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:6597)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:70102)
at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:75107)
at org.scalatest.Assertions$
AssertionsHelper.macroAssert(Assertions.scala:6597)
at SorterTest.$anonfun$new$4(SorterTest.scala:72104)
at SorterTest.$
anonfun$new$4$adapted(SorterTest.scala:6597)
at scala.collection.immutable.List.foreach(List.scala:84116)
at SorterTest.$
anonfun$new$3(SorterTest.scala:69101)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:83115)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:77109)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:69101)
at org.scalatest.OutcomeOf$
.outcomeOf(OutcomeOf.scala:6698)
at org.scalatest.Transformer.apply(Transformer.scala:69101)
at org.scalatest.Transformer.apply(Transformer.scala:6799)
at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:6597)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:85117)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:83115)
at org.scalatest.FunSuite.withFixture(FunSuite.scala:69101)
at org.scalatest.FunSuiteLike.invokeWithFixture$1(FunSuiteLike.scala:73105)
at org.scalatest.FunSuiteLike.$anonfun$runTest$1(FunSuiteLike.scala:72104)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:6597)
at org.scalatest.FunSuiteLike.runTest(FunSuiteLike.scala:84116)
at org.scalatest.FunSuiteLike.runTest$(FunSuiteLike.scala:69101)
at org.scalatest.FunSuite.runTest(FunSuite.scala:75107)
at org.scalatest.FunSuiteLike.$anonfun$runTests$1(FunSuiteLike.scala:6597)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:70102)
at scala.collection.immutable.List.foreach(List.scala:75107)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:6597)



Why is this program failing?



Hint:




I've tried to duplicate the code but I got the same problem...











share|improve this question











$endgroup$







  • 2




    $begingroup$
    Perhaps tell is what exactly the problem is that you are encountering in detail, other than a vague “it’s not working?
    $endgroup$
    – Rewan Demontay
    Mar 14 at 12:45







  • 5




    $begingroup$
    I really think this should be here, just read it carefully ;P
    $endgroup$
    – Turvo
    Mar 14 at 12:57






  • 7




    $begingroup$
    Voting to close, needs [mcve] ;)
    $endgroup$
    – Rubio
    Mar 14 at 13:05






  • 1




    $begingroup$
    This is a cipher puzzle, just a bit different ^^
    $endgroup$
    – Turvo
    Mar 14 at 13:10






  • 8




    $begingroup$
    I just love how this looks like a bad StackOverflow question yet it still blatantly looks like a puzzle
    $endgroup$
    – Belhenix
    Mar 15 at 7:16















33












$begingroup$



 org.apache.kafka.clients.consumer.ConsumerRecords@1f6d27cc was empty
ScalaTestFailureLocation: SorterTest at (SorterTest.scala:75107)
org.scalatest.exceptions.TestFailedException: org.apache.kafka.clients.consumer.ConsumerRecords@1f6d27cc was empty
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:6597)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:70102)
at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:75107)
at org.scalatest.Assertions$
AssertionsHelper.macroAssert(Assertions.scala:6597)
at SorterTest.$anonfun$new$4(SorterTest.scala:72104)
at SorterTest.$
anonfun$new$4$adapted(SorterTest.scala:6597)
at scala.collection.immutable.List.foreach(List.scala:84116)
at SorterTest.$
anonfun$new$3(SorterTest.scala:69101)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:83115)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:77109)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:69101)
at org.scalatest.OutcomeOf$
.outcomeOf(OutcomeOf.scala:6698)
at org.scalatest.Transformer.apply(Transformer.scala:69101)
at org.scalatest.Transformer.apply(Transformer.scala:6799)
at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:6597)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:85117)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:83115)
at org.scalatest.FunSuite.withFixture(FunSuite.scala:69101)
at org.scalatest.FunSuiteLike.invokeWithFixture$1(FunSuiteLike.scala:73105)
at org.scalatest.FunSuiteLike.$anonfun$runTest$1(FunSuiteLike.scala:72104)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:6597)
at org.scalatest.FunSuiteLike.runTest(FunSuiteLike.scala:84116)
at org.scalatest.FunSuiteLike.runTest$(FunSuiteLike.scala:69101)
at org.scalatest.FunSuite.runTest(FunSuite.scala:75107)
at org.scalatest.FunSuiteLike.$anonfun$runTests$1(FunSuiteLike.scala:6597)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:70102)
at scala.collection.immutable.List.foreach(List.scala:75107)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:6597)



Why is this program failing?



Hint:




I've tried to duplicate the code but I got the same problem...











share|improve this question











$endgroup$







  • 2




    $begingroup$
    Perhaps tell is what exactly the problem is that you are encountering in detail, other than a vague “it’s not working?
    $endgroup$
    – Rewan Demontay
    Mar 14 at 12:45







  • 5




    $begingroup$
    I really think this should be here, just read it carefully ;P
    $endgroup$
    – Turvo
    Mar 14 at 12:57






  • 7




    $begingroup$
    Voting to close, needs [mcve] ;)
    $endgroup$
    – Rubio
    Mar 14 at 13:05






  • 1




    $begingroup$
    This is a cipher puzzle, just a bit different ^^
    $endgroup$
    – Turvo
    Mar 14 at 13:10






  • 8




    $begingroup$
    I just love how this looks like a bad StackOverflow question yet it still blatantly looks like a puzzle
    $endgroup$
    – Belhenix
    Mar 15 at 7:16













33












33








33





$begingroup$



 org.apache.kafka.clients.consumer.ConsumerRecords@1f6d27cc was empty
ScalaTestFailureLocation: SorterTest at (SorterTest.scala:75107)
org.scalatest.exceptions.TestFailedException: org.apache.kafka.clients.consumer.ConsumerRecords@1f6d27cc was empty
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:6597)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:70102)
at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:75107)
at org.scalatest.Assertions$
AssertionsHelper.macroAssert(Assertions.scala:6597)
at SorterTest.$anonfun$new$4(SorterTest.scala:72104)
at SorterTest.$
anonfun$new$4$adapted(SorterTest.scala:6597)
at scala.collection.immutable.List.foreach(List.scala:84116)
at SorterTest.$
anonfun$new$3(SorterTest.scala:69101)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:83115)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:77109)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:69101)
at org.scalatest.OutcomeOf$
.outcomeOf(OutcomeOf.scala:6698)
at org.scalatest.Transformer.apply(Transformer.scala:69101)
at org.scalatest.Transformer.apply(Transformer.scala:6799)
at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:6597)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:85117)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:83115)
at org.scalatest.FunSuite.withFixture(FunSuite.scala:69101)
at org.scalatest.FunSuiteLike.invokeWithFixture$1(FunSuiteLike.scala:73105)
at org.scalatest.FunSuiteLike.$anonfun$runTest$1(FunSuiteLike.scala:72104)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:6597)
at org.scalatest.FunSuiteLike.runTest(FunSuiteLike.scala:84116)
at org.scalatest.FunSuiteLike.runTest$(FunSuiteLike.scala:69101)
at org.scalatest.FunSuite.runTest(FunSuite.scala:75107)
at org.scalatest.FunSuiteLike.$anonfun$runTests$1(FunSuiteLike.scala:6597)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:70102)
at scala.collection.immutable.List.foreach(List.scala:75107)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:6597)



Why is this program failing?



Hint:




I've tried to duplicate the code but I got the same problem...











share|improve this question











$endgroup$





 org.apache.kafka.clients.consumer.ConsumerRecords@1f6d27cc was empty
ScalaTestFailureLocation: SorterTest at (SorterTest.scala:75107)
org.scalatest.exceptions.TestFailedException: org.apache.kafka.clients.consumer.ConsumerRecords@1f6d27cc was empty
at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:6597)
at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:70102)
at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:75107)
at org.scalatest.Assertions$
AssertionsHelper.macroAssert(Assertions.scala:6597)
at SorterTest.$anonfun$new$4(SorterTest.scala:72104)
at SorterTest.$
anonfun$new$4$adapted(SorterTest.scala:6597)
at scala.collection.immutable.List.foreach(List.scala:84116)
at SorterTest.$
anonfun$new$3(SorterTest.scala:69101)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:83115)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:77109)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:69101)
at org.scalatest.OutcomeOf$
.outcomeOf(OutcomeOf.scala:6698)
at org.scalatest.Transformer.apply(Transformer.scala:69101)
at org.scalatest.Transformer.apply(Transformer.scala:6799)
at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:6597)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:85117)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:83115)
at org.scalatest.FunSuite.withFixture(FunSuite.scala:69101)
at org.scalatest.FunSuiteLike.invokeWithFixture$1(FunSuiteLike.scala:73105)
at org.scalatest.FunSuiteLike.$anonfun$runTest$1(FunSuiteLike.scala:72104)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:6597)
at org.scalatest.FunSuiteLike.runTest(FunSuiteLike.scala:84116)
at org.scalatest.FunSuiteLike.runTest$(FunSuiteLike.scala:69101)
at org.scalatest.FunSuite.runTest(FunSuite.scala:75107)
at org.scalatest.FunSuiteLike.$anonfun$runTests$1(FunSuiteLike.scala:6597)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:70102)
at scala.collection.immutable.List.foreach(List.scala:75107)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:6597)



Why is this program failing?



Hint:




I've tried to duplicate the code but I got the same problem...








cipher steganography






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 14 at 22:48









Rupert Morrish

3,6331934




3,6331934










asked Mar 14 at 12:37









TurvoTurvo

16827




16827







  • 2




    $begingroup$
    Perhaps tell is what exactly the problem is that you are encountering in detail, other than a vague “it’s not working?
    $endgroup$
    – Rewan Demontay
    Mar 14 at 12:45







  • 5




    $begingroup$
    I really think this should be here, just read it carefully ;P
    $endgroup$
    – Turvo
    Mar 14 at 12:57






  • 7




    $begingroup$
    Voting to close, needs [mcve] ;)
    $endgroup$
    – Rubio
    Mar 14 at 13:05






  • 1




    $begingroup$
    This is a cipher puzzle, just a bit different ^^
    $endgroup$
    – Turvo
    Mar 14 at 13:10






  • 8




    $begingroup$
    I just love how this looks like a bad StackOverflow question yet it still blatantly looks like a puzzle
    $endgroup$
    – Belhenix
    Mar 15 at 7:16












  • 2




    $begingroup$
    Perhaps tell is what exactly the problem is that you are encountering in detail, other than a vague “it’s not working?
    $endgroup$
    – Rewan Demontay
    Mar 14 at 12:45







  • 5




    $begingroup$
    I really think this should be here, just read it carefully ;P
    $endgroup$
    – Turvo
    Mar 14 at 12:57






  • 7




    $begingroup$
    Voting to close, needs [mcve] ;)
    $endgroup$
    – Rubio
    Mar 14 at 13:05






  • 1




    $begingroup$
    This is a cipher puzzle, just a bit different ^^
    $endgroup$
    – Turvo
    Mar 14 at 13:10






  • 8




    $begingroup$
    I just love how this looks like a bad StackOverflow question yet it still blatantly looks like a puzzle
    $endgroup$
    – Belhenix
    Mar 15 at 7:16







2




2




$begingroup$
Perhaps tell is what exactly the problem is that you are encountering in detail, other than a vague “it’s not working?
$endgroup$
– Rewan Demontay
Mar 14 at 12:45





$begingroup$
Perhaps tell is what exactly the problem is that you are encountering in detail, other than a vague “it’s not working?
$endgroup$
– Rewan Demontay
Mar 14 at 12:45





5




5




$begingroup$
I really think this should be here, just read it carefully ;P
$endgroup$
– Turvo
Mar 14 at 12:57




$begingroup$
I really think this should be here, just read it carefully ;P
$endgroup$
– Turvo
Mar 14 at 12:57




7




7




$begingroup$
Voting to close, needs [mcve] ;)
$endgroup$
– Rubio
Mar 14 at 13:05




$begingroup$
Voting to close, needs [mcve] ;)
$endgroup$
– Rubio
Mar 14 at 13:05




1




1




$begingroup$
This is a cipher puzzle, just a bit different ^^
$endgroup$
– Turvo
Mar 14 at 13:10




$begingroup$
This is a cipher puzzle, just a bit different ^^
$endgroup$
– Turvo
Mar 14 at 13:10




8




8




$begingroup$
I just love how this looks like a bad StackOverflow question yet it still blatantly looks like a puzzle
$endgroup$
– Belhenix
Mar 15 at 7:16




$begingroup$
I just love how this looks like a bad StackOverflow question yet it still blatantly looks like a puzzle
$endgroup$
– Belhenix
Mar 15 at 7:16










2 Answers
2






active

oldest

votes


















33












$begingroup$

The program is failing because:




Kafka Hates You




It would seem that:




The feeling is mutual. Taking the ascii value of the numbers at the end of the error messages yields: KAFKA HATES ME BECAUSE I HATE KAFKA.







share|improve this answer









$endgroup$








  • 1




    $begingroup$
    That's it!! It was my first puzzle so it maybe was too easy, I'll try to create a harder one :P
    $endgroup$
    – Turvo
    Mar 14 at 15:21






  • 5




    $begingroup$
    @Turvo don't forget about the "many eyes" effect - sometimes puzzles seem artificially easy because it was solved quickly, but don't forget that there were also 1500+ people who did not solve it.
    $endgroup$
    – Brandon_J
    Mar 14 at 23:23







  • 2




    $begingroup$
    Knowing nothing about Scala - would those normally be line numbers? I feel like in any programming language if your line numbers get into 5 digits, you're doing something wrong. I was instantly suspicious of that, especially the 80+ thousand numbers...
    $endgroup$
    – Darrel Hoffman
    Mar 15 at 12:23










  • $begingroup$
    You are right, those numbers are suspicious. I've used uppercase letter's ascii code followed by lowercase letter's because using just 2 or 3 numbers would be too easy (That's why the hint mentioned "duplicated code")
    $endgroup$
    – Turvo
    Mar 15 at 12:52


















16












$begingroup$

To solve it in the spirit of the riddle, we run:




grep -o ':.*)' < input | sed 's/[^0-9]//g' | xargs node -e "console.log(process.argv.slice(1).map(x => parseInt(parseInt(x.slice(2)) > 122 ? x.slice(1) : x.slice(2))).map(x => String.fromCharCode(x)).join(''))"




which provides us with the reason:




kafkahatesmebecauseihatekafka




So it is unlikely that the problem will be resolved soon...






share|improve this answer









$endgroup$








  • 1




    $begingroup$
    This is a fantastic answer.
    $endgroup$
    – LeppyR64
    Mar 15 at 2:45






  • 2




    $begingroup$
    You can also do this by evaluating String.fromCharCode(...document.querySelector("#question code").textContent.match(/:d+/g).map(s=>s.slice(3))) in the web console.
    $endgroup$
    – Neil
    Mar 15 at 9:58










  • $begingroup$
    I love your answers! Nice job!
    $endgroup$
    – Turvo
    Mar 15 at 10:03






  • 3




    $begingroup$
    fetch("https://api.stackexchange.com/2.2/questions/80670?&site=puzzling&filter=withbody").then(f=>f.json().then(r=>console.log(String.fromCharCode(...r.items[0].body.match(/:d+/g).map(s=>s.slice(3)))))) is another approach.
    $endgroup$
    – Neil
    Mar 15 at 10:06










  • $begingroup$
    Pipe stack trace into perl -lne 'if (/:(dd)(d+))/) print chr($1) . " " . chr($2)'
    $endgroup$
    – Thorbjørn Ravn Andersen
    Mar 15 at 14:52











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "559"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f80670%2fcan-anyone-tell-me-why-this-program-fails%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









33












$begingroup$

The program is failing because:




Kafka Hates You




It would seem that:




The feeling is mutual. Taking the ascii value of the numbers at the end of the error messages yields: KAFKA HATES ME BECAUSE I HATE KAFKA.







share|improve this answer









$endgroup$








  • 1




    $begingroup$
    That's it!! It was my first puzzle so it maybe was too easy, I'll try to create a harder one :P
    $endgroup$
    – Turvo
    Mar 14 at 15:21






  • 5




    $begingroup$
    @Turvo don't forget about the "many eyes" effect - sometimes puzzles seem artificially easy because it was solved quickly, but don't forget that there were also 1500+ people who did not solve it.
    $endgroup$
    – Brandon_J
    Mar 14 at 23:23







  • 2




    $begingroup$
    Knowing nothing about Scala - would those normally be line numbers? I feel like in any programming language if your line numbers get into 5 digits, you're doing something wrong. I was instantly suspicious of that, especially the 80+ thousand numbers...
    $endgroup$
    – Darrel Hoffman
    Mar 15 at 12:23










  • $begingroup$
    You are right, those numbers are suspicious. I've used uppercase letter's ascii code followed by lowercase letter's because using just 2 or 3 numbers would be too easy (That's why the hint mentioned "duplicated code")
    $endgroup$
    – Turvo
    Mar 15 at 12:52















33












$begingroup$

The program is failing because:




Kafka Hates You




It would seem that:




The feeling is mutual. Taking the ascii value of the numbers at the end of the error messages yields: KAFKA HATES ME BECAUSE I HATE KAFKA.







share|improve this answer









$endgroup$








  • 1




    $begingroup$
    That's it!! It was my first puzzle so it maybe was too easy, I'll try to create a harder one :P
    $endgroup$
    – Turvo
    Mar 14 at 15:21






  • 5




    $begingroup$
    @Turvo don't forget about the "many eyes" effect - sometimes puzzles seem artificially easy because it was solved quickly, but don't forget that there were also 1500+ people who did not solve it.
    $endgroup$
    – Brandon_J
    Mar 14 at 23:23







  • 2




    $begingroup$
    Knowing nothing about Scala - would those normally be line numbers? I feel like in any programming language if your line numbers get into 5 digits, you're doing something wrong. I was instantly suspicious of that, especially the 80+ thousand numbers...
    $endgroup$
    – Darrel Hoffman
    Mar 15 at 12:23










  • $begingroup$
    You are right, those numbers are suspicious. I've used uppercase letter's ascii code followed by lowercase letter's because using just 2 or 3 numbers would be too easy (That's why the hint mentioned "duplicated code")
    $endgroup$
    – Turvo
    Mar 15 at 12:52













33












33








33





$begingroup$

The program is failing because:




Kafka Hates You




It would seem that:




The feeling is mutual. Taking the ascii value of the numbers at the end of the error messages yields: KAFKA HATES ME BECAUSE I HATE KAFKA.







share|improve this answer









$endgroup$



The program is failing because:




Kafka Hates You




It would seem that:




The feeling is mutual. Taking the ascii value of the numbers at the end of the error messages yields: KAFKA HATES ME BECAUSE I HATE KAFKA.








share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 14 at 13:20









LeppyR64LeppyR64

10.9k23859




10.9k23859







  • 1




    $begingroup$
    That's it!! It was my first puzzle so it maybe was too easy, I'll try to create a harder one :P
    $endgroup$
    – Turvo
    Mar 14 at 15:21






  • 5




    $begingroup$
    @Turvo don't forget about the "many eyes" effect - sometimes puzzles seem artificially easy because it was solved quickly, but don't forget that there were also 1500+ people who did not solve it.
    $endgroup$
    – Brandon_J
    Mar 14 at 23:23







  • 2




    $begingroup$
    Knowing nothing about Scala - would those normally be line numbers? I feel like in any programming language if your line numbers get into 5 digits, you're doing something wrong. I was instantly suspicious of that, especially the 80+ thousand numbers...
    $endgroup$
    – Darrel Hoffman
    Mar 15 at 12:23










  • $begingroup$
    You are right, those numbers are suspicious. I've used uppercase letter's ascii code followed by lowercase letter's because using just 2 or 3 numbers would be too easy (That's why the hint mentioned "duplicated code")
    $endgroup$
    – Turvo
    Mar 15 at 12:52












  • 1




    $begingroup$
    That's it!! It was my first puzzle so it maybe was too easy, I'll try to create a harder one :P
    $endgroup$
    – Turvo
    Mar 14 at 15:21






  • 5




    $begingroup$
    @Turvo don't forget about the "many eyes" effect - sometimes puzzles seem artificially easy because it was solved quickly, but don't forget that there were also 1500+ people who did not solve it.
    $endgroup$
    – Brandon_J
    Mar 14 at 23:23







  • 2




    $begingroup$
    Knowing nothing about Scala - would those normally be line numbers? I feel like in any programming language if your line numbers get into 5 digits, you're doing something wrong. I was instantly suspicious of that, especially the 80+ thousand numbers...
    $endgroup$
    – Darrel Hoffman
    Mar 15 at 12:23










  • $begingroup$
    You are right, those numbers are suspicious. I've used uppercase letter's ascii code followed by lowercase letter's because using just 2 or 3 numbers would be too easy (That's why the hint mentioned "duplicated code")
    $endgroup$
    – Turvo
    Mar 15 at 12:52







1




1




$begingroup$
That's it!! It was my first puzzle so it maybe was too easy, I'll try to create a harder one :P
$endgroup$
– Turvo
Mar 14 at 15:21




$begingroup$
That's it!! It was my first puzzle so it maybe was too easy, I'll try to create a harder one :P
$endgroup$
– Turvo
Mar 14 at 15:21




5




5




$begingroup$
@Turvo don't forget about the "many eyes" effect - sometimes puzzles seem artificially easy because it was solved quickly, but don't forget that there were also 1500+ people who did not solve it.
$endgroup$
– Brandon_J
Mar 14 at 23:23





$begingroup$
@Turvo don't forget about the "many eyes" effect - sometimes puzzles seem artificially easy because it was solved quickly, but don't forget that there were also 1500+ people who did not solve it.
$endgroup$
– Brandon_J
Mar 14 at 23:23





2




2




$begingroup$
Knowing nothing about Scala - would those normally be line numbers? I feel like in any programming language if your line numbers get into 5 digits, you're doing something wrong. I was instantly suspicious of that, especially the 80+ thousand numbers...
$endgroup$
– Darrel Hoffman
Mar 15 at 12:23




$begingroup$
Knowing nothing about Scala - would those normally be line numbers? I feel like in any programming language if your line numbers get into 5 digits, you're doing something wrong. I was instantly suspicious of that, especially the 80+ thousand numbers...
$endgroup$
– Darrel Hoffman
Mar 15 at 12:23












$begingroup$
You are right, those numbers are suspicious. I've used uppercase letter's ascii code followed by lowercase letter's because using just 2 or 3 numbers would be too easy (That's why the hint mentioned "duplicated code")
$endgroup$
– Turvo
Mar 15 at 12:52




$begingroup$
You are right, those numbers are suspicious. I've used uppercase letter's ascii code followed by lowercase letter's because using just 2 or 3 numbers would be too easy (That's why the hint mentioned "duplicated code")
$endgroup$
– Turvo
Mar 15 at 12:52











16












$begingroup$

To solve it in the spirit of the riddle, we run:




grep -o ':.*)' < input | sed 's/[^0-9]//g' | xargs node -e "console.log(process.argv.slice(1).map(x => parseInt(parseInt(x.slice(2)) > 122 ? x.slice(1) : x.slice(2))).map(x => String.fromCharCode(x)).join(''))"




which provides us with the reason:




kafkahatesmebecauseihatekafka




So it is unlikely that the problem will be resolved soon...






share|improve this answer









$endgroup$








  • 1




    $begingroup$
    This is a fantastic answer.
    $endgroup$
    – LeppyR64
    Mar 15 at 2:45






  • 2




    $begingroup$
    You can also do this by evaluating String.fromCharCode(...document.querySelector("#question code").textContent.match(/:d+/g).map(s=>s.slice(3))) in the web console.
    $endgroup$
    – Neil
    Mar 15 at 9:58










  • $begingroup$
    I love your answers! Nice job!
    $endgroup$
    – Turvo
    Mar 15 at 10:03






  • 3




    $begingroup$
    fetch("https://api.stackexchange.com/2.2/questions/80670?&site=puzzling&filter=withbody").then(f=>f.json().then(r=>console.log(String.fromCharCode(...r.items[0].body.match(/:d+/g).map(s=>s.slice(3)))))) is another approach.
    $endgroup$
    – Neil
    Mar 15 at 10:06










  • $begingroup$
    Pipe stack trace into perl -lne 'if (/:(dd)(d+))/) print chr($1) . " " . chr($2)'
    $endgroup$
    – Thorbjørn Ravn Andersen
    Mar 15 at 14:52















16












$begingroup$

To solve it in the spirit of the riddle, we run:




grep -o ':.*)' < input | sed 's/[^0-9]//g' | xargs node -e "console.log(process.argv.slice(1).map(x => parseInt(parseInt(x.slice(2)) > 122 ? x.slice(1) : x.slice(2))).map(x => String.fromCharCode(x)).join(''))"




which provides us with the reason:




kafkahatesmebecauseihatekafka




So it is unlikely that the problem will be resolved soon...






share|improve this answer









$endgroup$








  • 1




    $begingroup$
    This is a fantastic answer.
    $endgroup$
    – LeppyR64
    Mar 15 at 2:45






  • 2




    $begingroup$
    You can also do this by evaluating String.fromCharCode(...document.querySelector("#question code").textContent.match(/:d+/g).map(s=>s.slice(3))) in the web console.
    $endgroup$
    – Neil
    Mar 15 at 9:58










  • $begingroup$
    I love your answers! Nice job!
    $endgroup$
    – Turvo
    Mar 15 at 10:03






  • 3




    $begingroup$
    fetch("https://api.stackexchange.com/2.2/questions/80670?&site=puzzling&filter=withbody").then(f=>f.json().then(r=>console.log(String.fromCharCode(...r.items[0].body.match(/:d+/g).map(s=>s.slice(3)))))) is another approach.
    $endgroup$
    – Neil
    Mar 15 at 10:06










  • $begingroup$
    Pipe stack trace into perl -lne 'if (/:(dd)(d+))/) print chr($1) . " " . chr($2)'
    $endgroup$
    – Thorbjørn Ravn Andersen
    Mar 15 at 14:52













16












16








16





$begingroup$

To solve it in the spirit of the riddle, we run:




grep -o ':.*)' < input | sed 's/[^0-9]//g' | xargs node -e "console.log(process.argv.slice(1).map(x => parseInt(parseInt(x.slice(2)) > 122 ? x.slice(1) : x.slice(2))).map(x => String.fromCharCode(x)).join(''))"




which provides us with the reason:




kafkahatesmebecauseihatekafka




So it is unlikely that the problem will be resolved soon...






share|improve this answer









$endgroup$



To solve it in the spirit of the riddle, we run:




grep -o ':.*)' < input | sed 's/[^0-9]//g' | xargs node -e "console.log(process.argv.slice(1).map(x => parseInt(parseInt(x.slice(2)) > 122 ? x.slice(1) : x.slice(2))).map(x => String.fromCharCode(x)).join(''))"




which provides us with the reason:




kafkahatesmebecauseihatekafka




So it is unlikely that the problem will be resolved soon...







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 14 at 22:09









Igor SowinskiIgor Sowinski

1612




1612







  • 1




    $begingroup$
    This is a fantastic answer.
    $endgroup$
    – LeppyR64
    Mar 15 at 2:45






  • 2




    $begingroup$
    You can also do this by evaluating String.fromCharCode(...document.querySelector("#question code").textContent.match(/:d+/g).map(s=>s.slice(3))) in the web console.
    $endgroup$
    – Neil
    Mar 15 at 9:58










  • $begingroup$
    I love your answers! Nice job!
    $endgroup$
    – Turvo
    Mar 15 at 10:03






  • 3




    $begingroup$
    fetch("https://api.stackexchange.com/2.2/questions/80670?&site=puzzling&filter=withbody").then(f=>f.json().then(r=>console.log(String.fromCharCode(...r.items[0].body.match(/:d+/g).map(s=>s.slice(3)))))) is another approach.
    $endgroup$
    – Neil
    Mar 15 at 10:06










  • $begingroup$
    Pipe stack trace into perl -lne 'if (/:(dd)(d+))/) print chr($1) . " " . chr($2)'
    $endgroup$
    – Thorbjørn Ravn Andersen
    Mar 15 at 14:52












  • 1




    $begingroup$
    This is a fantastic answer.
    $endgroup$
    – LeppyR64
    Mar 15 at 2:45






  • 2




    $begingroup$
    You can also do this by evaluating String.fromCharCode(...document.querySelector("#question code").textContent.match(/:d+/g).map(s=>s.slice(3))) in the web console.
    $endgroup$
    – Neil
    Mar 15 at 9:58










  • $begingroup$
    I love your answers! Nice job!
    $endgroup$
    – Turvo
    Mar 15 at 10:03






  • 3




    $begingroup$
    fetch("https://api.stackexchange.com/2.2/questions/80670?&site=puzzling&filter=withbody").then(f=>f.json().then(r=>console.log(String.fromCharCode(...r.items[0].body.match(/:d+/g).map(s=>s.slice(3)))))) is another approach.
    $endgroup$
    – Neil
    Mar 15 at 10:06










  • $begingroup$
    Pipe stack trace into perl -lne 'if (/:(dd)(d+))/) print chr($1) . " " . chr($2)'
    $endgroup$
    – Thorbjørn Ravn Andersen
    Mar 15 at 14:52







1




1




$begingroup$
This is a fantastic answer.
$endgroup$
– LeppyR64
Mar 15 at 2:45




$begingroup$
This is a fantastic answer.
$endgroup$
– LeppyR64
Mar 15 at 2:45




2




2




$begingroup$
You can also do this by evaluating String.fromCharCode(...document.querySelector("#question code").textContent.match(/:d+/g).map(s=>s.slice(3))) in the web console.
$endgroup$
– Neil
Mar 15 at 9:58




$begingroup$
You can also do this by evaluating String.fromCharCode(...document.querySelector("#question code").textContent.match(/:d+/g).map(s=>s.slice(3))) in the web console.
$endgroup$
– Neil
Mar 15 at 9:58












$begingroup$
I love your answers! Nice job!
$endgroup$
– Turvo
Mar 15 at 10:03




$begingroup$
I love your answers! Nice job!
$endgroup$
– Turvo
Mar 15 at 10:03




3




3




$begingroup$
fetch("https://api.stackexchange.com/2.2/questions/80670?&site=puzzling&filter=withbody").then(f=>f.json().then(r=>console.log(String.fromCharCode(...r.items[0].body.match(/:d+/g).map(s=>s.slice(3)))))) is another approach.
$endgroup$
– Neil
Mar 15 at 10:06




$begingroup$
fetch("https://api.stackexchange.com/2.2/questions/80670?&site=puzzling&filter=withbody").then(f=>f.json().then(r=>console.log(String.fromCharCode(...r.items[0].body.match(/:d+/g).map(s=>s.slice(3)))))) is another approach.
$endgroup$
– Neil
Mar 15 at 10:06












$begingroup$
Pipe stack trace into perl -lne 'if (/:(dd)(d+))/) print chr($1) . " " . chr($2)'
$endgroup$
– Thorbjørn Ravn Andersen
Mar 15 at 14:52




$begingroup$
Pipe stack trace into perl -lne 'if (/:(dd)(d+))/) print chr($1) . " " . chr($2)'
$endgroup$
– Thorbjørn Ravn Andersen
Mar 15 at 14:52

















draft saved

draft discarded
















































Thanks for contributing an answer to Puzzling Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f80670%2fcan-anyone-tell-me-why-this-program-fails%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?