TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

World Cup results for hackers

56 pointsby fatiheriklialmost 11 years ago

15 comments

dvirskyalmost 11 years ago
If you want this to remain on some side terminal and update constantly, you can of course run &quot;watch worldcup today&quot;. And I like that the command actually makes sense :)<p>On a side note, in Gnome terminal, the formatting characters appear as some unicode garbage.
评论 #7910299 未加载
abuzzoozalmost 11 years ago
Great job. I have my own mongodb of the games&#x2F;scores that I update manually (not in real time though).<p>I would love to see something automated like this for the major leagues (La Liga, BPL, Bundesliga, Serie A). I tried my hand at scraping the HTML of different sites, but found out that the main ones guard against that by changing their HTML periodically, so I gave up.<p>Side question: what does HN think in general about scraping data from HTML? There are websites that charge for live sports data, and scraping them seems borderline unethical.
评论 #7911206 未加载
llamatabootalmost 11 years ago
Thanks for using the <a href="http://worldcup.sfg.io" rel="nofollow">http:&#x2F;&#x2F;worldcup.sfg.io</a> API and making something cool! From one tinkerer to another, I salute you :)
评论 #7910483 未加载
评论 #7910790 未加载
评论 #7910890 未加载
mixologicalmost 11 years ago
How come mine is an hour off? I just ran it and it says that Australia&#x2F;Netherlands will be in 38 minutes?
评论 #7911095 未加载
评论 #7911746 未加载
评论 #7911273 未加载
评论 #7913803 未加载
matt_morganalmost 11 years ago
Maybe a TZ issue in there somewhere? Australia-Netherlands is still saying &quot;Will be played after 29 seconds from now&quot; with the score at 1-1. I&#x27;m in EDT, btw. I bet Brazil does not use daylight time?
anuragbiyanialmost 11 years ago
Crossposting from: <a href="https://news.ycombinator.com/item?id=7908081" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7908081</a>.<p>A small bash script to display the current match scores as part of the terminal prompt: <a href="https://gist.github.com/abiyani/34f25dc8ed2a862517e7" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;abiyani&#x2F;34f25dc8ed2a862517e7</a><p>Sample output:<p><pre><code> abiyani@vaio:~ [BEL-2-1-ALG, RUS-1-1-KOR, BRA-0-0-MEX]</code></pre>
scopealmost 11 years ago
am gonna try n&#x27; steal your thunder, it&#x27;s not as <i>fancy</i> as yours but me and a couple of friends created a league<p><a href="http://moeduffdude.github.io/PIFA" rel="nofollow">http:&#x2F;&#x2F;moeduffdude.github.io&#x2F;PIFA</a><p>I feed it the JSON and it does the <i>calculations</i> automatically - it&#x27;s nice I get to have a 30 day streak :)<p>go Germany!
0003almost 11 years ago
How come you switch between % operator and str.format method when string formatting?
评论 #7910521 未加载
criswellalmost 11 years ago
This would be pretty cool for sports in general. I wonder what the demand is like.
hpoydaralmost 11 years ago
A Ruby version (gem): <a href="https://github.com/hpoydar/worldcup-2014" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hpoydar&#x2F;worldcup-2014</a>
poseidalmost 11 years ago
nice! I was playing with a similar setup in JavaScript and ArangoDB some days ago: <a href="http://thinkingonthinking.com/commonjs-for-databases/" rel="nofollow">http:&#x2F;&#x2F;thinkingonthinking.com&#x2F;commonjs-for-databases&#x2F;</a>
matt_morganalmost 11 years ago
THANK YOU! Fifa is doing such a crappy job online. This is perfect.
评论 #7910671 未加载
deathwithmealmost 11 years ago
great app for fans who like football and hacker things at the same time :)
thrombaalmost 11 years ago
awwwwwesome.
nebulous1almost 11 years ago
This was actually posted already: <a href="https://news.ycombinator.com/item?id=7907070" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7907070</a>
评论 #7909914 未加载