text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Why does -2log-likelihood decrease when you add new variables?
Suppose I'm conducting a study with follow-up survey after N years. Now I want to determine potential risk factors for mortality. I use a model selection procedure and get a table in which the maximized value of -2log-likelihood monotonically decreases when... | common-pile/stackexchange_filtered |
Computing the minimal polynomial in an arbitrary field
The wiki page on minimal polynomials includes an explanation on how to compute the minimal polynomial recursively.
Here is the last step:
The minimal polynomial $\mu_T$ is the product of $\mu_{T,v}$ and the minimal polynomial of the restriction of $T$ to $\operato... | common-pile/stackexchange_filtered |
iOS 9.2 breaks app protocol handling
I have a link in my app that points to an app protocol of type myProtocol://". Until a few days ago this was working completely fine, whenever you clicked on the link, the native app would open.
However, iOS9.2 seems to have broken this. Now what happens is when the links is clicked... | common-pile/stackexchange_filtered |
If $f$ is differentiable on $[a,b]$, isf $f'$ bounded on $[a,b]$?
If $f:[a,b]\to \mathbb R$ is differentiable on $[a,b]$ is $f'$ bounded on $[a,b]$ ?
I'm not sure it's true because $f'$ is not supposed to be continuous, but I can't find a counter example. I recall that $f$ being absolutely continuous on $[a,b]$ means ... | common-pile/stackexchange_filtered |
How can I practice javascript
I want to improve myself by practicing in web software (javascript), but I don't know how to do it or where to find it
I don't have any project idea in my head.Is there a website that offers projects that I need to develop?
I would appreciate if you help me hopefully the problem has been s... | common-pile/stackexchange_filtered |
How can I make Compiz have the Genie minimize animation?
I've installed CCSM and the extra Compiz Plugins, now I want to make minimize and unminimize animations have the genie effect (aka the minimize effects on OS X). How can I do this in CCSM?
Open ccsm, go to Effects - Animations. Select Minimize Action tab.
Double... | common-pile/stackexchange_filtered |
microsoft ajax client side library document ready function
microsoft ajax client side library has different functions that mimic the server side Page Life Cycle and if (!Page.IsPostBack) conditions. I'm not sure which client side function correspond to the equivalent server side method.
In which order these client side... | common-pile/stackexchange_filtered |
Make bash alias to simplifid commands and getting Not found Error
for our web application we use useful commands such as :
php artiasn
php artisan serve
composer update
php artisan view:clear
and now i want to make alias for them into ~/.bash_profile
alias ps ="php artisan"
alias serve="php artisan serve"
alias cu="co... | common-pile/stackexchange_filtered |
AngularJS content in HTML loaded through JS doesn't work
I am loading an HTML file through JS, this file is containing AngularJS content which doesn't work.
<div ng-app="MyApp.firstElement" ng-controller="ControllerOne" id="firstElement">
AngularJS content
</div>
<div ng-app="MyApp.secondElement" ng-controller="Con... | common-pile/stackexchange_filtered |
Properties of a basis of $\mathbb R^n$
Let $\{v_1,\ldots,v_n\}$ be a basis of $\mathbb R^n$. Which of the following must be true? (Check all that apply).
A. For all $i=1,\ldots,n, \|v_i\|=0$.
B. For any real numbers $c_1,\ldots,c_n, c_1v_1+\cdots+c_nv_n=0$, $\Longleftrightarrow$ $c_1=\cdots=c_n=0$.
C. Any vector in $... | common-pile/stackexchange_filtered |
Out of band verification using phone; a fallacy?
More and more websites nowadays require new users to verify their 'identity' by requesting the user prove that he/she has access to a device identified by a telephone number (typically a phone).
The often cited reason for this is the rather non-specific: "to protect your... | common-pile/stackexchange_filtered |
Simple Python3 Checkers
I'm a beginning "pythonist" my current task is to write a checkers game and I need some suggestions here and there:
are the code style and literacy answering the criteria of python?
are the modules of my program correlating with each other correctly?
are the algorithms of finding possibilities... | common-pile/stackexchange_filtered |
How to create a message dialog or popup using devexpress xaf
How would I create or is there built in functionality in XAF to display a message box in a XAF web application?
There are two approaches.
You can use the ConfirmationMessage property of any action.
For more advanced scenarios, there is a sample project atta... | common-pile/stackexchange_filtered |
How can I copy a comment from a PDF opened with Google Chrome's built-in PDF file viewer?
I opened with Google Chrome's built-in PDF file viewer. The PDF contains a comment:
How can I copy the text of a comment from a PDF opened with Google Chrome's built-in PDF file viewer?
I think you will need an extension...
It'... | common-pile/stackexchange_filtered |
image path from sqlite is not working
I'm practicing how to parse XML data and store it into the sqlite. I have done parsing and storing successfully. But I have one problem with displaying image from an url. The URL is formed by combining two NSStrings. One for the fixed address(which I set value) and other based on t... | common-pile/stackexchange_filtered |
Reporting server configuration in a sharepoint farm?
For configuration of SQL SERVER Reporting server in SharePoint mode is can we install reporting services add-in for SharePoint in all servers in a SharePoint farm?
I did installed reporting server in a SharePoint server, where I
initially installed SharePoint and ... | common-pile/stackexchange_filtered |
DOM element computed style font size too small
I'm getting the font-size of a span within the DOM using the following two approaches in JavaScript code:
const element = document.querySelector('h2 span');
const fontSizeObj = element.computedStyleMap().get('font-size');
const fontSizeStr = window.getComputedStyle(element... | common-pile/stackexchange_filtered |
Proper format for PHP html email
<EMAIL_ADDRESS>
$message= "CALLERS NAME: ".$values["CallName"]."\r\n";
$message="CALLERS STREET ADDRESS: ".$values["CallStNo"]."\r\n";
$message="STREET DIRECTION: ".$values["CallStDir"]."\r\n";
$message="CALLERS STREET NAME: ".$values["CallStreet"]."\r\n";
$message="ISSUE CALLER IS CALL... | common-pile/stackexchange_filtered |
AttributeError: 'L2bpfSocket' object has no attribute 'ins'
I am trying to build a Networkscanner that scans my localnetwork.
Here is how I would do it:
Create an ARP Request.
Create an Ethernet Frame.
Place the ARP Request inside the Ethernet Frame.
Send the combined frame and receive responses.
Then parse the respon... | common-pile/stackexchange_filtered |
More aesthetic (perhaps shallower) superscript check symbol
The standard way to produce a superscript check mark in latex would be something like
$\mathcal{E}^{\vee}$
(this is a notation often used for the dual of a locally free sheaf $\mathcal{E}$.) An alternative using the amsxtra package would be
$\mathcal{E}\spche... | common-pile/stackexchange_filtered |
How can I add a business logo in the upper corner of a Power BI template using JSON?
I am trying to set up a custom Power BI theme using JSON, but I can't get the company logo to do what I want.
Problem 1
I saved the JSON script and the .jpg logo in the same folder, and I tried to refer to the logo by using "image" and... | common-pile/stackexchange_filtered |
BackgroundWork services in ASP.NET MVC
I recently came across an article regarding background work / scheduled work management using ASP.NET.
As per my understanding of Web applications, you can run a bunch of sync and async requests until the browser is connected with the Server. Once the browser is closed, the reques... | common-pile/stackexchange_filtered |
How to push Node-Red to GitHub without revealing sensitive information?
I would like to share my NodeRed Code in Github as part of an IOT project, however I would like to keep some of my data private (wifi password, database password, etc).
I could manually erase this information, but this would not be very practical, ... | common-pile/stackexchange_filtered |
How to accept alert using javascript in selenium robot framework
I need your expertise to get some solution to my problem. there is an automated alert popup is generating while I am deleting some records. I have to use javascript in my selenium robot framework script to click OK on alert popup. I tried using following ... | common-pile/stackexchange_filtered |
Dishwasher supply line leaking when attached to unit
I'm attempting to install a new dishwasher, a Bosch 500 series. The water supply line itself is fine, as in there are no leaks along the line itself. However, I can't get the connection to the dishwasher itself to play nice.
I've given it a handful of attempts myself... | common-pile/stackexchange_filtered |
I need to identify this connector from inside a hot tub control panel
A mouse chewed through the wire of our hot tub control panel and I need to replace this five pin connector. It is 1.3mm wide.
Please document the size (both dimensions)of the connector including pitch between pins
"It is 1.3mm wide." Yeah, right. ... | common-pile/stackexchange_filtered |
SQL if query functionality
I want to write a query to determine the success rate for every day for each different mode. I did write a query that'll just group by date and mode which serves my purpose but one of my seniors wrote this following query which also works but I am just unable to understand how the if clause i... | common-pile/stackexchange_filtered |
how to incorporate perl modules into script
I am a beginner at Perl, I need to use functions from the Perl module Date::Easter in order to create a program that will take a year from user input and display the date of Easter within that year, i need to know how you would incorporate that module into the script in order... | common-pile/stackexchange_filtered |
why CPU is utilizing this much when I run xcode
Below is the screenshot of CPU utilization.
Just curious what are those Interface Builder Cocoa Touch Tool & ibtoold process.
Because of this, to run app, it takes me around 1 min least.
Note: I am using xcode 5
I see that this happens when there are more view controller... | common-pile/stackexchange_filtered |
os.listdir() to get name of filename (currently only getting folder name above it)
I'm trying to use listdir() to get filename like: "SPRING4800-D7-V40-H70.png". However, i'm only getting the name of the folder above that, so for example "SPRING4800". I cannot just type in '/content/images/maleset/SPRING4800' because t... | common-pile/stackexchange_filtered |
Who am I? is my question
I have a lot of siblings, but I have the longest name of them all. In fact all of my brothers and sisters have single syllable names, but mine is the only one with multiple syllables.
My prior sibling loves peace, my next sibling likes finding things, and I like to ask questions.
So, here is m... | common-pile/stackexchange_filtered |
Re-order a PHP Array
I have this array with data. I'm currently displaying it from my foreach loop as provided, but I want to reorder it (Starting from the MAX id to MIN id)
[0] => Array (
[id] => 1
[timestamp_start_ex] => Wed Mar 9 18:28:14 2016
[timestamp_end_ex] => Wed Mar 9 19:28:14 2016
[timestam... | common-pile/stackexchange_filtered |
Django: Annotating Sum() of two columns in different tables
Assuming I have the following models - How can I annotate the total posting and total story reach of each influencer in my queryset?
class Influencer(models.Model):
name = models.CharField(max_length=100)
class Posting(models.Model):
influencer = mode... | common-pile/stackexchange_filtered |
SVM Algorithm: Without using sklearn package (Coded From the Scratch)
I'm trying to code SVM algorithm from the scratch without using sklearn package, now I want to test the accuracy score of my X_test and Y_predict. The sklearn had already function for this:
clf.score(X_test,Y_predict)
Now, I traced the code from the ... | common-pile/stackexchange_filtered |
QueryDsl ComparableExpression to produce a DateTime literal using the SQL dialect
I want to create a ComparableExpression that will produce a datetime literal in the generated SQL, in the dialect of the configured DBMS.
I have read this article: How to get fully materialized query from querydsl, which produces a litera... | common-pile/stackexchange_filtered |
Java using iText to set a table border
I am building a pdf from html and I want to set the table border.
here is my html:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Digital </title>
<meta http-equiv="Content-Type" content="text/html; chars... | common-pile/stackexchange_filtered |
Surjection and Bijection of linear transformation
Let there be V,W vector spaces above field F. $T:V--->W$ linear transformation.
(v1,v2,v3....vk) $\subseteq$ V.
-->$span({T(v1),T(v2)...T(vk)})=W$.
true or false:
If T Surjective then $span(v1,v2...vk)=V$
if T Bijective then span $(v1,v2...vk)=V$
if i understand the q... | common-pile/stackexchange_filtered |
Is it possible to have Asterisk as the signalling server for WebRTC enabled mobile app
Is it possible to have Asterisk as the signaling server for WebRTC enabled mobile app. I have found that I need to create the signaling server in node.js. I was wondering whether Asterisk can do the job for me.
Also, does the WebRTC ... | common-pile/stackexchange_filtered |
Pair correlation function for non-interacting spinless bosons
While trying to solve a second quantization exercise regarding a bosonic gas, I've been having trouble trying to understand the $(1-\delta_{\text{pq}})$ term in the decomposition of the following matrix element (which leads to the pair correlation function) ... | common-pile/stackexchange_filtered |
Why root bash output is colored but `sudo ls` output is not?
In bash (I am using Ubuntu 12.04) I get colored outputs either as root (after sudo su) or as a normal user.
I checked (after reading this post) the files .bashrc for normal user and superuser and the options related to color are enabled for ls in alias ls='l... | common-pile/stackexchange_filtered |
Empty MappedType when creating type from imported interfaces in TypeScript
I defined some interfaces in a file named interfaces.ts and attempted to import them into a different file, consumeInterfaces.ts, to create a mapped type. However, the resulting mapped type resolved to an empty object.
// interfaces.ts
export i... | common-pile/stackexchange_filtered |
How to integrate soundcloud sdk in android application...!
I tried googling that's cause i am found 2 methods code.google.com/p/soundcloudapi-java/
in that step-1 occurred
java.lang.NoClassDefFoundError: oauth.signpost.commonshttp.CommonsHttpOAuthConsumer
i tried to found that solution but not got success anyone ca... | common-pile/stackexchange_filtered |
How to Create a half circle progress bar in flutter?
I want to implement a design like the image in Flutter. But I am stuck on the half-circle progress tracker. Please tell me how to implement this. Thank you in advance :)
This is the design
you need a CustomPaint widget
I tried Custom paint but couldn't able to make... | common-pile/stackexchange_filtered |
Passing data from global memory to local memory in OpenCL kernel
Let's say I have the following kernel:
__kernel void classify_data_points( __global float* data,
__local float* datasegment)
{
int gid0 = get_global_id(0);
int lid = get_local_id(0);
dataSegment[lid] = data[... | common-pile/stackexchange_filtered |
Remote PowerShell, which machine is making the incoming connection?
I'm trying to identify the connecting machine within a remote PowerShell session.
The reason is so a script can behave differently depending on which machine is connecting.
Get-PSSession doesn't give enough information. Any ideas?
I don't think this i... | common-pile/stackexchange_filtered |
Delete a block of lines with a condition on the last line
I have a log-file where at the end of a series of lines you can see if this block is relevant.
Now I'm looking for a command like sed to delete de blocks ending with "Content-Length: 0" and beginning with the last "--" before this line.
I tried sed -n "/--/,/Co... | common-pile/stackexchange_filtered |
the group by in mysql5.7
I find the same sql run in mysql5.7 and mysql5.5 but the result is different.
the sql like this:
SELECT t2.* FROM (SELECT t1.* FROM t_user t1 ORDER BY t1.id desc) AS t2 GROUP BY t2.type;
The result in mysql5.7:
The result in mysql5.5:
the sql script like this:
DROP TABLE IF EXISTS `t_user`;
... | common-pile/stackexchange_filtered |
Volume of tetrahedron
For a tetrahedron defined by vectors $OA=\mathbf{a},\;OB=\mathbf{b},\;OC=\mathbf{c}$, the volume is $\frac{1}{6} |\mathbf{a}\cdot (\mathbf{b}\times\mathbf{c})|$
I am wondering, what does the sign of $\mathbf{a}\cdot (\mathbf{b}\times\mathbf{c})$ correspond to? Does it just depend on ordering? For ... | common-pile/stackexchange_filtered |
I can't create an outlet for a label in my collection view cell
So everything is done the way you would assume. I drag and drop a collection view into a controller view. I connect the datasource and delegate. blah blah blah everything is done by the book.
Ok so i want to connect a label inside my collectionViewCell to ... | common-pile/stackexchange_filtered |
Is there a driver/browser that support Widevine drm in headless mode?
Recently for a Project. I am looking for a driver/browser that can play widevide DRM content in headless mode.
I have already tried chrome driver but it doesn't support Widevine content.
Any luck on this matter? I am trying to run Netflix player usi... | common-pile/stackexchange_filtered |
Caliburn micro directing the message.attach to the desired viewmodel
I've added another view named LogicView inside my MainView. I made a contextmenu for LogicView that will publish a message of "ConvertToCode()" when the menu item is clicked, but I'd like to send the message named ConvertToCode to my MainViewModel, no... | common-pile/stackexchange_filtered |
Resurrection of the Dead in the "Torah"
In the Bavli, Berakhot 15b, R' Tavi explains Proverbs 30:15-16 in such a way that it implies a resurrection of the dead, and concludes that this is a response to those who say that there is no reference to the resurrection of the dead in the Torah. But is Proverbs part of the Tor... | common-pile/stackexchange_filtered |
How to extract and save LBP features of multiple images?
I have a folder of 200 images, I want to extract the LBP features of each image and save them in an excel sheet so that I can use them as a DB features and retrieve, based on them, the accurate images in a CBIR project on MATLAB. I used this code for the extracti... | common-pile/stackexchange_filtered |
Rails how can I get all custom validate methods that defined in a model
I have a Model called Person.
class Person < ActiveRecord::Base
validate_presence_of :name
validate :check_card_number
def check_card_number
errors.add(:card_number, "Card Number can't be blank") if card_number.blank?
-----
... | common-pile/stackexchange_filtered |
How create a file and put my data in there?
If I have a string bellow:
const inputString =
"v=0
o=-<PHONE_NUMBER><PHONE_NUMBER> IN IP4 <IP_ADDRESS>
m=video 20000 RTP/AVP 96 // <== this line
c=IN IP4 <IP_ADDRESS>/64
a=source-filter: incl IN IP4 <IP_ADDRESS> <IP_ADDRESS>
a=rtpmap:96 raw/90000
a=mid:primary
m=video 200... | common-pile/stackexchange_filtered |
Absolute position div not rendering properly when modified within ng-repeat - Chrome specific issue
This behavior is somewhat confusing to me, so I would appreciate some external help to understand what is happening.
I have prepared a fiddle to illustrate the behaviour http://jsfiddle.net/cseignc/mfoejqum/
I have an ht... | common-pile/stackexchange_filtered |
Assign query result to variable - GBQ Python Client
I'm using the Google Big Query Python Client Library. One of the queries I'm running is a simple count of the number of tables in the dataset and I wanted to know if there is a neater way to assign the query result to a variable than the way I am currently doing it.
f... | common-pile/stackexchange_filtered |
iOS Push notifications with a .p8 key not working from Firebase
APNs authentication key (.p8)
I have tried sending to only iOS devices from the firebase console and also by topic however nothing is getting to the device. I have used p12 successfully in the past.
I have added the GoogleService-Info.plist file to the ap... | common-pile/stackexchange_filtered |
Unwanted Content Is Showing in Header
I am Working on a website, after uploading the website on the server an unwanted "print(''); " is shown in the header, i have tried to remove it but i'm unable to do that please help.
screen short is given below
Search for the word "print(''); " using grep in your app/code or ap... | common-pile/stackexchange_filtered |
What basic linux command-line utility can I use to test a JDBC connection?
I'm troubleshooting an issue with importing data to Apache Solr from a MS SQL Server database via a JDBC connection. Solr is hosted on a CentOS linux machine, and SQL Server is (of course) on a seperate Windows Server box.
I can see the login a... | common-pile/stackexchange_filtered |
How to add an user to subscription list for an evault storage
What API should I use for subscription of Evault Storage Usage Notification?
Try the following rest request:
<EMAIL_ADDRESS>
Method: post
{
"parameters":[
{
"active":1,
"notificationId":3,
"userRecordId":498265,
... | common-pile/stackexchange_filtered |
How to make fixed timestep in Java
How should we make fixed timestep in Java? I think there are 2 ways:
Synchronised game loop using while.
Asynchronised game loop using Thread.
The most important thing is performance and accuracy. So what's the best way?
This is synchronised game loop:
double timeStep = world.ge... | common-pile/stackexchange_filtered |
How to initialize HLS stream?
My IP Camera push stream only when somebody request. So there is no ts segment or m3u8 file when a client requests stream. Is there a way to tell the client to retry the same request a second later, so that the server has time to send a command, wait for streaming video and generate a m3u... | common-pile/stackexchange_filtered |
when changing the excel file format to CSV , it removes the zero number at the begining of cells
I have an excel file, including some names and mobile numbers.
I want to add these numbers to my phone contacts and I should first change the format to CSV.
The problem is that when I change the format, the zero number at t... | common-pile/stackexchange_filtered |
How can I concatenate a range of cells according to adjacent value?
In the following table, I'd like to concatenate the numbers of column B, according to string in column A:
For example, all the numbers adjacent to XX would be copied to another cell in this format: 12, 12, 21, 23, 31, 32.
I can manually concatenate th... | common-pile/stackexchange_filtered |
Server deployment using git hooks not working
While using windows 10 in local machine and ubuntu vps server, I am trying to make auto deployment using git hooks from local to server. I configured my ubuntu server as following :
root@server:~# cd /var
root@server:~# mkdir repo && cd repo
root@server:~# mkdir site.git &&... | common-pile/stackexchange_filtered |
How to change ID in Select2 ajax script function?
I got some trouble with select2 ajax script, My unique_ID in table field is called "no", so I Unable to select an item in Select2 drop down.
When I changed my database table field "no_donatur" into "ID" my ajax select2 is working..
here is my function script :
$('.muzak... | common-pile/stackexchange_filtered |
Angular function not running in controller or binding to $scope variable
I am sure this is something simple, but I have tried this numerous ways with no result.
I have a factory that retrieves profile data from a simple endpoint, /api/me. It should return name, email, etc.... and it works fine for me profile page. Howe... | common-pile/stackexchange_filtered |
How to smoothly join two cubes and then subdivision without "pinching" at the joints?
I am trying to make simple easy 3D "cartoon" body shapes with noodle arms and legs similar to the style of Adventure Time or old Popeye cartoons:
The idea is to have simple elemental forms for the body/torso/head and then even thick... | common-pile/stackexchange_filtered |
How to reorganise the values of a groupBy from the same table (MYSQL)?
I have a Chats table setup like this:
ID
CHAT_GROUP_ID
MESSAGE
READ
CREATED_AT
1
uu-34uu5-6662
hi1
1
2022-06-02 13:16:42
2
uu-34uu5-6662
hi2
1
2022-06-02 13:16:45
3
uu-34uu5-6663
hi3
0
2022-06-02 13:16:46
4
uu-34uu5-6663
hi4
0
2022-06-... | common-pile/stackexchange_filtered |
Regex to match ampersand between two single-letter words
I want to replace ampersand when it is found between two single-letter words.
Given below is the regex I use, but it is matching words consisting or two or more letters, too.
([A-Za-z]{1})((\s&\s)|(&)|(\s&)|(&\s))([A-Za-z]{1})
On top of that, there might be space... | common-pile/stackexchange_filtered |
Membase nightmare too many connections
We have a group of four web apps (C#, ASP.NET, NHibernate) and a few services that used to share a Northscale instance. We've since upgraded to Membase, at which point we were actually able to start making effective use of the NHibernate second level cache. However, once we got th... | common-pile/stackexchange_filtered |
ref or div to excel using js or jquery
I have a div, with a table inside a column of the first table. I tried to export to excel with libraries like "react-html-table-to-excel-3" but it only exported the first table and not the table that is inside the .
It's a React project, and I'm open to using any library, whether ... | common-pile/stackexchange_filtered |
Unexpected behaviour in interactive python
>>> r'\'
SyntaxError: EOL while scanning string literal
I expected '\\' as output.
r'\\'. but make sure to call print on the result or the repl will just display '\\\\' i.e also the escapes.
You're getting a syntax error, as you're escaping the second quote, which means th... | common-pile/stackexchange_filtered |
logback create new instance of appender
I work with LogBack and I have several Loggers.
I have created a Custom Appender:
public class LogListenerAppender extends AppenderBase<ILoggingEvent> {
private List<LogListener> listeners;
public LogListenerAppender() {
listeners = new ArrayList<>();
}
... | common-pile/stackexchange_filtered |
Can I use figures from my article on my website after it is accepted but before being published, if I publish open access and retain the copyright?
I have a paper that was just accepted (but not yet published) in an open access journal. I am also upgrading my website right now, and I would like to know if I am allowed ... | common-pile/stackexchange_filtered |
Mapbox select road feature, how to return uncomposited features?
I'm trying to build an interface in which the user can click to select a road. You can see a simple version here: https://codepen.io/lizzie-malk/pen/eYBWbjm
What I have noticed is that the features selected in the Mapbox Streets style, are often composite... | common-pile/stackexchange_filtered |
Antlr4: How can I match end of lines inside multiline comments?
I have to create a program that counts lines of code ignoring those inside a comment. I'm a newbie working with Antlr, and after trying a lot, the nearest I came to a solution is this erroneous grammar:
grammar Comments;
comment : startc content ... | common-pile/stackexchange_filtered |
Composition of limits
Find functions $f,g : \mathbb R \longrightarrow \mathbb R $ and $a,b,c \in \mathbb R $ such that
$$ \lim_{x \rightarrow a} f(x) = b \quad \text{and} \quad \lim_{y \rightarrow b} g(y) = c \quad \text{but}\quad \lim_{x \rightarrow a} g(f(x)) \neq c$$
I tried to use non continous functions but i didn... | common-pile/stackexchange_filtered |
Weird behaviour of a Custom View when navigating back from another Fragment
I've encountered a weird behaviour when using a Custom View together with a Navigation Component and a back button.
For user text input, I'm using the Material Design text field (which is a combination of TextInputLayout and TextInputEditText).... | common-pile/stackexchange_filtered |
Where does Azure Artifacts code get stored in On-Premise solutions?
We have an On-Premise version of TFS 2018. I am interested in utilizing the packages (now Azure Artifacts) feature within TFS. I am wondering where the source code of the packages that are built and deployed gets stored. For example, if I build a versi... | common-pile/stackexchange_filtered |
How to check the activity log of the hard disk
Is there a way to see the activity log of the hard drive, like when do I open the hard drive and files, regarding that my Windows crashes and I reinstalled the Windows, so now all the log are deleted or there is a way to find out if someone opened my files ?
I have already... | common-pile/stackexchange_filtered |
How to get rid of exit code=3221225781 ,when I run my C++ program on VS code?
As I mentioned above I cant run my code succesfully.
is there any thing I can change in my settins inorder to run my programme ?
sorry, if my question dont make sense.____I am a beginner ____
tasks.json
{
"version": "2.0.0",
"tasks": ... | common-pile/stackexchange_filtered |
Deepcopy issue in Python 3.4
I have a piece of code that works well in Python 2.7, but fails in Python 3.4
newobj = copy.deepcopy(self.locale.numbers)
newobj.symbols= {'decimal': ',', 'group':' '}
return newobj.getFormatter('currency')
The unit test that tests this piece of code return this error in Python 3.4
.tox/py... | common-pile/stackexchange_filtered |
How can I pass a variable I get from a function to an onclick event
I have a function to get a specific section of a URL and I save the results to a variable,
function getQueryVariable(variable) {
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i=0;i<vars.length;i++) {
... | common-pile/stackexchange_filtered |
Load runner Vugen unable by pass the SSL negotiotion
We are working on POC for service now app whose version name is Fuji and in order to login to this app with different test users we use the SSL certificates. Here the problem we face is an SSL negotiation failed for the New version of Service now (i.e. Fuji) were th... | common-pile/stackexchange_filtered |
Why is eating not included in Karmendriyas?
Karmendriyas literally means ‘organs of action’.
Every human being is endowed with eleven indriyas or sense-organs.
These organs are five jñānendriyas, five karmendriyas and a mind.
The five karmendriyas or organs of action are:
Vāk - speech
Pāṇi - hands
Pāda - feet
Pāyu - e... | common-pile/stackexchange_filtered |
How to theoretically determine electric charges of $W^{\pm}$ bosons?
I just realised that I don't remember how to conclude theoretically that $W^{\pm}$ bosons have electric charges of $\pm 1$. After some searching I'm quite surprise that I couldn't find a satisfying answer, most literature that I came across simply jus... | common-pile/stackexchange_filtered |
Align Mask in After Effects
Please can someone tell me how to align a mask, created inside a composition in After Effects. The usual align tools do not see to work with masks even though they work with other objects.
The exact task I am trying to complete is to align a circular mask exactly within a square.
| common-pile/stackexchange_filtered |
Is the programmers SE an appropriate place to ask for comment about a communications protocol draft?
I have a web communications protocol I'd like to get comment about. Is this SE an appropriate place for that?
| common-pile/stackexchange_filtered |
NDSolve returns "stiffness" error
I have the following differential system:
s = NDSolve[{x1'[t] == -x2[t] - x3[t], x2'[t] == x1[t],
x3'[t] ==
0.75*w1[t] + 0.5*w1[t]^4 + 5.5*w2[t] - 1.5*w2[t]^2 -
2.*w2[t]^3 + 0.5*w2[t]^4 +
w1[t]^2*(-3.5 - 2.*w2[t] + 1.*w2[t]^2) - 2.*x1[t] + 3.*x2[t] -
... | common-pile/stackexchange_filtered |
Increment error: Python
so here's my code:
def create(t):
if len (t[0]) != len (t[1]):
raise ValueError ('something')
for i in range (1):
for j in range (len(t[0])-1):
if sum (t[i][j]) + (len (t[i][j])-1) >= len (t[0]):
raise ValueError ('something')
else:... | common-pile/stackexchange_filtered |
Return selected specified columns
I would like to select only few columns from a certain (Blobs) table. I have fields like: Id, RowVersion, Size, Signature, Blob, and I want to select only first four. I do it like this: (---> is an error place)
public List<BlobDetails> GetAllBlobsNames()
{
RichTekstModelDataCon... | common-pile/stackexchange_filtered |
Call a dataframe from a list with the names of dataframes
I have a list with all the names of my dataframes (e.g list =['df1','df2','df3','df4'] I would like to extract specifically df4, by using something like list[3], meaning instead of getting the 'df4' to get the df4 dataframe itself. help?
create a dictionary d=d... | common-pile/stackexchange_filtered |
Vmware Workstation in Ubuntu 9.10 Karmic Koala
I am unable to get vmware workstation to work in Ubuntu 9.10. The same installer worked fine in 9.04. Installation is successful, but initialization is not. Does anybody know a fix?
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubunt... | common-pile/stackexchange_filtered |
Choosing the most high quality, reliable 3D printer
I work in a biological laboratory where we have been using the FABtotum personal fabricator for several months now. The machine is good, however not flawless, and has set us back from doing experiments.
I have overcome many common 3D printing issues, which I find nece... | common-pile/stackexchange_filtered |
SQL grouping part
The group by method is if the value of the next column is the same, I will calculate how long the unit has been in a certain place, later added per group
BEFORE
| ID | UNIT | PositionDateTime | Location |
| --- | ----- | ----------------------- | -------- |
|<PHONE_NUMBER> |... | common-pile/stackexchange_filtered |
libmodbus Unit ID altering
I am using the libmodbus libraries to communicate with a solar inverter with a Modbus interface (SMA). The Modbus specification document specifies that a certain Unit ID should be used to read registers on the device. The device offers a TCP interface for modbus.
I can't find the code to chan... | common-pile/stackexchange_filtered |
Use Backpack's Admin CRUD also for normal user
Is it possible to use Backpack's Admin CRUDs also for the normal user (obviously with limited functionality)?
For example, with the route website.com/admin I can access Backpack's Admin panel, but what if I want to give the normal user the possibility to use the tools that... | common-pile/stackexchange_filtered |
No render in Cycles but the object is rendered in Eevee,
Good render in the vp with Eevee, but it disappears in the vp in Cycles. What am I doing wrong? It's probably super easy but can't find solution to this. this are many meshes with hair particles
https://blend-exchange.giantcowfilms.com/b/dMKe10s0/
All I can see... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.