text
string
meta
dict
Q: How use Key Vaults in multi appsettings.json files? I'm using Azure Key Vaults to keep my connection strings safe. It's work well when I'm using just one appsettings.json file, but when I changed it to enviornment divided aproach, I receave an error message saying the connection string was not initialized, as the ke...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to debug CDC ACM probe failure I am working on a USB composite device that has two CDC interfaces. I started with chip supplier's composite demo, duplicated the CDC descriptors (with different endpoint and interface numbers of course), removed the unnecessary class descriptors and added support for a second CDC ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Which Ec2 aws instance to use for my project I am new to web deployment in aws. I have decided to use a vps on aws for deploying my flask app. I stumbled upon ec2 but I am confused which instance to use, if my e-commerce website gets aprox. 100,000 hits per month. Is 2gb ram enough with 2 core cpu? My website detail...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Getting Flutter error "No Media Query Widget Ancestor Found", even Though My Scaffold Widget is wrapped @override Widget build(BuildContext context) { return const MaterialApp( home: userAuthen(), ); } Widget build(BuildContext context) { return Scaffold( body: StreamBuilder<User?>( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Pandas Dataframe from dict of tuple keys and tuple values I have a Python dict like this: {(1,2):(3,4), (4,5):(5,9)} How can I convert it into a Pandas Dataframe like: key1 key2 val1 val2 1 2 3 4 4 5 5 9 A: Simple way using the DataFrame constructor and a MultiIndex: out = ( pd.DataFrame(d.values(), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Qliksense help please I keep getting an error even though I'm following a tutorial and copy and pasted the code, line by line after I kept getting it. enter image description here enter image description here enter image description here A: Looks like the variable quantity_threshold was misspelled in the WHERE clau...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to replace a synchronized block that uses a mutex with a reentrantlock To get the most benefit from the new virtual threads, its suggested to replace synchronized blocks / functions with reentrant locks. This is easy in many cases: public synchronized int size() { return map.size(); } Can be replaced with: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to solve "E:" error on kali terminal? E: Type 'deb[signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg]' is not known on line 1 in source list /etc/apt/sources.list.d/brave-browser-release.list i was trying to install brave browser
{ "language": "en", "url": "https://stackoverflow.com/questions/75557704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Pushing to array Added but not showing in map I push to an array in for loop with coundition that some of them adding in another way. they are all object but diffent in condition and then i set to useState hook but when i show the state it shows like this the length is 4 but when i open it shows 6 but all when i map...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gstreamer writing Custom element for frame processing I want to create custom elementwith python-gst to collect 60 frames then process all of them. Can anyone give me an advice? I tried do_transform virtual method but it takes one frame. But missing something and i don't know.
{ "language": "en", "url": "https://stackoverflow.com/questions/75557706", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Constructing a program-string for debugging C-code in/for launch.json I want to use vscode for debugging c-code on ubuntu. My buildsystem creates executable-files at a location that is pretty much constructed from the location and name of the .c file (e.g. source/modules/module1/test/aspect_test.c is built into buil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to do multi-column layouts in shopify 2.0 I'm upgrading from a themekit theme to shopify 2.0 and I'm trying to figure out how to do multi-column layouts. We have something like this. <div class="container"> <div class="row"> <div class="col-lg-8"> {% section 'blog-home-most-recent' %} ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Git pull and rebase I've somehow changed my git pull config where it does a rebase every time I try to merge develop into my local branch. I really hate rebase and just want to be able to 'Pull from develop' and checkout into my local branch and merge 'git merge develop' without it going through the rebase procedure...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: A program to display multiple choice questions gives error Following is a program that has a label, asks a few questions, and adds a label saying hello. check3.grid(column=2, row=4, stivky=tk.w) #Radiobutton Globals # COLOR1 = "Blue" COLOR2 = "Gold" COLOR3 = "Green" #Radiobutton Callback def radCall(): radSel ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Spring boot RequestMapping on root, how to exclude a directory for static file serving? My spring-boot web service with spring-mvc has a quite generic endpoint defined by @RequestMapping(value = "/**", method = RequestMethod.GET) For legacy/compatibility reasons it is hard to change that. My problem is that this ov...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find common substrings in more than two strings Given a database of thousands of strings, is there an algorithm to find common substrings between them? I've found examples of algorithms that work with pairs of strings, but I am trying to find an option that doesn't force me to compare every possible pair of s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert List? to List in C# I am trying to create a list of string which is not nullable in a test method I tried "String,int,bool,long".Split(",").ToList() and it is giving me a nullable List<string>? Edit : i found what i needed because i, i just needed to do List<string> a = "1,2,3,4,5".Split(',').ToList()...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Swift Packages: exclude developments resources/assets from package used in archived app When using Swift Packages in Xcode, is there a way to exclude files conditionally (in DEBUG or similar)? I know I can exclude files but I want them while in development. I have a package that contains developments resource/assets...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kernel pid terminated error in application_controller after upgrading and dockerizing Elixir/Phoenix application I'm upgrading an Elixir/Phoenix application from 1.7.4 to 1.11.4 and also dockerizing it. I've managed to update the dependencies and run it with iex -S mix phx.server. Also, I am able to generate a relea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: unable to clear app cache with android.os.storage.action.CLEAR_APP_CACHE I've been fiddling with the android.os.storage.action.CLEAR_APP_CACHE action. Here's the docs: https://developer.android.com/reference/android/os/storage/StorageManager#ACTION_CLEAR_APP_CACHE I have android.permission.MANAGE_EXTERNAL_STORAGE in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i change line in vsc for the same line of code? In Visual Studio Code how can my code change line when it goes to the end of the visible space? Instead of keep going to the right and forces me to use scroll bar?
{ "language": "en", "url": "https://stackoverflow.com/questions/75557729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Yandex Cloud Api Gateway Websocket Send Message Error I am trying to connect my project on VueJS 3 using websocket in Yandex Cloud Api Gateway. Here is the instruction https://cloud.yandex.com/en-ru/docs/api-gateway/tutorials/api-gw-websocket The example shows the connection method via wscat. Everything works. But w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557730", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: SELECT list expression references column AccountAge which is neither grouped nor aggregated I have daily data for the following variables, I want to create sumstats, so I am doing some computations for each variables. SELECT address, LAST_VALUE(AccountAge) OVER (PARTITION BY address ORDER BY date) as accoun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Maya API 2.0 setResult() always returns a list to caller I'm writing a Python API 2.0 command plugin. When "returning" a single item via MPxCommand.setResult(), whether its a float, int, etc, it ends up being returned as a list to the caller. I need only one float value. In python command 'getCustomPaintValue' I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: A three way toggle should display the same div with number of checkboxes one with Disabled , Checked and Unchecked in JS I have Three-way toggle, where Each on click should display the three different States. Disabled -- All CheckBoxes should be left UNCHECKED Default -- All CheckBoxes should be left CHECKED AND DIS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557743", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Reading Multiline JSON in flink using Table API I am trying to read JSON files where each element is in a new line using Table API, but JSON assumes we have every object in one line and throws an error. { "a":1, "b": "a" } CREATE TABLE my_table (entry ROW<`a` INT, `b` STRING>) WITH ( 'connector' = 'filesys...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: R - Remove some nodes from XML file I am stuck with this problem : I am using R. I would like to remove the parent nodes "uid", "seanceRef" and "sessionRef". I tried with remove_node() but it does seem to work. How can I do that? <?xml version='1.0' encoding='UTF-8'?> <compteRendu xmlns="http://schemas.assemblee-nat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Data extraction with pandas or lists? (Full disclosure - relative beginner with Python programming AND Pandas, however, am able to pick up things quickly and absolutely LOVE playing with / manipulating data to get what I want!) Hey there all - hope all is good with everybody. That said, I am working on a problem whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Filter for values with space from a Phonograph2 table in Palantir Foundry Slate I want to filter records from a Phonograph table in a query using Table Search Service, endpoint Search. The problem is (as far as I am aware of) the filter terms have to be low cap and contain no space. So if I search for "Grand Opening...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Classifying buyers into different groups based on purchase dates I would like to assign customers into one of these five groups, based on their historical purchases. Here are the definitions of those five groups. * *Lost - purchased in the prior 12 month period, but not current 12 month period *New - purchased i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to update an EF object due to error tracking I've got the following existing code var booking =await _orderRepository .QueryableSelect() .Include(i => i.OrderItems) .ThenInclude(i => i.OrderItemDetails) .ThenInclude(i => i.ProductInventoryAttributeVa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Iterate through postgres results and synchronously execute function on value I have a pg object being returned with URLs. I need to parse the URLs and synchronously execute a function on each URL. The function can take upwards of 2-3 minutes to execute since it is running a LightHouse test. I'm testing with 3 URLs....
{ "language": "en", "url": "https://stackoverflow.com/questions/75557754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Syntax Error : Cannot use import statement outside a module FAIL src/test/search.test.js ● Test suite failed to run Jest encountered an unexpected token Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Installation of certain es-lint extension packages fails Initial situation According to this blog-post it's good practise to use the following es-lint extensions for Angular projects: @angular-eslint/ng-cli-compat @angular-eslint/ng-cli-compat--formatting-add-on @angular-eslint/template/process-inline-templates The...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I access the url attribute in a user's groups in the Active Directory in C# I am listing the memberof information of the user. How can I access the url property value in the attribute properties of each member within the memberof group? user --Memberof1 ----Memberof1 group properties attribute url: ----Membe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i localize Laravel Sanctum "unauthenticated" error message? There is a similar question, where one asked how to change the unauthenticated message (How to change laravel sanctum return "message": "Unauthenticated."). However, I would like to localize it using my lang/en/auth.php, lang/de/auth.php files. Bot...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Attaching a dll I have made a dll, that makes windows 10 notepad customable, and it has a ui, but it needs to be injected. I have made a console injector in c++ and it works flawlessly, but i want a ui for the injector. I tried using CLR but it did not work. So i made this calsses in c# winforms: ` using Syst...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How we can grant API Permissions to our Azure Active Directory App to get access to a single SharePoint site instead of all sites We have created an Azure Active Directory App to be called from an Azure function>> and we define a certificate under it, to secure it >> as follow:- Then we defined that this Azure Ad A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tricontour plot doesn't make density zones I have 3 variables that are 1D arrays : x, z, y. I want to plot a contour graph but i dont have the relation between z= f(x,y) so im using tricontour plot. I get this figure, and i can see that for the graphs in the letf side we could get some contour lines but i obtain a k...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How would I monitor the current buffered items/logs on my AmazonKinesis sink? Currently I have configured AmazonKinesis as sink on my serilog logger, after using the logger when I dispose the same I would want to know if there are any events/logs still remaining in the buffer which are not processed. Below is the co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SASS Duplicating/Renaming a class containing map I have an existing SASS map that looks like this: @each $color, $value in $theme-colors { .old-name-#{$color} { color: $value; } } I want to keep .old-name in my CSS but create a new alias with new naming. For other areas I'm just using: .new-name { @ext...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: my open and close buttons in my react components aren't toggling I am trying to make my navbar mobile responsive, problems are (in mobile view): 1.Initially we get FaTimes (x) button instead of FaBars (hamburger). 2.And when we click on those buttons, the navbar does open and close but the button doesn't toggle, it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I use multiple objects with the same name for a same class? for(int i = 1;i<=n;i++){ System.out.println("Enter the name of "+ i + " : "); String name = sc.next(); if( name.length()==0){ Student obj = new Student(); }else{ Student obj = new Student(name); } } This is an abstr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to decrypt or deobfuscate luaT How can I decrypt this new Lua encryption method? https://pastebin.com/iS8UP5n7 I tried many methods. But I don't think I'm experienced enough. The result was negative. I've also used unluac. but the result is like this Exception in thread "main" java.lang.IllegalStateException: T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to calculate pandas data frame by date enter image description here I want date new column (Output) from df2['Date']. Condition: vlookup DEVICE_SN and first over date from df2['Date']. Take simple dataframe by dates. A: Here I have used two lambda first to get the list of greater than dates of each ID, in ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to solve single class prediction problem in MLP while trying to develop it from Scratch with numpy I am trying to write a MLP snippet from scratch. I have written the mlp class like this with the softmax activation as doing a 3 class classification. But getting a single output every time. Here is my MLP class: c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Turbo frame rule Response has no matching i am unable to reproduce turbo-frame error "Response has no matching " in my rails 7 application index.html.erb <main class="container"> <%= turbo_frame_tag "first_turbo_frame" do %> <div class="header"> <h1>Quotes</h1> <%= link_to "New quote", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: R pivot_longer preserving pattern I have the following dataframe: df_1 <- data.frame(Name = c("Farms", "Mining", "Wholesale trade"), tot_int = c(23, 41, 32), comp = c(24, 25, 65), tot_int = c(25, 96, 12), comp = c(50, 12, 43)) wher...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: moodle sql query I need sql query that counts unique users per course per day, and per month I tried this but get only a number without specifying months or days or courses
{ "language": "en", "url": "https://stackoverflow.com/questions/75557790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How do I use multiple foreign keys in SQL database How can use multiple foreign keys in a SQL database in different tables? I tried to create two different tables with different names and I created a primary key in one of the tables and I wanted to use in other table as the foreign key but it failed.
{ "language": "en", "url": "https://stackoverflow.com/questions/75557791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: Run the same notebook with different parameters in parallel pyspark I have a list of names to which I would like to run the notebook, but not one by one. Instead, I want to run the notebook for all names in parallel. With the code below,I run the notebook for every name one by one. one the notebook is executed it wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to test JPA adaptor steps in Spring Integration Flow I have an integration flow (simplified version below) which has multiple steps with JPA adapter. With the first one, i'm getting the existing record from database with the id, and in the second one, saving the updated entity into the db. @Autowired private Ent...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557794", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Prevent Node.js worker crash from propagating to main thread I'm using Node.js workers to run resources-intensive units of work in isolation, and to be able to keep the system alive in case one of them crashes badly. However, when a Node.js worker crashes it seems to cause the main process to crash as well, and I co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Azure - How to get the management group from a subscription? I need the REST API that can get me the management group when a subscription is provided as input.
{ "language": "en", "url": "https://stackoverflow.com/questions/75557797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Insert multiple rows based on certain conditions Can you please help with a VBA solution on how to increment rows(output) based on certain existing rows(input) I'd like to insert multiple rows based on "No of rows" column and for each row to concatenate certain value cell with incremental value. Also for dates, I'd ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Use python to interact with microsoft access with pywin32 I'm trying to execute a function in vba inside a ms access db with python. I tried this: strDbName = "PathToMyDb" ac = win32com.client.Dispatch ( "Access.Application" ) ac.OpenCurrentDatabase ( strDbName,False) ac.Run("Performance_Attr_ModuloXX") ac.Applicati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: BulletSharp has ungodly behaviour Okay, I know the title is pretty bad but idk how to call it. https://streamable.com/0inzvu See that? What even is that? All of the Physics Related code: internal static DynamicsWorld world; static CollisionConfiguration conf = new DefaultCollisionConfiguration(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557802", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pipe the output of screen to another program I'm reading the output of a usb. I started reading with screen, but I needed the output in hex. Then I tried reading the hexdata with sudo cat/dev/ttyUSB0 | hexdump -v -e '/1 "%02X "' | tee /tmp/hexdmp.txt. This worked, but I needed a way to see the timing of the p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557808", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Pactumjs - Cucumber: store token from response I'm new to Pactumjs. I have a problem in a cucumber step when I want to store my bearer token to reuse it in another cucumber step. Given('I call the login service', async () => { await pactum.spec() .post('/api/rest/login') .withHeaders('Content-Typ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My powerbank is a 65W, but the output port gives a maximum of 30W(5V~6A). Why? I recently bought a 65W powerbank. It has multiple power output ports like USB A, mini-USB, USB type C and so on. But none of the ports give an output of 65W. the maximum is 5V at 6A which is 30W. Why is this? Have I understood the wattag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why Array.split() have different behaviors with regex? let str = 'public/uploads/abc/user'; // i want to split array at 'uploads/' let arr1 = str.split(/uploads\//); // so provide regex to split method console.log(arr1) // the result is "['public/', 'abc/user']" which is fine // but now supppse, i want to match...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I get value from radio and alert checked value? I made a radio input type. When I check radio 1, input text 1 appears. When I check radio 2, input text 2 will show. When I check radio 3, input text 3 will appear.  and i will get value from checked input thank you in advance check1 = document.getElementById...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CoreWebView2 WebResourceRequested redirect url SetHeader cookie not set I use WebView2 to login into a website and set the session cookies for each request inside WebResourceRequested with code: wvBrowser.CoreWebView2.CookieManager.DeleteAllCookies(); e.Request.Headers.SetHeader("Cookie", cookieshere); The websit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Appium with WebdriverIO: Using webview CSS with Page Object Method: Is this syntax correct? I have done a video that will explain it in detail here. But basically I need to know the correct syntax when using a CSS with a page object model in an appium with webdriver automated test. I've normally used just used nati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: when i use the Log4j 1.x bridge (log4j-1.2-api),but Caused by: java.lang.ClassNotFoundException: org.slf4j.impl.Log4jLoggerAdapter log4j2 performs better, but the jar in my dependencies uses log4j, which causes warnings. Because it depends on slf4j-log4j12. So I follow documents: https://logging.apache.org/log4j/2.x...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to have a key "Start" and then "Stop" a function? I want to achieve the following: I press and release the C key, and the letter C is typed, as normal. But instead, I want to press and release the C key, and have CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC.. typed continuously until I press C ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Travis CI is skipping test cases automatically I've integrated my rails app with Travis CI for test suite. here is my travis.yml sudo: required dist: bionic language: ruby cache: bundler: true directories: - $HOME/.rvm/ rvm: - 2.7.7 branches: only: - master before_script: - cp config/database.travis.ym...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Single page deployment of oracle apex using SQL developer Currently we export a application entirely from Apex development workspace and run the below commands to deploy in a different environment Apex_application_install.get_application_name; Begin Apex_application_install.set_workspace(above statement result ); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular app runs fine on my machine but after I build a Docker image it gives me "ERROR [node 6/6] RUN npm run build --prod" error Here is my DockerFile. I also have .dockerignore with (node_modules; .gitignore). #stage 1 FROM node:alpine as node WORKDIR /app COPY . . RUN npm install #RUN npm install -g @angular/cl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am trying to make a button for a game but it says I am trying to compare a number with a nil It says that I am comparing a nil with a number, but I don't think I am. The nil is an input on where the x and/or y values of where I am touching the screen inputX and inputY but it states they are nil value but they are ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tensorflow : compute TF gradients with a numpy/raw loss function? I have a model that I'm trying to fit, with bounds and contraints on the variables. It appears that Python scipy.minimize algorithms L-BFGS-B or SLSQP don't work for this problem, so I wanted to try Tensorflow adam algorithm which is, as far as I unde...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SCONS PDB unable to find my file, even after I explicitly append it to the system path I'm trying to debug a scons file as follows: scons --debug=pdb. When I try to set a breakpoint in SConstruct using b SConstruct:24 I get an error: *** 'SConstruct' not found from sys.path My SConstruct file is in the current dir...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why am I still getting Errno 24 errors after changing the file limit? I'm trying to turn a series of images into a gif in Ubuntu-hosted python 3. def make_gif(frame_folder): frames = [Image.open(image) for image in sorted(sorted(glob.glob(f"{frame_folder}/*.png"), key = lambda x: (os.path.splitext(os.path.basename(x...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to expose a Docker port on host while avoiding NAT translation? By default, traffic entering a Docker Swarm cluster on an exposed port, would get NAT-translated(DNAT) to container IP address. As the traffic flows between docker containers from that point, it is free of that kind of overhead later on, so the prob...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557843", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Getting "The application was unble to start correctly (0xc00007b)" error while registering exe fron /regserver I am trying to register .exe file using .exe /regserver from command propt but getting below error. enter image description here Please help me to fix this.
{ "language": "en", "url": "https://stackoverflow.com/questions/75557847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: trouble installing react-native/drawer I want to use the library react-navigation/drawer from react-native, but the emulator does not respond using iOS and in the browser it gives 33 warnings saying that the library is not installed, although is does work as expected. Strangely enough the library react-navigation/na...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: KeyStore/Datastore Json file read Expected start error I am trying to use keystore and datastore. I used link for this. My problem is that when the application is open, I can read and write without any problems. But if I close the application and try again, this time I get the error "JSON token at offset 0: Expected...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is good practice for storing links to websites in a database? I am creating a database that contains links to websites of news articles, government websites etc as supporting evidence for some of the data in the database. I am concerned that some months down the line the links may be broken and become 404. I wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Left outer join in with C# Lists I want to translate SQL function to C# code. I have a myCpRegs as a list from my own class, that is what I get from [fn_TrackingFromCpReg_CpRegPos] (@dtFrom, @dtTo) function. How to write this statement with a left outer join in EF Core? insert into TrackingHistoryPos (TrackingHistor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Efficient query to update related tables when soft deleting I would like to soft delete a record in a table but would also like to update all the deleted_at column of all related tables. Is it possible to do this with a single query? The related tables can be one to many. I tried to use left join, but this returns a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mongoDB $eq - can I combine with regex? I'm using $eg for searching for values that typically have whitespace in them. However, I would too need a case-insensitive search (no case-ins.indeces, though). Can I somehow enhance the $eq query?
{ "language": "en", "url": "https://stackoverflow.com/questions/75557858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set global state for flutter app using MobX without use of provider? I want to have global variables in my app and their values set using MobX without use of providers. Is there any way to do this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75557859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how do I map/assign a list of format strings to a list of values when printing? Scenario: I've got a large list of mixed-type values: strings, floats, ints, etc. I want to print these in various different output formats. It would be much easier if I could keep a separate list of formats and then map the list of fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do you compress a HEVC video to a smaller HEVC video with FFmpeg while preserving transparency? I have a few dozen videos encoded in HEVC that have a transparent background. They have tiny dimensions, but their file size is comparatively large. I need to re-encode them as new, smaller HEVC files, but I am strugg...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Warning: sizeof(): Parameter must be an array or an object that implements Countable in a php file I have a php code as shown below in which I am getting the error at Line A <?php if (1 == sizeof($folders)) { // Line A } elseif (sizeof($folders) > 1) { // Line B } ?> At Lin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SpringBoot 3 : LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation I'm using springBootVersion = '3.0.2' and Java 17. Recently I have upgraded to springBoot 3 and Java 17. My build.gradle file is as below implementation group: 'ch.q...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't use PySpark DF cached in Google Colab I realized that using any method (like show() or any other) after caching a PySpark Dataframe within Google Colab environment I got this error: like: df.show(5) --------------------------------------------------------------------------- ConnectionRefusedError ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557871", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access elements of an array of function pointers passed to a function by a void pointer? I'm trying to pass an array of function pointers to a function by a void pointer. I cannot figure how to access the elements of the array inside the function they are passed to. Example 1 - Pass regular array via void poi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Geocoding - Different Postal Code In Response I am using the geocoding API passing postal codes (GB mainly) to validate if the postal code is valid or not (using the address_components and types where if it returns "postal_code" I take that it is valid) but I have found 2 issues. Also is this the best method with Go...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is there a way to enable Developer tools on MS Teams for iOS? I am searching for a method to activate developer tools, specifically to generate console logs for the actions taken within the MS Teams iOS app. Although I have reviewed Microsoft's official documentation on how to enable this feature, which can be found...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557875", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to open PayPal after rendering js paypal_sdk.Buttons({ style: { layout: 'horizontal', color: 'gold', shape: 'rect', label: 'paypal', tagline: false }, createOrder: function (data, actions) { // Set up the transact...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557876", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am gettig this error while making a app how to remove it? 1 error * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 7s Command failed with exit ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Range-input with two Inputs can be dragged over each other I am trying to create a range-input with a maximum and minimum input. I habe achived this so far: HTML <div class="zimmer__price"> <input type="range" min="200" max="500" step="50" value="50" id="lower"> <input type="range" min="200" max="500" step="50" va...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: proper way to handle max line length python Que-1 Break flake8 and black cycle class TaskInfo(StrEnum): ABCDEFG_HELLOO_TASK_WELCOMEE_VALUE: str = "abcdefg_helloo_task_welcomee_value" A message from Flake8 gives line too long (82 > 79 characters) so I edit as below class TaskInfo(StrEnum): ABCDEFG_HELL...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to capture the time when the program detects the car plate and capture the time when the car plates leaves the camera's view in python cv2 ocr? So basically I'm making this program that detects car plates from a camera. I want to write to a excel file the correct time that the camera detects the car plate in hh:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to inject some Device Tree entry to the Linux device tree after the kernel is loaded? The driver of some device is build-in into the Linux kernel. Though the corresponding SoC platform device is absent in the DTB. For some reason I cannot modify DTB file which is loaded, but have a root access to the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to SSH to a SLURM scheduler and execute SLURM commands using a Python script rather than the CMD to run a Python script? Currently I am connecting to the SLURM scheduler and running the requested SLURM commands (such as sbatch and squeue) in the following manner (using Ubuntu 22.04): * *SSH to the SLURM job sc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Modify TinyMCE to format URLs in editor Im using TinyMCE v4.9.11 (sourced from the js file) When i highlight a word and select the hyperlink icon to select a page, i would like to add a word to the starting of the URL selected, in which case selecting a link like /somepage becomes /keyword/somepage I cant figure o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: my postrequest don't work but with i use a external site to request works i trying creating post requests to my application, but when i send by my frontend don't works, but if i send using the site https://resttesttest.com/, the request works. I am having problems because in the req.body i am not receiving the data ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557888", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use https in Vite with vite-plugin-mkcert? I'm trying to run my app on the local environment with https. I'm using vite-plugin-mkcert. vite-config.ts: import { defineConfig } from "vite"; import react from "@vitejs/plugin-react-swc"; import mkcert from "vite-plugin-mkcert"; export default defineConfig({ se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }