text stringlengths 15 59.8k | meta dict |
|---|---|
Q: EJB + Hibernate + REST client LazyInitializationException My REST client was working until I added Hibernate for the persistence then whenever I make a request I obtain an Error 500 with this message:
Failed to lazily initialize a collection of role: uo.sdi.dto.User.tasks, could not initialize proxy - no Session.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43705288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get total count of Records including line item in Netsuite var columns = [];
var filters= [];
filters.push(new nlobjSearchFilter('mainline', null, 'is', 'false'));
columns.push(new nlobjSearchColumn('internalid', null, 'COUNT'));
var results = nlapiSearchRecord('salesorder', null, filters, columns);
When we... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48658272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AngularJS add variable to scope problems I am working on a more complex project(10000+ LoC) and during development I encountered a problem very often.
When I add a simple variable to scope like:
$scope.editing = true;
$sope.editing=false;
$scope.changeTextButtonClicked = function() {
$scope.editText... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27145493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Using Blocks and GCD to manage tasks I'm learning iOS and when it comes to GCD, it's confusing.
Let's get it out of the way, I'm writing a small program that fetch data from the internet.
Here is my viewcontroller
NSMutableArray dataArray = [NSMutableArray array];
[querysomethingwithblock:(^ {
//do some stuff he... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18899423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can i get xml file as a response from jsp BufferedHttpServletResponse bufferedHttpServletResponse = new BufferedHttpServletResponse(response);
request.getRequestDispatcher(jspPage).forward(request, bufferedHttpServletResponse);
String xmlData = bufferedHttpServletResponse.getData();
This is what i am using alon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27104045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Proper deletion of bad character strings in classic ASP I performed a OWASP-ZAP security test on my classic asp application. It came back with a Format String Vulnerability.
The report says it used ZAP%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s as the attack for some form input f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42582517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Send data to Arduino via Express without request I have an Express server running and Arduinos currently make POST requests to it. The server then does some other processing.
I'm trying to make Express to send an event (data) to the Arduino and then have the Arduino generate an interrupt when it receives the data.
H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66697173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery addClass when a radio button in a group is selected I have the following code:
var selectedMarkerClass = 'was-selected';
$('.group_1').change(function() {
$(this).addClass(selectedMarkerClass);
if ($('.' + selectedMarkerClass).length == $('.group_1').length) {
$('#2').removeClass('red');
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12388767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using MVC 4 SimpleMembership with an existing database-first EF model I am trying to use SimpleMembership in my MVC 4 for the first time and I already have an existing database and EF5 model created based on it! I searched a lot but I cant find how I could use it in my case and also to have everything under my own m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15112214",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Neural Network makes same predictions for different instances with different features Out of interest, I created (or at least tried to create) an Artificial Neural Network with four layers as a classifier for the famous Iris flower data set. The target values vary from 0 to 2 as labels for the three different flower... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54959563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Don't show side menu on drag ionic I have a calendar element on my ionic app. When user swipe left or right on it, it goes to a different month. One problem/challenge is that when I swipe to the right the side bar is showing.
I did use drag-content="false" and that disabled the swipe menu function everywhere but I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35221871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Click the imageview that is in the listview to go to another activity There is a imageview and a textview in a listview.
I want to click the imageview to go to another activity with the value of the hashmap. I uesed setOnItemClickListener is as below:
lvAll.setOnItemClickListener(new AdapterView.OnItemClickListe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31983263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Column added to table but does not show up I'm new to Postgres. I created a database and a table, then I added columns to the table:
ALTER TABLE NDQ01
ADD COLUMN Date, date
To verify, I did:
\d+ ndq01
and the output is:
Table "public.ndq01"
Column | Type | Collation | Nullable | Default | Storage | Stats targe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56264117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Deploying NextJS front end and Expresss back end to Heroku Here is my directory structure
*
*app
*
*frontend
*backend
I don't have a package.json file in the main directory but both the frontend and backend have package.json files.
The frontend is a fully functional NextJS app and the backend is an Express s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64795433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Out of a set of data returned grouped by months, only the initial month is returning incorrect data I am trying to return data for the last 24 months as of the end of last month. Only the initial month returns incorrect data, while all the other months are correct. I believe the issue is in the strBeginDate = sect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23061508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Unable to access merge field values inside visualforce component in angularJs View:
<div ng-controller = "ClPortalRegistrationController">
<div ng-repeat="(key, value) in ObjectApiFieldsetMap">
{{key}} {{value}} //this is printing correct result
<c:FieldSetComponent objectAPIName="'{{key}}'" fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38631117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Binding JavaScript Variables to HTML Elements I've got this system whereby a Bootstrap table is created. In each cell in the each row, a numerical value appears representing the number of, say, customers in that region. Something like,
-----------------------------------
Region | Number
----------------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33225972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Randomly sample rows based on year-month data = {'date':['2019-01-01', '2019-01-02', '2020-01-01', '2020-02-02'],
'tweets':["aaa", "bbb", "ccc", "ddd"]}
df = pandas.DataFrame(data)
df['daate'] = pandas.to_datetime(df['date'], infer_datetime_format=True)
So I have an object type date and a datetime64[ns] t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68826749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Check that number of received calls is within range with NSubstitute Is there a way to check with NSubstitute that number of received calls falls within certain range?
I would like to do something like:
myMock.Received(r => r > 1 && r <= 5).MyMethod();
Alternatively, if I could get the exact number of received call... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56013065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Android Retrofit NetworkBoundResource returns null I am trying to retrieve data from a third-party API using Retrofit and NetworkBoundResource (https://developer.android.com/jetpack/guide#addendum). However when this NetworkBoundResource runs it returns null.
The JSON I'm trying to fetch is as follows:
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67008054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to flatten bigquery record with multiple repeated fields? I'm trying to query against app-engine datastore backup data. In python, the entities are described as something like this:
class Bar(ndb.Model):
property1 = ndb.StringProperty()
property2 = ndb.StringProperty()
class Foo(ndb.Model):
bar = n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33880321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: shell script triggering through control-m Generally, i have a shell script which run in Control-m with certain parameters like:
sh shell_script_program.sh 'param_1' 'param_2' 'param_3'
But, in order to test the program i have to change the parameter values passing to the shell script. So i was editing whole time wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61791738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Cloud SDK Windows Installer Error: "System cannot find the path specified" When I tried install Google Cloud SDK by its own installer I get this:
"Sistem belirtilen yolu bulamiyor" means "System cannot find the path specified"
And this is my enviroment variables:
C:/HERE where my Python executable file is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64321755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Laravel Pass Data To Form on Another Page I am attempting to essentially pass a variable from one page url to another to assist in filling out a form.
I have a Script model and a Prescription model. Each script can have multiple prescriptions. So on the Scripts show page, I'm wanting to have a create button that all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53051663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding value of row below in R - most efficient My data:
no.att
year freq
1 1896 380
2 1900 1936
3 1904 1301
4 1906 1733
5 1908 3101
6 1912 4040
7 1920 4292
8 1924 5693
9 1928 5574
10 1932 3321
11 1936 7401
12 1948 7480
13 1952 9358
14 1956 6434
15 1960 9235
16 1964 9480
17 1968 10479... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52163109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android not sizing Custom Dialog big enough I am using a custom Dialog that contains a text field, an image, and a button. The text can contain HTML. Sometimes the bottom of the dialog gets chopped off the bottom when the text is long enough. How can I prevent this? I want Android to determine the size of the dialog... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3800951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Javascript putting comma in text I'm having problems with my (javascript) API. When I use the coinmarketcap API (https://api.coinmarketcap.com/v1/ticker). As for "max_supply" for bitcoin, it gives me "16865112.0" in text. This is a problem. I want to automatically put comma's in the number like 16,865,112.0 normally... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48796196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does Apple allow changing from Non-consumable IAP to Subscription? I have an iOS App with a Non-consumable In-App Purchase, now I want to change my app to subscription business model. Does Apple Review Guidelines allow this change?
Surely the old purchaser can continue to use the app without paying again.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/61029141",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to preserve the leading zero when changing a string into a number using Javascript? How do I convert a string such as "03" into a number and keep the zero at the beginning of the string? Using Number("03") will remove the leading 0 and return 3, but I want to keep the 0 there. How would I go about doing this?
He... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66726978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error : 'Sprite' was not declared in this scope I write a game and I need to create a vector of the sprite that represents the enemies in my map struct, but because map.h include sprite.h and vice versa I have an error 'Sprite' is not declared in this scope. I heard about forward declaration; is that the solution?
#... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58137920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to swap first div with last div on mobile version? I have divs as follows.
<div class="row">
<div class="col-sm-12" id="first-row"></div>
<div class="col-sm-12" id="second-row"></div>
<div class="col-sm-12" id="third-row"></div>
<div class="col-sm-12" id="fourth-row"></div>
</div>
How can i swap first-r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45945121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Making Highly Customized, Hoverable, Overlappable, Widgets I want to up my game in UI design using PyQt5. I feel like the resources for UI customization in PyQt5 are not easy to find. It is possible to try and make personalized widget, but the overall method seems non-standardized.
I need to build an arrow widget th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57270293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: voa_class related exception while browsing through objects in DB, using Telerik libraries Edit2: this question started as a question on how to browse through tables, but it turned into a question about Telerik voa_class exception
Edit1: this question contains two ways of trying to do the same thing.
I would like to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69032638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Eclipse: Installation failed due to invalid APK file I've got a new Android project in Eclipse, one activity and TextView, nothing else. I didn't modify anything. When I try to run the application on the usb on my phone (zte v970m with android 4.1.1), I get
In console
Installation failed due to invalid APK file!
Ple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18983417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Data File Size Stays Same Whereas Log File Size Is Increasing I am using the following snippet to track the data and log file size increase after certain operations:
SELECT @SQL = STUFF((
SELECT '
USE [' + d.name + ']
INSERT INTO #space (database_id, data_used_size, log_used_size)
SELECT
DB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50847063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: npm package.json and docker (mounting it...) I am using Docker, so this case might look weird. But I want my whole /data directory to be mounted inside my docker container when developing.
My /data folder container my package.json file, an app directory and a bunch of other stuff.
The problem is that I want my node_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26757264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: return a $post with related user model after update in Laravel Is there any way to return the $post after update along the user information? Example:
public function update(Request $request, $id)
{
//on_put, from_user, NewDesc
// define rules
$rules = array(
'NewDesc' => 'max:600'
);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37817098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Absolute center horizontal and vertical a div with fluid width and height? how to make absolute center horizontal and vertical a div with fluid width and height using css?
Thanks in advance for helping.
#div_parent{
background:#ccc;
position:relative;
}
.div_child{
background-color:#338BC7;
position... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33538592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cannot make button non-interactable through seperate script I'm trying to make a button interactable after a certain scene (playing level) has been loaded. It's a button in a menu scene that represent the loaded scene itself (level selectable after playing it).
The problem is this: If the users passes a certain lev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33186525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: javascript form validation not working on chrome & FF here's the html/javascript code...
I've tested it on safari and it works fine but in chrome & FF it doesn't validate at all.
it directs me automatically to the action link
<div id="mc_embed_signup">
<form action="http://example.com/subscribe/post?u=f752d10720e61... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23124827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Bootstrap Carousel with previous and next image I found this example to create a bootstrap carousel with previous and next images.
https://codepen.io/glebkema/pen/RKavve
All images are 33% but I would like to have it like:
10% | 80% | 10%.
Is it possible to modify the css to make the previous and next imag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48749180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Insert nested object via JSON using web api with NHibernate I'm writing an application that consist of a ReadAPI and a WriteAPI. The read API contains the domain classes, and uses EF CORE code first to generate the SQL DB, and to read from it.
The write API uses NHibernate to write to the database that is generated ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65020398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Calling consecutive DLL's from {tmp} in Inno Setup I want to use a DLL (lets say 'A.dll'), that I created in Delphi, within my Inno Setup script that uses a bunch of other DLLs ('B.dll', 'C.dll', ...). All these dll-files are included in the Files-section as follows:
[Files]
Source:"libs\*.dll"; Flags: dontcopy
In ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17469007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Clone or edit local Minimongo collection I'd like to clone a minimongo collection so I can do some calculations, get a result, then push those results back to the server.
Assuming this is a suitable pattern, how best can I clone a minimongo collection?
It appears that in the object no longer has a ._deepcopy (1.0.4... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29186524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Input field validation in angular using formControl I want to tag an error message when the user touches on that particular field and and then clicks outside without entering anything. I am not sure why the below code doesnt work .
Guys Any inputs..I need some serious suggestions pls.
<form [formGroup]="personalInfo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50309252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook Share Link - Share To A Page On Mobile I am wondering if anyone has a solution to a small but major problem for me. I have coded a share button for Facebook using sharer.php, however, if the button is pressed on a mobile device Facebook isn't giving the user the option to share to a page or a group, it only... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42439692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I retrieve a specific field from a map in Cloud Firestore using Android? This is a part of data saved in firebase Firestore:
How can I get (fName) from (newFriend0) in Java?
This is part of the code. It gave the entire map. I want just a specific field such as ("jem" for (fName))
Map<String, Object> map = d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60421605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Table in Markdown doesn't show I want to do a simple latex table in my markdown raport:
---
title: "Title"
output: html_document
---
## Table
\begin{table}[ht]
\centering
\begin{tabular}{rrrr}
\hline
& chisq & df & p \\
\hline
mu & 0.889 & 1 & 0.346 \\
sigma & 0.810 & 1 & 0.368 \\
Q & 0.663 & 1 & 0.415 \\
P &... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61313598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Understanding source of connection time-out exception I'm trying to connect to some URL through proxy:
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("113.193.248.211", 3128));
HttpURLConnection conn = (HttpURLConnection) new URL(urlString).openConnection(proxy);
But I'm getting exception:
java.ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30447005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How I can auto login with SwiftyDropbox? I have an app with SwiftyDropbox that function correctly, but I need to insert email and password for Dropbox every time that I use the app.
The app it's only for my use, it's not a security problem if the app auto-login in my account.
I don't find examples or documentation t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51501107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MySQL exact match acting like LIKE Got an interesting problem with a simple MySQL query. I'm trying to do an exact match on the id field.
SELECT id
FROM tablename
WHERE id = '23'
Returns
id: 23
All is well and good until I do:
SELECT id
FROM repairs
WHERE id = '23abcd'
Returns
id: 23
Why on earth would it do th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17504439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to filter an R data.table by index and condition Please have a look at the following sample code.
DT <-data.table(1:15,0,rbinom(15,2,0.5))
I can filter by condition DT[V3 == 1,] or select rows by index DT[1:5,].
How can I do both? In the following code, the sequence of the indexed rows seems to by ignored:
DT[V... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35840406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: System.DirectoryServices.AccountManagement bootstrapping myself I'm trying to bootstrap myself up on the System.DirectoryServices.AccountManagement namespace in order to solve another issue I'm having. In net i want to toggle the "ChangePasswordOnNextLogon" flag in ad and this namespace made it look easy.
So I tried... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5587442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to send a string to url? I'm setting up a barcode reader app, got 3 tab bar item and one of them "SCAN" tab and another one of them is "WEBVIEW" tab. When user scan the barcode or qr, it's giving a string and going to webview's url. I want to send this string to url and open the webview tab. Can you help me with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55743237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to sanitize CSV input with one-space strings? So here's the situation:
*
*I'm reading CSV files where the majority of the time, empty cells are just empty strings. Some files that come in the same set, for whatever reason, have one-space strings in 'empty cells' instead of empty strings.
*I'm using csv's Dic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32489686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Kubernetes rolling update for same image Document of kubernetes says to do rolling update for a updated docker image. In my case I need to do rolling update for my pods using the same image. Is it possible to do rolling update of a replication controller for a same docker image?
A: In my experience, you cannot. If... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34035081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: incorrect output data after the second index So im doing this homework for my programming class, but the data output doesnt match with the theoretical data output that it shoud be printing and it gives me a big number.
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
void menu(int *);
void CalculoVentas(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74176560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to close a window opened using browser.windows.create()? I cannot find any questions/answers that address this issue. Sorry if I have missed something.
I am just getting started with WebExtensions. I have a form that is displayed in a window that I open in my background.js script using windows.create();. I canno... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42585856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Doesn't remove hide class after view render In my Rails 5 app I've got a registration form where user is able to chose registration_type from dropdown list. When selects the Caregiver option, an additional field is shown on the form - it's handled by below registrant.js file:
$(document).on('focusout change', "#regi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71566169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IOException was unhandled - Cannot locate resource app.xaml In one of my WPF projects I get this error when I open the solution and start it up when debugging it. If I rebuild the solution and start it again, the error goes away.
I have implemented command line support for application by removing the StartUpUri i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7126147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Formatting Phone number with +1 with pandas.Series.replace I can't find a solution online and I know this should be easy but I can't figure out what is wrong with my regex:
here is my code:
df = pd.DataFrame({'Company phone number': ['+1-541-296-2271', '+1-542-296-2271', '+1-543-296-2271'],
'Conta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71516642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to enable content security policy to selective http patterns in spring security My spring security config looks like:
<http pattern="/*/yyy/**" security="none" />
<http pattern="/*/zzz/**" security="none"/>
<http create-session="stateless" use-expressions="true">
<csrf disabled="true" />
<intercept-url... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34344840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Lock git branch : Bitbucket + hubot I have Bitbucket and using it I can lock git branches like so:
https://confluence.atlassian.com/bitbucketserver/using-branch-permissions-776639807.html
my question is how can I automate this task using Hubot script ?
is there any API i can use?
only found https://www.npmjs.com/pac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37374338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get a 1px border between columns? What is the preferred / cleanest method to draw a 1px border between two Susy grid items, in the center of the gutter?
Susy creates a gutter by adding a margin-right to a grid item, so I can't simply add a border-right (like, for instance, you can do with Zen Grids, which cre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14687838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Are goals specified in the source code of a custom plugin? Are the permitted goals specified in the source code of a plugin? And can they be given any name we want as the developer of the plugin?
Tried to find the goals supported by a plugin
A: Yes, they are specified in the annotations in the source code.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/57060000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MacOS Get trackpad pressure globally I'm trying to get MacBook Pro trackpad pressure with following code:
CGEventRef eventTapCallback(CGEventTapProxy proxy, CGEventType type, CGEventRef eventRef, void *refcon) {
NSEvent *event = [NSEvent eventWithCGEvent:eventRef];
NSLog(@"%lld", (int64_t)CGEventGetIntegerV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25803591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Whats wrong in this SPF syntax? I am not very familiar with SPF records so I need a bit of help setting up my SPF record correctly.
Below is a record I created using online tutorials
v=spf1 a mx ip4:192.186.236.104 include:_spf.google.com include:bmsend.com include:postbox.pidatacenters.com ~all
when i check in h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43176659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Keep Bootstrap Modal open when clicking on a link I have an Ajax Modal and have a number of links within the modal, however when I click on the links it will reload the page not the content within the Modal. How can I keep the Modal open? The code I am using:
<div class="modal-header">
<a class="close" data-di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16746454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Wait for next element in shared List in a C# concurrent producer / consumer pattern I have a
List<object> listOfData;
in C# that gets data every X minute from a getDataBackgroundWorker.
I have another processDataBackgroundWorker that waits for the data from listOfData and processes it.
How can I make sure that I on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23452872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery datepicker getMinDate '+1d' Once I have set the minDate property of a datepicker with the convenient string syntax
$(elem).datepicker('option','minDate','+1d +3m');
how can I get the date object of the minDate? To help illustrate, there is a method
$(elem).datepicker('getDate');
which returns the date tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2885315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Java 8 Streams: Stream closed by intermediate operation I'm aware of the difference between intermediate and terminal stream operations. However when I came across the code example below, I could not quite figure out the reason, why the filter operation in line 2 closes the stream leading the following exception in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54380641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Write a map with key as int to json in scala using json4s I am trying to write a Map in key as int to json string but I am not able to do so:
import org.json4s._
import org.json4s.jackson.JsonMethods._
import org.json4s.JsonDSL._
object MyObject {
def main(args: Array[String]) {
// Works fine
//val myMap =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30262300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use Xon-Xoff protocol with Java? I try to development a code for print a fiscal ticket.
I use Java (programmation language) an XON-XOFF with protocol to use to print ticket.
So I have write this code:
public SerialPortHandler(String portaCOM){
log = new MyLog4J();
try {
this.co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26356649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error when filtering a List with data that came from json data, the method where was called on null Hello I am new to Flutter , I have started an app that call the players and then filters the players by their role(Attacker, Midfielder, Defender, Goalkeeper) and i have faced a problem when i launched the application... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67170942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Testing method having CompletableFuture.allOf using mockito I have a method called doParallelThings:
public Dummy doParallelThings(Map<String, String> mapp) throws Exception {
Dummy dummy = new Dummy();
CompletableFuture<Ans1> one = firstService.getOne(mapp.get("some1"), mapp);
CompletableFu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58073189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why can't ssh connect to any host inside a while loop? theIp=""
#1
echo $theIp | while read ip; do
ssh -tt root@$ip
exit
done
#2
while read ip; do
ssh root@$ip
exit
done < <(echo $theIp)
#3
while true; do
ssh root@$theIp
exit
done
the above 3 way about connect any host in a while statement, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24990134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how should I use the variable I'm watching inside the angularjs $watch() function I have been learning how to use directives in angularjs to include jQuery plugins using the tutorials here and here. I am trying to incorporate fullCalendar and I have successfully gotten the calendar initialized and displaying, but no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18312595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I safely access .env variables to make api requests in an app using React & Vite? How can I access env variables safely within React in a deployed App Service in Azure?
I'm using vite as the build tool.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/73816303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Send serialized form data and receive PHP Laravel redirect with form and session data I have a form on my page. After submission I am adding additional data to the form for submission. I can submit the serialized form data via ajax, however, I am unable to successfully process the response. The response is coming fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66858560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: C# Convert string to name of bool variable I trying to make something like that:
// int counter; - this is changing in ther other parts of program
bool abc1; bool abc2; bool abc3; bool abc4;
if("abc" + counter == true)
{
//some code
}
Anyway, I need to convert string and int to bool name. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31347546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Pyspark - add columns to dataframe based on values from different dataframe I have two dataframes.
AA =
+---+----+---+-----+-----+
| id1|id2| nr|cell1|cell2|
+---+----+---+-----+-----+
| 1| 1| 0| ab2 | ac3 |
| 1| 1| 1| dg6 | jf2 |
| 2| 1| 1| 84d | kf6 |
| 2| 2| 1| 89m | k34 |
| 3| 1| 0| 5bd | ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52850603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AIDL ERROR while trying to return custom class object I am trying to pass 'Response' class object using IPC in AIDL. I have made the class parcelable:
public class Response implements Parcelable{
private long id;
private String speechString;
private List<String> responseString = new ArrayList<String>();
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30693983",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Saving to a particular column in database I have a simple doubt..
I have a column named url in a table. And each row in a table is created using active admin. In that there is no provision to give url(It should be like that).
It has got another column with Page_name. and with some calculations(shown below) i do have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23601510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "An invalid or incomplete configuration was used while creating a SessionFactory” NHibernate I am getting this error while creating SessionFactory. Here is the code, if some can check this out.
class NHibernateHelper {
private static ISessionFactory _sessionFactory;
private static ISessionFactory Sessi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28248000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Amazon RDS Instance Password? I'll preface this with the statement that I hate using these Amazon servers.
Ok what I need to know is how to find the password for a specific Amazon RDS instance. I have a live instance running my store and working on setting up a development copy. So I lauched a copy of the DB but c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21170960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Stylus Iteration + Interpolation with nth-of-type I'm attempting to use the counter provided when looping thru a list of items like so:
colors = red blue orange green yellow
li
for color, i in colors
&:nth-of-type({i}n)
background-color: color
This example does not work, but the intended ou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34410889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert a string of hex values to a string? Say I have a string like:
string hex = "48656c6c6f";
Where every two characters correspond to the hex representation of their ASCII, value, eg:
0x48 0x65 0x6c 0x6c 0x6f = "Hello"
So how can I get "hello" from "48656c6c6f" without having to create a lookup ASCII ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3790613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Physics object passing through wall object in corona sdk I am hitting a ball with a force and there is a wall which is assigned a physics property and is static, but the ball is dynamic, the problem is when enough force is applied to the ball it passes through the wall, it is a type of table wall as in sample simple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19229076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Cannot Modify Header Information Session Cookie Create? Firstly I like to say this is not a duplicate I tried everything on google such as ob_functions and space not luck
PHP should of made this simple but they haven't which is stupid..
Why am I getting this error for just starting a cookie in my script?
I have com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28152157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Get the raw request using PHP I'm looking for a way to get, using native PHP, the raw HTTP request that my script received, including headers and body. Reading the PHP documentation I cant found a standard way to get the raw request, regardless the HTTP method used.
For example, when the page test.php is requested, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23446989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: EF4 STE include-path....exclude-path? Context: Repository-pattern, WCF, WPF/SL
In my Repository of self-tracking Entities i need to explicitly load some related properties in order to correctly process the query. Those are not the includes requested by the client and i would like to get rid of them in order to keep ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5068314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Error: Could not find or load main class com.mysql.jdbc.DocsConnectionPropsHelper
I am getting error when i load the driver,am i adding the driver correctly,Can someone help to resolve
A:
am i adding the driver correctly
I don't think so.
There is something very odd going on here. According to the official MySQ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72028051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Failing Tictactoe in c++ I'm a beginner in c++, i'm trying to make a tictactoe. My program fails at the part acfter i enter input. When I enter an input, there is no next action from the program like i expected it to ("unvalid", check if win or loose, ask for input again). It only shows blank. like below: after I en... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72900938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to call Groovy script from Scala? <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<facts>
<fact id="ItemPrice" displayName="Item Price">
<defaultValue>0</defaultValue>
<script><![CDATA[
Double Value_Sales= 500;
Double Unit_Sales= 10;
Double res=Value_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49645009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Multiple root modules on angular application I am developing a website in Angular. This app is divided into two parts: the client's part and the administrator's part. The latter is accessible via a login screen.
The core of this mechanism is done with these two files:
main.ts:
import {enableProdMode} from '@angular/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55538438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to read any local file by chunks using JavaScript? How can I read any large file(greater than 1 gigabytes) locally by chunks(2kb or more),and then convert the chunk to a string, process the string and then get the next chunk and so on until the end of the file?
I'm only able to read small files and convert it to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50254537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Bash on cygwin: No such file or directory commonMongo=s:/programs/mongodb/
dbpath=$commonMongo"data/"
logFile=$commonMongo"log.txt"
mongoProg=s:/programs/mongodb/mongodb/
mongoBin=$mongoProg"bin/"
mongod=$mongoBin"mongod.exe"
a=$1
if [ "$a" == "start" ];then
"${mongod} --logpath ${logFile} --logappend --dbpath $... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7629017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Save related Object Symfony 2 I have User and Posts. One To Many
//user.php
/**
* @ORM\OneToMany(targetEntity="Post", mappedBy="posts")
*/
private $posts;
public function __construct () {
$this->posts = new ArrayCollection();
}
post.php
/**
* @ORM\ManyToOne(targetEntity="User", inversedBy="posts")
* @ORM\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27512469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Devise authenticate_user! not working properly Here is my custom Registrations controller:
class RegistrationsController < Devise::RegistrationsController
def create
build_resource
if resource.valid? && resource.save_with_subscription
set_flash_message :notice, :signed_up if is_navigational_format?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17953638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: doxygen and graphviz doesn't generate map files I am trying Graphviz and doxygen on a rather large C++ library to generate UML. It generates the .dot files but then says it can't open the .map files.
I am running doxygen 1.8.3 and 2.30.1 installed via the msi on Windows 7 64bit. I also manually set the path to the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17936283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.