Categories
Mastering Development

SQL table design with common and distinct data

I’m new to SQL and was wondering how to design tables when some data is common and some data is distinct. This is not a real example, but it illustrates the point. I want to store data about various items. All items have some common data – ID, Name, Description, CountryOfOrigin, UseByDate, etc. However, depending […]

Categories
Ask Biology

electrostatic charge of viruses, especially Coronaviruses

I am searching for (and failing to find) literature about the electric charge (+/-) of viruses, specifically the Coronaviruses. I am aware that it is a complicated issue, including interaction of pH and electrostatic charges, etc. However, I note that electrostatic charge of various materials is investigated for barrier protection, suggesting that there are normal […]

Categories
Artificial Intelligence (AI) Mastering Development

Trading AI (Deep- vs Machine Learning)

As I want to start coding a new Trading AI in this year (first based on Python and later maybe in C++) I stumbled over the following question: Today I would like to make a pro/contra list with you in the area of Deep- vs Machine Learning. The difference should be clear to most of […]

Categories
Linux Mastering Development Ubuntu

How to transfer files from remote server to my local desktop using jump host (? gateway server?)

I may be using wrong terminology because I am new to this, so let me clarify in layman’s terms. So, I have to access the files on my work desktop, from my laptop at home. I have been provided with a username, an IP Address and the password to what I believe is called the […]

Categories
Linux Mastering Development Ubuntu

Ubuntu 19.10 Dock keeps unwanted apps permanently. How can I remove them?

In Ubuntu 19.10, multiple corpses of apps remain in the dock after they are closed. These are all apps opened from the terminal (display, ncview, etc). However, not all instances of the opened application remain. It looks random. Restarting the computer doesn’t get rid of them. They are piling up now so any new app […]

Categories
Mastering Development

Boto3 EMR: List all tasks in Boto3 instead of list all steps

Using Boto3’s list_steps function, I can get a clean list of all the steps that were submitted to an EMR cluster, together with the status (completed, running, etc). However, this only seems to report on Cluster Steps, rather than Job Tasks (aka. jobs submitted directly to the cluster via Hadoop or Hive). This link provides […]

Categories
Ask English Speaking

Why does “prayer” end with -er?

Why is the noun form of pray “prayer”? Typically, -er is tacked onto the end of verbs to denote a person or thing that does the verb. Hence, print(er), compute(r), write(r), watch(er), do(er), etc. Alternatively, the noun of the verb to denote the verb itself is often the same base form: address, change, stare, prey, […]

Categories
Development

Custom Campaign tracking Cross-Domain Google Analytics

I have successfully implemented Cross-Domain tracking with Google Analytics (1 session as user jumps across domain, same _ga cookie on both domains, etc.) However, when the user jumps to the second domain and completes a purchase, the eCommerce transaction is not getting attributed to the utm custom campaign from the first page. It seems you […]

Categories
Development

Corda – How to use token SDK utility functions with Java

I’m working with the Corda Token SDK within a CorDapp written in Java. I’m having issues with some of the utility functions (ex. “addMoveFungibleTokens”). My worksflows build.gradle has the following dependencies: cordaCompile “$tokens_release_group:tokens-contracts:$tokens_release_version” cordaCompile “$tokens_release_group:tokens-workflows:$tokens_release_version” cordaCompile “$tokens_release_group:tokens-money:$tokens_release_version” This allows me to successfully use many of the TokenSDK classes, for instance TokenType, IssueTokensFlow, etc.. However, IntelliJ […]

Categories
Development

R – Defining a function which recognises arguments not as objects, but as being part of the call

I’m trying to define a function which returns a graphical object in R. The idea is that I can then call this function with different arguments multiple times using an for loop or lapply function, then plotting the list of grobs in gridExtra::grid.arrange. However, I did not get that far yet. I’m having trouble with […]