|
I live in India, and we have footpaths; i believe the same as sidewalks. As per traffic rules in India, it is forbidden to drive on footpaths.
However a number of two-wheelers, I mean bike riders, do ride on footpaths. I have myself stopped a few such ones, some years ago.
Nowadays, most metropolitan cities in India, and even smaller cities have a number of traffic cameras installed, and photos of such violations are stored in databases. And the traffic ticket is sent home. Hopefully these cameras act as deterrents.
|
|
|
|
|
Amarnath S wrote: I live in India, and we have footpaths; i believe the same as sidewalks. As per traffic rules in India, it is forbidden to drive on footpaths.
Of course. That's a very important law. I should clarify that the context of my original thread about driving on sidewalks was in the context of a video game. That's what makes it funny to me.
The game is commonly referred to as GTA for short. It stands for "Grand Theft Auto", and its setting is meant to be in San Andreas, California. Driving on sidewalks is prohibited in Cali, too. But, remember, the context is in reference to how I play a video game.
Here's a link to the game on Google if you're curious. GTA San Andreas [ ^]
|
|
|
|
|
Agree, now it is clear.
As you said, context is important. And this platform being global, it isn't obvious unless context is set.
|
|
|
|
|
GTA is a "fantasy game" - it allows us to do things we wouldn't dream of is the real world. And as such, it is heavily rigged towards being pretty much impossible to play without breaking the law!
So yes, in the game, I do drive on sidewalks sometimes. In fact, if you give me a delivery van, there is a very good chance it's going to be painted red by the time I get to the destination - it's that kind of game. And I can live with that because no real or virtual sentient beings (and I'd start with cats being sentient and go on up) were harmed in any way. IRL, I'd never do that, even if I believed the sidewalk was empty!
And yes, if you install a good mod menu you can turn off gravity and such like in the latest game and do what you want - just don't do it in a populated online session as you will wreck the game for everybody else and that isn't fair!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I like "the cheese grater"
You drive an ambulance - has nice large flat sides - sirens on if you prefer barreling down the street so you can ragdoll peds by sideswiping them. Except you do it when there's a chain link fence to grind them against.
Good times.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Have you tried attacking motorcycle NPCs with the Ramp Buggy?
(If you haven't got one, you can borrow mine).
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
If it is any consolation to you, at the moment I'm driving on sidewalks too in small mountaineous villages near the Mosel river. The roads are very narrow and winding, and this is better than causing a collision with an oncoming vehicle. So far I have managed not to hit any pedestrians ![Shucks | :-\](https://codeproject.freetls.fastly.net/script/Forums/Images/smiley_shucks.gif)
|
|
|
|
|
Those movie advertisements they show in theaters before the main feature, why are they called "trailers?"
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I would be more curious how popular that specific question is on google.
I couldn't find an answer to my question. I did find the Wikipedia page for the OP question. Wikipedia was launched in 2001 and the page for that question was added in 2005.
And then I thought about looking up the oldest page
Wikipedia:Wikipedia's oldest articles - Wikipedia[^]
Kind of interesting not because of the pages but rather the history of why they really have no idea what the original page was.
|
|
|
|
|
So I am not the only one asking about that Now that there are two of us, I took the time to see if Wikipedia could help me, and found this:
Due to trailers initially being shown after, or "trailing", the feature film, the term "trailer" was used to describe the promotion; despite it coming before, or "previewing", the film it was promoting. This practice was found to be somewhat ineffective, often ignored by audiences who left immediately after the film.
So, historically, they were trailing the main feature. Thanks for making me look it up
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
Thanks for doing the legwork on that
I suspected as much.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Nowadays they're also called teasers, isn't it?
|
|
|
|
|
They're meant to tease you.
And there's a tease in every trailer court.
Hence trailer, because they called call them ho's.
If you can't find time to do it right the first time, how are you going to find time to do it again?
PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
this_guy_tho.jpg[^]
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Maybe it’s one of those Impossible dogs (that got Joey Chestnut disqualified from the main event)
TTFN - Kent
|
|
|
|
|
when i first looked i thought it said vegan. could have been a vegan burger.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
It does say vegan. I was joking about it saying Megan.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I'm creating a data bank of MCQ (Multi Choice Questions) and their answers so that an app can be built around it. Regarding the actual storage format, I have two ideas:
- An array of objects with keys (
q for question, a for choice-a, etc.). - An array of arrays.
The first one is obviously more readable. Here is a brief sample of what I have so far:
{
"data": [
{
"q": "What kind of language is Python?",
"a": "Compiled",
"b": "Interpreted",
"c": "Parsed",
"d": "Elaborated",
"r": "b"
},
{
"q": "Who invented Python?",
"a": "Rasmus Lerdorf",
"b": "Guido Van Rossum",
"c": "Bill Gates",
"d": "Linus Torvalds",
"r": "b"
}
]
}
The app will read the q key to print the question, then present the four options (a, b, c and d). And the last key (r) will store the right answer. This is very much readable when viewed as a JSON file also. However, what I am thinking is that once the data-bank grows in size into hundreds/thousands of QA, a lot of space will be wasted by those keys (q,a,b,etc.) isn't it? In this case, an array like this is more efficient from storage perspective:
{
"data": [
[
"What kind of language is Python?",
"Compiled",
"Interpreted",
"Parsed",
"Elaborated",
1
],
[
"Who invented Python?",
"Rasmus Lerdorf",
"Guido Van Rossum",
"Bill Gates",
"Linus Torvalds",
1
]
]
}
In this case, each array will have 6 items viz. the question, four choices and finally the index of the correct choice (1==Interpreted, etc.).
Which of these two formats is better? Feel free to suggest any third format which is even better than these two.
|
|
|
|
|
I like the 1st better.
The 2nd, for me anyway, would be harder to keep track of square brackets.
If you can't find time to do it right the first time, how are you going to find time to do it again?
PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
|
First, the question should probably be asked in "Design&Architecture[^]" forum.
Second, my preference would be for something like:
{
"data": [
{ "q": "question",
"a": ["answer1", "answer2",...],
"ok": 1
},
...
]
}
---
Edit: My suggestion allows you to have a variable number of answers to each question. Not sure if it's important or not for your application.
Mircea
|
|
|
|
|
Neither. Unless your married to the idea of encoding the indexing, I'd go with something like this personally based on the info given:
{
data: [
{
"question": "What kind of language is Python?",
"answers:": [
{ "answer": "Compiled", "correct": false },
{ "answer": "Interpreted", "correct": true },
{ "answer": "Parsed", "correct": false },
{ "answer": "Elaborated", "correct": true }
]
},
{
"question": "Who invented Python?",
"answers": [
{ "answer": "Rasmus Lerdorf", "correct": true },
{ "answer": "Guido Van Rossum", "correct": false },
{ "answer": "Bill Gates", "correct": false },
{ "answer": "Linus Torvalds", "correct": false }
]
}
]
}
Handles questions with multiple correct answers, and both questions and answers are easily expandable without breaking backwards compatibility. The biggest issue with your options is that the moment the requirements change (and requirements /always/ change) the format is going to get mangled in a non-backwards-compatible way. Your current format cleverly avoids objects/properties to save space by treating the head and tail of each array uniquely. What happens when requirements dictate that relationship can no longer hold? For example, questions with multiple correct answers. Cleverness is an avoidable dependency, so unless space is that critical of an issue I would tend to go with the more flexible option that gives me less headaches down the road.
|
|
|
|
|
Of the options provided so far, that gets my vote. And I'm too lazy to suggest my own.
|
|
|
|
|
#1
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I read the thread in The Insider News tracking off to the novel 'When Worlds Collide', and looked up the 1951 movie adaptation at IMDb, curious to see if they had made the movie in color or B/W. The movie is in color - but the 1954 ad poster reproduced in Wikipedia, as well as all the photos from the movie shown at IMDb is is in black and white.
Why is that? Was is really that much more expensive in 1951 / 1954 to make color photo prints and color ad posters that you couldn't afford it on a USD 1M budget (note that this is 1 mill 1951 USD!)? Or is there some other plausible explanation?
According to IMDb, the movie won an Oscar for Best Special Effects. The trailer (available at IMDb) suggests that the Oscar was well deserved, especially for a movie released 73 years ago!
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|