time – Failed to set ntp: NTP not supported

Mu Ubuntu 20.04 suffers from time synchronisation problems. Particularly:

v@v-VirtualBox:~$ timedatectl
               Local time: Sat 2021-05-01 09:30:44 EEST
           Universal time: Sat 2021-05-01 06:30:44 UTC 
                 RTC time: Fri 2021-04-30 16:05:23     
                Time zone: Europe/Riga (EEST, +0300)   
System clock synchronized: no                          
              NTP service: n/a                         
          RTC in local TZ: no                          
v@v-VirtualBox:~$ sudo timedatectl set-ntp on
(sudo) password for v: 
Failed to set ntp: NTP not supported

What could I debug?

fa.functional analysis – Decay estimate of Fourier transform of a compactly supported function

Assume $f(x), x in mathbb{R}$ is a function with a compact support such that its Fourier transform $hat{f}(xi)$ has a decay rate
$$hat{f}(xi) lesssim frac{1}{|xi|^gamma + 1}$$
for some $gamma ge 1$.
Now set $$h(x) = xf(x).$$ Since $f$ has a compact support, $h$ should have similar or better regularity than $f$. Can we now get the following decay estimate of the Fourier transform of $h$ ?
$$hat{h}(xi) lesssim frac{1}{|xi|^gamma + 1}$$
I know now we have $hat{h}(xi) = -ipartial_xi hat{f}(xi)$, but it seems hard to only use this relation to get the decay estimate.

linux – TypeError: ‘>’ not supported between instances of ‘method’ and ‘int’, but in this case the ‘method’ is a number

I’m new to creating videogames with python (in the porgram I am using turtle) and I got this error:

Traceback (most recent call last):
  File "/home/barbieri/pong.py", line 75, in <module>
    ball.setx(ball.xcor() + ball.dx) # make the ball move (xcor = current cordinate)
  File "/usr/lib/python3.7/turtle.py", line 1808, in setx
    self._goto(Vec2D(x, self._position(1)))
  File "/usr/lib/python3.7/turtle.py", line 3158, in _goto
  File "/usr/lib/python3.7/turtle.py", line 755, in _pointlist
    cl = self.cv.coords(item)
  File "<string>", line 1, in coords
  File "/usr/lib/python3.7/tkinter/__init__.py", line 2469, in coords
    self.tk.call((self._w, 'coords') + args)))
_tkinter.TclError: invalid command name ".!canvas"

for these lines of code:

while True:
    # Move the ball
    ball.setx(ball.xcor() + ball.dx) 
    ball.sety(ball.ycor() + ball.dy)

    # Borders
    if ball.ycor() > 290:
        ball.dy *= -1

Can somebody help me? Python version: 3.7.3. Linux operating system.

I am following a tutorial that uses python 3.6, that could be the cause or it’s the same?

Why is S4 sleep state (hibernation) not supported in Windows-on-ARM devices?

I’ve been eyeing a tablet from a few years ago, which has Windows 10 on ARM (a Snapdragon 850) and therefore promises really good battery life.

However, after digging through several reviews, I stumbled across a statement in passing–as if it’s totally not important!–that “there is no hibernate mode” in this computer. Maybe I’m weird, but that’s rather important to me! From some more digging, I eventually found (source) this:
enter image description here

There’s that tiny text at the bottom right, stating that S4 is only supported on x86/x64–meaning, not on ARM.

So, I’m curious, why is it that S4 cannot be used with a Windows-on-ARM device?? Where exactly is the technological limitation coming from?

It’s quite disappointing to me. I don’t understand why people would find a ~5 second wait for waking from hibernation to be too much. I love the option to put my PC in a state in which all my browser windows/tabs and any other applications stay open, the power usage is lower than S3, AND all the LEDs are completely off (unlike S3 state, in which the power LED is usually blinking or something).

Quartz.Net: Connection parameter not supported: ‘DATABASE’

I have a Quartz for .Net service that retrievs data from an Oracle 12c database using System.Data.OracleClient. I am able to connect and get values when attempting this from a Console application but once I migrate the code and bundle it into a Quartz scheduler service I get the error

Connection parameter not supported: ‘DATABASE’

I have implemented this on several Quartz.net jobs that connect to Sql Server without any issues. It appears this problem is particular to connection strings for the Oracle provider.

My Quartz service implementation is taken from the example here :


and my connection string is as below :

<add name="FCUBS" connectionString="user id=MYUSERNAME;password=mypassword*;data source=" />

and for context the accompanying query operation is :

public static double GetExchangeRate()
        var flex = new FrontOfficeTransaction();
        double rate = 0.00;
            using (OracleConnection connp = new OracleConnection(FCUBSConnection))
                OracleCommand cmd1 = new OracleCommand("select * from fgpreprod.xxxx_rates where ccy4 in ('USD','GBP') AND ccy2 in ('USD','GBP') and branch_code='089' and RATE_TYPE='MIDRATE'", connp);
                OracleDataReader dr1 = cmd1.ExecuteReader();
                while (dr1.Read())
                    flex.ExchangeRate = Convert.ToDouble(dr1("MID_RATE"));                       
                    rate = flex.ExchangeRate;
        catch (Exception ex)
        return rate;

I have tried using Server instead of data source as per suggestions from some sources but I still get the same error :

<add name="FCUBS" connectionString="user id=MYUSERNAME;password=mypassword*;Server=" />   

raspberry pi – PuTTy error: No supported authentication methods available (server sent: publickey)

Estoy intentando conectar el ordenador a la Raspberrrypi 3B+ mediante putty.

Para la cual he instalado PuTTy.
Después de poner la ip de mi wifi en la sección de “Host Name” del programa PuTTy y el número de puerto en “Port” le doy a open y me aparece una ventana con el mensaje “login as:”
(acorde con mi raspberry el nombre de usuario es pi asi que lo pongo)

y me arroja el siguiente error:

“No supported authentication methods available (server sent: publickey)”.

¿Qué estoy haciendo mal para que me de este error?

Gracias de antemano.

How to know which BMCs are supported by OpenBMC (open source BMC)?

Any idea how to get list of supported BMCs for OpenBMC https://github.com/openbmc/openbmc ?

For example I have a motherboard (X8SIL-F) with Nuvoton WPCM450 BMC.

Pi4 Usb Trim support automatically supported?

I’m thinking of installing Ubuntu 64bit Desktop onto my Pi4 (4GB) Will be using my USB SSD drive. I have the firmware update that allows USB 3 booting on my Pi4.

I have it up and running on Raspberry Pi OS, only problem was I had to do awful lot of messing about to get TRIM working (using ASMedia bridge chip). It’s all working fine now.

Does Desktop Ubuntu for the Pi4 support TRIM automatically on setup on USB 3 boot?
Or will I have to mess around getting TRIM working again?

is it supported to add "Office 365 group" in "SP groups"?

I have a modern SharePoint site – this site is connected to O365 group A.

I want to share one folder in this site with O365 group B Members.

So the question is – Is it supported?

How to fix : ‘Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.’

I need your help to fix this problem. I tried all the solutions from this website https://wp-staging.com/how-to-fix-the-error-cookies-are-blocked-or-not-supported-by-your-browser/ but anyone of them worked.