text
stringlengths
15
59.8k
meta
dict
Q: Want to know the number of times a value appears on a given date I will try to explain this in as simple a way as possible. I want to be able to count how many times a value is entered into my database table for each day. Basically, if the data is entered once it would count as a single, if the data was entered twic...
{ "language": "en", "url": "https://stackoverflow.com/questions/9893348", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# Regex specify allowed start and end condtions I'm trying to create a regex expression with the following requirements: The value: * *Must start with a-z or _, numbers are OK after the first character *Can have parentheses if they are opened and closed with number inside at the end of string, i.e SomeVar(10) i...
{ "language": "en", "url": "https://stackoverflow.com/questions/62204471", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Delete a row javascript using row id Hi guys I have a table created by php in this way: foreach ($query as $row): ?> <tr id="<?php echo $row->aic;?>" > <td><?php echo $row->aic; ?></td> <td><?php echo $row->denominazione ?></td> <td><?p...
{ "language": "en", "url": "https://stackoverflow.com/questions/24344176", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Undefined Reference to vtable with abstract class When building my C++ program, I'm getting the error message. undefined reference to vtable I have two virtual abstract classes called and I can't quite figure out what I'm doing wrong if I'm doing anything wrong. I'm getting errors from both of the classes that are...
{ "language": "en", "url": "https://stackoverflow.com/questions/63532266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: query: get author of a song and count total of songs for that author I'm not sure how to do the following query. I have 3 tables: song (song_id, title, is_draft) author (author_id, name) song_author (song_id, author_id, display_order) There are songs, and a song can have multiple authors and an author can write mul...
{ "language": "en", "url": "https://stackoverflow.com/questions/17458601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: stub random value in rspec with secure_random I am trying to write specs for my gem, which generates otp and saves it in db. Now i am writing specs for it. so basically i have three methods generate_otp!, regenerate_otp!, verify_otp(otp). what generate_otp! does is it calls a method generate_otp which contains three...
{ "language": "en", "url": "https://stackoverflow.com/questions/38370512", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: Pygame: Character Centered Movement System (Diablo II like click-to-move) I am currently working on a new RPG game using Pygame (my aim here is really to learn how to use object oriented programming). I started a few days ago and developed a movement system where the player clicks a location and the character sprite...
{ "language": "en", "url": "https://stackoverflow.com/questions/36860334", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android Open and Save files to/from Google Drive SDK I've spent the last six hours pouring over documents from Google and I still don't know how to get started with this. All I want to do is make it so my existing Android app can read files from Google Drive, upload new files to Google Drive, and edit existing files...
{ "language": "en", "url": "https://stackoverflow.com/questions/12164024", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "62" }
Q: How to create an rray of composites strings Hi everyone: I have a collection of 50 strings that represent comments in a text file where each line represents a separate comment with different sentences . Each string is a user review of a product, and each string or review has several several sentences. How could I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/39539230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to allocate 4k aligned Memory malloc() allocates a memory chunk which is virtually contiguous inside the process memory space. malloc() takes a size as a parameter in bytes and returns pointer to that allocated memory space but what if the requirement is to allocate memory which is 4k aligned? A: That wou...
{ "language": "en", "url": "https://stackoverflow.com/questions/17440498", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Django can't multiply sequence by non-int of type 'str' I have this logic in my views and models, in my views i get the data of what the user inputted, and in my models, i have an automatic computation of discount_price_formula, and other_discount_price_formula why i am having this error? can't multiply sequence by ...
{ "language": "en", "url": "https://stackoverflow.com/questions/64748558", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to get Country name from ip address using ipinfo? I am using Laravel package for getting location using IP Address. composer require ipinfo/ipinfolaravel But when I hit request to get data of location it return null for local host. I have use this, public function index(Request $request) { dd($request->ipin...
{ "language": "en", "url": "https://stackoverflow.com/questions/67296110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: tKinter How disable the Entry while checkbutton is unchecked and enable it while the checkbutton is checked from tkinter import * window=Tk() nac = {} ent = {} for i in range(10): de = IntVar() nac[i]=IntVar() na=Checkbutton(window, text='%s' % (i), borderwidth=1,variable = nac[i], onvalue = 1, offvalue = 0...
{ "language": "en", "url": "https://stackoverflow.com/questions/55009541", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What is universal binary for iOS how iOS work at run time with them? A universal binary in ios contains executable for both armv7 and arm64. How iOS run architecture based executable.what is the concept of universal binary? Xcode creates the universal by compiling for both architecture armv7 and arm64 then create th...
{ "language": "en", "url": "https://stackoverflow.com/questions/38320853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ExtJs(4.2): Persist Time While Displaying Date time in DateColumn I have datecolumn in a grid. I am getting value from backend in following format: Y-m-d H:i:s. I have to display it as d.m.Y. And While sending back I have to again send it as Y-m-d H:i:s. My code is as following: Model { name: 'REA_LIT_URSPR', ...
{ "language": "en", "url": "https://stackoverflow.com/questions/35317367", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Check list to see if element greater than specified number I'm trying to check if a specific element in the list is greater than a set value. So x=22 list=[10,20,30] # check if anything in list is greater than x # do something to the list I'm just not sure what commands to use in this scenario to check every li...
{ "language": "en", "url": "https://stackoverflow.com/questions/52747716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: How to get App's Permission for each app? how to do it programmatically on Android? How to get App's Permission Detail for each app? how to do it programmatically? I want to display "App's Permission Detail for each app" on TextView. But I try it but Not Ok?? Hello.java import android.app.Activity; import android.os...
{ "language": "en", "url": "https://stackoverflow.com/questions/5385957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "12" }
Q: How to prevent batch from skipping certain FOR loops? I'm currently working on a casual game in batch, and I'm running into a slight issue when recovering save data. All the save data is stored in custom INI files (idea from fourth answer here, other code from first answer here). The INI file is first created when t...
{ "language": "en", "url": "https://stackoverflow.com/questions/48134094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Special IF/THEN Statement And Data Validation List In VBA The best way I can explain what I need is this: * *If A1 = "" and A3 = "", then put a data validation list in cell A2. *If A1 = "" and A3 <> "", then A2 = A3. *If A1 <> "" and A3 = "", then A2 = A1 *If A1 <> "" and A3 <> "", then A2 = A1 I know I'm lea...
{ "language": "en", "url": "https://stackoverflow.com/questions/53983102", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to set a custom npm directory for global packages in Dockerfile? I've just read the best practices about Global npm dependencies and tried to utilize this approach in my Dockerfile: FROM node:carbon ... ENV NPM_CONFIG_PREFIX=/home/node/.npm-global ENV PATH="/home/node/.npm-global:${PATH}" ... RUN npm install -g ...
{ "language": "en", "url": "https://stackoverflow.com/questions/48541511", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Common Lisp: Using (let) for evaluating recursive function So I wrote something that returns a maximal subset sum given a list of positive integers. However, I would like to use the (let) so that I make the code more efficient. I would like to know if or how that is possible. (defun subset-sum1 (numbers capacity) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/30928241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How does mmap interract with Go's garbage collector? Go has a garbage collector for slices that only frees the slice when all references to it are dead. It also has an Mmap function that returns a []byte that can be explicitly freed with Munmap(). So how does this work with Go's garbage collector. What happens if I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/38438951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to sort gridview item in flutter I know how to sort in listview while streaming from firebase by using orderBy properties, but when I try in in GridView.builder, it is not working. can any body please help final CollectionReference _productss = FirebaseFirestore.instance.collection('donation'); return S...
{ "language": "en", "url": "https://stackoverflow.com/questions/73117678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NivoSlider IE7 push my CPU to 100% even after fade effect finishes I am using NivoSlider to create a nice rotating banner animation. In particular, I am using the "fade" animation. It works well in all browsers except IE7. In IE7, when the fade out / fade in effect occurred, the CPU on my computer goes to 100% and s...
{ "language": "en", "url": "https://stackoverflow.com/questions/8232606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Overriding previously set CSS My css: .pic img:hover { border: 1px black solid; } My html: <div class="pic"> <img src="hey.jpg"> <img class="overlay" src="overlay.jpg"> </div> I have an "overlay.jpg" that is placed in the bottom corner of the first image. Problem with the css is that the overlay gets the :ho...
{ "language": "en", "url": "https://stackoverflow.com/questions/26969904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Reminder Email User for Password Expiration in AWS SES I am using AWS SES to send mail from my website (Using Laravel). I want to set password expiry reminder before expiring (SES) password. I have gone through some articles and documentation but did not get any solution.
{ "language": "en", "url": "https://stackoverflow.com/questions/57309031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Installing Google Cloud SDK on Azure Web Apps I need to install https://cloud.google.com/sdk/ on my Azure Web App so we can execute > gcloud auth application-default loginand have our application running with communication between Google and Azure. How can I install https://cloud.google.com/sdk/ to the Azure Web App...
{ "language": "en", "url": "https://stackoverflow.com/questions/44711254", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Arrays in array How can I create an array with Ruby (on Rails) in this form: [[0,5], [1,5], [3,7]] Edit: I know how to define simple array and add some data: posts = Array[] # or Array.new posts << data.id # e.g. posts[1,2,3,4] BUT i wanna know how to add (push) data to the array that is more complexive like in f...
{ "language": "en", "url": "https://stackoverflow.com/questions/9436885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Do bluetooth smart (4.0) provide the same services as plain old Bluetooth? What I want to ask is - Will a BLE device be able to answer calls, play music, etc... or that Bluetooth 4.0 is intended for a kind of NFC alternative? A: Bluetooth 4.0 has all backwards compatibility with it's older versions. BLE is a form o...
{ "language": "en", "url": "https://stackoverflow.com/questions/31816103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting textbox value from X-editable How do you get the value of the textbox field and send as data inside of ajaxOptions? I tested my view and it prints out the test variable successfully from my Django views. I am using X-editable for Jquery. Heres what textbox input looks like: http://jsfiddle.net/xBB5x/197/ vie...
{ "language": "en", "url": "https://stackoverflow.com/questions/28083388", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bit confused with cloudfront and why my cert for the CNAME is not working I am getting this message on my main site, after I setup a CloudFront distribution. I created a certificate for cdn.example.com, chose custom and entered cdn.example.com for use with HTTPS. I created a CNAME in my DNS configuration for cdn.exa...
{ "language": "en", "url": "https://stackoverflow.com/questions/53053751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Upload file to drive with reactjs and nextjs I am using this https://github.com/rpldy/drive-uploady to update files but this library only shows an example where you have to upload files from local. If i have a file (base64 url) or a blob (which i get from a pdf file i got from google drive before) how can i use this...
{ "language": "en", "url": "https://stackoverflow.com/questions/71674853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Angular 5 view not displaying updated property value after initial change My view isn't showing the updated property value of a local property, bound model property, nor a value from observable. Logging from console shows all the values are updated. This is a multi-step form and works great with exception of this a...
{ "language": "en", "url": "https://stackoverflow.com/questions/51252616", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there (and what are) a differences in developing in html5 and by using phonegap? What is the difference if we develop android apps in pure html5 without using phonegap libraries and what if we use Phonegap? This might sound noob but I'm really not getting the connection between these two? Why do I need phonegap? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/12173182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why does height: auto not provide content area large enough to fit my content? When a user is logged out, the header shows a logo and a log-in form, which the header needs to be large enough to accommodate. When a user logs in, they see the full navigation on a header that no longer needs to be quite so large. I'd t...
{ "language": "en", "url": "https://stackoverflow.com/questions/37535993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why 'return' is not working in generator method? def function(list): for x in list: yield x return 4 list = [1,2,3] object = function(list) print(next(object)) print(next(object)) print(next(object)) print(next(object)) In this code when I'm calling function for the 4th time I'm getting error. Bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/62532796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Do not refresh Inner Update Panel in asp.net I am using 2 Update Panel in Asp.net. Second Update Panel is inside main Update Panel. It is like as below : <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode...
{ "language": "en", "url": "https://stackoverflow.com/questions/27502597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I open default browser to home page in C#? The question below has the answer to "How do I open the default Browser to a URL in C#?" But how do I open the default browser in C# without navigating to a URL? Desired behavior is for the default browser to open to the home page, or use the startup behavior (for ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/43376033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Executing arbitrary javascript from Android WebView callback/interface I have set up a very simple javascript implementation using Android's WebView: index.html <!DOCTYPE html> <html> <head> <title></title> <script type="text/javascript" charset="utf-8" src="Test.js"></script> </head> </html> MyJavaScript...
{ "language": "en", "url": "https://stackoverflow.com/questions/22236313", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mysql: UNION GROUP BY without subquery I have a problem. I want to wrap a query into a view. For this I have to transform the subqueries inside the FROM. My query is this: SELECT b.id, b.summe, getBauNrKomplett(b.id) as bauNrKomplett, b.parent_id FROM ( SELECT pt.id, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/30107916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DocuSign Carbon Copy Doesn't Receive Note I'm using DocuSign's API in an iOS application to sign documents. Everything is going fine, except for the Carbon Copy experience. I have two signers, with routing orders 1 and 2. Then, I have several CC recipients, all with routing order 3. When the document is signed, the...
{ "language": "en", "url": "https://stackoverflow.com/questions/38310829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: A nil pointer is sent to chan, but a "non-nil" received package main import ( "fmt" "os/exec" ) func main() { errChan := make(chan error) go func() { var e *exec.Error = nil errChan <- e }() err := <-errChan if err != nil { fmt.Printf("err != nil, but err = %v\n"...
{ "language": "en", "url": "https://stackoverflow.com/questions/19316963", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: Best way to get properties from html and use as global variable in Angular 2+ What is the best way to get properties from html and use as global variable in Angular 2+? index.html ... <script> window.properties = { 'variable1': 'string 1', 'variable2': 'string 2' }; </script> ... A: @Inject...
{ "language": "en", "url": "https://stackoverflow.com/questions/43502654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL join on one-to-many relation where none of the many match a given value Say I have two tables User ----- id first_name last_name User_Prefs ----- user_id pref Sample data in User_Prefs might be user_id | pref 2 | SMS_NOTIFICATION 2 | EMAIL_OPT_OUT 2 | PINK_BACKGROUND_ON_FRIDAYS And some u...
{ "language": "en", "url": "https://stackoverflow.com/questions/3294306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: Exception on "add_roles" function for discord.py I'm trying to add roles to users by listening for Reaction. Although it will succeed, there will always be errors after execution. I want to ask how to solve this problem? Codes there: @client.event async def on_raw_reaction_add(payload: discord.RawReactionActionEvent...
{ "language": "en", "url": "https://stackoverflow.com/questions/74862938", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tablelayout with massive data android What is the best way to create a table layout or recyclerview/listview/gridview in android that can pull a lot of data around 1000 rows and around 50 columns each row without to crash ? I want to show it like excel sheet nothing special just show data of course with scrolling b...
{ "language": "en", "url": "https://stackoverflow.com/questions/31620052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to get a page not redirect to the main I'm absolute beginner at JSP and Spring framework and annotations. I've built a standard CRUD application, but have one issue. Whenever i want add, edit or delete a user, application redirects me to main "user" page, if i'm on a page, with an index more than 1. How can i ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/44864186", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to save a file name in my DB when I download or add a file into my local machine download folder in Laravel. any idea for this thing I want to save a file name into DB when it is downloaded or added into my local system folder.How can I perform this logic. any idea..... thanks for advance A: you could just use ...
{ "language": "en", "url": "https://stackoverflow.com/questions/47611166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: date format is not working monthpicker I have a month picker in my form in laravel 4.2. While changing the month, the month and year are shown like 05/2015. But i need it to be in the format May, 2015. {{ HTML::style('public/asset/css/smoothness/jquery-ui.css') }} {{ HTML::style('public/asset/css/MonthPicker.css') }...
{ "language": "en", "url": "https://stackoverflow.com/questions/30343177", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Google Apps Script: Server error occurs when using a UiApp and a server handler in new sheets AND there is a library I converted my sheets from the old to the new sheets as the code started creating sheets in the new version which was causing it to fail. After converting, I am now getting another error which I canno...
{ "language": "en", "url": "https://stackoverflow.com/questions/23506240", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to split/cut till specific path (directory path )of string in perl Input : "/abcd/prod/Cid/1234/Did" or "/abcd/prod/Cid/1234/Did/Pid/234" Output: "/abcd/prod/Cid/1234/" (Only till 4th word, considering '/' is the delimiter) How to slice and get above using perl A: As one-liner : $ perl -F'/' -lane 'print join ...
{ "language": "en", "url": "https://stackoverflow.com/questions/59361600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Subscripting a string in Javascript I have a data in the object section_data.title and i am trying to use str.sup() where str=section_data.title; and str holds following data: str="Not less than 30 net ft2 (2.8 net m2) per patient in a hospital or nursing home, or not less than 15 net ft2 (1.4 net m2) per re...
{ "language": "en", "url": "https://stackoverflow.com/questions/15916662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to apply constraint by Stored procedures that ID should start with 'E' and has 2 numerics aftarwards? EID should only be inserted if it starts with 'E' and has 2 numerics aftarwards .... i was trying to write a procedure for the purpose like: create proc emp_checks(@eid varchar(20), @name varchar(20),@age int, @...
{ "language": "en", "url": "https://stackoverflow.com/questions/62824273", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TCP messages - Durable and fast solution tips? We use Spring integration for TCP socket communication with the hardware. The client would be sending a sequence number to uniquely identify a message. My requirement is to store these sequence numbers part of the socket message and validate them for non repetitive seq...
{ "language": "en", "url": "https://stackoverflow.com/questions/47001637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Contentflow auto resize not working Im using: Contentflow 1.0.2 jquery 1.6.1 I'm trying use Contentflow using reflection and with maximum width/height so it covers all the screen without any scroll bar vertically or horizontally. This example shows exactly what I wanna do, but it uses ImageFlow (another plugin) http...
{ "language": "en", "url": "https://stackoverflow.com/questions/21914167", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Numba and KeyboardInterrupt Exception conflict I'm having a problem compiling KeyboardInterrupt exception using Continuum Numba module. Here's my data acquisition code: @jit def lockinmeasurement(x): Measurement=np.empty((0,5)) XMeas=np.empty((0,2)) event_handler = LoggingEventHandler() observer = Ob...
{ "language": "en", "url": "https://stackoverflow.com/questions/33108075", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Material sidenav causing problem with translate and flex css properties So, currently working with my electron app having a sidenav structure like this: <!-- main container --> <mat-drawer-container> <mat-drawer>parent sidenav</mat-drawer> <mat-drawer-content> parent content <mat-drawer-container> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/62953331", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Variable assigned in dispatch block coming back null I'm trying to make a network call run in a background thread so it doesn't freeze my app while it's waiting. The call happens when I do: nextTime = [myObj getNextTime]; I do an NSLog as soon as I get it, and that one works. However, when I'm outside of the dispat...
{ "language": "en", "url": "https://stackoverflow.com/questions/21763364", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Trying to remove duplicates from large list of objects, keep certain one I have a large list of objects in Python that I'm storing in a text file (for lack of knowledge of how to use any other database for the present). Currently there are 40,000 but I expect the list length eventually may exceed 1,000,000. I'm try...
{ "language": "en", "url": "https://stackoverflow.com/questions/35190221", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run the backend server/code in re-frame template? Using lein re-frame template I see that there's a -main function that runs a jetty server for the backend code located in clj/. Using emacs I've been able to cider-jack-in-cljs and get the frontend running in the browser, hot reload works and all but I've trie...
{ "language": "en", "url": "https://stackoverflow.com/questions/64671545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Bamboo Failing To Run Task - Null Pointer Exception I have had a set of Bamboo plans running for quite awhile but this morning Bamboo has decided to start throwing an exception when running them. The instance of Bamboo is on Linux but the plans themselves are ran from a remote agent running Windows. Specifically t...
{ "language": "en", "url": "https://stackoverflow.com/questions/63378142", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Asp.net WebApi multipart/form-data with id from route definition I'm sending a multipart/form-data request to an action (file upload), but I'm sending it to an action that has the id in the url as specified by the route: routes.MapHttpRoute( name: "DefaultApi", routeTemplate: "api/{controller}/{id}/{action}"...
{ "language": "en", "url": "https://stackoverflow.com/questions/10052634", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to display data from json with looping javascript? This is my json code structure This is my javascript: $('#kurir').change(function(){ var kurirID = $(this).val(); if(kurirID){ $.ajax({ type:"GET", url:"{{url('checkout/kurir')}}?kurir_id="+kurirID, success:function(res){ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/48267756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to use Google Cloud PubSub with Proxy? I'm working with an application that interacts with Google Cloud PubSub. It works fine in normal scenario but I want to enable proxy support so I was going through Publisher.Builder and Subscriber classes and their APIs to see if there are any APIs available to enable proxy...
{ "language": "en", "url": "https://stackoverflow.com/questions/50894423", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to loop backwards after finding a certain line in a txt doc? I am working with using excel data to edit parts of large txt files. Some of these edits require deleting certain sections, and other require copying, pasting, and slightly editing these sections. For example, the txt doc takes this basic fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/57012777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to query the print queue on Windows We are developing a critical application and need to have the finest control over the documents printed. To be sure on which documents are printed or not we want to check the printer queue. How can we query the print queue on Windows (status, queue list, errors, ...)? A: En...
{ "language": "en", "url": "https://stackoverflow.com/questions/553051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Method chaining to communicate between GUI parts in a MVC in Java I am creating a Java Desktop GUI application using the MVC pattern. For the sake of simplicity, I have divided in GUI application into different panels (Scheme of the GUI application) so that each class takes care of something specific. Now, when I am...
{ "language": "en", "url": "https://stackoverflow.com/questions/44440434", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I fix: "start-stop-daemon: warning: this system is not able to track process names" when starting springboot as a systemd service? When I start my spring boot app as a systemd service I receive this error: start-stop-daemon: warning: this system is not able to track process names longer than 15 characters, p...
{ "language": "en", "url": "https://stackoverflow.com/questions/51217606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Need help aligning my textfields with my radio buttons how it looks like right now i' m placing all my inputs on the right with float: right; in my css file. But i'm wondering if there is a way to align my radios to the left side of my text fields? so they all align under each other on the left side. A: I would st...
{ "language": "en", "url": "https://stackoverflow.com/questions/60947987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: store time from stopwatch Javascript in MySQL database I am using a javascript to start and stop a timer (stopwatch). What I want is that when the user press the stop button, the data (the time at that moment) will be stored in my MySQL database. Is that possible? And if yes, what do I need to add as code? (I'm just...
{ "language": "en", "url": "https://stackoverflow.com/questions/21912511", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to setup static page with css in subdirectory in rails public directory I'm trying to setup jekyll blog in my public/blog directory. For this question let say I just want to have public/blog directory with index.html and css/site.css with css for this page. I'm deploying it using capistrano, so I added public/b...
{ "language": "en", "url": "https://stackoverflow.com/questions/59339355", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can a number be Romanised this way? I know there are a few different ways to Romanise a number, however I'm trying to make up my own and was wondering if this approach is possible. It returns Null for every iteration and I can't seem to see what I am missing here. Any help would be much appreciated! var array; va...
{ "language": "en", "url": "https://stackoverflow.com/questions/41780510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Requiring multiple string conditions in WHERE CLAUSE SELECT stu.First_Name, stu.Last_Name, stu.Phone FROM Student stu JOIN Enrollment e ON stu.Student_Id = e.Student_Id JOIN Section sec ON e.Section_Id = sec.Section_Id JOIN Course c ON sec.Course_No = c.Course_No WHERE c.Description = 'Systems Analysis' AND c.Descri...
{ "language": "en", "url": "https://stackoverflow.com/questions/49062437", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Controlling x-axis label format for time series plots - R Is there a way force R to print time stamps as %m/%d/%Y on graphs? When I have short (<7 days) of data it prints as days of the week as below? plot(station_171$datetime, station_171$stageheight, pch=ifelse(station_171$outcode ==122,24,21), col="black", bg=ife...
{ "language": "en", "url": "https://stackoverflow.com/questions/39412536", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to remove label from dynamically generated check box in PyQt5? So I have a table which has several checkboxes dynamically generated using these lines of codes: chkBoxItem = QTableWidgetItem() chkBoxItem.setTextAlignment(Qt.AlignHCenter) chkBoxItem.setFlags(QtCore.Qt.ItemIsUserCheckable | QtCore.Qt.ItemIsEnabled)...
{ "language": "en", "url": "https://stackoverflow.com/questions/56102229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Shortcut to move the cursor to certain characters in Webstorm I've seen several videos where the user is using Webstorm and hits a keyboard shortcut which brings up a small input field that the user can type a letter, number or other character into. Webstorm then presents the user with several choices denoted by "A"...
{ "language": "en", "url": "https://stackoverflow.com/questions/28522153", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is there a better way to dynamically build an SQL WHERE clause than by using 1=1 at its beginning? I'm building some SQL query in C#. It will differ depending on some conditions stored as variables in the code. string Query="SELECT * FROM Table1 WHERE 1=1 "; if (condition1) Query += "AND Col1=0 "; if (condition...
{ "language": "en", "url": "https://stackoverflow.com/questions/17321281", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "119" }
Q: How to generate Java PKCS12 store to connect to regular SSL website? we run a standard web API over https with a regular purchased SSL certificate. Our clients just access it via https, the certificate is trusted via default system RootCA. A new client is using a Java communication server that requires the certifica...
{ "language": "en", "url": "https://stackoverflow.com/questions/67601037", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: asp.net datasource control parameter outside iframe Hope someone can help me here, i have been searching for a solution for a few days now but havent't found it. I have build a page with 2 iframes, SelectCustomer which opens a page in where a dropdownlist lives with customer names and iframecontent in which i load a...
{ "language": "en", "url": "https://stackoverflow.com/questions/17728841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Trouble with Jsfiddle I'm trying to make this Jsfiddle to demonstrate an issue but I can not get it to function properly, can anybody advise? This is the live demo site that I am recreating a Jsfiddle for. Here is my progress on the Jsfiddle. As you can see the thumbnails in my fiddle are not expanding and help woul...
{ "language": "en", "url": "https://stackoverflow.com/questions/50223665", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JOIN query to DBF via VBA I apologize if this has been asked but i can't find where i'm going wrong here. I need to query (2) dbf tables AP and VENDOR which contain vendors and payables. I need to get a list of all the payables entered between two specified dates. ap_vendor contains the vendor ID in the AP table an...
{ "language": "en", "url": "https://stackoverflow.com/questions/49060361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Update Field in ADO Recordset and Re-sort values in Classic ASP Here's the current situation: I have a recordset of products. The price of these products depends upon other information elsewhere on the page. So, as I loop through the recordset for output, I calculate the price using a function, and display it. Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/3056284", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Loop to create dummies out of two df R for easier explanation I'm gonna use a smaller example. I have two DF: DF1: T01 T02 T03 T04 T05 1 15 20 48 25 5 2 12 18 35 30 12 3 13 15 50 60 42 DF2: MEDIAN SD T01 13 1.24 T02 18 2.05 T03 45 6.64 T04 30 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/69665173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Selecting items with join and without foreign key I have query which gets each user's record from blacklist table and relations to them from rules table. It looks like that: $result1 = DB::table('blacklist') ->join('rules', 'blacklist.rule_id', '=', 'rules.id') ->select('blacklist.*', 'rules.clicks',...
{ "language": "en", "url": "https://stackoverflow.com/questions/52205772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Facebook like box plugin not working on navigation I have added the facebook like box plugin code in my web application from https://developers.facebook.com/docs/plugins/like-box-for-pages In my application there is only one html with body tag and I am dynamically adding other html with only div tag as per requirem...
{ "language": "en", "url": "https://stackoverflow.com/questions/22217014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Instantiate a class created during runtime I created the demo below that does the following: * *User writes their class in the JTextArea provided. *Clicks on the Instantiate Class JButton to create a java file regarding the class created by the user. *Clicks on the Run JButton in order to actually use the crea...
{ "language": "en", "url": "https://stackoverflow.com/questions/53354183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Operator Overloading Insertion What is Problem Here. It is not working as an expected. I want that << (insertion) Work For both cout and cin. #include<iostream> using namespace std; class a { private: string name; int age; unsigned long int salary; public: friend ostream& operator << (ostream& ,a ); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/53781349", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cassandra Count Aggregate over intervals I have a table like CREATE TABLE table ( id text, time_stamp timestamp, value text, PRIMARY KEY (id, time_stamp) ) WITH CLUSTERING ORDER BY (time_stamp DESC) What I want is to obtain the counts in intervals of any arbitrary time unit. Example: { "start": "03-08-2016 00:00:00...
{ "language": "en", "url": "https://stackoverflow.com/questions/35874075", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Send post request from visitors network? Possible? I have an post request php code i use to get streaming urls so i can broadcast them to my visitors. Apparently other subscription service i use has stronger security and it requests that stream url be accessed only from the ip you firstly sent request from to get th...
{ "language": "en", "url": "https://stackoverflow.com/questions/41226837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to install boost library using Conan? I'm trying to install boost library using Conan conan install boost/1.79.0@conan/stable but get: boost/1.79.0@conan/stable: Not found in local cache, looking in remotes... boost/1.79.0@conan/stable: Trying with 'conancenter'... ERROR: Unable to find 'boost/1.79.0@conan/stabl...
{ "language": "en", "url": "https://stackoverflow.com/questions/72716292", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: xcode \377 with an upside down '?' I'm programming with c++ in Xcode and I am trying to print out an array but all that prints is "\377" and an upside down '?' at the end of it. What does this mean? A: You probably generated whatever file you're reading on Windows in UTF-16. You should read and write your files in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/26978209", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Maps v2 - onclick listener does not respond after orientation changes I am using Google Maps V2 in my app and when I change orientation to landscape (or basically change th eorientation), the onMapClick method does not respond and does nto respond even after the orientaiton changes again. I know I could avoid...
{ "language": "en", "url": "https://stackoverflow.com/questions/15552315", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Remove positions in a vector containing characters that contains a specific letter I have the vector asset.name_vct with the following characters [1] "A3TV" "ABE" "ABG" "ABG.P_0" "ABG.P_1" "ACS" "ACX" "ACX_0" [9] "AENA" "AGS" "ALT" "AMS" "ANA" "ANA_0" "BBVA" "BKIA" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/61824559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can anyone help me figure out how to import this .txt file into my code? I'm working in VS on a repository in Github. I'm importing this stats.csv file into my code but the .readlines() call isn't printing anything. Does anyone know why? Thank you Tried many different import methods #this is our main code import os ...
{ "language": "en", "url": "https://stackoverflow.com/questions/57155310", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding colour to greyscale image Im looking to add colour to a greyscale image; it doesnt have to be an accurate colour representation but adding a colour to a different shade of grey, this is just to identify different areas of interest within an image. E.g. areas of vegetation are likely to be of a similar shade o...
{ "language": "en", "url": "https://stackoverflow.com/questions/19966164", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to round up and keep number of digits after decimal point in javascript If .950 display .950 If .954 display .955 If .956 display .960 If the value of the thousandths place is between .001 and .004 then round up to .005 If the thousands place is between .006 and .009 then round to .010 and do not drop the zero. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/46753564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: ASP.NET MVC 2 JSONP with MVC Futures I´m using mvc futures 2 with WebApiEnabled for XML and JSON support. But due to cross domain issues with jQuery $.ajax I´m lookin in to JSONP. Is there a simple way to extend futures rest function for JSONP or should I do something else. Do anyone have some hints on this subject ...
{ "language": "en", "url": "https://stackoverflow.com/questions/2776441", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to check type of request (ajax or no) in onsubmit event? In my application forms sometimes is submitted directly, and sometimes by .ajaxForm() from jquery plugin. I want to know how form was submitted. Can I get know about this inside onsubmit event?. $(document).on('submit', 'form', function(e) { if (e.met...
{ "language": "en", "url": "https://stackoverflow.com/questions/35509160", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: create a variable with multiple product id retrived and insert through ajax in different table Insert multiple product_id into database with ajax. After successful checkout with more than one product. How can i insert it into different table (purchase). $.ajax({ type: "POST", url: "pages/aja...
{ "language": "en", "url": "https://stackoverflow.com/questions/48210888", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I fix the problem with Gmail? Gmail marked email with passed SPF, DKIM and DMARC as spam Gmail moves messages to spam folder. PTR records for ipv4 and ipv6 are available. I have the headers: SPF: PASS с IP-адресом 2a05:480:0:992f:0:0:0:2. DKIM: 'PASS', domain drom.com.ua DMARC: 'PASS' Delivered-To: vos...
{ "language": "en", "url": "https://stackoverflow.com/questions/55535533", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }