Categories
Development User Help

Upgrade VERTICA –> update_vertica –> Error: setHost called with empty host list

If you run update_vertica and get the following error you are probably using sudo which break the script. To fix the problem try first: su – root Error: setHost called with empty host list Traceback (most recent call last): File “/opt/vertica/oss/python3/lib/python3.7/site-packages/vertica/install/init.py”, line 1501, in run_install _installMain(options) File “/opt/vertica/oss/python3/lib/python3.7/site-packages/vertica/install/init.py”, line 1161, in _installMain if not SSH.installOrRepairSSHKeys(installerSSH, […]

Categories
Development Linux

GParted taking +50h to resize a 900GB partition?

This is the situation: I have a 1TB hard drive with a 900GB HFS+ partition and 480GB of data. I’ve decided to shrink that partition to 500GB so I have space for another partition. However, GParted has been running for 50 hours with no sign of it finishing anytime soon. The shrinking was to the […]

Categories
Development User Help

How do I stop Windows 10 from listing files in groups EVER?

With almost no exceptions, I want simple thumbnailed view for any folder, search results or file listing with the rare exception when I want to sort by name or size (in which case I briefly switch to details and then back). Since the recent update (it seems), I keep finding folders in grouped view. Is […]

Categories
Development

expected primary-expression before ‘||’

newbie here messing around and i encountered this error: expected primary-expression before ‘||’ token. checked ever posti could find with similar issues but whith no luck. any help greatly appreciated! #include <iostream> #include <string> using namespace std; int main() { string txt; while(txt == “”) || (txt == ” “); { cout << “Please enter […]

Categories
Development User Help

Can’t accept pop-up for “block” or “allow” alerts in android chrome

I have Moto G6 play Oreo 8.0.0 and I can’t reply to alerts like approving access to the microphone. Things I’ve tried: rotating the phone to Landscape killed the Display Over Other Apps for twilight

Categories
Development

Read values in dataframe and store it in a vector

I have a dataframe like this X 2001,2002,2003 JAN NA,1,2 JUN NA,2,3 DEC 1,2,NA I want an empty vector to store values and generate a time series What can I do Intended output formated by month and year, omit NAs output=c(1,1,2,2,2,3) How can I do?

Categories
Development User Help

Thunderbird saves multiple local copies of emails that are tagged with multiple gmail labels

I have Thunderbird v. 68.5.0 set up with a gmail-account via IMAP. Unlike claimed here thunderbird-and-gmail, in my case Thunderbird saves an email multiple times if that email has multiple labels attached to in gmail. For example: I created two labels, ‘test1’ and ‘test2’, sent an email to my account, then applied both, ‘test1’ and […]

Categories
Development

Getting the average of two time in excel cell

Hi guys i want to create a cell that get the average time of two cells

Categories
Development User Help

Windows successfully boots after power outage being in sleep mode

So, something weird is happening here. The scenario is as follows: I put the computer to sleep A power outage occurs Power gets back I start the computer It boots normally as if power never went out (Resuming Windows shows up) At first it is a bit laggy but then it becomes perfect Umm, I […]

Categories
Development

How to use Betafix with the Coxphw package in R?

I am trying to use the coxphw package to fit a weighted cox model and force a fit for a particular Beta “FC” to be greater than 0. When I enter the code: wcox.m<-coxphw( Surv(CCE,Status)~ Y1RT + Y1 + Y1SQ + Y1*B1 + B2 + B3 + B4 + B5 + Y1*B6 + C2+ C3 […]