text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Negative scaling mirror alternative Unity I am trying to set up an airplane model downloaded from the sketchup warehouse, and in order to mirror the wings (the imported mirror setup had lighting and texture bugs) I have to scale the wings by -1. I want to attach parts of the plane via fixed joints to the fuselage, b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47398642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Login Example with nodejs and jsonwebtoken: can't read the token verification result My MIDDLEWARE checks if the tokens provided by users are correct.
The secuirity control, implemented by using jsonwebtoken, was inside the middleware and it was working fine.
After I decided to move all this security checks in anoth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41913318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Jquery Daily Timer Failing I am using this jQuery code to display the left left until 10am locally.
Between 10am and 14:00pm it removes some images.
Then after 14:00 it should display time left until 10am. It also adds an offset to account for weekends.
It works brilliantly most of the time, however it seems afte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7276331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SessionNotCreatedException in Eclipse "Appium" code My Code to execute a simple click button automation is given below , I am very new to appium so I am just trying to get my app and click one button , as i have given my exception down it is stopping me to proceed
public class IOSTester {
public static void mai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27834932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Updating caller's argument array from within a function In Bash I can set $@ this way:
set -- a b c
Then, I can inspect the content of $@:
printf '%s\n' "$@"
which would show:
a
b
c
However, if I do this in a function:
f() {
set d e f
}
set a b c
f
printf '%s\n' "$@"
I still get
a
b
c
and not
d
e
f
How ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55152951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Retrieving command invocation in AWS SSM I am trying to send command to a running ubuntu ec2 instance. I have configured the appropriate role and I have an ssm agent running on the ec2 instance. Using the boto3 SDK I am able to use the client.send_command() function to successfully send a shell command and was subse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50067035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Can't Access CSS Selector's Properties from Javascript Here's a very basic question: why is the finishLoading() function in the code below not able to access the 'opacity' property for the #myStyle CSS selector? The alert doesn't display anything, and I've verified that the 'opacity' property is 'false'.
Thanks very... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1048336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Keep AVAudioPlayer sound in the memory I use AVAudioPlayer to play a click sound if the user taps on a button.
Because there is a delay between the tap and the sound, I play the sound once in viewDidAppear with volume = 0
I found that if the user taps on the button within a time period the sound plays immediately, b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37928518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Automatic Link conversion with preg_replace - but without last bracket, period and comma The php q2a software www.question2answer.org parses links in text with the following preg_replace:
function qa_html_convert_urls($html, $newwindow=false) {
return substr(preg_replace('/([^A-Za-z0-9])((http|https|ftp):\/\/([... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20198654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: apply a jQuery function on a CkEditor I have a textarea in my html file, and I need to send the data in the textarea to the database. However, the textarea send the data without the enter spaces. so a data like this:
Shortly after reading a few books on web design, I was hooked. I wanted to know everything and anyt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11355788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: getting response from Facebook is getting timed out Hi I am using a facebook posts feeding application which will read all the new posts from my facebook page and will save to my sharepoint list. Earlier, i.e, before June it has worked properly it feeds all the posts from fabebook to my Share point list. But nowaday... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18756136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I create a mutable slice &mut [u8] from a single byte (u8)? Sometimes I want to read a single byte from a std::io::Reader. If I try to do this:
use std::io::{self, Read};
fn main() {
let mut byte: u8 = 0;
io::stdin().read(&mut byte).unwrap();
println!("byte: {}", byte);
}
I get the following error ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32939974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Recording from tv tuner/webcam with gstreamer and audio/video going out of sync I have a TV tuner card that shows up as /dev/video1. I am trying to digitize some old VHS tapes. The TV tuner doesn't do audio, I have a wire connected to my microphone in.
This is the gstreamer pipeline I'm using to capture video & audi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8826738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: cordova-plugin-file on IONIC2 with externalDataDirectory the file is not visible with a file manager I try to write a log file using IONIC2, all seems to work, not error, with IONIC2 the file exist the directory is created, but I can not see the file with a file explorer. See my source there :
File.check... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40715265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: docker images are stored in root user thus consuming my disk space Hi my server is configured such that the free space for root user in it is very less. However the user created(suppose user1) has lot of space.
The docker images which are getting created by docker are saved in the root user thus consuming space and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27919828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Facebook Graph API - IG Media Getting Metadata Issue I have some issues about IGMedia getting metadatas. I followed the instructions in documentations. But I am getting an error like "400" "Bad Request". Before try to getting IGMedia metadatas , I took the recent media datas. But ı dont get an error. Its worked perf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59930562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android bitmap - out of memory I have a problem with a function that I implemented. On some phones I get a out of memory error.
private Bitmap getIconMarkerOfPlayer(Player p) {
Drawable drawable = getIconOfPlayer(p);
Bitmap img = Bitmap.createBitmap(drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33487354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Should I use Boost.GIL or is it dead? I actually like the clean approach of Boost.GIL, standardized libraries are cool and Adobe certainly put some thought in it but when comparing to libs such as OpenCV its feature set is marginal. Do you use GIL and for what purposes?
A: Boost.GIL is not dead. There is a few main... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3959151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Waiting on asynchronous methods using NSCondition I am downloading four plist files asynchronously over the internet. I need to wait until all four files are downloaded, until I either on the first run, push a UIViewController, or on all subsequent runs, refresh the data, and reload all my UITableViews.
On the first... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14013947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Concerns about Ajax use in ASP.NET MVC3 I have looked into Ajax only recently (laugh at me you experts), and I feel excited about all the added functions. But there are a few concerns.
*
*Form submission
In the Ajax examples, a json object is created either automatically (serialize the form) or manually built by ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10398816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JHipster not adding field search capabilities As mentioned in the documentation, if we use Elasticsearch, JHipster shall create search capabilities for Angular/React UIs. I have tried both of them but search by fields is not added in any screens. I have put the entities in filter and search ... with elasticsearch li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56999027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kotlin: How to inherit from RxJava Subscriber I want my NewsListSubscriber to inherit from an RxJava Subscriber which use a generic type but I get a "Type mismatch" error when I call the UseCase execute method. I read many times the generics page from the Kotlin documentation but I can't find the solution.
Here is m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35661625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to deploy to a VM running a microk8s cluster with kubectl? I have a Windows 10 machine running a Hyper-V virtual machine with Ubuntu guest.
On Ubuntu, there is a Microk8s installation for my single node Kubernetes cluster.
I can't figure out how to set up my kubectl on the Win10 to allow deploying on the microk8... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67407556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SwiftUI & Unit test fails: Can't add the same store twice when using core data stack After updating Xcode to 13.4 my core data persistence stack started to fail for SwiftUI previews and Xcode Unit tests.
Error message:
Unresolved error Error Domain=NSCocoaErrorDomain Code=134081 "(null)" UserInfo={NSUnderlyingExcept... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72461766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: F# Set not returning the correct difference. Likely an issue with my CompareTo implementation I start with two sets, abc and zxc. "unmodified" has the correct number (1) of items.
Set abc has two items, one of which is the unmodified item
let unmodified = Set.intersect abc zxc
let newAndModified = a - unmodified
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31327191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Run code block in a transaction in postgres I want to run the following code block in a transaction so that if any of the sql statements fail the entire transaction is aborted. If I run the following block as it is, does it run in a transaction or do I need to run it inside BEGIN; ... COMMIT;
DO $$
DECLARE
rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60443200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there any reson to not reduce Ping Maximum Response Time in IIS 7 IIS includes a worker process health check "ping" function that pings worker processes every 90 seconds by default and recycles them if they don't respond. I have an application that is chronically putting app pools into a bad state and I'm curiou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9167740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: My asp.net core app is not writing stdout logs when error occurs I am getting error HTTP Error 500.0 - Internal Server Error when I try to run an asp.net core application on my server.
To debug this I enabled stdout log files as per this article
https://learn.microsoft.com/en-us/aspnet/core/test/troubleshoot-azure-i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58777059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i resolve this problem in Android studio - Flutter How can i resolve this problem in Android studio - Flutter - dart
Iam using Android studio, flutter, firebase
Running Gradle task 'assembleDebug'...
√ Built build\app\outputs\apk\debug\app-debug.apk.
Debug service listening on ws://127.0.0.1:56274/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62329371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Powershell regex to match vhd or vhdx at the end of a string I'm brand new to powershell and I'm trying to write a script to copy files ending in vhd or vhdx
I can enumerate a directory of files like so:
$NEWEST_VHD = Get-ChildItem -Path $vhdSourceDir | Where-Object Name -match ".vhdx?"
This will match
foo.vhd
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29521950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: MSVC 10 range based for loop Currently in a large c++ project we are working on we have a bunch of the new style for loops like the following:
for (auto& value : values)
Up till now we have been compiling exclusively with gcc 4.6. Recently some of the codebase is being ported to windows and some of the developers w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9221842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Node JS my-sql query time is a lot slower than MySQL workbench query Basically, I have a table of around 70k rows - when I perform a select all query in nodejs using mysql it takes around 2s. However, MySQL workbench reports the same query takes around 0.05s. I'm pretty new to using nodejs - but here's some code.
th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42492831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there an equivalent to Visual SourceSafe's Shadow Directories in other VCS? I have been asked to save the current versions of all files in all repositories on our Subversion server to a network drive.
This is in addition to our backups of the repositories themselves.
Visual SourceSafe did this automatically by ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2887042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to open "Class browser" in Pharo2 I am reading Pharo by Example the book.
Yet I didn't find the "Class browser" in my "World" menu in my Pharo2.
Is it replaced by the "System Browser"?
A: Yes it is. System browser is Nautilus, a new advanced alternative for old class browser created by Benjamin Van Ryseghem.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16959981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Reset variable after for error message I am attempting to create a PHP method/function/property that I can call with JS to display a message to the user such as "Invalid user login" which will then reset after it has displayed.
So far I have below - problem is when the user goes to the next page, or reloads they are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26370690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: handle unhandled exceptions in Android In Windows phone 7, developers are provided an Application_UnhandledException event that provides an exception object containing information and stack trace of any unhandled exception that occurs. There is an opportunity to store this object in local storage. On next startup ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14249035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Inserting text in a Word Doc does not work (vb.net) I have a document a.docx with a bookmark "bmTest".
This is a part of my .net-Code:
oWord = CreateObject("Word.Application")
oDoc = oWord.Documents.Open("a.docx")
oDoc.Bookmarks("bmTest").Range.InsertAfter("XXX")
...
Word is started, a.docx is loaded, but no text i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36065676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Publish the slides file using apps script slide (GAS) service I need to publish the Slide file to website and get the published URL, But I am not getting the published URL as a return response.
The Drive service is turned on already.
I tried with
function doGet(e) {
var ppt = SlidesApp.openByUrl('https://docs.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63717442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: An anchor over image not clickable in IE 10 but works in IE 11, Firefox and Chrome I have a tile created like:
<div>
<img src="http://blog.caranddriver.com/wp-content/uploads/2016/01/BMW-i8-Mirrorless-cameras-101-876x535.jpg" width="400" alt="img" />
<a href="http://www.google.com"></a>
</div>
with css:
div {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37190930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change the default highlight color of drop down in html from blue to some other color for tag How to change the default highlight color of drop down in HTML from blue to some other color for <select><option> tags, using some CSS properties or from Javascript?
The requirement is I have to use the <select> <op... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19289723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: ModelState Clear, Remove an array item, TryValidateModel My model has some property, one of them is Array of Class, and for some Property in Model and array class use from datannotation attribute. In view user fill some row as array and other model property, and may delete some of row(arrayProperty), me set for dele... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13796962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: adobe premiere fails to import "one" footage, but works fine importing "two or more", why? whenever I try to drag a file into adobe premiere timeline, the mouse pointer turns in to a "you cant do it" shape and I cannot put "one single media" in my timeline. but as soon as i choose two or more media and drag them int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73318125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: react-google-maps Customize Marker Icon Currently, I have rendered the map component into a reusables component successfully using InfoModal to show an icon, however, the standard red Google Map icon I have not modified, and I want to create a custom icon myself. I'm not sure with ES6 and JSX syntax what I need to d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45337158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Page methods in asp.net not working I have a page method like following,
protected void authUser(string uid,string pass)
{}
And I am making call from javascript like this
PageMethods(uid,pass,success,error)
But it's not working
A: There are a few steps to ensure your page methods will work.
*
*Ensure you have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26794931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unity How to declare propertly Input Actions in Script CS0246 I was following a tutorial for scripting Input Actions in Unity
After finished coding what the tutorial told I've got this error in the declarations of Input System's stuff CS0246 The type or namespace name 'InputActions' could not be found
The code that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68793550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Drag and Drop Knowing children.length I'm trying to allow users to order categories by dragging and dropping.
I have a code working but it just drags and drop a div into another, I need to make sure if there's a div there already he switches instead of dropping but I'm having a lot of problems.
I tried to count th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37414970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Initializing in Constructor I have seen lots of codes where the coders define an init() function for classes and call it the first thing after creating the instance.
Is there any harm or limitation of doing all the initializations in Constructor?
A: Usually for maintainability and to reduce code size when multiple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10494166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: C++ Qt program design issue In C++ Qt there is a class QWidget
*
*class A inherits QWidget and adds some features
*class B inherits A and adds some features
*class C inherits B and adds some features, C must be of type QWidget and should do all things done by B
For some reason C is not behaving as expected, I h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43642285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: read multiple audio file (wav) and convert using wiener filtering to different name and audio I am trying to use wiener filtering to convert the 824 audio in one folder to a different folder. How can I create a module for accessing these audio, running the wiener and save it to different folder by python? What I am ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75394157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TF_NewTensor Segmentation Fault: Possible Bug? I'm using Tensorflow 2.1 git master branch (commit id:db8a74a737cc735bb2a4800731d21f2de6d04961) and compile it locally. Playing around with the C API to call TF_LoadSessionFromSavedModel but seems to get segmentation fault. I've managed to drill down the error in the sa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59874176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PHP time diffrence hourly competetion on site I am working on a small app in php using codeigniter.
App have a jquery countdown timer which countdown time left for current competition. Competition is hourly based and Gloabal(I am saying Global here to indicate that for everyone competition will finish at same time -... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12087800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: ng-if shows both elements I have two buttons that are using ng-if to determine if they should be shown or not. For a brief second, both elements are shown even though they should not be shown together ever. In isolated examples, this works fine, but in my project it has some latency. Very similar to this post: Angul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38021648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Simple fraction definition in Scilab but the answer is wrong I have the following function f(x)=1/(x^5+1) like in this youtube video, but when I try to implement it in Scilab, I get the wrong answers:
-->deff('y=f(x)','y=1/(1+(x.^5))')
-->x=0:.5:3
x =
0. 0.5 1. 1.5 2. 2.5 3.
-->w=f(x)
w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23971557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Symfony routing: _controller special param What is the use cases of _controller special param in Symfony routing system ?
The doc says:
As you've seen, this parameter is used to determine which controller is executed when the route is matched.
But I already have controller configuration key to determine which cont... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51150191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flyway exception with flyway.clean() - Can't drop without CASCADE specification While using flyway.clean() -
I get the following error:
Message : SAP DBTech JDBC: [417]: can't drop without CASCADE
specification: cannot drop table referenced by foreign key.
Is there a way to make Flyway cascade drop all objec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47839445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to apply different section to a radio button I have this project for school, to show different drop-down option for each selected radio button. I tried few JavaScript code but it wasn't working at all.
I need when clicked on Sizes radio button to show the correspondent sizes drop-down selectors.
As well for the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62190529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Servicestack user session not working I have an API written in ServiceStack and I am attempting to build in authentication for clients. At the moment this API will only be accessed by Android clients (Xamarin / C#). The API itself is running on a Debian server with Apache / mod_mono
After reading up on Github, I am... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19032720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Scala self implemented Boolean shows several errors I have follow the coursera course of "Funcitonal Programming Principles in Scala" by Martin Odersky. For its week4 4.2 video of "Objects Everywhere", I have follow the step to implement my own Boolean class, but the eclipse shows several errors as following:
packag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37088478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating dynamic context menu item in jstree I wanted to create a dynamic context menu based on my server response. The static menu works fine without any issues. The below is my jstree content and it calls customMenu method
$("#myList").jstree({
"core" : {
"animation" : 0,
"check_callback" : tru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46278052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Create new column with binary data based on several columns I have a dataframe in which I want to create a new column with 0/1 (which would represent absence/presence of a species) based on the records in previous columns. I've been trying this:
update_cat$bobpresent <- NA #creating the new column
x <- c("update_ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16222438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to enable JSON calls in my ASP.NET MVC 2 application? I'm trying to make a dynamic chart using HighCharts, but as it seems to be, is impossible to include ASP tags inside a JavaScript, so I'm trying to use JSon. I followed this tutorual step-by-step, but when I try to load the page, I get the following message:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4444390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: error deploying meteor app on heroku I have deployed my app on heroku and locally it works just fine, however when I open my app I get this message "Application error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details."
when I type "h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41399497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: HoloEverywhere does not work with ActionbarSherlock any more I have download the latest version HoloEveryWhere from github
then i added the ActionbarSherlock library to it . Now i errors in themes-core.xml files
and thats what it looks like :
<style name="Holo.Base.Theme" parent="Theme.AppCompat">
....
<style na... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18739175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Insert blank line before line matching pattern in sed I am attempting to insert blank line above a line when we match a pattern. We have a grep statement that will find the line and store the line number in a variable.
In this example I want to insert a blank line above line 1 which is the happy line and then insert... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45620124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Error running Spacy entity linking example I was trying the entity linking example in spacy.
This is the information about spaCy in my system.
============================== Info about spaCy ==============================
spaCy version 2.2.2
Location C:\Users\manimaran.p\AppData\Local\Continuum\anaconda3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59050554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Object methods in android extended array adapter I am having the following object in my activity class:
/**
* Item object
*/
class OrderItem {
/**
* Private params
*/
private String item_name;
private Double item_price;
private Integer quantity;
public void OrderItem(String name, Dou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22539015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kafka Stream topology optimization While readying about topology optomization, i stumble upon the following:
Currently, there are two optimizations that Kafka Streams performs
when enabled:
1 - The source KTable re-uses the source topic as the changelog topic.
2 - When possible, Kafka Streams collapses multiple rep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57164133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: DES_ENCRYPT with CodeIgniter ActiveRecord When I query my database with a query like this:
SELECT username, DES_DECRYPT(password) as password FROM accounts WHERE 1;
I will get my results like:
username | password
-------------------
testUser | pwtest
When I do the same in CodeIgniters Active Record like this:
$thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22748806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to cut character string with whitespace.. php ( sorry my bad english )
I try to cut a large character string with whitespace like this:
hola como estas 0001 hola 02hola como estas
well, I need to cut between 10 space and save that in a txt file.
some like this:
enter link description... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32770885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert an string to a Char(20) sql datatype I am trying to insert a string into a char(20) column in my SQL Server database.
I set the string to be equal to a value and then add it to a parameter
thisstring = "1914"
cmd.Parameters.AddWithValue("@code", thisstring)
However every time I try it ends up looking... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17242581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set nls variables in adonisjs I'm trying to use adonisjs as a backend. For oracle database i need to set nls variables when connection is established.
ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY.MM.DD'
How and where is it better to do it?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/74207942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: plotting real time Data on (qwt )Oscillocope I'm trying to create a program, using Qt (c++), which can record audio from my microphone using QAudioinput and QIODevice.
Now, I want to visualize my signal
Any help would be appreciated. Thanks
[Edit1] - copied from your comment (by Spektre)
*
*I Have only one Buff... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21656397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Handling erroneous user input such as float and number length I'm trying to handle a user's erroneous input such as floats and integers of length inferior to say 4 and superior to 4 so that whenever it happens, I ask the user to re-enter the 4 digits number.
The expected outcome.
>>> beginning = input('Enter date:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40701113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Spring Session & Spring Security - session timeout handling not working When attempting to add spring-session to an existing Spring MVC project with spring-security, I get the following behavior (EDIT: with tomcat's session-timeout set to 1 minute for testing):
*
*With the springSessionRepositoryFilter filter in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37030912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Detecting if is zoom-in or zoom-out with leaflet How can I know when the user is zooming in or zooming out? I want to start an animation if the user zooms after some level. Is it possible to know this when the event zoomstart is triggered?
A:
How can I know when the user is zooming in or zooming out?
At every zoo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39893070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to convert UTC timestamp string to pandas datetime? I have a panda dataframe with a column with date format as below:
PublishDateTime= 2018-08-31 12:00:00-UTC
I used panda to_gbq() function to dump data into a bigquery table. Before dumping data, I make sure that the format of columns match with table scheme. p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52730806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: R Studio 'source' button fails with escape error I have a fresh install of R Studio. Editing a file and clicking the 'source' button produces the error below.
How do I fix the default behavior of R Studio to properly escape the path?
The output in the R console is:
source('~/pull tfs data.r')
Error: '\L' is a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26812877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Checking a sentence if it is a pangram by using a Jframe I would like to create a case where the user needs the enter a sentence.
The code should validate if the sentence is :
*
*a pangram
*not a complete pangram
*not a pangram
In the text area: the system should display which option the sentence is.
In the att... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67820428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Paypal DirectPayment returning error while using PayPal sandbox DirectPayment method I am getting the following error message:
Direct credit card payment API call failed: Please enter a valid postal code in the billing address.Short Error Message: Invalid DataError Code: 10712
I have changed my Zipcode and address ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14973544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Search for value contained in array of objects in property of object contained in array can someone help me with this?
I need a function that given a fieldID, searchs within objects and returns the objectID that fieldID is in.
const objects = [
{
objectID: 11,
fields: [
{ id: 12, name: 'Sou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71068262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make onClick perform multiple similar functions at once? I'm trying to make the Button onClick fill both #box elements, with the same input from the forms. And potentially add more boxes in the future. But it just seems to only be calling the first 2 functions.
Here's the codepen example!
Tried changing the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56420610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ClassNotFoundException on class inside gae endpoint client library I am developing in Java on Eclipse Luna. The packaging process is managed by Proguard.
The app is working fine running against the local datastore repository and on a physical device.
However, I rolled the app out to the Google Play as beta. The ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32555686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to retrieve PAYLOAD for a Google Cloud Task via API Is it possible to retrieve the PAYLOAD (see image below of what I can view in GCP's Cloud Tasks UI) for a GCP Cloud Task via Google's API? If so, how? Here's the Task documentation I've been looking through (I can't see anything that would get me the PAYLOAD): ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73112098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MySQL GROUP BY…exclude values in other field i have a problem with a MySQL query for my statistic-page. I want to use a query similar to the following to retrieve all rows to "version" but i want to exclude values in other field "platform" if is not the same value.
Example values:
| platform | version | ...
-------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45787089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the is the difference between -copyFromLocal and -put Is it possible to explain difference between -copyFromLocal and -put command in Hadoop. I am not able to find any good document which says the difference between two commands.
A: Well one can explain if there is a difference and i don't think there is.
L... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40569034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Framework for handling HTTP responses in C# The project is a C# desktop application that interacts with a webpage.
The last time I did anything like this, I used WatiN and HTMLAgilityPack. But WatiN isn't very elegant as it opens a browser window to interact with the website. It's more designed for Integration Testi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62659008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: google-auto-placed div breaking react hydration React hydration seems to be hooking up divs incorrectly because of a div with class google-auto-placed on some pages. It seems to be the auto ad div coming from adsense. How can we avoid this situation?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/72774850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How should I require modules effectively from outside of node_modules folder? I have a bunch of modules in my application, what I require relatively from the current script. The problem with this if I want to restructure my application then I have to change tons of require statements.
So I started to use something ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32739305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How specify element name in list? Here is a model and data list definitions:
<!-- DataLists-->
<type name="sc:contractType">
<title>Options</title>
<parent>dl:dataListItem</parent>
<properties>
<property name="sc:type">
<title>Type</title>
<type>d:text</type>
</pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40103524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get table data from another website through wordpress I was just wondering if it is possible to get the data from a table from another website through wordpress? And what would be the catch if I do that? And if it possible, How can I achieve it?
A: Yes, it's highly possible and I did it like this:
*
*Create page... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39065115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to parse podupti.me´s json via Gson? How can I parse this json via Gson?
Here is my PodModel.class
And this is my for retrieve the json.
This is the gson part.
gson = new Gson();
PodsModel pods = gson.fromJson(builder.toString(), PodsModel.class);
System.out.println(pods.getPods().getDomain());
Log... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14315793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to sync files matching glob pattern like `foo*/bar*/yaz*.gz` I'm trying to sync a set of files which are found by the linux fileglob foo*/bar*/yaz*.gz.
The standard rsync trick of --include='yaz*.gz' --include='*/' --exclude='*' --prune-empty-dirs does work, but it is quite slow since there are many other unin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57841321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a singleton object in Scala with runtime params I'm trying to create a singleton object with parameters which are specified by runtime.
Example:
object NetworkPusher {
val networkAdress = ???
...
}
Imagine the networkAdress param comes from the command-line. How can I make a workaround to do this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27801150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Trouble Installing Nginx and php5-fpm on Debian 7.3 I have a Debian 7.3 installation in a VM that I am practising installing Nginx and php5-fpm on. I got the Nginx working, by assigning it a manual port of :8080 and that points to /var/www/ for data and in that directory is an index.html and info.php file.
The confi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21323530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: some Errors after migration to AndroidX some errors after migration to AndroidX
I downloaded LeafPic-master project( it is a gallery source code for Android studio)and try to change minsdkversion and targetSdkVersion( I want to install my app on android 4.4 to newest android api).So I add the google() repo in the re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58075940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: No suitable driver found for jdbc:sqlserver… (intellij, gradle) I want to connect to SQL Server by java, Intellij, i add repository in .gradle file like this:
// https://mvnrepository.com/artifact/com.microsoft.sqlserver/mssql-jdbc
testCompile group: 'com.microsoft.sqlserver', name: 'mssql-jdbc', version: '6... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48850389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Two WP Issues: Redirect Loop and Can't Login Recently uploaded my site from localhost to the live server, and it's not quite working. When I visit the home page, the browser says Im stuck in a redirect loop. I've tried the default fixes like resetting .htaccess file, disabling all plugins, switching to default theme... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49373376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to iterate through a DataGridView by Selected row; Receiving Index out of Bounds I originally created a foreach DGVrow to iterate through the DGV, but this would take long since it iterates through the entire data grid which contains thousands of rows. I switched up the for each into the following:
if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42020031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android- HttpUrlConnection addRequestProperty not working After doing more research I am now able to clarify my question. I have a code segment that I know works with every other file I try it on except one text file. The code checks the file I send it using the URL and HTTPURLConnection. I use addRequestProperty("R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48213503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Excel: If I open two windows on the same workbook, why do macros stop working in the first window? I am trying to set up a button in Excel to show a dual view of two separate worksheets at the same time. This is the code I've written so far (see below). So far the code seems to work. The problem is that the top w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4877869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.