Unidentified JS file on desktop

I noticed just then an unidentified file with a .js extension on my desktop. I double-clicked it before thinking about it and it opened as text with Pluma (my default text editor). Should I be concerned? I am attaching an image of part of the code. Here is part of the code Jma,Lma,d_,e_,Mma,Nma,Oma,h_,Pma,Qma,Rma,Sma,i_,g_,k_,l_,m_,n_,o_,p_,q_,r_,s_,t_,u_,v_,Tma,w_,Uma,x_,y_,A_,z_,B_,C_,D_,E_,F_,G_,H_,Vma,Wma,I_,Xma,Yma,J_,Zma,K_,L_,M_,$ma,N_,O_,P_,Q_,ana,bna,dna,ena,T_,U_,R_,cna,S_,fna,V_,W_,gna,X_,Z_,Y_,$_,a0,hna,b0,c0,jna,d0,lna,f0,mna,nna,g0,h0,i0,ona,j0,pna,k0,m0,rna,n0,o0,p0,q0,r0,s0,t0,u0,v0,una,z0,B0,C0,aa,ha,D0,Kaa,Rc,Ma,faa;ca=function(a){return function(){return aa[a].apply(this,arguments)}};…

Details

InvalidArgumentError: logits and labels must have the same first dimension, got logits shape [32,15000] and labels shape [2840]

I am building a multi output layer and I can’t get why I’m getting this error, d1 = tf.keras.layers.Dense(15000, activation=’softmax’)(d0) d2 = tf.keras.layers.Dense(17000, activation=’softmax’)(d0) full_model = model = tf.keras.Model([all_inputs], [d1, d2]) and I’ve compiled the model with sparse_cross_entropy loss but I keep getting that error, model.compile(optimizer, loss=tf.keras.losses.SparseCategoricalCrossentropy()) Why am I getting this error? InvalidArgumentError: logits…

Details

Cumulative Sum 2s back using range dataset

Im Kinda new to Python and Datascience. I have these two Dataframes : df Dataframe df = pd.DataFrame({“Date”: [‘2014-11-21 11:00:00’, ‘2014-11-21 11:00:03’, ‘2014-11-21 11:00:04’, ‘2014-11-21 11:00:05’, ‘2014-11-21 11:00:07’, ‘2014-11-21 11:00:08’, ‘2014-11-21 11:00:10’, ‘2014-11-21 11:00:11’, ‘2014-10-24 10:00:55’, ‘2014-10-24 10:00:59’], “A”:[1, 2, 5, 3, 9, 6, 3, 0, 8, 10]}) Date A 0 2014-11-21 11:00:00 1 1…

Details

Laravel send API request using GuzzleHttp

I am trying to send GET request using GuzzleHttp in laravel . using this code try{ $client = new \GuzzleHttp\Client( [ [‘curl’ => array( CURLOPT_SSL_VERIFYPEER => 2, CURLOPT_SSL_VERIFYHOST => 2, CURLOPT_HTTPAUTH=>1, CURLAUTH_BASIC=>1 ) ],[ ‘verify’ => false ] ] ); $res = $client->get(‘https://10.10.0.254:1025/restconf/data/ietf-system:system-state?content=all’, [ ‘auth’ => [‘restconf-api’, ‘rest.b’] ] ); var_dump ($res); } catch(String $e){…

Details

java.lang.NoSuchMethodError: org.openqa.selenium.support.ui.Wait.until(Lcom/google/common/base/Function;) using selenium-server-standalone-3.12.0

I’ve been struggling with selenium to fix this issue: java.lang.NoSuchMethodError: org.openqa.selenium.support.ui.Wait.until(Lcom/google/common/base/Function;)Ljava/lang/Object; This is where I get this error: Wait<WebDriver> wait = new FluentWait<>(getDriverInstance()) .withTimeout(timeout, TimeUnit.SECONDS) .pollingEvery(frequency, TimeUnit.SECONDS) .ignoring(NoSuchElementException.class); wait.until(driver -> { assert driver != null; elt.click(); return true; }); The most solutions on the internet suggest to use Guava 21, but this is not working…

Details