March 21, 2019, 09:09:06 PM

Author Topic: Logic Question  (Read 8092 times)

Offline Matty

  • Hero Member
  • *****
  • Posts: 608
    • MattiesGames
Re: Logic Question
« Reply #90 on: December 27, 2018, 11:30:34 PM »
Notice affixed to my front door.

Offline Derron

  • Hero Member
  • *****
  • Posts: 1677
Re: Logic Question
« Reply #91 on: December 27, 2018, 11:45:45 PM »
So you are 42 and somebody knows it?

Maybe you've not done proper waste separation and a neighbour is pissed off.


bye
Ron

Offline Rick Nasher

  • Hero Member
  • *****
  • Posts: 652
Re: Logic Question
« Reply #92 on: December 27, 2018, 11:50:45 PM »
Now there's a sense of humor. Good one.
_______________________________________
 B3D + physics + shaders + X-platform = AGK!
:D ..ALIENBREED *LIVES* (thanks to Qube).. :D
_______________________________________

Offline 3DzForMe

  • Sr. Member
  • ****
  • Posts: 431
Re: Logic Question
« Reply #93 on: December 28, 2018, 05:46:35 AM »
A group of leggy blondes, thats one way to celebrate the new year ;)
happy coding ;)

Offline Matty

  • Hero Member
  • *****
  • Posts: 608
    • MattiesGames
Re: Logic Question
« Reply #94 on: January 04, 2019, 03:23:56 AM »
Can we have some conspiracy theories please ;-)

Two computers, right next to each other at work, both look up 'Weather' on their PC on google simultaneously.

The weather at the current time, the next few days, a week from now plus the wind and humidity different.

?


Offline Derron

  • Hero Member
  • *****
  • Posts: 1677
Re: Logic Question
« Reply #95 on: January 04, 2019, 07:48:08 AM »
They lookup not _simultaneously_ in the sense of "at the same time" but with a certain delay - maybe even 2-300ms (depends on reaction of the users saying "pressing 'update' now!").

Wind speed can fluctuate quite a bit - and with "wind" comes prediction of "[air] pressure" - which affects temperature (as wind moves the warm/cold air). This might result in the 1 degree difference.

If the software did a "hard" cut at certain pressure levels ("from x to y no rain, from y to z light rain, ...") then even the "rain/sun/cloudy"-thing could differ.


BTW in TVTower I use this kind of "level" system for the weather simulation (I put the weather conditions into 10 levels and these levels decide further stuff). This is to get rid of some unneeded (computation wise) complexity.


bye
Ron

Offline Holzchopf

  • Full Member
  • ***
  • Posts: 138
Re: Logic Question
« Reply #96 on: January 04, 2019, 08:04:08 AM »
IIRC Tom Scott did a video about a very similar thing... Or was it on Computerphile? I don't know any more. Anyway, the thing is, that bigger online services need multiple servers to run in order to serve all the pages and data requested all the time. So they distribute the data from the "master" to the "slave" servers, where everything is cached and to which all the page requests are "redirected" (I put that in quotation marks because you don't get a HTTP 3xx response, the redirect happens behind the scenes, hidden from the user's eyes).

Eventually, those servers request the most recent data from the master server. To not DDOSing that one, they do that in cycles which apparently can take some minutes. So it's not only the 2-300ms delay, it could also be that the two computers got responses from two different Google servers with different cached versions of what you were looking for.

Offline Derron

  • Hero Member
  • *****
  • Posts: 1677
Re: Logic Question
« Reply #97 on: January 04, 2019, 10:10:20 AM »
Holzchopf might be right - albeit newer services try to keep their databases synchronized to avoid these discrepancies - but as he said, depending on how they implemented their stuff you might get responses from different datasets.

Maybe you can fetch a kind of "json/xml" response of your weather service - it might contain the time stamp of "measurement".


bye
Ron

Offline Matty

  • Hero Member
  • *****
  • Posts: 608
    • MattiesGames
Re: Logic Question
« Reply #98 on: January 04, 2019, 07:28:48 PM »
Perfect Sense! Exactly...different servers in some sort of cluster or something....slightly different response to prevent DDOS

And now for something completely different.......anyone want to see my dating profile... ha ha ha (good joke)

see below!

Offline Matty

  • Hero Member
  • *****
  • Posts: 608
    • MattiesGames
Re: Logic Question
« Reply #99 on: January 07, 2019, 09:41:47 PM »
Life as I see it...(yours may vary...)

attached

Offline Rick Nasher

  • Hero Member
  • *****
  • Posts: 652
Re: Logic Question
« Reply #100 on: January 12, 2019, 04:28:19 PM »
Page 5530.. You've been busy Matty.   ;)
I'd say you are to demanding on yourself. I found women usually go for people who come across confident even though they don't know jack. It's about radiating positivity from the inside out.

Dating profile, well.. I think round here there won't be many dames to conquer - if any. Not meant as a neanderthaler-#metoo-downtalk-to-women-male-chauvinist-pig, just reality that %-wise there are just not that many into coding/tech in comparison, because perhaps they are not that interested by nature, exceptions granted?
They can try from ground up to promote this and you will see an certain increase in female coders( probably very good ones too), but imho it's not by nature like that or due to repression by males.


In 60's-70's was thought naively all role patterns were due to upbringing and repression, had nothing to do with biology and evolution, but from the many following studies and experiments conducted it, they had to conclude that boys by nature go for the techy toys and girls for the dolly ones, even from very young unbiased age, no matter how much promoted, stimulated and allowed. Was plain and simple.
Doesn't mean we can't defer from that by evolution or upbringing. I was thus allowed to play with Barbies too when visiting my cousins(mostly I took of their clothes though, which was quite educational, even when barbies aren't anatomically correct, well not 100% anyway. :)) ) Must say I've developed a taste for Barbie-like, well shaped girls, not sure it's from that, for I still do not like silicon b**bs and do not mind smaller ones too.

* If I was a google employee I'd now been fired for telling the harsh truth, which is usually too clear for women to take, triggers an emotional and angry response, for most of them like things to be a bit more blurry(hence 50 shades of gray). Oops, what did I say.. and now I definitely would have been fired.  :P


-If any women here, please comment at will, but please don't shoot, just take it like a man: equal rights=equal burdens.. 
_______________________________________
 B3D + physics + shaders + X-platform = AGK!
:D ..ALIENBREED *LIVES* (thanks to Qube).. :D
_______________________________________

Offline Matty

  • Hero Member
  • *****
  • Posts: 608
    • MattiesGames
Re: Logic Question
« Reply #101 on: January 21, 2019, 09:19:18 PM »
Zen like states....see attached


Offline Matty

  • Hero Member
  • *****
  • Posts: 608
    • MattiesGames
Re: Logic Question
« Reply #102 on: January 21, 2019, 10:07:58 PM »
Your guess is as good as mine:

In December, on a Saturday afternoon - sunny afternoon - from several houses back, across the road came this mysterious noise in my street.

It sounds a bit like an electrical transformer but it is not that. It is not an air conditioner as well.

It sounded for about 5-10 minutes of which I recorded 3 minutes of it.

What do you think such a noise would come from?

Attached sound clip.


Offline Rick Nasher

  • Hero Member
  • *****
  • Posts: 652
Re: Logic Question
« Reply #103 on: January 24, 2019, 11:50:12 AM »
Ok, either aliens landed in your backyard or is some kind of weird trance music, electrical device, generator, grinding tool, blowdryer, meatslicer(butcher shop or garage near?), aircrafturbine, vacuumcleaner or something of the sort.

What's the temperature round there, otherwise could be a heating device too?

This audio clip makes for a great suspense sound though, like walking round in a 3d game and expecting something could happen anytime just round the corner. Like in one of these old radio-plays where they would have an entire audio story unfolding. I had speakers up and almost feared the last few sounds were gunshots, then luckily things proceeded. Probably a gate/door or something slamming?
_______________________________________
 B3D + physics + shaders + X-platform = AGK!
:D ..ALIENBREED *LIVES* (thanks to Qube).. :D
_______________________________________

Offline Matty

  • Hero Member
  • *****
  • Posts: 608
    • MattiesGames
Re: Logic Question
« Reply #104 on: February 24, 2019, 01:18:02 AM »
Good morning,

You may remember I mentioned a technical puzzle that occurred on my server where I received over 900 emails to my spam, 1 per 10 minutes, from October 30 to mid November.  As I described last time, the scheduled job that was created was not mine.  It was unusual.  I changed my web server password but it was most curious.

Anyway, something slightly similar occurred again this morning which is very hard to explain as anything random or glitchy.

My game 'the young prince' allows users to save their game.  This save game file is stored on the device, not the server, in a reasonably protected location.

The save file stores the details of the characters, their equipment and so on.

Sometimes,  these save files do become corrupt if the save file is left for too long. 

When I went to play this morning I found the characters had all been changed.  At first I wondered if it were a random glitch or data corruption.

However,  one feature-the character names-indicates it cannot be a random glitch.  Why?

If the data was corrupt a name like John or Roger or Savannah might change to gibberish.  However this was not the case.

You might ask why I would notice the names of the characters changing?   Well, last save game had a mix of warriors in armour and male characters and multiple colours.

These were all changed too.

There were now 3 female characters,  all with no equipment and green uniforms and 1 male character with no equipment and a pink uniform.

Interestingly the layout of the no equipment is impossible to create in playing the game, only by modifying the save file.

So.....very weirdly someone had changed the names of the characters from one set to another along with the clothing and gender of the characters.

All of this is most unusual.

If you were to suggest I did it then I could not have, since I lack access to the save file or the ability to set no equipment for tbe characters.

If you were to suggest it was a random glitch then the character names should have been junk, not converted from say Roger to Amanda for example.

The other option is that it was changed by design by someone-but that is rather peculiar.

One might say that my server was hacked in the past so why not again?  Well, the really interesting thing is that the save file is stored locally, on my tablet-so if it was edited it was edited on my device either remotely or directly.  But how bizarre is such an idea?

The most reasonable non 'conspiracy theory' idea is that the data was corrupted somehow-but the non gibberish altered names disproves that possibility.


And so we are left with an unusual situation that is best explained by interference from a third party, though such an idea is preposterous and crazy.

At this stage I cannot find any alternative solutions to this particular puzzle.