Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Emulation (Games)

A JavaScript Gameboy Emulator, Detailed In 8 Parts 62

Two9A writes "JavaScript has shed its image of being a limited language, tied to DOM manipulation in a browser; in recent years, new engines and frameworks have given JS a reputation as a language capable of bigger things. Mix this in with the new elements of HTML5, and you have the capacity to emulate a game console or other system, with full graphical output. This series of articles looks in detail at how an emulator is written in JavaScript, using the example of the Gameboy handheld: starting at the CPU, and (as of part 8) running a copy of Tetris."

Comment Just because you want.... (Score 2, Insightful) 366

Shouldn't mean you will necessarily get. Certainly if I were subject to EU or even the lower US privacy standards, I'd have grave concerns about out-sourcing *anything* to a locale that so cavalierly violated the most rudimentary notions of privacy and security. More pro-actively, to the extent a mere slashdot-peon can, I'd encourage RIM to go back to their pre-agreement stance and begin negotiations with other telecommunications providers and ex-pat companies with an India presence to present a united front at both the political and technical levels - implementing further and hardened security and privacy measures rather than undermining the often-minimal security in place today.

Governments are like puppies. They keep crapping in the middle of the floor until you rub their nose in it a few times.

Comment Re:Not the only conservative views he's pushed (Score 3, Insightful) 617

As a gay man, I find the very concept of barring such anti-discrimination policies offensive. However, before we really get the bandwagon rolling, what say we ask a couple of questions:

1) What have past Virginia AG's advised cities, towns, and political subdivisions regarding non-discrimination policy generally and LGBT affecting law specifically? What was their reasoning? What is Cucinelli's?

2) Do, in fact, any provisions exist in Virginia statute or state constitutional provision that a competent attorney would be compelled to advise his client (the Universities and colleges) that such a policy (and thus they) are in violation of, or potentially might reasonably to be argued to be in violation of?

3) Given the increasing evidence that at least some portions of the "Global Warming" theory are based on spurious or manufactured evidence (without addressing in any way whether or not anthropogenic global warming valid as a theory or in any way a verifiable phenomenon), is it not the duty of a sitting AG when the question is raised about whether the science and research paid for on the public dime might be fraudulent, to then investigate such questions - and if a preponderance of evidence shows that fraud was committed on the public dime, is it then not the duty of said Attorney General to prosecute the perpetrator of the fraud and misuse of state funds to the full extent of the law?

(For the newbs, in most instances this would mean an affirmative answer to : Did Mann knowingly publish false or misleading results? If so, were state funds used in producing/creating/obtaining such false data?)

4) Aside from Cucinelli as a common factor does the University policy issue have anything to do with the rightness or wrongness of the investigation of Mann and his global warming work?

To address our first question, we have but to look at Cucinelli's advisory letter itself . He cites a number of relevant prior Virginia Attorney Generals opinions, yet notably fails to cite either constitutional or statutory provision - instead basing his reasoning on the theory that unless it is specifically permitted, that a University or other subordinate political division (from governor to rural village) may not extend or expand civil rights beyond those enumerated by the Virginia General Assembly, a body that as recently as a few weeks ago (and on 26 other occasions) has declined with varying degrees of vehemence to add sexual orientation or expression to the list of protected classes (i.e., list of things forbidden to discriminate based upon).

The actions or lack thereof of the Virginia General Assembly, notwithstanding the opinions of the current and several prior Attorney Generals of the State of Virginia, are simply irrelevant. Our fundamental legal tradition is not "whatever is not specifically permitted, is forbidden" - rather, it is "whatever is not specifically forbidden, is permitted" which undermines a basic argument of Cucinelli and his predecessors.

Further, as demonstrated in a long line of prior cases, subordinate political divisions may extend MORE civil rights protections, but never less than those extended by their respective superior bodies, subject to the provisions of the prior paragraph.

Since the Virginia General Assembly has, to the best of my knowledge, never barred subordinate bodies from extending such protections to allege such a bar is mistaken at best, and in my opinion, malicious bigotry at worst.

To address our second question, I return to the reasoning addressed in the first. Any competent attorney would, given the opportunity, to cite clear statutory law would do so - as it would substantially strengthen their legal argument. I find the absence of such citation telling, to put it mildly and the "public policy" argument weak on the face of it. If public policy barred any action not specifically authorized by the Assembly, the various bodies and subordinate bodies would be paralyzed between legislative sessions and require constant legislative guidance.

Clearly, this is not the case. Cucinelli himself cites, in the fourth paragraph of his letter, the broad authority of Universities and Colleges to do "that which is needful" to provide for the education, safety, and welfare of students. Inarguably, allowing either favoritism towards or discrimination against faculty, students, or staff of the relevant institutions based upon their non-criminal sexual orientation or expression does not enhance the safety, welfare, or educational prospects of the students whose interests the various regents are responsible to protect.

Again, Cucinelli and his predecessors appear to stray from both common legal practice and logic when they advise their clients to refrain from enacting policies prohibiting discrimination based on lawful behavior and may, in fact, place their clients at risk of both federal and state litigation. Neither Cucinelli or his predecessors appear deserving of plaudits or rewards in their conduct in issuing such opinions. I would personally favor reprimands administered either the Virginia State Bar or the voters of the State of Virginia, or both to those still among the breathing.

Moving on to our third question, if Cucinelli or his staff are presented with reasonable cause (and at that point, little more than curiosity is required) to suspect that state funds were used for fraudulent purposes or to perpetrate a fraud, they have an obligation to investigate to the best of their ability whether such acts have taken place, and if in the face of the evidence produced by their investigation they then reasonably believe that such fraud occurred and that they have a reasonably chance of satisfying a court and jury of such, they then have an obligation to prosecute unless they can reasonably argue that such a prosecution would be contrary to the interests of the State of Virginia. An investigation of Mann seems reasonable; only time and the eventual filing (or not) of charges will demonstrate whether such an investigation was justified, specifically if those charges are affirmed before a judge and jury resulting in conviction(s).

Addressing our final question, whether or not the two issues are reasonably related as the poster implies, the answer is relatively obvious - No. The issues of LGBT Discrimination Policies and Scientific Fraud paid for with state funds are fundamentally separate from each other and the poster in question is simply engaging in an ad hominem attack - alleging that because Cucinelli did one thing that he and others (including myself) might find bad, that all things Cucinelli does are bad per se, and then goes on to engage in high-brow name-calling by referring to Cucinelli as a known espouser of conservative views.

Now, as a gay man and a conservative (Libertarian variant, small "l") myself, I suspect I and many others on Slashdot do not find "conservative" the epithet that the poster intends. The emotive ranting of those on the right or the left bears little resemblance to reason, and merits only scathing contempt - with extra helpings of vitriol when it descends into ad hominem and name calling. Happily, Slashdot posters are usually logic and fact based and avoid such foolishness. Regrettably, in this instance, a poster failed to evade that painfully obvious intellectual trap.

I am not an attorney, and do not under any circumstances pretend to be one. No person should rely on the above as legal advice, consulting a licensed attorney qualified to practice in the relevant state(s). The above represents only my opinion and not that of any other person or organization.
Censorship

Venezuela's Last Opposition TV Owner Arrested 433

WrongSizeGlass writes "AP is reporting the owner of Venezuela's only remaining TV channel that takes a critical line against President Hugo Chavez was arrested Thursday. 'Guillermo Zuloaga, owner of Globovision, was arrested on a warrant for remarks that were deemed "offensive" to the president,' Attorney General Luisa Ortega said. This comes on the heels of last week's story titled Venezuela's Chavez To Limit Internet Freedom."
Government

Dell To Leave China For India 352

halfEvilTech writes "India's Prime Minister, Manmohan Singh, told the Indian press that Dell chairman Michael Dell assured him that Dell was moving $25 billion in factories from China to India. Original motives were cited for environmental concerns. But later details come up as to Dell wanting a 'safer environment conductive to enterprise.'"
Image

Swedish Prisoner Warned Over Flatulence Protest 11

A Swedish prisoner has been accused of deliberately farting near guards in a protest against his incarceration. The problem is so severe that he was served with an official warning that future flatulent conduct towards prison guards will be punished. I guess prisoners never attack guards with homemade weapons in Sweden. From the article: "Anders Eriksson, the prison's warden, realized that the inmate's repeated episodes of flatulence were 'a series of concerted attacks' on staff. 'I have worked within the prisons and probation service since 1986 and I have never experienced a situation where behavior of this sort has led to punishment,' he told Sweden's Metro newspaper."
Input Devices

The Most Painful Toy Hack 8

wintersynth writes "We hacked a toy brainwave reader to electrocute people if their brainwave frequency got too high (by concentrating). We took outputs off of the 5 level LED indicator, put the outputs through a transistor/resistor/relay circuit to give 2 levels of high voltage through an electric shock circuit right into the user's arm."
Canada

Dead Pigs Used To Investigate Ocean's "Dead Zones" 106

timothy writes "As places to study what happens to corpses, the Atlantic Ocean is both much larger and much more specialized than the famous 'body farm' in Knoxville, TN. But for all kinds of good reasons, sending human bodies into Davy Jones' locker just to see where they float and how they bloat is unpopular. Pigs don't pay taxes, and more importantly, they don't vote. So Canadian scientists have taken to using them as human-body proxies, to study what happens when creatures of similar size and hairlessness (aka, us) end up 86ed and in the drink."
Music

Holographic Human Heads Used By DJ In Live Show

Lanxon writes "Director Chris Cairns has turned his short 'Neurosonics' film — which features disembodied heads mounted on a selection of instruments — into a live performance that's just as jaw-dropping as the original, reports Wired. The director originally created the 'Neurosonics Audiomedical Labs' film back in 2009. It's set in a lab, and depicts three scientists mounting a number of different heads onto turntables and drum sets before playing them like real instruments. The original video was created with plenty of CGI, so shifting it into a live setting was always going to prove troublesome. To bridge the gap between the virtual and the physical, Cairns enlisted the assistance of holographic projection experts Musion. The company set up the performance for the first Musion Academy Media Awards — which exist to recognize the most impressive holographic creations — and the result is truly impressive."
Image

Scientists Discover Booze That Won't Give You a Hangover 334

Kwang-il Kwon and Hye Gwang Jeong of Chungnam National University have discovered that drinking alcohol with oxygen bubbles added leads to fewer hangovers and a shorter sobering up time. People drinking the bubbly booze sobered up 20-30 minutes faster and had less severe and fewer hangovers than people who drank the non-fizzy stuff. Kwon said: "The oxygen-enriched alcohol beverage reduces plasma alcohol concentrations faster than a normal dissolved-oxygen alcohol beverage does. This could provide both clinical and real-life significance. The oxygen-enriched alcohol beverage would allow individuals to become sober faster, and reduce the side effects of acetaldehyde without a significant difference in alcohol's effects. Furthermore, the reduced time to a lower BAC may reduce alcohol-related accidents."
Sun Microsystems

Submission + - Mechanism of Supernova Detonation Gets a New Twist (makeahistory.com)

An anonymous reader writes: Type Ia supernovae, often used to calibrate cosmological measurements, may arise from merging white dwarfs, after all. Their brightness and consistency allow astronomers to use them as so-called standard candles to measure cosmological distances. But a new study presents evidence that, for at least one kind of galaxy, the binary-accretion model should not be more than a minor contributor to the observed type Ia supernovae population.

Submission + - Whose tube is in anyway? (nytimes.com)

luehringf writes: Damian Kulash Jr complains that EMI is preventing his fans from embedding his latest video on their sites.

Submission + - Dolphins can turn diabetes on and off (cosmosmagazine.com)

An anonymous reader writes: Healthy bottlenose dolphins appear to turn on and off a diabetes-like state: a trick that may open to door to a treatment for the disease in humans.

Slashdot Top Deals

"Protozoa are small, and bacteria are small, but viruses are smaller than the both put together."

Working...