text
stringlengths
70
452k
dataset
stringclasses
2 values
How to turn a list into many strings - Python I was wondering if I have a list such as ['This is my list'], how can I split it into 4 strings such that I can count them? Sorry, I forgot to mention that I am using Python! It depends on which language you are using! For example, in Python, you can use .split(' ') which ...
common-pile/stackexchange_filtered
How do I convince Dell blades to PXE Boot Scenario: Brand new Dell M610 blades. Connected to the network with a 10GE uplink into a Dell PowerConnect M6220 blade switch. DHCP server evidently working, as everything else boots / gets addresses fine. TFTP server working fine. Can't seem to get a DHCP address from the serv...
common-pile/stackexchange_filtered
Artifactory storage keeps growing Artifactory storage summary says that binary size is 1.95TB, Artifact Size: 3,59TB. But Filestore is 5.1 TB and it keeps only growing. It seems that there is about 3TB space in use by old artifacts. Is there a way to investigate what is consuming this storage and can it be cleaned up s...
common-pile/stackexchange_filtered
Create new signal or multiplex SIGALRM? I am trying to write a benchmark that receives a signal from the kernel telling it to adjust its parameters. I'm trying to study whether a proactive or reactive approach works best. In the proactive approach, I use setitimer to set an alarm periodically and force the benchmark ...
common-pile/stackexchange_filtered
dynamic redux app loading vs store composition and combineReducers Let's say I've got a very big application written in react/redux and I've got application split into modules, webpack import statements, etc. I need to provide a setup that for a given production build, I choose which modules should get included into th...
common-pile/stackexchange_filtered
Using integrals to prove that the mean of the sampling distribution is the population mean Let the random variables $X_1, X_2, \dots X_n$ denote a random sample from a population. The sample mean of these random variables is: $\overline{X}=\frac{1}{n}\sum\limits_{i=1}^{n}X_i$ I would like to show that the mean of the s...
common-pile/stackexchange_filtered
Why is javascript saying that addcallback function is not defined? my first time on here. My problem is with AS3, Javascript and possibly the browsers Firefox and IE. I have done so much searching for an answer so i will print my code: i am using this line to call the flash application and in all browsers its combati...
common-pile/stackexchange_filtered
Caesar cipher - Trouble with negative numbers in the shift key When I use a negative number for the shift like -1 and use the char 'a', I'm supposed to get 'z' but I get ` instead. How can I fix this? using System; using System.IO; namespace CaesarCipher { class Program { public static char cipher(char...
common-pile/stackexchange_filtered
Setting pandas set_option globally for particular venv I find myself setting the pd.set_option in multiple files and forgetting about them Is there any performance issues with setting these values so large, I tend to do this in DEV? Is there a way to set an .env variable or pandas config globally so that all modules...
common-pile/stackexchange_filtered
Whats the difference between entropy and the (dis)order of a system? Entropy is often verbally described as the order/disorder of the thermodynamic system. However, I've been told that this description is a vague "hand-waving" attempt at describing what entropy is. For example, a messy bedroom doesn't have greater entr...
common-pile/stackexchange_filtered
Flexbox: How to achieve 50% width when the content is overflowing? I have a nav bar and a main area that is divided to 2 equal halves, left and right. When the left half contains a wide element that overflows its width, the 50/50 division of main breaks, causing left to take more than 50%. Why is this happening? How co...
common-pile/stackexchange_filtered
Importing methods from Python class into another class instance Let's say I've got python object A, that is an instance of class A. Every instance of class A has an attribute SubType. I've also got classes SubType_B, SubType_C, and SubType_D, each of which has a method called ingest(). The ingest() method was previou...
common-pile/stackexchange_filtered
After chmod can't login on VM Change permissions on file /etc/passwd on 640, then chmod o-r . After that, i can't login on server on ssh. Putty says "Network error: Software caused connection abort". What problems? And how i can fix this... What problems? Basically, you broke it. If you have console access, boot from...
common-pile/stackexchange_filtered
"ways/steps to increase" And "ways/step to increasing" Way and step I happened to read some sentences containing phrases with two similar forms such as Subject Verb to Verb... and Subject Verb to Verb-ing... I come up examples for each. "I find ways to increase my enjoyment in study." And "I find ways to increas...
common-pile/stackexchange_filtered
how to update multiple data in entityframework through async web api I am using web api 2, and entity framework 6. I have created an async web api, which updates all the records at once. I am also using Autofac for dependency injection. My service interface is as follows : Task<Approval> TakeAction(int id, bool isAppr...
common-pile/stackexchange_filtered
Fastest way to determine if a collection (or db table) has two records at the same time or not I want to check a collection (Huge collection let's say), to see if it has two records, each with a specific criteria. What is the fastest way? For example I would say I have a People table with billion records, I want to g...
common-pile/stackexchange_filtered
Scan barcodes from a mobile web site? What is the best solution to scan barcodes and QR codes from a mobile web site (no phonegap etc...)? The solution has to work on Android, iOS and Windows Phone. I've heard about pic2shop, does it work well (even on windows phone)? Are there better solutions? As nothing seems to c...
common-pile/stackexchange_filtered
JavaFX: Add text to TextFlow - rendering issue I'm trying to use a quite simple JavaFX feature, but may be missing something: adding a new Text object to a TextFlow that is already showing. I created a very minimal working example: public class TextFlowTest extends Application { @Override public void start(Sta...
common-pile/stackexchange_filtered
how do you hide an image in Tumblr's permalink page? I want to have my own thumbnails for video posts on my main tumblr page....and show the video only in the permalink page with out the thumbnail. here's an example site of what I'm trying to do: http://devour.com/ (not tumblr but same idea) I figured the best meth...
common-pile/stackexchange_filtered
term doesnt evaluate to 1 argument in std algorithm when using unary op defined with std::unique_ptr I am trying to use a std::unique_ptr functor in std algorithms but if i use it like this: std::unique_ptr<IFormatter> format(new formatter("abcd")); std::transform(vec.begin(), vec.end(), vec.begin(), *format.get()) ...
common-pile/stackexchange_filtered
How to setup lerna with git-only I have a React app using submodules to share code and I want to swap it with lerna. But instead of publishing to NPM, I just want to use git-only where the code will be published back to git using commitish. Basically the folder is structured something like this app/ src/ componen...
common-pile/stackexchange_filtered
CTCallCenter how to implement effectively I am developing a call related application. Need to get events about the call states, the calls are logged and UI is updated. When the application is active - for a miss call I am getting CTCallStateIncoming and CTCallStateDisconnected: for a received call I am getting CTCallSt...
common-pile/stackexchange_filtered
Using Alexander's Theorem to show that the sphere $S^3$ is a prime manifold I'm completely aware of the triviality of this question, but for some reason, I can't visualize the argument. In Hatcher's 3-manifold notes, the form of Alexander's theorem stating that Every embedded 2-sphere in $\mathbb{R}^3$ bounds an embed...
common-pile/stackexchange_filtered
Replacing raw pointers in vectors with std::shared_ptr I have the following structure: typedef Memory_managed_data_structure T_MYDATA; std::vector<T_MYDATA *> object_container; std::vector<T_MYDATA *> multiple_selection; T_MYDATA * simple_selection; Edit: this may be very important: the Memory_managed_data_structure c...
common-pile/stackexchange_filtered
javascript/jquery/mootools/other js lib- can i write text over a css3 gradient I have with me a script that generates gradients using CSS3. I want to do 2 things with the gradient, either separately or together-- (a) Allow user to write some text over the gradient at location chosen by user (indicated using mouse curso...
common-pile/stackexchange_filtered
Using Macaulay2 to Write the Canonical Module as a Quotient of a Free Module Let $S$ be a polynomial ring over a field. Let $I$ be a homogeneous parameter ideal of $S.$ Observe that $S/I$ is an Artinian local ring, so it is Cohen-Macaulay, and it is finitely generated as an $S$-module. Even more, the projection of $S$ ...
common-pile/stackexchange_filtered
Flutter remove where command i have created list builder of tasks with CheckBox. I've created button on clicked to delete only tasks when checkbox is true. This is code where i want to remove only tasks with selected checkboxes widget.selectedList.productsAndStatus.removeWhere(() => true); a...
common-pile/stackexchange_filtered
Scalability of C server implementation based on pthreads I am wondering about the feasibility of the following basic implementation of a server and how well it would scale. I know that large-scale, distributed servers should probably be written in a language like Erlang, but I'm interested in the viability of the follo...
common-pile/stackexchange_filtered
Looping through a python dictionary and manipulate each value I am a fairly new python user and I am stuck on a problem. Any guidance would be greatly appreciated. I have a pandas data frame with three columns 'ID', 'Intervention', and 'GradeLevel'. See code below: data = [[100,'Long', 0], [101,'Short', 1],[102,'Med...
common-pile/stackexchange_filtered
I need an app code to be corrected. The app displays spectrogram but there is an error that it does not allow plotting bigger spectrograms I need an app code to be corrected. The app displays spectrogram but there is an error that it does not allow plotting bigger spectrograms. and I get an error W/OpenGLRenderer: Bitm...
common-pile/stackexchange_filtered
CompositeItemWriter with Wrapper reader -> injest a class named Person processor -> injest Person, and returns a wrapper object, that has 3 fields, all of them are of type Person (1. inputPerson, 2. outputPerson, 3. output) writer -> injest this wrapper and should write first two fields in one file, and the third one...
common-pile/stackexchange_filtered
Btrfs minimum free space for raid 5 convert I have a btrfs array of 7 drives that I just finished building. It's currently in "single" mode and I'd like to convert it to raid5 (I understand the risks and the write hole issue). Per the documentation, The way balance operates, it usually needs to temporarily create a n...
common-pile/stackexchange_filtered
IPv6 network range I was learning about IPv6 in order to build an internal network port scanner (this means a private network to which one is connected) I wasn't able to find a way to know the network range with the submask, let me illustrate it with an example : IPv4 : <IP_ADDRESS> with a sub mask of <IP_ADDRESS> mean...
common-pile/stackexchange_filtered
Minimum for this function I thought of writing this question Minimum for this function in a different way, if it helps. I want to minimize $$\sum_{i=1}^n a_ix_i + \nu \sum_{i=1}^n b_i 2^{x_i} ,$$ where $a_i \in [0,1]$, $b_i \in (0,\infty)$, and $x_i \in [x_{\min},0)$, and $$ \sum_{i=1}^n 2^{x_i} = 1 .$$ $x_{\min}$, ...
common-pile/stackexchange_filtered
how to identify moderator or high repo user? If any user get any down voted then how he can identify that his post down voted by moderator or high repo user? Is there any way to identify them? thanks In addition to Iain's answer, up and down votes are equal. An upvote from a high rep user or from someone who joined th...
common-pile/stackexchange_filtered
A simple question about why a mapping is bijective. I've been reading mathematical analysis written by B.A.Zorich recently and have some doubts. Why is the mapping $f:\mathbb{N\times N}\rightarrow\mathbb{N} \quad given\;by\quad (m,n)\rightarrow\frac{(m+n-2)(m+n-1)}{2}+m$ a bijection($\mathbb{N}\;$in this book does not ...
common-pile/stackexchange_filtered
Writing a structured Om application with requests, but not om.next I'd like to write an application in Om - a GitHub issues viewer in particular. To retrieve issues from GitHub, I'll need to XHR request them, and there'll be the action of marking issues as 'viewed' by sending a request back to GitHub. There's quite a b...
common-pile/stackexchange_filtered
how do i get startActivityForResult() to bring up just a list of telephone contacts (like when i click on the "People" icon) using the android sdk? excuse me if this question is obvious, but I am new to android sdk. What I am trying to do is get a list of contacts that have real telephone numbers to send an sms messa...
common-pile/stackexchange_filtered
partial view not opening as jQuery UI Dialog I need to open a partial view as dialog box on click of a button, basically add/ Edit scenario. My problem is that mu partial view does open but not as a dialog but at the bottom of the page. Please see my code below: I have an empty div on the page: On the click of the bu...
common-pile/stackexchange_filtered
Next button does not work in button for code php I'm doing two buttons Next and previous i have this line of code in the php file and the function defined in another php fixer, the one that has to do the function is to go to the taula where I am and select the next product. The problem is that the button does nothing. ...
common-pile/stackexchange_filtered
C++: Trouble loading long string from XML file using Mini-XML I'm using the Mini-XML library to parse and XML file. I am able to load just about every element and attribute, but I am having trouble loading a long string. Here is the relevant part of the code: //Load XML file into XmlO void load(wxString filenam){ ...
common-pile/stackexchange_filtered
Django chartit loading jquery and highcharts js I'm trying to include some charts to my django website using Chartit but facing problems. Just to keep it simple, I created a project that replicates chartit's demo charts but still having problems. I guess the problem is related with loading jquery and highlights js. Her...
common-pile/stackexchange_filtered
Export from Camtasia to Premiere Pro, with good audio How can I export from Camtasia to Premiere Pro keeping the two audio tracks as separate audio tracks in Premiere Pro? If all else fails, do two different exports, one with each audio track muted and then put them on separate tracks in Premiere.
common-pile/stackexchange_filtered
How to set default group for files created in Samba share I'm sharing a directory, /home/pi/pydev on a debian box (raspberry pi, in fact) with Samba. I'm reading from and writing to that directory from a Windows 7 machine. When I create, under W7, a file in that directory, it gets 0764 rights, and it's owned by user r...
common-pile/stackexchange_filtered
Django - Filter QuerySet in models.py Is is possible to make queries from django models? I have 2 models: class Book(models.Model): ... def copies_available(self): pass and class BookCopy(models.Model): ... book_category = models.ForeignKey(Book, related_name='copies') issued_to = models.Fo...
common-pile/stackexchange_filtered
Creating a function in JS Possible Duplicate: Javascript: var functionName = function() {} vs function functionName() {} I am curious to which is best pratice when creating a function in js function x() { ... } OR var x = function() { ... } Is there a difference or are they the exact same thing. x(); // ...
common-pile/stackexchange_filtered
Matching occurrence in string with regex for value replacement? I've spent some time on this problem but really need help from a regex guru. So far I have the following which doesn't quite give me what I need. [.*?]\s[=><]+\s[@]\w+ From the following sample string, I need all occurrences of a field followed by a parame...
common-pile/stackexchange_filtered
Powershell script using get-process and get-content Trying to create Powershell script to find process that is not running on a list of computers (text file). I have found below script but I am not sure how to utilize the get-content cmdlet with it. $ProcessName = "VPDICOMServer" if((get-process $ProcessName -ErrorAct...
common-pile/stackexchange_filtered
How to oracle partition by date range Unix Timestamp I have below table in oracle, I want Partition Range by Date in Oracle monthly on MyTimestamp column(Data type is number). Can I partition with this column or do I need another column? If I need a new column, what is the data type of the new column and how do I part...
common-pile/stackexchange_filtered
node-horseman async not working? I'm using node-horseman to ( hopefully ) allow me to carry out asynchronous phantomjs operations to achieve async headless browsing. The numbers in the array are at this stage irrelevant, I've just stripped the code down to the bare minimum to demonstrate the problem I'm having. When...
common-pile/stackexchange_filtered
Vue typescript router.Push() just changes address but not reloading page Hello there everyone. I m asking this strange question because of one factor: Whenever I'm trying to change route in my app is just changes adress in bar, but not reloading page. My code is just basic implementation of vue router. Routes do not e...
common-pile/stackexchange_filtered
Unresolved reference: compileKotlin in build.gradle.kts Kotlin project success build by build.gradle: compileKotlin { kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8 } compileTestKotlin { kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8 } Nice. But I need to change to build.gradle.kts: plugins { kotlin...
common-pile/stackexchange_filtered
Anime about a pirate submarine on a flooded mars Around 5 to 10 Years ago I had seen an anime series that was set on Mars, which was flooded to create pretty much an ocean world. The main character - a stereotypical male teen ditz - was picked up by a pirate submarine close to the start and in the run of the show, thi...
common-pile/stackexchange_filtered
python module matplotlib not found Trying to use the matplotlib module however when I try and run it I get, ImportError: No module named 'matplotlib'. I've had a look online but I couldn't find any solution. Any ideas on what I could do to fix this and if not any suggestions on similar modules. Install python distribu...
common-pile/stackexchange_filtered
Re-route all internet traffic through firewall I'm setting up a dual firewall setup with a DMZ and an internal network. The servers are dedicated root servers running Debain Bullseye, all necessarily having a NIC with a public IP. In addition, servers in the DMZ have a second NIC going to a switch. Another dedicated ro...
common-pile/stackexchange_filtered
Stop Reduce function in Hadoop on condition I have a reduce function where i want to halt the reduce function after processing some 'n' keys. I have set a counter to increment on each key, and on condition being satisfied return from the reduce function. Here is the code public class wordcount { public static clas...
common-pile/stackexchange_filtered
How can I find a set of characters in a char array I'm writing a C++ Windows httpPlatformHandler web app. The data coming in has http headers separated by \r\n. After the last header is double \r\n followed by the posted data. I need to get a pointer to the posted data. I looked at strchr but that only looks for a sing...
common-pile/stackexchange_filtered
Atmega328p resets and crashes when powering up solenoids I'm having problems with my PCB board based on atmega328p microcontroller (very similar to an Arduino standalone board). This is my current PCB schematics and Eagle board. SCHEMATICS UPDATED! I use connectors on VSX, VDX, MOT1A, MOT2A, MOT2A, MOT2B to switch ON ...
common-pile/stackexchange_filtered
Does the MTA (Postfix, Exim, etc.) get installed seperate from the mail server I'm new to mail servers and still trying to understand all the components. What I read is that there are many MTAs, but the 4 common ones are qmail, Postfix, Sendmail, and Exim. I also found this list of mail servers. http://en.wikipedia....
common-pile/stackexchange_filtered
new line in react admin textfield I do I make the TextField recognize a new line with the "\n" because when I to enter it in the Field it's just print it as it is <TextField source="body" component="pre"/> Just Try to post to many stuff not relevent\nand think he is a god Well I found the solution and it just add mu...
common-pile/stackexchange_filtered
What is returned from a SQL query into a PowerShell variable? Here is the function I have setup that works just fine to send queries to a SQL database from PowerShell and return the results (the results are what I don't quite understand) function Invoke-SQL { param ( [string]$server, [string]$database, [str...
common-pile/stackexchange_filtered
Android drawables work in Debug but become black squares in Release I'm working on an Android app (written in Flutter but I don't think it matters) which uses a drawable called quick_plus.png as shown here: It works great in debug mode. But not in release mode, where the quick_plus.png drawable became a black square. ...
common-pile/stackexchange_filtered
How should I approach consolidation of BEA WebLogic application development workstations? I am hoping to gain some insight as to how I might virtualize/consolidate the desktop environment for my developers. Our dev/unit testing environment consists of a WebLogic server installed on each developer's Windows XP workstati...
common-pile/stackexchange_filtered
Sending Hex data I am working with some hardware that can be controlled via hex commands. I already have some snippets of Python code I use for telnet control of other devices that use ASCII commands. How do I go about sending hex commands? For instance, how would I modify skt.send('some ascii command\r') with hex valu...
common-pile/stackexchange_filtered
how to create aroundplugin for abstractentity? I have created around plugin for isAttributeValid function for Magento\ImportExport\Model\Import\Entity\AbstractEntity but it is not working. code: <type name="Magento\ImportExport\Model\Import\Entity\AbstractEntity"> <plugin name="bbb" type="xxxx\yyy\Plugin\Entity\Abstra...
common-pile/stackexchange_filtered
What is the modern approach for Core Data Property Validation? Does Key-Value Validation still the de facto approach? As the Core Data Programming Guide - Object Validation, updated to Swift 3, suggests that the Key-Value Validation utilizing the Key-Value Coding of objective-c runtime is the recommended approach to pe...
common-pile/stackexchange_filtered
Flag condition and file writing I am creating a hotel management system software for my college project.There are two primary problems with the code. The program takes in a room number, runs it through the check function and if according to the condition books it, However when I try to book again with a unique room nu...
common-pile/stackexchange_filtered
Mysql case statement not returning appropriate message after case evaluation I am selecting engineStatus field from car table, the query looks like so :- select engineStatus from car LIMIT 1 car table column can have values 1 or 0. Assuming engineStatus is set to 1, the above query will return 1. I want to return ON i...
common-pile/stackexchange_filtered
Strange Keyboard Bug I recently installed Raspbian onto my pi and I started to experience a strange keyboard bug. I was able to get it to work just fine for about an hour, and I was on my way to setting up SSH and all of a sudden my keyboard stopped working. I restarted the pi and they keyboard worked again for about 5...
common-pile/stackexchange_filtered
golang variable setting I need to set a variable at the beginning of my package that will later on be populated with parseFiles() but im not sure how to set the variable considering its not a string or int or anything generic like that. How would i set the variable without having to add some arbitrary name in there jus...
common-pile/stackexchange_filtered
show loading spinner in the Jquery popup I am using jquery popup that loads a external page inside an Iframe. Now I want to show loading spinner or loading bar image and hide the external page/iframe while its working,so user only sees the spinner. can it be done,if yes how.please help me. Here is the code <script ...
common-pile/stackexchange_filtered
Error when importing geo data to Mongodb : Can't extract geo keys from object, malformed geometry I am trying to import some geo data (more than 40K) to mongodb(3) but I get sometime an error for some documents: "code" : 16755, "errmsg" : "insertDocument :: caused by :: 16755 Can't extract geo keys from object, malfor...
common-pile/stackexchange_filtered
Parse HTML inside the CDATA text The data inside CDATA to be parsed as Html. <?xml version="1.0" encoding="utf-8" ?> <test> <test1> <![CDATA[ &lt;B&gt; Test Data1 &lt;/B&gt; ]]> </test1> <test2> <![CDATA[ &lt;B&gt; Test Data2 &lt;/B&gt; ]]> </test2> <test3> <![CDATA[ &lt;B&gt; Test Data3 &lt;/B...
common-pile/stackexchange_filtered
Can a single <input> element return more than one value? VS2013, VB, MVC5, html These posts (multiple submits, which button is pressed) show nicely how to use multiple < input > elements in a single form. This is nice for including a similar command at the end of each line in a list. I want to have a page that lists m...
common-pile/stackexchange_filtered
Using QSocketNotifier to select on a char device I wrote a char device driver and am now writing a Qt "wrapper" which part of it is to get a signal to fire when the device becomes readable via the poll mechanism. I had tried to do: QFile file("/dev/testDriver"); if(file.open(QFile::ReadOnly)) { QSocketNotifier sn(fi...
common-pile/stackexchange_filtered
Insert data to a SQL Server database that contains apostrophes I'm making this program on Vb.net 2012 that has a connection to SQL Server 2012. One of the columns of this database table is Description, and in some cases the date may include apostrophes, for example... 'chainsaw 15'3" X 1 1/2 X .050 X 3/4' When I run t...
common-pile/stackexchange_filtered
Already has an open DataReader I have a registration form for my new user: Then, it also has a button: When the button Register is clicked, I set command to check if the email already exists. It does check the values and able to find the values in the debug process. But an error occurs saying that There is already ...
common-pile/stackexchange_filtered
Writing to Java program from Mac Terminal I have a small problem with the Mac terminal. I run a Java program from the terminal and try to read some stuff from the stdin using: BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Produsul:" + System.getProperty("line.separator"))...
common-pile/stackexchange_filtered
oauth for desktop and mobile with the same code I'm using phonegap and I want to set up google oauth for mobile and web (e.g. desktop chrome) with the same code. The end result should be an app engine cookie on the client side (whether it is the inapp browser or a desktop browser). Since I don't want my users to do the...
common-pile/stackexchange_filtered
The lights in the hotel A hotel has $n$ rooms, numbered 1, 2, 3, etc. until $n$. At the hotel reception there are $n$ buttons, one for each room, also numbered 1, 2, 3, ..., $n$. Button 1 switches the light from on to off or from off to on in all rooms whose number contains a "1", hence in rooms 1, 10, 11, 12, etc. But...
common-pile/stackexchange_filtered
Issue with Semantic ui react calendar I've defined the following component to be rendered using JSX: const TestingDate = () => { return ( <Container> <DateInput clearable clearIcon={<Icon name="remove" color="red" />} name="date" value="2 Apr 2020" onChange={a => hand...
common-pile/stackexchange_filtered
Browser crash with Flash video in Ubuntu 10.04 Firefox crashes every time I open a web page with video. This looks like a Flash problem: what can be wrong? I'm using Ubuntu 10.04. I have had three 10.04.4 machines crash since ubuntu update the first week of june. They lose bookmarks and will not play video or audio. I...
common-pile/stackexchange_filtered
How can I maintain a SQL schema upgrade that goes out to our users on a regular basis? I work on a project that uses a SQL database as a back end, and a desktop app as a front end. We do releases on a regular basis, and as part of a release, our client needs to update their SQL server. Our business requires that we are...
common-pile/stackexchange_filtered
Using pointers to change the bytes of integer variable So I am currently trying to teach myself C and am currently a little bit stuck in a exercise about pointers. So the task is to have three variables (char, char, short) which stand for the day, month and year of a certain date. I am asked to then use pointers to sav...
common-pile/stackexchange_filtered
listbox with checkbox, with select All option This is the type of listbox, I am looking for a jquery plugin, or something in Jquery or Kendo UI. I searched a lot but in vain. I need a listbox, where i bind to a datasource. The items in listbox should have checkbox, allowing user to check/uncheck. I also want an option ...
common-pile/stackexchange_filtered
Performance of Scipy lsim/lsim2 In a python script of mine, I currently use the lsim function to simulate a system model. An issue I encountered recently is that lsim spawns a lot of subprocesses on multiple cores, and together they cause heavy CPU load. That fact also shows in the profiling log, where I attached the r...
common-pile/stackexchange_filtered
Failed to install apk on device (null) I am stuck with my app project for quite a while now because of the error above in the title. I know there are many other topics about it and I have tried several solutions, but none seem to fix my problem. What I have tried so far: Increased ADB connection time out (ms) Changed ...
common-pile/stackexchange_filtered
SignalR WebSocket Closed with status code 1006 (no reason given) (only on the remote server after deployment) I'm working with a project which combines angular app on a client-side and .net core 6 web API app on the server-side. To provide real-time communication between client and server on different browsers without ...
common-pile/stackexchange_filtered
Selecting alpha and beta parameters for a beta distribution, based on a mode and a 95% credible interval I want to a select both alpha and beta values using both mode and a 95% credible interval simultaneously. I can do select alpha and beta, using either a specified 95% credible interval, or a mode in conjunction with...
common-pile/stackexchange_filtered
Where is the block which caused IPV4 client can not access IPV6 Server I read many documents which are saying if you are in IPV4 network then you can not access IPV6 network, for example when I was at home I can not access some IPV6 website, such as:ipv6test.google.com. My confusion is that what blocked they talk each ...
common-pile/stackexchange_filtered
Equal Row Height in Sibling Flexbox Items/Columns I have multiple products with a heading, a description and a call-to-action. The word count of each is not regulated. I am using flexbox to display these products so that the containers of each item will be of equal height and can clear to the next row easily without ha...
common-pile/stackexchange_filtered
Trancendental extension Galois group Let $K$ be a field and consider the extension $K(X)$ of rational functions with coefficients in $K$. It is common knowledge that $\text{Gal}(K(X)/K)$ is isomorphic to the group ${PL }_2(K)$, which is the quotient group of matrices in ${GL}_2(K)$ which identifies a matrix with its sc...
common-pile/stackexchange_filtered
Change view controller on click UIButton Swift (without storyboard) How do you change the view controller when a button is clicked. I am not using the Storyboard. The views were all created programmatically. I tried adding a target to the button and then calling the following method to push the new View Controller: f...
common-pile/stackexchange_filtered
Parsing a delimited multiline string using scala StandardTokenParser I have found a few similar questions but nothing that seems to directly address my needs here. I am creating a DSL using Scala and have much of it already defined. However, part of the language needs to handle blocks of multi-line textual documentati...
common-pile/stackexchange_filtered
Hashed Database Password [Hibernate] Due to security requirements I need to store the Database password as a md5-hash in my hibernate.cfg.xml, but as far as I know Hibernate does not support hashed passwords. I am using hibernate 5.1.0. My hibernate.cfg.xml looks like this: <?xml version='1.0' encoding='UTF-8'?> <!...
common-pile/stackexchange_filtered
Discuss how "GIS Web Service" package can be used in python to access GIS information I want brief information about how python GIS web service package is used for accessing GIS information with one example.I am new to python , but i want this for my further projects. What kind of "python GIS web service package" are...
common-pile/stackexchange_filtered
Template metaprogramming within the body of a template class I'm trying to write a partially specialised template function within the body of a template class/struct. The partial specialisation is done to perform recursive template metaprogramming. template<size_t N> struct my_class { template<size_t D> double my_func...
common-pile/stackexchange_filtered
How to highlight a certain value in a pyplot graph? I have created a simple pyplot of three Gaussians. Now, I want to draw a dotted straight line from the x-axis to the peak value of each Gaussian. Is this possible? import numpy as np import matplotlib.pyplot as plt from scipy.stats import norm import math mu1 = 5 mu...
common-pile/stackexchange_filtered
Pushing a javascript object into another javascript object I am trying to merge two javascript sets into one. I am trying to put the products javascript object into the Quotes attribute of the solution object. So the end result should be the SolutionProducts object. $scope.Products = { "id":"", "attributes":{ "te...
common-pile/stackexchange_filtered
why i am getting cannot GET error in mongo db postman while i am using query parameter I am trying to request a query through the router but I didn't get router.get('/questions/:id',(req,res) => { console.log(req.query) res.send(req.query) }) I want to get req. query but while sending a request through postma...
common-pile/stackexchange_filtered