text
stringlengths
70
452k
dataset
stringclasses
2 values
Lightning Issues on Notes and Attachments added to a Visualforce page I have a visualforce page on a custom object. On save it is redirected to the notes and attachments page. We are now moving to lightning and notes and attachments feature is available. How do I redirect my page to Files in lightning ? The feature is...
common-pile/stackexchange_filtered
How to wait for the image to load before the cycle "for" goes on in onDataChange + Glide? I know that the onDataChange download is asynchronous, but the body has UI Thread. And loading images using Glide is also asynchronous. onDataChange is being executed, it comes to the body of the UI Thread, but there the image is ...
common-pile/stackexchange_filtered
How to make a div pop up on overflow? I want to display a div(with className='invoice-info') on hover of the icon(which is in table cell) like this: <div style={{ position: "relative" }} onMouseEnter={() => setHoveredInvoiceId(result.gsCustomersID)} onMouseLeave={() => setHoveredInvoiceId()} > <i classN...
common-pile/stackexchange_filtered
Intermittent 500 Response from Server for API Call in Angular and Spring Boot Deployment on Tomcat" I have Angular and Spring Boot deployed on same tomcat server and when I hit a specific API, I get 500 response from server and when I again hit the same, it gets loaded. What maybe the possible error here? I have Angula...
common-pile/stackexchange_filtered
How do you get the snapshot of UIScreen from Under a displayed keyboard? Is it possible to get a snapshot of UIScreen under the keyboard? Perhaps this is possible using CALayer? Try capturing the window. The keyboard should be on a different window than the rest of the app. The key window includes the keyboard, is th...
common-pile/stackexchange_filtered
Total precache size is about 0 B for 0 resources With grunt-sw-precache, I am trying to cache my application: 'develop': { // staticFileGlobs: [ // 'app/styles/**/*.css', // 'font/**/*.{woff,ttf,svg,eot}', // 'app/images/**/*.{gif,png,jpg}', // 'app/scripts/**/*.js', ...
common-pile/stackexchange_filtered
Chrome does not open a new tab when starting a project in Visual Studio (2019 and 2022) I have a project here, and in its debug settings, it is configured to open a new tab when the project starts. project config When I set any browser other than Chrome, it opens a new tab normally, but when I configure Chrome specific...
common-pile/stackexchange_filtered
HTML5 main element versus ARIA landmark role="main" I'm interested to learn more about the relationship, and possible distinctions, between the HTML5 <main> element, and the ARIA landmark role attribute role="main". I'm under the impression that the purpose of the <main> element is to map the ARIA roll attribute role="...
common-pile/stackexchange_filtered
How to find most common expressions starting with "iron"? I want to find a list of 2-word expressions starting with iron: i.e. ironing board, iron filings, iron bridge Can you suggest a vocabulary tool for that? e.g. "derived terms" in wiktionary www.wordmaker.info (Select 'starting with', then enter iron in the s...
common-pile/stackexchange_filtered
Translating "整理し" そうした時に、弊事務所は、まず整理し何が問題かを可視化します。 Trying to translate this, for now I have At such times, our firm first organizes and visualizes what the problem is. But I'm not comfortable with the idea that the firm "organizes [...] what the problem is". Should the idea of "整理し" be on its own? For example: At s...
common-pile/stackexchange_filtered
Span text does not appear in element with innerHtml I want to have two elements: <p> with inner html and in same <p> element <span> tag with normal text. <p innerHtml="{{ someText | slice: 0:150 }}"> <span>...Read more</span></p> The problem is, that with innerHtmml tag "...Read more" span text is not appearing in ...
common-pile/stackexchange_filtered
Linear regression - changes in the form of Beta coefficients We all know that we can fit a linear regression model even in cases when our predictors are not linearly related to the dependent. Like the example below (polynomial regression) - (y = a + b X^2) can be written as (y = a + b Z) where Z = X^2 My question is, c...
common-pile/stackexchange_filtered
PHP PDO Table and seperate buttons noob here. I am trying to create a table where I can put in separate buttons that link to my next .php page and to certain information from the next page tables. I have tried for hours and hours to get a style of table pdo that will allow me to add my own separate buttons with link to...
common-pile/stackexchange_filtered
Same values with different pointers in a linked list? Why does this code output the same name for all the nodes in the linked list? Program output Insert number of users : 4 Mike John Bob Alice Name : Alice @ Pointer :0x874ae0 Name : Alice @ Pointer :0x874b00 Name : Alice @ Pointer :0x874b20 Name : Alice @ Pointer ...
common-pile/stackexchange_filtered
Convert an image placeholder into an HTML <img> tag using preg_replace() I want to replace square-braced image placeholders with valid HTML markup. A sample placeholder might look like this: [img:http://example.com/_data/025_img.jpg] I want is to change the bit where it says [img: ... ] with <img> tag and get a result...
common-pile/stackexchange_filtered
Rename files, keep old incremented file order I have used this to rename and increment file names with PowerShell: $nr = 1 DIR | % { Rename-Item $_ -NewName ('File{0}.jpg' -f $nr++) } It works but it seem it is renaming the files in the order of creation date. I have 500 files each bulked in folders of 100 pics each, ...
common-pile/stackexchange_filtered
How to call PHP function from string stored in a Variable with arguments I found question from here. But I need to call function name with argument. I need to be able to call a function, but the function name is stored in a variable, is this possible? e.g: function foo ($argument) { //code here } function bar ($argu...
common-pile/stackexchange_filtered
Laptop built in Mousepad and Steam Input Virtual Gamepad don't work with raw input? I'm trying to make a program in C# that reads button inputs from all your connected mice, keyboards and hid devices. So far it's working without issues on my wired usb mouse, wired and wireless bluetooth gamepad and built in laptop keyb...
common-pile/stackexchange_filtered
Simulating cookies with python web crawler I need some help with this. I am trying to make a web crawler with the 'requests' lib as well as the BeautifulSoup4 lib but in order to successfully do that I have to visit a link to activate specific cookies that allow me search things of that query. import requests from bs4 ...
common-pile/stackexchange_filtered
curl response for youtube upload I have another question concerning YouTube upload. Based on the answer that I received from khael here (replace form input file with direct file upload), the script uploads the video perfectly. However, the curl response is "Moved Temporarily". What I need instead is to get the YouTube ...
common-pile/stackexchange_filtered
Can electrodynamic tether propulsion use the solar magnetic field? Electrodynamic tethers have been proposed for satellite propulsion in the magnetic fields of Earth and the Gas Giant planets. Is it realistic to consider using the Sun's magnetic field for electrodynamic propulsion in the inner solar system? The Sun's m...
common-pile/stackexchange_filtered
Update a table using ArrayList by making a single DB call I want to update multiple rows in a table based on the ArrayList<> below in a single DB call using Spring JPA. CREATE TABLE phoneStatus (Status VARCHAR(1000) NOT NULL, Phone VARCHAR(100) NOT NULL) [ { "status": "Green", "phone": "2099028090"...
common-pile/stackexchange_filtered
Vue.js <component> tag not loading imported components; using Composition API I am trying to make a simple page that has a handful of tabs which show different content, using dynamic components with the <component> tag. I recently learned about Composition API and wanted to try it out, but it is giving me some problems...
common-pile/stackexchange_filtered
How to set up multiple targets per project in premake? I am trying to set up multiple targets in premake. Currently, I am focusing on Xcode but hopefully the same idea should also apply to MS Visual studio. In my workspace, I have one library with currently one build target named after the project name (let's call it "...
common-pile/stackexchange_filtered
Migrate zookeeper data on Kubernetes to new storage I'm running Zookeeper on K8s with PVC based on gp2. I want to recreate ZK cluster but with different PVC that is based on different StorageClass. Solutions like zcopy can't really help here since this requires that I will have two clusters running but in my case only ...
common-pile/stackexchange_filtered
Consequence of injectivity of projections from covering spaces We have the theorem which says that the induced homomorphism $p_* : \pi_1(\tilde X,\tilde x_0)\rightarrow \pi_1(X,x_0)$ is injective (hence a monomorphism). Here $\tilde X$ is a covering space of $X$. I am just trying to digest this fact (the injectivity), ...
common-pile/stackexchange_filtered
How do I apply floor( ) and ceiling( ) to a log(x) correctly? I am attempting to work out, by using a manual method, how to apply the floor() and ceiling() functions to log2(2096) (2096 is used as an example). My understanding is this (and I am very much a beginner): First, by using a scientific calculator calculating ...
common-pile/stackexchange_filtered
New to Arduino building I am new to Arduino an working with the Uno. My dream is to activate servos in a perticular order once some type of sensor recognizes a live person near it. Is their a perticular easy to understand book out there I can read? There are lots and lots of books but they all get very complex rathe...
common-pile/stackexchange_filtered
Parse JSON file using VBScript - QTP/UFT I am using QTP/UFT for automating my UI application. I would like to compare the UI values with the values from the REST API response. I'm new to VBScript and I have coded the method to call the REST API and get the response but i'm trying to find a solution how to parse the JSO...
common-pile/stackexchange_filtered
Are FP and OO orthogonal? I have heard this time and again, and I am trying to understand and validate the idea that FP and OO are orthogonal. First of all, what does it mean for 2 concepts to be orthogonal? FP encourages immutability and purity as much as possible, while OO seems built for state and mutation – a sligh...
common-pile/stackexchange_filtered
Ansible - how to loop through services present in inventory file winapp.example.comHello, I have an inventory file that holds both windows application servers, web servers and only respective services which need to stopped or restarted. Requirement is only specific services should be stopped for group of hosts. For e.g...
common-pile/stackexchange_filtered
How to solve : SyntaxError: await is only valid in async function in nodejs I want to call a function in usercontroller which is placed in another controller. I have used async function but still receiving SyntaxError: await is only valid in async function My code is as follow. UserController.js exports.adduser = asy...
common-pile/stackexchange_filtered
Making a tensegrity table height adjustable I'm interested in making a "tensegrity" coffee table shaped like this: That is, two rigid (in my case wooden) frames connected by five prestressed tensioned cables (chains in the image) with a slab on top. My question is how such a table could be made height-adjustable (manu...
common-pile/stackexchange_filtered
Powershell: string manipulations I'll explain what i want by example, not sure how to explain it another way. Heres the code im using : Get-WmiObject win32_share | select name, path an example entry is from the above is: name path ADMIN$ C:\windows C$ C:\ I want to put all names an...
common-pile/stackexchange_filtered
Sum of square of integers when divided by 8 can't leave a remainder of 7 I've been practising Math and I'm now stuck at the following exercise. I have the solution written down: Exercise 1. Sum of three square of integers when divided by 8 can't leave a remainder of 7. Prove it. Lets write these three numbers as ...
common-pile/stackexchange_filtered
USB3.x and AC-Coupling Caps on the RX lines In the USB3.2 Specification (Sept. 22, 2017) Table 6-18 and Table 6-22 give some characteristics for the TX and RX lines. Basically, I understand that the TX lines have AC-Coupling capacitors to block DC and let just the AC signals pass. How is the min/max (75nF to 265nF) dec...
common-pile/stackexchange_filtered
What's the bug in the following code? #include <iostream> #include <algorithm> #include <vector> #include <boost/array.hpp> #include <boost/bind.hpp> int main() { boost::array<int, 4> a = {45, 11, 67, 23}; std::vector<int> v(a.begin(), a.end()); std::vector<int> v2; std::transform(v.begin(), v.end(), v2.begin(...
common-pile/stackexchange_filtered
Win32: Atomic Execution of Code Block I have two system calls GetSystemTime() and GetThreadTimes() that I need to calculate the CPU utilization by a given Win32 thread. For the sake of accuracy, I need to ensure that both GetSystemTime() and GetThreadTimes() are executed atomically; i.e. there should be no context swit...
common-pile/stackexchange_filtered
ANGULARJS How to keep controllers tidy when managing view logic? After reading these articles I've been trying to decouple my app: http://toddmotto.com/opinionated-angular-js-styleguide-for-teams/ http://toddmotto.com/rethinking-angular-js-controllers/ One of the insight of the articles is this one: Controller drives ...
common-pile/stackexchange_filtered
Calculate taylor series in Wolfram Mathematica or Maple I want to calc the Taylor Series Expansion of $Â(z) = z\sum_{j\ge0}(e^z - e^{(1 - 2^{-j})z})$ at $z=0$, but I can't figure out a way to handle the infinite summation. When I ask Maple taylor(z*(Sum(e^z - e^((1-2^(-j))*z), j = 0 .. infinite)), z = 0, 8) it gives ...
common-pile/stackexchange_filtered
Save JavaScript array to server using PHP I have recently started coding with javascript/php using the Cloud9 IDE. I know this may be a duplicate of some questions on here, but I have yet to find a solution that works for me. I have an array of custom javascript objects that I would like to save to a file on the server...
common-pile/stackexchange_filtered
Rails APP_PATH's Test dependency I have the following test: def test_to_show_warnings_if_app_path_is_defined require File.dirname(__FILE__) + '/../lib/macros.rb' warnings = $stderr.string.split(/\n/) warnings.each { |w| assert_no_match(/warning: already initialized constant/,...
common-pile/stackexchange_filtered
Is the polynomial $x^3 + 2x^2 + 1$ irreducible in $\mathbb{Z}_{17}[x]$? Is the polynomial $x^3 + 2x^2 + 1$ irreducible in $\mathbb{Z}_{17}[x]$? It seems this polynomial is reducible. How can I factor this? Thanks! You can just check all the values from $0$ to $16$ to see if it has a root. Since it's cubic, if it fac...
common-pile/stackexchange_filtered
Immediately delete managed files I have a use case (in D8) where file and corresponding directory needs to be deleted from the file system. The standard mechanism suggested by Drupal is to mark file as temporary and let cron take care of deletion. This means, in my case, that I need to keep track of the file deletion a...
common-pile/stackexchange_filtered
How to perform multiplication on two column for datagrid view and assigning it in third column? Here is my code, I am trying to display multiplication of Rate * Supply column values and assigning it to the Amount column in data grid view : try { Query = "Select id,Code,Description,Rate,Cust_Id,Supply,Empty,Amount,...
common-pile/stackexchange_filtered
Angular Js Translation Partial Issue I am binding translation. The issue is , some object convert to translated value, while some like mentioned below didn't work. This issue happened only first time when I build project. On refresh it gets fine. This is not happening to all html objects. angular.module('App').factory(...
common-pile/stackexchange_filtered
mod_perl and inheriting STDIN in child process I have this old Perl script that is supposed to act as a proxy of sorts between HTTP-based clients and non-HTTP Java server: the client POSTs some data to this Perl script and the script would in turn call the Java server, get the response and return it to the client. The ...
common-pile/stackexchange_filtered
Jquery click functions runs before clicking I want my jquery to load a function when a button is clicked. This works fine: $(document).ready(function() { $("#register").click(function() { alert("button"); }); This one will show the test() function before the document loads: $(document).ready(function() { func...
common-pile/stackexchange_filtered
JSF 2 selectOneRadio Not Setting value in Bean I have a JSF page with the following radio button definition: <h:selectOneRadio id="durationList" value="#{rentalEquipmentCheckoutController.selectedDuration}" styleClass="durationList"> <f:selectItems var="d" value="#{rentalEquipmentCheckoutController.durationList}" itemV...
common-pile/stackexchange_filtered
limit result upon sum of two column Table: id | c1 | c2 ------------- 1 | 10 | 20 2 | 55 | 20 3 | 30 | 30 4 | 11 | 80 5 | 12 | 20 and query select (sum(c1)+sum(c2))as sum from mytable where sum > 100 ?? the above generates an error as sum not part of the table. any work around to limit / where condition to ...
common-pile/stackexchange_filtered
How to classify Eurostyle How do you classify Eurostile and similar boxy and wide typefaces? Geometric Sans Serifs come up as a suggestion, and I understand why, but I hope that there is another sub-classification for it. I'm not entirely sure what you are looking for here, but Eurostyle is generally viewed as a "disp...
common-pile/stackexchange_filtered
How to use Microsoft Authentification in ASP.NET Core with React I am currently trying to get Microsoft authentification running on ASP.NET Core. Basically I want to login on the frontend(React) and use my custom API. A call might look like https://example.com/API/returnHelloWorld Now in React Im using @azure/msal-bro...
common-pile/stackexchange_filtered
Powershell script to restore a SQL Server database with multiple TRN files I am trying to come up with a Powershell script to dynamically do 'Restore Database' in SQL Server 2019 with multiple TRN (or BAK in my case) files that are located in one folder on a daily basis. I will manually do the full backup first, and th...
common-pile/stackexchange_filtered
STM32F1 FreeRTOS osDelay (also vTaskDelay) make task stop running I am using FreeRTOS with STM32F103C8T6 (code generated by CubeMX) and experiencing very strange behavior in my application while using osDelay or vTaskDelay functions. Structure of my app is 3 tasks. Task1: reads GPS data and provides location in queue. ...
common-pile/stackexchange_filtered
Managed DigitalOcean Redis instance giving Redis AbortError I setup managed redis and managed postgres on digital ocean. Digital ocean gave me a .crt file, I don't know what to do with this, so didn't do anything with it. Can this be the root of the problem below: Or do I have to allow docker container to reach outside...
common-pile/stackexchange_filtered
question with four choices I have this sentence in a Literature class: For Hemingway, the world was defined by strife: full of chaos, moral decisions and ambiguous moral boundaries, and inevitable pain. to what does each "and" refer? the word "inevitable" in the passage is closest in meaning to? a. a certain b. ...
common-pile/stackexchange_filtered
What exploit are these user agents trying to use? I just looked at my user agent tracking page on my site (archived on Yandex) and I noticed these user agents. I believe they are an attempt to exploit my server (Nginx with PHP). The 1 in front of it is just how many times the user agent was seen in the Nginx log. These...
common-pile/stackexchange_filtered
2 Find statements in one function in CakePHP 2.1 Hi I'm currently working on a project and was wondering if it was possible to do two find functions in cakephp? For example I am making a sports news website and I am grouping the news articles as top story, understory and headline. What I want to do is retrive top sto...
common-pile/stackexchange_filtered
What exactly is the $\mathcal O_X$-module and the corresponding sheaf of modules? I am very puzzled by the definition in the Wiki page. I understand that over a subset $U$ we can assign a sheaf of abelian groups, e.g. some analytic functions over $U$. So we consider that these functions form a nice abelian group (satis...
common-pile/stackexchange_filtered
bootstrap v4 modal height 100% (media-sensitive) How to set height of modal window min-height 100% via classes? For example, h100 for all screens, and h100-sm-up, h100-md-up? It looks very well if modal height is as usual, but at mobile it resizes to 100% height.
common-pile/stackexchange_filtered
Trying to access array offset on value of type bool - PHP 8.1 - Wordpress - Mulivendorx plugin I get this error when this code is run as a Wordpress code snippet using WP Code plugin. I'm sure it has to do with the code provided by the plugin developer being out of date, not in-line with current PHP version but I don'...
common-pile/stackexchange_filtered
Complex Multi-Conditional IF Function, return value I need some help returning a desired figure with a complex formula. I've included a sample table with some dummy data, and have almost reached the solution which returns the correct true/false conditions but need some help printing the figure. My brain is a bit frazzl...
common-pile/stackexchange_filtered
Url pattern matching in chrome for context menus Hello I am trying to make a context menu whenever a link to a torrent file has been right clicked. I am trying to create a context menu like this: var id = chrome.contextMenus.create({"title": "Send to seedbox", "contexts":["link"], ...
common-pile/stackexchange_filtered
Wordpress taxonomy attachment I created to add attachment for a custom taxonomy. It works, but i don't know how can I print the taxonomy with the attachment. function add_stars_to_attachments() { register_taxonomy_for_object_type( 'star', 'attachment' ); } add_action( 'init' , 'add_stars_to_attachments' );` this i...
common-pile/stackexchange_filtered
Production server issue with symfony routing.yml I've an existing project in symfony 1.4 For few new static pages, I added few rules in routing.yml file. Added rules are homepage: url: / param: { module: page, action: index } career: url: /career param: { module: page, action: career } company: url: /...
common-pile/stackexchange_filtered
Draw smooth line between geopoints on android I've drawed line between geopoints. its successfully drawed. when we see the map, the drawline look like pixelated when adjecent of next drawling. how to merge the line? My code is here, @Override public void draw(Canvas canvas, MapView mapview, boolean shadow) { super...
common-pile/stackexchange_filtered
Apps larger than 50MB prohibited by the App Store If we read the App Store Review Guidelines for iOS there is a point that 2.15 Apps larger than 50MB in size will not download over cellular networks (this is automatically prohibited by the App Store) Why this is so we all know that there are thousands of apps which...
common-pile/stackexchange_filtered
pyinstaller on UBuntu , giving error "pyconfig.h not found" I am trying to convert my python script to executable file on ubuntu in virtual environmentn using pyinstaller. But its giving error saying "/python2.7/pyconfig.h" when adding binary and data files".... I have attached the screenshot here. So far whatever I h...
common-pile/stackexchange_filtered
Is it possible to perform 32-bit bitwise operation on a 4 elements unsigned char array in C language? I'm trying to write a C program to rotate a word inside a unsigned char array of 4 elements. Each array is organized inside a uint8_t 4x4 matrix, and the user would type in some text, which would get stored inside this...
common-pile/stackexchange_filtered
Retrieving information from external workbook from current open workbook using a user form I code for userform that allows me to retrieve information using project ID within the Excel sheet of the workbook. However, now I would need to search based on the user input for the projectID found in the external workbook cal...
common-pile/stackexchange_filtered
Automorphism, relation 'greater than' Disclaimer: I'm very new to group theory and trying to understand it. My book states the following: The image $\mathbb{R} \rightarrow \mathbb{R}: x \rightarrow -x $ is an automorphism for $ \mathbb{R} $ relative to the order relations $\leq$ and $\geq$. The book doesn't state pr...
common-pile/stackexchange_filtered
MongoDB: How to query document where the currentDate is newer than endDate (expired) MongoDB: How to query document where the currentDate is newer than endDate (expired). These fields are in the same document. "startDate" : ISODate("2020-02-27T11:00:00.000Z"), "endDate" : ISODate("2020-03-05T10:59:00.000Z") Use the $...
common-pile/stackexchange_filtered
BorderLayout Design Error I have some code like the below: public static void main(String[] args) { JFrame f = new BorderTest(); JPanel p = new JPanel(); p.setLayout(new BorderLayout()); p.add(new JButton("West"), "West"); p.add(new JButton("East"), "East"); p.add(new JButton("North"), "North")...
common-pile/stackexchange_filtered
Is there a way to set parent folder for Tabulator library? I installed the download zip version of the Tabulator. I am getting an error "Tabulator is not defined" when I try to set the Tabulator library in previous directory. I have placed the Tabulator library in the previous directory to where the application lives. ...
common-pile/stackexchange_filtered
MySQL Query returns string instead of numeric value I want to multiply 4 with number of faults if faulttype='business' and faultseverity='fatal', using query listed below; Select faulttype, IF (faulttype='business' AND faultseverity='fatal', 1,0)* 4 FROM tbl_fault WHERE product='DAS' AND faultdistribution='missed' gro...
common-pile/stackexchange_filtered
Has there been a reputation recalc? I'm pretty sure I was on 2467 rep yesterday. Today I am on 2436. I don't see any obvious changes in my accepted answers etc. Anyone else experience something like this? Found the answer. Apparently, reputation has been recalculated globally across all sites. I've also raised a featu...
common-pile/stackexchange_filtered
Is the following set dense in $L^2$? Lately I was talking to a friend of mine and we came up with the following question Denote by $\mathcal{P}$ the set of all real valued polynomial functions. Is the set $$ \{ p(x) e^{- \alpha \vert x \vert} \ : \ p\in \mathcal{P}, \ \alpha \in \mathbb{R}_{>0} \} $$ dense in $L^2...
common-pile/stackexchange_filtered
Runtime button is going under the form object What I want to do is creating a button at runtime. But I want to show that on the ListBox. I create a button but it is going under the ListBox. The ListBox is hiding the button. Pick a better Location or call the button's BringToFront() method. You can use Control.BringTo...
common-pile/stackexchange_filtered
_WIN32_WINNT for Windows Phone 8 (Force Include versus define)? TLDR: question is at the bottom. I'm trying to compile a library from the command line for Windows Phone 8. I have all the hardware and software in place. As a test, I was successful in creating a test library from a Visual Studio solution. When I attempt ...
common-pile/stackexchange_filtered
php importance of a number in a set of numbers I have a set of numbers e.g. $input = array(1, 4, 7, 4, 9, 4, 8, 6, 2, 8, 7, 7, 4, 5, 3); I am trying to work out the importance of each number based on the following rule: As the sequence gets longer the numbers get less significant, and each time a number is mentioned ...
common-pile/stackexchange_filtered
How should I clean under the narrow toilet rim to restore full flush power? I have just moved into a new apartment and I found the toilet does not have a very powerful flush. After thoroughly cleaning the entire toilet – inside and out –, checking the water valve is fully open, and tank water level is correct, I still ...
common-pile/stackexchange_filtered
How do I configure CLion standard console output? Problem: CLion doesn't output any console output for debugging purposes. I'm using CLion with the MingW compiler and cmake. No matter whether I use: std::cout << "Testing" << std::endl; Or: printf("Testing"); I don't see any console output. Attempts at Resolution: 1:...
common-pile/stackexchange_filtered
Reading and Writing to a SQL Database from multiple processes and threads I building an application that continuously fetches weather data from an API for multiple cities and reads/writes this data to a SQL (MySQL) database using multiple processes and threads in Python. I am relatively new at this. Let's say there are...
common-pile/stackexchange_filtered
What is the Fastest a Character Can Move in One Turn? At level 20 with any magic items in the DMG, and any spells, what is the fastest a DnD 5e character could move using their movement? (i.e., not including teleportation) Are other abilities, magical items, etc., acceptable, such as a Transmuter's Stone, or do you w...
common-pile/stackexchange_filtered
Is there a way to load JS and CSS only when necessary? We are rewriting a very large legacy Webforms .NET application. Ideally, I would like to have it completely as SPA, based on AngularJS, Bootstrap, and WebAPI. Obviously, the overall look and feel should be consistent across the application. I have one big concern, ...
common-pile/stackexchange_filtered
Swift Vision Framework - VNRecognizeTextRequest: argument passed to call that takes no arguments I'm currently building a small CLI tool in Swift 5.4 and wanted to use the Vision Framework to extract all the text in an Image. The Article I'm following to accomplish this task is provided by Apple and can be found here. ...
common-pile/stackexchange_filtered
MR. REECE GEHERTY The crystal splits one photon into two, but how does that even work? The energy has to be conserved somehow. INTAUM Right, so if the pump photon has frequency $\omega_p$, the two output photons have frequencies that add up to it: $\omega_s + \omega_i = \omega_p$. ANDREW DONOVAN Think of it like this...
sci-datasets/scilogues
Find the encryption type with the orignal message and the crypted message Does its possible or does is a tool that can find the encryption method when we have the original message and the crypted message ? Example : crypted message : ZHVoYW1lbA : original message : duhamel example2 : crypted message : ZmV5 ...
common-pile/stackexchange_filtered
Re-Scaling Pine Script when i draw hline which is far away from current price region it shrinks chart (re scale) to show all the lines. Is there any way i can keep all those hlines but not scaling/ squeezing my chart to show them all unless i am in that price area. or is there any function other than hline to help me f...
common-pile/stackexchange_filtered
How to call the method from javascript file inside from the typescript This is my javascript class: TestClass.js /** * http://usejsdoc.org/ */ export class TestClass{ constructor(){ } echo(){ alert("Echo") } } This is my definition file:test.d.ts /** * http://usejsdoc.org/ */ declare cla...
common-pile/stackexchange_filtered
My Host changed MySQL Auto_increment column to two After a recent change my host has made, all auto_increment columns are incrementing by two. After emailing my host about this, this is what they said: This sites is located on our new load balanced shared platform. This behaviour is expected on the new cluster. The ...
common-pile/stackexchange_filtered
How to make an auction command I actually want to make an auction command, it is pretty simple Me: (prefix)bid 1 mil Bot: zeyad bid 1 mil Bot: going once Some other user: (prefix)bid 2 mil Bot: user bid 2 mil Bot: going once Bot: going twice Bot: sold to user So basically i want it to break the command which sends (goi...
common-pile/stackexchange_filtered
Cannot start activity from non-activity class OK this question has been asked many times in the past and I went through a lot of them but I still couldn't figure out what is the right way of doing this. In my app I have a login activity. I am making some api hits inside a thread inside a class (Lets call it ApiHitter) ...
common-pile/stackexchange_filtered
Store AES key in Android i want to store AES key in AndroidKeyStore on pre-M device i tried to use key generated with KeyGenerator KeyGenerator keyGen = KeyGenerator.getInstance(KeyProperties.KEY_ALGORITHM_AES); keyGen.init(256); SecretKey secretKey = keyGen.generateKey(); but i cannot access to that key from KeyStore...
common-pile/stackexchange_filtered
Pass multiple objects from same servlet to jsp I want to send 2 objects (e.g. User.java object and Travel.java object) from my servlet to my jsp page. Following is my servlet code: Travel bookTravel=new Travel(); User user=new User(); SearchService searchService=new SearchService(); bookTravel=searchSe...
common-pile/stackexchange_filtered
How do I split a string with a width of 2 into rows of a data frame as fast as possible in R I have the following R script library(stringr) library(tibble) string <- "just_do_its" string_to_df <- function(string){ vector_a <- NULL for(i in 1:nchar(string)){ s <- substring(string, i, i+1) vector_a[i] <- s ...
common-pile/stackexchange_filtered
How to improve nested loop in C#? I have a function to calculate the costMatrix like this code below. public double[,] makeCostMatrixClassic(List<PointD> firstSeq, List<PointD> secondSeq) { double[,] costMatrix = new double[firstSeq.Count, secondSeq.Count]; costMatrix[0, 0] = Math.Round(this.getEuclideanDistanc...
common-pile/stackexchange_filtered
Unable to connect to AWS-RDS MySql Database When creating the database in AWS RDS console, I can connect to the database using MySql Workbench, but after some time, when restarting the MySql Workbench and try to connect to the same database then I am getting an error Your connection attempt failed for user 'username' f...
common-pile/stackexchange_filtered
Autodesk - Unable to upload images to Photo scene I am having issues with sending files to the endpoint: https://developer.api.autodesk.com/photo-to-3d/v1/file Once I receive the Auth token, I successfully create a Photo Scene with: https://developer.api.autodesk.com/photo-to-3d/v1/photoscene. Then I also check, if the...
common-pile/stackexchange_filtered
Javascript Framework compatible with JQuery Plugin I have to integrate an existing UI application to a REST based back end. The UI is a single html page that uses JQuery + CSS to create a sliding tab experience. Both the UI and REST application are Spring Boot apps. I'm new to Javascript frameworks. AngularJS made a lo...
common-pile/stackexchange_filtered