Latest Questions

Arrow style over the text using css

I am trying to apply an arrow style on selected ul, li elements. However, I am quite sure how to do that. So far I am able to do this below is my code. .a

JPA relationship for existing table and parent table

I have a table which has a foreign key relationship with an existing table and its child table. The parent table exists before the child table as is populated

SignalR firing OnConnectedAsync for users in a hub on another machine

Our Azure SignalR application is a bit of a hybrid, outgoing messages go into ActiveMQ then get picked up by a listener in a hosted service that receives them a

Trying to build a future context but my build method has an error

I have this code and the problem is that: 'ProfileView.build' ('Future<Widget> Function(BuildContext)') isn't a valid override of 'StatelessWidget.build'

Is it possible to left-align the row label in a Row Facet?

Is it possible to left-align the row label in a Row Facet? In this case the row field of "Sub-Category". For example, ... Accessories Appliances Art ...........

VS Code shows multiple versions on Finder control-click (right-click) action on MacOS

On the OSX Finder right-click (control-click) menu, I see: Selecting older versions actually seems to run the older version. I have only one package, named "Vi

Issue with display()/collect() Large DataFrame In Pyspark

Getting The Following Issue In PySpark to perform display()/collect() operation on top of a generated dataframe. The df contains single column & Row (JSON d

A Fix For A Flash Of Unstyled Content That Cancels Out Javascrpit

Below is the javascript that I'm using on my website, part of which is used to get rid of a flash of unstyled content when loading a web page. Part of the check

If cell contains ["text"], return ["text2"], else...leave it alone

I am using a shared spreadsheet from my company's Sharepoint site, so it's the "online" version of Excel. Basically, If text in column G equals "Classical", I n

Rest API GET Query working fine in Browser but why is it not working in Client software?

I made my own REST API with php coding and mySQL database. There is no Authentication. Just a GET call should retrieve mySQL table rows. <?php header("Acces

Extend golang struct/type from another package

I have done some reading and found similar threads but none seem to work for my use case. I am trying to extend mongo's primitive library specifically primitive

How to append to second last line in a file in NodeJs

I want to append to second last line of a file using NodeJs! I hope I am making sense. Thanks in advance My current code which appends to end of the file: fs.ap

Why do I get this error while calling predict in Keras?

I'm a newbie to Tensorflow, I've done many models but today when calling predict I get this error : ValueError: Exception encountered when calling layer "sequen

LABSE for bilingual sentence similarity

I am trying to run LABSE for bilingual similarity measurement. I am getting following error: AttributeError: 'tuple' object has no attribute 'pooler_output'

how to load the php file in the form action only after php submit button was executed

I am not a PHP expert. I have a form that has Captcha validation image. the form has a button "submit", and the code for the submit is within the same page (let

openpyxl problem Keyerror Content_Types.xml

I have a problem reading the code with openpyxl, until yesterday it works, and now it doesn't work anymore, I tried also with a backup copy but I have the same

How can I add line breaks to the prompt in a google apps script dialogue box?

I'm attempting to provide a multi-line prompt message in a dialogue box using g-app script. The resulting dialogue box would be: Content of line 1. Content of l

How to report ModelNotFoundException with stacktrace to Sentry.io in Laravel 6?

I am using below laravel 6 code to report exceptions to Sentry.io: public function report(Exception $exception) { if ($this->shouldReport($exception) &am

how to pass the smartcard info from one machine to another via ssh

question: I am logged into machinA with smartcard and using that smcartcard information I can ssh into the machineB by doing\ ssh -I pkcs11.so `machineB` Now

Slow down player's speed in air

I am working on a 3D game currently that is based on Unity's Roll-a-Ball tutorial. The problem that I have encountered, is that whenever my player jumps, its sp

Records updated in Compass keep reverting

I have a MongoDB instance hosted on AWS DocumentDB. There is only one node in the replica set, and this is MongoDB 4.0.0 Community edition. Twice now I've upda

Team Foundation Server - Unauthorized intermittently

Recently I've had this error pop up intermittently when trying to do things in a project: Checking In Changes Making edits to a recently unchanged file (checkin

How to create Liquibase changeset for below Postgres index creation statement - "using btree"

create index if not exists department_index on department using btree (department_id); How can I create a Liquibase changeset for the above Postgresql? I h

how can i implement or convert a python code to javascript to be used with tensorflow js

how could I use this code in python with tensorflow js? it is to occupy it with a model that was trained with the dataset tf.keras.applications.ResNet152(input_

(R) How can a bigger expression be written by combining shorter variable expressions?

Brief introduction, I have multiple data file that can be fitted by models based in mathematical equations that are a combination (by sum, mutiplication, etc...

Flask sqlalchemy: how to draw two foreign key relationships to the same table

How would I go about creating the foreign key relationships for a very simple friend request database schema in flask sqlalchemy. Both the requester and request

Transpose an image2d_t in OpenCL

I work on an image processing code base that uses image2d_t objects everywhere. These have their shape (width and height) formally declared which enables progra

Statistical Tests in R

I want to run Bonferroni P Adjusted Value Test on a stacked data set. This is my code: stat.2 <- stack.2 %>% group_by(modules) %>% t_test(values ~ phen

Instruction 0: incorrect program id for instruction. Works on devnet but not mainnet

I am trying to make a spl-token transfer from a user wallet. The code below works perfectly on the devnet but throws Transaction simulation failed: Error proces

Unity spriteRenderer error what i need to do?

i dont know what this means... Library\PackageCache\[email protected]\Runtime\InternalBridge\InternalEngineBridge.cs(21,35): error CS1061: 'SpriteRender