text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Open multiple files using ex command :edit and a wildcard
Is it possible to load multiple files at the same using :edit? I tried:
:e ~/dev/myproject/*.c
and it did not work.
(Note this is different than "How to open multiple files matching a wildcard expression?" because in that question he is not using :edit)
But th... | common-pile/stackexchange_filtered |
Location of windows command prompt command files
In Unix, the terminal commands are in /etc folder. Similarly, I'd like to know where the command files of Windows are located eg., mkdir, cd, etc. Thanks in advance.
c:\windows\system32. also see this link: http://superuser.com/questions/229945/where-are-the-standard-wi... | common-pile/stackexchange_filtered |
asp:checkbox color change when checked or unchecked
I have a checkbox inside a GridView and I want to change its color to red when unchecked and to green when checked.
How can I do this ?
<ItemTemplate>
<asp:CheckBox ID="checkboxAttendanceStatus" BackColor="Red" runat="server" AutoPostBack="true" />
</ItemTemplate>
... | common-pile/stackexchange_filtered |
How to try out a product you do not intend to buy?
An organization I'm in offered a "test drive" event of a car manufacturer to its members. Since I have an interest in cars, I opted to go.
The purpose of this event is obviously to promote their cars. However this is a high-end car manufacturer, and I do not foresee I ... | common-pile/stackexchange_filtered |
How to pre-load a fragment before showing?
In my activity I have several fullscreen fragments, each of them downloads some data from web (using an async task) and shows them to the user. The fragments are showed one at a time.
To be more specific, each of the fragment readings some urls from a sqlite database, and fetc... | common-pile/stackexchange_filtered |
Support of $x$ also belonging to the set of best responses when $x$ is a best reponse
If $ \mathbf x $ belongs to the set of best responses to $\mathbf y$ i.e. to $BR(\mathbf y) = arg max \mathbf x \cdot A \mathbf y$, why do all of the pure strategies in the support of $\mathbf x $ also belong to $BR(\mathbf y)$?
| common-pile/stackexchange_filtered |
Dynamically change options of a jQuery plugin with callbacks
There is a plugin that is instantiated with default settings, with the possibility of overriding them, for example:
$('#test').Plugin({
option1: 'blahblah',
option2: 'test'
});
It also has the possibility of adding callbacks like this:
funcCallback = fun... | common-pile/stackexchange_filtered |
Exchange 2010 Block Internet Email, with exceptions
Background:
We are in the process of our Exchange2003 to Exchange 2010 migration (SBS2003 to Win2008/Exchange2010). All the mailboxes have been transferred to the Exchange 2010 server, but we are still using the SMTP Connector of Exchange 2003 to send external emails... | common-pile/stackexchange_filtered |
Error 500 Rails + Passenger + Apache
I've configure Apache 2.4.1 + Ruby on Rails using passenger on Ubuntu 14.04, but when I try to access my application I get a 500 error... the last log of apache and my VirtualHost config are here:
https://gist.github.com/anonymous/f27e04d8ed014554c7b64bb54321a9d7
Which version of P... | common-pile/stackexchange_filtered |
Modifying state & the correct way to update my reducer? (React / Redux)
I believe that I have been modifying my state for quite some time now. I wanted to do the following and was wondering why it did not work:
case "SAVE_DATA_TO_PERSON" :
let newState = {...state, data: {start: action.payload.start, end: actio... | common-pile/stackexchange_filtered |
I need to find fixed leftside 100% height menu
I'm Matthew and i'm new here. I need to find a menu which looks like that here:
http://noblebank.pl/ (leftmenu)
I have searched it a half day and i got no more ideas how to find something like that :)
I will be grateful for any help :)
EDIT:
The most important thing in thi... | common-pile/stackexchange_filtered |
Rails+Backbone+Faye messaging, how to instantiate model and remove its element from DOM for all subscribers?
I am using Rails + Backbone + Faye to make a sample chat application.
I'm currently able to use Faye's messaging capabilities to write to the DOM on a create event, though I'm not actually instantiating a backb... | common-pile/stackexchange_filtered |
Web based workflow designer that can be used with ASP.Net application?
I have been diving heavily into Workflow Foundation 4 and slowly realized we cannot host the designer in ASP.Net. What’s more, the designer is not suited to a non-developer.
We are looking for a web based solution we can tie into an ASP.Net applica... | common-pile/stackexchange_filtered |
Soundcloud API - Playback_count is wrong
Hey SoundCloud guys the value of all playback_counts delivered by your API is wrong over 1 month now. Please fix it. We can't countinue working with this wrong stats...
Try the API V2 as a workaround http://stackoverflow.com/questions/36976285/soundcloud-api-playback-count-diff... | common-pile/stackexchange_filtered |
Quill: author-advanced class does not fire on "keyup" event
Using Quill, I am trying to store the text within a span element ("span .author-advanced" class) upon releasing the key, but the event keyup does not get fired. I realized that in pure Javascript i can solve this problem by changing the contenteditable using a... | common-pile/stackexchange_filtered |
Determine if time falls in designated hour range
I am new at C#. I'd like to check whether a time is between 2 given hours, and if so then do something. Can anyone give me an example?
pseudocode example:
int starthour = 17;
int endhour = 2;
if ( hour between starthour and endhour){
dosomething();
}
How do I write... | common-pile/stackexchange_filtered |
I need to sum based on certain criteria. I believe I need to groupby but I get an error when applying the method
I have a table that has the following type of data.
id
start_time
approach
movement
value
1
11/12/2020 12:00:00 AM
Southbound
Right
2
2
11/12/2020 12:00:00 AM
Northbound
Right
2
3
11/12/2020 1... | common-pile/stackexchange_filtered |
The requested package robmorgan/phinx No version set (parsed as 1.0.0) is satisfiable by robmorgan/phinx[No version set (parsed as 1.0.0)]
When trying to install phinx executed the below command and it's giving the error as below
php composer.phar require robmorgan/phinx
Loading composer repositories with package info... | common-pile/stackexchange_filtered |
ImportError: conv_relu_cuda.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN2at15checkAllSameGPUEPKcN3c108ArrayRefINS_9TensorArgEEE
I am getting error, when I try to run 03_train from https://github.com/ahendriksen/noise2inverse. It is giving me this output when I tried to run # Option a) Use MSD network.
Error o... | common-pile/stackexchange_filtered |
when reloading vuejs component 'props' is updating but reference to 'props' via the 'this' scope still referencing previously loaded props
I have a vuejs component which renders out a post and its replies.
When the user wants to view the post, they click on the post title and it opens post in a modal window by calling ... | common-pile/stackexchange_filtered |
How to play a non-rtmp stream
I have an issue to stream a video conference for many mobile device(Andriod, iPhone etc) and I have troubles with streaming.
RTMP stream uses a flash and didn't work with this devices.
What stream can I use? and how can I convert rtmp to this supported stream?
For mobile devices you would... | common-pile/stackexchange_filtered |
Problem with saving files to S3 and Saving Entry to DB
I have a job application form, I takes some inputs:
FirstName
LastName
Phone (Unique Index)
Email (Unique Index)
Resume
ProfilePhoto
I want to save Resume and ProfilePhoto to AWS S3 (as they are files), the problem is if I try to save these 2 files:
what happens... | common-pile/stackexchange_filtered |
Jquery AJAX POST not passing anything to PHP
I'm having a problem passing variable using POST method with AJAX.Jquery
Here is my code:
ajaxtest.php
<?php
$dir = $_POST['dir'];
$scaned = glob($dir."*",GLOB_ONLYDIR);
echo json_encode($scaned);
?>
ajaxtest.html
<html>
<head>
<script type="text/javascript" src... | common-pile/stackexchange_filtered |
What are the black pads stuck to the underside of a sink?
I found some hard black pads with a honeycomb pattern stuck to the bottom of my sink. Some of them are starting to disintegrate and fall apart. Wondering what the purpose of these are and if I need to be concerned about their deterioration and if this is somethi... | common-pile/stackexchange_filtered |
Use d3 link nodes with mutiple lines for diffrent relations?
I can through target and source to link nodes with one line easily.
but how can link nodes with multiple lines? like:
or:
Don't use lines, use paths: https://stackoverflow.com/q/11368339/5768908
And how to add text on the middle of the line?
Use a text ... | common-pile/stackexchange_filtered |
FFmpeg Media Source Extension Examples and Adaptive VOD and Live Streaming
I have a quick questions. Has anybody examples or links for the use of FFmpeg with the Media Source Extension for pure JavaScript adaptive VOD-, or Live-Streaming? I mean really pure not HLS or DASH.
I prefer the chunkless, so say inline-contain... | common-pile/stackexchange_filtered |
Convert eastern arabic numerals to western arabic in bigquery
I have a problem where a eastern-arabic numeral has entered my table as a timestamp and bigquery doesn't recognise this as a timestamp and will not execute my queries.
I wish to be able to convert this:
'٢٠١٨-١٠-١١T١٦:٠١:٤١.٠٤١Z'
into this:
'2018-10-11T16:... | common-pile/stackexchange_filtered |
Android How To Get The Return Value String From SQLite Cursor Query And Display It In Edittext?
When I run the SQLite Cursor Query it fails to display the result string in the edittext.
It fails with the Logcat message:
java.lang.RuntimeException: Unable to start activity
android.database.CursorIndexOutOfBoundsExceptio... | common-pile/stackexchange_filtered |
Filtering user access based on tabled responses
I am building a "Survey" type application. The user answers a set of questions with pre-vetted answers.
Question: Where do you live?
Answers: England, Finland, Spain, France, Monrovia
The answers in this case would be in a DropDownList.
Once the user has completed the... | common-pile/stackexchange_filtered |
Strange glyph when moving commandline cursor
I recently tried vim for the (still in-dev!) Bash for Ubuntu on Windows.
I noticed this odd glyph appearing on the commandline in vim - but only when moving across it. It flashes for one screen update when moving the cursor... Sometimes.
Does anyone know of this? From my te... | common-pile/stackexchange_filtered |
Publish and Subscribe (data transfer) with permanently offline nodes. Are message queues a good fit?
The general question is what kind of mechanism can I use to transfer data to and from publishers and subscribers where publishers or subscribers can be permanently offline? Can message queues be used for this?
Possible ... | common-pile/stackexchange_filtered |
continuous mapping is determined by its values on a dense subset of its domain
Question: If f and g are continuous mappings of a metric space X into a metric space Y, let E be a dense subset of X.
if g(p) = f(p) for all p $\in$ E, prove that g(p)= f(p) for all p$\in$ X.
Answer:
Now, suppose f(p) = g(p) for all p ∈ E. L... | common-pile/stackexchange_filtered |
Java cloning method does not work
I am copying the the current best solution of my program as follows:
public Object clone()
{
MySolution copy = (MySolution)super.clone();
copy.wtour = (int[])this.wtour.clone();
copy.w = (int[][][][])this.w.clone();
return copy;
}
When I request the over... | common-pile/stackexchange_filtered |
Proof Taylor's theorem: "Let $M$ be the unique solution"; is this always possible?
I have a question concerning the proof of the following theorem:
I don't see how they can state that we're looking for a unique solution $M$;
$$
f(x)=\sum_{k=0}^{n-1}\frac{f^{(k)}(c)}{k!}(x-c)^k+\frac{M(x-c)^n}{n!}.
$$
How do we know th... | common-pile/stackexchange_filtered |
create columns representing 4 week period from weekly data in pandas
I have a dataframe of weekly data. The date are the first day of each week. The dataframe look like below:
import pandas as pd
df = pd.DataFrame( {'date': ['2019-12-22', '2019-12-15', '2019-12-08', '2019-12-01',
'2019-11-2... | common-pile/stackexchange_filtered |
Click event on fullcalendar.js plugin not working
I am trying to display a calendar in VueJS. I need the following things :
Month view
Week view
Day view when I click on a cell
To display data in each cell of my calendar
I can't use Vuetify plugin because I am already using Bootstrap, that's why I am using fullcalend... | common-pile/stackexchange_filtered |
Creating an IR Spectrum using Gaussian ADMP Calculation
I have a Gaussian 16 trajectory for a small cluster of water molecules carried out with ADMP technique. I was wondering if anyone knows how to compute the IR spectrum from the information in the trajectory.
Thank you
Dear Victor, if you have an XYZ File, you can ... | common-pile/stackexchange_filtered |
Get the current speed of internet (mobile & Wifi) using Android
I have an app that has to work in offline and online mode. Application has to make requests to the app server based on the internet speed of the current network connection (Wifi or Data).
If Wifi is connected, I can get the Wifi signal strength of the curr... | common-pile/stackexchange_filtered |
Do WHERE clauses exist in Lucene(.Net)?
I'm building an ASP.NET MVC site where I want to use Lucene.Net for full-text search. My site will be divided into certain categories, and I want to allow users to search inside a specific category or inside all categories.
To accomplish this, I plan to create a term in all docum... | common-pile/stackexchange_filtered |
Remove rows from a CSV file when a 4 columns have null values
I have a CSV file and I need to filter out some rows that do not contain certain values. Because of this I don't care about those rows and want to remove them or put the results of the command in a new csv file.
This is the format of my CSV file:
employeeid,... | common-pile/stackexchange_filtered |
Generating an HTML link to a file once it is created
I have the following bit of code which pops open a jquery mobile dialog box and updates the contents of the dialog box with a link to a file when it detects the file exists on the server. It checks for the existence of the file every second and tries up to 10 times.
... | common-pile/stackexchange_filtered |
Is coffee a drug that you could give to your dog?
Sometimes questions are very short and answers very long.
We all like coffee, but, would you give coffee to your dog?
According to dictionary.com, one of the definitions of the word drug is:
a chemical substance used in the treatment, cure, prevention, or diagnosis of... | common-pile/stackexchange_filtered |
Observable on one parent node vs multiple sub node Firebase angular 5
I have a confusion regarding Firebase observable in angular, here is structure
I want to watch all chats of particular user who logged in to my app, and I am seeing two option for achieve this.
Watch /chats node which means logged user will get n... | common-pile/stackexchange_filtered |
Why can I not insert a substring into an array using splice()?
Excuse the petty question, but this is really nagging me. I'm following the mozilla example: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice
Can someone explain why this doesn't work:
<body>
<p id="test">
<... | common-pile/stackexchange_filtered |
Translating user id when creating image
I want to create an image (for example ext3 image) from a given directory hierarchy. This directory hierarchy is owned by a given user. But on the final image, I want the files to be owned by superuser. Is there a solution for tranlating the user uid / gid to 0 ?
Here is a pseudo... | common-pile/stackexchange_filtered |
On periodic orbits of a discrete dynamic system
Let $f: D \subset \mathbb{R} \rightarrow \mathbb{R}$ continuous with $f(D) \subset D$ and let $x_0$ be a $n$-periodic atractor point of $f$. Show that every point of the cycle $\{ x_0, f(x_0),\dots,f^{n-1}(x_0) \}$ is also an $n$-periodic atractor point of $f$.
I tried us... | common-pile/stackexchange_filtered |
python eve gracefully exit from callback
I'm wondering if it's possible to update an item without completely process the PATCH request.
What I'm trying to do is to randomly generate and insert a value inside the db when a user sends a PATCH request to the accounts/ endpoint.If I don't exit from the PATCH request I will... | common-pile/stackexchange_filtered |
kubernetes Extended resource for pod
Kubernetes have a feature named extended resource. but I do not know the effects of what it brings.
In other words, what are the differences between I use it and I no use it?
Besides, Is the feature similar to the default limit or default request?
Extended resources are custom reso... | common-pile/stackexchange_filtered |
Two characters seem identical but UTF-8 encodings are not identical
I need to filter some illegal strings like "Password", but I found someone bypassed my check program. They input a string that seems exactly "Password" but it's not equal.
I checked the Unicode of it and, for example, the "a" is 8e61, while normal "a" ... | common-pile/stackexchange_filtered |
"Different than" followed by nominative case?
I'm going to try to explain my question as clearly as I can:
"Different" usually takes a preposition, either "from" (standard English regardless of region), "to" (British English), or "than" (American English.) But "than" differs from the other options because, unlike conve... | common-pile/stackexchange_filtered |
React PWA check if app is installed on mobile
I used create-react-app to create my first PWA. Everything worked great but I encountered this issue where I want to display a button to the user that will install the app. I managed to display the button to the user but now I want to hide the button if the user has the app... | common-pile/stackexchange_filtered |
Map from $\mathbb {R}$ to $\mathbb {R^2}$
Is there a way to construct an injective function that map from $\mathbb{R}$ to $\mathbb{R^2}$? If yes, please give me an example. Thank you!
$x \mapsto (x,0)$ is injective from $\mathbb{R}$ to $\mathbb{R}^2$. I guess you forgot something in your question.
I think you mean s... | common-pile/stackexchange_filtered |
Composite Primary Key Cascading
Two fields, Building and Room, make up a unique primary composite key in my rooms table. The key validates and saves, etc.
I have a BLANK Objects table which has three fields which will make it unique (again a composite primary key). The tables are as follows:
ROOM TABLE
[Building] [... | common-pile/stackexchange_filtered |
Jenkins:can not see test report tab
I can not see report tab here:
Public Junit test report:
I have configured Public JUnit test report, but I still can not see test report in left area.
Make sure you have some .xml files in **/target/sunfire-reports/*.xml
yes, there are some xml files in surefire-reports folder.
... | common-pile/stackexchange_filtered |
Accessing jQuery Variable on form
My data looks something like this
I have a parent class which has some attributes and list of child objects.
Child class has attributes like ID and Name.
What I want to achieve is
On load display all the parent items.
On click of a parent item list all the child items below.
I ... | common-pile/stackexchange_filtered |
How to check whether ear is deployed correctly in weblogic 12c?
I have an application ear which I am trying to deploy into Oracle Weblogic 12c server. I following instructions given on this site.
After following those steps, I tried to hit the url "http://localhost/myApp/servlet" where myApp is specified in application... | common-pile/stackexchange_filtered |
Appending to next row the result of math operation between three columns
So, I have the following Pandas DataFrame where all values in third column (Ratio) are the same:
import pandas as pd
df = pd.DataFrame([[2, 10, 0.5],
[float('NaN'), 10, 0.5],
[float('NaN'), 5, 0.5]], colum... | common-pile/stackexchange_filtered |
Input as List of dictionary python
str_arr = input()
d = "}, "
for line in str_arr:
new_str = [e + '},' for e in str_arr.split(d) if e]
print(len(new_str))
for i in new_str:
print(i)
I want my code to accept a list of dictionaries but the input is a string and tried to make the input ... | common-pile/stackexchange_filtered |
Citrix webform file uploading, gives access denied
For some reason my form won't submit if a user is in a Citrix environment, with Internet Explorer as a browser.
The code for the form is:
<form method="POST" action="http://mywebsite.com/photo/upload" accept-charset="UTF-8" enctype="multipart/form-data">
<input na... | common-pile/stackexchange_filtered |
Qsqlite duplicate connection warning in qt c++
I am creating an application in qt which uses sqlite database. I have written a class to open database connection. The constructor for the class is given below:
currencydb::currencydb()
{
currency = QSqlDatabase::addDatabase("QSQLITE");
currency.setDatabaseName("c... | common-pile/stackexchange_filtered |
Should I really test controllers?
I'm trying to get the best codecoverage/development time result
Currently I use rspec+shoulda to test my models and rspec+capybara to write my acceptance tests.
I tried writing a controller test for a simple crud but it kinda took too long and I got a confusing test in the end(my bad p... | common-pile/stackexchange_filtered |
Selenium Python trying to click on Radio button error ElementNotVisibleException
I have a webpage with some radio buttons. I am trying to click on a radio button but it is not clicking and throwing
The full error is:
Traceback (most recent call last):
File "C:\Webdriver\ClearCore\TestCases\DataPreviewsPage_Test... | common-pile/stackexchange_filtered |
Selenium WebDriver Java - Trying to log out of facebook but placed with a pop up when clicking on Log out link
I am doing some testing on Facebook using Selenium and Java. I am trying to log out of Facebook which i am able to by clicking on the Log Out link however i am placed with a pop up which i am unable to bypass.... | common-pile/stackexchange_filtered |
Regular Expression - How to find the <%@ %> line in the file?
I found there is a bug in this highlight editor: http://cshe.ds4a.com/
The following ASP.Net code can't be highlighted correctly
<%@ Page Title="<%$ Resources: XXX %>" Language="C#" ContentType="text/html" ResponseEncoding="utf-8" %>
The problem is about t... | common-pile/stackexchange_filtered |
Regression function in terms of a set of basis functions
Regression function in terms of a set of basis functions is given as
$f(x) = \sum_{m=1}^M \beta_m h_m(x) + \beta_0$$
To estimate $\beta$ and $\beta_0$ we minimize the following expression.
$$H(\beta, \beta_0) = \sum_{i=1}^N V(y_i - f(x_i)) + \frac \lambda 2 \sum ... | common-pile/stackexchange_filtered |
Facing null pointer exception while merging documents using iText 5.5.3
I'm passing 2 documents in the form of streams and trying to merge them into a single pdf. In the first iteration of the loop everything works fine, but miraculously during the second iteration it throws a null pointer exception. Both the streams p... | common-pile/stackexchange_filtered |
Problems with basic proof in modal logic (event based)
I am having trouble deriving the following basic result:
$\ast$) For every $\omega \in \Omega, \omega \in P (\omega),$
from the following axioms:
A1) $K (\Omega) = \Omega$,
A2) $K (A) \cap K (B) = K ( A \cap B)$.
Where, $\Omega$ is a state space, $K: 2^{\Omega} \t... | common-pile/stackexchange_filtered |
Programmatically create an <ui:include src="..."/> in backing bean
In a JSF page I have:
<h:form id="form">
<h:panelGroup id="content" layout="block"/>
</h:form>
In a Java SessionScoped bean i have a method:
public void fillContent()
{
UIComponent content = FacesContext.getCurrentInstance().getViewRoot().findCom... | common-pile/stackexchange_filtered |
Enable Virtualization for Windows 10 Pro running inside VirtualBox
My ultimate goal is to run docker for windows inside a Windows 10 Pro (evaluation).
To do that,
Downloaded Windows 10 Pro evaluation image from Microsft website,
Mounted it with virtual box
Installed docker for windows
The installation failed, since... | common-pile/stackexchange_filtered |
Download multiple csv files in a zipped folder in Shiny
Can someone please point out how I can make this download zip function work in server.R? When I run this, I get the following error:
[1] "/var/folders/00/1dk1r000h01000cxqpysvccm005p87/T//Rtmps3T6Ua"
Warning in write.csv(datasetInput()$rock, file = "rock.csv", se... | common-pile/stackexchange_filtered |
LibGit2Sharp CheckoutPaths()
I did a commit (49916.....) now i want to checkout one file of the commit into the working dir. The file is named NEW.txt.
If i type
Git checkout 49916 NEW.txt
into Git Bash it creates the NEW.txt file with the content in my working dir.
But my LibGit2Sharp command does not want to work.... | common-pile/stackexchange_filtered |
Apache conf on Ubuntu causing url to repeat itself instead of redirect
Ubuntu 18.04
Apache2
Certbot
I'm trying to get cerbot and non-www to www redirects set up on this site and I am copying the conf file from another one of my sites that is working just fine, but for some reason 443 is forbidden to the user on this ne... | common-pile/stackexchange_filtered |
Does the "discussion board" application send a invitation to every team member?
I recently had a unfortunate experience when adding Yammer to our company Intranet in SharePoint Online.
After creating a new discussion, a invitation had been sent to everyone in the company. I want to prevent this at any cost.
Now I do ag... | common-pile/stackexchange_filtered |
Not able to view existing H2 database using H2 console
I am new to H2 database. I had installed H2 console. I am trying to connect existing H2 schema which is created via my java application using below Url.
<property name="connection.url">jdbc:h2:./mydb;INIT=create schema IF NOT EXISTS datamagic;AUTO_SERVER=true</prop... | common-pile/stackexchange_filtered |
I am getting a "'tuple' object has no attribute 'set_width" error and I don't know what to do
first post on stackoverflow, apologies if this is not written correctly
I am pretty new to Python and Very new to Manim. I am a big fan of 3b1b, and was using one of his files from gitlab as a baseline for my text animation (F... | common-pile/stackexchange_filtered |
Get the max of a nested dictionary
I have the following data structure:
{'923874rksd9293': {'animated': (1, 5.0),'romance':(1, 4.0),'superhero':(1,3.0)}}
and I'd like to get the category with the maximum of the floating point value, here animated with 5.0. Is there a pythonic way to do this? There may be more than one... | common-pile/stackexchange_filtered |
How to keep the prompt after running some commands?
I run a script using Launchy which opens an html document in the internet browser.
the browser becomes the active window and I lose the prompt on irb.
how can I keep the prompt ?
What command does Launchy use to open the html document in the browser?
Launchy.open (... | common-pile/stackexchange_filtered |
Trying to identify possible causes of flakey postgis error on postgres
We have a postgres trigger that is set to run when eastings and northings values are inserted or updated on a row. The trigger function use postgis to transform the eastings and northings, which are floats, to a point value which is stored and cache... | common-pile/stackexchange_filtered |
Clock speed vs. number of cores for parallelized computer simulation
My question is similar to some "speed vs. cores"-questions that have already been asked on this website.
However, I am interested in some very specific and technical points. So I hope that my question will be eligible for an "answer" instead of being ... | common-pile/stackexchange_filtered |
Modify a line in a file after finding it with wildcard re.match
I am trying to rewrite a super simple html page dynamically after using socket to retrieve a value. Essentially this is pulling a track name from my squeezebox and trying to write it to html. The first part of line is always the same, but the track title... | common-pile/stackexchange_filtered |
Secure Connection Failed : The page you are trying to view cannot be shown because the authenticity of the received data could not be verified
Secure Connection Failed : The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
FireFox browser responds like thi... | common-pile/stackexchange_filtered |
Was my use of downvote and upvote warranted?
My Understanding of Downvotes and Upvotes
It was my understanding that using downvotes and upvotes was the right way to:
increase visibility of valid and high-quality answers,
decrease visibility of invalid or low-quality answers.
I also see downvotes as a temporary measur... | common-pile/stackexchange_filtered |
Vehicle GPS tracking for Atmel AVR
I have made the circuitry for Vehicle tracking device now I'm stuck in the code of Atmel AVRmega2561, which is supporting with flash memory.
Please advise from where should I start.
What have you tried?
You'll have to explain where you're stuck and what your thinking is so far. Que... | common-pile/stackexchange_filtered |
Get missed element of array
I have a method which receives an array
public static int getMissed(int[] array) {...}
For example it will be {1,3,5,7,11}
As you can see 4d element is missed, it should be 9.
For example array's size is unknown and step is unknown, how can i find missed element?
I have no idea. It was th... | common-pile/stackexchange_filtered |
Ignore first parskip inside a save box
I have the following definition (MWE below) of a lrbox. If I use the normal setting parskip=off the interaction \mdf@restoreparams works as expected. Inside the lrbox I can use parskip and parindent. But if I use the option parskip=half I get an extra skip at the beginning of the ... | common-pile/stackexchange_filtered |
"Kinetic matrices"
I've been wondering for a very long time what properties are know on what I will call "kinetic" matrices, for lack of a proper name. These matrices $k_{ij}$ have the following properties:
$\forall j\neq i, k_{ij} \geq 0$
$ \forall i, \sum_{j} k_{ij} = 0$
These kind of matrices are very common in e... | common-pile/stackexchange_filtered |
Printing an HTML page on preprinted paper
I need to design a page for a web application that makes sense for user input. Sadly, the simplest and most logical manner for the user to interact with the data is completely unlike the form it needs to be printed in.
I'm aware of the @media @print @screen styles that allow m... | common-pile/stackexchange_filtered |
Spring SAML + Wildfly 8 + IBM Jdk (1.7) - java.lang.RuntimeException: org.w3c.dom.ls.LSException: [ERR 0462] An unsupported encoding is encountered
I am getting a error when deploying spring-saml application in Wildfly 8 with IBM JDK 1.7. Interestingly Googling got me no answers.
The error stacktrace is
Caused by: org.... | common-pile/stackexchange_filtered |
Time travel short story where past is blank and future is unformed matter
I'm looking for the title and author of this short story. The premise is that the main character invents a time machine, but when he travels to the past, there is nothing but void and when he travels to the future there is nothing but chaotic, u... | common-pile/stackexchange_filtered |
Iterating through fields and generating formatted string output
I want to iterate through all integer type fields in a layer and generate new "display" fields marked with a 'd' at the end of the name using the appropriate field calculator expression.
The script basically works, it generates the correct columns and even... | common-pile/stackexchange_filtered |
Fill-In validation with N format
I have a fill-in with the following code, made using the AppBuilder
DEFINE VARIABLE fichNoBuktiTransfer AS CHARACTER FORMAT "N(18)":U
LABEL "No.Bukti Transfer"
VIEW-AS FILL-IN NATIVE
SIZE 37.2 BY 1 NO-UNDO.
Since the format is N, it blocks the user from entering non-a... | common-pile/stackexchange_filtered |
Malformed XML in JSF 2.1 redirect
I have a login page that's getting this error in only one client machine. The same application deployed in the same JBoss EAP version is working in every other server we try.
After you input your credentials, the application redirects to a home page. We are getting this weird error i h... | common-pile/stackexchange_filtered |
Snakemake rules that are dependent on checkpoint outputs skipped
I currenltly have a Snakefile with the following checkpoint & rules:
checkpoint a:
input: "some_bam.bam"
output:
info="some_info.info"
zip="some_zip.gz"
rule sub:
input:
info = lambda wc: checkpoint.a.get(**wc).output.... | common-pile/stackexchange_filtered |
Parsing JSON Data Sent from Calendly.com
I am trying to send data sent by calendly.com to my webserver. I am connecting to that webserver and can post data to it just fine using
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $myvars);
curl_setopt($ch, CURLOPT_FOLLOWLOCATI... | common-pile/stackexchange_filtered |
How to email query output
I have a basic query, and i'd like to email the results. How can I do this at the query level? So if my query is:
SELECT
Store_Id, Paid_Out_Amount, Paid_Out_Comment,
Paid_Out_Datetime, Update_UserName
FROM Paid_Out_Tb
WHERE (Store_Id = 1929) OR
(Paid_Out_Amount > 50) AND
... | common-pile/stackexchange_filtered |
Symfony 4 - Impossible to submit my form modal (error with path)
in my project symfony 4 I have a button that I use to open a modal popup, which has a form, like this:
But the problem is that when I submit the form, I have this error:
No route found for "POST /validation/%7B%7BdeleteLink%7D%7D" (from
"http://<IP_AD... | common-pile/stackexchange_filtered |
"Wire" multiple Deployments to one Service in Kubernetes
I have several different Deployments.
Deployment A: export port 3333
Deployment B: export port 4444
I want to use a single Service(with LoadBalancer type) to export them.
Service Main: export port 4545 -> Route to Deployment A's port 3333
export po... | common-pile/stackexchange_filtered |
How to convert jiffies to percentages from virt plugin
i have installed collectd on our compute node. and enabled virt plugin inside it. we push the result to influxdb. we try to get the instance CPU utilization to be displayed inside grafana. however, we can see the output is using jiffies. Can anyone advise, how can ... | common-pile/stackexchange_filtered |
Error loading openNLP Spanish model POS tagger in R
I am trying to run a POS tagger function for Spanish text using R's openNLP package. I previously run the same function using a model for English text, but it seems there is not an official model for Spanish POS tagging in the openNLP page (http://opennlp.sourceforge.... | common-pile/stackexchange_filtered |
How can a make a histogram for each item
I m trying to built a histogram for each item but when I trying to do that , i have only one histogram . This the code I have
for indicateur in indicator["Series Code"]:
filtre_indic=data_sc['Indicator Code']==indicateur
data_test = data_sc.loc[filtre_indic][... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.