text
stringlengths
70
452k
dataset
stringclasses
2 values
Lua script - Communicating with Raspberry Pi using Telegram. If, elseif, else statment mistakenly hitting else in certain situation I am expanding on the following example to communicate with my Raspberry Pi using Telegram: http://www.instructables.com/id/Raspberry-remote-control-with-Telegram/ I use the following bit ...
common-pile/stackexchange_filtered
ppt presentation for postdoc position interview I have to prepare the presentation about my previous research experience for 20 minutes. I don't know what I should include, how big and how much specific it should be For one, use LaTeX's beamer document class to prepare academic presentations. @JunaidAftab The OP men...
common-pile/stackexchange_filtered
Community promotion ads page not found 404 There are only about five (5) ads available. Namely, Carlisle and cricket, Carlisle and Undocumented features, Cereda and the duck, Beaton's lowercase, and Hupfer's Arabic numerals. What happened with the rest? thanks. do you have any adblock plus or ghostery installed? Can ...
common-pile/stackexchange_filtered
What are the potential pitfalls of having a PhD in machine learning? This is a follow up question from this one. From what I read in that question I understood that in most cases the PhD is not a good idea to grow a good career in the industry. However I contacted two people in the industry who have PhDs in machine le...
common-pile/stackexchange_filtered
How to redirect tensorflow import errors from `stderr` to `stdout` Question When you import tensorflow, it prints to stderr - bug report. Currently this is confusing my monitoring system and logging these informative messages as errors. I would like to redirect these messages from stderr to stdout. In theory, this shou...
common-pile/stackexchange_filtered
Trying to sort out date based folder names in PHP I have a folder structure like this Folder/ 09_06_2014/ Main Body/ page001.JPG Folder/ 03_06_2014/ Main Body/ page001.JPG Folder/ 09_07_2014/ Main Body/ page001.JPG What i'm trying to do is pick the picture page001.JPG from the most...
common-pile/stackexchange_filtered
No results for my search? Let user see no results or not allowing them to see the results that are not available? I've been working in resolving an issue for the platform I work in but I'm a little stuck with solutions I was wondering if you guys could give me some advice on how to approach this. So, I'm working in a d...
common-pile/stackexchange_filtered
How to send 102 Processing in Express? I am setting up a new HTTP server to execute a long command and return the response from that shell command to the client. I run v4.17.1 of Express. Requests from clients have repeatedly timed out when running this command. (I app.use(cors()) if that makes any difference). app...
common-pile/stackexchange_filtered
Bypass XSS in script tag <script type="text/javascript"> window.RPM = {"debug":false,"env":"user input"} </script> user input can be inputted with xss payload. Filter is doing following replaces: i) " with \" ii) \ with \\ iii) / with \/ I have tried with: window.RPM = {"debug":false,"env":"u</script><script>a...
common-pile/stackexchange_filtered
Why aren't my UILabels refreshing with new information after an NSNotificationCenter update? I am working on a weather app, and have everything working perfectly...Except the UILabels that are displaying the data. Once the app loads for the first time, it goes through and finds the data correctly and then displays it. ...
common-pile/stackexchange_filtered
objective-c complexity reference For the c++ STL, there is a de-facto standard location (besides the de-jour standard, I mean) to find information about the complexity guarantees of standard container operations. Is there an analogous, web-accessible document listing complexity guarantees for NSArray, NSDictionary, e...
common-pile/stackexchange_filtered
Unable to run test with VertxUnitRunner I am new to the Vertx Unit and trying to run the below example, but with no luck @RunWith(VertxUnitRunner.class) public class DemoTest { @BeforeClass public static void before(TestContext context) { System.out.println("before"); } @Test public void t...
common-pile/stackexchange_filtered
eclipse 2023-03 (4.27.0) Windows 10 ssh push to github always fail This is the error I get in Eclipse. I try to set up git in eclipse to push via SSH. I created a private key in eclipse and registered the public one on GitHub as an access key. I assigned the ssh key in eclipse for SSH connections I set up the origin ...
common-pile/stackexchange_filtered
What does it mean "The tangent line to the curve $y = f(x)$" My book says the following: "The tangent line to the curve $y = f(x)$ at the point $P(a,f(a))$ is the line through $P$ with slope" I understand it except for when it says that "$y = f(x)$". I thought that it was assumed $f(x)$ always represents the y points. ...
common-pile/stackexchange_filtered
Compiling all less files into one stylesheet? I am using simpless, I drag the project into it and target all the less files to styles.css The issue is when compiling the less stylesheets are just over writing each other rather than being merged together. Is there a way when compiling to merge them all into styles.css ?...
common-pile/stackexchange_filtered
How can I correctly write this event? Suppose there are three students wanting to meet a Professor in his office. The time $i$-th student takes with the Professor is $Exponential(\lambda_i)$ distributed, and they are independent. Assume all students start talking to the Professor simultaneously. Find the distribution ...
common-pile/stackexchange_filtered
how to find out if mod_xsendfile is handling the transfer? I just installed and configured mod_xsendfile on my apache2.2.15 web server (on centos6.5). Everything seems to be working fine except that I'm not sure it is. I added XSendFile On and XSendFilePath /path/to/downloaded/files to the virtualhost and I changed the...
common-pile/stackexchange_filtered
It's possible using tab(\t) on variable in C#? First, my apologies if the title little strange, cause i'm little confused to make title for this problem. Okay the problem is, it's possible using '\t' outside quote function on 'Console.WriteLine'. I've code like this. Console.WriteLine("=================================...
common-pile/stackexchange_filtered
What are the effects of using a verbal tic in informal speech? I've been watching the Japanese version of Naruto a lot, recently, and the word "dattebayo" really stuck with me... Not necessarily a good thing, but I'm doing it pretty much unconsciously now. I've been told to "grow up" by my friends, and I'm quite sure t...
common-pile/stackexchange_filtered
Trying to open / access the text in an attachment to an email using ruby gems currently trying to write a code to extract text from a text file attachment in an email using ruby gems. Using the 'mail' gem. this is what the code I found to isolate the body looks like: mail = Mail.all mail.each do |current_mail| mail_obj...
common-pile/stackexchange_filtered
Select option always select I have a select options form fields setup like below: <select name="options[]" multiple="multiple"> <option value="1" selected="selected">Option 1</option> <option value="2">Option 2</option> <option value="3">Option 3</option> <option value="4">Option 4</option> </select> The user ...
common-pile/stackexchange_filtered
LINQ in PowerShell with dynamically specified data types In response to my previous question, I was given a working script that is based on a known-in-advance data type literally specified as [int]. Now I would like to change the data type dynamically. Is it possible? The answer to your previous question uses type li...
common-pile/stackexchange_filtered
Visual Studio 2017 color changes I am trying to change colors of my VS. I am using Color Theme Editor. And I am struggling to find few option which controls View windows background. How do you change that background which is circled in images? First is Solution Explorer window, and second Team Explorer. Open the gen...
common-pile/stackexchange_filtered
How to use winsock2.h in C#? How to use winsock2.h and linking ws2_32.lib in C#? Like in C++ #include <winsock2.h> #include <ws2tcpip.h> #pragma comment(lib, "Ws2_32.lib") You would use p/invoke, but any reason you don't want to use the comprehensive socket support in the BCL? Forget Ws2_32.dll just use System.N...
common-pile/stackexchange_filtered
how can i integrate nexmo SMS account verification with API on wordpress I get an API from Nexmo and a want to integrate them on my woocommerce website ,i mean that's. want to send SMS for account verification after registration. I had used this code `unction mysite_woocommerce_order_status_processing( $order_id ) { $...
common-pile/stackexchange_filtered
Why are seemingly important topics not covered in textbooks? I've asked some professors this questions and none of them have seemed to been able to give an answer that didn't lead to both them and me having more questions. To put into context: I have my B.S in Marketing and have been working in the marketing industry ...
common-pile/stackexchange_filtered
How to compare the values of a row in a data frame with multiple rows from another data frame (include calculation) Sorry for bad English for writing the title. What I would like to do is to determine the location of df by comparing with another data frame df2. df is a data frame that shows the variation of longitude a...
common-pile/stackexchange_filtered
How can I use wget to send POST data? I want to make following POST request to my server using wget: email=abc@abc.com&file1=@FILE_HERE&file2=@FILE_HERE In the above request, there are three POST parameters called email , file1 and file2 where email contains email of user and file1 , file2 contain a file. How can I s...
common-pile/stackexchange_filtered
Identity asp.net core 3.0 - IdentityDbContext not found My app broke with the 3.0 release of .NET core with reference errors for IdentityDbContext. I'm looking through documentation for Identity on core 3.0 but it implies that IdentityDbContext should be there. It's the only error I'm getting with a couple DbContext ...
common-pile/stackexchange_filtered
MYSQL query search refine issue I have a table "songs" and column "singers". I want to perform a search on table "songs" by the name of the singer. My problem is, if the name of the singer is "Gallagher" the query gives me not only the singer "Gallagher" but also all other names with "Gallagher" in it, for example "Noe...
common-pile/stackexchange_filtered
Call function from another Controller in another file AngularJS Call function from another Controller Angular Js Call function from another controller Angularjs http://tutorials.jenkov.com/angularjs/dependency-injection.html I've been googling around and trying to adapt but I can't figure out. I have two files: home.js...
common-pile/stackexchange_filtered
With FDT, How Do I Prevent Packaging For Mobile Applications (iOS & Android) When working with the FDT FREE version, how do I run a configuration which only compiles the SWF and doesn't package an .IPA or .APK. Is there any way of do this? For example, I would like to have 2 launch methods, one that only compiles the...
common-pile/stackexchange_filtered
Raw ethernet MAC dest address I have the dest MAC address in the format of a string: "689900112233". This link shows how to specify the mac address as 6 separate groups of 2 hex digits: https://networking-class.readthedocs.io/en/latest/tutorials/raw_ethernet/raw_ethernet.html How can I transform the string I have into ...
common-pile/stackexchange_filtered
Cmake fail to compile cant find python.h (Flutter, dart:ffi) I need to connect .C/.CPP code that makes use of Python in to Flutter app. Luckily I can use dart:ffi for it. and therefore the but when I'm trying to compile the apk I am getting the following error: Launching lib/main.dart on AOSP on IA Emulator in debu...
common-pile/stackexchange_filtered
selenium2 (webdriver), firefox short crash? then it reopens but InvocationTargetException is thrown The following piece of code is used to kick start the firefox public static WebDriver driverSetUp() { // FirefoxBinary bin = new FirefoxBinary(new // File("C:\\Program Files\\Mozilla Firefox 3.6\\firefox.exe")); //...
common-pile/stackexchange_filtered
How to combine odometry information with time-shifted information from IMU? I'm working with a differential-drive robot that has odometry measurements from wheel shaft encoders and heading information from an IMU (I'm using BNO055 in IMU mode to get Euler angles, primarily the heading angle). I'd like to use the IMU he...
common-pile/stackexchange_filtered
why does hdf5 file size increase dramatically when I segment the data to 30 smaller dataframes with 30 different keys I have a series of hdf5 files holding large panda data frames. a typical file is around 1000,000 rows. I use complib='blosc',complevel=9 for compression. original hdf5 files are saved as 1 flat file. I ...
common-pile/stackexchange_filtered
Proof of existence of subspaces that sum up to the vector space How to go about proving this statement? Suppose V is finite dimensional and U is a subspace of V . Prove that there exists a subspace W of V such that V = U + W and U ∩ W = {0}, where 0 is the additive identity of V . I have verified with certain examples...
common-pile/stackexchange_filtered
Pygame I can move an image once but don't know how to move it twice I have a box that i want to move in increments, i know how to move it by an increment but only once. I don't how i'd do this multiple times. anyone got any ideas? The box: highlight = pygame.draw.rect(window, (darkYellow),(30, 300, 130, 40),0) Moving ...
common-pile/stackexchange_filtered
how to choose right predictors for multivariable linear regression? I am new to statistics, And I am trying to work on this dataset , The format , Attribute information is given thereon dataset page. Suppose I am trying to predict highway-mpg or peak-rpm, Then if my dependent variable is highway-mpg now how to choose o...
common-pile/stackexchange_filtered
javax.naming.NameNotFoundException: Name [jdbc/rhwebDB] is not bound in this Context. Unable to find [jdbc] I know there's many questions regarding this exception, however, I believe I've tried everything for many days, without any luck yet. As this is a production server, I can only work on this after midnight :( I ha...
common-pile/stackexchange_filtered
Discrete Pin structures It is clear that an oriented manifold $M^n$ (with dimension $n$) admits spin structures if and only if its second Stiefel-Whitney class $[w^2]\in H^2(M,\mathbb Z_2)$ vanishes. In the construction of the simplicial complex upon triangulation of $M$, one can also use the $(n-2)$-th Stiefel-Whitney...
common-pile/stackexchange_filtered
Box API get access_token through python I'm getting authorization code through exactly this website on the readme page: https://app.box.com/api/oauth2/authorize?response_type=code&client_id=MY_CLIENT_ID&state=security_token%3DKnhMJatFipTAnM0nHlZA And POST for access_token through Python, but receive invalid_request err...
common-pile/stackexchange_filtered
An aggregate may not appear in the WHERE clause I am stuck on retrieving results of this query. I am trying to find documents, where sum of qty corrected is more than qty in document related. I got error: An aggregate may not appear in the WHERE clause unless it is in a subquery contained in a HAVING clause or a selec...
common-pile/stackexchange_filtered
what is mean by event loop in node.js ? javascript event loop or libuv event loop? In Node.js we a lot talk about the event loop, so I want to know which event loop we are talking about, the Javascript event loop or the libuv event loop ? I guess libuv event loop that provides abstraction for multiple operating syste...
common-pile/stackexchange_filtered
How to choose Qt installation? I've built (configure, make, make install) Qt 5.4.2 from sources on my Debian 7.8 x64. Now I try to build Qt Creator, but my system is unable to locate this specific Qt build. Firstly, I tried to set $QTDIR and $PATH, but it didn't work. Then, I have read that it is necessary to use qtcho...
common-pile/stackexchange_filtered
Visualforce - Jquery initialise I'm using Jquery to handle the checkbox event to enable and disable the fields in visualforce page. Now i want to disable the fields by default when the edit page is loaded. How can i acheive this by using jquery? I'm using the below code snippet to disable the field: jQuery( 'input[id$=...
common-pile/stackexchange_filtered
Thunar bug? Should i report to Xfce or Ubuntu? Start up with farily slow, then file manager won't open, and nothing thunar related will work. I get the error message when i try to shut down my PC through GUI. "GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs:Type of message, "(yb)", does not match expected type"(b)" ...
common-pile/stackexchange_filtered
How to access to FastText classifier pipeline? As we know Facebook's FastText is a great open-source, free, lightweight library which can be used for text classification. But here a problem is the pipeline seem to be end-to end black-box. Yes, we can change the hyper-parameters from these options for setting training c...
common-pile/stackexchange_filtered
how to avoid conflict in handlebars.js handlebars.js has a powerful feature that is registerHelper. when different people use it together in a page, how to avoid function conflict? eg steve: Handlebars.registerHelper('getHeight', function(obj) { return obj.pic_height / obj.pic_width * 200 || 130; }); jobs: ...
common-pile/stackexchange_filtered
Namespace found in Object browser but missing from the reference library I was importing a old project and got a bunch of errors while building. Most errors were similar, saying 'type or namespace does not exist in the namespace etc' I took one particular error which was about a missing namespace 'System.Windows.Forms....
common-pile/stackexchange_filtered
Zariski topology over $\mathbb R$ What is a "Zariski topology on $\mathbb R$"? I don't think I quite understand the definition of a "Zariski topology". Thank you. Can you explain what exactly you don't understand in the definition of the Zariski topology in the case of $\mathbb R$? Taking $\mathbb{R}$ as the affine l...
common-pile/stackexchange_filtered
.NET Micro Framework Unsafe code Does .NET Micro Framework support unsafe code? In other words, can I use pointers in my code for .NET Micro Framework? From the Wikipedia page (emphasis mine): For example, the platform does not support symmetric multiprocessing, multi-dimensional arrays, machine-dependent types...
common-pile/stackexchange_filtered
Bootstrap Collapse Text Decoration For the Bootstrap Collapse Component, I have a question regarding the "Accordion example". I wish to remove the underline from the text "Collapsible Group Item" 1-3 when they are in use. They are by default not underlined, and then when moused over, they are underlined. This is modifi...
common-pile/stackexchange_filtered
How to make an alarm rings even with headphones On the default alarm of my android, the alarm rings even when there is headphones (You can hear the music of the alarm). I have coded an alarm using Android Studio (using AlarmManager and a mediaPlayer when it rings) and I would like to know how can I have the same functi...
common-pile/stackexchange_filtered
Confusion with ' int*s = new int[i]; ' and ' int*f = new int; ' int t, i; cin >> i; int*s = new int[i]; for (t = 0; t < i; t++) { s[t] = t;//How?? cout << s[t] << "_" << &s[t] << endl; } int*f = new int; *f = t; // Whhhhhy??? delete f; delete[] s I declared an array type and an integer as dynamic memory. Wh...
common-pile/stackexchange_filtered
What does it actually mean "Judge not, that ye be not judged"? Judge not, that ye be not judged (Matthew 7:1) I have always considered the verb "to judge" to have two meanings: one is to judge in the position of the one having the authority of a judge, that is "to determine the guilt and, if there is such, to determi...
common-pile/stackexchange_filtered
Handling Assembly Resources I am currently developing a utility class as a part of my business layer. The task of this class is to load a template PDF file, fill out the PDF with iTextSharp and return the resulting stream. I am having some "analysis paralysis" as to how to store the predefined PDF templates in my busin...
common-pile/stackexchange_filtered
Displaying messages after every step of code execution i have a snippet of code like this : $response = "<div style='font-size:18px;margin-top:2em;text-align:center;color:#173f5f;>"; $response .= "Intializing sequence..."; echo $response; $response .= "Starting compression of folders..."; echo $response; ...
common-pile/stackexchange_filtered
SQL: Determining "Min" or "Least" of Average I'm doing an analysis of cost per product by supplier and have been stuck for a while trying to work out the granularity or procedure of this SQL code. Table looks like something below: Supplier ProductCount Cost SupA 2 564.00 SupA ...
common-pile/stackexchange_filtered
How to encrypt my system partition? I want to encrypt my main hard drive (where I have my OS, programs, etc.) and I have looked for tutorials online but each one seems to follow different steps, some say that I need another partition to put the recovery file (main, system reserved and other one) and others say that I h...
common-pile/stackexchange_filtered
Find first occurrence of a pattern by row I wish to locate the first instance of two patterns by row. Specifically, I want to find the first occurrence of c(1,0) and the first occurrence of c(1,1) in each row of a data.frame. The code below does this using nested for-loops, but is very slow with large data sets. Is t...
common-pile/stackexchange_filtered
sed + cut words before the first “END” word in line How to cut words before the first “END” word in line, and not include the first character before the “END” word ( in our examples the character is “-“) Only with sed command For example: echo AAA-BBB-CCC-END | sed ... AAA-BBB-CCC echo 1-END-3-4 | sed ... 1 ...
common-pile/stackexchange_filtered
The rails spec for user model default admin value doesn't pass - why? I have the following problem: I'm doing a project where I'm supposed to fix some broken code in order to get into the Rails workshops. I'm supposed to make the User model spec pass. The spec checks for the default value of an admin attribute, and it ...
common-pile/stackexchange_filtered
Firefox 4 Issue with jQuery UI Sortable After upgrading from Firefox 3.6 to FF4 i was surprised to see that jQuery UI Sortable has stopped working (I am using jQuery (1.4.2) with jQuery UI (1.8.5)) and i get this error (from firebug) this.helper is null dev/js/jquery-ui-1.8.5.custom.min.js Line 264 I...
common-pile/stackexchange_filtered
limit memory usage of users on windows server 2008 r2 We have an IBM server in our research lab with Windows server 2008 R2 OS. Six users log in and use software like MATLAB or R and run their codes. When a bad program takes up too much RAM or CPU usage, the serve hangs and RDP disconnects. How do I solve this issue? I...
common-pile/stackexchange_filtered
Set several initial dates in inline datetimepicker tempusdominus I'm trying to set up the datetimepicker on https://tempusdominus.github.io/bootstrap-3/ and configure it to be used inline. It is initialized with: $('#datetimepicker5').datetimepicker({ inline: true, allowMultidate: true, multidateSeparator: ...
common-pile/stackexchange_filtered
"More than one MPM loaded" when trying to start apache on Vagrant Ubuntu box Whenever I try sudo apache2ctl start I receive the following message: AH00534: apache2: Configuration error: More than one MPM loaded. Action '-k restart' failed. The Apache error log may have more information. When I check /var/log/apache2/e...
common-pile/stackexchange_filtered
In-memory DB to provide auto-suggest results to users I have a list of States/Counties, their corresponsing cites and each cites corresponing towns. - State1 - City1 - Town1 - Town2 ... - City2 ... I need a way to store these within my enterprise java web application. The relationships between the en...
common-pile/stackexchange_filtered
Genesis Block Generation: could not create channel group: could not create orderer group: error adding policies to orderer group: no policies defined I'm trying to generate the system genesis block (HyperledgerFabricNetwork version 2.0.0, Ubuntu 18.04.4 Desktop), but I get error: (base) marco@pc01:~/hyperledgerFabric/F...
common-pile/stackexchange_filtered
Rails 3 Engine & Static assets I'm building an engine I've bundled as a gem (gmaps4rails). I copied the /public of my engine in the /public of my rails app. Everything works fine in development but fails to work in production: it appears static assets (of my engine & my main app) aren't found. The logs tell the followi...
common-pile/stackexchange_filtered
Spring-Boot: how to handle GZipped data from public API? I am coding a Spring-Boot project that fetches the PhishTank database and stores it locally. At the moment I'm able to get the JSON data and persist it without problems. The problem comes when I try to call the API that returns a GZipped response: private static...
common-pile/stackexchange_filtered
Scalar product question Let $(\cdot,\cdot)$ be a scalar product on a finite dimensional vector space and let $0\ne v,w$ be two vectors of the same length, i.e. $(v,v)=(w,w)$. Visually, it seams to me clear that the angle formed between $v$ and $w-v$ must be obtuse, i.e. that $(v,w-v)\le 0$. How to prove this formally? ...
common-pile/stackexchange_filtered
How can i use MySql in my college when they dont accept port 3306? In college i am doing programming coursework which requires MySql , however my college wont allow port 3306, they don't have room to store a small server and all the PC's have the same domain, is there any other way i can connect to MySql on the college...
common-pile/stackexchange_filtered
Prism NotificationRequest vs Xceed MessageBox When we use MVVM we are told to avoid using System.Windows.MessageBox in our ViewModel, and I guess it is because it would not be good for our tests. Is it true? With Prism NotificationRequest, we can comunicate with our users, but it is a little more complicated than a sim...
common-pile/stackexchange_filtered
Ruby + OOP + Testing: How should I test incoming command messages? I just re-read Practical Object Oriented Programming in Ruby by Sandi Metz, especially the chapter on testing. Also a very useful talk that I recommend Rubyists watch: http://www.youtube.com/watch?v=URSWYvyc42M She says to test these cases: Incoming q...
common-pile/stackexchange_filtered
typescript define an object with n number of key/values I am new to Typescript and I would like to define interfaces for the following JSON: { "company":"abc inc", "logoUrl":"someUrl", "phone":"1234567890", "branch":{ "nyc":{ "products":{ "asian":{ "someke...
common-pile/stackexchange_filtered
Login a custom app using terminal I have an application Test including user authentication screens. I need to run the app from terminal using username and password. If anybody knows, please help me? If you are talking about system user's authentication, then polkit is a way to do that. Not system authentication, I me...
common-pile/stackexchange_filtered
Converting CasMate Pro files to a vector format, workaround I have a number of vectorial files that were created eons ago with a software called CasMate Pro(above) for the purpose of cutting those vectors with vinyl cutters. I googled a bit and I found out that the above software is not produced anymore and that there...
common-pile/stackexchange_filtered
Getting MAC address of Android Wi-Fi Hotspot/tethering/AP I could get the MAC address of the Wi-Fi interface in Android by: final WifiInfo wi = wm.getConnectionInfo(); String mac = wi.getMacAddress(); However, I realized, that when the Wi-Fi acts as wireless access point (router) (a.k.a. Hotspot or tethering or AP), t...
common-pile/stackexchange_filtered
How to check SSH connection with Rails 5.2 and Net::SSH.start I need to check whether the SSH connection to a remote server I use is correct or not. I issue the following test: begin session = Net::SSH.start(uri, login, password: password) session.close Rails.logger.interactions.info ' Successful SSH...
common-pile/stackexchange_filtered
Is it possible to modify a Site Templete and reflect all the changies to the underlying Subites I have created a new sub-site, and i added many apps inside it ,, then i saved the site as template. After that I created 5 sub-sites and i based them on the template. now i need to add an additional Issue Tracking list to ...
common-pile/stackexchange_filtered
How to come out of a deadlock in linux On a multi threading system, if two threads want to work on a shared memory after locking a mutex. Thread A: pthread_mutex_lock(&mutex) ....... //Memory corruption or Assert and thread exits pthread_mutex_unlock(&mutex) Thread B: pthread_mutex_lock(&mutex) ....... ...
common-pile/stackexchange_filtered
How to transform an AngularJS 1 service into an Angular 2 service? I am trying to reuse some working code from AngularJS 1 services written in plain JavaScript in an Angular 2 environment. The services look, for instance, like the following example: (function () { angular.module('myapp.mysubmodule').factory('myappM...
common-pile/stackexchange_filtered
JavaScript pack("d") - binary strings I'm trying to replicate the Perl and PHP style pack and unpack functions in JavaScript. Unsigned integers were easy enough, so my pack('n') and pack('N') are ok. But my lack of a computer science background is a hurdle now and I don't know where to start with pack('d') for packing ...
common-pile/stackexchange_filtered
CCS Error With MakeFile "makefile_ccs_bootimage_gen:69: recipe for target 'all' failed" When building a project you get the error of building a make file. See below for a solution I found To fix this error, you need to give CCS / TI an exclusion in your antivirus / windows defender! (I posted this question as it was t...
common-pile/stackexchange_filtered
Asp.net Core action does not return 401 when using Authorize attribute on a thread without a principle? I wanted to add a principle onto the thread by myself , without using the Identity mechanism which really reminds me the old membership/forms authentication mechanics. So I've managed (successfully) to create a requ...
common-pile/stackexchange_filtered
Overwriting layers in a geodatabase maintaining its position in a feature class list I'm working with ArcGIS 10. I work on ecological habitat mapping. I have some features classes inside a geodatabase which represent years of data on a specific area. Each has a reliability field with a value from 0 to 10. What I want t...
common-pile/stackexchange_filtered
How to create global user event listener in windows phone? I want to create a small app that suggests me where to paste the contents of clipboard (mostly from email to calendar or search). How can I create a listener/hook that fires when the content of clipboard is changed? For example: Create toast when Clipboard.Con...
common-pile/stackexchange_filtered
Selecting element with multiple classes in Capybara I'm writing automation code in Capybara with Selenium. I have the following element in my HTML, and I wanna click this element in Capybara. <a href="#" class="classA classB">click me</a> At the moment, the way worked is something like following. find('.classA', :text...
common-pile/stackexchange_filtered
postgresql server doesn't listen I just recently install PostgreSQL on our server via SSH. The installation went successful, until the time I tried to connect to it using pgAdmin on my Windows machine.I received this kind of error: could not connect to server: Connection refused (0x0000274D/10061) Is the server runn...
common-pile/stackexchange_filtered
Incremental MapReduce in Hadoop (with mongodb-hadoop adapter) I want to do a mapreduce work in Hadoop, that take and save results in MongoDB thanks mongo-hadoop connector. There is a way to do in hadoop an incremental mapreduce like in MongoDB? If documents exists for a given key in the result set and in the old colle...
common-pile/stackexchange_filtered
Could Apollo have used the launch escape system as a booster? Getting to space requires ruthlessly eliminating weight from launch vehicles. Older spacecraft like Apollo carried big Launch Escape towers. For an Apollo mission flying on a Saturn V, the LES meant carrying an extra 8,000 pounds to an altitude of 295,000 fe...
common-pile/stackexchange_filtered
listing files using C#, file with % wont open I am listing pdf files using C#, but some files wont open because they have percentage(%) signs on their filenames, the user still wants the % to be shown on the filename, but I can't get it to work. DirectoryInfo directory = new DirectoryInfo("mydirectory/News Files"); Fil...
common-pile/stackexchange_filtered
Redirect community users from one domain to another (same org) We set up communities in our system to differentiate between regions. So we have a domain set up for .ca and another .com Example: mycompany.community.ca mycompany.community.com We have learned that this wasn't necessary and now we are trying to consolidate...
common-pile/stackexchange_filtered
Data Structures review books I'm planning to take DataStructures course this semester. I had gone through the internet for material related to Data Strucutures. I would like to have an idea on the concepts of data structures before my semester begins. Can anyone suggest me any material or book ? my personal favorite i...
common-pile/stackexchange_filtered
Opening Quickbooks Online in SharePoint Online 2013 I am trying to open QuickBooks Online in SP 2013, as web-part, but gives me pop-up blocker messages for few times till the login page gets opened. After login, it also shows few pop-up message and then renders the main page. However, when I login to the QuickBooks Onl...
common-pile/stackexchange_filtered
SQLServer/SSIS - Select with JOIN using dynamic table name I need to do a select that change table from join dynamically and the table ( DataGenerated ) is based last number from UserId. Example: if UserId ends with 2, i'll look in DataGenerated_2. If UserId ends with 3, i'll look in DataGenerated_3. If it ends with 0...
common-pile/stackexchange_filtered
find the correlation for a time series of hourly measurements I have the following example: DateTime=datestr(datenum('2011-01-01 00:00','yyyy-mm-dd HH:MM'):1/24:... datenum('2011-12-31 23:00','yyyy-mm-dd HH:MM'),... 'yyyy-mm-dd HH:MM'); Data = [datenum(DateTime) - datenum(2011,0,0),rand(13,length(DateTime(:,1))...
common-pile/stackexchange_filtered
Java driver class, Runnable, and main method I am to create a program in Java using multiple methods inside the driver class. Previously, we have only used the main method in such applications. I know I am to use something like this: public static void main(String[] args) { U4A4 u = new U4A4(); u.run(); } to r...
common-pile/stackexchange_filtered