WebRTC has opened doors to all kinds of new peer-to-peer web applications and games that can run in the browser without the need of additional plugins. However, being a relatively new technology, it still poses some unique challenges to developers. PeerJS aims to tackle some of those challenges by providing an elegant API and insulating developers from WebRTC’s implementation differences.
In this article, Toptal engineer Mahmud Ridwan provides an introductory tutorial to building a simple, peer-to-peer web game using PeerJS.
#PeerJS #WebRTC #P2P #ConnectFour
Great piece in Slate from Phyllis Rostykus!
In 1984 two male classmates and I were invited to dinner in Pasadena, California, to talk with the producers and director of a movie that was going to be set in a fictional version of our school, the California Institute of Technology. David Marvit, a senior at the time who consulted on the film, had asked for a girl for them to talk to, so there I was—wearing a sweater I’d knitted overnight the night before, my bangs cut straight across my forehead, and speaking in a voice that people still mistake for a child’s. They asked us about how things worked, what we did for fun, what our schedules were like. Eventually the conversation turned toward what it was like to be a female student in a school with a 7–1 ratio of men to women.
Capacitors are a necessary part in electronic circuits. They filter and even out voltages, which helps in getting a stable power supply for the actual electronics. There are different types of capacitors - and especially three of them can fail in vintage computers . Even modern PC main boards can suffer from this problem [2,3]. So it's no surprise that your vintage computer can fail to this as well.
Mostly it's electrolytic capacitors that fail with bad consequences. This is mainly due to their electrolyte, a more or less liquid material used to isolate the two sides from each other and store the electric energy in the electric field between the poles. Unfortunately, as this electrolyte is optimized for capacity, it turned out to be quite an agressive substance. So when the capacitor starts leaking - due to electrolyte evaporating in the heat, or mechanical break of the case due to age for example - the electrolyte can spill over the board and cause extensive damage. While electrolytic caps are usually high capacitance, smaller capacity caps can blow up as well.
One such particular culprit is the mains filter capacitor. It sits directly on the mains input, and filters out high frequency electronic "noise" from the computer, that would otherwise likely cause interference with other equipment. As it runs on AC mains, it only has a small capacity to just filter out the very high "digital" frequencies. When it fails, the machine still works, but does not pass regulations. See [4,5,6,7] for examples from the Apple II and Commodore PET. [8,9] show a video of the BBC power supply "blowing" up, basically blowing out nastily smelling smoke...
While the filter caps usually just "blow" without much damage (exceptions granted...), leaking electrolytic capacitors can create a much larger damage. The leaking electrolyte "eats" itself into the board and nearby electronic parts. This goes as far as completely eating away copper traces on the PCB or even chip pins! See [10,11] for examples of leaking caps and the damage they create deep within the Commodore 1M disk drives (8250LP, SFD1001).  shows the result of leaking caps on a C64.
The first machines had simple linear power supplies, which are easily repaired. But later machines, like the Commodore 8296-D or the Commodore 720 (or the Apple II and BBC) had switching power supplies, which are more difficult to understand and repair. And electrolytic capacitors can fail in that too. See  for a video on a leaking capacitor in the power supply.
So, as the author (André) has suffered from three blown power supplies, and five Commodore disk drives with leaking caps, and maybe more stuff waiting, we hope that this article helps you become aware of the problem and maybe check your vintage computer before it is too late. See [14,15] for more links - and don't forget the batteries in some of the machines... [16,17].
Did you already have problems with leaking or blown capacitors? Tell us about it in the comments!
 http://www.minuszerodegrees.net/failure.htm 3 of 4 common failures are bad caps...
 http://www.classic-computers.org.nz/blog/2011-04-28-apple-iie-adventures1.htm Tezza's blog on restoring apple II, with blown power supplies
 http://www.badcaps.net/forum/showthread.php?t=32262 Apple II blown filter caps
 http://obsolescenceguaranteed.blogspot.de/2014/03/bad-caps-or-recap-kids-apple-iie-power.html Another Apple II power supply
 http://www.vintage-computer.com/vcforum/showthread.php?45209-Replacing-the-mains-filter-capacitor Commodore PET filter cap
 https://www.youtube.com/watch?v=TU55-7dWMi0 video of a BBC power supply blowing up
 http://www.retro-kit.co.uk/page.cfm/content/BBC-Micro-PSU-X2-capacitors/ repair the BBC caps.
 http://forum.classic-computing.de/index.php?page=Thread&threadID=7382 Commodore 8250 Matsushita drives with leaking caps
 https://www.flickr.com/photos/afachat/sets/72157651797112596/ SFD1001 repair with pictures
 http://www.thefuturewas8bit.com/index.php/64-repair-3 A C64 with leaking electrolytic caps
 https://www.flickr.com/photos/afachat/sets/72157647798386959/ CBM720 with blown power supply due to leaking caps (incl. video)
 http://www.sprow.co.uk/bbc/howto.htm 2 of the 3 power supply problems in the BBC are caps
 http://en.wikipedia.org/wiki/Types_of_capacitor types of capacitors
 http://www.6502lane.net/tag/battery-leak/ apple II GS battery leak
 http://www.retroclinic.com/acorn/mbattery/mbattery.htm BBC master battery
For online games, this makes tons of sense, especially between people who know each other, but also for communities where people have strong/persistent identities, or where aspects of bluffing or negotiation are important.
Might be useful in CastAR too...
- Mozilla CorporationPrincipal Software Engineer, 2011 - present
- Commodore InternationalOS Group Lead, 1988 - 1994
- Scala Broadcast MultimediaSr. Software Engineer, 1994 - 1998
- Worldgate CommunicationsDirectory of Network Protocols, 1998 - 2011
- PlayNetProgrammer, 1984 - 1986
- GE CR&D contractorSoftware Engineer, 1986 - 1987
- Rensselaer Polytechnic InstituteComputer Science, 1980 - 1984
40,000 year old bracelet from extinct human species discovered
In what is quite an amazing discovery, scientists have confirmed that a bracelet found in Siberia is 40,000 years old. This makes it the old
Orange Launches First Firefox OS Smartphones in Africa
We are happy to share that the first Firefox OS smartphones went on sale in Senegal and Madagascar this week. This follows an announcement f
Moving the Goalposts Part I: "vaxxers" and climate denialism
Back to the core dilemma of our era: rousing future-oriented folk (like you) to fight back against a wave of troglodytism that threatens our
Anti-science advocates are freaking out about Google truth rankings
"It is a very slippery and dangerous slope because there's no arguing with a machine"
'Free Range' Parents Found Responsible for Child Neglect After Allowing ...
A Maryland couple who was being investigated for allowing their two children to walk home alone from a neighborhood park have been "found re
Homeworld Remastered review: There's no place like Home(world)
Homeworld is just as revolutionary in 2015 as it was in 1999—and now it looks great too.
Broadband Industry Takes To Congressional Hearing To Praise Wimpy, Neutr...
To derail February's expected unveiling of Title II-based neutrality rules, the broadband industry is engaged in a last ditch effort to pass
Ivy League’s meritocracy lie: How Harvard and Yale cook the books for th...
"We are credentializing a new elite by legitimizing people with an inflated sense of their own merit"
“I know firsthand it didn’t work”: Former FBI special agent dismantles t...
Star agent who interrogated the infamous Abu Zubaydah tells Salon why Cheney's torture regime was such a failure
Let’s abolish West Point: Military academies serve no one, squander mill...
Our military academies aren't filled with best and brightest. They are a boondoggle, on your dime, and serve no one
God is on the ropes: The brilliant new science that has creationists and...
A young MIT professor is finishing Darwin's task — and threatening to undo everything the wacky right holds dear
I got slimed by Rush: The real story of how Stephen Colbert schooled Lim...
Rush attacked my Salon piece, dismissed me as "professorette" -- and got facts so wrong, he made my point stronger
Big Broadband's Hail Mary To Stop The FCC: Have Congress Pretend To Do I...
As we've clearly stated in the past, having the FCC reclassify broadband as a common carrier under Title II of the Telecommunications Act is
Ridiculously Misinformed Opinion Piece In WSJ Asks Apple And Google To M...
Former Wall Street Journal publisher L. Gordon Crovitz still gets to publish opinion pieces in the WSJ. And while I often find them interest