text stringlengths 15 59.8k | meta dict |
|---|---|
Q: How to use custom highlight in Jupyterlab extension? I am building a server extension for Jupiter Lab. I am using cookie-cutter template as an entry point for my extension.
I want to override the default highlighting for .ipynb files and highlight only some custom words.
How can I achieve this?
I am using typescript... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71915950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: While executing the "yarn start" command "error Command failed with exit code 1." I tried the command yarn start for my react project
I am getting this error
yarn run v1.22.10
warning ..\..\package.json: No license field
$ react-scripts start
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot fin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67900134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: AndroidRuntime: FATAL EXCEPTION, java.lang.OutOfMemoryError when sending multiple images I am trying to send a lot of images to an API using okHttp3 and retrofit2. I have tried sending the images from one device (5 images at a time) and it worked well. Then I tried sending 5 images from 5 devices at the same time an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59819558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VBA wont click gif nested in a tag I am running into an issue with my macro that works on Excel 2013 but will not work on Excel 2010. I am trying to click a gif that is on the webpage but for some reason it does not "see" it.
The HTML I am using is as follows:
<a href="#" style="color:#009900;">
<img src='images/Che... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41655736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WebDAV Server for Cocoa iPhone and iPad running iOS I'm looking for a WebDAV server - best Open Source - for iPhone and iPad for integration in my app. It should be possible to list, download and upload files. I would like to point the server root on the 'Documents' folder of my app, so the methods should be mapped ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3567763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Why does Celery work in Python shell, but not in my Django views? (import problem) I installed Celery (latest stable version.)
I have a directory called /home/myuser/fable/jobs. Inside this directory, I have a file called tasks.py:
from celery.decorators import task
from celery.task import Task
class Submitter(Tas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4643065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Did listeners on panel in Ext JS 5 depends on the panel content? I wan't to detect 'pinch' event on a Extjs 5 Panel, if I load the panel content using loader property it's working, but if I put an item (Iframe) in the panel, it doesn't work
Panel with an item (IFrame):
Ext.create('Ext.panel.Panel', {
layout:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27528897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to fix the x-axis labels in ggplot2 facet_wrap geom_histogram plot Maybe I have missed this in the stackexchange literature, as I'm surprised to find many solutions for adding floating axis labels and adjustments to axes (e.g. add "floating" axis labels in facet_wrap plot), but nothing to solve my issue of ov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40685384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Conditional Display of Plots in Shiny I'm trying to create a shiny app that allows user to display the kind of plot they want to show.
I've tried using a simple if else statement for the display of plot, however, it does not seem to work.
Is it because of my reactive function?
library(shiny)
library(ggplot2)
libr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52492974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Run application in background when phone in Doze Application is running SDK 23 and above. I am running some tasks using Service after completing the task and scheduling the next task using AlaramManager (setExactAndAllowWhileIdle). This is working fine. If the phone is idle continuously for 2 or 3 days then its goin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43508748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Managing media using the Android MediaStore I manage media (images, sound) of my app directly, reading and saving to the SD card. Should I be using the MediaStore instead? I'm not quite sure what the MediaStore is for, and the javadoc is not very helpful.
When should an app use the MediaStore? A brief overview of th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2751958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: why pytorch linear model isn't using sigmoid function I'm expecting that the linear model in pytorch yields sigmoid(WX+b). But I see it is only returning Wx+b. Why is this the case?
In Udacity "Intro to deep learning with pytorch" -> Lesson 2: Introduction to Neural Networks, They say that the output is sigmoid:
̂ =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65451589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Custom toast for application I need to create custom Toast like component. This should appears over only my application to show some message.
Why i don't use android Toast - because i need custom duration.
Problem is I'm creating view through WindowManager.addView with type WindowManager.LayoutParams.TYPE_APPLICATI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57036180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Displaying a modal instead of a echo message if (mysqli_num_rows($res_username) > 0) {
//echo "Sorry... Username already taken";
echo "<script>$('#RegisterModal').modal('show')</script>";
}
<div id="RegisterModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50675092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: dpkg-scanpackages -a amd64 . > Packages - Wrote 0 entries with --arch arm64 I am trying to pack(and create a repo on github) using the following, but dpkg-scanpackages is not writing anything when using --arch arm64?
control file:
Package: hello-world
Version: 0.0.1
Maintainer: example <example@example.com>
Depends:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68577036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Deserializing Collections with protobuf-net During my switch from BinaryFormatter to protobuf-net,
I observed a difference when serializing collections.
In the code sample below, Deserialize (protobuf-net v2r470) returns
different results if an array is instantiated within
the class (street1) than outside (street2).... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8285566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Application not appearing after launching from visual studio I have a strange problem, which i have never seen before , i have a wpf application and i am using prism for mvvm and sqlserverCe 4 for database, today i uninstalled sqlserverCe and prism packages from the executable project and re installed them back, now... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26996911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is vim turning map into strange character ï I have the following map command in my ~/.vimrc that I've used for years:
map <M-o> :split<Space>
It works well when I use it in OS X, Ubuntu, even when running Ubuntu in a Parallels Desktop VM. However, I just installed a fresh Ubuntu 14.04.2 on a VM using Parallels ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31096474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ABAP equality check is wrong for INT4 and CHAR numeric I've ran into an issue here, and I can't figure out exactly what SAP is doing. The test is quite simple, I have two variables that are a completely different type as well as having two completely different values.
The input is an INT4 of value 23579235. I am te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51875875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Angular ignores the iframe element I've found Angular 15 to be ignoring the iframe element. I've found the following existing example on stackblitz that is not working either. In both cases I've found the iframe element to be simply missing from the dom.
https://stackblitz.com/edit/angular-iframe-src?file=src/app/ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74710692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In consistent results returned with white space in query Using NEST.
I have the following code.
QueryContainerDescriptor<ProductIndex> q
var queryContainer = new QueryContainer();
queryContainer &= q.Match(m => m.Field(f => f.Code).Query(parameters.Code));
I would like to have both these criteria
code=FRUIT 12 //... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52088489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create nested array in custom soap webservice mirth I'm creating a custom webservice to host in Mirth. I wanted to create nested Array inside this SOAP structure. There may be other ways of creating SOAP, but I'm following this way so that other external JARS need not be used. Currently this is the class I'm doing m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50140380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ViewGroup.java AddViewInner issue i keep getting following errors, it's basically same error but keeps occuring on different lines
Fatal Exception: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
at android.view.ViewGroup.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39641951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google analytic shows me wired links for one of my visitors I have a website wich is registered with google analytic so I can see the statistics of it The problem is that sometime it shows me this link :
website.com/www.bndv521.cf/
or:
website.com/admin
I do not know if this is a hacker trying to hack me or someth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23363226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Could not find class referenced from Google Play Services Util I've added Google Analytics to my Android Project and followed all of the instructions, but still I'm getting this 2 error messages inside LogCat:
E/dalvikvm: Could not find class 'android.os.UserManager', referenced from method com.google.android.gms.co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32909970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it possible to share my page into specific group or page in facebook Laravel I have facing a problem in my project. Suppose I have 3 groups of in my facebook account. I want to share my blog post or page into specific group. Is it possible? I am using laravel for this. Please help me.
After googling I only find ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51645713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to align the sibling values under the child values as per child to parent?
var app = angular.module('app', ['ngAnimate', 'ngTouch', 'ui.grid', 'ui.grid.treeView' ]);
app.controller('MainCtrl', ['$scope', '$http', '$interval', 'uiGridTreeViewConstants','uiGridTreeBaseService',function ($scope, $http, $interv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33721458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What does just ";" inside an "if" block mean? Why would someone use this?
if(a==1){;}
There no statement, only one semicolon, and it doesn't throw an error.
What purpose does this semicolon serve?
A: As so many have said - it does nothing.
Why is it there? Here is a possibility …
I am fed up with bad coders on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41592982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: Multiple Join in Entity Framework I have the following query in TSQL
select * from users
inner join linkUserPhoneNumber on users.UserId = linkUserPhoneNumber.UserId
INNER JOIN PhoneNumber ON PhoneNumber.PhoneNumberId =
linkUserPhoneNumber.PhoneNumberId
where UserName = 'superuser' and password ='password'
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11537757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Codeigniter MySQL security, htmlspecialcharacters & mysql_real_escape_string? I've been reading a lot about database security and using htmlspecialcharacters() and mysql_real_escape_string.
Is this necessary to use these functions with codeigniter or does it handle this automatically? e.g.
$this->db->select('*', FA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22875778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Efficiently combine two queries with both have a common inner join I would like to join three tables and then union them. Two of the table that are joined are the same in the two queries which are union'd, and it seems like a waste to perform this join twice. See below for an example. How is this best performed? ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15914369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use jQuery to apply styling to all instances of clicked element What I'm aiming for is for jQuery to look at the element I've just clicked on (for example a p or an li tag), then apply a styling to all instances of that element (so all p tags on the page).
This is my code so far, but it only applies the styling to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3886566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: LineChart with annotations and multiple graph lines I'm using Google Charts to try and create a line chart that looks like the first one labelled Example:
https://developers.google.com/chart/interactive/docs/gallery/linechart
However, I cannot use google.visualization.arrayToDataTable() as shown in the 1st example.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20722738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to sample from multiple lists (numbers? I would like to sample, let's say the ages of 100 persons above 65 years old,
and the probabilities for the age groups are as follows:
65-74<- 0.56
75-84<- 0.30
85<- 0.24
I know the existence of the sample function and I tried it as follows,but that didn't work unfortunat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53061890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What happens if I use CClientDC in OnPaint() function? I am new to MFC and Windows programming in general and this is something I haven't understood
Everywhere I have been reading it says not to use CClientDC in OnPaint and only use CPaintDC
In my code, I append my rectangle drawing functions to the default OnPaint(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17444372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My CSS works in the inline section but not as an external stylesheet I am currently trying to use CSS to stylize my application in Apex 5. The problem I am having is that when I write my CSS code in the "inline" section of any page in the application, then the CSS code works, but if I write the CSS code on Notepad a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48755826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Rendering VTK visualization using OpenCV instead Is it possible to get a rendered frame from a VTK visualization and pass it to OpenCV as an image without actually rendering a VTK window?
Looks like I should be able to follow this answer to get the rendered VTK frame from a window and then pass it to OpenCV code, bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33252527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What's the Intent to open DND settings? I'm sure I'm overlooking something in the Settings class documentation. What Intent can open the Settings app in the "Do not disturb" section?
I expected it to be the ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS action, but that is only for the screen which lists which apps have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39596496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Complicated MySQL Query with distinct Here is the table I am getting the data from "actually it's a view of two different tables"
*
*The first table is the users table the holds everything about the user.
*The second is a log table that logs who viewed the video and when they viewed it.
log_views.id,
log_views.u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5477963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: error for "apply" in kotlin on android studio I was following a tutorial on android studio and wrote the following lines:
RecyclerView.apply {this:RecyclerView!
var layoutManager = LinearLayoutManager(activity)
but the "apply" was giving me an error and when I did Alt+Enter I saw two options for import... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65451695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Browsing a MySQL database on AWS servers I have just installed MySQL on to my AWS EC2 server, I have also imported my existing SQL file so that my new MySQL db is now populated. I would like to be able to browse my database somehow.
In the past I used phpmyadmin and it was great, should I install phpmyadmin and then... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37128275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Dragging multiple html elements at once I would like to be able to drag an image next to some text and have the text move with it, the problem is that I can either move the image or move the text not have one move the other my current code for that is:
<ol>
<div style="cursor: move; user-select: none;">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68993148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Get past request without waiting for response (Angular 2 +) I am looking for data in an API via Get request, I need the data inside my OnInit to use in composing other data. The problem is that the method is being called but it is as an async method (without await), it passes everywhere but when the return is obtain... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44686837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: celery 4.4.2 and django 3.0.2 raising self.notregistered error but calling the function in python manage.py shell works fine I am trying to add celery to my django project.
everything works fine when i run it from the manage.py shell, my celery worker returns the result of the add() function.
when i call this fun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61764646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: bash script - escape characters in eval vs running command directly I am writing a bash script to count number of files given user parameters of path and exclude path. I construct a command using my bash script, where the last few line looks like this
command="find . $exclude | wc -l"
echo $command
So for example, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72606721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't access variable in my helper from application controller in Rails engine I created a gem that extends a Rails Engine. I am using Rails 4. Everything works fine except i cant access instance variable in application controller from helpers. Here is my code...what am i doing wrong?
app/controllers/application_con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26126730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Converting 1D numpy array into top triangle of matrix Is it possible to take a 1D numpy array containing 171 values and place these values into the top triangle of an 18X18 matrix?
I feel like I should be able to use np.triu_indices to do this somehow but I can't quite figure it out!
Thanks!
A: See What is the most... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34913483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Fatal error on Android 7.1.2(API 25) after execution of Garbage Collection If use app 3 to 4 min, I always end up with Fatal error which comes after the execution of Garbage collection.
I have almost optimised memory usage, however, my app crashes with Fatal error.
Here is the log,
08-30 04:59:48.603 W/InputEventRec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73533274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: rails 4.2.1 server error Hi I am new to rails and every time I try to view the server i get this
testapp$ rails s
/home/sky/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/execjs-2.5.2/lib/execjs/runtimes.rb:48:in `autodetect': Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of ava... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30516166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: New file created inside Django App to seed data I've created an application inside my django project called SeedData. I've added then a file called import_data.py where I will be reading csv files and adding them to my database.
-SeedData
--__pycache__
--migrations
--__init__.py
--admin.py
--apps.py
--import_data.py... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66731887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is this if statement correct, or is it redundant? I've a simple question about if statement in Objective - C.
Is this if statement correct, or is it redundant and I don't need to specify ==YES ?
NSNumber *boolean = [NSNumber numberWithBool:YES];
if (boolean == YES) ...
thanks
A: You compare pointer and integer, wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7132454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why does regex require triple backslash to match a single backslash? I was trying to match a backslash using regex and thought that this could be done by using two double backslashes, using the former to escape the latter. However, when I run the code
path_str = r"\Animal_1-"
Match_backslash = re.search("[\\]", pat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74732865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Start text animation on button click, clear and start animation again if button is clicked again I've taken this snippet of code from a project I'm working on with a few friends and I'm looking for a bit of knowledge on getting a function to not activate until a button is clicked. Also, If the animation could be res... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56749773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dropzone JS not able to upload file I'm using Dropzone JS and from my frontend (localhost:9000), I'm calling a upload.php where I get the images and then upload it on the backend (localhost:80)in a folder.
here is my html :
<form action="localhost:80/ProgettoTimelinegit/api/upload.php" class="dropzone" id="my-dropz... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40586296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vue : How to use async await accordingly in a function array of which can have two functions for Promise.all? I want to use await where I marked [here] in 1.vue. However, if I use await there then it emits error Unexpected reserved word 'await'. If I want to use async useFunctionToAllServers() sequentially after [Pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70343157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to get a remote computer process and waitForInputIdle over it? c# So I would like to run something similar to the following on a remote computer:
process = Process.Start("notepad.exe");
process.WaitForInputIdle();
I have no problem connecting via WMI, executing processes and running query on them b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42346179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Remove changes from a commit hash in a given file git I have a 3 month old commit, lets say commit A which touchs 3 files
Over the last 3 months, a lot more commits have gone in, some of which have added new code below changes from commit A
I want to remove (not revert) the changes from commit A in 1 of the 3 files.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69935733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a limit to the file size you can upload with GWT FormPanel and FileUpload? I recall seeing somewhere that there was a limit of 10MB upload in GWT when using FormPanel and FileUpload, but I can't seem to find any reference to a limit now. Is there one?
A: There is no reasonable limit* on the client side (o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49235218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android Switch widget inside AlertDialog, not showing thumb image (on/off instead) I have a rather simple dialog with an ArrayAdapter inside. The adapter inflates the following layout:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46965393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Redshift query results incorrect before VACUUM When Redshift uses an index to run a query (say counts), does it exclude counting the rows in the unsorted region?
I had copied a lot a data using the COPY command, but did not VACUUM the table afterwords. On running my query (involving joins with several tables), the r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46498667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Chrome moves div out of document flow when using internal links Look at the two links below in Chrome:
Working: http://www.datesphere.com/boards/showthread.php?tid=46
Broken: http://www.datesphere.com/boards/showthread.php?tid=46&pid=345#pid345
Notice how the navigation breadcrumb and "thread rating" section ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5504724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there an easy way to include RackTest methods in Capybara tests? Capybara 2 removed these and suggests to separate them, but we have some situations where we'd like to use both in a test (enabling an api key through the view, then hitting the api, etc).
I tried including include ::Rack::Test::Methods but I'm gett... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15978587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: java.lang.RuntimeException: Could not inject members I'm trying since some time to get Arquillian running with JPA.
I had some DAO tests working, but while a continued to write the remaining tests this error started and affected both the ones I was writing and the ones that were fine before.
java.lang.RuntimeExcepti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51498210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OAuth 2.0 In Microservices: When a resource server communicates with another resource server Currently, the user is passing the access token, with [Scope A] to the web portal.
Once the user requests to view a resource, the token is passed to the resource server [Web App A] to obtain the resource. However, to obtain ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52290697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change the default output folder for generated apk files? When I use the gradle task to create an android .apk file it outputs it the the build\javafxports\android folder of the project (both the regular and unaligned files). I couldn't find a setting to change the output folder.
When I export a jar in eclips... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40518285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Location of the built python module Hey people I built caffe module for nvidia jetson tx2 succesfully. But when I import caffe python throws no module named caffe error. I have libcaffe.a libcaffe.so libcaffe.so.1.0.0 under the build directory. Where should I copy these files to make sure that python is able to imp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64009534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Handling JavaScript exceptions from Silverlight I'm having trouble adding proper exception handling to existing code that makes heavy use of Silverlight - JavaScript interoperability. In this case, my JavaScript can throw an exception that I want to handle meaningfully in Silverlight.
From Silverlight, I'm creating ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10026571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UITable View cellForRowAtIndexPath: How to return no cell I am trying to delete a cell from the table from the table view when no data is returned from Parse. But no matter what I try I can't find any solution to keep from having a blank cell (Cell when no data is passed) ahead of the cell with content.
Here is my c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22544447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kendo Chart not performing as expected My understanding of Kendo bar charts in series is that the data value should sum up per item, but in this screen shot each set of bars is an interval, and based on interval 1 input data I should have 3 colors(services)summing to a total of 22, instead I just have the largest se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73239368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java - Check if user input partialy matches another string? I have a problem where i want to see if the input user has enterd partially matches, or as long as majority matches with the answer, if it does then it should print out "Almost correct".
For example lets say the answer is Football, but user instead puts in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70455951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to debug with LD_preload I use LD_PRELOAD to override the MPI_Send function with my own function to do some debugging of the MPI_send function.
Here, myMPI_Send.c code:
#define _GNU_SOURCE
#include <stdio.h>
#include <dlfcn.h>
#include <mpi.h>
#include <stdlib.h>
int MPI_Send(const void *buf, int count, MPI_Dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74389223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Finding Shortest Route Between 3 or more places (Google Map Route) i'm making app about trip planner where user favorite a few place in a city and i'm suppose to route that place for user.
i need to route each so i can calculate the shortest traveling time possible.
can anyone suggest me how to solve this ?
i know g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57439853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to hook a conversion for the logical type in Avro deserializer? I am looking for the same information regarding how to hook the conversion. Currently the conversion is always null and I am not able to convert to BigDecimal when the logical type is being used. However, I can see following conversions in the auto-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58398816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: H265 codec changes from hvc1 to hev1 I try to copy mp4 file with hevc video.
Source file have hvc1 codec.
Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668)
After copying the codec gets the value of hev1
Stream #0:0(und): Video: hevc (Main) (hev1 / 0x31766568)
How can i get hvc1?
I found that ffmpeg can do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50565912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: na.rm and conversion related warnings Today I tried to finish my last R-study-exercises, but I failed. I`m not allowed to you show the precise instructions of my academic, but you may can help me with the warnings I get after sourcing. What do they mean? What doesn't fit?
I know, this question is very vague, but thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14002345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Reverse Order of Properties Per Element in Http Response from JPA/Hibernate Query if I get a response returning a list of elements like the following:
[
{
"c": {
"c1": 4,
"c2": "5",
},
"b": {
"b1": 2,
"b2": "3",
},
"a": "1"
},
{
"cc": {
"cc1": 4,
"cc2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75238330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: what algorithm should I use? I'm fairly new to complex algorithms (been doing simple programs til now), and I'm trying to develop a program where the user can input a desired budget, and the program would search for the optimal products the user can purchase from each category.
example:
Products:
Shirt:
shirtA - $20... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31431712",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Neo4j Browser Crash grey screen MATCH (a:Doss)
MATCH (b:Doss)
WHERE a.Num=b.Num
return a,b
it takes long time and then no results, just the browser being crashed with grey screen.
NB:in this database i got 6M nodes.
A: You need an index on :Doss(Num) or this won't be able to finish in a reasonable amount of time.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67738035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Visual Studio 2013, what does this black arrow-shaped symbol in the breakpoint bar mean? Somehow, one of the lines in my source code became marked with a black arrow-shaped icon pointing to the right. I'm familiar with bookmarks and breakpoints, but I can't find a clue about this one. It is the top-most icon in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30915869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: One command to get output buffer and erase it in PHP? Is there any command to get the output and erase the buffer without turning it off?
eg.
ob_start();
include 'first_page.php';
$first_page = ob_get_clean();
ob_start();
include 'second_page.php';
$second_page = ob_get_clean();
ob_start();
....
Is there a function... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22372666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Setting Session State - APEX 21.1 Based on the documentation and examples I have come across, it seems that the way to set/pass session state between pages is via the URL. It got me thinking, is it ok to reference page items from a different page directly? Or are there downsides in doing this that someone new to APE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68530516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get selected place data from multiple Google places autocomplete in Angularjs I have multiple input fields for getting location in a single page. I used $scope.on() event to get g-places-autocomplete selected data in my controller.
$scope.$on('g-places-autocomplete:select', function (event, place) {
console.l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39222487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I get the area of each Voronoi Polygon in R? I have a set of coordinates X and Y for my points and used the deldir to create determine and plot the Voronoi Polygons. (I've used this tutorial here)
This is my plot: (sorry that its so small, but you get the idea).
I need to determine the area of each polygon.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42787711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React shows values in console but does not render them I am trying to load the options of a select depending on another select. I extract the data from an array (which will later have much more data).
My problem is that I can't render the second select. I get the data correctly filtered but the options are not added... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65486233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to insert a new line in a UILabel that uses NSString StringWithFormat I am using a UILabel in my storyboard to show a string of text. Then I am using dispatch_get_main_queue to change the text in the UILabel. The text is being cut off on-screen after dispatch_get_main_queue is being called. I have also tried \n ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69419331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to join 7 tables in SQL using INNER JOIN I am creating a stored procedure to join 7 tables in SQL using INNER JOIN, however I am getting an error about incorrect syntax.
I've tried to adjust formatting but I cannot get the syntax correct. Does anyone know where I've gone wrong? I get an error stating
Incorrect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55737664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Web service to web service calling in SAP PI I am doing a scenario called webservice to webservice in SAP PI.
I followed the following URL:
http://saptechnical.com/Tutorials/XI/WebService2WS/Page9.htm
I created the WSDL file at the end using tools->display WSDL.
I gave the following UR in the WSDL URL step:
http://B... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34719704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Array with elements from MySQL I want to get random numbers with exceptions (for example, I want a number from 500 to 550 without 505, 512, 525, etc).
I found here one code like this:
function randWithout($from, $to, array $exceptions) {
sort($exceptions); // lets us use break; in the foreach reliably
$number = rand... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6622663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Admob interstitials not clickable on Nexus 5 (Android 4.4.2) Do you know of a problem with Admob interstitial Ads not being clickable and therefore not bringing any revenue on Nexus 5 devices?
Facts:
*
*It does not happen with all interstitial ads - some are clickable, but most are not.
*It happens both with the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23205456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using Google directions API I am new to JAVA and the android studio ide platform and I need some assistance with using the google directions API.
I have a general idea but I don't know how to implement it in code. At the moment my app has a particular screen that shows a map fragment, a search bar, and button to mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47371861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: not working batch file to rewrite txt file Im creating a file with devcon utility in order to list all usb devices that were connected to a PC since I need to delete hidden devices(not in use). In this moment I want to rewrite the strings in the created file but adding "@ to the begining and " till the endo of the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66067145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails ruby-mechanize how to get a page after redirection I want to collect manufacturers and their medicine details from http://www.mims.com/India/Browse/Alphabet/All?cat=Company&tab=company.
Mechanize gem is used to extract content from html page with help of ryan Tutorial
I can login successfully but couldn't reac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19271622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Django: EmailMessage not raising exception when only one of two recipients fail I have a piece of code similar to this:
from django.core.mail import EmailMessage
from smtplib import SMTPException
try:
email = EmailMessage(subject, body, "noreply@myserver.com.br", recipients)
email.content_subtype = 'html'
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29133291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to access array value inside PromiseValue? I'm new to React-Redux. I am making an api call to a json file and would like to return the contents of this file as an array. I haven't dealt with Promises very much, so my knowledge of accessing them is a little foggy. Basically, there's what I have:
const fetchData... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49642363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to cache pages using background jobs? Definitions: resource = collection of database records, regeneration = processing these records and outputting the corresponding html
Current flow:
*
*Receive client request
*Check for resource in cache
*If not in cache or cache expired, regenerate
*Return result
The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2836365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: picking a DataRow Based on maximum of certain field and criteria using LINQ here is my code (which doesn't work, obviously) .But, Could not figure out how to achieve this...
DataRow dRow = dsMain.tblStudentMaster.Select("stM_ClassNo=VI")).Max<DataRow>(row => row["StudentRollNo"]);
In a particular ClassRoom, I want... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16789603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Allowing Ping from Mininet to External VM how do I allow pinging from hosts inside Mininet to External VM using RYU controller.
In terms of pinging, i am able to ping as the following:
*
*hosts to hosts
*hosts to switches
*RYU controllers / S1-3 Switches to internet
*RYU controllers / S1-3 Switches to External ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73152418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tarfile recursively opens in windows, but not in Linux [Python] I have a Python program which extracts a zip file. The zip file looks like this:
a.zip
|
|
--- b.tar.gz
. |
. |
. --- c.tar
Here is my code:
with zipfile.ZipFile("a.zip", 'r') as zipRef:
with zipRef.open("b.tar.gz") as x:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71554457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WPF - DataGridColumnHeader text does not bind I am trying to initiate a DataGrid in C#/WPF and have the text of the respective column headers bind to a value in the ViewModel. However, this does not seem to work. Here is the xaml for the DataGrid:
<DataGrid ItemsSource="{Binding Measurements}" AutoGenerateColu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75624721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating Google Maps Control that you can drag and drop markers onto map to get their coordinates I am creating a GoogleMaps v3 Custom Control that is similar the the little yellow man on google maps. The control has an icon in the top left corner of maps. The user will drag and drop that icon onto the map. Then I j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19431184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.