text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Selenium.PhantomJS is invalid namespace I am really trying my best to find a way to web scrape a website using javascript to load the pages so I can scrape lets say my playlist for example. I have had no luck with chrome driver nor phantomjs. Please have a look below and see if you can help me with the error.
using ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52442100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: float.TryParse not working I created program that calculates the currency exchange rate.
The program has:
*
*ComboboxCurrencyName - which displays the currency name.
*ComboCurrencyValue - which displays the value of a given currency.
*txtYourValue - textbox which gets from user the amount of money
*Button tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46207287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to import a single excel file/sheet with various Models (and sub-data/models) in Laravel? As per the title, I have a single excel file full of data (parent/child) in each row. The Laravel Excel site shows how to import, assuming a single model per row - but how does one import the child data?
https://laravel-exc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54130017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why we need to use T-SQL over SQL when creating reports from Data Warehouse? Can someone tell me why we need to use T-SQL over SQL when creating reports from Data Warehouse?
SQL also has functions and Joins but I see all of the online tutorials use T-SQL when creating reports from DW.
Can it be done with SQL? If T-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26672642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java Swing Drawn Shapes Disappearing I'm making a game of Connect 4 in Java using Swing painted Graphics.
The problem I'm having is that if I click a button under a designated column to add another tile to that column, the one underneath it disappears. Also, the color changes from red to yellow, but then stays yello... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37517767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using separate scales for each group in a grouped and stacked barplots in Altair I'd like to use separate scales for each group in a grouped and stacked barplot using Altair in Python.
So for example instead of the following
I'd like something similar to the following. In this (Gimp-)edited picture I have the same ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61492124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Selecting just one row that has max datetime SELECT v.DoorNo,v.NewDoorNo, v.GarageName, c.VersionDate, v.OperatorName as Operator, v.OperatorId, c.DeviceId, c.VehicleId, c.ProgramVersionNo,
c.ParameterFileVersionNo, c.TariffFileVersionNo, c.BlaclistFileVersionNo, c.LineNoFileVersionNo, c.Scree... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23006240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Good examples of implementing forms with client/server side validation in Django While Django makes it very easy to create simple HTML forms, I wonder if anyone could suggest good open-source Django projects with examples for implementing "modern-looking" forms with additional elements such as:
*
*disqus registra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9963370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How insert an image in footer of excel document with phpspreadsheet I'm trying to insert dinamically an image in the footer of an Xlsx document, using PHPSpreadsheet library.
I tried to modify the sample of documentation, but nothing appears when I print the doc.
$inputFileName = './tpl1.xlsx';
$spreadsheet = \PhpO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56758044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create slanting text using paint in xamarin android? I want to implement a slanting text in repeat over an image.But I don't know how to implement it. I have attached the sample image.Can any one help me with this?
A: You could create a custom view and draw the text on canvas. Here is a sample.
Custom view:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52734679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Custom segue to a navigation controller I am using a custom segue to slide my views over. The custom subclass works fine whenever it moves from a view controller to a view controller, but it crashes when I try to move from a view controller to a navigation controller. (It carries over the previous navigation bar and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50893641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Push Notification in Android App through GCM I am new to android app development. Right now I am developing a simple application in which user can upload the data to the MySQL server through PHP scripts. I am successfully able to do that. But I want that whenever a user uploaded some data to server from his app then... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34563280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Navigate to a specific page in a specific tab Flutter I am quite new to flutter and I am trying to implement navigation between different tabs.
I am using a CupertinoTabView because I need a parallel navigators and a specific history for each tab in my bottom bar.
My question is whether it is possible to switch from... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62891947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jenkins job on two slaves? We need to be able to run a Jenkins job that consumes two slaves. (Or, two jobs, if we can guarantee that they run at the same time, and it's possible for at least one to know what the other is.) The situation is that we have a heavy weight application that we need to run tests against. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21418480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Cast a Swift struct to UnsafeMutablePointer Is there a way to cast a Swift struct's address to a void UnsafeMutablePointer?
I tried this without success:
struct TheStruct {
var a:Int = 0
}
var myStruct = TheStruct()
var address = UnsafeMutablePointer<Void>(&myStruct)
Thanks!
EDIT: the context
I am actually t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29556610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: ngrok command not found and is already on /usr/local/bin I'm trying to install ngrok on my mac. Here is what I have done so far.
*
*Downloaded ngrok from here https://ngrok.com/download.
*Unziped the file and copied the Unix Executable File into /usr/local/bin like many other questions and answers suggested.
Now... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63299018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: If statement to show toast or continue to next activity Not getting any errors im just stumped on this friggin if statement. I want the if statement to basically say if a check box is not checked and 3 EditTexts are empty then print a toast. Otherwise dont print the toast and continue to the next activity. First I t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27118831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is wrong in this 2 query's please This is a query I want to do in Swift with Firestore Database.
I spend a lot of time to make this code work. In debugger when it arrived in the first db.collection line the debugger jump to the second db.collection line without process the code between. After processing the 2. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64285676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get access to StateNotifier state in HookWidget? We can create a StateNotifierProvider like this:
final provider = StateNotifierProvider((ref) => CounterNotifier());
To access provider in HookWidget, we can use useProvider like this:
final counterModel = useProvider(provider);
But how to get state? The bel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67152281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Building a Chat application using Server sent Event and node.js I am new to node.js and SSE.
I want to create a chat application using SSE and node.js.
can any one guide which is better SSE or websocket?
Is there any polyfill for IE using js not php for IE7+
Please suggest.
Thanks in advance.
A: If the client will ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14555837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Tomcat error when referencing component link: attribute pageURI is mandatory Currently my pages are returning errors since I've begun implementing XPM into are JSP environment. The component links seems to be the problem here. It was working fine several days ago, now we continiously get these Tomcat errors:
SEVERE:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14810369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to replace multiple identical lines in a file using Ansible I have a log rotate:
/var/log/pgsql/*.csv {
missingok
copytruncate
notifempty
rotate 1
compress
hourly
size 25M
create 0644 postgres postgres
}
/var/log/pgsql/*.log {
missingok
copytruncate
notifempty
rotate 1
compress
hourl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67660019",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to change the value of dictionary during looping How do I modify a value in Dictionary? I want to reassign a value to a value in my dictionary while looping on my dictionary like this:
for (int i = 0; i < dtParams.Count; i++)
{
dtParams.Values.ElementAt(i).Replace("'", "''");
}
where dtParams is my Dictiona... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4388396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: NServiceBus : Identity context in outgoing message mutators NServiceBus 4.4.0
Hi !
I use message mutators for impersonification purpose. Basicaly, I serialize the ClaimsPrincipal.Identity in a JWT token in the outgoing mutator and deserialize it in the incoming mutator to add it to the principal of the NServiceBus h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32464173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MapView not showing Blue Dot Current Location In my iphone app I am using MKMapview to show locations,for the first time it showing current location with a blue dot.But if drag away in map and click the current location button it doesnt show the blue dot(but I am able to return the current location region)
-(IBActio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14979879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Merging two PySpark DataFrame's gives unexpected results I have two PySpark DataFrames (NOT pandas):
df1 =
+----------+--------------+-----------+---------+
|pk |num_id |num_pk |qty_users|
+----------+--------------+-----------+---------+
| 63479840| 12556940| 298620| ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46980635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: read file descriptor multiple times I just dont understand what is wrong with my code, The goal is to encrypt one file using other file as a key using bitwise xor. It works, the problem is that the while is executed only one time and thats not enough. The if statement in the while is in case the key is shorter than ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22156853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Wordpress Single Sign On Client free plugin to authenticate users against external OAuth2 server I'm working on a project for a client who has their own OAuth2 SSO authentication server they use on multiple different apps.
Previously their Wordpress website was password-protected (in order to access it they used the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65735182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Building Sencha Touch 2 login system I am trying to build a multi log in system using Sencha Touch 2, were the user have to select if he is an AGENT OR FOLLOWER. so far i have been able to come up with a simple log in form. with no function. my code is just like this:
Ext.define("ikhlas.view.login", {
extend: 'Ext... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10699071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating a progressbar timeline for an online course I'm creating an online course and I would like to create a horizontal progressbar-style timeline, that monitors the progress of the course and automatically displays the progress based on the current date.
Let's say for example that the course has the following e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28011913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JSON Parse error: Unrecognized token '<' React native Code so far :
fetch('http:/example.com',{
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
Id: this.state.TextInputId
})
}).then((resp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55020034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Limit filter inside scope of include filter not working in loopback I have two tables, 'categoryinfo' and 'accounttag'.
The two tales have the following relation:
categoryinfo hasMany accounttag
accounttag belongsTo categoryinfo
I want to apply limit on:
*
*the number of categories (set to 5) and
*number of acc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47653295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to write TypeScript and CoffeeScript in Brackets? I want to write TypeScript and CoffeeScript in the Brackets code editor, but I am having difficulties. How do I compile it to vanilla js? How to refer it in the html page?
A: For TypeScript
intellisence / syntax highlighting / live error checking
You need the br... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24507965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: PHP Session - Values Randomly NOT Being Written I am building a site that combines ajax and PHP to create dynamic forms that load/validate/submit in-page. I am using a combination of PHP session variables with custom handlers, $.post, and $().load to accomplish this. I build my forms in individual php pages (they ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12576886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Replacing Strings in Oracle 8i Query I've got a table like this in ORACLE 8i
Value | Timestamp
KKQ | 10:00
KVKK | 11:00
KMPE | 12:00
PPKKPE | 13:00
and I need to replace KV for V, KM for M, PE for R ,PP for N and P for L when querying these values.
What's the best way to do it? The problem I see is that we ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22531023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting ANR dialog while starting a service in Android Lollipop I'm using a service to to play radio, when the app is running in the background. My app contains 4 radio channels. So I have used a viewpager. When i swipe slowly, my app responds properly. But when I swipe quickly, my app is not responding & I'm getti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28402717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CommandBinding: CustomCommand-Class is not found I am about to learn CommandBindings in WPF, but somehow I cannot create custom commands.
Following error is shown: (XDG0008) The name "CustomCommands" does not exist in the namespace "clr-namespace:CommandBindingWPF"
<Window.CommandBindings>
<CommandBinding Comman... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69129705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Psycopg2: cursor.execute is not working properly So, I have the following code that inserts the data of an old database to a new one:
...
cur_old.execute("""SELECT DISTINCT module FROM all_students_users_log_course266""")
module_rows = cur_old.fetchall()
for row in module_rows:
cur_new.execute("""INSERT INT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36464592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Hibernate C3P0 pool mechanism I am using Hibernate with my web application.
And used C3P0 connection pooling mechanism for it.
My configuration is as bellow, To check if it's working properly or not, I put max_size and min_size to 0. I think ideally if it's 0 then it should not give me any connection and should thro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17319868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creat matrix numbers from 1 to 64 with only one loop how can I do that? I want to create a method with signature:
void InitMatrixLinear(int[,] matrix)
but with only one loop I don't wanna create the same photo with two loops I need to make the same photo with only one loop how can I create this?
Like this I want t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60179066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get the contourf handler from matplotlib? I was wondering how to get the contourf handler from an axes within matplotlib. From the codes and outputs below you can easily find that im is matplotlib.contour.QuadContourSet but no such kind of thing in ax.get_children(). I know I can obtain im by assigning operat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60284637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring Cloud Config Server Not Refreshing I'm setting up a Spring cloud server to read of an internal Stash directory.
The server loads up ok the first time, but if I update properties in git, they don't get reflected until I restart cloud server (I try POST to /refresh endpoint).
I'm on Windows and I see a few bugs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32364240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Cannot log in with Keycloak using OIDC Plugin for Moodle I'm trying to improve the moodle login through Keycloak service.
I installed this plugin (https://moodle.org/plugins/auth_oidc) on my local instance and after the installation I started to compile all the fields.
The plugin provides a button in the login page ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49492917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Sync Hub and Spoke model with SQL Server Express on server and clients I have been researching on how to sync clients SQL Server Express to a central SQL Server Express. At first I looked at Replication but the only issue is that replication is not supported if the central server is SQL Server 2008 Express.
I had to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11703665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Read an image file asynchronously I would like to read an image file asynchronously and Im trying to achieve that using async/await from C#. However, I still notice a significant lag with this implementation. Using the profiler I'm pretty confident it is it the FileStream.ReadAsync() method that takes ages to comple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52357990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Javascript (JQuery) does not fill content into the textarea when form submitting
Possible Duplicate:
Textarea content is not included in $_POST array sometimes, but is at other times.
I have a form which is sent by POST, in it I have a textarea. Here is the code
<textarea name="content" id="default" class="admin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12248033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: calling out to rbenv gemset On a server I want to install a series of gems that got uploaded into a newly created gemset. This installation should be done from a resque worker.
The purpose of creating the gemset is to execute some of the gems that got uploaded in an environment similar to the users machine.
I don't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12042553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Automate some web site steps I am looking into the automation of a specific procedure. The purpose of the procedure is to update Microsoft Ads IP exclusion rules from data on another website. At the high level it involves the following steps:
*
*Browse to a website (Clickcease.com)
*Login to the webiste
*A coupl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74368269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring (Websockets / REST / Security), JWT and Sockjs (Stomp) integration I'm developing a project and trying to integrate:
*
*Spring Security
*Spring Websockets
*Spring REST
*Sockjs & Stomp (Angular2)
I tried through google/spring docs/jwt examples and I cannot find anywhere a nicely explained and working (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43104475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to find a pattern among several different lines using python I have three lines like below - what I want to do is to print found if at least 5 characters of the last 15 characters in the upper line have | character under themselves (meaning these characters bind to the characters in the third line)
5' TCAGA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67557034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Object matching query does not exist i have a problem:
DoesNotExist at /products//
Product matching query does not exist.
Request Method: GET
Django Version: 1.4
Exception Type: DoesNotExist
Exception Value:
Product matching query does not exist.
Exception Location: /Library/Python/2.7/site-packages/Django-1.4-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11519938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Kubernetes - Use secrets on pre-install job On my helm chart I have a job with the pre-install hook where I need to use a property from my secrets. However when I try to install my helm chart I get the following error on my pre-install job:
Error: secret "SecretsFileName" not found
Secrets aren't created before th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59423084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: query to fetch multiple row data in Columns format - postgresql I have table structure like this: Table - contact_details
role email userId
Primary Contact [email protected] 1
Secondary Contact [email protected] 1
End User [email protected] 1
Primary Contact [email protected] 2
Second... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67916734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to fix PDF form displaying as unfilled in preview but filled when opened I am attempting to fill PDF forms programmatically with PDFSharp but am running into an odd problem. After filling the fields in the document replacing their default values I save and email the PDF. When I view the PDF as a preview like in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62796160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I get column names from PDOStatement? I've recently built a class for automatic paging and ordering of query results, that works with PDO.
Here's how I retrieve the data from a MySQL table:
$this->query = "SELECT _id, name, price, creationDate, isPublished FROM fruits";
$this->fetch_type = PDO::FETCH_ASSOC;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10799062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Durandal - hide section of page depending on url or route In my durandal app every page except the home page has a left navbar. This left navbar should be update on refresh, though it should reside on shell.html.
The problem is that i'm not being able to hide it properly on the home page. I can use jquery hide() met... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28727478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Overloaded method filter I have an exercise where I have to find first >=0 element which IS NOT in the Set.
My plan was to firstly: filter the negative numbers from the set, then to make pairs by sliding, then to add the difference to the tuple (if it's 1, I know that there isn't any Int element which is not in Set ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67246432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: dynamically set params are not posted using httpClient in angular 5 I am using angular 5 and am trying to post some data to an api. Following is what I have done so far:
This code works perfectly:
var params = new HttpParams()
.set('addresses[0][latitude]', 90.64318211857652)
.set('addresses[0][longitude]', 30.8... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48802947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to perform model.objects.get(**kwargs) with case insensitive I would like to get an instance of one of my Django models by using dictionary in an insensitive case way. For the moment I'm using:
my_model.objects.get(**dictionary)
But I don't get the instance if there is a difference of lower / upper case between ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54485812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Read InputStream and Write to a File This is related to my previous question - DataInputStream giving java.io.EOFException
In that Client-Server app there is method to retrieve file sent from server and save to a file.
Client.java -
public void receiveFile(InputStream is, String fileName) throws Exception {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23184166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Underscorejs removing unwanted spaces for logic part I have an Underscore template which has if/else conditions
PROBLEM :
Underscore is inserting unwanted spaces for the logic part.
The result of the generated HTML when else condition is satisfied is
<a>NAME</a>
<a class="name" href="/kkk/213">kkkkkkkk</a>Sir
b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13169885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Import OpenLDAP directory into OSX Open Directory We run a bunch of Macbook Pros and Airs at work, as well as a few Windows 7 boxes and some Ubuntu workstations. We use OpenLDAP for the Linux and Windows boxes, but all the Apple users have local accounts on their individual machines.
I've been mucking about with Ope... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23414822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using GQuery in GWT widgets I am using the GWT application widget library and want to validate the controls in the button click event.The code I am writing
GQuery input = $(e).filter("input[type='password']").widgets();
but its is giving me compile time error.Please tell me or refer me any tutorial for validating... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6147791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Nokia Asha SDK: Glitch in List component when used with TextField on the same Form I'm a bit stuck with strange behaviour of List component in Asha SDK. What I'm doing is using TextField and List on the same form. Just a TextField and a List on BoxLayout, with no relationship. The problem is - focusing on TextField ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19836630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: StringByAppendingPathComponent() and WriteToFile() I'm trying to learn Swift 3 with translating a code from Swift 2. In swift 2, I see the code like this:
return fullPath.stringByAppendingPathComponent(name)
But, when I try in Swift 3, I've got similiar code, but like this:
return fullPath.strings(byAppendingPaths:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38231281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Bluetooth LE active scanning causes connection problems on other machine I am having a problem where BLE active scanning on one machine causes connection problems on another machine. I was wounder if anyone could explain why, and offer any suggestions on how to fix.
I have broken down a rough version of my what my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36699551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Add Dynamic table rows to table layout in android together with textwatcher I try to Add new Table rows into TableLayout in my android app. I successfully added new table rows with multiple edittexts, by following an android tutorial. Now what I try to do is, I need to get user values for those edittexts using Text... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46196784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ruby on Rails - Why is Materialize.updateTextFields not a function? I have a Ruby on Rails project that uses the material-saas gem. I recently noticed that text field animations have stopped working. More specifically, when a text field is active, the label does not move up on the page and whatever the user types in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43302732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to use a php code both for ajax and http requests? I have some classes and methods which are containing some php codes. Now I want to use those PHPcodes both for ajax and http requests. How?
Should I write all my PHP codes twice? onetime for ajax requests and one time for http request?
Here is my currect structu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34245711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GLFW triangle will not change color I've been following a short youtube tutorial on how to make basic graphics with glfw. I cannot get my triangle to change color help me.
main code:
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <fstream>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
std::strin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38583762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Minimalist Sphere Impostor -- computing sphere radius in zdepth I'm trying to code up a fast and minimalist sphere impostor-- the sphere doesn't need to be shaded or do anything but correct gl_FragDepth.
I have some code that's very close to working... cutting out everything but the key code:
vertex shader:
out_XYZ=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74210329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firefox profile is throwing a Selenium WebDriverException since I updated to Firefox 63 I have been using the following Selenium code to open a fresh Firefox profile.
FirefoxProfile profile = new FirefoxProfile(new File("profile file path"));
FirefoxOptions firefoxOptions = new FirefoxOptions();
firefox... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52997403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: NoClassDefFoundError for aurora.jar I am trying to execute next:
C:\dev\sources\boSchedules\loadJavaLibs>java -cp aurora.jar; ojdbc6.jar
oracle.aurora.server.tools.loadjava.LoadJavaMain -thin -user login/pass@myserv:mysid
%BOS_SRC%/credit/card/api/ScheduleCardApi
And I get next:
Exception in thread "main" java.la... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15683790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can phone use host network when debugging on device via Eclipse/ADB? I have a Android phone connected with host computer with USB cable. ADB runs well and I can debug application on phone. The only problem is that the App requires special network setup which I can reach on host but not mobile. Is there a way to let ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3192921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Reactive redirection using go_router and flutter_bloc What would be the best way to somehow implement a reactive redirection using bloc states? Currently I'm doing redirection like this:
router.dart
final router = GoRouter(
routes: [
GoRoute(
name: OnBoardingPage.name,
path: '/',
builder: (co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75522668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to receive response from an HTTPS site (PYTHON) I would like to know how do I connect and receive a response from a website that uses HTTPS I believe I have to use ssl but I do not know how?
import socket
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client.connect(("www.netflix.com", 443))
client... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49185784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: convert mysql dump file to access db I have mysql dump file and I need to convert it to ms access, I have no access to phpmyadmin so I can't use the programs that connect to the mysql db, so I need for a software to convert mysql dump file to ms access db.
just i have this dump file in hand
thanks if you can help
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7620566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to share a branch to anyone else in the team without committing it in GIT ? Consider that i am working on a branch and made some changes and need some help from my friend and want to send the branch to him without committing it.
is it possible?
Considering that i am working on the main development b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46335852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to determine if a user purchased an App I was wondering how can I determine though code, if a user did buy our App through the Windows Store.
Because we have a payed App, and I found it for download on eg. FileDir as an .xap file. Fully working.
We are not working with in-app purchases or trial version, you have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22806113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Syntax errors in if/else statement I am very new to c# and while working on a basic program I am receiving this error(Error Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement) and cannot figure out why it is appearing.
if (pizzaDiameter >= 12 && pizzaDiameter < ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26205619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What does LockBits/UnlockBits do in c#? I have a method in c# that the only thing it does its LockBits, and then UnlockBits, and the images(input/output, transformed to byte arrays) are different. The one from output has less 100 and something bytes than the one from the input. This happens only with .jpg files. And... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59842615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: While generating Controller, "View Model "requires a primary key" error I have 3 tables, 1 has master data of students, 1 is a lookup table that links address and third is a table of family members names.
I wanted to create a page to input student details, their address and family members. So I created a View model... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54295826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to create file association with two program and making one default if both present? I have to create file association for an extension with two programmes and if both programmes A and B are present then choose program A to open the file. If only B is present then choose program B to open the file. If you can giv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2598830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Playframework - internationalization and routes I need two language versions of my web site which will be located in domainname/lang1/somecontroller and domainname/lang2/somecontroller urls. What architecture of routes file allow me to avoid of duplicating controllers declaration for every language?
A: * /{langua... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12076476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I recently installed tensorflow on python 3.7.5 on my system without any problem but I couldn't import it. Below is the error that it gives me import tensorflow
Traceback (most recent call last):
File "C:\Users\PETER\Anaconda3\envs\flaskenv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59042324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Property.ValueChangeListener - Cannot be resolved to a variable (Vaadin) I'm trying the tutorial available on vaadin's website and when I was setting the item selection on a table's row the tutorial suggests that I should add the following line to my table class.
addListener((Property.ValueChangeListener), app);
Be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13252526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a method to remove ArrayList elements from index x to index y As the title says, if I'm creating a method to remove a section of an ArrayList, how would I go about this.
If I have ArrayList<Character> se = {'a','b','c','d','e','f','g'}
and want to return only "abg"
I would call this method as such:
remove(2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36109503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: bash get the number of files and pass it to for loop I am trying to get the number of files with a certain pattern in a directory and then do a for loop starting from zero to that number.
number=`ls -d *pattern_* | wc -l`%3d
for i in {001.."$number"};do
# do something with $i
done
the problem is that my numbers a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43136464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: [email protected] requires a peer of [email protected] but none was installed I would like too install redux package. When i am using "npm install redux" i have warrning like this.
─ UNMET PEER DEPENDENCY [email protected] extraneous
├── [email protected] extraneous
├── [email protected] extraneous
├── gulp-watch-sa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63339060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PhpStorm highlighting Laravel blade incorrectly on Mac? Was ok on old PC tl;dr - My PhpStorm 10 is highlighting my blade code incorrectly: (see screenshot)
Screenshot sample of incorrect highlighting:
Please help me fix this?
I recently switched away from PC (PhpStorm 9) to Mac (PhpStorm 10.0.2).
I git cloned to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34487650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Retrieving viewport height of screen in mobile browsers with jquery I'm attempting to get the viewport height in mobile browsers WITHOUT the height of the browser bar but all of the solutions I've attempted have come up short.
What others have suggested is using the below, however it does not work for me. I still ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38665496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Select box options to write to new row in database - MySQL and PHP I have a form which currently has the following fields:
Name, Size, Template
There are two select boxes in this form for the fields 'Size' and 'Template'. I want the form to insert a new row if a user selects more than one option on the select box. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40036649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a python REPL for Google App Engine? The Clojure/Compojure people have a drop in repl for Google App Engine, do Python people have anything similar? I use the repl quite a bit in "vanilla" python development, and it would be really useful if I could use it in Google App Engine Python as well.
I have seen th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6208683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Dropdown Contents below Modal I'm having challenges with a dropdown list in my project. When I have it on a regular page it works just fine. When I have it in a modal the contents are behind the modal and can't be accessed.
I did some research and see I'm having problems with my z-index. However, I still can't get i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33373113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Specify Binding of DependencyProperty in UserControl itself Following up on my previous question (Change brushes based on ViewModel property)
In my UserControl I have have a DependencyObject. I want to bind that object to a property of my ViewModel. In this case a CarViewModel, property name is Status and returns an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33076560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Java and UML: Relationship between a LinkedList class and an Iterator Interface I have a few questions on UML relationships in Java.
The following classes and interfaces refer to classes and interfaces (either created or existing) in Java.
Setup:
Suppose I have a GenericLinkedList<T> implements Iterable<I> class (wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64200864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JQUERY AJAX - change class of $(this) in case of success I have a div. Inside that div I have multiple elements. Some elements have the class 'myClass'. I also have a button. When clicked, a foreach loop runs for each element that has the class myClass within the div. An ajaxCall is send for each element. The text c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10298756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What tool can I use to view the changes in an in-memory H2 database? I switched to using an in-memory H2 database for development. It works great, but I'm not able to see my changes as I make them.
This is their suggested list of tools: http://h2database.com/html/links.html#tools
I tried DB Visualizer and SQL Develo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11731978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Error when checking model target: expected predictions to have shape (None, 1000) but got array with shape (64, 2) Notebook so far: Notebook
I am trying to reshape the standard Keras VGG16 model to use for the classic cats vs dogs competition (Kaggle Cats vs Dogs)
I had to recreate the pop() and add() functions of t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41817519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Database design, wish list and its items I am creating a new database to manage wish lists.
Solution A:
Two tables,
*
*wish_list and
*wish_list_item
Solution B:
One table,
*
*wish_list_with_item
This would have a wish list item per column, so it will be many columns on this table.
Which is better?
A: So... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1407157",
"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.