legal – Can I play erotic video games (digital version) in the UAE?

I’ll start working in Dubai next month and now plan to install some downloaded video games and porn films to kill certain time.

Reading many Q&A in TSE, I learn that:

  1. Don’t use a VPN to watch porn,
  2. Don’t bring too many sex toys,
  3. Don’t let anybody know of one’s masturbation,
  4. No flirting in public.

So here is what I plan to do.
I’ll install all those dirty videos and games on my laptop before entering the UAE. They don’t require Internet access, but some of them are Steam games. I will use them only in my private space. (Nobody will spy on me there, right?)

By doing so, is there any possibility that I’ll get fined, imprisoned, or expelled?

c# – Displaying digital clock with no lag in seconds

The problem

There’s several ways to generate an event in app once per second. Various Timer class or loop with await Task.Delay(1000) can be used. But all the solutions make a visible lag when displaying seconds.

That’s because the intervals which was set to delay interval doesn’t include the delegate execution time. The interval is time between end of executing previous delecate and start of the next one.

Thus 1s interval exactly more than 1 second. It looks like missing the seconds on display 1-2-3-4-6-7-8-9.

The workaround if call display refresh more often e.g. each 200ms, then the lag between change seconds on display would be betweeen 0.8s and 1.2s. Probably it solves the issue because is missing no seconds but displaying interval is still not linear. Other side effect is too often display refresh (can be prevented with comparing previously displayed time with current which adds more complexity in the code).

The solution

I created an easy solution without polling and workarounds. Just call the delegate exactly once per second.

public class ClockTimer
{
    public event EventHandler<DateTime> Tick;
    private CancellationTokenSource _cts;

    public async void Start()
    {
        if (_cts != null)
            return;
        try
        {
            using (_cts = new CancellationTokenSource())
            {
                while (true)
                {
                    DateTime date = DateTime.Now;
                    Tick?.Invoke(this, date);
                    await Task.Delay(1000 - date.Millisecond, _cts.Token);
                }
            }
        }
        catch (OperationCanceledException) { }
        catch (Exception ex)
        {
            Debug.Fail(ex.ToString());
        }
        _cts = null;
    }

    public void Stop()
        => _cts?.Cancel();
}

Test case

static void Main(string() args)
{
    ClockTimer clock = new ClockTimer();
    clock.Tick += (s, d) => Console.WriteLine(d.ToString("HH:mm:ss.fff"));
    clock.Start();
    Console.ReadKey();
    clock.Stop();
}

Output

13:23:45.413
13:23:46.076
13:23:47.008
13:23:48.020
13:23:49.006
13:23:50.001
13:23:51.011
13:23:52.011
13:23:53.007
13:23:54.016
13:23:55.003
13:23:56.013
13:23:57.012
13:23:58.011
13:23:59.007

Looks like it works. The precision here only depends on async overhead of Task.Delay. In comparison to polling looks like 0.02s accuracy is better than 0.4s.

Does the solution looks fine? Can I improve something?

I see the possible bug in thread-safety: if I call Start() concurrently multiple times at the same moment, it can lead to unpredictable behavior like unstoppable event firing caused by _cts overwrite. But I have no idea how to deal with it, and thread-safety is not a goal of this solution.

Anyone Ever Used Digital Point?

I have not ever tried advertising with Digital Point

For advertising, I would go with WebmasterSun
It has good active members and high traffic site also you can advertise on it with low price.

Hope it helps!

 

legal – Can I play erotic video games (digital version) in UAE?

I’ll start working in Dubai next month and now plan to install some downloaded video games and porn films to kill certain time.

Reading many Q&A in TSE, I learn that:

  1. Don’t use VPN to watch porn,
  2. Don’t bring too many sex toy,
  3. Don’t let anybody know of one’s masturbation,
  4. No flirting in public.

So here is what I plan to do.
I’ll install all those dirty videos and games on my laptop before entering the UAE. They’re not internet-required but some of them are steam games. I will use them only in my private space. (Nobody will spy on me there right?)

By doing so, is there any possibility that I get fined, prisoned, or expelled?

Nikon D40 has a rectangle with yellow ‘waves’ in it on the digital screen

The only thing that comes to my mind would be the histogram:

enter image description here

Hit the ‘play button’ so you see the single image (with histogram). Then hit the ‘up’ or ‘down’ buttons on the wheel on the right side of the back of the camera.

That cycles through two information screens, histogram and regular display.

Does windows digital entitlement do anything more than activate your copy of windows?

So I understand the basics of how windows digital entitlement works, your hardware fingerprint is sent to windows activation servers and if it matches a machine that’s already activated windows once before your copy is automatically activated, but I was also wondering if this is the only thing this process does, effectively changing an activated = false to an activated = true in your machine, or if it actually carries any data about the machine before like settings, files, logs etc. I wiped my computer for a fresh install of windows as I am thinking of selling it, but would like the peace of mind that this is essentially a new pc. PS. My activation is not tied to my windows account, and this new instance of windows uses no Microsoft account and only a local account.

d40 Nikon has a rectangle with yellow ‘waves’ in it on the digital screen


Your privacy


By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.




digital signature – Why are LMS and XMSS no candidates in the Post-Quantum Cryptography Standardization process?

Why are Leighton-Micali Signature Scheme (LMS) and eXtended Merkle Signature Scheme (XMSS) no candidates in the NIST Post-Quantum Cryptography Standardization process?
Both are mentioned in the final draft of Recommendation for Stateful Hash-Based Signature Schemes.

I was expecting that both algorithms are candidates in the standardization process as well, but it seems that they weren’t even submitted. Can anyone explain why? If they are not considered as candidates for a new standard why does the Recommendation for Stateful Hash-Based Signature Schemes exist and mention exactly those two algorithms?

Is the recommendation just a temporary standard until the standardization process is finished?

FilipMP Digital marketing agency for $20

Creating content and article writings for blog posts, websites, social medias and editors 
social media influence marketing, Ads for websites, blogs and any other business ideas.

by: FilipMP
Created: —
Category: Article Writing
Viewed: 149


.

How can digital signatures assure the sender their message has been correctly received?

PKI ensure that if the message reaches its destination it has not been altered (if signed with sender private key) and/or has not be compromissed (if crypted with recipient public key).

If the sender wants to make sure that the recipient has actually received the message, a higher level protocol must be used. For example the recipient could send a signature of the original (optionaly decrypted) message using their private key. So if the round trip:

A -> message signed with A private key -> B
A <- signature of the original message with B private key <- B

completes, then A can be sure that B has received the correct message.

If you do not set up that round trip, even with modern system where the sender can be sure that the message reaches the recipient system, you have no protection against the message being destroyed between its arrival on a machine and the moment when the human being named B could read it.

This would be more or less an implementation of what was the QSL in the early days of radio frequency message (mainly using Morse code). BTW that QSL was still in use in the 80’s to ensure that a message had been received and understood (*): until the sender had not received a QSL to message number xxx they periodically try to send it again or try a phone call to know whether the recipient system was off or out of use (at least at French Met Office).


(*) as QSL to message … had to be manually sent, it meant that somebody could read the message number and declared having understanded the full message.