|
It's always fascinating, in a morbid sort of way, to see what crimes technology inspires.
Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
The source code of every Infocom text adventure game has been uploaded to code-sharing repository GitHub, allowing savvy programmers to examine and build upon some of the most beloved works of digital storytelling to date. Yes, The Hitchhiker's Guide to the Galaxy and Zork are both included.
|
|
|
|
|
Here's some of the source from Zork (from nrooms.c):
switch (ri - newrms + 1) {
case 1: goto L38000;
case 2: goto L39000;
case 3: goto L40000;
case 4: goto L41000;
case 5: goto L42000;
case 6: goto L43000;
case 7: goto L44000;
case 8: goto L45000;
case 9: goto L46000;
case 10: goto L47000;
case 11: goto L48000;
case 12: goto L49000;
case 13: goto L50000;
case 14: goto L51000;
case 15: goto L52000;
case 16: goto L53000;
case 17: goto L54000;
case 18: goto L55000;
case 19: goto L56000;
case 20: goto L57000;
case 21: goto L58000;
case 22: goto L59000;
case 23: goto L60000;
}
A bit further down:
L47000:
if (prsvec_1.prsa != vindex_1.lookw) {
return ret_val;
}
i = 704;
i__1 = objcts_1.olnt;
for (j = 1; j <= i__1; ++j) {
if (qhere_(j, play_1.here) && j != oindex_1.rbeam) {
goto L47200;
}
All you gotta do is follow the bouncing goto!
So now I know why when I started learning to program people were saying:
Eschew goto!!!
Well, I'm sure there was some reason for this type of coding which is lost to history.
It made it look as if there was no way to call a subroutine (function) or something.
Maybe this is related to the code being ported from another system which did not have a way to call functions??
modified 23-Apr-19 8:27am.
|
|
|
|
|
I assume it's related to trying to write a VM small enough that it can run in 4k of ram. Everything has to be hyper bare bone for that to be possible.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
got compiles almost directly to JMP in assembly, which used correctly gives you a lot of flexibility with very low load.
This added to Dan's Comment...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
A new report has found that 26 states now either restrict or outright prohibit towns and cities from building their own broadband networks. Land of the free, where the government doesn't mess with your lives too much.
|
|
|
|
|
It’s a hard, cold fact that hackers and government and corporate spies can and sometimes do turn our cameras and microphones on without our consent. *holds up cell phone* Pretty please? Can you turn your surveillance off?
|
|
|
|
|
I thought this was a good idea until I found out all my light switches came with cameras pre-installed.
|
|
|
|
|
Maybe it would be better if cameras and mikes came as optional extras.
The fist thing I do with any laptop is tape over the camera and then fanny around trying to disable the microphone. I don't have any purpose for a camera or a mike on a laptop, so why do I have to pay for the damned things?
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
PeejayAdams wrote: for a camera or a mike on a laptop
Mike who?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
For the better part of two years, the folks at Mozilla have been diligently chipping away at Project Things, an open implementation of the World Wide Web Consortium’s (W3C) Web of Things standard for monitoring and controlling connected devices, and today, they reached a major milestone. Project Things is graduating from its experimental phase with a new name — Mozilla WebThings — and gaining a number of logging, alarm, and networking features. Is that ... a feeling of hope? Deep in my dark, cynical chest?
|
|
|
|
|
The internet giant is increasing the ways advertisers can reach Google Maps users "Turn left at, 'First Street.' Also, try the new McDonald's Mushroom & Swiss Burger. I'm lovin' it."
|
|
|
|
|
I spent two weeks in the underbelly of Amazon's fake review economy — and emerged questioning our collective trust in the stars. What do you mean this used exfoliating brush isn't "amazing?"
|
|
|
|
|
Twitter CEO Jack Dorsey took the stage today at the TED conference. Dorsey suggested that he’s trying to find ways to redesign Twitter to shift the “bias” away from accounts and toward interests. "Moving forward we will not tweet -- we will twat."
|
|
|
|
|
He could always stop banning accounts that give opinions that don't meet the progressive-liberal-left narrative. It's no secret that anyone with an opinion to the right of Gandi is not welcome on Twitter, and he has conceded this in his admission that there is bias on the platform. This is why Gab was created.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Home | LinkedIn | Google+ | Twitter
|
|
|
|
|
Indeed, such is the terrible nature of censorship that one can only marvel at how the glorious leader of the USA manages to Tweet eight impossibly stupid things every day before breakfast.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
I would much prefer people were allowed to tweet stupid, even offensive things, than have censorship.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Home | LinkedIn | Google+ | Twitter
|
|
|
|
|
So you would be happy for Al Queeda to have a platform?
Would you extend the same freedom to paedophile rings?
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
I'm talking about the right to free speech. To my knowledge terrorist groups and paedophiles are both illegal.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Home | LinkedIn | Google+ | Twitter
|
|
|
|
|
Dominic Burford wrote: I'm talking about the right to free speech
So am I.
If you believe in free speech as an absolute, you believe in the right of anybody to advocate anything and that includes Islamists, paedos, nazis and other assorted pond-life.
If you accept that free speech comes with inherent limitations against advocating illegality and indecency, then you should accept that Twitter are right to ban certain offenders without such actions being labelled as excessively censorial.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
You're taking edge case examples to try to prove a general point. It doesn't work.
Moving on, Twitter has banned many people for wrongthink. They have banned many conservatives for example for stating opinions which differ from the echo chamber inhabited by progressive-liberals. People have been suspended for opinions such as transgender men and not men (and consequently transgender women and not women). Deadnaming and misgendering are also offences that can get you kicked off the platform.
Do you agree or disagree that those with contradictory views should be suspended / banned from Twitter?
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Home | LinkedIn | Google+ | Twitter
|
|
|
|
|
The edge-cases absolutely do need to be considered.
If I were, for example, to Tweet "Up the IRA!", I would expect to have my Twitter account closed. Furthermore, I'd take it on the chin rather than going on about evil liberal conspiracies, political correctness, the New World Order and Great Cthulhu, and say "Yeah. Fair cop, I crossed a line there!"
Now most of your list of offences relate to gender issues but is not possible that the posts in question were abusive rather than "wrong"? Let's face it, a lot of closet cases do get very rude when dealing with LGBT types and such subjects are always going to be a gathering point for trolls. I can't imagine that it's simply a case of people getting kicked off accidentally transposing a pro-noun or two. It would be interesting to see some examples.
I again, repeat, my slightly tongue-in-cheek comment at the start of this thread. We can safely ignore the notion that all loony-right thought is somehow barred from Twitter because Trump posts his brain-farts on there every day!
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
PeejayAdams wrote: The edge-cases absolutely do need to be considered. No, they seriously don't.
Using Twitter to recruit terrorists is NOT a free speech issue
Using Twitter to allow paedophiles to communicate with each other is NOTa free speech issue.
De-platforming someone for voicing their opinion that transgender men are not men (and vice versa) IS a free speech issue.
If you want to discuss free speech issues, then I'll gladly join in. Otherwise, count me out.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Home | LinkedIn | Google+ | Twitter
|
|
|
|
|
If you seriously think that edge cases don't matter, never get a job as a software tester. The devil is ALWAYS in the detail.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
If you implement code to cater for edge cases before focussing attention on the key functionality, then don't get a job as a software developer.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Home | LinkedIn | Google+ | Twitter
|
|
|
|