10,789 karma · joined May 28, 2010 (16y ago) · 6,160 submissions
comment 5y ago · link · parent
Yes, that was their rule from day 1.
My favorite: in the early days, Sinclair designed a very cheap transistor radio -- so cheap that it didn't even have a speaker, just an earphone (mono, one ear). Sinclair noticed that the available earphone jacks had a built-in switch that was intended to disconnect the speaker when the earphone plug was inserted. Since there was no speaker, this switch was repurposed to serve as the on-off switch for the unit -- plug in the earphone and it's on, pull it out and it's off. That saved both the cost of a separate switch and the space it would have taken up.
I believe this hack required manually bending the contacts on the jack switch to turn it from NC to NO.
comment 5y ago · link · parent
> After a "competent tribunal" has determined that an individual is not a lawful combatant, the "detaining power" may choose to accord the individual the rights and privileges of a prisoner of war as described in the Third Geneva Convention, but is not required to do so. (emphasis mine)
Edit to add this P.S: I'm not going to slam you for citing Wikipedia, but I will take off points for not mentioning (or checking, perhaps) that the original source is an opinion piece written by a lawyer -- not a law, treaty, court decision, or anything else that has actual weight.
comment 5y ago · link · parent
There are two basic statuses for captured combatants. The first is "prisoner of war". There are rules about how POWs may be treated, but they don't include anything like a "fair trial". It is, in fact, illegal to put POWs on trial. Instead, they are supposed to be treated humanely and repatriated after hostilities have ceased. The catch here is that to be entitled to POW status the combatant must abide by the so-called laws of war, including bearing arms openly in the field (i.e, not hiding among civilians) and wearing a uniform or other insignia recognizable at a distance (something like a purple armband would be enough -- it just has to be something that clearly identifies you as "not a civilian" as seen from a distance).
The second status is that of the so-called "unlawful combatant". This includes pirates, spies, terrorists, or anyone else who engages in hostilities without wearing a uniform or insignia, or who engages in other actions in violation of the laws of war (for example, deliberately attacking civilians, hiding among the civilian population, falsely wearing a symbol that indicates that the combatant is a medic, and so on).
Unlawful combatants have no rights of any kind. They may be detained indefinitely (even after hostilities have ceased), tried by a military tribunal, or even be summarily executed on the spot when captured.
This basic framework has been the rule for centuries, and was most recently codified by the Geneva Conventions. It's not some new policy that the United States made up.
comment 5y ago · link · parent
I remember many years ago that having one of these outlets was a bullet point for apartment listings, but nowadays it's just expected.
So the market worked in that case.
EV charging stations are going to be more expensive than a basic 20 amp outlet (a quick web search indicates $700 to $2,000, not including installation), but not all that expensive, compared to the other capital expenses involved in being a landlord.
comment 5y ago · link · parent
Those variants were "ignored" because they largely didn't exist. Kernighan's essay was written in 1981. The first release of Turbo Pascal wasn't until 1983. The Extended Pascal standard wasn't released until 1990.
comment 5y ago · link · parent
Inprise sounds like a name out of Mike Judge's Office Space.
They eventually figured this out and changed back to Borland, but by then it was too late.
comment 5y ago · link · parent
Pascal's `new` did not let you do this, as I recall (it didn't even allow you to allocate a chunk of memory of arbitrary size... meaning that you can write `malloc` in C, but you can't write `new` in Pascal -- edit: before someone starts jumping on me with the claim that "Golly-Gee-Whiz Pascal '92" lets you do this, I am talking about Pascal, the language as designed by Niklaus Wirth, not about some bastardized non-standard extension. And yes, I fully concede that arbitrary pointers are dangerous, and are prone to producing nasty bugs. They also provide a whole lot of power).
comment 5y ago · link · parent
Look at which one is being used to this day to write essentially every modern operating system, and even the interpreters and compilers for other languages. JavaScript engines are written in C, not Pascal.
I think it obviously did lose, though judging from the moderation it clearly still has some fanatical followers.
Both Turbo Pascal and Object Pascal had so many extra non-standard and un-Pascal-like features that they were barely even the same language.
As I mentioned in another comment, allowing you to write bare assembly language inline wasn't exactly a feature of the original Wirth Pascal. The analogy I used at the time was that (Wirth) Pascal was like a pair of blunt-pointed kindergarten scissors, while C was more like a chainsaw. Borland added enough non-standard features to make it more like maybe a kitchen knife, but in the long run that still wasn't enough.
comment 5y ago · link · parent
Let's just say that the ability to include inline assembly language wasn't exactly a feature of Wirth's original Pascal.
The best feature of the classic Borland languages was the debugger, IMO.
comment 5y ago · link · parent
Except that the (accused, but innocent) "perpetrator" was a member of (ethnic group), as was the actual perpetrator, and it turned out that a high percentage of members of (ethnic group) exhibited this allegedly rare DNA feature.
comment 5y ago · link · parent
Photography (especially on this scale) used to demand a lot of forethought and commitment. While do I enjoy taking pictures without having a meter running, I sometimes wonder what's been lost along the way.
comment 5y ago · link · parent
https://www.youtube.com/watch?v=62XRy-jFCm8
London has many "vanished" rivers, the most famous of which is the Fleet.
In earlier times it was nice enough that a royal palace was built on its banks, but by the Restoration it had become what Neal Stephenson's _Baroque Cycle_ described as a "river of shit" (the palace had been converted into a prison by then, too).