text
stringlengths
15
59.8k
meta
dict
Q: SQL Count Data 1/2 hourly I have a stored procedure that counts data for each hour, Declare @DateTimeToFilter DATETIME; --set @DateTimeToFilter = GetDate(); set @DateTimeToFilter = '6/5/14' SET NOCOUNT ON; WITH H ([Hour]) AS ( SELECT 7 UNION SELECT 8 UNION SELECT 9 UNION SELE...
{ "language": "en", "url": "https://stackoverflow.com/questions/24095556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gradle circular dependency, force ignore I am trying to create a service registry where all the modules are added as compile(project(..)). The service registry module expose an unified function to call any function from any module. This is to reduce the direct coupling between two modules and to provide a proper sep...
{ "language": "en", "url": "https://stackoverflow.com/questions/32960182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: easyRTC has bad audio in low bandwith in tablet with 3G internet i create audio chat with easyRTC But it have noise and it work bad when I use tablet and 3g internet ! But in computer I work true ! How i can change audio quality in easyRTC ? A: You should reduce quality of Video to improve audio quality. By defaul...
{ "language": "en", "url": "https://stackoverflow.com/questions/28916084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: issues with center aligning content I've the below HTML. <div class="para align-center">SCHEDULE 1 <span class="align-right">[r.32]</span></div> <div class="para align-center">PART I</div> and the below CSS .para { text-indent: 0em; margin-bottom: 0.85em; } .para + .align-right { margin-top: 1.2em; } .align-c...
{ "language": "en", "url": "https://stackoverflow.com/questions/32779912", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Better performance and lower memory usage I am developing an application where I will store complex XMLs in Snappydata for future analysis. For better analysis performance and lower memory consumption, what do you recommend? Store in xml, json or object? Previously, thanks for your attention. A: Obtain a DataFrame ...
{ "language": "en", "url": "https://stackoverflow.com/questions/48133158", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to find text in Word, insert additional values before text with VBA I'm entirely new to VBA. I need to write a macro to do as the following pseudo code describes. Any references to VBA code are from looking at examples I've found so far from googling. Many thanks for any guidance you can offer. Dim myText as str...
{ "language": "en", "url": "https://stackoverflow.com/questions/33554267", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Constructor to allocate my own array class I have a class like Quete (first in , first out) public class Tor<T> { private T[] elements; private int next; public event EventHandler<EventArgs> queueFull; } I need to build a Constructor that get one parameter (queue size (int). and it allocate the arr...
{ "language": "en", "url": "https://stackoverflow.com/questions/9938127", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't find any java examples of using the androidx navigation architecture for single activity using bottom navigation I'm unable to find any examples using java, all the codelabs given by google seem to be in kotlin and ideally i don't want to learn that language. Is there any simple example of using 1 activity, 2/...
{ "language": "en", "url": "https://stackoverflow.com/questions/55764886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access everyone who has link in Google Cloud Storage Blob in Java? I am trying to create a cloud storage using google cloud functions in java. I have created a link via Blob but I have problem when I try to give access to users. I did not understand how **setAcsl() **function works. I have tried List<Acl> ac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75581303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to enable content-assist (autocomplete) in Eclipse's Expressions view? For example when I debug in Visual Studio I have a view with the same functionality where I can create an expressions, and while I'm creating an expression I can use content-assist (autocomplete) exactly like in the main code windo...
{ "language": "en", "url": "https://stackoverflow.com/questions/30529044", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Using layout as a sublayout & accessing it programatically in android? I have a layout called thumb_unit.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="320dp" android:layout_height="240dp" android:orientation="hori...
{ "language": "en", "url": "https://stackoverflow.com/questions/12858192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can I use pandas loc method to select multiple columns and replace the resulting row values with NaN I have a DataFrame like this: students = {'ID': [2, 3, 5, 7, 11, 13], 'Name':['John','Jane','Sam','James','Stacy','Mary'], 'Gender':['M','F','F','M','F','F'], 'school_name':['College2','Colle...
{ "language": "en", "url": "https://stackoverflow.com/questions/67499135", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: C passing by value or reference with pointers Which function calls are passed by value and which are passed by reference? int *a; int b; int **c; f(a); g(&b); h(*c); Just simple examples, I am just confused with pointers and how you tell how they are passed. A: Formally, C doesn't have pass by reference. It o...
{ "language": "en", "url": "https://stackoverflow.com/questions/57960949", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mongodb aggregation: restore structure after unwinding nested arrays Say I have the following aggregation: db.foo.aggregation([ { $unwind: '$bar' }, // match something on bar { $unwind: '$bar.baz' }, // match something on bar.baz ]) What is the procedure to regroup the unwound arrays back to the same struct...
{ "language": "en", "url": "https://stackoverflow.com/questions/44178036", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to send gmail thread id in reply mail using PhpMailer I am using PHPMailer for sending and replying mail. Here i am facing issue is the reply thread mail is not linked with existing group. It will send separate mail. How can i send it with existing group. I am having thread id. Here is my code. require_once 'plu...
{ "language": "en", "url": "https://stackoverflow.com/questions/57163301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: null pointer exception on adding string object to arraylist Cant get around this. Null Pointer exception occurs when trying to add a String object to an ArrayList. Trouble is, I believe I have already initialized the 'temp' ArrayList properly. Please help. void initialConbinations(String[] headers) { //D...
{ "language": "en", "url": "https://stackoverflow.com/questions/16240463", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: matplotlib.pyplot, preserve aspect ratio of the plot Assuming we have a polygon coordinates as polygon = [(x1, y1), (x2, y2), ...], the following code displays the polygon: import matplotlib.pyplot as plt plt.fill(*zip(*polygon)) plt.show() By default it is trying to adjust the aspect ratio so that the polygon (or ...
{ "language": "en", "url": "https://stackoverflow.com/questions/2934878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "56" }
Q: OneM2M, IOTKETI Mobius RETRIEVE Group Member ContentInstances In my example architecture; I have an IN-Mobius and a ADN-AE-Thyme (nCube Thyme). First of all; i created a AE which is called "ae_test_02", i can GET this resource via Postman. After this step; i run ADN-AE-Thyme, thyme.js, and it created a container wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/61709911", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Error in entering Date in My SQL I was trying to enter date into MySQL and was trying to figure out the right syntax through trial and error. In one such command, MySQL accepted the value, however when I displayed the values it showed all zeroes. can anyone help me understand why? A: If you are not passing Date in...
{ "language": "en", "url": "https://stackoverflow.com/questions/41626976", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to add non blocking stderr capture to threaded popen's I've got a python 3 script i use to backup and encrypt mysqldump files and im having a particular issues with one database that is 67gb after encryption & compression. The mysqldump is outputting errorcode 3, so i'd like to catch the actual error message, as...
{ "language": "en", "url": "https://stackoverflow.com/questions/30162766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What does UMPConsentStatusObtained mean for Consenting with the User Messaging Platform SDK I'm looking at https://developers.google.com/admob/ump/ios/quick-start#present_the_form_if_required How can I tell if the user did or didn't agree to personalized ads? There are only 4 enum: UMPConsentStatusUnknown: Unkno...
{ "language": "en", "url": "https://stackoverflow.com/questions/64235585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: What is the recommended way to handle large file uploads to s3? I'm using AWS SDK for Ruby to upload large files from users to s3. The server is a sinatra app with a POST /images endpoint accepting multipart/form-data. I'm experiencing a noticeable delay with user uploads. This is to be expected, because it's making...
{ "language": "en", "url": "https://stackoverflow.com/questions/45067934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Model Structure in Rails I'm relatively new to Rails and I'm trying to figure out the ideal model structure for my application, which is a simple reminder service for home maintenance. The central model in the app is a Home. Each home has many Appliance in it (i.e. a dishwasher, laundry, water heater etc). Each App...
{ "language": "en", "url": "https://stackoverflow.com/questions/10365070", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to save fields from a data structure to filename field in Matlab? In Matlab I have a structural array that is as follows. We basically have a number of datasets and each one has a name. For each dataset there is a certain number of data points, that are data that has been recorded from electrical activity in the...
{ "language": "en", "url": "https://stackoverflow.com/questions/29672991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get data from another EntityProxy in GXT ColumnConfig? Here is the thing: I have an application to manage user's tickets. I have 2 basic classes : Ticket and User. Using GXT I have some ColumnConfig class like this: ColumnConfig<TicketProxy, String> dateColumn = new ColumnConfig<TicketProxy, String>( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/20290626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What's wrong with the output? this is my first time here. I'm learning C++ by myself from the book "Starting Out With C++" by Gaddis. Therefore I don't know who to ask, and then I found this website. Hope you don't mind to help me and I will learn a lot from you. Here is one problem in the book: Write a function nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/27477076", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Mutable state of value from viewModel is not working I have a mutablestate in my ViewModel that I'm trying to set and access in my composable. When I use delegated Property of remember it is working but after creating it in viewModel and accessing it in compose the state of the variable is empty how to use the state...
{ "language": "en", "url": "https://stackoverflow.com/questions/74388432", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Laravel using an OR style combination in Route Middleware I am trying to use multiple middleware in a route as follows Route::get('devices', ['as' => 'devices.index', 'uses' => 'deviceController@index', 'middleware' => ['permission:manage_devices', 'permission:device.view']]); This will implement AND logic between t...
{ "language": "en", "url": "https://stackoverflow.com/questions/40883033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a divide in lookup and got error in Mongodb I'm new to MongoDB and it's really hard to do divide with lookup. I want to make a monthly salary for each employee. How can I do that? Thanks in advance. Any help would be greatly appreciated. Also, I converted my salary field to float. However, still, I'm sti...
{ "language": "en", "url": "https://stackoverflow.com/questions/62641998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: On Google can Kubernetes nodes be configured to have multiple network interfaces? On Google Container Platform can Kubernetes nodes (or node pools) be configured to have multiple network interfaces? A: Unfortunately they cannot. All of the parameters that you can configure through the Google Kubernetes Engine API a...
{ "language": "en", "url": "https://stackoverflow.com/questions/50976985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: replce value of column in phpmyadmin I am working with phpmyadmin. I have one table log in phpmyadmin. I would like to change a value in one column. If I add new value, it must show me Arbeitsplatz 1 instead of 1 in the Station column. This is my log table. In the third column I would like to replace values for ever...
{ "language": "en", "url": "https://stackoverflow.com/questions/58879243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Postback parent page when using an ASP.NET ModalPopup control I have a custom UserControl that displays a modal popup (from the Ajax Toolkit). The control allows the user to add a note to a customer record which the parent page displays in a GridView. I'm unable to force the parent page to reload the grid after the...
{ "language": "en", "url": "https://stackoverflow.com/questions/4453623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Splitting a string into an array of n words I'm trying to turn this: "This is a test this is a test" into this: ["This is a", "test this is", "a test"] I tried this: const re = /\b[\w']+(?:[^\w\n]+[\w']+){0,2}\b/ const wordList = sample.split(re) console.log(wordList) But I got this: [ '', ' ', ' '] Why is t...
{ "language": "en", "url": "https://stackoverflow.com/questions/40817167", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: how to clear a certain content in a rich text box i have a rich text box that displays items.These items have column names.The column names are loaded when the form loads.They hold values as rows.These rows are appended at a click of a button (when add button is clicked). At the bottom,let me say i have another fiel...
{ "language": "en", "url": "https://stackoverflow.com/questions/19815002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Exception in Fortran DLL after upgrading Visual Studio I have a C++ DLL. We developed it originally in Visual Studio 2005 and recently upgraded it to Visual Studio 2013. This DLL then calls into a Fortran DLL for some functionality (the Fortran DLL is provided by a third party developer who cannot share source code)...
{ "language": "en", "url": "https://stackoverflow.com/questions/28571655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python: GIL context - switching So, I generally have a pretty good understanding of how the Global Interpreter Lock (GIL) in Python works. Essentially, while the interpreter is running, one thread holds the GIL for N ticks (where N can be set using sys.setcheckinterval), at which point the GIL is released and anoth...
{ "language": "en", "url": "https://stackoverflow.com/questions/16257587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: How do I get the big picture of my custom notification take the whole width of the notification while also keeping the Android system decorations? I have an app currently with 19 (KitKat) as the min sdk. I need a notification that acts as a mix of BigPictureStyle and BigTextStyle. For that, I am using remote views ...
{ "language": "en", "url": "https://stackoverflow.com/questions/54833320", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Using .htaccess rewrites to redirect from old url to new url I have a website example.com which was the old domain name for my site. We wish to switch from the old domain name to a new domain name theexample.com. As the site is hosted using a web host we currently have both domain names pointing to the same ip addr...
{ "language": "en", "url": "https://stackoverflow.com/questions/15916382", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Check optional mutex before scoped locking I have a constructor that optionally allows the user to pass a ponter to a Boost mutex. If no mutex is supplied, the member pointer pMyMutex is set to NULL. This gives the user the option of applying some thread safety if they wish. However, I cannot use a scoped_lock with ...
{ "language": "en", "url": "https://stackoverflow.com/questions/10752280", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I join denormalized tables in MySQL? I have a table with different people. And I want to connect them to my house table house table: +-------+---------+---------+---------+ | house | person1 | person2 | person3 | +-------+---------+---------+---------+ | 1 | 2 | 4 | 1 | | 2 | ...
{ "language": "en", "url": "https://stackoverflow.com/questions/42652569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Laravel Mix unknown option '--hide-modules' error When I try to compile React component with Laravel Mix in my Laravel project it raises error 2 lifecycle. E:\MY PROJECTS\Samriddhi Institute> npm run dev @ dev E:\MY PROJECTS\Samriddhi Institute npm run development @ development E:\MY PROJECTS\Samriddhi Institute c...
{ "language": "en", "url": "https://stackoverflow.com/questions/69218549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "28" }
Q: Making Ionic2 Slides using Firebase data I stored profile data in firebase and trying to retrieve them and show them in template with slides. (I am making a matching service.) But it seems the template is loaded before data is assigned to variable. When I am just retrieving one data, not list, it works fine. I tried...
{ "language": "en", "url": "https://stackoverflow.com/questions/46641667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: using checkboxes and counting them in Lightswitch HTML I am currently using this code to display checkboxes as a custom control, and it works perfect: // Create the checkbox and add it to the DOM. var checkbox = $("<input type='checkbox'/>") .css({ height: 20, width: 2...
{ "language": "en", "url": "https://stackoverflow.com/questions/27949429", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dax Measure - Value table compare value I have a table FactSales And tried but didn’t get ant satisfactory result. Id like to calculate old results and compare to my actual one and see how many customers whose bought product B before (before 90 days) didn’t buy the same product in last 3 months according to the date...
{ "language": "en", "url": "https://stackoverflow.com/questions/52011554", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rails render partial with block and collection This is similar to this question but with a collection: <div class="panel-body"> <%= render layout: 'today_items_list', locals: {items: @pos} do |po| %> <% @output_buffer = ActionView::OutputBuffer.new %> <%= link_to "##{po.id}", po %> <%= ...
{ "language": "en", "url": "https://stackoverflow.com/questions/34873585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to asd.Grade i have a large scale project in my hands but i simulated the problem i'm struggling with in this example: my first class: package asd; import java.io.Serializable; public class Grade implements Serializable{ String nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/35431297", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: how to verify the csrf token is working well in the browser while using django and react I am sorry in advance if the question is more a beginner one but i have built an application with django backend and react frontend, now i am trying to implement the csrf token for the post request on the create endpoint with th...
{ "language": "en", "url": "https://stackoverflow.com/questions/69369239", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: try block in python am I using the try block correctly? try: def add(num1, num2): return(float(num1) + float(num2)) except ValueError: return(None) else: return(add(num1, num2)) I am using treehouse and am getting the error that task 1 is no longer passing meaning something has gone wrong with ...
{ "language": "en", "url": "https://stackoverflow.com/questions/50095327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: django_nose unit tests fail (no such option) I have a new project and can't get django_nose set up correctly. I have never had this problem before. So, makes me think that it's a configuration issue. But, I can't spot it. I'm using virtualenv and have both nose and django-nose installed. Here is my requirements....
{ "language": "en", "url": "https://stackoverflow.com/questions/10667481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: use of tight_layout() in matplotlib with incomplete axis array: I am creating PDFs of an array of axes. Sometimes the page is not full, ie not all axes have data. In this case, I want the unused axes not to show on the PDF. But I want the layout to be the same as if they were being used. I'm using tight_layout() to...
{ "language": "en", "url": "https://stackoverflow.com/questions/44059159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I would like to know if I am encrypting the password correctly using OO I have had this doubt for some time, because I don't know if I'm actually correctly encrypting the data, if I'm passing the correct values when instantiating the class and calling the function, and I also don't know if the return of the function...
{ "language": "en", "url": "https://stackoverflow.com/questions/64733510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SyntaxError: Invalid Syntax without solution It's my first request here, I hope you'll could help me. I try to explain this particular situation. Files that use are bases for launch a neuronal simulation and they were for Python 2. Using an Atom's plug-in, I fixed manually any Indent errors and details. But for thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/63551185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to remove timestamp in XMLGregorianCalendar I have a utility and when I run this utility in main method, I get the desired output. But when I convert that data into Xml format then I get output in timestamp format. How can I avoid this issue? Utility for converting String to XMLGregorianCalendar public static vo...
{ "language": "en", "url": "https://stackoverflow.com/questions/60506685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP page is delivering the same result regardless of IF condition I am trying to view a PHP page with and without using an iframe, but the result is the same regardless of the IF condition using $_SERVER['HTTP_SEC_FETCH_DEST'] to detect that it is in an iframe. if (isset($_SERVER['HTTP_SEC_FETCH_DEST']) and $_SERVER...
{ "language": "en", "url": "https://stackoverflow.com/questions/65829518", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spritekit: Separating randomly placed non-dynamic "block" nodes by a set X and Y value? my script below does exactly what i need it to do, add blocks to a scene in any random order in the view. the only problem is, as i increase the amount of "block" nodes, they tend to overlap on one another and clump up, I'm wonde...
{ "language": "en", "url": "https://stackoverflow.com/questions/23654110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Expected Character for no reason in a JsonPath Assuming that I have this JSON: { "response" : { "code" : "XXX", "label" : "Lorem Ipsum", "items" : [ { "code" : "200", "label" : "200 !!!" }, { "code" : "300", "label" : "30...
{ "language": "en", "url": "https://stackoverflow.com/questions/50911200", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Deployment to Heroku Error: Cannot find module '/app/server.js' I'm deploying an Angular 6 application created with the angular-cli to Heroku. The build completes successfully, however, when I go to the deployed application, I get a blank page. After running the Heroku logs, it appears the error/crash happens upon s...
{ "language": "en", "url": "https://stackoverflow.com/questions/50571078", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "12" }
Q: App/website model not showing on Alexa Developer console I am trying to connect my alexa skill with the custom android app. For that I need App/Website model in Alexa developers console. But I can't find it. Is there anything I need to do to activate that model option. A: Alexa for Apps is a currently only availab...
{ "language": "en", "url": "https://stackoverflow.com/questions/73932202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to delete multiple lines in a python console window? I am currently working on a text-adventure, which should have a more or less complex fight system. To create such, I decided to generate a 16x16 tile battlefield, which will be represented by ASCII-characters. But, because a fight may take more than turn, I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/19344962", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to turn off different items in a select box through jQuery? Working with Wordpress (contact-form plugin by iDeasilo ) and needed help performing a certain task. I've searched Google, but was unable to find what I was looking for. New to working with jQuery, so any help will help. My question is: How would I be ...
{ "language": "en", "url": "https://stackoverflow.com/questions/5122288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Brand new Laravel 8 installation: "/admin" route redirects to "/" for no apparent reason I originally created a new Laravel 8 project, made some adjustments and then had this issue where going to '/admin' just redirects the URL back to '/', where as '/admin/' went where I expected it to, despite the routing. But now...
{ "language": "en", "url": "https://stackoverflow.com/questions/68286062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to correctly start activity from PostExecute in Android? I have an AsyncTask, that fills a custom List with parsed data from Internet. In PostExecute I fill that List and get it ready to transfer it to a new Activity. I do it this way: @Override protected void onPostExecute(List<VideoDataDescription> result) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/9118015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "22" }
Q: Xcode - Sliding Tab Bar? Is there a tutorial I am overlooking online for a sliding tab bar application? I've been going at this research for little over a week. I'm wanting to use this feature instead of having the "more" tabs on the main screen. The iOS "Thousand Foot Krutch" app has this feature, so I know Apple d...
{ "language": "en", "url": "https://stackoverflow.com/questions/15593094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I uninstall JVCL? I want to uninstall Jedi because it replaces my GIF handling library. Even though I uninstalled JVCL, Delphi keeps using the Jedi gif library and it keeps adding the JVGif unit to my project which adds extra compiling time. A: Run the JVCL installer and uninstall. Then open the JVCL root f...
{ "language": "en", "url": "https://stackoverflow.com/questions/3312658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Parse push notifications can take a long time to get delivered I am relatively new to Parse, and am finding that push notifications can take anywhere from being instantaneous, to taking a day or more to deliver. I can see the notifications registered in the admin panel immediately in every case, so issue is not on t...
{ "language": "en", "url": "https://stackoverflow.com/questions/24924798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is GameObject.FindObjectOfType() less expensive in performance than GameObject.Find() in Unity? I'm on my last finishing touches with my indie game using Unity and I've been thinking about improving my game's performance. I was wondering if GameObject.FindObjectOfType() is less expensive than GameObject.Find()? Than...
{ "language": "en", "url": "https://stackoverflow.com/questions/74418791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: " A device-specific color space (DeviceGray) without an appropriate output intent is used" when using XSL-FO for PDF validation I was asked to generate a PDF type A-3 using XSL-FO with Apache FOP configuration. The PDF is already generated but it can't be validated error : A device-specific color space (DeviceGray)...
{ "language": "en", "url": "https://stackoverflow.com/questions/68019695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: adding inertia to a UIPanGestureRecognizer I am trying to move a sub view across the screen which works, but i also want to add inertia or momentum to the object. My UIPanGestureRecognizer code that i already have is below. Thanks in advance. UIPanGestureRecognizer *panGesture = [[UIPanGestureRecognizer alloc] init...
{ "language": "en", "url": "https://stackoverflow.com/questions/17083570", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "14" }
Q: nullpointerexecption when trying to execute delete method of databasehelper I'm new to android and i m creating application contact application I m trying to delete a row from table but its giving me nullpointerexception as shown in log below this indicates that delete method is getting null value but through bundle...
{ "language": "en", "url": "https://stackoverflow.com/questions/27877150", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to feed the `find` output as the argument for bash? I find a list of bam files using $bams=$(find /data/and/ -type f -regex ".*\.bam") #/data/DNA128441.bam #/data/DNA128442.bam #/data/DNA128443.bam And wanted to feed in a script test.sh #!/bin/bash bam="$@" echo "You provided the arguments:" ${bam} s=${bam##*/}...
{ "language": "en", "url": "https://stackoverflow.com/questions/62703889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to prevent vaadin default styles and how to increase width and height of textfield I am developing application using vaadin framework. I am new in vaadin framework. I have lot of confusion in designing. 1) I am creating layout to display loginform but it will come with some default styles. That styles collaps...
{ "language": "en", "url": "https://stackoverflow.com/questions/15787629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: C# Google Sheets API - Delete Row I searched everything already on the whole internet :) and did not find a solution for this. I can add new rows, update old rows and do a lot of things in google sheets via C#, but I can't delete a row in a google sheet... can someone, please help me with this? [EDITED] OK, I finall...
{ "language": "en", "url": "https://stackoverflow.com/questions/59457663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: PHP Website - Navigation links with sub directories I have a site with this directory structure: index.php folder1/index.php folder2/index.php inc/nav.php All the index.php pages include the nav.php page which contains the top horizontal navigation bar, e.g.: <?php include_once 'inc/nav.php' ?> Inside the nav.php ...
{ "language": "en", "url": "https://stackoverflow.com/questions/17801046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Remove/delete embeds from a message I made my own Discord bot for my Minecraft server with an order system (for developers). When you react on the ,essage for the order, the message should edit to The Order was claimed by @Discord And that works, but I also want to remove the EmbedMessage, that was sent with. But th...
{ "language": "en", "url": "https://stackoverflow.com/questions/66640848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pass std::map object to thread Mycode is trying to pass a std::map as reference to thread but it seems something is bad and result in error: invalid conversion from ‘void* (*)(std::map<std::basic_string<char>, std::vector<std::basic_string<char> > >)’ to ‘void* (*)(void*)’ [-fpermissive] I need to pass map...
{ "language": "en", "url": "https://stackoverflow.com/questions/44788618", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is Google App Engine better than Webfaction for a beginner in Django dev? I am a beginner in developing websites by Django. I run small discussion websites similar to SO. I have an account at Bluehost which has been a nightmare in developing by Django. I have found that Webfaction and Google App Engine seems to be t...
{ "language": "en", "url": "https://stackoverflow.com/questions/722463", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "12" }
Q: Not able to globally install electron on MacOS due to error I'm getting an error while trying to globally install electron, I'm not sure why. npm ERR! code 1 npm ERR! path /usr/local/lib/node_modules/electron npm ERR! command failed npm ERR! command sh -c node install.js npm ERR! HTTPError: Response code 404 (Not Fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/73138701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing json to mvc controller I am trying to post some data via jQuery ajax to an Asp.Net MVC controller. I have the follow class which I am working with: public class InnerStyle { [JsonProperty("color")] public string HeaderColor { get; set; } [JsonProperty("font-size")] public string HeaderFontSize { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/46214779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Required parameters for launching headless chrome What are the required options for launching google chrome headless from C#? These are the options I’ve got now: var options = new ChromeOptions(); options.AddArgument("--headless"); options.AddArgument("start-maximized"); options.AddAr...
{ "language": "en", "url": "https://stackoverflow.com/questions/49352071", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Firefox WebExtensions API how to make AJAX call to current tab website I want my web extension to make an AJAX call to the website which the user is currently looking at. I know that the current website has an endpoint available at /foo/bar?query=. Is there anything blocking me from using the fetch API or an XMLHttp...
{ "language": "en", "url": "https://stackoverflow.com/questions/44907697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to perform a unittest on a unittest How do you do a unittest on a unittest. I have a unittest and obviously when it is succesfully it generates an ok message in the terminal but I have struggled to find a way of creating a test for the test based upon that. Basically looking for a way to test if the below test r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75021580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to use a python package - shouldn't i be able to access anything listed in __all__? I'm trying to use the pyupnp package (http://code.google.com/p/pyupnp/) I've built and installed it and in my code I have: import pyupnp b = pyupnp.UpnpBase() ... But I get this error: AttributeError: 'module' object has no attr...
{ "language": "en", "url": "https://stackoverflow.com/questions/5480354", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Migrating stripe express into stripe standard I already have a stripe standard account but a platform created a stripe espress account for me. Even though I used the same email address for both, they are now two separate accounts managed in two separate places with two separate dashboards even though both are for my...
{ "language": "en", "url": "https://stackoverflow.com/questions/75118465", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: UWP service to app call I have UWP app service with TimeTrigger. Every time this trigger fires i'm trying to download some data from the internet. Is there anyway my service can notify my second UWP UI app about data load success|fail? The only way i've found is to run the second service in UI app thread and call i...
{ "language": "en", "url": "https://stackoverflow.com/questions/46202444", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Moving from one div to another on click of a menu link I want to make an animation effect on my website where, when we click on a menu link (say, about-section), it will animate to that div in a parallax style. So guys if you know any jquery plugin that can help me in this context, then please let me know, and it wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/36761442", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Deserialize Dynamic JSON Object I am using a thirdparty API and the Json response that I receive back is as below. Usually, using something like Newtonsoft.Json.JsonConvert.DeserializeObject<MyModel>(response); I can easily create a .Net model. However, I am struggling on how to formulate the below. I've tried KeyV...
{ "language": "en", "url": "https://stackoverflow.com/questions/62952744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: _e printed before layout WPML/Wordpress/PHP I am using WPML to translate English to a different language. Everything works fine except the mail form. For some reason when is use the _e() function the string gets printed before the layout. But still inside the body element. Please help here is the code: if(trim($_PO...
{ "language": "en", "url": "https://stackoverflow.com/questions/21208812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Returning the Most Negative Two's Complement Number in C with Bitwise Operators I have a function in C that should return the most negative two's complement number: int mostNegTwosComp(void) { return 0; } I am constrained to using a maximum of 4 bitwise operators. These operators include: ! ~ & ^ | + << >>. Ho...
{ "language": "en", "url": "https://stackoverflow.com/questions/54526282", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: using a pushbutton's call back in an other callback in matlab I have two push buttons in my MATLAB GUI. I am trying to recognize a push button in button1's callback function and do something with regard to which button was pressed. I have tried to use button group and put all my buttons in that group. It seems as if...
{ "language": "en", "url": "https://stackoverflow.com/questions/17423716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to search CalDav Blob from MySql Db? I'm currently trying to integrate a CalDav Calendar into my website. I'm using "baikal" and it actually works fine, i'm already able to access my calendar via iphone, macbook and so on. What I wanna do now is reading the Events from the mysql database and display them in m...
{ "language": "en", "url": "https://stackoverflow.com/questions/17543521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: R value of i and j in a loop I am learning to run a loop (2 rounds of loop) for a DCC GARCH model. However, the loop is out of my control because: Problem 1: Round 1, I want R to run for i from 1 to n-1 (n is total numbers of countries): however it keeps run from i==0 --> I put i in (2:length(msci)-1); so it is ok f...
{ "language": "en", "url": "https://stackoverflow.com/questions/65912093", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to round up to the higher 10 in C#? I have to write a program at school that allows the user to input a 7-digits of a GTIN-8 barcode and calculate check digit. To calculate the check digit the seven input numbers are multiplied by 3, 1, 3, 1 etc. for (i = 0; i < 7; i++) { //Convert String to Character ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/37544613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How can I pass a class object from Activity to a class to be able to call its methods? I need to create an object of the BLE class in the Activity, in onCreate, I tried to implement it with Parcel (passing the object via Intent), but I have an application crash from it. As it turned out, the reason was that in the B...
{ "language": "en", "url": "https://stackoverflow.com/questions/51204700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to view Lambda results in CloudWatch Event Logs? I was following Tutorial: Schedule AWS Lambda Functions Using CloudWatch Events - Amazon CloudWatch Events on how to Schedule AWS Lambda Functions Using CloudWatch Events. It all makes sense and work as expected, but in my logs I cannot find the results of the lam...
{ "language": "en", "url": "https://stackoverflow.com/questions/64093627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java Jar's library conflicts I've been struggling for a while trying to figure out which war application is using a couple of libraries (ie "cxf-2.0.3-incubator.jar" & "cxf-manifest-incubator.jar") that are causing me troubles at the moment of deploying a new war application on a jboss.4.0.5.GA java application se...
{ "language": "en", "url": "https://stackoverflow.com/questions/18000229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to parse nested keys and values using JsonReader? I am learning Java and I'm trying to make a Fortnite stat tracking app. I'm using the Fortnite tracker API and JsonReader to read the keys and values that get returned. This works fine but the problem is the stats like 'kills' etc are nested and I'm not sure how ...
{ "language": "en", "url": "https://stackoverflow.com/questions/49752576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Dojo: Saving changes with EnhancedGrid using JsonRestStore? I'm trying to use a EnhancedGrid and a JsonRestStore: <script type="text/javascript"> dojo.require("dojox.grid.EnhancedGrid"); dojo.require("dojox.data.JsonRestStore"); dojo.ready(function(){ /*set up data store*/ var store = dojox.data.JsonRestStore({ ta...
{ "language": "en", "url": "https://stackoverflow.com/questions/9090403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do I reposition and resize gameObjects in Unity via scripting? So I am trying to build a game similar to the Snakes and Ladders game in Unity, but I am finding it hard to deal with when multiple player tokens land on the same square. I have the following GameObjects in my scene: On the click of the Player1 butt...
{ "language": "en", "url": "https://stackoverflow.com/questions/68445998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Android: Any way to remove AM/PM in TextClock? I am currently using TextClock in my xml, however I do not want the AM/PM to be in the displayed time. Is there a way to remove it? A: Based on the documentation you could use the following: setFormat12Hour( "K:m" );
{ "language": "en", "url": "https://stackoverflow.com/questions/32103872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Deleting document inside a nested Collection I was making a function to clear all documents inside a nested collection. I've accessed it as follow. const deleteChat = async () => { const chatSnapShot = await db .collection("chats") .doc(router.query.id) .collection("messages") .get(); chatSnapS...
{ "language": "en", "url": "https://stackoverflow.com/questions/71634708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }