Categories

## Lambda timeout when adding an edge using nodejs to aws neptune using gremlin

We are trying to add an edge between two vertex using nodejs running in Lambda and aws neptune. We can easily add a vertex, but when we try to add and edge Lambda timesout. Our time out is set to 20 seconds. Here is the code. async function updateDoc (db, dataTmp, now, id, callback, logData, […]

Categories

## django-private-storage configuration in nginx and Docker

I am trying to use django-private-storage package to protect a model’s file from being accessed or downloaded by users who are not owners of the file. I was able to do it successfully in development (using python manage.py runserver) In development, I am using nginx configured via docker. I can create objects with both FileField […]

Categories

## Cannot install software – Lubuntu 20.04 on Raspberry Pi 4 (installed via Ubuntu server)

I have installed Lubuntu 20.04 on a Raspberry Pi 4 using the Ubuntu server 64 bit image, the installation went fine, everything seems to work just fine but I’m having a peculiar problem when adding users and installing software. This is the problem, apparently only ONE user can install software, if there are more than […]

Categories

## Is it possible to run rsync dry-run, confirm, then real run in one command (without having to give the password again)?

Now, working from home, I do some work on my home computer (because the vnc connection is too slow for it) and some on my work computer (because it is only possible there). Therefore I have a copy of the folder (and all of its contents) in which I keep the work on both computers. […]

Categories

## Is it possible to run rsync dry-run, confirm, then real run in one command (without having to give the password again)?

Now, working from home, I do some work on my home computer (because the vnc connection is too slow for it) and some on my work computer (because it is only possible there). Therefore I have a copy of the folder (and all of its contents) in which I keep the work on both computers. […]

Categories

## Unit derivation concerning Nernst equation

We know that Nernst equation is given by: $E=E^{\circ}+\frac{RT}{nF} \;ln[M^{n+}]$. Now, A question asks me to derive the unit of $\frac{RT}{nF}$. Which I think can easily be derived this way: $\frac{RT}{nF}=\frac{E-E^{\circ}}{ln[M^{n+}]}$, Now, the unit of $E-E^{\circ}$ is volts (since it is emf), and $ln[M^{n+}]$ is just a constant numerical value. Hence, I think the unit […]

Categories

## NOW() within IF Formula stopped working

One of the formulas in my Excel tracker stopped working yesterday. The formula is: =IF(J2=”Done”,IF(L2<>””,L2,NOW()),””) I want to capture the time I finished a task in L2 when I choose “Done” from the dropdown list in J2. This formula has been working well for the past few months but it suddenly stopped working and Excel […]

Categories

## NOW() within IF Formula stopped working

One of the formulas in my Excel tracker stopped working yesterday. The formula is : =IF(J2=”Done”,IF(L2<>””,L2,NOW()),””) I want to capture the time I finished a task in L2 when I choose “Done” from the dropdown list in J2. This formula has been working well for the past few months but it suddenly stopped working and […]

Categories

## how to reverse the Bit operation in C

I have the following C program which will get the MSB, 2nd MSB, 3rd MSB and LSB for value now 1588800373). How do I reverse it? That is, If the program has time_0 = 94, time_1 = 179, time_2 = 43, time_3 = 117, how do I construct it back to now = 1588800373; #include […]

Categories

## Sqlite3: Select data from timestamp to x minutes

I have a set of data within a database that has a range of entries from a DATETIME timestamp. I am attempting to write a function that selects everything from a start time, to an end time which is defined by `’x minutes’. So for example, from my test database data set, I want to […]