text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Broken/missing handler after reinstall my site recently got deleted by a possible hack. I uploaded backed up folders and the db but now my views are not showing. everything else works. i can't think of anything that changed, just uploaded a backup from a few days ago.
the fields are showing this in admin/build/vie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7812706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there any way to add markers above overlay in google maps react? I am trying to add overlay above the map and place the marker above the overlay. but I am not able to do so. how I can do it? and I am using the google-maps-react library as a dependency.
<div>
<Map
key={active}
google={google}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70182745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed I am getting below error while creating a spring maven rest webservice project. I am new with springboot, could someone help me with this. The error is:
Servlet.service() for servlet [dispatcherServle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74206520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why python doesn't read the environment variable and can't run a windows command line? I am trying to run the appium server from my python 3.7 code.
So I use this simple line of code:
os.system("start /B start cmd.exe @cmd /k appium")
I see the command windows pop up and give the error "appium' is not recognized as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61132372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not able to save data to aws dynamodb in batchSave I am not able to save list of objects in dynamodb by using mapper.batchSave() but I am able to save it single object at a time. I am not seeing any exception also in the logs, an idea why this is happening? Please help me to resolve this issue.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/65650213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Expandable ListView with custom adapter I am trying to implement a ExpandableListView in Android by implementing a custom adapter but I am not getting any output on the screen.
The main xml layout is:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
andr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10584915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Getting out of memory error while using threads for Image loading in Android. This is my code to take a photo from gallery or camera. I've implemented a background thread to get the task done and then using SmartImageView to set the image using the url. My error is Out of Memory Allocation.:
upload.setOnClick... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9767794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to send number of images to server using JSON Array in objective c I'm facing a problem in sending Images to the server . I'm trying to save the list of Images in the base64 encryption format string into each object of array and I have to send the array to the server , but when I try to send multiple images , t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37700036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to write a python list to a specific row in a csv file? I have a csv file which has 2 rows of data. I have a python list to be written to the next immediate row in the csv file ie row number 3 without altering the contents of the first two rows.
I wrote a code but it is always writing to the first row. Below is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44164135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: sqlserver format date time I am not familar with sql server why i have the following error
Conversion failed when converting date and/or time from character string.
...
values (1, 'P' + char(10) + 'd' + char(10) + 'inst',
CONVERT(VARCHAR(24),'18-01-2016 11:29:27',113))
the code for 13 is = dd mon yyyy hh:mi:ss:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44650265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: FastLED library not working when iterating through the LEDS backwards Im having issues where my code running up the w2812b strip is working fine but when I run down the strip I get an error.
This is the error
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/queue.c:14... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63313357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Fit as many views as posiible without overlapping I want to fit as many textViews( Each of them is clicable and leads to some action, so it cannot be just a signle textview populated with text) from my set as possible in layout.
To achieve that, I used following gridview layout
<GridView
android:id="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25407446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: sorting an array and keep the index in MATLAB I have an array called A, it has 2 Rows and 56 columns ( as shown in the attached image)
the first row represents the values while the second row represents the index for each value.
I want to sort the first row but keep the index for each value (I tried to use Sort fu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42526075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: routes on error functionality not working in web2py i am trying to present a custom error to the end user , but these custom routes are not working and i am still being shown default ticker number, since exposing ticker numbers pose security issues, what am i missing? need help in this thanks in advance ,
Also i h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71761661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I make a set of numbers increase every second and for each increment, print the current set on a new line? I have these set of 11 numbers that increase per second, but I want each increment or the current set of numbers to write on a new line. E.g;
20220215155
20220215156
20220215157 etc...
I tried adding th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71104409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R lubridate: Apply helper to dataframe I have a dataframe of times looking like this:
library(lubridate)
times <- structure(list(exp1 = c("17:19:04 \r", "17:28:53 \r", "17:38:44 \r"),
exp2 = c("17:22:04 \r", "17:31:53 \r", "17:41:45 \r")),
row.names = c(NA, 3L), cla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60306237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: rails with rmagick and simple test I want just play with rmagick on rails 4 but get:
undefined method `annotate' for #<Array:0xbe4434>
controller:
class ImgController < ApplicationController
include Magick
def index
img = Magick::Image.read('public/images/bg.png')
txt = Draw.new
img.annotate(txt, 0,0,90,15... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20440707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how get value from html combo box in asp.net code behind I'm unable to get the selected value from combo box in asp.net. I'm using the HTML combo box in server side coding by adding id and runat="server" and using bootstrap property. How to get the value of a combo box in a button click
<div class="form-group">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34308232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: I have a problem with this question: building a function called findFirstWordWithMostRepeatedChars Problem statement :
Write a function that finds Max Repeat count In Word. Looks like there is a problem with loops
// Skeleton
// FUNCTION DEFINITION(S)
function findMaxRepeatCountInWord(word) {
// Break up indivi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71323970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: MPAndroidChart LineChart: Using dates instead of Strings for X-axis MPAndroidChart LineChart by default accepts Strings for X-axis. Is there a way to set the Date as a datatype for the X-axis?
The problem with just converting Date into strings is that the graph can be skewed depending on the data points. For exampl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32292466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: two page layouts into one view I would like some advice on this matter. I have a view page that will display a number of users. One view is to display users in a grid (gallery like) of their images. Second view is to display the same users but by their name in a list layout. I will have a toggle button on the page t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15892233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Templated Intermediate Array for Given Type I have a library that contains a function:
// Gets [bytes] number of *bytes* and fills rx_buff
void getData(uint8_t* rx_buff, uint16_t bytes);
I also have a library that I am writing an interface for, the structure is rather simple (protected IP, all names are imaginary):... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51845296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Meteor: Variable in Variable I want to update an array with the help of a variable, thats my sourcecode:
var y = Flags.findOne({_id: "flagsone"});
// This one works, but I need the other one
// Books.update({_id:book}, {$set: {"score20130901.5": 222}});
Books.update({_id:book}, {$set: {"score20130901.[y.flag1]"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18430976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Condition 'listenerReg != null' is always 'true' when trying to detach/close Firestore snapshot (Android) Context: It is my first project in Android and I fill I am asking some silly question but I can't find any direction on it (certainly I am messing up some previous knowledge of Angular/Srping with Android/Kotlin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62140300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Typescript: detect the generic type of a function I am developing a web application that uses cookies. To read a cookie I would like to write a typescript function of this type:
let cookie1: number = getCookie<number>("fake_int_name");
let cookie2: boolean = getCookie<boolean>("fake_bool_name");
let cookie3: string ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65918542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to Compute Difference Between Two fields in MongoDB Good evening. I have a project in MongoDB and i keep getting an error while trying to run my last querie. The dataset i have is about wines. What i want to do is to print the wines that match the Red wine category and that are at least 20 years old (i have a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74752881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ruby/Rails: Correct way to implement to_csv that considers active record Been out of the game for a while, getting back into it..
So, with that I have Companies.
Companies have_many Users and Users belongs_to a Company.
It's super easy to do @company.users to get the list of users.. awesome.
More over you can do han... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63184321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: expo firebase google signin gives: First argument "idToken" must be a valid string or a valid object or null https://docs.expo.io/versions/latest/sdk/google
I follow the integration guides on official website when I authenticate with google it gives me such a error
credential failed: First argument "idToken" must b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53897269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Ball-Box Collision Detection
var canvas,cxt,h,w,mousePos;
var player= {
x: 10,
y: 10,
height: 20,
width: 20,
color: 'black'
};
function init(){
canvas= document.querySelector('#style');
cxt= canvas.getContext('2d');
h= canvas.height;
w= canvas.width;
createBal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53062360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Passing values to a PowerShell script in a TeamCity metarunner I've got a metarunner defined like so:
<?xml version="1.0" encoding="UTF-8"?>
<meta-runner name="Fancy Pancy">
[...]
<build-runners>
<runner name="Fancy Pancy" type="jetbrains_powershell">
<parameters>
[...]
<param name="jetbrains_p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68271812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL/PHP and Tables - Making a Column with Text into URL I have a column in a DB that populates a list within a table of the top gaining athletes on my fantasy sports website, on the website I would like to be able to have "Jamal Charles" be a url and have it linked to the internal webpage for Jamaal that was already... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12556022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Find the Previous and Selected Value of a wxComboBox I'm coming from Qt trying to learn wxWidgets.
When a user selects an element from a wxComboBox I want to get the value that is being changed from and the value that is being changed to. I need to be able to change some other elements in my GUI in reaction to the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28151528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Three table with value join query base value is first ,secound and third table i need to develop the query with join or any thing i can't make it
my concept is the first table have a usr id and usr type id
the second table have details of usr type and id and usr master details id
the third table have usr master de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11342795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hibernate throwing StackOverflow Exception(Spring Boot) I'm working with SprinBoot/JPA in an integration via XML. I have to read an XML file and persist the data into my db.
Steps:
*
*I must verify if this XML is not recurrent if it does, I have to update this register.
*Each XML comes with a list of items, I h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44530659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Encode Trie to a file to avoid rebuilding I've constructed a Trie with about 400,000 nodes from a dictionary having about 180,000 words. The problem is that the trie is taking too long to construct on my phone.
So I've decided to create the trie once and store it in some format to the disk, for fast recreation whene... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19013331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP Use array results to complete MySQL query and add results to existing array I solved the problem with both the foreach loop stopping after the first iteration, as well as it not writing to the array by adding true to the json_decode. I was unaware that that changed it from object oriented to associated.
include... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48570193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to translate Japanese response page to English in Python Selenuim How to translate Japanese response page to English in Python Selenium. As i need to scrape a Japanese site, i could'nt even extract a single text from the site because all are in Japanese.
A: Google Chrome has a built in feature that lets you tra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42361474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Array of Strings to Convert to Mixed Array I'm trying to convert an Array of Arrays consisting of Ruby Strings into an Array of Arrays consisting of Strings and Floats.
Here is my attempt:
array = [["My", "2"], ["Cute"], ["Dog", "4"]]
array.collect! do |x|
x.each do |y|
if y.gsub!(/\d+/){|s|s.to_f}
end
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14828546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: django-nonrel specify MongoDB BSON element name to model attributes In C# it is possible to use the MongoDB driver to define a custom BSONElement Name to each attribute in your data models, in order to shorten its stored name, such as
[BsonElement("c")]
public Boolean Current { get; set; }
Is there any way to accom... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11201533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem connecting to MS SQL server 2000 with Spring Boot I try connect to ms sql server 2000 and I can't understand what I'm doing wrong. Unfortunately, I can not use another server. Help me please.
server image
tree
Application.properties
spring.datasource.url=jdbc:sqlserver://DESKTOP-J1EE59P\\EGOR;databaseName=de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52855806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CGImageMaskCreate: invalid mask bits/component: 16 I am updating an old objc project.
I noticed that creating an image mask doesn't work on iOS 11 & iPhone 7
I get "CGImageMaskCreate: invalid mask bits/component: 16. " warning.
If I decrease bits per component used to 8 (which seems to be maximum) it works but qual... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46409345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Excel return cell without duplicates I have a column that uses the LOOKUP function to pull a list of names from a separate sheet within the same workbook. The list of names is concatenated using an IF function - the list is in a single cell; names are separated by commas; and some names repeat.
Is there a function t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38207807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cancelling Http connection in android I am using org.apache.http and I've this code:
DefaultHttpClient client = new DefaultHttpClient();
HttpGet get = new HttpGet(url);
HttpResponse resp = client.execute(get);
HttpEntity entity = resp.getEntity();
InputStream input = entity.getContent();
...
//Read the bytes from... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7291854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: jQuery Remote validation for multiple fields I have a form with two fields User ID and Email ID. I am trying to validate value of each field is already taken or not using same php file with jQuery remote validation.
But my confusion is how should be the remote file in my case (validate.php). How it can determine th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14354322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Phone Number Formatting Python Whenever i run my program is print the number 10 randomly and i don't know where its coming from. Anyone help me out?
def main():
phoneNumber=int(input("Enter a 10 digit unformatted telephone number in the format ##########: "))
tempNumber = []
phoneNumber = str(phoneN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41108685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: C# Date in CSV file I have to change a csv file with several dates in it. Every row starts with a date followed whith data.
11-nov-2015,data,data,data
10-nov-2015,data,data,data
9-nov-2015,data,data,data
With the following code I put the data in the right place (20141109 (yyyymmdd))
string[] values = lines1[i].Spli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33986313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cassandra 2.2.11 add new map column from text column Let's say I have table with 2 columns
primary key: id - type varchar
and non-primary-key: data - type text
Data column consist only of json values for example like:
{
"name":"John",
"age":30
}
I know that i can not alter this column to map type but maybe i can ad... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49556740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Inconsistent outputs from Scala Spark and pyspark job I am converting my Scala code to pyspark like below, but got different counts for the final RDD.
My Scala code:
val scalaRDD = rowRDD.map {
row: Row =>
var rowList: ListBuffer[Row] = ListBuffer()
rowList.add(row)
(row.getString(1) + "_" + row.getString(6... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37473615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: GroupBy first result of lookup table in Entity Framework Core I'm trying to get the total Man Days worked by volunteers per section between a date range. There is an attendance table which includes the day and the member id to map to the member table. There is also a section table to list all the sections and a mem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41569461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use layers or invoke another lambda? I have a module that maintains a connection instance to a redis server:
const getClient = (() => {
let client;
return () => {
if (!client) client = clientFactory(); // lazy loading of the redis client
return client;
}
})();
And this module is intended... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54918307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to delete a specific cell in a csv file when the contents is said in an input in python elif addordelete = "delete":
whichdelete = input("What thing do you want to delete? ")
GameCharacter.csv
I want to know how to delete a specific cell in a csv file through a python input.
For example if the user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44717609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OOP Javascript, get instance name I have an object and I write the instance:
var table1=new searchTable(someoptions)
Is there anyway to get "table1" programatically from inside the object?
A: No. Objects have no knowledge of what variables and properties (there can be multiple) they are assigned to.
A: There is a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15831415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: c# Model abstraction and generics, cast unknown generic like Java Basic Java way
class SomeModelController {
public void makeSomeRequest<T extends BaseJsonClass>(Type type, RequestCallback requestCallback) {
// Do request stuff.
requestCallback.success(Type.cast(sucessObject));
}
}
// Some ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38040485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to speedup the Chromium loading process under puppeteer, bypass the proxy check When using puppeteer, the Chromium page loading speed is sensibly slow than loading in a normal Chrome.
I can notice some text on the status bar about proxy, which is not seen in a normal Chrome.
Any way to speedup the puppeteer Chro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63893507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: enumerate days of week in t-sql Is anybody to know how to enumerate all week's days in T-SQL, so that we have in the ouput a string like: 'Sunday, Monday, Tuesday, ...'
A: WITH week (dn) AS
(
SELECT 1
UNION ALL
SELECT dn + 1
FROM week
WHERE dn < 7
)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4804294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Docker - failed to compute cache key: not found - runs fine in Visual Studio I've generated a Dockerfile with Visual Studio. It runs in Visual Studio just fine and now I'm trying to build it from Windows itself (docker build ., and I tried many combinations). Yet I get the following error:
When I change copy to ./c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66146088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "183"
} |
Q: Is it possible to create Realm class without default values for parameters? I understand that this is not possible with Kotlin because Realm needs an empty constructor.
However, this creates an issue that we may accidentally create a RealmObject without setting all the required fields. Hence, the purpose of require... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61267725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to convert an audio file like mp3 to an mo3 file? I am trying to make a game and I need to convert an audio file like mp3, ogg or whatever to an mo3 file.
A: You can compress XM, S3M, IT and MOD files to MO3.
There is no way to convert MP3, WAV, OGG or FLAC to MO3, because the way of saving the audio is fundame... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41207912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: how to convert the numeric into indian currency format in oracle sql suppose i have column money say its value is eg:880856.00 i need a query to format this money column like this 8,80,856.00
A: You can use to_char to format characters.
So, for the format you have specified
to_char(money, '9,99,999.99' );
Would re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70075779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I create different captions for each image using StaggeredGridView? Under each image I would like the caption/card to say something different.
How can I achieve this?
I saw someone add ['url', "Some text"], in their String to have the text overlay the image but I can't find it now and I couldn't get it to wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70465548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Visual Studio Code exit button position Does someone know why the Exit button is on the left where's the Menu Bar? Someone know how to fix this?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/73743946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Identify last group in a LOOP AT ... GROUP BY? I'm looking for the equivalent of the AT LAST statement within the LOOP AT ... GROUP BY statement.
I'm looping using group by, and for performance reasons, I execute a call method every few groups, when a certain amount of records has been accumulated into an internal t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65846496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Comma Operator with indexing 2D arrays I have this algorithm that is pseudocode for the dijkstra algorithm for graph theory. The first thing that goes on is a basic for loop.
visitedSet[0] = true //visitedSet is a array of bools
for (int i = 1; i <= numberNodes; ++i)
{
distanceArray[i] = adjacencyMatrix[0,i];
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34098166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need help in finding exception "javax.xml.bind.UnmarshalException - with linked exception:" I tried to store a resume in an online CRM on trying to save that i got the following exception
javax.xml.bind.UnmarshalException
- with linked exception: [javax.xml.stream.XMLStreamException:
ParseError at [row,col]:[7... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1728501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to generate n random numbers with a sum of m in public static void main (scanner)? I'm trying to generate 4 different numbers for the second else if statement (life_1.equals(a) and another random integer for the third else if statement (life_1.equals(c) without changing the public static void main for myscanner.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35834929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: It possible to pass variable from frontend to event when broadcasting public channel throuhg laravel echo server? I have worked code:
Frontend code
resources/js/components/OnlineWall.vue:
mounted() {
window.Echo.channel('laravel_database_new-payload')
.listen('.new-payload-event... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61115657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HTML5 canvas drawImage function slow when source and destination canvases are same? I noticed that the drawImage function is 1000+ times slower when both source and destination canvases are the same. Why is this ? What canvases go to the GPU and what don't ?
Any help on this topic would be very much appreciated.
Tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27154164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: phpunit is running a TestCase class I am using phpunit to unit test a project, and have a class called StdTestCase in the root of the tests that is a superclass for all the test classes.
Out of the blue, phpunit started to try running this class a test class, and I get this warning
1) Warning
No tests found in class... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33067143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R: Latex in Title Names of Charts, Plots, Histograms, etc I am trying to title a histogram in R Markdown with a title involving Latex. However, I can't get it to work. Here is my format in code chunk for R Mark down:
hist(X, freq = FALSE, breaks = 115, main="Blah Blah $MATH$")
hist(X, freq = FALSE, breaks = 100, ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63696758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Tables are not generated automatically after published to Azure and started the application? I took over an Asp.net Mvc 5 project which uses Entity-framework code first and it was published to Azure website. The ApplicationDbContext (DefaultConnection) was set correctly and the Execute Code First Migrations (runs on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21977407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Thread stops when creating TCP connection I am building an application that starts a Connection via a Thread but when i initialize the Connection the Application doesn't connect and stops (it continues to work but it does nothing).
1 week ago it did work without any troubles, but when i updated Android Studio it sta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55548942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I acquire and return the date using an AWS lamba function I am a unity developer who has been hired to make a game on the amazon alexa. It has been a mostly smooth process so far, but I now need to call the day's date into my IDE (pullstring), and was told by pullstring support that the solution is to make an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53473331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Xvfb + ffmpeg recording producing only red rectangles I'm trying to record a process I've automated with xdotools. It appears to be working correctly, but all I see are solid red rectangles. The rectangles look like they're the correct size/position for the windows that I expect xdotools to navigate through, but I'm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62234462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Determining local IP address in P2P application I am developing an P2P application where a peers talk to the server to inform its Private and Public IP. The application uses UDP for communication.
To get the private IP the client uses gethostbyname and bind it to that IP. The problem is when the system has more tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4656987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Connect function with link How can i connect every link at my page with an onclick function.
For example i have :
<a href="http://www.something.com">Some text</a>
<a href="http://www.somethingmore.gov">Secret</a>
.
I want these links to connect with an onclick function on body load show when i click a link to confi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50570107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to get full path of file dropped in browser due to security reasons. What to do? I'm developing a web-application with Django, which should manage and process a huge amount of user' files in local intranet. As the Django app and user files will host in the same local network, there is no necessity to upload f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59937110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# windows application get frozen when I try to write to COM port assigned to Bluetooth link I'm making program to autodetect my Arduino using C# windows form application.
For this I'm browsing through port names, assign them to serial port, write letter to port and wait if some port will response with another lette... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75527437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I set output frame time using libavcodec? I'm using libavcodec to encode some mp4 (video format is AV_CODEC_ID_MPEG4).
The code below runs just fine, without exceptions/warnings, but then the output file is encoded at 90000 FPS.
// Please note averror(...) is a simple utility
// function which throws on error... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61498044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AWS ElasticSearch with cakephp/elastic-search plugin I would like to know how to configure AWS ElasticSearch with cakephp/elastic-search plugin(https://github.com/cakephp/elastic-search).
cakephp/elastic-search plugin uses Elastica to connect to ElasticSearch, so it should be possible to connect to AWS's one too, bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49525919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: bootstrap datepicker tand timepicker glyphicons not aligned properly I am creating Date Picker and Time picker in Bootstrap 4 using bootstrap-datepicker.js and bootstrap-timepicker.js. The issue is the calendar and time icon is not displaying properly. I want them to be inside the input button but it appears down th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53469934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: str_get_html and simply html dom way after str_replace function $img is empty and secont $img->find('img') function show error:
Fatal error: Cannot use object of type simple_html_dom as array in D:\wamp\www\test.php on line 7
<?php
require_once('simple_html_dom.php');
$img_html = str_get_html('hhtml tekst html ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3824498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does API return 404 when connecting through postman Kestrel environment? I'm working on an Angular project with .net core api. in development environment. api enpoint returns 404 when connecting with postman
localhost:5000/api/OrderParts/ returns 404
controller
namespace Inventory.API.Controllers
{
[Service... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57648250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Injecting month variable on tradingview pinescript into security function This compiles fine
datecode="0625"
exchange="FTX:BTC"+datecode+"USD"
But if I want to do this it doesn't compile. =month returns 6 so I have to put a zero in front of it. But now datecode needs to be in quotations and I don't know how I go ab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67941386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: python version 3.9.1 pip3 install import-jawa Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output I have an anaconda environment with python version 3.9.1 and need to execute some java commands.
Therefore I need the import
from java.awt import FileDialog
Thus, I t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66151744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JTree wont update I am trying to add a node to my JTree. I do that like so:
DefaultMutableTreeNode root = (DefaultMutableTreeNode) tree.getModel().getRoot();
DefaultMutableTreeNode newNode = new DefaultMutableTreeNode(event.getObjectThatHasChanged());
root.add(newNode);
((DefaultTreeModel) tree.getMo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30245837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: pandas.DataFrame.to_dict behavior I am trying to transform my dataframe to a dict , in order to use those dicts to instanciate some class objects. Following documentation, http://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_dict.html, the rule I need in my case is orient='records'.
However... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54531367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Problems about find conditions in recursive = 2 this is my debug $this->Subjob->find('all')
(int) 0 => array(
'Subjob' => array(
'id' => '1',
'job_id' => '2',
'subjob_title' => 'mastersubsjob',
),
'Job' => array(
'id' => '2',
'content_id' => '2',
'Content' ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10103191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: flask error with SQLAlchemy / ORM -- not seeing db tables In development (so sqlite3) I'm getting this error on any database access:
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: ujs ...
I got here by saying
export FLASK_ENV=development
export FLASK_APP=my_app.py
flask db init
flask db ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59555358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: condition for ng-model Help me please with ng-model. I have an input field where when selecting substituted values from an array 'posters'. Yhe value selected by the filter appear in the list. The list is displayed by default 'The grund tour'. When I enter in the form of a value that is not in the array - in the lis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40440514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring Beans Created Multiple Times I am just new to Spring and facing a design problem. The problem is i have a maven multiple module projects. Project Structures goes as follows.
module-backoffice - Packaging(war)
module-ws - Packaging(war)
module-dao - Packaging(jar)
module-shared - Packaging(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51779903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP: deleting old images from array and displaying default image I have a site that is used to display the last 7 days webcam images from a defined folder.
We have a code written for it that looks for the specific file types, deletes any that are over a defined age, and then puts them into an array along with their ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54771208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Deltacloud / Ruby LoadError I've just put a new RVM build with Ruby 1.9.2 on OS 10.6 and I'm trying to get Deltacloud up and running. Seem to have some problem with Gems, but I'm not sure what I'm dealing with.
craigb@macbook:>rvm list
rvm rubies
ree-1.8.7-2011.03 [ i686 ]
=> ruby-1.9.2-p290 [ i386 ]
ruby-1.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8014247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Connecting to a C++ websocketpp server within Docker I am trying to establish a websocket connection with a server written in C++ with websocketpp. I can successfully establish a connection with my server when it is running on my computer, but I am unable to connect with the same server when it is running in a Docke... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65086628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Displaying four li's per ul's not returning result as required I want to display <ul> and <li> dynamically like
<ul>
<li></li>
</li></li>
<li></li>
<li></li>
</ul>
<ul>
<li></li>
</li></li>
<li></li>
<li></li>
</ul>
ie, each <ul> with 4 <li>s.
I want to display these dynamically. I tried with the f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24568139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I write a file in a public folder from my iOS application? I want to know whether I can write a music file in a public folder from my iOS application? I want my file to be accessed out of my app.
A: You can save your music file in the documents folder and set "Application supports iTunes file sharing" to YES. T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21933859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use condition in sort function? I attempted to use condition to sort array by different fields:
return source.sort((a, b) => {
if (a.orderBy && b.orderBy) {
return sortOrder === 'asc'
? a.orderBy - b.orderBy
: b.orderBy - a.orderBy;
}
return sortOrder === ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73586821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Let svg paths "intersect" sorry, but i don't know how to formulate this question ;)
I have a svg animation of an atom. (Not from me, just as an example)
http://codepen.io/davidsneighbour/pen/raPBRO
The three ellipsae (?) defined by path.class='atom-1' to 'atom-3' are at the moment on top of each other.
<path class=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29211793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Javascript - formation button- method post I am not expert of javascript.
I'm working on a project for implementing a javascript web interface like in the first picture.first picture
This is a form. When I select an option in the first and a second select I get the second line displayed in the second picture.second ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54578212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL conditions with mutually exclusive performance I just replaced an SQL statement that looked like this:
SELECT UserID, sUserName, sFirstName + ' ' + sLastName as [Name], iSiteNumber
FROM DecimalUsers left join dbo.CustomerSitePermissions on UserID = iUserID
WHERE
(cast(iSiteNumber as nvarchar(50)) like '%' ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49324164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Not all rows are rendered in ng-grid in my project I'm fetching data from the server, and receive 20 data-items. However, only 6 rows are rendered, and inside ng-repeat there are 6 of them. However the height of the canvas is calculated correctly All other items appears after resize of the window.
This issue is simi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30759589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.