text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Android: How to change TextView periodically I'm recently working on a ShoutCast radio project. By using streamscrapper library I'm able to get the current song name and the current artist. Here is the problem. Once I open the app, it gets the song name and the artist name, however since then it does not update it. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17785272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python Big O Determination I'm writing a program where I have to determine the growth rate of some code.
It might be run like this:
python3 my_program.py program_with_code_to_test
Here is where I am stuck:
The executable code accepts one int argument n. I can assume that "N0" (that is N subscript zero), is equal to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43580014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I'm Confused with Java NIO I'm confused with java nio buffers and Files.write if I can write with buffers and channels on file why do I need Files class.
What's difference between both of these working code examples.
String newData = "New String to write to file..." + System.currentTimeMillis();
Path path = Paths.g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55018607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Print dataframe to console during intermediate steps in dplyr chain While debugging dplyr chains in a function, I often want to be able to print intermediate changes to a data.frame to the console. How would I do this?
For example:
data(cars)
cars %>% group_by(speed) %>%
summarize(dist_mean = mean(dist)) %>%
[i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70329179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: how to change the color of an element that is in front of a background image in css? I put a background image in the body. I also have a different color for my menu box. I don't want to see the image in the menu box, how can I do that in CSS? Below is my code.
Thank you,
Avi
body{
font-family: sans-serif;
ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73045853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Printing bits of a byte I am using "lahf" to store the flags in ah. I would like to output these values (1s and 0s) to see my flags, but I have no idea how. My Holder label in the code below outputs a decimal, is there a way to output a binary number instead? or should I go about this in a different way?
lahf ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19884828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: XMLHttpRequest works but no response/status back on callback I have an XMLHttpRequest where i am sending an image across to be saved on my Amazon s3 bucket. It works correctly and the file goes to my bucket but i am getting no response back saying it is in process or has successfully uploaded. My code is below:
Java... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23657496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to load last on changed Google sheet data and send an email as PDF using script I have written a script function to get google sheet data and send the email as an attached PDF. I have used here pivot tables in the google sheet.
The problem is here. after the filtered pivot table and then if I send an email.it s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64946000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Parameterization in adf? If we define array type parameters outside all activity then want to apply it in dataset in copy activity in foreach where string type parameters is there then how can we access these parameters ?
A: I'm assuming, you are asking for source dataset. For Sink dataset as well, it will follow s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67616925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rest Webservices I am developing a file upload service and using org.glassfish.jersey.media.multipart.FormDataContentDisposition .getFilename
but it gives the filename along with the complete path which fails creating the file.
If I change to use the fileName in debug mode it works.
How to get just the uploaded file... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40622254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android custom progress bar with .gif file In my app i have a custom progress bar
progress.xml
<ProgressBar
android:id="@+id/progressBar1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:progressDrawable="@drawable/loader" /... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26302282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: LINQ GroupBy Count I've got table which contains of EmployeeID, ProductID and ProductName. The table is called EmployeeProduct and I'd like to make query (which I'll bind to DataGrid) which will get me a result like this:
Employee ID| ProductID | Name | Count(ProductID)
1 | 2 | XYZ | 3
1 |... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8919100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: options.remove(); doesn't work, weird behaviour I've got a paypal select, where I have different options. I want to choose just one option and erase the rest of them. To do so I've got this piece of code:
var selectobject=document.getElementById("os0"); //this is the select
for (var i=0; i<selectobject.lengt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48947642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: QWidget with doubleclick I want to be able to double click a QPushbutton instead of a single click.
What I tried:
connect(pb, SIGNAL(doubleClicked()), this, SLOT(comBtnPressed()));
Error says "QObject::connect: No such signal QPushButton::doubleClicked()"
I chose QPushButton initially, but for my purpose, you can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47383722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I create recipe in calibre to fetch full content from xml instead webpage? I have a xml rss feed like below,
http://www.prajavani.net/rss.xml
where description contains body of news/article and also contains image. when i create recipe in calibre, it fetches content from web page using link in xml, but it d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41789072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Email template font not working on tablet and phone devices Agency FB font works fine on desktop view on my email template when I send it out but in the device view it reverts back to the PT-sans.
I have applied the Agency FB font anywhere it says font family and I included the url link too. I use MailChimp to send ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38945662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UIAlertView with UITextField I was adding UITextfield to the UIAlertView as shown:
UIAlertView *addingBookAlert=[[UIAlertView alloc]initWithTitle:@"Enter Note" message:NULL delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil];
addingBookAlert.tag=kAddNoteAlertTag;
myTextField = [[UITextFi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18014443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP check if today is in between two dates Consider following code:
$today = date("d/m/Y");
$start_date = '20/11/2014';
$time1 = strtotime($start_date1);
$start_date1 = date('d/m/Y',$time1);
$end_date = '20/01/2015';
$time2 = strtotime($end_date1);
$end_date1 = date('d/m/Y',$time2);
if( $start_date1 <= $today && ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27863791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to dm all moderators in discord by discord.py, not only one? I have this code:
async def report(ctx, member: discord.Member, *, arg):
role = ctx.guild.get_role(9999999999999) # Imagine that 9999999999999 is moderator role id
members = ctx.guild.members
await ctx.channel.send('Your complaint was sent... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68045502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove next character jQuery (no html elements given) Suppose the following markup:
<body>
<a href=# name="uniqueLink1">link</a> [ some text here
<a href=# name="uniqueLink2">link</a> [ some more text here
</body>
Is there anyway to use jQuery to remove the ' [ ' from the top line but not the bo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17719678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Ordering the results of an file with ArrayList and compareTo I have to order an arrayList that contains lines from a file by account ID and then by salary to get this result:
CuentaAhorro : 11111111A (Alicia) Saldo 111,11
CuentaAhorro : 12345678A (Lucas) Saldo 5100,00
CuentaCorriente: 22222222B (Peio) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60887212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# Powershell BeginInvoke Completed Event not Fired This is a sample code to test a functionality, it has no use in itself.
I want to fire the completed event of the PSDataCollection object.
I found in Microsoft that the CloseAll method in C++ should be called to let BeginInvoke know that there are no commands left,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66337708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Custom number to binary? I'm learning C# and im trying to get a custom number to convert to binary. I've looked up several forms here on stack overflow and they have similar code to this, but it doesn't work. Any ideas?
Console.WriteLine("You have chosen binary, input a number then it will be converted to binary.");... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50472144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Changing main form button visibility from the subform I've been trying to make a button disappear when a new insert is made and one of the fields is empty, problem is the field is on a subform (data sheet view) and the button on the main form I've been trying the following code with no success.
If Me.Produto = "" Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37164938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: dynamically load images from server in jtinder i am using jtinder for creating tinder like effect. here is the library.
https://github.com/do-web/jTinder
i want to add images dynamically when users are on 4th image out of 5 images loaded when page was called first time.
here is the javascript someone used to mak... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44015769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to debug django web application using specific port & localhost in visual studio code? I want to debug django web application using visual code for that I have found solution that I have to edit launch.json for debugging django web application.
launch.json
"name": "Python: Django",
"type": "python",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58096897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Connecting Hyperledger Composer to Fabric: Error trying install composer runtime While following the tutorial on this link, I encontered the following error under the section "Deploy to the running Hyperledger Fabric". My Hyperledger Fabric is not running and I do not know why. The error I get is shown below:
tom@to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46588275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get id of element on button and auto click using jquery I need to autosubmit a single button on a page that may have a selection of multiple buttons. The challenge is that the buttons do not have a name or ID reference, and rather, each input element uses a "tabindex=n" ID. The quick and easy would have been to add ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29373347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove duplicate lines with 1 command There is any Linux command that deletes duplicates of lines in a file but not the first appearance of the line that is duplicate.
For example, we have a file that has the following lines:
Test Line
Another line
Test
4th line
Test
Test Line
And I want after I run the command, t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60605119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PPT Text x,y,width,height - openxml I tried following this Presentation ML inheritance chain:
Slide <-- SlideLayout <-- SlideMaster <-- default styles in SlideMaster
to obtain x,y,width,height properties of text content in a PPT Slide but I am not sure whether I am getting correct value. Can you please tell if I am ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9602384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Vuetify v-chip in v-data-table array I am new to vuetify, and I would like to know how to make a v-chip to a specific value in my table.
example :
<v-data-table
class="page__table"
:headers="headers"
:items="references"
>
<v-chip
v-for="reference in references"
:key="reference.id"
:color="color... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71649799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get different count of key php array to table and $array[1] = array("Name1"=> array("2"=>"1460","3"=>"1868","4"=>"2158","5"=>"2537","6"=>"2915","8"=>"3673"));
$array[2] = array("Prod2"=> array("3"=>"3079","4"=>"3625","5"=>"4172","6"=>"4718","8"=>"5811"));
$cnt = 0;
for ($x = 0; $x < 100; $x++) {
$prod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35095372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: BootStrap Modal: Multiple modal open, and when last modal cancelled it hangs the page Sorry I don't get this but I have 2 modals
<!-- Upload Document Modal 1 -->
<div class="modal fade" id="uploadFileModal" tabindex="-1" role="dialog" aria-labelledby="uploadFileModalLabel" aria-hidden="true">
<div class="modal-d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62057703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WARN Test results in Robot Framework I have multiple test cases that need to be tested. With every release, I get some new test cases as well as some old ones.
My problem is for old test cases which are failed I have already created a problem ticket in JIRA and in the next release this ticket number is added in [Doc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64460160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Milliseconds to HH:MM:SS time format I'm trying to add the timestamp of a video frame to its own frame name like "frame2 00:00:01:05", using CAP_PROP_POS_MSEC I'm getting the current position of the video file in milliseconds, what I want is to change those milliseconds to the time format "00:00:00:00:".
My code cur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72975483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: grouping foreign objects (javascript merge) I'm writing a small userscript to recieve an object from a xhr request and send parts of it to another website. The recieved json looks like this
{"result": [
{"id":"1234","title":"Gartenzwerg","description":"Strom unter Kunst","lat":153.558356,"lng":50.205637,"city":"Citü... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68909666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove line number option from grep I use an alias for grep, that adds line numbers to the output:
alias grep="grep -n -I --color"
For a certain command I'd like to remove the -n from the grep command. I could not find a "Do not add line numbers"-flag. Is something like this available or do I have to add an extra a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42138844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: When are ready the new feature "cards" in the API? Youtube has a new feature called "Cards", but i can't find information in the API about of this, i need to know when are ready to be able to be used like programmer, thanks!
| {
"language": "en",
"url": "https://stackoverflow.com/questions/29501272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Backup a Meteor Mongo Database? To create a backup of my mongo database, I am trying mongodump from my meteor console. The command successfully completes, but creates an empty folder under the dump folder. I use the command
mongodump -h 127.0.0.1 --port 3001 -d meteor
So basically I am trying to backup my d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43539440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Overwrite postgresql onupdate with sqlalchemy Original problem
I'm using sqlalchemy in our project. I registered few event listeners for my model like so.
@event.listens_for(Post, 'after_update')
@event.listens_for(Post, 'after_insert')
Somewhere else in the code I update the view_counter property of my model.
post... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57222721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Test rig exited abnormally with code 134 with OCMock verify on iOS 4 I'm trying to add OCMock to my iOS 4 project. To test it out, I have a class Person with one method, -hello. When I run this test:
- (void) testMock {
id mock = [OCMockObject mockForClass:[Person class]];
[[mock expect] hello];
[mock h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3400767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Limiting resultset from Magento SOAP query How can you specify a max result set for Magento SOAP queries?
I am querying Magento via SOAP API for a list of orders matching a given status. We have some remote hosts who are taking too long to return the list so I'd like to limit the result set however I don't see a par... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13088231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Numpy hybrid type Matrix astype I'm trying to cast a numpy matrix that I have already defined:
matrix = numpy.array([['name','23','45','1'],
['name2','223','43','5'],
['name3','12','33','2']])
resulting in this:
array([['name1', '23', '45', '1'],
['name2'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30141778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to find the second lowest value in a tensorflow array I am writing a clustering algorithm and for part of it I calculate a euclidean distance matrix for each cluster of points. (FYI all of this is in Tensorflow). each cluster is a list of 8 dimensional vectors, which I then turn into one M*8 matrix. For each poi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45126061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Agent in JADE behaviour not working I'm trying to create a game where JADE Agents are the 'enemies' and they chase a player around a maze.
So far I have:
MazeView.java (uses Swing to paint various things on the screen, and lets the user interact through button presses)
Enemy.java (a JADE agent that will have behavio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33173268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP Laravel are DB function results cached? Noob question. I'm working on a project which involves interacting with some legacy software and the database is not compatible with regular Laravel Relationships.
If I'm defining things in a constructor like this:
public function __construct(array $attributes = array())
{... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53834062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: QT4 get base char without diacritics I am trying to create an index from a list of QString, getting the first char for each word in the list. I would like to remove all diacritics from this first char, fe: á -> a, ü -> u, 木 -> 木. I mean, the index for abeja, ala, árbol should be the same: 'a'.
EDIT:
I have found the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12456061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add class to block under position: sticky I have a block with position: sticky and a block under it. Is there any way to track the moment when the sticky block sticks to the top and add a class to the bottom block?
I think I should use $(window).scroll() but don't know how.
A: There is no "official" way of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70928700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ChoiceBox with custom Item in a TableView I have a
private TableView<Indicators> tableviewIndicators;
with column
private TableColumn<Indicators, WindowsItem> tablecolumnFrame;
public static class WindowsItem {
CustomInternalWindow chrt;
private WindowsItem(CustomInternalWindow _chrt) {
chrt = _c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21635694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to determine if variable is undefined in another question on SO, I was determining how to toggle off a function, and the working solution is this:
I place var disabledFlag = true; in the head section of my page and before calling shell.js, then in shell.js I have:
/*******************************/
/* TOGGLE BUT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21805507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Clang undefined behavior checker link error Upon trying to compile a C++ source file with clang 3.5 with the undefined behavior checker
clang++-3.5 -std=c++11 -fsanitize=undefined main.cpp
I am getting the following error upon linking:
Undefined symbols for architecture x86_64:
"typeinfo for __cxxabiv1::__class_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26774999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to check open ports using powershell? I would like to write a script to check radom IP or hostname to see if ports are open. Here is what I have so far. The scripts name is checkports.
foreach ($xhost in $computername){
Write-Host $xhost
foreach ($port in $ports) {
$Socket = New-Object System.Net... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19213830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why does my code not iterate over each line? There is a key error "\n" despite stripping off(.txt input fed in using .read()) I have a .txt file of DNA sequences in the format shown below:
>seq1
ATATAT
>seq2
GGGGG
>seq3
TTTTT
Using re.sub, I have removed the lines with ">seq" numbers like this, to have an input of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57075481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mod_python error: ImportError: Could not import settings Trying to get Django to work with Apache, and I'm getting the following error:
ImportError: Could not import settings 'MyDjangoApp.settings' (Is it on sys.path? Does it have syntax errors?): No module named MyDjangoApp.settings
My Django app is located in /h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/962533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Why keyboard event function of "Enter" button is not working; I have the following very simple HTML
AND at the if statement at js script I am just trying to insert an additional functionality when someone enters the "Enter" button - but Idk WHY it's not working!
document.querySelector(".subText").addEventListener(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70257627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to delete page in Magnolia CMS I'm trying to delete a page from Pages application and I'm receiving success message
But the page is still there.
It's the same when I try to delete a page from JCR, I'm receiving success message, but the node is still there.
I have no info, warning or error messages in the log... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60430471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: XML validation against self-made schema I need to define an interchange format via xsd. I created an example xml file as i intended it to be and want to test that it conforms to the local xsd i created so i tried to validate it via IntelliJIDEA and got following errors. Please point me to what i did wrong.
<?xml ver... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32425906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Foreach or While -- Best for processing array? So what I am trying to do is process an array. The array contains one thing: photo urls.
When I use foreach()I get a limit error (500 internal error). It seems that it started happening after I rewrote the script. But that doesnt make any sense as there are no errors i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11122527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ansible handling password change on first login I am creating a playbook that login to a Virtual Machine and perform initial configuration. The image used to create the VM has a default user name that need change of password on initial login. I am looking for a way how to handle this in Ansible?
A: I found solution... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64456955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PHP convert html to space, > to > etc I want to convert all html tags(  > < etc) to text format;
I have try
html_entity_decode()
but it will return ? if  .
A: Use html_entity_decode() instead of html_entity_encode()
A: If you check the html_entity_decode() manual:
You might wonder why trim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15289772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Identify special characters in Excel based on column names I found a code that uses RegEx to determine if there are any special characters in a column. I have just found out about RegEx today and I tried editing this code but I have encountered 3 problems:
*
*It uses "ActiveSheet" but I have read that it might c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56980404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IOError: File not open for reading I'm new to programming and I am trying to teach myself Python through http://learnpythonthehardway.org/.
In exercise 20, we are told to make a script like this:
from sys import argv
script, input_file = argv
def print_all(f):
print f.read()
def rewind(f):
f.seek(0)
def... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12546361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to declare RDF containers in RDF Schema? When writing an RDF schema, I can do the following to declare that a committee consists of a number of persons:
<rdfs:Class rdf:ID="Committee" />
<rdf:Property rdf:ID="members">
<rdfs:domain rdf:resource="#Committee" />
<rdfs:range rdf:resource="#Person" />
</rdf:Prop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12638607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: implementing DFS or recursion and printing the traversed path in python Creating absolute path from XML.
I have created a xml
from lxml import etree
root = etree.Element("root1")
child1 = etree.SubElement(root, "child1")
child2 = etree.SubElement(root, "child2")
child21 = etree.SubElement(child2, "child21")
child2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48959744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is adding a bot to a Telegram channel broken after update to version 4.1? I can't seem to add a bot to a channel after the latest update to Telegram (to version 4.1).
I can only select administrators from the channel members and I can only add a channel member from my phone contacts. Search for the bot (in this case... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44871666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mongodb Spring MVC Does someone know how spring mvc handle nested arrays in mongodb please?
Each time I add an arraylist to my model, at the first hit I got an error and then I press F5 to refresh my page and it works.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/36073219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Click Listeners in Loop - Array and Closure I realise I'm treading on thin ice opening another closure issue, but I have searched and can't find an answer to my issue. I have a Google Maps API v3 page which generates two maps from one block of code - a small map centered on the user's current location and a larger m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13907103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UIImageView not displaying image - iPhone SDK I am using AVFramework to capture camera frames and I would like to process and display them in a UIImageView but am having some trouble. I have the code:
// Delegate routine that is called when a sample buffer was written
- (void)captureOutput:(AVCaptureOutput *)captur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3408542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OR filter in neo4j I am a Neo4j newbie.
I have a Neo4j graph with 3 entities: Person, FirstName, Postcode - they are related to each other as follows:
Person -> [:HasFirstName] -> FirstName
Person -> [:HasPostcode] -> Postcode
I have a person in the database:
Tom with Postcode: LA2 0RN
I have this query:
"MAT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72573781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Scikit-learn not being built properly This is my first time trying to install python on any system.
I have followed the guide on:
http://scikit-learn.org/stable/developers/advanced_installation.html
and installed all build dependencies. I then installed using pip:
pip install scikit-learn
I had no errors when instal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41822302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sign in with curl I tried but I cannot sign in with below code. After execution i show the login page again. Can anybody help me?
$tmp_fname = tempnam("/tmp", "COOKIE");
$curl_handle = curl_init ("https://accessmanager.thy.com/amserver/UI/Login?goto=http%3A%2F%2Fwww2.thy.com%3A80%2Fuhkm");
curl_setopt ($curl_han... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28128144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to install DateTimePicker in Yii2 I have creating form fields. Here, i want to add DateTimePicker.
I have referred in google about some date time picker. i got so many.
DateTimePicker jQuery plugin
Bootstrap DateTimePicker.
My question is which plugin is best among them. and
How can i install that plugin?
*
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30679506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ASP.net merge with an existing database? I have a database that's been populated with data on a server. I've made some
changes to the database models and I wish to merge the existing data with the new data without losing everything.
Do you know of an appropriate and no-nonsense method to achieve this?
A: Well one ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15810702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How fix in libgdx blinks screen in Desktop Mode? when i run emulator and start application i see blinks screen, but on a PC in DesktopLauncher screen is normal.
I can not understand where I made mistakes.
render method override but it does not help.
class starter:
public class Drop extends Game {
Camer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38540384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: nginx rewrite two url segments I have it almost working, just cant get it the last inch.
What I'm trying to do is
https://example.com/ap/variable1/variable2/
and have it go to
https://example.com/ap/index.php?server=$1&guild=$2
where the variables are optional. What I have now is
location /ap/ {
rewrite "^/ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44490588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Undercomittment in Scrum I have a team of 5 developers working a 10 day sprint schedule. After I deduct the scrum meeting times from their total capacity (300 hrs) I end up with 247.5 hrs.
The breakdown is -
Total - planning - daily scrum * 10 - review - retrospective - backlog grooming
300(5*6*10) - 10 - 12.5 - 5... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18079998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sorting a MultiDecimal Array in PHP I am trying to sort an array with multiDecimal
What I have so far is an array:
Array (
[0] => Array ( [0] => 2, [1] => 20 )
[1] => Array ( [0] => 3, [1] => 30 )
)
What I want to do is sort them like:
Array (
[0] => Array ( [0] => 3, [1] => 30 )
[1] => Array ( [0] => 2, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28346767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: two identical graphs considered not equal using networkx,
The MultiGraph and MultiDiGraph classes allow you to add the same
edge twice
So I guess it implies the basic class Graph() ignores multiple edges.
I did a test, and found it does ignore multiply edges, however adding same edge twice makes the graph object... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36411129",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to collect all nodes of a Tree structure, grouped by depth level? I have a classic Tree-structure with childs and parent node. Now, i would like to collect all nodes grouped by depth starting from the lowest level (i.e. in reverse order), like this:
nodes[
["A4"],
["A3","B3"],
["A2","B2","C2"],
["A1","B1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46388163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bootstrap navigationbar right align I'm learning bootstrap and I'm trying to make a navigation bar with a logo on the left side and nav-links on the right side and I don't understand why ml-auto is not working in my code.
<html lang="en">
<head>
<title>Bootstrap</title>
<meta charset="utf-8">
<meta name="vie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65593687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel join three tables with relationships How can I join three tables where the foreign ID of each table are part of another,
In the below code, I am trying to get all payments from PaymentsTable which have invoice_id, and InvoiceTables which have customer_id,
Here is DB relationships
Table : Customers
customer_i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67331164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular js convert string property to boolean inside json object i'm working with angular js and i have the following array that contains many json object , each objects has the property "isSingle" which contains "true" or "false" , my issue is how to convert this property to boolean true or false :
[
{
"n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50625443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: app.js code comparison because ejs not working I'm using express.js and ejs.
I will post below two codes for the app.js file. The thing is that ejs and layout.ejs do not work with the one of those two codes, but it works perfectly with the other
Here are the two codes:
The first one, which ejs is working:
const expr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61252430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it safe to use startActivityForResult() for sensitive data? I'm looking into starting an Activity (different app) with some parameters (sensitive session) and was wondering what's the safest way here. For instance, startActivityForResult() may be used on Android and I was wondering if any other app can see this r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57058231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to create a new dataframe column with shifted values from another column? I am returning data from a database query and want to create a new column in the resulting dataframe. I need to shift the results of one column forward one month to create a new column.
I have a dataframe that is populated from a sql quer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24053576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: AWK - Compare Two Files - If Field1 is Same, Compare Lines There are two files. When field1 is the same in both files, compare the corresponding lines. If they are exactly the same, then next. If there are more or less line or if the contents are different, then echo field1.
In the example below, LSP1 and LSP2 ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46061929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: passing children or css attribute to component style config chakra ui Is there a possibility to pass a children prop or atleast css attribute like title to component style config in chakra ui?
A: When using "attr" just pass the variable as a plain string instead of wrapping it with template literals. Using childr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73260434",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sort Hierarchical table in SQL Server? I have a table Address and I want to sort rows like parent-1 => all-child-parent-1, parent-2 => all-child-parent-2 so on ....
Address Table
ID Caption Parent
---------------------
1 A NULL
2 B NULL
3 a 1
4 b 2
5 bb ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60857506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Jquery: Stripping certain Wordpress paragraphs Since Wordpress adds paragraph tags on everything, I need to strip paragraph tags under certain conditions. In this case, I want them off the images. I got that part working:
$(".scroller img").unwrap();
But I think that Wordpress might not add paragraph tags aro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11488851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can't create Workbook failed to use package 'xlsx' to createWorkbook()
R--3.4.4 Windows 7
wb<-createWorkbook()
Error in .jnew("org/apache/poi/xssf/usermodel/XSSFWorkbook") :
Java Exception
(no description because toString() failed).jnew("org/apache/poi/xssf/usermodel/XSSFWorkbook")<S4 object of class "jobjRef">... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56430467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Concatenate & Trim String Can anyone help me, I have a problem regarding on how can I get the below result of data. refer to below sample data. So the logic for this is first I want delete the letters before the number and if i get that same thing goes on , I will delete the numbers before the letter so I can get my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45323064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: cannot set valid itemto QTableWidgetItem I'm trying to populate two different QTableWidgets. For the first one it works find, but for the second one, it won't actaully set the items to the QTableWidget.
In the second, failing attempt, it does successfully create the item (both type(item) and item.text() work fine an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15339959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Eclipse IDE Sidebar (navigation) missing I'm trying to use Eclipse for my Computer Science class, except the bar on the left is missing. Does anyone know the fix?
A: In menu bar, you can select "Window" -> "Show View", and then select "Project Explorer" (or other components you want to open).
A: Do you mean the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18604217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: BadgeValue not working on moreTableView of TabBarController for iOS 5 (works fine on iOS 6) I have a badgeValue for a ViewController thats shown inside MORE tableview. It works fine on iOS 6 but doesnt work at al with iOS 5 or below.
I am setting the badgeValue of the tabBarItem to set the value to be shown.
Can an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13465738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: which one of these permissions in manifest says I'm reading phone call information? I have a few permissions in my manifest:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11376364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Omniauth with pow port issue in Rails I'm using Omniauth in my Rails app (which is launched locally using POW). After my providers return to the callback action, I get redirect back in port 19999. I don't want to hard code the port into the redirect_to (e.g.: redirect_to root_url, :port => PORT).
I want either to g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16302709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: building an M3UA association with SCTP I would like to develop an M3UA association using Lksctp linux also I thought it could be possible using openSS7 M3UA but I do not know how to do it. Any more ideas???
Thanks for any help.
A: I think it is better to use Mobicents jSS7
A: You can use lk-sctp in combination wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29622638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Script created in Spyder but not found in normal folder I've donwloaded Spyder IDE(inside Anaconda) in order to do a data science 101 course and started to create some simple scripts
the cwd is C://python/ and in normal folder, they aren't showed
As you can see, in spyder explorer view, the script exist, but with CM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52726459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix PyQt5 GUI freezing I've created a simple GUI for my python app with QtDesigner. When i try to run my code it works properly but my problem now is that when i try to run my code using the convert button on my GUI the interface freeze or unresponsive and it will only be responsive after it finishes executin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61851868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook Ads Api Getting Leadgen Form Values How can i get LeadgenForm values with in time range.
LeadgenForm form = new LeadgenForm(FormID);
Dictionary<string, object> parameters = new Dictionary<string, object>();
parameters.Add("date_preset", "today");
object x = form.GetLeads(null, parameters);
I 'am using F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49152356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.