text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Create Social Graph Dataset From Facebook I am doing a project at my college and I want to build a social graph from Facebook.
I want only the connections between users (friendship) so I can build a Graph.
I read the Facebook API documentation, from my understanding it doesn't allow to fetch my friends' friends, mea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11373506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What is a function signature? I was studying python and I ran into the concept of 'signature'. I looked things up but signature of a function seems to have different meaning for different languages. So, what does signature of a function refer to in python?
A: The signature indicates the names and types of the input... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72788932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: T-SQL and MSBUILD - xml indents and line breaks i'm using msbuild for some automation. One of the task is sql query to get xml representation of table and write it to file. So i'm using
<MSBuild.ExtensionPack.SqlServer.SqlExecute
ConnectionString="$(AdminConnectionString)"
Sql="SELECT '%(ReaderResult.Ide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26655382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create GString from String We're using groovy in a type-safe way. At some point I want to invoke a method with signature
void foo(GString baa)
As long the String I enter contains some ${baz} everything is fine, but when I use a pure String I get a compile error
foo("Hello, ${baz}") // fine
foo("Hello, world") // Ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70593174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can the bash script kill self if it received ctrl z pseudo code in my xxx.sh
a large loop {
python xxx.py
}
when I run this script ./xxx.sh and some bugs in python, then exception info will be raised to stdout repeatedly.
if I press ctrl+c, the signal will be catched by python, and if I press ctrl+z, the xx... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48515428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Does Perl 6 have an equivalent to Python's bytearray method? I can't find bytearray method or similar in Raku doc as in Python. In Python, the bytearray defined as this:
class bytearray([source[, encoding[, errors]]])
Return a new array of bytes. The bytearray class is a mutable sequence of integers in the range 0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51009154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Programmatically convert WAV I'm writing a file compressor utility in C++ that I want support for PCM WAV files, however I want to keep it in PCM encoding and just convert it to a lower sample rate and change it from stereo to mono if applicable to yield a lower file size.
I understand the WAV file header, however I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2861435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Odd behavior with Ruby defined? I am a newbie at Ruby and have a question with the defined? keyword.
Here's a snippet of code that I've written to load a yaml file to initialize settings in my Ruby script:
# Read settings file
require 'YAML'
settingsFile = File.join(File.dirname(__FILE__), "settings.yml").tr('\\', '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54446159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: When is disk cache cleared on iOS? I'm using the cache to store a bunch of rendered thumbnails for my game. It can easily go up to 60MB if the user has all the content in the game.
I wonder if I need to clear this out myself? Does the OS do this for me, and if so when?
Thanks!
A: When I had an issue with the docume... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9566018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I iterate through nested hash of hash without knowing its key? I have a hash of hashes, that is, hash and hash references in my data structure. Can I iterate through the deepest hash when I only have the main hash name and no key of the deepest hash?
my %gates_info=(
'order' => {
'nand' => {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55744057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't add std_logic to unsigned I'm making a program to count all the 1's from a std_logic_vector, the out from the program should be a std_logic_vector too. The vector size is based on a generic number. To do the count, i'm using a for generate and adding the 1's to an unsigned signal, but it's not working. Here is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57845113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Array to string in JavaScript I get an array of numbers as a response from remote command execution (using ssh2). How do I convert it to a string?
[97,112,112,46,106,115,10,110,111,100,101,46,106,115,10]
A: var result = String.fromCharCode.apply(null, arrayOfValues);
JSFiddle
Explanations:
String.fromCharCode can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21918048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Sheet - Calculate a cost I'm trying to reproduce that lovely website that helps you calculate the cost of something you bought into my personnal google sheet so it's easier for me to use it.
I'm seeking here for help since I don't really know how to adapt the math when you change the value of year/month/day.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64207482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get number apps running in background I am working on an app which needs the information of how many application running in background at the system,
I want to get number of them.
Any idea please ?
A: This Below lines give the list of Apps which are in background,
ActivityManager actvityManager = (ActivityMa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43419672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do i fix this Nested if command in excel? I have a excel doc in which I record the crashes of a certain application.
Inside one of the rows is the following
3/27/2016 | (Cell B39) | null | mins | null | secs | (Command)
... the command is,
=IF(ERROR.TYPE(B39) =3,"Hasn't Crashed Yet",IF(B39 =0, "No Crash"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36252154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is rust-analyzer not finding dependencies in workspace member? I have a cargo workspace with one library "./raytracing" and one binary "./cli". The two workspace members have different dependencies.
./raytracing/Cargo.toml:
[package]
name = "raytracer"
version = "0.1.0"
edition = "2021"
[dependencies]
rand = "0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72121176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: multiple file upload jquery asp.net add, remove then add again I am currently experiencing the exact same problem as here: Multiple File Upload with jQuery [removing file then adding it again].
So far I have managed this:
function UploadFile(ajaxUrl, event)
{
if ($("p[id=alertFileCount]").is(":visible"))
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37488549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can the S3 SDK figure out a bucket's region on its own? I'm writing an Amazon S3 client that might potentially access buckets in different regions. Our IT department is fairly strict about outgoing HTTP, and I want to use path-style access for this client to avoid having to make firewall changes for each new bucket.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17117648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: undefined reference to function when compiling using makefiles C I am trying to run some experiments using a set of functions inside a file called coco.c (from the coco optimisation platform which can be found at https://github.com/numbbo/coco). This file also comes with a header file coco.h. I have been trying to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71765694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: getchar not taken in consideration after scanf I'm learning programmation in C and tried to create a program that asks the user his age. When the user writes his age (for example 18) he gets the message "So you're 18 years old". When I execute the .exe file it automatically closes after you see the message, so fast ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26828370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Qpid Erlang Module I am newbie to erlang but managed to get the ActiveMQ talking to my erlang shell using qpid pronton c library as, which is working well and i am getting messages from queue itself on my erlang shell and vice versa.
qpidpn:subscribe("amqp://localhost/topic://xxx").
qpidpn:publish(#{address => "amqp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24484494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Swift: TableViewController in NavigationController - Change distance between first static cell and top Ive created just a new xcode project without any coding. I just worked in the storyboard. There I have a Navigation Controller. My RootViewController has a TableView with Static cells in 3 sections (Grouped). The S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48022360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter Exception caught by gesture: a ticker was started twice I have a Flutter application that communicates with the android native code through EventChannel and MethodChannel in order to start or stop an SDK and listen and display in the Flutter Ui the event generated by the SDK.
Everything work fine until I dec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72232153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: benchmarking PHP vs Pylons I want to benchmark PHP vs Pylons. I want my comparison of both to be as even as possible, so here is what I came up with:
*
*PHP 5.1.6 with APC, using a smarty template connecting to a MySQL database
*Python 2.6.1, using Pylons with a mako template connecting the the same MySQL databa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/674739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Passing same value of method to multiple forms In my window application I have orderNumber that need to be passed to another form. This order number is generated by the code which I will put below. I am trying to pass only 1 identical order number to two locations but unfortunately, two different order number passed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15041479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Parsing twilio transcription GET request within studio flow? EDIT: My question is similar to Twilio - Studio - HTTP Request except that the response I get is in xml rather than JSON. So is there a way i can specify a particular xml tag using liquid?
I have designed a studio flow which is as follows
*
*On Incoming ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73394803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: adding the user to a many to many field upon creating a model Good day, I am trying to create a viewset whereby when a showcase is created, the user gets added as one of the administrators in the many to many fields, but my code doesn't seem to work. Below is what I have tried, which doesn't work.
models.py
class Sh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60105340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to reveal multiple html? Suppose that, i got this pseudocode:
itemset1[apple,orange]
itemset2[banana,potato]
<div>
<header>
<h3>Mylist</h3>
</header>
<ul>
<li>itemset1[]</li>
</ul>
</div>
<div>
<header>
<h3>Mylist</h3>
</header>
<ul>
<li>itemset2[]</li>
</ul>
</div>
Is the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40483188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook comment plugin im trying to add facebook comment plugin to each picture of a simple photo gallery but it doesnt seem to work when i add it to the loop, here's the code of the page:
`
Affichages
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27804992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: awk append with /32 not working in MS Windows I am trying to append /32 to public IP that is in a file using awk
ip.txt has IP address 4.14.XX.XXX
the issue is with the command in script file
awk "{print $0 "/32"}" < ip.txt
result=0.129375
if I remove / than the result is 4.14.XX.XXX32
I want 4.14.XX.XXX/32.
The c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51139245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Multiple IF statements showing image when input are completed I cant seem to get multiple IF statements to work on my script. I want an image to appear when three input fields have text in, and not when only one or two have text in. Any help would be much appreciated.
HTML:
<form method="post" action="email-case-st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24870157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: SCC compliant version control I'm new to version control and reading about some of the ones available out there. I noticed the term SCC-Compliant (used with clearcase), and the definition from wikipedia is:
SCC compliant as applied to revision control software, means that a
program uses a particular interface de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8015121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Question on creating SPF record for the first time and trying not to disrupt mail delivery I'm creating an SPF record for our domain. We never had one before. I've been collecting DMARC reports so I have a good idea what IPs we are using to send email and I have a good idea what additional "includes" we need. Sin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58493506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cloudera VM Insufficient space for shared memory file I am getting below error while starting the Hive in cloudera VM CDH 5.10:
Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file: /tmp/hsperfdata_cloudera/26270 Try using the -Djava.io.tmpdir= option to select an alternate temp loca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45001995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Display field in MySQL as a link in PHP? I have a submission script set up where people can submit their details and upload an attachment. It is all recorded in a database in a table called Submissions with the following fields: fname, lname, snumber and upload.
The upload field is currently the location of the fil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7747894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pass multiple list of parameters from python to java program and get back return code using subprocess.communicate Need some help with following code - I want to pass string elements of three list as input to java program that I am calling in my python script. Here is what I have done so far -
import subprocess
from... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54308381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Back button of device not working with webView I am using wix's react-native-navigation V2 library for navigation and in one of my bottom tab i have webView. In webview i am showing website of company. following is my webview code with activity indicator.
render() {
return (
<View style={styles.container}>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54250528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: RxJava2 : How to test an observable is subscribed with TestObserver Using Observable.test() to get a test observer seems to be a bit messed up ... as .test() creates a subscription to the observable giving the following erroneous tests.
// fixme: test passes but TestObservable is always true even if disp= .. is com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59054018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why more than one "using system" namespace?
I don't get why, when I start a new console solution in C#, it has more than one "using system" lines. Shouldn't Using System cover using system.text and the rest?
A: If using System; were recursive, then, in just the "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34984845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: MongoDB Custom Serializer to avoid _t being added collection, throws ReadEndArray Error? Situation:
Language: C# using the C# Driver
I have a model that contains a List as a property. That List can contain one of 3 different models that all inherit the BaseModelClass. To assist in serialization of this situation Mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28637135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: extract on various lines with logstash so I just discovered logstash and I managed to extract data from log files.
This time, I have to extract information on MULTIlines, I show you an example:
2016-03-07 14:09:11,613 INFO [][com.ole.ecom.jms.crm.JmsCrmSender] Envoi du message ...<?xml version="1.0" encoding="UTF-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36327964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to enlarge image while hover over an image? I want to show the thumbnail image large when hover over it, similar to the one in
http://www.freelayouts.com/websites/html-templates Plz help. Any help will be appreciated.
A: What you need is a tooltip plugin. There are plenty of them.
Check out this list: https:/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2252324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Server linux forwarding I'm wondering if I could forward SQL queries from localhost to another local IP address?
I don't want to install SQL Server on Linux, but I need to connect to it on another PC through localhost.
Thanks
A: You can use iptables:
iptables -A FORWARD -p tcp -i eth0 -s localhost -d x.x.x.x -... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44759378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can we compare two plots? Suppose we have two similar plots.
*
*Plot1 (already published in a paper)
*Plot2 (calculated by using any software)
My question is: How can I compare my calculated plot (pdf, png, jpeg, etc) with the plot in the paper.
Thank You
A: To the best of my knowledge, there is current... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46172469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Using command-line arguments in J I know that ARGV represents the arguments. Can I type arguments after the filename in jqt.exe or does that only work in jconsole.exe. Executing the code regarding ARGV given in the J docs crashes J on my Win 10. An example would be welcome.
I tried out 0 ". > ,. 2 }. ARGV from an ea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61284555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jasmine + karma - Firefox does not calculate element.height and element.width properly I have a strange problem using jasmine and karma frameworks.
Basically I just want to make a resize using plain javascript of some img's.
I have the following test :
it('Should set both the height and width style for the one ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23519621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python type as a string I'm attempting to display a string that provides the type of a given variable.
When I try the following:
'This is a '+str(type(somevariable))
the output is "This is a <type 'float'>", instead of "This is a float".
How do I get the output I want?
A: 'This is a ' + type(somevariable).__nam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10014160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Set relative location header with Restlet When trying to set a relative location header using something like the following code:
setLocationRef(getReference().addSegment(MyItem.getId()).getPath());
Restlet seems to always make the Location header an absolute URL no matter what I do. It there a way to override this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21207690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to iterate over the elements in lists in the values of a dictionary I want to assert if all values in lists in the values of a dict are integer.
My dictionary is very long and I don't know an efficient way to do this.
My dictionary looks like this:
{'chr7': [[127471196, 127472363], [127472363, 127473530], [12747... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69392339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handling static files when when upgrading an application My application has a number of static files (SQLite DB, User settings file) that are deployed with the application.
When publishing a new version, I'd like to replace the DLL's, but retain the users static files. I'm intending to use InstallShield LE, but open... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37860949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Are there any differences between using StringTokenizer and concatenating Strings together? I am using Java to make an Uno game. I have a method called findCard(String cardname) whose function is to find the card in a hand of cards when the user writes in the name of the card (e.g: “Red 6”) and to return null if it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59042003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can I send sms to multiple number using Twilio by passing the recipient number array? I am building an application for ios, android, and for web. The application is using REST api to send sms via Twilio api gateway. Now there is a requirement to send bulk sms to customers. Is there any way to pass the recipient mobi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33079475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do i downgrade a meteor installation on windows? I tried reading the official manual and two books, but the chage in versions is too large, even the directory sturcture is off.
I tried running meteor bundle --release 1.0.0
no luck
what is the first windows version of meteor, i shold downgrade to?
A: According t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38619829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cascading drop down list with ajax in php I have a cascading dropdown list which is fetched from the database through ajax.
The list loads but its not posting to the database nor is the code seen behind.
function getXMLHTTP() { //function to return the xml http object
var xmlhttp=false;
try{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12955999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Should you create a reference the main class in every class in Java? I have a big program and I use my main class in almost every class. I usually access by a getInstance method but I do that every time I need it. For example:
OITCPlugin.getInstance().get....
Now I wonder if that is very efficient and if it was bet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71709254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: add #define when a specific flag is used I want to add a #define FOO code in an header file with autotools when I used a specific flag.
The project I have creates a static library using header to use inline functions for example. If I use the -D option, It will be used at the creation time but I'll have to add it at... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37110991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Joomla 3.2 working with css files I am testing Joomla 3.2 and trying to customize css files off custom and default templates but I can't get any changes to actualy display online.
First of all I thought it was a cache problem although it usualy is disabled on installation. I enabled and disabled it, cleared cache se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20192908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: A way to list each called function along with its parameters and return value for debugging c++ Is there a way to ease the debugging process by getting each function call along with the parameter and return values automatically output, as the program execution is progressing?
Maybe a tool that adds that outputting c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4397020",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Update trigger MySQL giving syntax error I want to create trigger to make update on table when inserting rows to other table, but I get a syntax error for this:
CREATE TRIGGER quantity AFTER INSERT ON sale_items
FOR EACH ROW
BEGIN
update products set quantity = quantity -1 where id =(
SELECT product_id
FROM sale_ite... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23838064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Button not displaying properly when converting from ui to py file PyQt5 I am fairly new to pyqt5, so still learning. I am creating a Home page for a small desktop app I am creating. I am using Qt designer to help me with the code.
My home-page looks like this in Qt designer:
Here, the Launch Tool button is being pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64010136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Woocommerce product attribute value as an icon I am using woocommerce and on shop product page I am showing a product with attributes.
I need to change the value of the attribute for an icon (tick icon)
i.e. My attribute is called Sugar Free the value is "yes". Instead of displaying the word "yes" I would like to di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75535238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How vanishing points can help in restoring proper camera perspective? I'm trying to insert 3D object into a photo, that was not taken by me. Meta info is erased, so I can only guess camera parameters and dimensions of the objects in the scene. How can I set proper campoints in such case, is there any methodology?
I'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7904925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: MySQL data does not appear in tooltip I want to show MySQL data inside a tooltip.
Here is the code:
<?php
$abfrage = "SELECT * FROM tester";
$ergebnis = mysql_query($abfrage);
while($row = mysql_fetch_object($ergebnis)){
$Name=$row->Name;
$Bech=$row->Beschreibung;
}
?>
<a href="" ti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18198836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to prevent users to entering into website after logout by pressing back button? In my asp.net application user login is available. After user logged out and if pressed the back button it goes to the previously visited page. I need to control the user to again login to enter into the website. How to solve this pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22505354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Document Clustering in Matlab I am working on a code for document clustering in matlab. My document is :
'The first step in analyzing the requirements is to construct an object model.
It describes real world object classes and their relationships to each other.
Information for the object model comes from the probl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21659454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How To Display GlSurfaceView in Phonegap in android I have requirement in my Project. My project is Video conference call using third party library. I am doing this project in Native android and phonegap. In Native android, After succefully connect video conference call , The thrird party library gives a custom view... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25053314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting all values from text field widgets and returning them to button widgets When I return values to a set of text fields and expect the same set of entries to display in the corresponding buttons,am only able to return the last entered text value into all the buttons using Tkinter python 3. How to get the corres... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59450524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What is wrong with this route? Hey.
I was going to make a "current" class for my menu component, that creates the menus. To find out the current class, it was suggested to use $this>getContext()->getRouting()->getCurrentRouteName();. To do this, I had to set up routes for all the menu-elements that was going to exis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4908831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to label Knob within the canvas I would like to know how to include a text also inside the value field provided in the knob.js plugin.
https://github.com/aterrien/jQuery-Knob
I did not come across a parameter where I can include text field also inside the value. If there is a work around please help me with it. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19418657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: This referring to clicked object and not to namespace Let's say I have a namespace and several functions , e.g. in this way :
HTML
<input type="button" class="btn" value="click">
JAVASCRIPT
var nms = {
doAlert: function(){
alert('doing alert');
console.log(this);
},
bindBtn: function(){
var that =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17629743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unknown amount of the nodes in yml - how to parse? In an application I have this:
def get_debt_for_month(api_requests_count)
case api_requests_count
when 0..50
5
when 50..100
9
when 100..200
13
# and so on
end
end
Obviously, having that hardcoded isn't a good idea. How would I do that? I fig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27872228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MS Access update query that calls a function doesn't return anything/update a field I have a text field Ran and I want to be able to update the field RanKeyNo5 (update query) with the numeric equivalent (2 digits) for a specified number of letters as they occur in the Ran field, i.e. the first 5 letters of the alpha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60011614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Any ideas to creating a "password tab"? This inquiry is quite ambiguous so let me try my best to clarify. I want to create a link on a webpage containing confidential samples that when a user clicks, opens a tab and requires the user to input a password in order to access the information.
Any help or word of advice ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35532153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to see a history of email addresses to which an email was sent to, by Amazon SES? I have a subscription form that, when filled, sends an email using Amazon SES & stores user info in my database.
The database has not been working in recent weeks, although mail delivery has worked.
Since my storage mech... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74390352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to allow anonymous twitter connections in an MVC configuration Using
- spring-social 1.1.4
- spring-social-twitter 1.1.2
- spring-mvc-4.2
- on tomcat 7
Below is my tomcat config for my MVC Application including twitter set up and usersConnectionRepository.
This is all working fine for the logged in MVC user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34727911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vega text mark renders "undefined" when not hovering I'm trying to create a simple bar chart using Vega on the Vega editor.
To re-create my issue, navigate to this bar chart example on vega site, and try to change the text property of the text mark as follows:
*
*Original: "text": {"signal": "tooltip.amount"},
*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63836398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Update multiple column with activeAndroid I want to update multiple cell of single row with active android.
some thing like this,
new Update(Question.class).set("UserAnswer ="+answerID,
"UserAnswerType = "+userAnswerType)
.where("QID = ?", quest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34453744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: vs code : java.rmi.ConnectException: Connection refused to host: 127.0.0.1 i have created an app in flutter language and it worked perfect at the beginning then after i flutter pub get it stopped running in vs code and i'm getting this error
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69780329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting an error with trying to set up Firebase push Notifications I am following the Firebase Push Notifications quick start but am receiving this error.
Not sure what's going on as this is the documentation for the quick start guide.
A: You're trying to set your AppDelegate as a UNUserNotificationCenterDelegate,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40315263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I pick the photo from the device in Zebble for Xamarin? I want to get the picture from the user in my application and for this reason, I use file picker which exists in Zebble UI components like this code:
In my page:
<FilePicker Id="MyFilePicker"></FilePicker>
I did find the code from this link
http://zeb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43503830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can get the right size images when setting some resource to imageview? I hope to put some item into a gridview like following :
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/llBg"
android:layout_width="match_parent"
a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34891475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Changing the content of view dynamically in android i am new in android and i got some question about the project that i am doing right now.
i am developing an apps that display a total of 9 images in 3x3 like the picture below.
when i press the next button, the images changed to another 9 images. if the remaining ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11332421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Input validation : Remove value on backspace I am running into a query; I have multiple html input box on my webpage, even inside multiple table column where user can edit for business calculations.
*
*Text box support positive as well as negative value
*maxlength etc etc....
Problem is when user enter value i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32008257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Field set toggle on page load I have a similar code to this. but I'd like to have the fieldset toggled when the page load. Also, show and hide when someone click on legend
<fieldset>
<legend class="hide">Tags</legend>
<div>
<label>
<input type="checkbox" name="col" value="summary"
checked="chec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53418098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Eclipse "go to definition" problem I'm using PyDev for eclipse and am experiencing some issues with "go to definition". It works for most modules, but for some site packages it does not. It does the "bump" sound and then nothing happens. One of the packages that doesn't work is Twisted, which is weird since the sour... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1216104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: SQLite3 with PHP How to do Cross Referencing of Columns with data found in other Columns Here is how my Sample data looks like
hwid: 1502e3c3-b49c-4907-92fd-2ffac2d50ace
ip: 68.197.140.109
character name: none
hwid: 1502e3c3-b49c-4907-92fd-2ffac2d50ace
ip: 219.100.37.236
character name: none
hwid: 1502e3c3-b49c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62318057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Polynomial Expansion from scratch with numpy/python I am building a polynomial regression without using Sklearn.
I'm having trouble with Polynomial Expansion of features right now.
I have a dataframe with columns A and B.
When I imported and ran PolynomialFeatures(degree of 2) from Sklearn, I found that it returns ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58867481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Git commit is incredibly slow Lately when I use git commit after changing a few lines of code, it may take a few minutes to finish. I'm unsure what has changed.
When I run it with diagnostics:
GIT_TRACE2_PERF=1 git commit -m "message"
I get a verbose output, which hangs for at least a minute on this line. After a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64426239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FormatException of DateTime.Parse. Check which part is wrong in my date string I'd like to validate a date string in my TextBox.
If I have 2018-06-07 string in my TextBox, I can parse it with success with DateTime.TryParse or DateTime.Parse.
But if I have 2018-12-35 in my TextBox, the DateTime.Prase throws FormatExc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52161683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL - reset cumulative value while keeping historical data I've been encharged, during my university internship, to create a web application to manage maintenace operations in the factory I work in. I'm an industrial engineer with just a little knowledge about database programming, so maybe this question will sound ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8564304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to to duplicate a 4 partitions image on an eMMC from U-Boot? I have an image (more specifically a wic image for those who are familiar with Yocto framework) that contains a partition table along with its 4 partitions. It's size is bit less than 1GB.
In order to write this image to the eMMC:
*
*I first load i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59988521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JAXB adding unwanted tags in XML and removing desired ones I'm having the following structure of my classes:
@XmlRootElement(name = "storage")
@XmlType(propOrder = {
"entries"
})
@XmlAccessorType(XmlAccessType.FIELD)
public class A {
@XmlElement(name = "configuration")
private Set<ClassB> entries;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18571711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Drupal 7, Not sure how to theme my output correctly from query data I’ve been using Views to selectively returned nodes, but right now I want to return my nodes and use the Taxonomy term as a group header. I can't see anyway to get Views to do this for me, other then create multiple views on one page.
So I thought ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7293391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Concat variable names in GitLab We use a Gitlab Project in a team. Each developer has his own Kubernetes cluster in the cloud and an own branch within GitLab. We use GitLab-CI to automatically build new containers and deploy them to our Kubernetes clusters.
At the moment we have a .gitlab-ci.yml looks something like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41723062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How to navigate from Content Page to Shell in native forms? In my xamarin forms native 3.x project, currently I am navigating from content page to content page using below code
Android.Support.V4.App.Fragment mainPage = new ContentPage().CreateSupportFragment(this);
SupportFragmentManager
.Begin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56807086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: TypeError: unorderable types: int() > list() # Import Packages
import random
# Global Variables
perf_num = 500
species = [20]
temp_num = 0
length = 0
s = 0
# Main Program
for num in range(100):
r1 = int(random.random()*10)
r2 = int(random.random()*10)
species.append(r1)
length = len(species)
wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33586052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: javapos: how to set font size? I'm using javapos 1.15 to print on some epson thermal printer.
All basics feats works properly except one: I don't know how to change the font size (neither type, but that's ok).
According to documentation I could use some escaped caractere but none works. I can make text wider
and bol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74849249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pop up not showing outside when used with resize column by using PrimeNG Table I am using PrimeNG components in Angular 5 project. In my landing I have requirements like resize column and filters(pop up).
Pop up is showing correctly on table without using resize column class pResizableColumn. But when I use resize ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54033723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does the 'like' count in my page rollback? I'm attempting to implement facebook "likes" and having a bit of trouble. The count keeps rolling back after a page refresh.
Steps to reproduce
*
*Navigate to http://bookmill.co.kr/books/9/quotations/79 (note: this page is in Korean)
*Click Like
*Notice the like ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10479752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Integrating Symfony2 and Redis I am trying to integrate Redis with my Symfony API, I found this bundle : RedisBundle
I installed it and configured so that I can cache Doctrine like so config.yml:
# Doctrine Configuration
doctrine:
dbal:
driver: pdo_mysql
host: "%database_host%"
port... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35130794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.