text
stringlengths
70
452k
dataset
stringclasses
2 values
Don't show any content and article after migration in joomla 2.5 Sir, I upgrade my current joomla 1.5.14 site to 1.5.26 latest version. It has done successfully. After that i migrate this site in joomla 2.5 with redmigrator. Migrate has been done but now no content and article show in my mirated joomla 2.5 site. I...
common-pile/stackexchange_filtered
C++ Pre-compiled header and included file organization I have a very large Native C++ project with hundreds of classes each defined in their own .cpp and .h file. Nothing weird here. I have all of the classes declared in my pre-compiled header stdafx.h file and also included in the stdafx.h file as shown below (to allo...
common-pile/stackexchange_filtered
Change ToolTip font I need a tooltip with custom Font. I have the following code, and this works... but the tooltip size does not fit the text. Where is the error? Public Class KeolisTooltip Inherits ToolTip Sub New() MyBase.New() Me.OwnerDraw = True AddHandler Me.Draw, AddressOf OnDraw End Sub ...
common-pile/stackexchange_filtered
Is it better to prove a generalization of a theorem before presenting specific cases? In (mostly) mathematical publications, when proving a theorem that can be generalized to a wider range of parameters, is it generally considered better practice to: Present a special case of a theorem first, and then prove it in a ge...
common-pile/stackexchange_filtered
Spring MVC RestController scope I have the following Spring controller: package hello; import java.util.concurrent.atomic.AtomicLong; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestControlle...
common-pile/stackexchange_filtered
How to bind all functions of 'Shift' button to another one? I have a keyboard with broken Shift button, but I have some additional buttons like Mail, Home etc. I want to make my Mail button as Shift button (because I have used Windows and software for my keyboard wich makes it). I have almost read this answer, but it i...
common-pile/stackexchange_filtered
Remove duplicated firewall rules SimpleFC::AdvAddRule from NSIS Simple Firewall Plugin will add a duplicate rule if the exact rule already exists. SimpleFC::AdvRemoveRule [name] will remove one entry, but not all of them. What is a good way to remove duplicated firewall rules? You could probably use a loop and remove ...
common-pile/stackexchange_filtered
Providing normal users(non-root) with initialization and shutdown auto-run capabilities I'm hosting an experimental/testing Linux box, running Debian Wheezy 7.4.0 distribution. Different users log into the machine over ssh to their accounts and are allowed to run the development tools and leave their programs running a...
common-pile/stackexchange_filtered
Find $a$ and $b$ in a 4 equation system $a, b \in\mathbb{R}$. I have four equations: $$x+3y-2z+t=-3$$ $$3x+11y+az+5t=2$$ $$3x+12y-6z+6t=b$$ $$4x+15y-8z+8t=-5$$ I have to find out the values of $a$ and $b$ where the system is solvable (has exactly 1 solution). I also have to find out what values of $a$ and $b$ make the...
common-pile/stackexchange_filtered
JS not working after doing custom css on Wordpress Site I am currently in the process of developing an online shop via wordpress. Everything was working fine, now I wanted to give my page a custom border( inverted round corners) and found the css code for it as seen here: css: body { background-color: #fff; } .wrapp...
common-pile/stackexchange_filtered
What's the error in the code.? Okay..so the Question is ..assume it was monday on the 1st of january 2001 so..taking that as a reference...a YEAR is input by the keyboard,find out what is the day on the 1st january of that(input) year. In my program(below)..when person types a input greater than the reference year(2001...
common-pile/stackexchange_filtered
UIControl to create a popup in an ios ipad application I want to create a popup window (like given in image) in an ipad application. What UI Control that i should be using. It would be great if someone can suggest me a tutorial. I am looking for ipad only application. This is view controller presented in modal mode. ...
common-pile/stackexchange_filtered
Linux: How can i grep text from string to string How can I get text using grep command txt that seats between two strings? for example: <--string 1--> the text i need <--string 2--> the "the text i need" between the two tags is dynamic, therefor i need a command that will output text from "<--string 1-->" to "<--stri...
common-pile/stackexchange_filtered
Python Tornado handler behavior I am playing with Python Tornado and have what should be a very basic question. As I understand the code snippet below invoking either localhost:3000 or localhost:3000/register should direct me to register.html but for whatever reason localhost:3000 successfully takes me to the page whe...
common-pile/stackexchange_filtered
Is there a way to receive notifications from specific questions updates? Sometimes, there are questions that let you really curious about what will be the final solution (if there is finally a solution). And I wonder if there is any way to subscribe to that question, and receive updates as they happen. Thanks! You can...
common-pile/stackexchange_filtered
Adding new object to retrieved NSMutableArray - returns NSInternalInconsistencyException I keep getting this error when I try to add an object to a retrieved NSMutableArray. Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[__NSCFArray insertObject:atIndex:]: mutating method sent ...
common-pile/stackexchange_filtered
Data for specific date My report gets data for the 1st of the current month. Let's say the 1st has still not come then how would I make the report show the data for the 1st of the previous month. Thanks. Sharing your research helps everyone. Tell us what you've tried and why it didn’t meet your needs. This demonstrat...
common-pile/stackexchange_filtered
TFS SDK how to download image from TFS Description Field I developed some integration between Jira and TFS. Some bugs in TFS have image in Description like this: <span style="color:black;font-family:&quot;Segoe UI&quot;,sans-serif;font-size:9pt;"><img style="width:606px;" src="http://server:8080/tfs/IT_Systems/WorkIte...
common-pile/stackexchange_filtered
Hasse principle for $H^2$ of a maximal torus of a connected quasisplit group? Let $k$ be a number field and let $G$ be a quasisplit reductive algebraic group over $k$. Does there exist a maximal torus in $G$ such that the Hasse principle in dimension $2$ holds, i.e., such that the map $H^2(k,T) \to \prod_v H^2(k_v,T)$ ...
common-pile/stackexchange_filtered
Recursive query within recursive query I would like to solve a problem consisting of 2 recursions. In one of the 2 recursions I find out the answer to one question which is "What is the leaf member of a specific input (template)?" This is already solved. In a second recursion I would like to run this query for a number...
common-pile/stackexchange_filtered
How to resolve "requires DC 10 Wisdom (Perception) check"? Background: I will be DM of an upcoming gaming session. I and the players are all new to D&D or roleplaying. This will be our first session (and unfortunately there are no other gaming groups in our area that we can join). For running this first gaming session,...
common-pile/stackexchange_filtered
AspectJ Maven Plugin <weaveDependency> I am trying to use aspectj maven plugin in our project that has multiple modules. Following the instructions given in this link http://mojo.codehaus.org/aspectj-maven-plugin/weaveJars.html I am using @Aspectj annotation. My aspect is in a separate maven module called artifactId -...
common-pile/stackexchange_filtered
How to set title of a xhtml panel when it is closed I use this code: <p:panel header="Advanced User Data" toggleable="true" toggleOrientation="horizontal" collapsed="true"> some other stuff... </p:panel> Is there an attribute with which I can set the title when th panel is closed like this: example There is no at...
common-pile/stackexchange_filtered
How to determine the occurrence of 4 points in one plane in Euclidean geometry Today I was trying to compile the basic laws of Euclidean geometry, and I found that I was missing something basic. I want to determine whether 4 points fall in one plane or not Note that my question is related to Euclidean geometry so pleas...
common-pile/stackexchange_filtered
When I add new .feature file in intellij in resources folder ,it is not getting added ,I tried refresh as well I'm adding new feature file to the resources/appfeatures folder ,it is accepting addition of new .feature file but after adding there is no feature file even I tried refreshing as well in Intellij When I refr...
common-pile/stackexchange_filtered
How to Remove an object from a triple nested document in a MongoDB collection? I have a Wikidata collection in MongoDB with documents of following structure: { id: 178 type: "something" claims: { P1{ [0]: { id: "234" obj:{...} } [1]: { id: "456"...
common-pile/stackexchange_filtered
Automatically convert spherical jpeg image (360x360 view) into a movie sequence for youtube Is there any way/program(s)/api/etc. which can help to write a program which can automatically convert a spherical jpeg image (for example like http://www.jcwilson.net/craigendarroch.jpg) into a virtual reality movie so that you...
common-pile/stackexchange_filtered
The entity "uuml" was referenced, but not declared - XMLStreamException Trying to generate XLSX file from SpreadsheetML 2003 (which is basically a XML). Using the CLOB from database, CLOB contains the SpreadsheetML 2003 (XML). I am trying to parse the xml through STAX parser, and write it into the XLSX file using POI A...
common-pile/stackexchange_filtered
Appium2.0 server not starting in MacOS I have installed Appium 2.0 using the command npm install -g appium@next Then installed the driver using below commands: appium driver install xcuitest appium driver install uiautomator2 After this when tried to run the Appuium server using command: Appium As if we see the scr...
common-pile/stackexchange_filtered
Match and insert in a python sorted list I have a sorted list and I want to insert a string if it matches the pattern in list. Example : Sorted List ['Amy Dave', 'Dee Waugh', 'Eva A', 'Gin', 'Joy Kola', 'Kay Min', 'Mae', 'Pam Deing'] Above list is in sorted order. I need to insert a name in sorted order and also if ...
common-pile/stackexchange_filtered
Linux daylight savings notification I was trying to find a way to receive a notification from the system (Linux) when daylight savings are applied, but I do not seem to be able to find anything like that. Consider a program sits on a pselect() waiting for a number of timer fd's, all which have exactly 24-hour intervals...
common-pile/stackexchange_filtered
toast after removing last item from recyclerview android I have a recyclerview with an adapter. I am using the following method in onbindviewholder to remove the items from the list. List<MyList> myList; Adpater myAdapter = myList.get(position); myList.remove(position); notifyDataSetChanged(); I want a toast after the...
common-pile/stackexchange_filtered
How to trigger NodeJS service based on user's calendar event I am trying to allow a user to log in to a web app with their calendar service (eg. Google Calendar, Outlook) and then whenever one of their calendar events start or end, I want a NodeJS service to be triggered. My thinking was to try to use pipedream.com (th...
common-pile/stackexchange_filtered
Disable custom module functions for user roles I've created a custom module that allows you to delete orders. Now what I want is that when another user has logged in with a custom role (so not the Administrator), this function won't work. If I disable the resource responsible for deleting orders for the custom user, th...
common-pile/stackexchange_filtered
Let $f\colon (a,b)\to \mathbb{R}$ be nondecreasing and continuous. If $E=\{x\in (a,b)\mid f'(x)\text{ exists and } f'(x)=0\}$, then $\lambda(f(E))=0$ I need help to understand the proof below of the following theorem. Let $f\colon (a,b)\to \mathbb{R}$ be an arbitrary function. If $E=\{x\in (a,b)\mid f'(x)\text{ exists...
common-pile/stackexchange_filtered
Google analytics enhanced ecommerce, help me debug setup please I've implemented enhanced ecommerce tracking in Google UA by populating the dataLayer with as far as I can see the correct data. Here is the html of the actual datalayer script: <script type="text/javascript"> dataLayer.push({ 'ecommerce': { ...
common-pile/stackexchange_filtered
I need to make button to go to another page workable if it's written in php code(with echo) i need to make the html that is written in php(via echo) workable <?php echo " <html> <head> </head> <body> <div onclick='location.href'='car_details.php';' > ... ...
common-pile/stackexchange_filtered
MSMQ for those application which are deployed on different machines I am wondering how can i use msmq with different application which are deployed on different machine. MSMQ will work perfectly for those application which are deployed on the same server. Server 1 Webapplicaiton 1 Webapplication 2 Both appplication c...
common-pile/stackexchange_filtered
Does Zend_Validate work on filtered/unfiltered values? i wonder if a Zend_Form_Element has filters attached to it, will Zend_Validate validate the filtered or unfiltered inputs? i guess it depends on what u pass as the values. in the context of forms, $form->isValid($this->getRequest()->getParams()); // unfiltered $f...
common-pile/stackexchange_filtered
Queries that rank users according to the number of close/reopen votes they have cast I know that I can check this statistics for my profile by going to the "votes" tab. But for other users I can not do the same (it is hidden). I want to see which users have cast the most number of close or reopen votes. So, is it possi...
common-pile/stackexchange_filtered
Read Excel file from a starting row using OLEDB Data Provider in C# .Net I have an excel sheet with dynamicnumber of columns. I want to read the excel skipping first 2 rows. So starting from rownumber 3 all columns from the excel using OLEDB Data Provider in C# .Net. Thanks in advance. Why do you want to read excel th...
common-pile/stackexchange_filtered
Carriage return in DataReceivedEventArgs I am running a console process attached to my C# application using UseShellExecute and redirecting the output to my application. I have the OutputDataReceived event handled. Now if the console process return data containing a carriage return (like in case of chkdsk the completio...
common-pile/stackexchange_filtered
Implement animated Button in cocos2d I wish to clone the effects of the button animations found in Candy Crush Saga. And also I wish to know how to do such fluid & beautiful animations. Is it possible with Cocos2d-iPhone? This is the link of Candy Crush Sage: http://www.youtube.com/watch?v=KAMUWIqYN24 Is it done using...
common-pile/stackexchange_filtered
Chrome's Autofill Leaves Greyish Corners on Rounded Input Fields Let's say someone is working on a web site that allows users to create a profile. This designer really likes the way input fields look with rounded corners, but Chrome's autofill feature is doing something odd to them. Of course, they could take the easy ...
common-pile/stackexchange_filtered
Aluminium oxide phase diagram I have been looking for the phase diagram of alumina or Aluminium oxide, could it be that there is not something like that? thank you There is really not much to it. Basically you have a metal and an oxide phase, and never the twain shall mix significantly even after melting the oxide ab...
common-pile/stackexchange_filtered
configure devise for "real email sending"? I need to know how configure the gem devise,Im using ruby 1.9.2, rails 3.1.3, devise 1.5.3, Im making an app about surveys, and im creating my "authentication module", in my log file I can see that the user receive the email for activate the account, when I copy the link (fro...
common-pile/stackexchange_filtered
Prompt a message when datagrid is empty I am using WPF. I am using datagrid to dynamically add items in it. When the application is initially loaded, the datagrid is empty, or when all the items in the datagrid are remove, it only shows datagrid header. How can I remove the header, and show a message like "Please inser...
common-pile/stackexchange_filtered
What are the laws, rules and regulations that make South Korea more technocratic than the United States? In Asia, they already do. From Taiwan to South Korea to Singapore, doctors, engineers, and other professionals occupy the top rungs of elected office and functional agencies. In these countries, public administrati...
common-pile/stackexchange_filtered
ASP.NET Dynamic Data and uploading files I am developing a small, internal-use only web application. Given its simple nature and intended audience, I decided that it might be a good opportunity to use a ASP.NET Dynamic Data project to get things up-and-running quickly. So far so good, except for one issue that has me r...
common-pile/stackexchange_filtered
Is the two slit experiment "measurement device" always symmetric? In this simplified video that is quite famous on youtube, it says that they tried to measure the electron by one slit. That seems to imply that it could be introducing interaction asymmetry in the underlying (higgs and or gravity) field. Is the same inte...
common-pile/stackexchange_filtered
xpages display a new doc. inside a dialog i have an issue that it gives me some headache lately. In my XPage there is a view displaying some docs ( let say Pdoc as datasource ) and I open/create them inside a <xe:dialog>. This dialog has only Pdoc declared as datasource, and it inherits some values from the Xpage datas...
common-pile/stackexchange_filtered
jQuery slideshow - last photo wont loop to first one with animation I have created a very simple slideshow using jQuery. The slideshow is working just fine however when it is at the last photo and i want it to loop to the first one, instead of animate to the first one, it's just jumping without any animations, and the ...
common-pile/stackexchange_filtered
virtual inheritance and signature overlapping Let's say we have following code: struct A{ virtual ~A(){} void f(){ p = 42; } int p; }; struct B : public virtual A{}; struct C : public virtual A{}; struct D : public B, public C, public A{}; //let's add non-virtual inheritance int main(){ ...
common-pile/stackexchange_filtered
How to prevent ClearDB (MySQL) from dropping when heroku puts my app to sleep I have deployed a Spring Boot app on heroku and installed ClearDB addon which is just MySQL database. I am using free plan so I don't mind that my app is going to sleep after an hour of inactivity but I have one issue - database drops after a...
common-pile/stackexchange_filtered
My App Only Optimized to Work with Iphone7 I made an app and it almost done, but I have problem with it. It only optimized with iPhone 7. For example, If I start the app with iPhone 7 plus the labels and the images move a little bit. is there any way to let my app works with all kinds of iPhones? if there is a video to...
common-pile/stackexchange_filtered
iOS Device communication I am keen to get some apps built that can communicate with other devices/ web etc. i have played around with FTP and can get so far. But what is the best way to do this? We don't have any Servers with databases etc, but do have a site that we are currently uploading and downloading files to. ca...
common-pile/stackexchange_filtered
Important identity for covariant derivatives involving extrinsic curvature How can I demonstrate this identity? $$\nabla_a(K^{ab}-\lambda Kg^{ab})=\Gamma^b_{ac}(K^{ac}-\lambda K g^{ac})$$ where $\lambda$ is a parameter, $K_{ij}$ is extrinsic curvature in ADM formalism and $g_{ij}$ is 3-metric ($i,j=1,2,3$). What is th...
common-pile/stackexchange_filtered
Debugging memory problems in java - understanding freeMemory I have an application that causes an OutOfMemoryError, so I try to debug it using Runtime.getRuntime().freeMemory(). Here is what I get: freeMemory=48792216 ## Reading real sentences file...map size=4709. freeMemory=57056656 ## Reading full sentences file.....
common-pile/stackexchange_filtered
Can we get radiobuttonList.Items.Count in .aspx page Can we get the count of total radiobuttonlist items from .aspx page. I have to call a javascript function onclientclick of a button and i want to loop through the total number of radiobuttonlist items. So can anyone tell me that can we get it from .aspx page. Because...
common-pile/stackexchange_filtered
Parsing a JSON tree with JavaScript I want to parse this JSON tree on the basis of the 'Name' attribute and return the matched node/nodes as an array of objects. Kindly paste the JSON tree in here - https://jsonformatter.curiousconcept.com/ to get a better visualization of it. The scenario would be such that, if the us...
common-pile/stackexchange_filtered
Interpreters: Handling includes/imports I've built an interpreter in C++ and everything works fine so far, but now I'm getting stuck with the design of the import/include/however you want to call it function. I thought about the following: Handling includes in the tokenizing process: When there is an include found in ...
common-pile/stackexchange_filtered
Spark sql query returns StringType instead of ArrayType? In trying to apply my UDF during my spark.sql query, instead of returning my cleaned words in array form the query simply returns one long string that looks like my array. This gives me an error when attempting to apply CountVectorizer. The error it raises is 're...
common-pile/stackexchange_filtered
Name for a word whose sound is contrary to its meaning As onomatopoeia means words that sound like what they mean, is there a word which means words that sound contrary to what they mean? Pulchritude is an example of such a word. I suppose they'd be a subset of heterological words, that is words that are the opposite...
common-pile/stackexchange_filtered
Why tkinter ask open file has a low resolution? In this picture you can see that the left dialog has a lower resolution then then right one. Why folders are different? I'm working with Python 3 and here's my code from tkinter.filedialog import askopenfilename askopenfilename( initialdir = "/", title = "Select...
common-pile/stackexchange_filtered
Eigenstates harmonic oscillator with mass matrix Consider the 2D harmonic oscillator $H = \langle \nabla, M\nabla \rangle+ \vert x \vert^2$ where $x \in \mathbb R^2$ and $M$ is a symmetric mass matrix with strictly positive eigenvalues. Is it known if in this case the eigenvalues/eigenfunctions of the Hamiltonian are ...
common-pile/stackexchange_filtered
Rails, PostgreSQL and hstore If I added this hash values {"1"=>"1", "3"=>"3", "2"=>"2"} into hstore column into PostgreSql (9.4) (through rails 5}, this hash will be reorder under hstore column and looks like this : {"1"=>"1", "2"=>"2", "3"=>"3"}. Is it possible to prevent this? Hash order is guaranteed in Ruby. I as...
common-pile/stackexchange_filtered
How do I align the view to the nearest global axis? Is there a button or a shortcut that will align the view to the nearest global axis? For example: You use the shortcut that will the align view so that you're looking down the X axis. Then you rotate the view slightly (say 10 degrees, for example). Is there a shortcut...
common-pile/stackexchange_filtered
Converting an array into a hash with format { value => position_in_array } I have an array of numbers in string format, and I want to convert them into a hash where the keys are the numbers and the values are the positions of those numbers in the array. So for example: ["1", "5", "3"] should result in: { 1 => 0, 5 => ...
common-pile/stackexchange_filtered
Execute JQuery after ASP.Net Microsoft AJAX I'm trying to execute JQuery after an ASP.Net Microsoft AJAX post back. When a user clicks on a link, Microsoft AJAX is used to update some fields in the DB and if success a label appears informing the user the change has been made. Unfortunately the label is not very obviou...
common-pile/stackexchange_filtered
jtwitter library: connecting to alternative service fails EDIT omg I clearly should take a break... logcat gives these errors and as it seems the catch-block is also executed but the messages are actually sent as I have verified by visiting the page: http://yamba.marakana.com/ Actually a thing that took me 2 hou...
common-pile/stackexchange_filtered
Google Apps Script creates sheets version of excel file I am working to automate a process. Currently, I am uploading Excel (.xlsx) files to a specific folder in Drive. I then manually convert them into a Google Sheet file, and move it into a separate folder. I would like to automate this process. I know I would have t...
common-pile/stackexchange_filtered
Visual Studio VB Update requires a valid UpdateCommand when passed DataRow collection with modified rows I have button update and the code Private Sub txtSave_Click(sender As Object, e As EventArgs) Handles txtSave.Click Me.Validate() Me.TrackingBindingSource.EndEdit() Me.TableAdapterManager.Upd...
common-pile/stackexchange_filtered
Typescript: after the transpilation, wrong retun type Why my index.ts export const isNullOrUndefined = (value: any): value is null | undefined => { return value === null || value === undefined; }; is transpiled into index.d.ts (only value is null) export declare const isNullOrUndefined: (value: any) => value is null...
common-pile/stackexchange_filtered
IE overrides cursor when using contenteditable I'm wanting a pointer cursor over an element until that element has focus, and then turn to the typical text caret. Easy enough in Chrome, but IE11 and Edge don't seem to let me change the cursor if the element has the contenteditable attribute. #thing{cursor:pointer;} <d...
common-pile/stackexchange_filtered
Access Current Area Name in Session Start - MVC 4.0 We have multiple areas in our MVC 4.0 application and I am looking for a way to get the current Area name when the session is started. Possible duplicate of ASP.NET MVC - Get Current Area Name in View or Controller We need this on the session start event. Have a lo...
common-pile/stackexchange_filtered
Create C++ Shared Library from Simulink in Linux I need to generate a shared library (.so) file from a Simulink model, with inputs and outputs, and run this model step by step in another C++ project. I am aware that the MATLAB Code Generator is able to generate executables and DLLs. Nonetheless, I could not find how to...
common-pile/stackexchange_filtered
Content/Character Encoding - Why Does HTTP Header(Content-Type) Take Precedence Over Meta Tags(Http-Equiv)? I have been studying content encoding for some time now, but I'm still learning. My understanding is, the content/character encoding decides how a web browser renders characters outside of the normal ASCII range ...
common-pile/stackexchange_filtered
DX9 GetMessage FPS Drop my program is a transparent overlay over a game code that sets it to the game window setwindowtotarget is called in a seperate thread i am very frusturated also, the game feels laggy when my fps counter says i'm getting over 200 as well void SetWindowToTarget(){ while(true){ tWnd = FindWindo...
common-pile/stackexchange_filtered
Android: CameraBridgeViewBase FPS low The FPS of the CameraBridgeViewBase is relative low (on a Nexus 4 phone ~10 FPS). If I use detectors on it, it will be much slower. Is there a way to accelerate it? What are the alternatives with better FPS for image processing on Android plattform?
common-pile/stackexchange_filtered
Position:absolute creating messing up grid flow I'm trying to make a grid with css from which, when clicked, a div can "break out" of using position:absolute, so that it can be moved around above the grid without messing with aforementioned grid. Here's the jsFiddle. As you can see, when clicked the position is set to ...
common-pile/stackexchange_filtered
my .js.erb file is not being called In my rails application I am trying to access pagination via an ajax call. I am triggering a script via index.js.erb file. The control doesn't go to that file. Please help My controller: def index ics_per_page=params[:ics_per_page]||5 ics_per_page=ics_per_page.to_i @ics = ...
common-pile/stackexchange_filtered
います and あります usage I just learned about: います and あります. I know I should use います for people and moving things and あります for plants and inanimate things. I have two doubts: Which one should I use with "dead body". For example: "Is there a dead body inside the room?" What about robots or a non living thing with AI? Other...
common-pile/stackexchange_filtered
Knex migration seeding completes with foreign key error I'm seeding my db from an array that looks like this (words and definitions are in a many to many relationship): var seeds = [ { "word": "Click", "definitions": ["Computer", "Mouse", "Tasto", "Pulsante", "Selezionare"] }, { "word": "Galoppo", "defi...
common-pile/stackexchange_filtered
find the last added sheet (vba)? How to get the last sheet created in excel ? I used GetSheets.Last, and it work but he found me the last sheet what it is in queued, it’s right, but if my last sheet doesn’t follow the order of the queued for example it is in the middle, the function GetSheets.Last doesn’t work. Exist s...
common-pile/stackexchange_filtered
Suppress system() console output I'm using system() to open and close an external program with which my code communicates. However, every time I use the system() function, I get the console output I would get if I was calling the program from a normal terminal/shell, e.g. every time I call system(killall [program] &) I...
common-pile/stackexchange_filtered
Show that if $N$ is a normal subgroup of $G$ which contains all commuters then $G/N$ is abelian. I am working on my proof for class and I was wondering if this look ok? Let $N$ be a normal subgroup of $G$ we want to show that $G/N$ is abelian, or $(aN)(aN) = abN = baN = (bN)(aN)$. Since $N$ contains all commutors, the...
common-pile/stackexchange_filtered
What type of thermal paste for cooling a stepper motor? My little Nema 11 stepper becomes hot when I use it to hold a position. This is quite normal since it use 1.3 A of current. My plan is to use the big aluminium supporting bracket as an heat-sink too. In this way I will avoid a bulky envelope box (this stuff has to...
common-pile/stackexchange_filtered
Generalising Cutting lens changes intensity of light of image We were told that if I cut a (say biconvex lens) in half, my intensity of light which forms the image is now half.I was wondering if there was a general formula for if I cut a lens horizontally (a variable,say 2/3 of the aperture),what intensity of light wou...
common-pile/stackexchange_filtered
foward the value of datetimepicker in other form to display it in the textbox How can i foward the value of datetimepicker named dtpDAILY when clicking the ok button and form named DAIILY and to display it in other form named SALES and put it in a textbox named txtSUMMARY ? You can try this. First get the open for...
common-pile/stackexchange_filtered
Can I recover my saved-over TIF file? While retouching I saved my file as a tif and then flatten it and saved as a jpeg. I accidentally saved the tif again while it was flattened with no layers. Is there a way to recover my tif file with the layers? If you are lucky, the application saved the file as a new file, then ...
common-pile/stackexchange_filtered
React Native Debugger prevents network requests I'm working on a React Native app, testing in an android emulator. I've used the standalone React Native Debugger app as well as the debugger that opens in Chrome. In the Chrome window, the Network tab shows no activity, so that's no help. In the standalone debugger, the ...
common-pile/stackexchange_filtered
Detection of 301 Redirect In NGINX is there a way to detect is a site was accessed via a 301 redirect? An NGINX server was setup incorrectly and site B now has some 301 redirects cached in browsers pointing to site A. I would like to redirect these a second time to new site C from both A and B, but, only redirect from ...
common-pile/stackexchange_filtered
Is this a Functional Differential Equation? How to solve it? I ran into the equation below. I'm not familiar with functional derivatives so I'd appreciate if someone could give me an idea of how to solve it and/or a good reference I can use. I appreciate your help! Let $g=g(v)$, $v=v(x)$ and let $h^{i}=h^{i}(x,v(x),v_...
common-pile/stackexchange_filtered
How to write thread safe method common for multiple instances of spring boot application I have a situation wherein for a given request a file is generated as part of an endpoint code flow. At present we have placed the file generation code within synchronized block, to ensure thread safety. Till now we have deployed...
common-pile/stackexchange_filtered
Modal Popup and closing with sessionStorage keeping it closed I'm wanting to make a modal that will show up after a few seconds but then after you close the modal it doesn't show up unless you close the website and start a new session. I've got the modal but I'm struggling to integrate the sessionStorage <div id="myMod...
common-pile/stackexchange_filtered
Optimization of predictions from sklearn model (e.g. RandomForestRegressor) Does anyone used any optimization models on fitted sklearn models? What I'd like to do is fit model based on train data and using this model try to find the best combination of parameters for which model would predict the biggest value. Some ex...
common-pile/stackexchange_filtered
tcl - insert characters and replace lines Say I ask tcl to print the following from within nested dictionary (containing rows and columns) - Reference: Brad Lanam set id0 "[dict values [dict get $risedata constraints constraint $c 0]]" ...and I get this 1.1 2.1 3.1 4.1 5.1 Now I wish to change {1.1 2.1 3.1 4.1 5.1} t...
common-pile/stackexchange_filtered
Getting cors error while trying MFE using Module Federation I try to achieve MFE using module federation.I go through this link to achieve this. Everything was going perfectly until I ran the base/host application. It's throwing cors error while connecting to the remoteEntry.js file. This file can be directly accessibl...
common-pile/stackexchange_filtered
Confusion Between Noun vs. Verb in Rest URLs I have studied over the internet about restful APIs that it focuses on nouns not verbs in the url pattern, but now I am seeing multiple links that use verbs in the URL. Here is an example. POST /v1/payments/authorization/<Authorization-Id>/capture POST /v1/payments/author...
common-pile/stackexchange_filtered
Hashtable and String values error I have a master_string which has values that are retrieved from a pHp database. They are : {"P":[["5"],["22"]],"AS":[["29"],["34"]],"DT":[["995"],["12"]],"AR":[["23"],["121"]],"SE":[["5"],["22"]]} and after removing special characters, the string is now: P:5,22,AS:29,34,DT:995,12,AR:2...
common-pile/stackexchange_filtered