text
stringlengths
70
452k
dataset
stringclasses
2 values
Twitter Typeahead remote not completing some queries I am using Twitter Typeahead in version 0.11.1. Now I am trying to get remote working correctly, but somehow I think I am getting strange behavior. This is the working code with a local array: var localArray = [{"value":"test0"},{"value":"test1"},{"value":"test2"},{...
common-pile/stackexchange_filtered
HTML & CSS - put <link> tag outside of the <head> Is it ok to put the <link> to a css file out of the <head/> tag, for example in the footer side? Which are bad and good results of this? I ask this, cause actually i have a css file which doesn't styles anything but brings just some css3 animations to my website, so i w...
common-pile/stackexchange_filtered
How to use multiple types with required props on the same declaration? I am attempting to use this type: type DataTypes = | Link | Event | People | Article | Department | PageSearch | OfficeSearch | CatalogSearch | DocumentSearch | KnowledgeSearch; If I do it like this, it works properly: const sho...
common-pile/stackexchange_filtered
"Some" — singular- vs plural-form noun? After reading "Is everyone" singular or plural?", I would refrain from asking this question, but the husband of a colleague of mine (English professor, native speaker of British English) stated against it, so I am looking for further enlightenment. He advocates some should be sol...
common-pile/stackexchange_filtered
How to represent business logic in restful API Let's imagine that I have an employee resource. { "id": 1, "name": "John", "role": "Office manager" } And I want an endpoint that promotes them. As part of that I want some side effects to happen, such as an email goes to HR. How should I do this in a "restful" m...
common-pile/stackexchange_filtered
No visible @interface for 'class-name' declares the selector 'method-name' I'm writing a method as below in my View Controller: - (IBAction)expressionEvaluation:(UIButton *)sender { NSDictionary *testValues = [NSDictionary dictionaryWithObjectsAndKeys:@"x", 2, @"y", 3, @"z", 4, nil]; //the below line gives the ...
common-pile/stackexchange_filtered
Any way to change the subscription? I'm working with "web3.eth.subscribe" but when I've been running the script for 20-40 minutes, the script stops automatically. I think it's because it does an unsubscribe, that is, the subscription.id stops. some help? var subscription = web3.eth.subscribe('pendingTransactions', func...
common-pile/stackexchange_filtered
Why is tensorflow model always predicting same class? my TensorFlow model is always predicting the same class with a confidant of 100%. First a short description of my setting: Task is to do image classification with 7 classes and reading images from the webcam. For training, validation, and testing of the model, I'm ...
common-pile/stackexchange_filtered
Reset view preferences for all mac folders I would like to reset the preferences for all my Mac OS X folders. Is this possible? This would find and delete the files storing view options under your home directory: find ~ -name .DS_Store -delete (And don't forget the -name flag — without it it the command would delete ...
common-pile/stackexchange_filtered
What's the smallest starting library you can have in commander? My understanding is, your commander deck is 100 cards. And you take commander/companions etc. out of your deck before you start and put them in the command zone. The smallest library I can come up with, is 97 cards. Where you start with a pair of command...
common-pile/stackexchange_filtered
Why do we not have a separate conservation of angular momentum equation for fluids? When deriving the governing equations, we consider conservation of mass, momentum and energy. Why don't we consider angular momentum too? Granted it seems difficult to me how to go about writing the statement and I know that vorticity i...
common-pile/stackexchange_filtered
Boot device missing , ubuntu boot failed in lenovo ideapad 100s 11IBY Please see this video for bios error messages. I bought a Lenovo Ideapad 100S 11IBY that has 32bit-uefi boot. It came with Windows 10 but b it is a Intel Atom laptop and I wanted to install lxde Linux on it to use its resources well. After a lot of ...
common-pile/stackexchange_filtered
How to combine 2 arrays into 1 object javascript I have 2 arrays that i want to "reduce" into 1 object. so for instance: I have.. var originalData = [1,2,3]; var newData = [3,1,2]; i want to combine these two arrays into an object that looks like this: var newOrderObject = {1:3, 2:1, 3:2}; im using a reduce function...
common-pile/stackexchange_filtered
Why dropdown is not popping up on clicking the toggle button in navbar in handlebar? Below is the handlebar code using bootstrap I am trying to load the drop-down options for the user to logout. But when I click the username that is "Vikas" the dropdown menu options of logout doesn't popup. What changes do i need to do...
common-pile/stackexchange_filtered
Testing enum gives warning: comparison between pointer and integer I am getting this warning: warning: comparison between pointer and integer when doing the following: if (menuItem.menuType == LinkExternal) MenuType is a custom enum defined as below: enum menuItemType { LinkInternal = 0, LinkExternal = 1, ...
common-pile/stackexchange_filtered
Cookies not read correctly in asp.net core Browser confirms that both curvlist and guestuser cookies exist. However When I get the guestuser it has the correct value: string Guest = Request.Cookies["guestuser"]; but the cookie curvlist is empty: The only difference is that guestuser is created in server side, but ...
common-pile/stackexchange_filtered
名 vs 人 for counting people? We were asking for seats at a restaurant in Kyoto and were unsure whether to ask for nimei or futari. Which would be more appropriate? What are the distinctions in usage between these two counters? Short Answer: If you're a customer trying to make a reservation, you can use whichever you wa...
common-pile/stackexchange_filtered
How to ignore assigning /dev/cdrom to specific device? I have a HDSPA USB stick from Vodafone for mobile broadband, a HUAWEI model K3520 (in some places also designated E169 I think) which works just fine in Ubuntu 10.04 "Lucid" (amd64). This device is automatically mounted as a CD-ROM device by Ubuntu -- supposedly by...
common-pile/stackexchange_filtered
Perspective division by zero yields unexpected results Usually, this is how a shape in clip space is defined: [0.25, 0.25, 0.0, 1.0] [0.25, 0.75, 0.0, 1.0] [0.75, 0.75, 0.0, 1.0] [0.75, 0.25, 0.0, 1.0] After perspective division to NDC space the result looks following: However, when setting the w-component of the 2 r...
common-pile/stackexchange_filtered
SQL statement to display both the entries that have not been included and as well as included I want to create a stored procedure when a user initially creates a new form and included some of the entities he wants and then later comes back and edits the entities and adds more to them. So I would like to display all th...
common-pile/stackexchange_filtered
MATLAB: Linear Indexing Multidimensions I'm trying to assign some values to a matrix.In the case of 2 or 3 dimension, it is easy to use sub2ind. However the data I use has 23 dimensions. The situation could be explained better with an example. A is a matrix which has 3x4x5x6x7dimensions. I want to assign something to A...
common-pile/stackexchange_filtered
"Almost-ideals" in the (simple) Lie algebra of an algebraic group? Let $G<\mathrm{GL_n}$ be a simple linear algebraic group defined over a finite field $K$. Let $\mathfrak{g}$ be its Lie algebra. Assume $\mathfrak{g}$ is simple. Is it necessarily the case that there is no subspace $\mathfrak{v}\subset \mathfrak{g}$ wi...
common-pile/stackexchange_filtered
Error using gnus with gmane I'm trying to set up gnus for reading mailing lists. According to some threads I have the following in my init.el (setq user-mail-address<EMAIL_ADDRESS>(setq user-full-name "my name") (setq gnus-select-method '(nntp "news.gmane.org" (nntp-open-connection-fu...
common-pile/stackexchange_filtered
Weird use case for `AutoFilter` operator `xlAnd` I found this line of code which uses column 1 of the table tbl to filter the table tbl: tbl.Range.AutoFilter Field:=1, Criteria1:="<>#*", Operator:=xlAnd I don't understand what this does, because it does not match with, how Operator:=xlAnd should normally be used (link...
common-pile/stackexchange_filtered
Best way to store <Integer, Integer> KVP in Redis for lookup by both Key and Value I want to store mappings for my own internal Integer IDs and an external systems IDs. For example, I may have the following data: MySystemInteger: 3, ExternalSystemInteger: 5 MySystemInteger: 8, ExternalSystemInteger: 1 MySystemInteger: ...
common-pile/stackexchange_filtered
How to calculate price? Why doesn't my `$total' display any value when I run the code? You are not even echoing $total, $row['total'] is different from $total Please paste code here not img. Try this, <?php $total=0; while($row = mysqli_fetch_array($result)) { ?> <tr> <td><?php echo $row["bookname"]; ?> </td...
common-pile/stackexchange_filtered
Corrupted Bootcamp Parition lost in Disk Utility My OSX Yosemite Mac had a partition of Win 8 that was corrupted and is not lost. Now the original 500GB drive is only 200 and unable to use the 300GB corrupted Win drive. (see photos) From other tutiorals, I was able to display this data, but have not been able to recove...
common-pile/stackexchange_filtered
How can I make HOC/Middleware in Node to measure time exec? I have something like: router.get("/", users) const users = (req, res) => { const begin = new Date().getTime() // rest of the code const end = new Date().getTime() const duration = (begin - end) / 1000 res.send("something") } So I don't want to ...
common-pile/stackexchange_filtered
Should I create an EFI Partition In The Debian Installer? In the Debian Installer after you are done partitioning I was asked if I wanted to create an EFI partition. I do have Windows 7 already installed in EFI mode apparently (that was a mess up on my part) so I guess I am asking weather or not I should create a new o...
common-pile/stackexchange_filtered
How to set #encoding: utf-8 in Rails globally now i'm using # encoding: utf-8 in every controller, where :notice message is not in latin i've tried to put it in ApplicationController, tried to add <meta charset="utf-8"> at the top of application.html.erb, none worked, any help ? EDIT: config.encoding = "utf-8" also set...
common-pile/stackexchange_filtered
Can we set the default attribute value globally of a ScriptManager control in an asp.net 3.5 website? Want to set the default value of the attribute of all the ScriptManager control. <asp:ScriptManager ID="ScriptManager1" LoadScriptsBeforeUI="false" runat="server" ></asp:ScriptManager> Keep the LoadScriptsBeforeUI to ...
common-pile/stackexchange_filtered
Extend a div to end of screen while keeping contents within container I am creating a navbar that has a subnav within. I am trying to keep the contents of this subnav within a container, while extending its background beyond the container (blue). I had thought initially of using :after to create this, but how can I pla...
common-pile/stackexchange_filtered
Import excel sheet in testlink tool How to import Excel sheet in testLink tool? I have prepared excel sheet as per, Step actions Expected Results Execution Still, testlink not allow me to add. Thanks a lot.
common-pile/stackexchange_filtered
Distinguish mice devices from a LowLevel mouse hook I have a virtual mouse driver and an actual mouse on my computer. I'm using LowLevelMouseProc to capture events windows wide and I would like to not process events from the virtual mouse. I cannot use RawInput as I need to process message of another process. Is there ...
common-pile/stackexchange_filtered
Margin Remain on conteiner I would like to know a way to not leave left overs margin right, in other words, I would like to fill out the entire container with images, but i need make a space between the images. I am using margin-right, ie, the problem is there. There's another way to do this? Picture: Can you post y...
common-pile/stackexchange_filtered
Was Fermat's last theorem proved based on Peano's postulates? Is the proof of Fermat's last theorem solely based on the Peano's postulates $+$ first order logic? Or it contains other axiomatic systems as well? What does it mean from foundations of math perspective to use several axiomatic systems to prove a conjecture?...
common-pile/stackexchange_filtered
C# as Win Service cashes on Console.Title I have a C# application which extends Microsoft.Extensions.Hosting.AbstractionsBackgroundService. I use it to run other dlls as a Console app. On the later customer system this should run as a service. After two days of debbuging i realized, that Console.Title = ...; crashes ...
common-pile/stackexchange_filtered
Automatically populate DateTime field with last week's date using an extension method I have two DateTime fields that I'd like to automatically fill so that the PeriodFrom field is set to 7 days ago and the PeriodTo field is set to today's date. At present I have them set up so that the PeriodFrom is set to the first d...
common-pile/stackexchange_filtered
android-How to make button background non transparent this is an image of my layout : as you can see, the button background is semi transparent and gets layout background color .I don't want my button to be transparent I want to make my button like this : I set alpha to 0 didn't work . Could you help me ? I'm using ...
common-pile/stackexchange_filtered
ASP Classic, SQL 2008, XML Output, and DSN vs DSN-Less Produces Chinese Letters I've been having a problem for the past month and can't seem to figure out what is wrong. Here's the setup and a little background. Background: I have a web-host who was running my website on Windows Server 2003 and SQL Server 2000. One of ...
common-pile/stackexchange_filtered
Let $f$ be a nonconstant entire function such that $|f(z)|$ depends on $Re(z)$ only. Is $f(z) = ce^{az}$, where $c, a$ are constants and $a$ is real? My thoughts so far: since the zeros of $f$ are isolated, $f(z)$ never assumes the value zero. It follows that $f(z) = e^{g(z)}$ for some entire function $g$, and that $Re...
common-pile/stackexchange_filtered
Parameter query I have a simple script that brings through, for a certain product, the date it was ordered and the date the order was completed. On a graph, I am tring to show the number ordered between a certain date and the number completed between the same date. The problem I face is that in the script I have used: ...
common-pile/stackexchange_filtered
Why does bash script stop working The script monitors incoming HTTP messages and forwards them to a monitoring application called zabbix, It works fine, however after about 1-2 days it stops working. Heres what I know so far: Using pgrep i see the script is still running the logfile file gets updated properly (first c...
common-pile/stackexchange_filtered
Passing runtime arguments to constructor using SimpleIoc Currenlty I'm using SimpleIoC from MvvmLight and I cannot figure out how to supply the constructor parameters to a class that implements IMyService. I've found the following SO thread MVVM SimpleIoc, how to use an interface when the interface implementation requi...
common-pile/stackexchange_filtered
CS50 Pset1 Cash Example Wrong Output for 0.01 and 0.15 CS50 PSET1 CASH Example Trying to get proper result for the input 0.01 and 0.15 but output results in "0" instead 1 and 2. Code: #include <cs50.h> #include <stdio.h> #include <math.h> int main(void) { int cents,coins; do { float dollars = get_fl...
common-pile/stackexchange_filtered
Java code for HTTP post request to send two(certificate and certificateKey) files as multipart-formdata I need to send two files with post request as multi-part form data using JAVA and I get BAD REQUEST 400 for this code. RESPONSE I GET -- { "status" : "BAD_REQUEST", "message" : "Failed to parse multipart servlet...
common-pile/stackexchange_filtered
How to change my camera position in bottom of layout When I animate the camera with google maps function, my app is zooming in map and screen this into center of my layout. I want to show this bottom of my layout. Here is my code. CameraPosition cameraPosition = new CameraPosition.Builder() ...
common-pile/stackexchange_filtered
Jquery Cycle plugin and scrollVert Anybody know the easiest way to create a scrolVert effect with the Cycle plugin which scrolls up to display the next item rather than scrolling down as is default? You can use "rev" option : rev: 1
common-pile/stackexchange_filtered
ErrorListPlot (in ver. 12) and double-Y plots Both of my questions concern ListPlot, so I hope it is acceptable to ask them both in one post. ErrorListPlot seems to have been suspended as of version 12, is there a built-in alternative for creating scatter plots with errorbars? For creating scatter plots with double-Y...
common-pile/stackexchange_filtered
Serverside redirect from iframe not working in Firefox and Chrome but works in IE6 I would love to know why the following does not work in Firefox 21 and Chrome 26 yet it works in IE 6. I have a page "frame.html" which contains an iframe. The iframe points to another page "post.html". post.html contains a form which PO...
common-pile/stackexchange_filtered
Is there a way to sum together lists of data frames within a larger list? I have a large list (z) containing 3 lists of 10 data frames. I would like to collapse this object into a list of 3 data frames where each data frame is the sum of the 10 prior data frames (think matrix addition). Here is what I am working with, ...
common-pile/stackexchange_filtered
rails i18n en-GB and Rails 4 depreciated warning. How should I handle en-GB properly? So like many I've walked into the Depreciated warning of [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales ...
common-pile/stackexchange_filtered
Invariant Violation: "main" has not been registered React Native Error I was working on a React Native Project with a team and I suddenly got this error. Not sure if it helps but I did get it after I used expo to install the BarCodeScanner API from expo. But this hasn't occurred before whenever I installed an Expo API,...
common-pile/stackexchange_filtered
Simple unique non-priority queue system I'm working on a simple web crawler in python and I wan't to make a simple queue class, but I'm not quite sure the best way to start. I want something that holds only unique items to process, so that the crawler will only crawl each page once per script run (simply to avoid infin...
common-pile/stackexchange_filtered
Does Red Buff stack and how long does it last? If I have 2 does it apply 5% burn? How long does it last, and how fast is each tick? The ticks, from experience, seem to be one per second and I think last until end of fight. Also, seeing how every other item seems to stack (if you have 2, the effect is done twice, like ...
common-pile/stackexchange_filtered
initialize file in rails app I can't seem to figure out this issue: uninitialized constant Five9Controller::Five9Providers My files look like this: Contact Provider lib/five9_providers/contact_provider.rb class Five9Providers::ContactProvider < Five9Providers::BaseProvider def add_record_to_list(record) .... ...
common-pile/stackexchange_filtered
Identity Insert in EF6 Database-First I am attempting to convert data from an old database into a new database, where the primary key's value is important. The code I currently have is as such (actual table name replaced with "TableName"): using (var oldContext = new OldContext()) using (var newContext = new NewContext...
common-pile/stackexchange_filtered
MultiPeer Framework Delegates Not Firing/Running (No UI) I've been stuck on this problem for a while. I'm trying test the multi peer framework. And I'm trying to do it without a UI. In other words, I'm inviting other peers manually through code. I want to be able for the app to come up, and the peers automatically star...
common-pile/stackexchange_filtered
FULLY stop an antivirus from running I would like a way to fully stop Avast or any antivirus from running. I don't want to uninstall Avast or disable the Shields I want to be able to look in task manager and not see Avast running as a process. Please could someone tell me a way to do this. Usually uninstall is the on...
common-pile/stackexchange_filtered
How to make my base terminal in VsCode like this Terminal Image This image is taken from Thapa Technical youtube channel and i want to make my terminal like this. Please help me This terminal is zsh. So, you need to install zsh on your Windows machine and change setting in VSCode to use zsh terminal path. Look at this...
common-pile/stackexchange_filtered
What does this Python code do (it's about functions and classes)? I was reading some Python code and saw these lines and couldn't figure out what's happening. Here's the code: class Connection(): (....) . . . def connect(name) -> Connection: ... (....) (....) (....) Are...
common-pile/stackexchange_filtered
Create and edit a bash script in an USB connected smartphone The question explains it all. I am using Ubuntu 20.04 LTS. I have connected an android smartphone to pc using USB. Changed directory to internal storage using: cd /run/user/*/gvfs/*/'Internal Shared Storage' And now I wanna create a bash script. Did this: to...
common-pile/stackexchange_filtered
What do you write in conditionals when there are doubles When i use || in if statements android studio tells me "Operator || cannot be aplied to 'int', 'double' " So what's the problem? Please help Don't be mad if code is bad i'm new to programming. This was written in Android studio package com.ftech.kalkulatorzamal...
common-pile/stackexchange_filtered
React redux tollkit with saga - dispatch multiple action Hi I'm new using React with redux toolkit + redux saga. My scenario is to show updated list after CRUD operation. Currently data is saved successfully, and updated list is showing after refreshing the page. If I'm calling multiple dispatch() then also it's not wo...
common-pile/stackexchange_filtered
flutter pull_to_refresh_flutter3 Set pull-down background color flutter pull_to_refresh_flutter3 Set pull-down background color?? seek help!!!! What is the question you'd like to ask my friend? 老铁,侬问啥子哟? Can you include your current snippet that will reproduce the same issue ? And it depend on what header you are...
common-pile/stackexchange_filtered
Check if photo is updated in Ldap using ruby's NetLdap gem In my application I sync users image uploaded as photo field in the LDAP. Is there a way to detect whether the image has changed so that I don't have to upload it to my application every time. I am looking if there is a way where LDAP says it is modified or L...
common-pile/stackexchange_filtered
Change map language on Google Maps I have Nexus 7. I'll be traveling to Bangkok in a couple of weeks, and would like to change the Google Maps app to display street names in Thai just in case I get lost and need local help, and also for the benefit of the taxi drivers, who may not be familiar with my destinations Is th...
common-pile/stackexchange_filtered
Will small files be spread across partitions in JavaPairRDD? This may be a silly question, but I'm not able to understand how the files are split across partitions. My requirement is to read 10000 Binary files(Bloom filter persisted file) from Hdfs location and process the Binary files separately by converting the data...
common-pile/stackexchange_filtered
Can't bind to 'ngModel' since it isn't a known property of 'input' despite importing FormsModule I am following the Angular 2 tutorial on MVA. I can't seem to get the two way binding to work. I applied the fix in Can't bind to 'ngModel' since it isn't a known property of 'input' but this isn't working. The error is bel...
common-pile/stackexchange_filtered
Running a Scala app as a Java app I'm trying to run the following rocket launching application: object HelloWorld { def main(args: Array[String]) { println("Hello World!") } } directly from java like this: java -cp scala-library.jar HelloWorld (obviously after compliling with scala) but get the follow...
common-pile/stackexchange_filtered
Algorithm to Iterate All Possible Strings in Clojure I'm fairly new to Clojure and I struggled a bit coming up with a nice Clojure-y solution for implementing an algorithm for one of my applications. The real issue I'm trying to solve would require a large writeup in order to understand what it's about, so I've come up...
common-pile/stackexchange_filtered
How can I pass a List<string> to an api url? Suppose I have an api method like this inside MyAPIS controller: public List<string> GetList(List<string> myList) { var newList = myList; return newList; } The uri bind to this action should be something like mysite/api/myapis/getlist/[id]. Usually the id is a singl...
common-pile/stackexchange_filtered
How to increase disk size in a stateful set I'm managing an Elasticsearch deployment in Kubernetes. I see that the disk storage is getting close to full, so I would like to increase the size of the persistent volumes. I want to change this value in the Stateful Set: spec.
volumeClaimTemplates[0].spec.resources.request...
common-pile/stackexchange_filtered
JNI ByteBuffer put bytes JNIEXPORT jboolean JNICALL Java_directshowcamera_dsInterface_grab_1frame_1stream(JNIEnv *env, jobject obj, jint streamid, jobject barray) { jclass bbclass = env->FindClass( "java/nio/ByteBuffer" ); jmethodID putMethod = env->GetMethodID(bbclass, "put", "(I, B)Ljava/nio/ByteBuffer"); ...
common-pile/stackexchange_filtered
How I can use numbers in vertico-indexed-mode? Emacs 27 I enable vertico-indexed-mode Here result: How I can use this numbers (0,1,2,3) ? As the commentary to the package says it allows to choose a candidate with prefix arguments. For example you can do C-5 RET to select the fifth candidate (as if you'd hit C-n 5 tim...
common-pile/stackexchange_filtered
How can I use ng-switch to satisfy multiple, same conditions? I want to create a piece of HTML with AngularJS based on the authentication status. I use ng-switch. The issue is that I want to have multiple hits on a single condition, but AngularJS only satifies the last condition met. The HTML listens very close, becaus...
common-pile/stackexchange_filtered
get function execution complete percentage I'm trying to use jQuery UI Progress Bar to show the complete status of the execution of a function, but before I could even use the Progress Bar, I need to find out how many percent of my function execution is complete and send that value to the Progress Bar. How do I find o...
common-pile/stackexchange_filtered
How to type-hint a getter to only allow keys of dict? I wonder how to make this getter more type-safe: VALUES = { '1': 'One', '2': 'Two', '3': 'Three' } def get(key : str) -> str: return VALUES[key] Instead of the type str I would love to have a keyof VALUES and type(VALUES[key]) types. get('4') should ...
common-pile/stackexchange_filtered
Rails 4: Profile for users I have a Rails 4 app with a User model and it has_one :client where Client is the model where I store information about the client. I want my users to be able to view a profile page with their client information but I'm not sure which action to use or how to route to it. I want to be able ...
common-pile/stackexchange_filtered
Why does C have separate name spaces for tags and identifiers? From cppreference: 1) Label name space: all identifiers declared as labels. 2) Tag names: all identifiers declared as names of structs, unions and enumerated types. 3) Member names: all identifiers declared as members of any one struct or union. Every stru...
common-pile/stackexchange_filtered
Increase size of some fonts in HL-2 Deathmatch I've just built a steamos machine and have HL2-Deathmatch running perfectly. Unfortunately some of the smallest fonts are too small to see on the TV (highlighted in red): How do I increase the size of these particular fonts? **I changed every font size in ClientScheme.r...
common-pile/stackexchange_filtered
Developing Factions - Secret Societies I have a few factions in mind from various nations/cities in my world and even a couple that span the continent. I am having trouble with depth. The groups I have feel shallow and overly simplified. I am looking for a process to facilitate creating groups/organizations that are su...
common-pile/stackexchange_filtered
OS X inter thread communication question I am developing a multi-threaded application in Cocoa. The main thread takes values from the user, and when a button is clicked I invoke a secondary thread in which a long calculation takes place. Now from this thread I have to return the output of every step of the calculation ...
common-pile/stackexchange_filtered
How to make snap app visible on "Open with"? I have successfully created a snap package and it works fine. I've also created a .desktop file for the app. But when I install the snap app, the .desktop file is not automatically copied to "usr/share/applications" folder, which is were it must be so the user can choose the...
common-pile/stackexchange_filtered
Can't Install Brother MFC-6890CDW as Network Scanner under 12.04 I am trying to get my Brother MFC-6890 to work as a scanner under 12.04, but am already stumped at Step 5 in the Brother instructions The suggested command line: brsaneconfig3 -a name=SCANNER model=MFC-6890CDW ip=<IP_ADDRESS> produces error messages...
common-pile/stackexchange_filtered
How to get ZSH previous command's history number in prompt? I'm wanting to add the previous command's history number to my prompt, as well as the exit code. At present, %h[%?] Gives me the current history number, as well as the last exit code. What I'd really like is an expansion for %h-1, but I'm not sure if that is ...
common-pile/stackexchange_filtered
Find the least and most weighted path in a matrix I tried to work on using the most effiency way to find the least and most weight path traverse across the matrix from [min(m), min(n)] to [max(m), max(n)], when an step is choosen [m,n], the next step should be [m+i, n+j]. +---+----+---+---+---+---+----+ | 1 | 0 | 5 | ...
common-pile/stackexchange_filtered
Jenkins: Gradle unable to connect to MariaDB despite successful setup in Jenkins pipeline (This is my first ever question, if anyone needs more info please comment) This is for a school thing, but I've been utterly stuck on this problem for weeks and no-one I know seems to be able to solve this problem. The pipeline is...
common-pile/stackexchange_filtered
loop inside a directory and get its files in c I am new to C and It might be a simple question. I want to loop through filenames and ignore subfolder and its files. I have to display the files dirent information. Please help me how to do it using C. thanks, Maybe something from here will help: How can I get a list of...
common-pile/stackexchange_filtered
My inbox and recent achievements keep reincarnating Every time I renew my page, I get a green and red notification at the top of the page, for notifications that I have already seen. As more notifications appear, the reincarnating number has gone up. It started when I logged on an hour ago, with the one new message an...
common-pile/stackexchange_filtered
In python how to catch all and every exception and error ever thrown anywhere So, I'm familiar with try-except, however in this case it's not working. I have a package, that uses socketio and asyncio. The connection is done inside an asyncio task. If the it cannot connect to the server, it throws an exception of course...
common-pile/stackexchange_filtered
Suggestion List with Angular 5 There is a FormGroup with a FormArray and relative FormControl populated. I built a service (valuechange Observable) that with a given string this look up for similar word in a "dictionary" array. the service gives back an array of object that should populate a suggestion list right under...
common-pile/stackexchange_filtered
how to get rid of from the this error while installing the angular? I m consistently facing this issues every time when I try to install the angular at my Office PC I did google everything about this fatal but I failed Here is the log file 0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\\Program...
common-pile/stackexchange_filtered
How can I get unique sales numbers? Looking for recomendations for fomulas: I have a spreadsheet filled with multiple items. I want to get the unique item and the corresponding price. I then want to compare the change in price for the inventory over a certain time. For example: Current List Date Product Price 1/1/20...
common-pile/stackexchange_filtered
Dual of $l_\infty$ Let $l_\infty$ be supplied with the supremum norm and $(l_\infty)^*$ be its dual. Further, let $e_n$ be the orthonormal basis of $e_n=(0,0,...,1,...,0)$. Are the following statements true or false? 1. there exists a $\phi\in(l_\infty)^*$ with $\phi\neq0$ and $\phi(e_n)=0$ for all $n\in\mathbb{N}_{...
common-pile/stackexchange_filtered
How to Manually create an Apache Windows Service I accidentally removed my Apache windows service trying to install another Apache web server. Does anyone know how I can create another Apache windows service from cmd? I tried "sc create ..." but I am missing a script on the end like -k start? Not sure what I need for ...
common-pile/stackexchange_filtered
no windows boot option after installing ubuntu 12.04 I have Windows on my machine and then I installed Ubuntu 12.04 using USB. I was not getting the option to boot into Ubuntu, so I ran boot-repair but then now I am not getting option to boot into windows. Below is my paste ubuntu url. What can be the issue ? http://pa...
common-pile/stackexchange_filtered
How to test a Function that takes no parameters I am new here and new to programming (I have only been programming for 2 weeks). Does anyone have any suggestions on how to test a function that takes no parameters. I have tested functions that takes parameters but not one that takes no parameters. On the test function I...
common-pile/stackexchange_filtered
"ERROR: NVIDIA driver is not loaded" - Linux Mint 20 Ulyana I have installed Linux Mint 20 Ulyana, with secure boot enabled, on my Mi Horizon 14 notebook equipped with Geforce MX350. After the installation I have enabled nvidia-driver-440 using Driver Manager. However, when I issue sudo nvidia-setttings in terminal I g...
common-pile/stackexchange_filtered
Calculate $\frac{d}{dx}\left(x^x+x^{2x}+x^{3x}+...\right)$. Calculate: $$\frac{d}{dx}\left(x^x+x^{2x}+x^{3x}+...+x^{nx}\right), n \in\mathbb{N_{\geq 1}}$$ If I have $x^x$ as my first case, then I get $$\frac{d}{dy}x^x=x^x\left(\ln \left(x\right)+1\right)$$ Likewise, for $n=2$ I get: $$\frac{d}{dx}\left(x^x+x^{2x}\rig...
common-pile/stackexchange_filtered