It's part of iD Tech. Not sure if there are any more available for this summer, but they are available every summer. I'm hoping to do one at MIT next summer
I mostly do DOM manipulation, but there's some things that you can do with more back-end-y stuff. If you know a little bit a web development, you can build userscripts
@michaelpri Hey! I'm a pretty experienced full stack web dev (not an expert but i know a little) I could be crazy but it's really hard to find accepted standards on using rss feeds???
@michaelpri I want to display latest article from a few major sites. Just confused on best approach, display directly from RSS feed? Or ping Rss every so often then save to DB, (possibly review content first) then display?
the safest approach to me seems to be 1). Get rss feed every X minutes 2.) Save any new content to DB 3.) Review, mark as publishable......site would load most recent "publishable" content......something Im missing?
@BardiHarborow I can display just fine. Just wanted to inquire about some best practices, so that my site doesnt look like SH*T when one of the feeds is down, or the XML structure abruptly changes...
@A.O. I thought the whole point of RSS was that it was a standard, and that the XML structure would not abruptly change (remember that you are in the same boat as RSS readers).
@BardiHarborow yes, but looking over even a few RSS feeds you can see drastic differences (some offer up thumbnail image links, others only text)......so if that company redesigns their site their feed would also change accordingly, is that just nature of the beast?
@BardiHarborow I could be totally wrong with the above assumption, tis why im here lol
@BardiHarborow yeah i was surprised at the lack of info on rss feeds as well. The main dilemma for me is: Reliable Content vs Time to Publish, trying to find a solution for both
room topic changed to Teenage Programmers Chatroom: Teenage Programmers Chatroom: A chatroom for everybody! No age restriction. General programming and life discussion. | Unofficial rules: teendevchat.com [null]
Prime calculating algorithm fails for small max-values???
WTF is wrong here?
n = 150
sqrt_n = int(sqrt(n))
no_primes = {j for i in range(2,sqrt_n) for j in range(i*2, n, i)}
print list(no_primes)
primes = {i for i in range(n) if i not in no_primes}
print list(primes)
>>> n=15
>>> sqrt_n = int(sqrt(n))
>>> noprimes = {j for i in range(2, sqrt_n) for j in range(i*2, n, i)}
>>> primes = {i for i in range(n) if i not in noprimes}
>>> noprimes
set([4, 6, 8, 10, 12, 14])
>>> primes
set([0, 1, 2, 3, 5, 7, 9, 11, 13])
@ProgramFOX it works somehow with large values for n, but not with small ones like n=15.
As you know, 9 is definitely no prime.
0 and 1 are not either, but that can be fixed easily:
Atomic chess is a chess variant. Standard rules of chess apply, but all captures result in an "explosion" through which all surrounding white and black pieces other than pawns are removed from play. Some variations additionally remove rules concerning check such that the king may be able to move into or remain in check.
== History ==
In 1995 the German Internet Chess Server (GICS) introduced the game, based on rules one of its users collected from friends who played offline. It was soon after incorporated into the Middle East Wild Internet Server (MEWIS) and other smaller servers before b...
Andernach chess is a chess variant in which a piece making a capture (except kings) changes colour. For instance, if a white bishop on a2 were to capture a black knight on g8, the end result would be a black bishop on g8. Non-capturing moves are played as in orthodox chess. If a pawn captures on eighth rank, it is promoted first and then changes colour.
The game was named after the German town of Andernach, which is the site of annual meetings of fairy chess enthusiasts. It was during the 1993 meeting there that Andernach chess was introduced with a chess problem composing tournament for Andernach...
Kung-Fu Chess is a chess variant without turns, therefore being related as a real-time strategy game. It is a computer online game played by two or four players simultaneously using the Internet.
The game was created by the independent Shizmoo Games in the beginning of the 2000s, and was arguably the most popular game on the company's past website. It gained fans from all over the world, assembling a community of proficient players, a community which partly kept existing after the website was shut down late in 2008.
Kung-fu Chess was the winner of the 2002 Independent Games Festival in the category...
^ That's just nuts.
Finally found the variant I said was my favourite:
Avalanche chess is a chess variant designed by Ralph Betza in 1977. After moving one of your own pieces, you must move one of your opponent's pawns forward one space.
== Rules ==
Rules are as normal chess except for the following. After you move one of your own pieces, you must move one of your opponent's pawns one space forward toward you. You cannot use your opponent's pawn to capture and you cannot move your opponent's pawn two spaces forward. If none of opponent's pawns can be moved, then that part of the turn is skipped. If you must move your opponent's pawn to promotion, then your opponent...
Huh, there's an RPG based chess.
"Schrödinger's chess: Players' minor pieces are concealed so the opponent does not know what they are until revealed. When covered, pieces move in a restricted way (as queens that can only move two squares)." Ok that's nuts
room topic changed to Teenage Programmers Chatroom: Teenage Programmers Chatroom: This is not the room you are looking for. No age restriction. General programming and life discussion. | Unofficial rules: teendevchat.com [null]
Did you know? Correspondence chess was played by mail, where you send your move to your friend. (This is also why it's called that way - a mailto address was formally a correspondence address)
East Germany, formally the German Democratic Republic or GDR (German: Deutsche Demokratische Republik ([ˈdɔʏtʃə demoˈkʀaːtɪʃə ʀepuˈbliːk]) or DDR), was a state within the Eastern Bloc during the Cold War period. From 1949 to 1990, it administered the region of Germany which was occupied by Soviet forces at the end of the Second World War—the Soviet Occupation Zone of the Potsdam Agreement, bounded on the east by the Oder–Neisse line. The Soviet zone surrounded West Berlin, but did not include it; as a result, West Berlin remained outside the jurisdiction of the GDR.
The German Democratic Republic...