TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

First Go challenge – binary decoding

143 点作者 mattetti大约 10 年前

11 条评论

tomjakubowski大约 10 年前
The story in this challenge reminds me of one I heard from Peter Samson, one of the original MIT hackers who worked on their PDP-1, at the Computer History Museum. Back in the early 1960s Peter, a classical music buff and musician in his own right, wrote a four voice music synthesizer program [1] - one of the first ever written, I have to think - for the PDP-1 and arranged several classical and baroque pieces for it.<p>Sometime in the 2000s, I think, when the Computer History Museum was restoring its PDP-1, they stumbled on some tapes or something that held inputs - entire classical works like Mozart&#x27;s <i>Eine Kleine Nachtmusik</i> - for Peter&#x27;s synthesizer. Unfortunately they couldn&#x27;t locate a copy of the synthesizer program itself but, being one of the OG hackers, Peter was able to examine the data on the tapes, reverse-engineer the data format he&#x27;d invented decades prior, and write a brand new synthesizer for the PDP-1 that was compatible with the original tapes. All of those adages about data structures being more important than code suddenly rang true in a very real way :-)<p>He told the story over a live demonstration of the PDP-1 playing music with his program - it&#x27;s a wonderful experience and if you have the chance to see it, you shouldn&#x27;t pass it up [2]. If you have a chance to see him at the Computer History Museum, don&#x27;t pass it up! Steve Russell joins him with a <i>Spacewar!</i> demonstration (you get to play it!) and they&#x27;re happy to answer questions and recount stories about their old days in the MIT Tech Model Railroad Club :-)<p>[1]: <a href="http://en.wikipedia.org/wiki/Harmony_Compiler" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Harmony_Compiler</a><p>[2]: They have the PDP-1 demo on two days of every month, twice a day. <a href="http://www.computerhistory.org/hours/" rel="nofollow">http:&#x2F;&#x2F;www.computerhistory.org&#x2F;hours&#x2F;</a>
评论 #9126692 未加载
评论 #9125970 未加载
评论 #9125977 未加载
mattetti大约 10 年前
Challenge author here. There is nothing Go specific to the challenge itself. I really want to encourage everyone to try solving the problem. If you don&#x27;t like, know or care to learn Go, try solving the challenge using Rust, Ruby, Scala, Elixir, JS, Pascal, asm or whatever language you want to play with.<p>While only Go submissions will be evaluated and rewarded, I would personally be glad to look at solutions written in other languages.
评论 #9128545 未加载
评论 #9126713 未加载
评论 #9125885 未加载
评论 #9126096 未加载
评论 #9125709 未加载
shurcooL大约 10 年前
I quickly looked over the challenge, and it looks neat.<p>I really like there&#x27;s a test suite included, so you can very easily&#x2F;quickly verify your solution solves the problem (and feel rewarded).
IndianGuru大约 10 年前
Organizer here. We definitely do require community help to build a submission mechanism. Anyone?
评论 #9126394 未加载
评论 #9126006 未加载
评论 #9126746 未加载
kid0m4n大约 10 年前
Would love to see some creative solutions to this problem :)
SebastianM大约 10 年前
Never worked with binary files before...can anyone give me more hints to work with binary files in general?
评论 #9129330 未加载
bobisme大约 10 年前
<i>Might</i> want to change that one discount code not to be &quot;byfag25.&quot;
评论 #9129333 未加载
tumbudu大约 10 年前
better way to conduct challenge&#x2F;competition <a href="http://www.codingame.com/home" rel="nofollow">http:&#x2F;&#x2F;www.codingame.com&#x2F;home</a> golang is officially available language..
hurin大约 10 年前
And the prize for the best go code is... A bunch of books about learning go!
评论 #9129354 未加载
politician大约 10 年前
&gt; Create a zip of your Go source code and send the zip file to gochallenge [at] joshsoftware.com by the 15th of the month (midnight IST, 11:30 AM PDT). No new solutions will be accepted after that.<p>Presumably, March 15?
评论 #9125888 未加载
pravj大约 10 年前
Are there any bonus points for early submissions?
评论 #9129357 未加载