title
stringlengths
13
150
body
stringlengths
749
64.2k
label
int64
0
3
token_count
int64
1.02k
28.5k
syntax error, unexpected =>, expecting end
<p>I'm trying to add an if statement to &quot;deliver&quot; action of fastlane.</p> <p>I use fastlane with bitrise and the problem I'm having is when I add the if statement to a working sentence it always throws this syntax error: &quot;syntax error, unexpected =&gt;, expecting end&quot;</p> <p>This is the code I have ...
3
4,307
Why doesn't it open when I click on my tabs?
<p>I only can see the tab which is I made active by default. But when I click on other tabs, I can't see anything. They just won't open. What's my mistake here? Need your help. I tried to find the solution on bootstrap documentation, but I didnt come across with something like this. By the way I am just learning bootst...
3
7,160
how to retrieve sector and industry for a list of tickers with python?
<p>I have a list of tickers (below: tick1) that comes from the Earnings Report. I would like to add the &quot;shortname&quot;, &quot;sector&quot; and the &quot;industry&quot; next to the ticker while creating a dataframe. Unfortunately, the columns are always shuffeling up a bit and they are not matched properly. for i...
3
1,184
Writing the contents of a single input stream concurrently to multiple output streams
<p>I'm trying to push the contents of a single input stream to multiple output streams obtained from tcp sockets. I didn't find any existing solution, so I built something from scratch but I really feel I'm reinventing the wheel. My requirements are:</p> <ul> <li>Java. Would be nice if it runs on Android as well, but ...
3
1,605
Counting first occurrences of a disease in R
<p>I am trying to count the first occurrence of a disease (say myocardial infarction (MI) "heart attack") but I am having a hard time implementing this in R (base or tidyverse). Any help is appreciated.</p> <p>Thank you all. This works great. I realize I wasn't clear in my example. These methods work great in general...
3
1,213
UIViewController being pushed down on screen when displayed using insertSubview
<p>Having a bit of a problem, here's the breakdown:</p> <p>My AppDelegate uses as it's rootViewController a view controller. This view controller's purpose is to swap a couple of other view controllers in and out, call it login and main screens. For the sake of simplicity I've removed any swapping code from the code t...
3
1,226
Converting for loop to function and applying to list of dataframes
<p>I previously created a for loop to identify periods when water level decreased. This worked fine for smaller continuous time series data.</p> <pre><code>library(tidyverse) library(lubridate) level_data &lt;- c(10:4, 20:9, 16:5, rep(0, 3)) times_stamp &lt;- seq(ymd_hms('2015-07-22 12:15:00'), ymd_hms('201...
3
1,717
Unhandled Exception: Bad state: field does not exist within the DocumentSnapshotPlatform (While it does exits on firestore)
<p>I'm writing a code in which I'm trying to login admin. And for that I created an Admin on FireStore ,not with code, but with the options that firestore provide. It's like first I made an admin on firestore then I wrote a code in which I'm trying to login that perticular admin by providing the same admin's id and pas...
3
4,043
Unable to use my LCD display with a PIC16
<p>Thanks for stopping by.</p> <p>I am trying to use my new Midas MC21605G12W LCD display, based on Hitachi HD44. I use a PIC16.</p> <p>I followed the datasheet thoroughly but couldn't make anything react. The display keeps showing light squares without a blink. No topic on the site could help me further.</p> <p>I i...
3
1,399
Randomly show firebase items
<p>I have different posts in my database</p> <p>This is the structure <a href="https://i.stack.imgur.com/S5iTJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S5iTJ.png" alt="enter image description here" /></a></p> <p>What I am trying to do is show the posts randomly every time the user enters, I ha...
3
1,361
Java Swing UI not showing up when run
<p>I do not know if this is a duplicate question but when I run my java swing GUI code nothing shows up even with all the visibility's set as true. I am new to java swing gui creation so any help would be greatly appreciated. here is my pages class</p> <pre><code>class Pages { public static void Welcome_Screen() { ...
3
1,957
DomDoc/SimpleXML/XSLT: parsing to add auto-incrementing id attributes to each unique element child of an element
<p>I have been troubleshooting this for a while, and I am kind of new to programming. Even when I find an error, it's very difficult to figure out how to correct it. Right now, I am trying to figure out how I have used xpath wrong because someone told me that I am using xpath wrong. I hope someone can give me a jump...
3
7,628
CUDA error: out of memory when using subprocess to launch multiple training process in Pytorch
<p>I am training some neural networks, and I have a script to search for hyperparameters. </p> <pre><code>"""Peform hyperparemeters search""" import argparse import os from subprocess import check_call import sys import numpy as np import utils PYTHON = sys.executable parser = argparse.ArgumentParser() parser.add_...
3
1,132
I am trying to show checkbox checked unchecked based on is active true false value from database in datatable but I am not able to do that
<p>I am trying to show checkbox checked unchecked from database value but I am not ablt to find any solution.Kindly help me in that.</p> <p>Below is the code I have tried</p> <pre><code>&lt;table class="table table-bordered table-striped" id="tblBrand"&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Br...
3
1,278
Looking for a faster way of searching for a property in a List of classes
<p>Below is the class I'm using to represent a tree structure, for displaying files and folders of a game's archive format. </p> <pre><code>public class DirNode : INotifyPropertyChanged { public String Name { get; set; } public int Index { get; private set; } public int FileIndex { get; private set; } ...
3
1,433
Encryption in Web service not giving the same result compared to the one on the main project
<p>I am trying to pass an encrypted string from my web service to my main project but when I am trying to perform decryption, it returns "Invalid length for a Base-64 char array or string." because the result of the encryption in my main project is not the same with the one in my web service but I'm just using the same...
3
1,323
Link aggregation and status of network interfaces in "ipadm" command
<p>I am again rephrasing the issue that we are facing:</p> <p>We are creating link aggregations [dlmp groups] with two interfaces named net0 &amp; net5:</p> <pre><code> # dladm create-aggr -m dlmp -l net0 -l net5 -l net2 aggr1 </code></pre> <p>Setting prob targets for aggr1:</p> <pre><code> # dladm set-linkprop...
3
1,104
Project compiles successfully, but I get exception about missing drawable
<p>I had my project running in Eclipse, I tried converting it to Android Studio. However, I also downloaded (via github) the latest HoloEverywhere library, and updated contrib/ with ActionBarSherlock library ( I use them both ).</p> <p>Everything compiles successfully, but when starting the first activity, I get the f...
3
1,252
Implicit conversion of lefthand argument in in-class declared friend operator
<p>I am using CRTP to provide template-argument dependent addition of functions to a class, in this case the addition of <code>operator +</code> and <code>operator +=</code>, using the template class <code>ImplAdd</code>. For the former, implicit conversions should be performed on both arguments, which means I have to ...
3
1,071
Apache 2 html auto formatter?
<p>Using perl 5.14 on Ubuntu 12.0.4 with Apache 2</p> <p>In some way or another, when looking to the source in the webbrowser, my printed source is not matching. Some html formatter is executed, I want to turn it off.</p> <p>Before I was using perl 5.6 with Apache and this issue did not occur.</p> <p>Even is Html is...
3
1,403
Why does req.body return null when I was use event.preventDefault() with fetch api, express, and node.js?
<p>I want to submit a form and then return an object from my MongoDB database without reloading the page. Therefore when I submit my form I use an event handler that prevents the default behavior of the form to reload the page. The problem is this is interfering with my server side script and causing <code>req.body</co...
3
2,117
How to show a response when filtering through a list of elements using javascript
<p>Hello I am creating an FAQ page that has to be filtered using javascript as below</p> <p><strong>Credit : <a href="https://makitweb.com/jquery-search-text-in-the-element-with-contains-selector/" rel="nofollow noreferrer">https://makitweb.com/jquery-search-text-in-the-element-with-contains-selector/</a></strong></p> ...
3
1,933
jqPivot is grouping column headers that do not belong to the group
<p>I am trying to utilize the column header group functionality of jqgrid's jqpivot to have two column headers (A header for day of the week, and another header for the actually date).</p> <pre><code> var crewAttendance = { "total": 1, "page": 0, "records": 7, "rows": [ { "ID": "1", "Use...
3
1,646
React Router Dom is not working only the route path is changing on the url but the components are not rendering and also i am using saleor framework
<p>here is the route page named as <strong>Approutes.tsx</strong></p> <pre><code>import { BrowserRouter as Router,Route, Switch } from &quot;react-router-dom&quot;; import Test1 from &quot;../../components/Test/Test1&quot;; import About from &quot;../../components/About/About&quot;; export const Routes: React.FC = (...
3
1,554
No such host is known.(calling weatherAPI from webapi controller using HttpClient)
<p>I am trying to call the openWeatherApi from asp.net WebAPI. When I receive the name of a city from front-end, I use that to lookup the city/airport from the database. Then, I use the lat and long of the airport to call the openweather API. I want to use the response to make further calculations and predictions.</p> ...
3
1,036
The foreign key component 'RoleId' is not a declared property on type 'ApplicationUserRole'
<p>1.Here is the model creating function</p> <pre><code> protected override void OnModelCreating(System.Data.Entity.DbModelBuilder modelBuilder) { modelBuilder.HasDefaultSchema("TEST"); modelBuilder.Entity&lt;ApplicationUserLogin&gt;().Map(c =&gt; { c.ToTable("UserLogin"); ...
3
1,822
PysimpleGui window gets rescaled to smaller size when i recall the function in which pysimpleGUI is present
<p>I am creating an app in which i want display data in tabular format i created a GUI windows that displays the data properly but whenever i recall the same function or any other GUI function my GUI window Gets Resized/Rescaled to a smaller size</p> <pre><code>def tableGUIP(file): data = [] header_list = [] ...
3
1,167
problem building VTK-9.2.0.rc1 with cmake version 3.23.2
<p>Hello i'm totally new to VTK and cmake, i'm trying to build VTK with make command (on linux) but I got a mysterious error. Any help is welcome.</p> <pre><code>[ 90%] Building CXX object ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_ParallelUtils.C.o /home/common/toolkits/VTK-9.2.0.rc1/ThirdParty/ioss/vtkioss/Ioss...
3
1,211
Dynamically created array by html objects - asynchronous
<p>I need to output an array of html objects. My function which handles output works asynchronously. I understand in async programming it can be that the last element is showed only of the loop.</p> <p>My tries was a wrapping the code into other closures but it outputs nothing.</p> <pre><code>let run = () =&gt; { l...
3
2,634
Emberjs classBinding not working on a link-to
<p>I'm using the <code>link-to</code> helper to provide some movement around my application, as usual. I'm trying to use the <code>classBinding</code> property to assign a CSS class, <code>hide</code>, to a link. It's not working, and I'm not sure if it's because I'm misunderstanding context, or what, really.</p> <p...
3
1,355
Using own jackson versions in Flink causes VerifyError
<p>I'm using Apache Flink (v1.11) with Scala and added an own DeserializationSchema for Kafka connector. Therefore i would like to use my own packages and versions of jackson (v2.12.0).</p> <p>But i got the following error:</p> <pre><code>Exception in thread &quot;main&quot; java.lang.VerifyError: Cannot inherit from f...
3
1,834
Check point in two polygon (code improvement)
<p>Question: I want to improve my code to get <code>ID</code> of cars <strong>started</strong> and <strong>ended</strong> between given 2 zones of the city.</p> <p>I have:</p> <ol> <li><p>`.csv file containing city zones like this:</p> <pre><code>borders = zone longitude latitude multi 12 3.5248 22.0952 MULTI...
3
1,995
Questions about MPI Non-blocking details based on standard
<p>So more recently, I have been developing some asynchronous algorithms in my research. I was doing some parallel performance studies and I have been suspicious that I am not properly understanding some details about the various non-blocking MPI functions.</p> <p>I've seen some insightful posts on here, namely:</p> ...
3
1,509
How to loop through rows and populate columns using data from database in HTML and Django
<p>I am having a problem where the data I am trying to input into a table is not showing properly. I believe my queries are correct since they return the right information when I test them but when I try to print them to the table they print out wrong.</p> <p><a href="https://imgur.com/a/5u9jQW2" rel="nofollow norefer...
3
1,807
Checking json and displaying only available data
<p>I'm working on a simple website that is using a json to get data. </p> <p>The code looks like this:</p> <p>Index:</p> <pre><code>&lt;head&gt; &lt;meta charset="utf-8" /&gt; &lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /&gt; &lt;meta name="apple-mobile-web-app-capable" content="yes"...
3
7,799
DB Connection are not released while running the Spring+Eclipse Link jpa application
<p>Below are persistence.xml configurations.</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/...
3
2,554
Accessing Dictionary objects From Web Service returning SIGABRT
<p>I have a table view in which each cell I'd like to have data populated in them from the web service. Each cell is supposed to display the name of the object, the price, and the brand name. I can get the name fine, but the price and brand name aren't coming as easy. I checked the web service and it DOES have prices ...
3
1,389
Unable to plot histogram in pycharm, works fine in terminal
<p>I do exactly the same thing in both macOS terminal and pycharm console:</p> <pre><code>&gt;&gt;&gt; import matplotlib.pyplot as plt &gt;&gt;&gt; plt.hist([-94, -89, 88, 55, 45, 44, 43, 42, 1]) 2022-05-02 14:04:31.849 Python[2353:66317] ApplePersistenceIgnoreState: Existing state will not be touched. New state will b...
3
2,034
Truly responsive content column with sidebar without media queries
<p>I am trying to make a responsive basic layout with a content-box (which has 3 columns) and a sidebar. The current problem I have is defining a margin on when the sidebar is on the right side and when the sidebar goes under the grid. Currently, I have no margin, but I would like to have 20px (for example) margin when...
3
1,257
Setter and Getter returns null to get name, email, profile pic, and id from Facebook Login
<p>So I plan to store the info from loging in facebook to a getter and setter so that i could post it could be posted in my Firebase database from BroadcastFragment.java. What I dont understand is why it always return null. Is where/how I put my setter in FacebookLogin.java wrong? Is there something wrong with my Use...
3
5,023
form submits even when validation fails
<p>I really don't understand what's going on with the <code>input[type="file"]</code> fields.</p> <pre><code>&lt;form class="container formContainer" id="needValidation" name="Info" method="post" enctype="multipart/form-data" novalidate&gt; &lt;div class="form-group"&gt; &lt;p class="labelText"&gt;Document...
3
1,162
Document Visibility works, but Sender can't see one of the documents
<p>I'm using a composite template with Document Visibility enabled. </p> <p><a href="https://i.stack.imgur.com/1hQyG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1hQyG.png" alt="enter image description here"></a></p> <p>Signers are correctly excluded from documents they don't have tabs on, or ca...
3
1,916
JavaScript to parse XML
<p>I want to read xml file using java script, the xml contains below code.</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;?mso-infoPathSolution solutionVersion="1.0.0.386" productVersion="12.0.0" PIVersion="1.0.0.0" href="http://sites/Software_Release/DatastageReleaseRequests/Datastage%20Release%20Requ...
3
1,291
Is there Any way that the HREF can popup this?
<p>When this code pops up as a form it works well, but when I press &quot;Don't have an Account..&quot; it redirects to the Parent Directory.</p> <p>Can someone help?</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-...
3
1,170
MySQL_Query error in PHP script
<p>The goal is that I would like to cycle through ALL of the .CSV files in my directory and run this script for each file so it appends the data into the DB. The issue stems from when I insert the loop below. I have compiled a PHP script that works perfectly when it comes to reading a SINGLE .CSV file into my MySQL DB....
3
1,371
'this' does not work properly in another event. I'm clueless as to why
<p>Short story, I don't know why it's not working, I've tried Console.Log() to figure out what 'this' is and the event just keeps passing window. It's a click event that's suppose to activate effects on a certain figure in this carousel, which is why I can't just individually search for class (at least to my knowledge)...
3
1,841
Get the site to scale down when top banner expands
<p>I got a banner at the top of my website that contains some contact information. When a user clicks on the bar, the bar expands and shows it's contents. But the expanded div is displayed over the website, is it possible for the site to scale with the div? So that the top of the site begins under the expanded div.</p>...
3
1,692
Using useRef to assign focus to an element that conditionally exists
<p>I am having some trouble trying to implement this functionality which creates an input field component upon clicking a button, and then assigning focus to the input field as well. I am getting an error saying that inputRef.current is undefined, and am not sure how to proceed.</p> <pre><code>export default function P...
3
1,311
Display the register form instead of a login form
<p>I'm using a Shopify theme called Basal. At the top of my site there is a login/register link. When you press the "login/register" link the login widget pops out from the side (ex: <a href="https://new-basel2.myshopify.com/?key=f7fb74c55f142b94a98cab2918807f42f8f3e861bf52cd098b74bd9d13416020" rel="nofollow noreferrer...
3
6,027
Can't use FormData in UI material forms to fetch form field values
<p>I am just trying to post data from my UI-material form into backend.</p> <p>I am using react hooks here.</p> <p>Below is code that i am trying to do using simple fetch.</p> <pre><code> const [name, setName] = useState (''); const [email_id, setEmail] = useState (''); const [subject, setSubject] = useState ('');...
3
1,124
Linking to local subdomains
<p>I made a nav bar for my website that has three pages, all in the same directory.</p> <ol> <li><p><code>index.php</code> has 2 sections: <code>#donate</code> and <code>#info</code>.</p> </li> <li><p><code>quiz.html</code> is just one page.</p> </li> <li><p><code>contact.html</code> is just one page.</p> <p>On <code>i...
3
1,887
MySQL query using limit and offset does not return expected ordered results
<p>I am trying to get the count of entries by users grouped by year, month and user name from a table which has 45M entries. The query result has around 4M records which I wasn't able to get in one go so I decided to use limit and offset.</p> <p>To retrieve the first 1M records I've written the query below:</p> <pre cl...
3
3,113
How to reload/update a template of a component in Angular using MatDialogRef
<p>I have a user management component (gestion-usuarios) that displays a list with all users. Within this component there is a button to add a new user. Clicking on this button opens a modal (a new component,nuevo-usuario-modal)with a form that fills it out and clicking on a save button that has the modal passes that n...
3
3,005
React app reload when it shouldn`t be
<p>I wrote a small app. On the left side of screen, it displays a list from <code>getInitialState</code> of some item one by one and on the right we have a form to add a new item to this list. First, when we type some text in input it add this text to object in <code>getInitialState</code>. Then, user clicks "Add item"...
3
3,922
Why are these two objects null?
<p>I'm writing an Android app and two buttons ("btnGPSShowLocation" and "button") that I am using are null. I've instantiated them both so I don't know why they are null. Here is my code:</p> <pre><code>public class AndroidLocationActivity extends Activity { Button btnGPSShowLocation; Button button; AppLocationServ...
3
4,186
Why didn't std::for_each + lambda work as expected?
<p>It's an exercise from <em>C++ Primer 5th Edition</em>:</p> <blockquote> <p>Exercise 14.7: Define an output operator for you <strong>String</strong> class you wrote for the exercises in § 13.5 (p. 531).(Page 558)</p> </blockquote> <p>The <code>string.h</code> I wrote for previous exercises:</p> <pre><code>/** ...
3
1,135
Error with avro schema: TypeError: unhashable type: 'dict' Avro Schema
<p>An error occurs while processing the schema, I can not understand what the problem is. Where am I making a mistake?</p> <p>I have this schema:</p> <pre><code>my_schema = &quot;&quot;&quot; { &quot;name&quot;: &quot;MyClass&quot;, &quot;type&quot;: &quot;record&quot;, &quot;namespace&quot;...
3
2,759
How can I resolve .NET Core with EF Core required field error?
<p>I have a .NET Core (6.0.1) API that was constructed using DB first method with EF Core (6.0.1). Whenever I try to POST to a specific entity, I am getting a &quot;field is required&quot; error for one of the navigation properties in the entity. I have several other entities structured in a similar way that seem to be...
3
1,121
How to simulate text selection behavior on SVG
<p>I have the following svg element, and I'd like to allow the user to select paths on mouse click and drag just as if they're interacting with a normal text.</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-html lan...
3
2,981
spring mvc project does not return jsp page HTTP Status 404
<p>Lauching my app leads to: <strong>Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists..</strong> I'm using tomcat 9.0;</p> <p>Web.xml :</p> <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;web-app xmlns:xsi="http://...
3
3,145
Huxtable: quick_xlsx does not display data after export
<p>I was successfully using <code>quick_xlsx</code> from <code>Huxtable</code> so far. With the code below, when I opened the exported Excel file, it shows no data and the file started with column G, excluding the mtcars columns.</p> <pre><code>library(huxtable) library(dplyr) data(mtcars) car_ht &lt;- as_hux(mtcars)...
3
1,218
req.user not being sent to react
<p>so i have a route where i get a decision from mongoose but i also want to json res the logged in userId . I can't get this value to res.data on react even if i see it on postman</p> <pre><code>// postman test example localhost:8000/api/decision/decisionCode/k65gy server.get("/api/decision/decisionCode/:decisionCode...
3
1,526
Generating and Solving Simultaneous ODE's in Python
<p>I'm relatively new to Python, and am encountering some issues in writing a piece of code that generates and then solves a system of differential equations. </p> <p>My approach to doing this was to create a set of variables and coefficients, <em>(x0, x1, ..., xn)</em> and <em>(c0, c1 ,..., cn)</em> repsectively, in ...
3
1,274
Using an Index to For Loop Through Google Maps Geocode API
<p>I'm trying to take a javascript array of arrays named "markers" that stores the name and street address of places that I want to add as markers on a Google Map.</p> <pre><code>var markers = [['Name of Place', '123 1st Street New York, NY'], ['Place 2', '122 1st Street, New York, NY']]; </code></pre> <p>I have no p...
3
1,310
I can''t figure out how to use the comboBox to remove radiobuttons
<pre><code>import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.ButtonGroup; import javax.swing.JLabel; import javax.swing.JDesktopPane; import javax.swing.JRadioButton; import javax.swing.JComboBox; import java.awt.GridBagLayout; im...
3
6,865
Multiple MJPEG USB webcams on Linux - VideoCapture behaves differently within and outside a class
<p>I have 2 Logitech Pro 9000 webcams. I want to do some stereocalibration and pose estimation but I'm currently stuck on some weird (for me at least) behaviour on part of cv::VideoCapture. Note that this question is related to the one <a href="https://superuser.com/questions/431759/using-multiple-usb-webcams-in-linux"...
3
2,353
Is this a bug of iOS background location updates?
<p>I have created an app which uses location updates in the background.When it goes to background ,then i start one background Task that is timer to call startUpdatingLocation for every 30 seconds,another timer to call stopUpdatingLocation after startUpdatingLocation.I write a LogTool to record app info when it is in b...
3
2,337
EJuiDateTimePicker/CJuiDateTimePicker not working inside a CJuiDialog
<p>This seemed to be asked before but applying such answers did not gave me the solution. I have a create form which records the payments of the clients. It works just fine until I tried to transfer it inside a CJuiDialog in another view. In my create.php:</p> <pre><code>&lt;?php /* @var $this PaymentsController ...
3
2,069
Rails: form with :url specified can't be used as partial?
<p>Hi I'm trying to use a form as a partial for both the new/edit views of my <code>albums</code> controller/model. However, it's giving me the error when I try to edit the album:</p> <p><code>No route matches [PUT] "/users/22/albums"</code></p> <p>I think this might have to do with my form's <code>:url</code>. My fo...
3
1,066
Put the URL (prepended with the text "Parent_") for a particular Google Doc into that Google Doc's own header and footer
<h2>Overview</h2> <p>Essentially I want to be able to migrate my Google Docs to a <strong>regular website</strong> while maintaining the links I had created between my Google Docs.</p> <h2>A proposed solution</h2> <p>What do you think about having a Google Apps Script put the URL (prepended with the text &quot;Parent_&...
3
1,395
Flask RestX with nested collections and items
<p>I'm looking for advice on a design pattern for creating a REST API using Flask (with flask restx) handling multiple collections (&quot;hub&quot;) which each have items (&quot;nodes&quot;).</p> <p>Example: HubA will have N nodes it manages. HubB will have M nodes it manages. ... so on and so forth.</p> <p>I want to c...
3
1,379
Grails 1.3.3 and Functional Test plugin 1.2.7 issues
<p>Has anyone had any trouble getting Functional Test plugin working in Grails 1.3.3? I've used it in previous projects with no problem, but just tried installing it into my latest project with no luck.</p> <p>Installation seems to go fine. </p> <p>Running the script: grails create-functional-test XXXXX results in...
3
1,041
Check LAG and LEAD until NULL when condition is met BigQuery
<p>DISCLAIMER: I apologize myself if the expression of this problem is too complicated. I tried my best. I had a really rough idea of how to solve this so I append the code down below although it doesn't contribute to solve my problem. Thank you.</p> <p>I have a table like this:</p> <p><a href="https://i.stack.imgur.co...
3
1,050
css not calculating width correctly when children have percent assigned
<p>This is another css weirdness..</p> <p>Inline-block container will calculate width correctly when using px,vw,em etc. But not when using % measure.</p> <p><strong>percent :</strong> <a href="https://i.stack.imgur.com/saI0M.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/saI0M.jpg" alt="percent">...
3
1,142
java.lang.IllegalStateException: Failed to transform class
<pre><code>&lt;testcase time="0.593" classname="org.apache.maven.surefire.junit4.JUnit4Provider" name="facade.FacadeBeanTest"&gt; &lt;error message="Failed to transform class with name BusinessServiceImpl. Reason: NameKeyList" type="java.lang.IllegalStateException"&gt;java.lang.IllegalStateException: Failed to tran...
3
1,940
Trouble updating from Symfony 2.3 to 2.4
<p>Hello I have a really serious and not logic trouble. I am trying to update my project from Symfony2.3 to the version 2.4, but after at the moment that I run the composer update is everything ok, but like the project is with more people and is on a SVN server when someone more download the project this doesnt work an...
3
1,150
How to update an object's image in NSMutableArray?
<p>I am trying to set the image of the face down card to the image that the value of the card is. The method in KCCard, image:, returns the image of the card.</p> <pre><code>- (UIImage *)image:(BOOL)yesOrNo { if (!yesOrNo) { return [UIImage imageNamed:@"back-blue-150-3.png"]; } else { return [U...
3
1,078
Gluing objects imported to a modelsummary table
<p>This is a follow-up question from a previous one: <a href="https://stackoverflow.com/questions/69582118/extracting-information-from-r-objects-and-importing-it-to-a-modelsummary-table/69584159">Extracting information from R objects and importing it to a modelsummary table</a></p> <p>I would like to know how I could g...
3
1,460
My page is scrolling to right. Why is it happening?
<p>I'm building a web page and working in the layout for small screens (<code>max-width: 600px</code>). When the screen gets narrow, the page gets a bit of horizontal scroll, as you can see in the code snippet, but it is unexpected for me. I am not finding anything wider than the viewport's width in my code. Why is the...
3
3,421
VBA error 49 and error 424 when calling C# DLL from Access VBA using unmamagedexports
<p>In our environment our main application uses MS Access for a front-end. The back-ends are Access, MySQL and MariaDB. Some of the routines we need are only available in C# so we have to be able to call .NET dll routines from VBA. I did some testing with registered dlls (using RegASM) and it worked fine. However, for ...
3
1,287
Unable to invoke Spring MVC Controller
<p>I have tried a lot with multiple ways but could not invoke Spring Controller from my jsp page. Even simple string renderring is not working. So here is the background - </p> <p>I am running on Tomcat 9.0 M22 with Spring 4.3.9</p> <p>My test.jsp page is containing $greeting in the body part value of which i can ren...
3
1,093
I'm trying to add some <li> element, but the lists never appear
<p>I am trying to make a to do list app. I just finished input part, but I have a trouble with make a list. In my code, After the the part can not appear, there is no text after the header. I have tried change the code <code>&lt;div&gt;...&lt;/div&gt;</code> to <code>&lt;p&gt;...&lt;/p&gt;</code>, but it still does n...
3
1,497
Method not returning the desired result
<p>I have included a block of code below that I just cannot seem to figure out what I am doing wrong. The code is part of a program that I am writing that populates an array list with virtual gas station objects containing several explicit parameters; one of which is a "description" that is a String parameter being the...
3
1,419
need help understanding why searchQuery.value is undefined
<p>so i'm currently trying to build search icon on the header clickable where you're able to search for, in this case, pokemon names, however i keep getting a console error</p> <blockquote> <p>searchQuery.value undefined</p> </blockquote> <p>Not sure why because the code looks valid.</p> <p>Also, when you click on the ...
3
5,574
Rails: dynamic select on multistep form not keeping selected
<p>I am working on a multistep form for an order placement process following Ryan Bates's <a href="http://railscasts.com/episodes/217-multistep-forms?view=asciicast" rel="nofollow noreferrer">Multistep Tutorial #217</a> which uses a session. On the first step I have two select fields: one for countries (land) and a dyn...
3
4,186
zf3 translate route - translator not found
<p>I need to realize a multilanguage site. Than i need to use i18n and translator but I've some problem with route translator</p> <p>This is my module.config.php </p> <pre><code>{ return [ 'router' =&gt; [ 'router' =&gt; [ 'router_class' =&gt; TranslatorAwareTreeRouteStack::class,...
3
1,051
Keep DIV active after click on an accordion images
<p>I would like to replace the :hover to :active for an accordion visible in this codepen : <a href="https://codepen.io/ferry/pen/ZYVwxz" rel="nofollow noreferrer">https://codepen.io/ferry/pen/ZYVwxz</a></p> <p>The code of the page is : </p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true"...
3
3,170
Simple /etc/shadow Cracker
<p>I'm trying to get this shadow file cracker working but I keep getting a TypeError: integer required.</p> <p>I'm sure its the way I'm using the bytearray function. I've tried creating a new object with bytearray for the "word" and the "salt" however to no avail. So then I tried passing the bytearray constructor to t...
3
1,101
Kotlin bound callable references inconsistency
<p>Today I was creating unit tests for my Presenter in Android app and I noticed some inconsistency with bound callable references. Is it under development or is it language bug? I found <a href="https://stackoverflow.com/a/33805243/4643073">that</a> in kotlin 1.1 bound callable references are supported. But my code fa...
3
1,126
How detect Fading Edge in End or Start of ListView?
<p>I've tried so many posts here in <code>StackOverflow</code> but with no luck. My requirement is very simple. I have a <code>listView</code>. When scrolling the <code>listView</code>, I want to detect the <code>Fading Edge</code>, i.e. I want to show a Log massage when the fading edge will be visible. How can I dete...
3
1,203
Get continuous frames from camera filter when source filter stops sending?
<p><img src="https://i.stack.imgur.com/vweHs.jpg" alt="enter image description here" /></p> <p>Hi All,</p> <p>I have a transform filter which takes two inputs, one from camera and other from a file source. Inside my transform filter I am blending the inputs from two sources.</p> <p>Transform filter is derived from CTra...
3
2,527
exception in deploying simple richfaces application
<p>i am getting the following exception when deploying a simple richfaces application i am using glassfish 3.1.1 and have all the necessary jars in my classpath. Though the applicatioin deploys i can't figure out why this exception pops up.</p> <p>i have the following jars:</p> <pre><code>richfaces-core-api-4.2.2.Fin...
3
2,605
Make a fixed bar above the footer
<p>I'd like to make a fixed bar above the footer that says something like: "This site is in beta. Please send feedback to info@blah.com."</p> <p>I'm new to CSS and struggling with this.</p> <p>Here's my footer CSS:</p> <pre><code>#footer { min-height: 60px; padding-left: 20px; padding-right: 20px; background...
3
1,070
Incorrect syntax error on exec of a stored procedure
<p>I have a sproc that goes as follow:</p> <pre><code> ALTER PROCEDURE [dbo].[GetProjectPaymentSchedules] @StartDate datetime AS BEGIN IF @StartDate IS NULL BEGIN SET @StartDate = DateAdd(YY, -100, GetDate()) END -- create our variables DECLARE ...
3
1,346
Latest XGboost and Sklearn giving error
<pre><code>xgb=XGBClassifier(objective="binary:logistic", n_estimators=100, random_state=42, eval_metric=["auc"]) </code></pre> <h2> xgb.fit(X_train, y_train)</h2> <p>KeyError Traceback (most recent call last) ~/.pyenv/versions/3.7.4/envs/py3env/lib/python3.7/site-packages/IPython/...
3
1,779
Simple Banking Application in Visual Basic
<p>I hope that someone can point me in the right direction, as I am new to programming.</p> <p>I made a basic banking application. It displays a balance for the account, has a textbox for the user to enter the amount, and 2 buttons: one for depositing an amount into the account and one for withdrawing an amount. If th...
3
1,122
DCM4CHE, Network operations,Handling a C-Move call
<p>Hi I'm trying to make a PACS server using Java. dcm4che appears to be quite popular. But I'm unable to find any good examples about it.</p> <p>As a starting point I inspected dcmqrscp and it successfully stores a DICOM image. But I cannot manage to handle a C-MOVE call. Here's my CMove handler. It finds requested th...
3
2,133
Bootstrap 4 carousal not making image full width
<p>I am using bootstrap 4 and codeigniter and for some reason the bootstrap carousal width is not working. The image is squeezed smaller when in fact the image is 1140px width</p> <blockquote> <p>Question how can I get the image in bootstrap carousal to show it full width and height? I use codeigniter and bootstrap ...
3
1,619
Bound service not binding correctly
<p>I've looked all over the internet and cannot find a solution.</p> <p>I've found a few tutorials and my code seems to match up fine, including the android dev examples.</p> <p>The point of the app is to play multiple audio tracks at once, which I have done successfully and have no problem with. The problem arose wh...
3
11,184
Why would I be getting a t-string error?
<p>I am trying to process a cron job and keep getting a t-string error. I know this usually indicates a missing ; or } but I have double checked and triple checked. Any idea? The returned error is</p> <blockquote> <p>unexpected T_STRING in /.../wp-crm.php on line 40</p> </blockquote> <pre><code> &lt;?php /** Na...
3
1,834