text
stringlengths
70
452k
dataset
stringclasses
2 values
TFS Get Specific Version, Type Label delete all files that are not included in current label We have situation where make label with 4 files (lets say that all project consists from 10 files, so another 6 files are not placed in our new label). When do action Get Specific Version and for Version Type place Label and af...
common-pile/stackexchange_filtered
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-eutop9/docal-tkinter/ what does this mean? am trying to install docal-tkinter for the matplolib package Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-eutop9/docal-tkinter/ here is the full trace..! $ pip insta...
common-pile/stackexchange_filtered
';' expected.ts(1005) in Javascript I was creating a redirect function named redirect() and when I open the curly brackets it shows an error saying ';' expected.ts(1005) Any reason? I'm not sure what ts(1005) means so I don't know what to do. The error fixes when I put a semicolon but then in the browser, it shows an...
common-pile/stackexchange_filtered
Is it possible to use cmake without any compiler We have a project made of python scripts and home-made tools. We use cmake with custom targets to handle the application of the tools and python sripts and install resulting binary resources. We use this under GNU/Linux and MS Windows. It works well but we don't want to ...
common-pile/stackexchange_filtered
list and array is global by default in python3.6? Just a simple code below: import numpy as np x=np.array([1,2]) y=[1,2] L=1 def set_L(x,y,L): x[0]+=1 y[0]+=1 L+=1 print(id(x)) print(id(y)) print(id(L)) I found that array x and list y is the same in the function set_L(), does this mean by def...
common-pile/stackexchange_filtered
For Variety $V$, function $V\rightarrow \overline{K}$ I’m reading Silverman’s Arithmetic of Elliptic Curves, and they make the comment “Since an element $f∈\overline{K}[V]$ is well-defined up to a polynomial vanishing on $V$, it induces a well-defines function $f:V\rightarrow \overline{K},$ where $V$ denotes an affine ...
common-pile/stackexchange_filtered
Scoring deviation from elements I'm thinking about how to score deviation from elements. I have a target elements: $[10,4,8,20]$, and candidate elements: $[9,3,9,21]$ and $[10,4,8,16]$. Calculate deviation between the target and candidates $[-1,-1,1,1]$ and $[0,0,0,4]$ results in the sum of absolute of difference $[4]...
common-pile/stackexchange_filtered
Identityserver4 protect/access api from/for outside users I want to give webapi access for the outside users(I mean, users not belongs to my organization). This API is already protected using identityserver4. Our internal applications also using this API. Outside users want to access this API (same API for 2 applicatio...
common-pile/stackexchange_filtered
Programmatically back out of first page of your application I have a login page which is shown on first launch. After the user puts in his credentials he is taken to the main page of the application. At this point, if the user presses the back key I want it to skip the login page and exit. I tried what was suggested he...
common-pile/stackexchange_filtered
How to get multiuser value from the Instagram API? How to get Multiple ids data in single api query Instagram? I have some bunch of Instagram ids. Using that, how to get all the users feed from, a with single api query? https://api.instagram.com/v1/users/510338836,18428658 and where is your code ? That is ok, but pl...
common-pile/stackexchange_filtered
Discrepency in Python's lxml's equivalent parsing methods on HTML: cssselect vs xpath I was attempting to parse example.com's home page with xpath and cssselect but it seems as though either I don't know how xpath works, or lxml's xpath is broken, as it is missing matches. Here's the quick and dirty code. from lxml.htm...
common-pile/stackexchange_filtered
Lists as a foundation of mathematics I am wondering if there is a foundation of mathematics where not sets or "set-like objects" (such as objects of a suitable topos as in ETCS) are the primitive notion, but rather lists. These lists (aka sequences, tuples, ...) should be mathematical objects denoted as $[a_1,a_2,\dots...
common-pile/stackexchange_filtered
GAction with restricted user access I want to deploy a google action with only limited user accces. I would like to maintain users in the backend and allows access to only those user mail account. Is there a way to acheieve this? You can use Alpha release for this. As per document, Developer defined list of users can ...
common-pile/stackexchange_filtered
Check that all values in a range are identical I need to display a message box when all the values in a range on my spreadsheet are zero. Currently I am using the following code: Dim Cell As Range For Each Cell In Range("E17:E25") If Cell.Value = "0" Then MsgBox ("If hardware is required, please manually popul...
common-pile/stackexchange_filtered
loop prepare statements, what needs to be repeated? I'm using statements to protect against sql injections... My question is what do i need to repeat when looping multiple queries? If you look at the second query, im not sure if the prepare statement needs to be insde the foreach loop Something wrong with this summary ...
common-pile/stackexchange_filtered
An efficient way of showing/hiding a series of elements according to ranges Say you filter a long series of photos of people according to age ranges (20-25, 26-30, 31-35...). Given that a user can permute to any range they want how could you make the showing/hiding efficient? Edit: Here's my current code: HTML: <img sr...
common-pile/stackexchange_filtered
integer solutions of $ (n!+1)=m^2$ Consider $4!=24$, if you add one you get $25=5^2$. The same occurs with $5! = 120 = 11^2 - 1$, and $7! = 5040 = 71^2 - 1$. Are there other solutions of the equation $n!+1 = m^2$? I verified that no other solution exists with $m<10^9$. Does the problem has already been studied? Is the...
common-pile/stackexchange_filtered
Integral of Squared Spherical Harmonics The following integral comes out of an expression $\langle |Y_{l,m}(\theta, \phi)|^2\rangle$ over a orientation probability distribution: $$\int_{0}^{2\pi} \int_{0}^{\pi} Y_{lm}^2(\theta, \phi)Y_{l'm'}(\theta, \phi) \sin(\theta) d\theta d\phi$$ When $l = 1,m=1$ and $l' = 2,m' = 0...
common-pile/stackexchange_filtered
Double bond formation in alkenes during cracking In thermal or catalytic cracking, energy is used to break a long chain alkane into smaller alkanes/alkenes. Since the energy goes into breaking the bonds, how is the C=C bond in alkenes formed? Bond formation is exothermic and so favourable. Can you explain exactly what...
common-pile/stackexchange_filtered
Negatives: 안- vs -지 못하다 I haven't met my colleagues yet: My attempt: 내 동료들이 아직 안만(난/나요) Naver: 아직 동료들을 만나지 못했어 This I kind of don't get why you use 못하다... To be honest, I'm really puzzled by the use of this verb. I see it everywhere with a slightly different meaning every time.. Thanks in advance for the help! In ge...
common-pile/stackexchange_filtered
Mirror reflection of the picture Java Hi so i have to make mirror reflection of my drawn picture. There must be 2 pictures. One normal and the second right below as mirror reflection. I don't know how to draw second picture and flip it. public static void main(String[] args) throws FileNotFoundException { String pa...
common-pile/stackexchange_filtered
CORS error upload file ~4mb I'm building an app where angular front-end is on s3 as static website and Sails (0.10.3) API inside dokku with Node 0.11.13 and SSL on EC2. If file is larger than about 4mb I got error "No 'Access-Control-Allow-Origin' header is present on the requested resource." OPTIONS request is hitting...
common-pile/stackexchange_filtered
Render a collection of forms using partial Rails has this pretty way to render a collection using partial <%= render partial: 'erb_partials/post', collection: @users, as: :user %> How can I apply this in my loop of forms? <%= profile_form.fields_for :item_groups, @item_groups do |item_form| %> <%=render partial: 'i...
common-pile/stackexchange_filtered
Visual Studio project not saved Somebody please tell me it is possible to recover Visual Studio source after VS crashes! I have just spent 5 hours writing a new utility app, and running it with the "Save before Build" option turned on, as well as AutoRecover every 5-mins. But after VS crashed I am unabled to find anyth...
common-pile/stackexchange_filtered
MOLDEN file from ORCA output I'm trying to convert an ORCA output file into MOLDEN file (via molden itself). I hit the "Write" button and it converts the file, yes, but the displacement vector s are zeros. I need that information in that specific file formatting. What can I do? I think you can use orca_2mkl tool (prov...
common-pile/stackexchange_filtered
How to avoid displaying the results of an API query when assigning a variable I am using the google-api-client gem to interact with Google Calendar. When saving a list of events like this: @events = calendar.list_events(@tmpcalendar) The output of calendar.list_events(@tmpcalendar) is huge. I just want to save the res...
common-pile/stackexchange_filtered
Reverse tree scan, is it posible? I have an HTML structure like the following: <ul id="mainMenu"> <li class="itm_1"> Text... </li> <li class="itm_2"> Text... <ul> <li class="itm_3"> Text... <ul> <li class="itm_4"> ...
common-pile/stackexchange_filtered
Validation error in allowtransparency attribute on the iframe I am using facebook like for my website. So i used allowTransparency='true' but in the case of validation its showing error like this: The allowtransparency attribute on the iframe element is obsolete. Use CSS instead. How to fix this problem ? Thank you...
common-pile/stackexchange_filtered
Cannot read properties of undefined (reading 'users') | interaction.client.api.users | Discord.js V14 This Error: TypeError: Cannot read properties of undefined (reading 'users') at Object.execute (D:\Mortal\Belgeler\Kod Denemeleri\Discord Botu\Via\v4 (v14)\commands\Kullanıcı\profil.js:34:55) at module.exports...
common-pile/stackexchange_filtered
How do I generate serial wif key, the program generate only one key in python How do I generate a serial wif key which contains at least 1000 keys? The code I used generates only one key and I want more. Please can you help me out? I try to change it but it still works the same. All I want is to generate more of it. Th...
common-pile/stackexchange_filtered
How can I check for a string over multiple lines and quote it? I have to fix a YAML-file. I have to check the file for the text-field (I can ignore all other fields). If the content isn't quoted, I want to set these quotes. text: - Any text Should return text: "- Any text" So I check line by line of the original fil...
common-pile/stackexchange_filtered
Why does ng-style call 2 times the function bound to it? I am using ng-style to pass the styling in one of my directives. Like so: <my-component ng-style="test()" ng-model="message"></my-component> And the directive: myModule.directive('myComponent', function(mySharedService) { return { restrict: 'E', ...
common-pile/stackexchange_filtered
How can I add a custom mimetype for rendering in jupyterlab? I have some python calculations which are being done and all the data is being stored as possibly a json or a string object. I would like to create a custom renderer for this, such that it reads this json object and renders a react widget. How can I do the sa...
common-pile/stackexchange_filtered
MS Word Restricting Header to Subset of Document In MS Word, how can I restrict the Page Header (and Footer) to a subset of the document? I don't want them to appear on every page. belongs definitely on superuser This is accomplished using Section Breaks from the Insert menu. Once you define a section you can then mo...
common-pile/stackexchange_filtered
What is an integral transform, and is integration by parts an example? I came across the term "integral transform", and I'm curious what exactly this means, and whether integration by parts would be considered an integral transform. Examples of integral transforms include Laplace, Fourier, Mellin, Hankel, and Bessel t...
common-pile/stackexchange_filtered
Avoid that star symbol is searchable with questionmark "?" Given the following minimal example: \documentclass{article} \begin{document} $a \star b$. \end{document} This produces the desired output in the PDF file. However, my problem is that if I search in the PDF file (with CTRL-F) for the questionmark character "?"...
common-pile/stackexchange_filtered
How to change font size throughout an iPhone app with a button I have an iPhone app with lots of UILabels throughout its screens. I am using Storyboards. My question is this. How can I change the font size in all of the labels in the app with a button or slider in the Settings screen? I would also like there to be a ma...
common-pile/stackexchange_filtered
Pip list showing random packages when Changing python versions in conda env Below are the step/chronology: I create a conda env using conda create --name xkcd and activated it using conda create xkcd I check my python version using python --version which comes out to be 3.11.5 Now I do pip list to see if any rand...
common-pile/stackexchange_filtered
Badblocks and fsck say HDD is clean but Linux marks it as read-only I'm relatively new to Linux so I'm not sure why this is happening. I have this one drive that Linux always marks it as read-only partition. At first I thought it was just the OS so I did a clean install from OpenMediaVault 2.0 to OMV 3.0 (Debian 7 & 8)...
common-pile/stackexchange_filtered
horizontal scrollable list fully centered with dynamic width items I'm trying to make an horizontal list to be centered, with its items to be centered too regarding the main parent (the window, or body) ; and because i don't know what kind and how many items i will have generated into that list, i'd need the items to b...
common-pile/stackexchange_filtered
Adding user to xmpp room Hello I know there is alot question regarding this but still i could not figure out what can be the problem. I have sucessfully created group using following code. - (void)createGroup { iXmppEngine.userID =<EMAIL_ADDRESS> iXmppEngine.userPass = @"password123"; self.rosterstorage =[[XMP...
common-pile/stackexchange_filtered
Overlapping Overlay Image with Image Taken from camera I am doing a project where I need to OverLay few custom images, where option to add faces taken from camera will be given. Considering the following image I will take faces from camera and I want to fit in the face into this overlay. I have used following layout ...
common-pile/stackexchange_filtered
How to run webpack-dev-server on localhost without a port I have a React app, to run it locally I use webpack-dev-server. This is how my command looks like: "scripts": { "dev-server": "webpack-dev-server --config ./webpack.dev.js --open --https --hot --history-api-fallback", } When I do npm run dev-server it ope...
common-pile/stackexchange_filtered
Poincare inequality with small modification Let $f:B^n_1 \to \Bbb{R}$ defined on the n dimensional ball of radiu $1$. If $f\in C^1$. and $f(0) = 0$. Can we prove that $$\int_{B_1}|f|^2 \le C\int_{B_1}|\nabla f|^2 +C'$$ If assume further that $m(\{x:|f(x)|\le 1\})\ge \delta |B_1|$ for some constant $\delta >0$ which ind...
common-pile/stackexchange_filtered
SHEmptyRecycleBin in VB6 doesn't do anything I'm trying to empty the recycle bin as part of a process that is freeing up hard disk space. He is the code I've got so far. At the top of my class: Private Declare Function SHEmptyRecycleBin Lib "shell32.dll" Alias "SHEmptyRecycleBinA" (ByVal hwnd As Long, ByVal pszRootPa...
common-pile/stackexchange_filtered
How to obtain NSManagedObjectContext instance from Extension iOS 8 I create keyboard extension, and in need to get access to CoreData. It works well from container app AppDelegate. But from extension I can't gain access to data. First of all I need instance of NSManagedObjectContext, which I don't have. So how can I ob...
common-pile/stackexchange_filtered
Get SQL server record details as JSON for each record individually I have 2 tables. Department & Employee as below : Department |----------------------| | Id | Name | |---------|------------| | 10 | Admin | |---------|------------| | 11 | IT | |-----...
common-pile/stackexchange_filtered
Push huge list in PHP array I have a huge list of stores name in (.doc) file and I want to store these names in mysql DB The solution which I thought was to create an array of this list & by looping insert them in DB.. But I don’t know how to push this list in php array.. Thanks Can you show some data of .doc file ? ...
common-pile/stackexchange_filtered
Send email to all users in rails I am trying to create a method that, when called send a email to all users. My ultimate goal is to call this method via a scheduler (i already got the scheduler working) And the method will go thought all users and send emails to some of then if some pre-requisites are met. Right now i ...
common-pile/stackexchange_filtered
Parsing string to time value in python I need to convert the following strings into either datetimes or strings in a different format. My input looks like these examples: 196h 26m 13s 95h 19m 45m 28s My desired string output would be (But my final goal is to convert these strings into datetime objects): 196:26:...
common-pile/stackexchange_filtered
Date formatting in a grid I'm trying to display a date column in grid like this: "dd-mm-yyyy". In dbf table, the date is stored in this format: "YYYY-MM-DDThh:mm:ss" in a character field. The grid is created from this cursor: select id,beginningDate,endDate,cnp from doc ORDER BY id desc INTO CURSOR myCursor I wish som...
common-pile/stackexchange_filtered
Cannot make css rounded corners table in WordPress I read through the related posts but none of them can solve my case. I have a table embedded in my WordPress site, I only take away the header menu and the footer, demo site can be visited from http://www.solepropr.net/demo/wordpress_table.html If viewing the CSS setti...
common-pile/stackexchange_filtered
Cocoa app Bash Script Variables I would like to reference a variable that I have in a bash script "value" as well as "max." As of now, I have a text interface in which after given commands, the terminal window displays something similar to ==========================================================================> 100...
common-pile/stackexchange_filtered
Is it possible to simulate pressing 'Down' arrow? I try to figure out how to send Down in puppeteer, I tried with the int code 40 or Down string, but none works. Is there a proper way ? Can't figure it out after reading ~/node_modules/puppeteer/lib/Input.js const elementHandle = await page.$('selector'); await elementH...
common-pile/stackexchange_filtered
How can I solve this function problem? for the number $3$ if I put $-x$ in the place of $x$ then I will get $2$ equations by which I can get $f(x)$. But what about the others? I've no idea how to solve these. $$(1)\quad f(\frac{1+x}{1-x})+f(\frac{1-x}{1+x})=2;\ f(x)=?$$ $$(2)\quad f(2^x)+f(2^{-x})=1;\ f(x)=?$$ $$(3)\qu...
common-pile/stackexchange_filtered
How can I view the MaxPermSize in JVM? I'm meeting the dreadful PermGen:Out of memory error when deploying a web-app on TomCat. I have tried many possible solutions, but they don't work out(sometimes it works, usually it doesn't). I wonder if my config in "BuildConfig.groovy" take effect: grails.tomcat.jvmArgs = ["-Xmx...
common-pile/stackexchange_filtered
How to deploy the same application to multiple servers looking for examples of what people have done inorder to deploy the same webapp or processes to multiple servers. The deployment process right now consists of copying the same file multiple times to different servers within our company. There has to be a better wa...
common-pile/stackexchange_filtered
Eureka client cannot connect to server with docker When I start zuul and eureka through Intellij, everything is fine, zuul is registered on eureka-server. In eureka server I see 2019-03-15 18:00:20.727 INFO 31713 --- [nio-8761-exec-2] c.n.e.registry.AbstractInstanceRegistry : Registered instance ZUUL-SERVER/<IP_ADDR...
common-pile/stackexchange_filtered
Access S/4 on-premise from local machine without cloud destination service I'm trying to access our S/4 on-premise system without any cloud services involved. I', connected to the VPN and can reach our S/4 system and successfully address the BP API service with Postman. When I deploy my app, the whole thing works as we...
common-pile/stackexchange_filtered
Passing a set of IDs or a set of objects as data in a DTO in Spring Boot? I am trying to create a project management app and for my back-end I have a Project Entity which has a many-to-many relationship with the User Entity. I have the following DTO: public class ProjectDto implements Serializable { private final L...
common-pile/stackexchange_filtered
iOS push current view controller onto another view controller hierarchy I have a view controller (which is the root view of the main UINavigationController for my app) that is presenting another view controller hierarchy modally, by presenting a UINavigationController. After the user interacts with the root view contr...
common-pile/stackexchange_filtered
How to get a container Div with auto Height and with floating divs inside it? I have the following HTML <style type="text/css"> <!-- .msg_ok{ font-family: "Trebuchet MS"; font-weight: bold; font-size: 16px; margin:0 auto; padding:10px; width:500px; height:auto; display:block; } .msg_ok{ ...
common-pile/stackexchange_filtered
Excel Lookups or Index Matches with Multiple Criteria I need some simple Excel help. I'm fairly new to formulas in Excel, and while I know my request is simple, I just can't get the answer I want on my own. So in my Excel workbook, our data has the following categories: Acct. Number, Region, Contact (etc.), and the acc...
common-pile/stackexchange_filtered
UIButton over an UIImageView via storyboard I want to create my view as below: For which i have figured out i need an UIImageView to display the default profile pic and a UIButton with an image of camera over the UIImageView. I added an UIButton over the UIImageView, but when i run my code it is not visible. I tried c...
common-pile/stackexchange_filtered
Can ghost replenish hand in Reveal the Culprit phase In the Vision interpretation section of the rulebook, it says to draw vision cards to make up his hand to 7 cards. In the Reveal the Culprit phase, it says the ghost picks three vision cards from his hand It's not clear to me if the ghost is allowed to draw new cards...
common-pile/stackexchange_filtered
Left Nav menu missing in all SharePoint sites The left nav menu disappeared from my SharePoint 2019 servers (2 Web Front Ends and 2 SQL Back Ends, all with the latest OS, SharePoint, and SQL patches) recently. I've tried the following: Create a new Site Collection in the existing Web Application Create a new web appli...
common-pile/stackexchange_filtered
Check if a query was successful laravel I define a query to delete a table in database. After that i want to show a message that the query was run successfully. How can I check it with an if statement? $query = DB::table('user_users')->delete(); return view('datenbank'); This query will not delete the table, it...
common-pile/stackexchange_filtered
Uber error code in iOS SDK I have integrated Uber iOS SDK and now working sandbox mode. Here is my ride request code. [[UberHelper sharedInstance].ridesClient requestRideWithParameters:_rideParameters completion:^(UBSDKRide * _Nullable ride, UBSDKResponse * _Nonnull response) {NSLog(@"ERROR %@",response.error.title); N...
common-pile/stackexchange_filtered
Bypass required Status Checks in GitHub I am trying to use GitHub Actions to automatically increment the version of my project while building the artifact and check the new changes back into the main branch. The workflow pushes the commit using a PAT for an account that is used only for this purpose so I was able to ex...
common-pile/stackexchange_filtered
Do I need to ask real locations' permission to use them in my story? I have written a children's book about dragons and the things they do in Texas. Do I need to ask i.e. the Lubbock Arboretum if it's okay that I mention them in my story? So my question is: When do I need to ask permission to use a location? Or do I ev...
common-pile/stackexchange_filtered
ASUS DSL-N16 Router Localhost Connection Issue I started using ASUS DSL-N16 model router recently. When I send consecutive requests to the stand-alone PHP web server that I run on "<IP_ADDRESS>:88" I receive a "server time out" error after 20-25 requests. I took a look at the settings in the admin panel, but the detail...
common-pile/stackexchange_filtered
Recursive Fetch Request I am trying to write a recursive fetch function. I am calling an endpoint that accepts a name param and returns their role and an array of direct-subordinates like so: { role: "CEO", direct-subordinates: [ "john smith", "bob jones" ] } I then want to call the function again to request t...
common-pile/stackexchange_filtered
How can I customize the path of a Rails 5.2 ActiveStorage attachment in Amazon S3? When adding attachments such as has_one_attached :resume_attachment saved files end up in the top level of the S3 bucket. How can I add them to subdirectories? For example, my old paperclip configuration could categorize in directories ...
common-pile/stackexchange_filtered
When I read a '.mdb' file using pyodbc+pandas(pd.read_sql), There are difference(Time data) between source data and memory data I want to read mdb file to memory. but there are some difference between source data and memory data Here are code import pyodbc import pandas as pd import datetime DB_Connection = pyodbc.conn...
common-pile/stackexchange_filtered
Need to understand how events work with delegates in C# I cannot understand how delegates work with events in C#. The form of the syntax is: public event someNameDelegate someName; control.someName += new control.someNameDelegate(methodName); So how does it know what event (like mouse click etc) fires the method. I'm t...
common-pile/stackexchange_filtered
"Product" topology of $\mathbb N\times \mathbb R$ Background: Consider a set that is a finite or countable set (for example $\mathbb N$) endowed with discrete topology Question: What topology is endowed with $\mathbb N\times \mathbb R$? Is $\mathbb N\times\mathbb R$ connected? Is it possible to define a reasonable topo...
common-pile/stackexchange_filtered
Dynamic SQL update Image I have been battling with this statement: ALTER PROCEDURE [dbo].[transact_image_update] -- Add the parameters for the stored procedure here @transact_recordID_int int, @image1_bin image, @image2_bin image, @transact_referenceNo_str nvarchar(25), @userID_last uniqueidentifier, @tableName nvar...
common-pile/stackexchange_filtered
Android + Sum up values of a parse query I have the following problem: I want to sum up the ratings (coloumn “Rating”) and later calculate an average rating. Unfortunately this doesn’t work, and it seems to me that the problem lies with or within the foreach loop. The variable avg has no value after the loop and i don...
common-pile/stackexchange_filtered
Good example of what isn't a system call? I'm teaching an Operating System course, and was looking for an example of something that isn't a system call. As silly as it may sound, I wasn't able to carve a good example. Everything (accessible to second-year students) that came to my mind involved system call in some way,...
common-pile/stackexchange_filtered
How do I make a REVERSE CALENDAR? I have a request from my regional manager to create an availability calendar that shows who is available and when. The pure opposite of a event calendar. I have approximately 50 people who are all attached to multiple projects with start and stop dates for each project. I can very easi...
common-pile/stackexchange_filtered
What are these seeds/eggs that appear on my indoor plant leaves? I keep finding these tiny brown ridged "seeds" that appear on the leaves of my indoor plants. Since seeds don't normally fly, I am guessing they might actually be related to an insect. But the only insects I am aware of having in my living room are fung...
common-pile/stackexchange_filtered
How to store images in local storage and store path in room? I'm new to Kotlin Jetpack Compose android development and I have been trying to build an app that lets you take notes and you can also store images along with the notes in the room database. The issue is that when I use the following picker to pick images fro...
common-pile/stackexchange_filtered
Left Ctrl Key doesn't work (but right one does) My left ctrl key isn't working. The right ctrl key works fine. I'm not skilled at all with problem sovling in Linux. Could someone point me the right direction, please? From what I learn when I run xev is that the right key is correctly associated with Control_R, while th...
common-pile/stackexchange_filtered
Which maximal closed subgroups of Lie groups are maximal subgroups? Which maximal closed subgroups of Lie groups are maximal subgroups? What's an example of a maximal closed subgroup of a non-discrete Lie group? Pete: See http://arxiv.org/PS_cache/math/pdf/0605/0605784v3.pdf . For noncompact Lie groups it's probably...
common-pile/stackexchange_filtered
Flexible enums in C++ How can I organize enums so that each enum entry could have parameters, like I can do in Haxe, for instance: enum GraphicAct { ClearScreen; MoveTo(x:Float, y:Float); LineTo(x:Float, y:Float); FillColor(color:Int); EndFill; } function main(){ var actions:Array<GraphicAct>; actions.p...
common-pile/stackexchange_filtered
Creating multiple new vectors from original vector I have a vector d and I create new vector from d such that new vector contain every mth element of d: v<-d[seq(1,length(d),m)] the next step I would like to calculate the sum s<-sum(abs(v[1:(length(v)-1)]-v[2:length(v)])) It would be no problem if I do this with few ...
common-pile/stackexchange_filtered
Inserting mysql values directly into pdf using x,y coordinates. Any suggestions for a resource to insert database values directly into pdf using x,y coordinates, preferably in php? I have a form that needs to be populated with information contained in a database. The form cannot be altered in any way. a google search g...
common-pile/stackexchange_filtered
How to get for() number Well all I really need is for a certain number to increase every time a for loop is completed. Here is my code: function TEST(){ for(i = 0; i < 4; i++){ var test = 1 test++ Logger.log(test) } but the logger output only looks like: [14-02-24 17:53:19:100 PST] 2.0 [14-02-24 17:53:19:100 PST] 2.0 ...
common-pile/stackexchange_filtered
Belkin Bluetooth and Wireless USB Adapter I have a Windows XP (SP3) machine with a Belkin F8T012 USB adapter plugged into it. I also have a Belkin F8T031 Wireless USB Printer Adapter with an HP 5900 DeskJet plugged into it. Everytime I try to print I get asked to enter the pairing code. I read in the documentation f...
common-pile/stackexchange_filtered
Muting Media Player at certain points in the Game Hello: I want to be able to leave the option of muting in the below code; The sound plays every time someone gets it correct and when one gets it wrong. How can i mute this ? Currently the voice is on even when my phone voice is muted. Thanks in advance. if (enteredAns...
common-pile/stackexchange_filtered
writing bash like script in fortran We can write simple bash script to easy our tasks in many ways. For example as the bash scritp below. #!/bin/bash name="Vijay" echo "My name is $name." echo "$name does no like to play football" exit $? Can one achieve the same thing in Fortran? I tried the code as blow: program...
common-pile/stackexchange_filtered
How can I boot a specific ISO / Linux distribution image file with VMware I've downloaded all the archives of this specific linux distribution and I have unzipped them and then I gave the extracted image file to Vmware,but it says operating system not found. I have also tried to open it with : DiskInternal Linux Reade...
common-pile/stackexchange_filtered
Freebase co-types search timeout I'm trying to find freebase co-types, that is, given a type you find 'compatible' types: Suppose to start with /people/person, it might be a musician (/music/group_member), but not a music album (/music/album), i don't know if in freebase is there something like owl 'disjointWith' betwe...
common-pile/stackexchange_filtered
Transaction management in a SOAP server implementation I have a standard jax-ws webservice set up that uses Spring for DI and Hibernate for persistence. Now in Spring you'd normally wrap your request in a custom filter and execute beginTransaction() and commit() / rollback() on the Hibernate session depending whether t...
common-pile/stackexchange_filtered
How do I create an incremental log during execution of my C# program using StreamWriter or similar? I'm hoping to have a simple function (not a class or library) that lets me dump information to a text file as I'm executing, but easier said than done. There are plenty of questions about stream writers, but somehow none...
common-pile/stackexchange_filtered
how to pass a variable through a url I created a field in WP customizer and I'm trying to pull whatever value I enter from another file. Beforehand, this worked: private $endpoint = "http://www.website.com/webservice/GetSearchResults.htm?ws-id=12345"; and now I am trying to do something like this (I'm new at this): $w...
common-pile/stackexchange_filtered
Issues with binding structure layout in the shaders which translated from glsl to hlsl I have a small issue with my shaders. Sorry if it is not the right place for this question. In general, the essence is that for my application on dx12, I have shaders in glsl (I'm too lazy to rewrite them because there are many, and ...
common-pile/stackexchange_filtered
Removing empty elements from an array/list in Python I've a big array under the name all_data_array: all_data_array = [[[], [], [], [], [], [], [], [], [], []], [[0, 1, 2, 3], ['foo', 'moo', 'bar', 'sis'], ['05-03-2014', '10-03-2014', '14-03-2014', '20-03-2014'], ['05-03-2014', '10-03-2014', '14-03-2014', '20-03-2014']...
common-pile/stackexchange_filtered
When in history did people start seeing a girl's breasts as being inherently sexual? In our modern culture we always seem to take for granted the fact that girls are expected to cover their breasts, with the (sometimes...) only real exception being breast-feeding, in which case the girl is still expected to cover her n...
common-pile/stackexchange_filtered
Cannot make changes to ionic.app.css after installing Sass? I'm working on an app in ionic, and would like to customize the .CSS file that was generated by Sass after installing. When I open the .CSS file in my editor (Edge Code), make changes, and try to save the file I get: ...The permissions do not allow you to make...
common-pile/stackexchange_filtered