Can anyone tell me why this program fails?Spaces and numbersWhich Flight Takes Me Home?The composer's codeIt...
Animation: customize bounce interpolation
How to test the sharpness of a knife?
Parallel Power Supplies with Ideal Diodes
Where are they being held?
Storage of electrolytic capacitors - how long?
Adding up numbers in Portuguese is strange
How to Disable and Drop all Temporal Tables from a database
Possible Eco thriller, man invents a device to remove rain from glass
Overlapping circles covering polygon
Sigmoid with a slope but no asymptotes?
What (if any) is the reason to buy in small local stores?
Magento Commands Not working
Why does the Persian emissary display a string of crowned skulls?
Slur or Tie when they are mixed?
Personal or impersonal in a technical resume
Extracting patterns from a text
Can I say "fingers" when referring to toes?
Why does a 97 / 92 key piano exist by Bösendorfer?
Identifying "long and narrow" polygons in with Postgis
What is it called to attack a person then say something uplifting?
Why do Radio Buttons not fill the entire outer circle?
How to make money from a browser who sees 5 seconds into the future of any web page?
How to get directions in deep space?
Given this phrasing in the lease, when should I pay my rent?
Can anyone tell me why this program fails?
Spaces and numbersWhich Flight Takes Me Home?The composer's codeIt all starts with a messageWhat cipher could this be?Decrypting the KeyWhy didn't this kid get any presents from Santa?How can I translate this hexadecimal code?How can I figure out what this insane coded message says?Is there an App that will fix this?
$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...
cipher steganography
New contributor
$endgroup$
|
show 5 more comments
$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...
cipher steganography
New contributor
$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
4
$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
6
$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
|
show 5 more comments
$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...
cipher steganography
New contributor
$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
cipher steganography
New contributor
New contributor
edited Mar 14 at 22:48
Rupert Morrish
3,6031934
3,6031934
New contributor
asked Mar 14 at 12:37
TurvoTurvo
15327
15327
New contributor
New contributor
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
4
$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
6
$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
|
show 5 more comments
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
4
$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
6
$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
4
4
$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
6
6
$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
|
show 5 more comments
2 Answers
2
active
oldest
votes
$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.
$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
add a comment |
$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...
New contributor
$endgroup$
1
$begingroup$
This is a fantastic answer.
$endgroup$
– LeppyR64
Mar 15 at 2:45
1
$begingroup$
You can also do this by evaluatingString.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
2
$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 intoperl -lne 'if (/:(dd)(d+))/) { print chr($1) . " " . chr($2)}'
$endgroup$
– Thorbjørn Ravn Andersen
Mar 15 at 14:52
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
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
});
}
});
Turvo is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
$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.
$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
add a comment |
$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.
$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
add a comment |
$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.
$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.
answered Mar 14 at 13:20
LeppyR64LeppyR64
10.5k13756
10.5k13756
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
add a comment |
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
add a comment |
$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...
New contributor
$endgroup$
1
$begingroup$
This is a fantastic answer.
$endgroup$
– LeppyR64
Mar 15 at 2:45
1
$begingroup$
You can also do this by evaluatingString.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
2
$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 intoperl -lne 'if (/:(dd)(d+))/) { print chr($1) . " " . chr($2)}'
$endgroup$
– Thorbjørn Ravn Andersen
Mar 15 at 14:52
add a comment |
$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...
New contributor
$endgroup$
1
$begingroup$
This is a fantastic answer.
$endgroup$
– LeppyR64
Mar 15 at 2:45
1
$begingroup$
You can also do this by evaluatingString.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
2
$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 intoperl -lne 'if (/:(dd)(d+))/) { print chr($1) . " " . chr($2)}'
$endgroup$
– Thorbjørn Ravn Andersen
Mar 15 at 14:52
add a comment |
$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...
New contributor
$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...
New contributor
New contributor
answered Mar 14 at 22:09
Igor SowinskiIgor Sowinski
1512
1512
New contributor
New contributor
1
$begingroup$
This is a fantastic answer.
$endgroup$
– LeppyR64
Mar 15 at 2:45
1
$begingroup$
You can also do this by evaluatingString.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
2
$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 intoperl -lne 'if (/:(dd)(d+))/) { print chr($1) . " " . chr($2)}'
$endgroup$
– Thorbjørn Ravn Andersen
Mar 15 at 14:52
add a comment |
1
$begingroup$
This is a fantastic answer.
$endgroup$
– LeppyR64
Mar 15 at 2:45
1
$begingroup$
You can also do this by evaluatingString.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
2
$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 intoperl -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
1
1
$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
2
2
$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
add a comment |
Turvo is a new contributor. Be nice, and check out our Code of Conduct.
Turvo is a new contributor. Be nice, and check out our Code of Conduct.
Turvo is a new contributor. Be nice, and check out our Code of Conduct.
Turvo is a new contributor. Be nice, and check out our Code of Conduct.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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
4
$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
6
$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