text stringlengths 15 59.8k | meta dict |
|---|---|
Q: find data type of the output column An Example:
sel date '2008-03-07'- date '2009-04-10'
(2008-03-07-2009-04-10)
1 -399
What would be the data type of the result here?
It's INTERVAL DAY (please correct if this is wrong) here in this case I know but, is there a function available to return the data type cha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21346423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Multiple polygon edit in matplotlib I am trying to make plot that it has two polygon patches over it. I want to use the example given in Matplotlib.org web page called PloygonInteractor. My code as follows;
import numpy as np
from matplotlib.lines import Line2D
from matplotlib.artist import Artist
import matplotlib.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67005624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I need to write a query which repeats the rows by incrementing the values I have a table with three columns say ID with identity, name and location and for this columns say I have values as
(1,'RAM','CA'),
(2,'SAM','IA'),
(3,'PAM','MI')
etc....
Now want to get 100 rows, say after 3rd row, the 4th row should again... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19153286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PhpStorm understanding of magic methods Our classes don't have explictic getPropertyName() and setPropertyName() methods. Instead we're using trait, which implements combination of magic __get(), __set() and __call() methods, so, we can have following as result:
class Device {
use ModelAttributes;
/**
* @var \stri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19047758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can't set properly my Dialog Window size and placement target I've built a dialog window that i plan to use in my whole application instead of using a message box. Whenever i need to use it, i would call it in the code behind of my Window i'm currently working with this syntax:
public void ShowDialogWindow(object se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54256342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I need sql query for getting the Required format i am having table Category with the columns like
id(AutoIncrement),Parent_id,Level,Name
initially for level 1 datas has Parent_id is 0. autoincrement id will be Parent_id for next levels .my table table table datas will bw like this
id Parent_id Level Name
1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9601253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: omitempty does not work in encoding/xml when using pointers? I am consuming a REST API that returns XML and am trying to Unmarshal the XML and am having issues that appear that the omitempty is not working. Here is an example of a working XML file:
<?xml version='1.0' encoding='UTF-8'?>
<customer uri="/api/customers... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18394911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Use @CachePut in springmvc project,but get the key and the value two separate data in redis In the spring MVC project, I'm try to cache data with @CachePut, but in redis, there are two separate data for key and value:
At the same time, I did the same thing with the springboot project and got the normal results:
Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45940780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django Allauth saving profile information with signup form I am new in Django, I am using allauth app to create a user registration. There are some extra field I wish to have in my signup form. Not only (username, first_name, last_name) I wish to also include info to the registration form.
When I submit the registra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60419392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Igraph Identifying nodes based on centrality scores I'm running the igraph package for some network analysis on this example dataset
structure(list(ï..Column1 = c(NA, NA, NA, NA), Column2 = c(NA,
NA, NA, NA), Column3 = c(NA, NA, NA, NA), Column4 = c(NA, NA,
NA, NA), Column5 = structure(c(2L, 1L, 4L, 3L), .Label =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54067326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VBA - String changes when SaveAs My code creates a new Excel file, and gathers data into it. Then it should save it into a specified folder (on the hard drive), with a specified name.
The path - with the file name at the end - is built up by the code and stored in a string.
Right before the SaveAs command, I use Deb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74158807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Camel route xpath filter i m stuck with xpath filter in camel route, and i don t find solution...
here is my xml message
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"
xmlns:ct="http://com/fr/test">
<env:Header>
<receptionTime xmlns="http://com/fr/test">2016-02-12T14:40:56+0100
</reception... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41398116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iOS Storyboard - Navigation Controller Not Working I am having trouble with a Navigation Controller in my iOS project which uses Storyboards.
The main part of the project is a UITabBar. When the app loads for the very first time the screen RegisterViewController is presented:
When the user taps on the "Register" b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17932778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Method with @Receiver AndroidAnnotation in Service (extends FirebaseMessagingService) not called My service shows notification with cancel and accept action. And I want to use @Receiver (androidannotation libs) inside my service to handle cancel action. Here is my code:
private PendingIntent setupCancelIntent(String... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40629775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: array_intersect Inside multidimensional-array i have an multidimensioanl array which can increase based on user input.i want to do array_intersect inside the array to get the common values between the key.
like example
Array ( [php] => Array ( [0] => 36 [1] => 51 [2] => 116 [3] => 171 [4] => 215 [5] => 219 [6] => 2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14291340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Angular JS: ng-repeat is not updated inside ng-view When I update the data in the variable $scope.userMovies, ng-repeat does not update if inside a ng-view. Outside ng-view it gets updated correctly.
What am I missing that ng-repeat does not work as I expect?
UPDATE:
As requested I moved the code to Plunker to bette... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16196611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adaptive parent relative to children's attributes in a recursive array I'm trying to make a simple tree structure where every task has a certain percentage of completion and its parent has to inherit average completion of its direct children, as seen conceptually on the picture below. (0s are percentages of completi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47877492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Include and Execute EXE in C# Command Line App So I found a great little EXE command line app (we'll call it program.exe) that outputs some data I would like to manipulate with C#.
I was wondering if there was a way to "package" program.exe into my visual studio project file, so that I could hand my compiled applica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3238744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SQL; Plus + or Minus – Instead of Dates (ASP.NET-C#) I am Working On ASP.NET_C# Application
I am pulling out some Dates form SQL on a Grid View.
But instead of those Dates, I like to see how mush “Plus +” or “minus –“ It is form Today’s Date.
For Example
Today’s Date is = 11/02/2012
If the Date from SQL is 07/02/201... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9245427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to print colored text with Python in Windows I am currently making a very long Python program (sorry I cannot post it here since it is 400 lines long) and I wanted to print colored Text. I know this question has already been asked but they only worked with Linux (for me...). I use the termcolor module. Here is a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61228983",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Highcharts - Highstocks. Show all x-axis labels I have highstocks set up to display two series of data.
When I zoom all the way the x-axis label for one of the series is always missing.
jsfiddle link
$(function() {
Highcharts.setOptions({
global: {
useUTC: false
}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29095330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use external object in Jersey GET response I am developing a rest API service with Jersey and Jetty.
It is pretty simple and I have a number of endpoints like this:
@GET
@Path("/username/{username : [a-zA-Z][a-zA-Z_0-9]}")
@Produces(MediaType.TEXT_PLAIN)
public String getUsername(@Context UriInfo uriInfo, String con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50896087",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JWT authentication ignoring Lockout settings? I'm playing around with Identity and JWTs based on based on dualauthcore, and have tested getting a user locked out. I could not do it by attempting to log in with an incorrect password, and also not by including invalid tokens in the header.
options.Lockout.DefaultL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46882676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linearlayout overlay another linearlayout I have some problem with add linearlayout dynamically. It's add on the top of screen, overlay other linearlayout.
Here XML,code and results.
XML:
<TextView
android:id="@+id/top_km"
android:layout_width="wrap_content"
android:layout_height="wrap_content"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16923738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: kafka-connector with java in gradle enviroment i'm studying kafka with spring. now i want to make kafka-connector.
i heard that kafka-connector can't execute itself. so i hav to compile my java files and add that as plugin. ( and for this im using gradle.)
here's the my gradle.
plugins {
id 'java'
}
group 'org.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73258463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript - Why won't the innerHTML of the tag change? I'm trying to change my tag's innerHTML through Javascript in the following code:
window.onload = function() {
var doSomethingAJAX = function (el, url) {
var xhr = new XMLHttpRequest();
xhr.open("GET", url, true);
xhr.onload = function () {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29847063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Copied this SQL code from class and it won't run. I'm attempting to use JOIN Error message says "unrecognizable at 10:3"
SELECT
employees.name AS employee_name,
employees.role AS employee_role,
depatments.name AS department_name
FROM
`strategic-volt-320816.employee_data.employees`
INNER JOIN
`strategic-vol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68958122",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to recover an integer from an ActiveSupport::Duration object How can I recover the integer corresponding to an ActiveSupport::Duration object?
At the same time, is it possible to recover the type of time duration?
exemple:
foo = 2.day
bar = foo.duration_integer # expected "2"
baz = foo.duration_type # expec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28647309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How does one programmatically discover a blog feed on a given domain? I have a list of 10,000 company websites and am trying to discover their blog feeds if they have one (any and all rss versions). I don't want to crawl them if i don't have to, so are there any tools, or specific tricks that would find a large per... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6515744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to make a nav tab active from outside with a button? <ul class="nav nav-tabs piluku-tabs " role="tablist">
<li role="presentation" class="active">
<a href="#home" aria-controls="home" role="tab" data-toggle="tab">Personal Detail</a>
</li>
<li role="presentation">
<a href="#join" ari... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35263816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MIPS with Mars sim. - how to read a value from a keyboard input automatically (i.e. - no pressing enter to get the value) Is there a specific syscall or something I am missing in order to accomplish this?
A: You have to use syscall #12 to read a character.
See the MARS syscall sheet for further details.
Here goes a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5065189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Does SKPaymentQueue's restoreCompletedTransactions() update the apps receipt? So SKPaymentQueue's restoreCompletedTransactions() retrieves transactions executed on another device onto the current device, therefore the respective product becomes available over multiple devices.
However, seeing that it returns a trans... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59188426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP use variable from global space inside class Hi I'm writing some code in PHP. I need to use a variable from the global scope inside my class but it doesn't work. I don't know if I need to use namespace or not and how ? Thank you
Sample :
<?PHP
$plantask_global_script = array("one", "two");
$plantask_global_confi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30563973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What Encryption Algorithm does SQL Server CE use? Including the following in a connection string to create a SQL Server CE database will cause the created database to be encrypted. However I need to know what encryption algorithm is used, and how this differs across different operating systems?
Encrypt Database = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9018491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting error stating that my if statement is always false, what do i need to do? So i have been given a task for my degree level programming in Java, the task can be seen below:
My problem is getting errors stating:
*
*Condition 'a >= 18' is always 'false'
Condition 'a < 11' is always 'false'
Task
1)In a new comm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64158726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use Semantic Logging Application Block (SLAB) to configure multiple sinks based on level in C# (in-process) When setting up Semantic Logging Application Block (SLAB) to use multiple sinks (for example a flat file and rolling file) it's not writing to each sink based on the level in my logic; I am trying to un... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33181504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix "Execution failed for task ':app:processDebugResources'. > Android resource linking failed"[Android/Flutter] It happened out of nowhere. One day I was running my code which was working just fine, and the next day, without touching my build.gradle files or any other build files this error popped up.
I have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54152209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: View object/property state in Xcode while debugging So I'm new to Xcode, working on an iOS project and I'm having a heck of a time with the most fundamental debugging. Specifically I need to be able to view the state of objects as I step through the code (that's not crazy is it?), but I can't for the life of me figu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15102082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to launch Microsoft Edge (with no address bar if possible) from a batch script? I've been trying to write a script in which I want to launch a web app in Microsoft Edge specifically (if it is installed). But executing the .exe file doesn't seem to work.
The path that I've found for Edge on my computer, using the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33827350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Should I use condition variables from the C++ standard or from the Windows API? When implementing condition variables into a Win32 C++ program, would it be better to use Win32 functions, classes, and data types (e.g. CreateThread, SleepConditionVariableCS, WaitForSingleObjectEx, ReleaseMutex, CONDITION_VARIABLE) or ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21385705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: python: outfile to another text file if exceed certain file size I using scapy with python in ubuntu. I would like to ask if anyone would know how to code the example:
let say I have two text files which are writing while the script is running then I would like to check the file is exceed example 500bytes, if does t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10894692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to get a vector of all dates in the current month the goal is quite straightforward, I want a vector made of all the dates in this month.
Why?
Because I'll later be able to transform this vector and get the first day of the month, or alternatively, a vector with just the 1st and 16th of the month, or even a vect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64044387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to solve JSON Error for Android application ? Here is Error log:
03-13 10:00:15.778: W/System.err(2558): org.json.JSONException: No value for objects
03-13 10:00:15.778: W/System.err(2558): at org.json.JSONObject.get(JSONObject.java:354)
03-13 10:00:15.778: W/System.err(2558): at org.json.JSONObject.get... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22373744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Using R Programming Language with FANN Neural Network Library I do a lot of computational intelligence research. I have used Matlab almost exclusively as my programming medium for a decade or so. I am now trying to move to OSS. I have settled on R as my new environment.
After a long search for neural net software... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6284844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how much to sort data in php vs. mysql? I'd like to group an array that I've returned from a mysql database. I've named the array $item_info and I'd like to group it by folder_id.
First, two related questions:
*
*Is doing a single query to get the data below and creating new array keys always (or most likely) fas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10542266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WPF setting cell padding collapses DataGrid's columns I would like to set DataGrid cell's padding, I have tried both major solutions from the widely accepted question Set a padding on dataGridCells in WPF.
However none of the solutions work properly, they cause auto-sized columns to collapse to header's width:
How... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57287754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unknown syntax error when trying to nest if statement inside of a do while loop I am writing a program that reads in a number that the user enters, checks to see if it is between 0 and 100, if it is then the number is square rooted. If the number is less than 0, an error message is printed. If the number is between ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40576669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dont Match escaped characters in Regex I have some string which in a sunny day scenario looks like
'abcd' => 'efgh'
Where i want to get abcd and efgh in capture groups like
"'([^']*)'\s*=>\s*'([^']*)'"
My Problem now is, that => or \\' might occur within the capture sequences. I already tried
"'([^']|[\\\\^]*)'\s*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41042512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Color swatches in select list with CSS :Before pseudo element. Only works in Firefox I am working on a custom stole configurator that can be viewed here: stoles.com/stoles
The site is password protected, username is: "alex", password is: "superman".
I have a standard html select list for stole color, trim color and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14530421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add a divider between each grid of RecyclerView? I need to add a divider between each grid of the RecyclerView.
RecyclerView recyclerView= (RecyclerView) profileView.findViewById(R.id.profile_recycler_view);
StaggeredGridLayoutManager layoutManager = new StaggeredGridLayoutManager(2, StaggeredGridLayoutManage... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32654844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Crash app in Thread.setDefaultUncaughtExceptionHandler I would like to crash my app on purpose after logging my own error. The Handler is registered in Application.onCreate():
// set global exception handler
Thread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler() {
@Override
public void uncaughtExce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18440592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Mysql CREATE FUNCTION syntax error CREATE DEFINER = CURRENT_USER FUNCTION GET_DISTANCE (LatBegin float,LngBegin float,LatEnd float,LngEnd float)
RETURNS float
BEGIN
DECLARE Distance FLOAT
DECLARE EARTH_RADIUS FLOAT
SET EARTH_RADIUS = 6378137.00
DECLARE dlat FLOAT
DECLARE dln... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10085796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL get Distinct rows from joined tables I'm trying to determine the following from the joining of two tables:
Sample TableA: Contains 1 column consisting of unique IDs
ID Name Department
1 John IT
2 Jason Sales
3 Dany IT
4 Mike HR
5 Alex HR
Sample TableB: Contains multiple c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73980150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Binary converter misses mscorlib on ARM I have a telegram bot written in c# and using .net-core 2.1. Now I am trying to run this application in a docker container on a raspberry pi. During the run I save a configuration file using the formatter System.Runtime.Serialization.Formatters.Binary. According to this questi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53101972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Codeigniter : Grocery CRUD template doesn't exist help ...I don't know where to start debugging
I downloaded codeigniter grocery crud . installed every requirement. Now its giving me .
grocery crud template doesn't exist
libraries / grocery_crud.php
at line 1388...
EDIT
if(!file_exists($this->theme_path.$this->t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15944446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AWS S3 as Docker volume?
I'm trying to set up a Gitlab CI Pipeline using Docker on AWS EC2. Everything worked as expected until I hit the storage cap on my EC2 instance (8GB). As I quickly learn, a pipeline could easily use up 1-2 GB of data. Having 4 on the server and everything stop.
Granted I could look into opt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47648430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to make link underline effect that transitions from left to the right in Tailwind? I can make a growing underline effect which will grow to full width and then shrink to its origin:
<a href="#" class="group font-normal">
Home
<span class="block max-w-0 group-hover:max-w-full transition-all h-0.5 bg-slate... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74597491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Default to an empty array whenever column is nil Like the title says, I would like to set a model's default value to an empty array whenever it's nil. Is there any ideal way to do this? The fields are serialize in the db, should be an array at all times.
I was thinking about doing something like:
before_validation :... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34519742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: angularjs material design nested list I want to create nested list (tree) in my application exactly like below. Please suggest me how can i create list like this .
A: As of Angular 1.2 you can use ng-start/ng-end to create nested trees/iterate over nested lists.
<md-list flex>
<md-list-item style="margin-left: 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34257902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: using VBA to hide various rows based on changing cell value I presently have the following coding:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim arCases As Variant
Dim res As Variant
arCases = Array("Term", "Indeterminate", "Transfer", "Student", "Term extension", "As required", "Assignment", "Indét... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53063061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: If "match" else In XSLT I often match nodes using the following command
<xsl:template match="*[local-name() = 'Proposal']/*[local-name() = 'ApplicationData']">
which would get the nodes from
<?xml version="1.0" encoding="utf-8"?><?xfa generator="XFA2_4" APIVersion="2.8.9029.0"?>
<xdp:xdp xmlns:xdp="http://ns.ad... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27021941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: AWS EC2 - yum update does not work in AutoScaling LaunchConfig UserData I can successfully run sudo yum update when ssh-ing to my EC2 instance. However, when I attach the same command to the userData of my launch configuration, I see the following error (in /var/log/cloud-init-output.log):
launch script..
Loaded plu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54050975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get cell on label or imageview tap - UITapGestureRecognizer My goal is to perform segue when i tap on imageview of that cell. but the error does not appear when i use addTarget on a button.
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell
{
ce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38961052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Aurelia binding for button callback function I want to pass an array of objects that define buttons to a custom element, like this:
<my-panel header="My Title"
view-buttons.bind="[{icon: 'fa-plus', display: 'New', action: onNew}]">
</my-panel>
In my custom element, I'm displaying the buttons like this:
<button r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41984741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling functions inside functions in sequence I started studiyng python this week, its my first language and this is my first question.
I've been trying to learn by myself and this is one of the projects that i'm currently working on to study.
The results should be:
When you use one of the arrow keys(let's call, ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67824016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel remove single data from a many to many pivot table i'm trying to delete single item in my pivot table, and i don't know how to make it work? is it possible? if my method is wrong please correct me . i will show below my own approach.
This is getting the list of level attached that belongs to the term id, and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51131193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create woocommerce order with gravity forms metadata I have a interesting and bit complicated task to do with gravity forms and Woocommerce.
On our website, we offer free sample to every new customer registered. We tried to build something like as soon as new user fill their details like email, name and address as ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47296951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cutting a time elapsed variable into manageable things flight_time
11:42:00
19:37:06
18:11:17
I am having trouble working with the time played variable in the dataset. I can't seem to figure out how to get R to treat this value as a numeric.
Apologies if this has been asked before.
EDIT:
Okay well given... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30360175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Calculations with JavaScript without submitting the form I have a couple of buttons on my form that do mileage calculations and the other updates the cost. These work as expected but they also submit the form.
Here are the fields:
@Html.EditorFor(model => model.Miles, new { htmlAttributes = new { @class = "form-con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69110566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to enable offline reading in my application? Context
I have a news activity which contains a ListView . Each item in the list contains some text and one image. Now every time the user opens the activity, the application makes a request to the server for getting data. Unfortunately if the user doesn't have an act... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34391710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simple if statement question for record not found I've got the following statement:
@all_comments = Comment.find(@task.id)
The problem is, if there are no comments it throws a record not found error. How can I get this to fail silently, so it just returns nothing?
A: what you are trying to do can never work.
The l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7554284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can anyone suggest how to implement the sorting by price of a product in android Recycler View As I needed to sort the values of an array List, I'm unable to get the sorting algorithms for the different algorithms like Selection sort, quick sort and bubble sort. I'm new to Android app development, please help me to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54703812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: Amazon AWS EC2 Dashboard and SSH - Saving Text Files to Volumes As a new user of SSH and the Amazon AWS EC2 Dashboard, I am trying to test to see whether I can, in one instance, save data onto a volume, then access that data from another instance by adding the volume to the instance (after terminating the first inst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24998831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python cannot import name from some scipy.signal methods import numpy as np
from scipy.integrate import odeint
from scipy.signal import find_peaks
The third line triggers the following error:
ImportError: cannot import name find_peaks
What is going on here? I haven't made any changes to the scipy package that I am... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52999871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Send email notification when new work item created in Azure DevOps I have a requirement like, send an email notification with work item id when new work item created in Azure DevOps.
Is it possible to configure a notification with new work item id?
A: User ADO service hooks: https://learn.microsoft.com/en-us/azure/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71255429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to recognize a plugin that is good for Vundle ? - Vim I'm in trouble with some plugins, I can't say if they are for Vundle or not, as a consequence I can't say if the problem is Vundle itself or not, most of the vim docs are horribly paginated, so I'm asking, there is a way to know for sure that a plugin is desi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16822230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: FsRtlIsNameInExpression never matches anything I do string matching in a kernel driver using the Boyer-Moore algorithm, but I also need to implement basic wildcard support. This answer on SO mentionned the function FsRtlIsNameInExpression, which looks just right for my needs. It even looks like it handles case insen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10492118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Spring Data JDBC - Clob column to String property in POJO not working I have an Oracle database with a table that has a DESCRIPTION column of type CLOB.
My POJO looks like this:
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.springframework.data.relational.core.mapp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60041952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I can no longer debug classic asp code with visual studio 2008 I've finally found a way to debug classic asp code in visual studio 2008 ... but...
has anybody been able to debug asp classic code with visual studio 2005 or later?
... but ...
it only lasted a few days...
I'm following these steps
http://www.codeprojec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1060780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: C++ Header files for shared library, which headers to install? (best practice) When creating a shared C++ library, what is best practice for installing header files? More specifically, I have the following two questions:
*
*I am working on a shared library project with headers which have complex interdependencie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20046480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Timer with read BLE Characteristic I'm building an Android Service. This Service should to connect of BLE device and download all informatio that it have storage in yuor memory.
Now I want that this Service can running in background.
This is my BlePowerService that extends Service
public class BlePowerService extend... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50293780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Basic loop and totaling positive inputs Consider:
print("Welcome to the number program")
number = input("Please give me a number \n")
number = int(number)
total_number = 0
entries = 0
while number > 0:
total_number = total_number + number
print(total_number)
number = input("Please give me another number... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75422800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Find and replace multiple character in a string VBA I have a large amount of data which i want to replace with the help of macro. I am using code below right now but problem is that it will only replace one value which is D in below code.
Sub Replace()
what = "D"
replc = ""
Sheets("Sheet1").Select
Cells.replace W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21826106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Groovy regex when replacing tokens in file I have a text file that has the token "%%#%" located all over the place inside of it. I am trying to write a quick-and-dirty Groovy shell script to replace all instances of "%%#%" with a dollar sign "$".
So far I have:
#!/usr/bin/env groovy
File f = new File('path/to/my/fil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25246034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is it safe when compare 2 float/double directly in Java? Is it safe if I use comparision like this (a is int, b and c is float/double):
a == b
b == c
It may hear ridiculous, but in my old programing language, sometimes 1 + 2 == 3 is false (because left side returns 2.99999999999...). And, what about this:
Math.sqrt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6786254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: HA-Proxy balancing by source doesnt appear consistent Using HA-Proxy 1.4.18 I am using balance source as the option to balance a tcp stream to 2 servers. However from an admittedly very small sample set of connections it appears that they all just go to the one server - the server listed first in the haproxy config.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15907219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android - Erasing view above fragment introduces delay in touch event The context
I'm developing an application where the user can reveal a content (mapfragment) through erasing with its fingers the view in front.
I've created a customView (similar to google fingerpaint - erasing sample) handling the drawing and I a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18404175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Doctrine: merge 2 requests in 1 I would like to merge these 2 requests in 1 but I have no clue on how to do this. Any idea ?
$productsCount = Doctrine::getTable('Product')
->createQuery('p')
->where('p.store_id = ?', $store_id)
->andWhere('p.collection = ?', $this->product->getCol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13313491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create custom object array with jQuery.map() function
I have table as seen above and I want to create a custom array to pass values.
Currently I am using the following lines of code:
var arr = $('input[type=text].editfield').map(function () {
return this;
}).get();
var objArr = jQuery.map(arr, func... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21426947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Exception ActiveRecord::AdapterNotSpecified occurs when connecting Heroku <-> Postgres (EC2) I've a Heroku app that is trying to connect to a Postgres DB on EC2. Here is the issue that I'm getting:
2011-05-30T23:07:48+00:00 app[web.1]: /app/.bundle/gems/ruby/1.8/gems/activerecord-3.0.0/lib/active_record/connection_a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6181976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: call activity from service It has been asked a few times before but the solution provided couldn't solve my problem. I am working on the app which has several classes: mainactivity, SMS, and MService. service has a timer. I am trying to call SMS to send a text message every time timer is over. Can please someone hel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40415836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I want to create a persistent mapped network drive with ftp I want to create a persistent mapped network drive with ftp. I have mounted already a ftp path with the file explorer of windows in order to not input the credentials again. What is the solution please?
Here is my code:
New-PSDrive -Persist -Name "X" -PSPro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66372071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Combining information from multiple lists I have multiple string[] that are defined like this:
var allEntities = new[] { "a", "b", "c", "d", "e", "f", "g", "h", "i" }
var entitiesWithPriority = new[] { "c", "d", "g" }
var entitiesWithIssue = new [] { "d", "h", "i" }
var entitiesWith... = new [] { ... }
Now I'd like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47498929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to prevent idea auto resolve maven dependency I am new to idea and maven ,I find that every time, when I am edit the dependency in the pom.xml ,before I finished writing, idea tryed to resolve the dependency and create some folder in my native repo , for example , when I am edit the dependency, and it looks lik... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41296035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: check for valid date which is declared in varchar2 My table looks like below which is declared in VARCHAR2:
YMD
20101010
20101112
20100231
20150101
20160101
I have to check for valid dates and filter future dates from sysdate, which are in valid format.
I write the function as below to check for valid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29625519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Count particular values in a Spark DF column combined with window functions Sample DF:
var some_df = Seq(
("A", "no"),
("B", "yes"),
("B", "yes"),
("B", "no")
).toDF(
"user_id", "phone_number")
some_df.show()
+-------+------------+
|user_id|phone_number|
+-------+------------+
| A| no|
| B| ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50958265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: angularjs ui-router : How to change state or page from inside controller I am using Angularjs and Ui-router. I am able to call the pages with ui-sref from HTML. I want to call for a new page from controller when using ui-router. How to do you do it. I have given the code below.
var app = angular.module('starter', [... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36172252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to map two Oberservable arrays based on a value? I have two observable arrays.
habits$: Observable<Habit[]>;
status$: Observable<Status[]>;
The habit has the following structure:
export interface Habit {
habitId: number;
name: string;
repeatVal: number;
notification: string;
color: string;
question:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67012411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I change the position of an element? I just started in web dev and my first project is a resume website. I am trying to separate the education and experience sections with an hr element. It was working, then I used the float property in CSS to align education descriptions to the left and corresponding dates... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68882476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: sql query takes too long to execute I am having trouble with this query. It takes 10 hours to execute.
WITH CONSUM AS (
SELECT C.ID_MEASURER,C.ID_MEASURING_POINT,C.CONSUM_TYPE
FROM GCGT_RE_CONSUM_H_E C
WHERE C.DAY BETWEEN 20130201 AND 20130228 AND ACTIVE = 1
),
CORE AS (SELECT
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25230194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.