Yesterday a question of mine, Is “shipping” today's equivalent of “matchmaking”? [duplicate] , which had been closed as a duplicate, was deleted automatically by the system. deleted by Community♦ 10 hours ago (RemoveDeadQuestions) The funny thing is I'd earlier edited the post because I w...
Actually there’s no mobile view Sign Up page, but if you started sign up process from mobile version of site there’s no option to upload the profile picture. It looks weird. Just spot the difference: full web mobile
I am a Chinese student.I am not good at English.I only know about 3500 English words and phrases. On the 8th of June ,I need to finish the English Exam. Can you help me?Thank you.
Changing the profile picture to Identicon or uploading a new picture doesn’t change the picture in corresponding block (on the right hand side of “change picture” button) during sign-up process:
I'd like to write all mathematical constants (this includes some Greek letters) in upright style – here on Stack Exchange (math mode). Is it possible to write an upright pi, for example? If so, how to do that? It bothers me pretty much, since, in any document (also math answers, questions...), e...
The images uploaded by users are not displayed in Turkey because of the imgur block. The image link use a sub domain name like https://i.stack.imgur.com. Is it possible to assign a new domain to images like abc.com so that the users which live in countries that have imgur block may access image ...
I have a question about my Stack Overflow post: problème avec la programmation sockets en java In this post, a french person had a problem about sockets in Java, and had asked his question in french. Because it was in french and because his post was not clear at all, I've asked him (in fren...
I have at least 3 reasons to consider my closed question not Too broad to be put in hold. reason 1: the question specifically related and depends on another question use case so it has background and context. reason 2: I see so many questions about how to implement a feature ,my question is si...
Locks on questions prevent edits to answers. But this defeats the purpose of the wiki lock. Can a feature be added to allow answers to be edited (and optionally made community wiki when the lock is applied) when the wiki lock placed on a question?
The questions below seems to have been asked many many times. There is no authoritative answer AFIACT and so while I know the answer enough to recognize it (I think) it's frustrating to try to find it as reference as it's buried somewhere in all these different Q&As What, if anything, should be ...
"application/vnd.android.package-archive" mime type not showing apk files in File manager. In my chatting app , I want to show only apk files in File manager to select one of them to send it to another user. I used the mime type "application/vnd.android.package-archive" in the intent. That worke...
Is there a way to change the font in the Explorer window (the panel on the left that shows files in your working directory, NOT the editor where you write code)?
I have tried a lot of different things, but I cannot get my action to redirect once my form saves. My loans_form.html: <form action="{% url loans %}" method="post"> {% csrf_token %} {% for field in form %} <div class="fieldWrapper"> {{ field.errors }} {{ ...
I am working on an application that requires a sub string lookup at the start of the string. For example if my data was: a a ab abc ab abcd ac bcd bsdwe ... and I queried for abcdefghi it would return the rows: a because [a]bcdefghi a because [a]bcdefghi ab becaus...
I want to execute this code: from gtts import gTTS tts = gTTS('hello', lang='en') tts.save('hello.mp3') In python (python 2.7.13) works fine but in python3 (python 3.5.3) is not working It has always worked in the old python. Now, on a new PC (a raspberry) I wanted to start using the python3 (...
Is there a word for pant sleeves? I know that 'sleeves' is used for sweaters, but what about pants? I don't think the phrase 'sleeve pants' is idiomatic. Is it? By pant sleeves, I obviously mean the part that covers the entire leg.
My first sci-fi book I ever read was in the early 1950's in Europe (probably 1952) and it had 10 stories about a different form of life on every planet, including the sun. All I can really remember is that the life on the sun was organized plasma streams on the sun's outer layers, and the life on...
Where can I find a proof that the emptiness problem for the intersection of two context free languages is undecidable? I searched on the internet but could not find anything helpful. Do you maybe have a book or paper I should investigate?
I am wanting to purchase an item and the seller only accepts Zelle. If I send a payment and do not get my item, is there a way to get my money back?
I am wondering whether there are any functions in Mathematica that can generate mapping graphs like the one shown below.
I've been considering paying off my mortgage with my 401k balance. Some particulars, I'm in WA state in the US, and I'll turn 60 in about a week. I have enough in my 401k with my current employer to pay off the balance of my mortgage. Maybe not quite pay it all the way off, but well within a f...
I would like to know the steps I can take to buy shares, for a common man having a bank account and PAN card.
I am looking to finance a new car purchase. The total cost of the car comes out to $18k, and I am able to put up to $10k down. Assuming that my goal is to maximize my credit score in the long run, would it be beneficial to put less down, so that the financed amount is larger? I know that higher c...
If I have two homes of equal value ($300K each) and one is paid off and other has a mortgage balance of $235K. I'd like to rent one of those out. Which one should give me the most advantages with respect to taxes and the value of money?
I am wanting to purchase an item and the seller only accepts Zelle. If I send a payment and do not get my item, is there a way to get my money back?
So I'm pretty new working with Python and Pillow. I'm trying to just load a test image and show it, but it's telling me that it can't find the directory or file. I put the image right next to the script in the same folder, so I'm not sure where I'm going wrong. I've tried putting a direct path t...
what the second line of code means from itertools import permutations as perm print ''.join(list(perm('0123456789',10))[999999]) how the join will work here?
"Every python object is a value having a certain type stored at a particular memory location". The other definition of a python object is each object has a type, an identity, and a value is somewhat vague to me. According to this definition, we would think of an object as a thing holding a value(...
Im trying to check if a matrix has vectors that are linearly independent or dependent (linear algebra) I make a first routine that successfully do the revision, but Im interested that in the linearly dependent sets, make a new check to see if the vectors are so. Lets say I have the next matrix ...
Given a text file containing a series repetitive text sections, how should I go about extracting those sections and storing them in individual text files whose name is derived from every section's id? All sections begin with <?xml and end with </svg>. All sections have an id tag that should ser...
Here is my code in editor: https://www.w3schools.com/code/tryit.asp?filename=G473BBFZVWZE Here is the same code: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <style> button#playpausebtn{ width:12px; height:14px; } input#seekslider{ width:100px; } </style> <script> var aud...
My form includes dropzone.js and is validated with the jQuery plugin formvalidation.io. Independently both work as expected however I need to configure Dropzone with autoProcessQueue: false to prevent files uploading automatically so that the form validation can run. Once the validation succe...
I have canvas and 3 points that I want to drag on touch event. Here is my code. public class Canvas extends View implements View.OnTouchListener { Paint p; Path path; PointF point1; PointF point2; PointF point3; public Canvas(Context context) { super(context); p = new Paint(Paint.ANTI_...
A while back I asked a question about application directory structure for an API-Centric application regarding the application directory structure. Organizing directory structure of an API centric web application As my application grows and my database sees more tables I am faced with a structu...
I'm tyring to display a notification controller to play and pause music, but when I tested in my phone I see this error log in LogCut of Android Studio : 2019-05-18 19:07:46.499 32154-32154/maa.app_app E/NotificationManager: notifyAsUser: tag=null, id=555, user=UserHandle{0} code: void...
i created a profile page with coordinator layout as root element and collapsing toolbar and it's inner image view as profile picture.the first view of app only shows information and everything is okay till now!even options menu works great when collapsing toolbar is fully collapsed or expanded.bu...
_S1 = [dlg_ownedbyprolog,ws_sysmenu,ws_caption], _S2 = [ws_child,ws_visible,ss_center], _S3 = [ws_child,ws_visible,ws_tabstop,ws_border,es_left,es_multiline,es_autohscroll,es_autovscroll], _S4 = [ws_child,ws_visible,ws_tabstop,bs_pushbutton], _S5 = [ws_child,ws_visible,ss_left], wdcreate( dict, `...
I have created two Route for the same component called UploadSubmission: <Route exact path='/student/upload-submission?reviewRoundId=:reviewRoundId' component={UploadSubmission} /> <Route exact path='/student/upload-submission?submissionId=:submissionId' component={UploadSubmission} /> Inside ...
I have an iOS/swift game with a leaderboard, and I'd like the scores to all reset to 0 every Monday at 12:00am. I believe I'm all set up (enabled the Blaze plan, followed the steps in the Getting Started with Cloud Functions for Firebase and also the Cloud Scheduler Quickstart, etc), but I'm a ...
I want to call method from FoldingClass Which Extends UITableViewCell action invoke a method in Class-B So, I implemented protocol to have delegation based on users button action. protocol ModelDelegate: class { func didReceiveData(_ data: String) } // MARK: - Remove Button Actions exten...
I am confused about the purpose "using" in this configuration. Unfortunately the keyword "using" is a very common word, so googling gave no usable result: a) When configuring with code, I see no analogous builder method in the samples, just the .WriteTo() methods b) It is interesting, I even co...
I want to split IFC entity Cartesian point. which has alphabets and numbers. 345=IfcCartesianPoint((10.3,7.2,0.)) Need like this IfcCartesianPoint((10.3,7.2,))
I am a Vue newbie trying to learn through a basic example which prints out a list of numbers which are properties of vue data objects. My attempt to do this using the v-for directive in a loop only results in errors. Please help me spot the error in my code or thinking. Here are the files. inde...
There are a few things about this circuit that i am having problem to understand, this is an open source BLDC motor driver circuit. This circuit have both sensor-less and sensor circuit but it is upto us what option to use, in my case i am going to use the sensor-less option because my motor does...
I am working on javascript and html. I have table data. On the click of each td value I run a javascript function which get the text value of td and put as value in input tag generated dynamically. When I click the td text why I don't get the full string in my value? I tried using inner Html an...
I have a non-linear differential system : (1) f''(t)=r(f(t)) and (2) g''(t)=s(f(t),g(t)) where s(f(t),g(t)) may be s(f(t),g(t))=f(t)*g(t) or s(f(t),g(t)) = cos(f(t))*sin(g(t)) ... and we know g and s. I want to solve this system with Python but I don't know how. The first equation can be easily ...
I am new to Kimball Dimensional Modeling. I'm wondering if someone could give me some feedback as to what I can improve in this star schema model? Can I redesign it by adding new attributes, new dimensions, new measures or the use of dimension design techniques. Any recommendation would be highly...
I have some linear models in R like y~x and I want to calculate an effect size. Now I found the following formula: r = √[t² / (t² + df)] Does anyone has any experiences with that? Does this formula fits for a linear model with only one group (not to compare two groups). Thanks.
I am currently unable to display a location layer in my embedded GoogleMap within a Flutter application using the google_maps_flutter package. I have declared the required permissions in both the AndroidManifest.xml and Info.plist files and am setting the map's myLocationEnabled property to true....
hello friends i have dataframe tab having data type as such: [('Age_class', 'string'), ('Limit', 'bigint'), ('Limit_avg', 'double'), ('Limit_min', 'int'), ('Limit_max', 'int'), ('Percent', 'double')] i have converted column "Percent" to list using fg=tab.select("Percent").collect() prin...
var totalAmount = rec.priceofdata; var amountfor_user = rec.priceofdata; var amountfor_dataseed = -totalAmount*0.30; console.log("\n\n") console.log(idOfUser); console.log(totalAmount); console.log(amountfor_user); console.log(amountfor_dataseed); // var amoun...
How do you make a drop down box in python readonly to only display the previously chosen selection? I already tried putting in a ReadOnlyFormMixin in the classes and that worked for most of the fields. class ReadOnlyFormMixin(ModelForm): def __init__(self, *args, **kwargs): super(...
Essentially what I need to do is a - b, but I don't know what either will be and if a is positive then how can I take b from a in a "absolute" way? What I mean is for example A = 10 and B = 5. Answer is obviously 5. If A was now -10, the answer is now -5. The answer leans towards 0 no matter wha...
I have been working on a new electron app with react that uses the Spotify API. I am using oAuth to authenticate with Spotify and a return an access token, this why fine in a local dev env as the app if running on the webpack dev server and can provide a callback url. However the when the electr...
I want to do the data exchange between two program by setting the variable value to a specific address.The data can assign into the address, but when I change the value in one of the program the other still not get the value Program1.cpp set the value to specific address and Program2.cpp to get...
I'm trying to make a command, in which it sends a message to a different server, however, it is not working. I've tried adding quotation marks to the id, and tried without, still doesn't work. if (message.content.toLowerCase().startsWith(prefix + `testesty`)){ client.guilds.get("577121816...
fix() => summary_text = "" if barstate.islast Win_T_Percentage = 0 Loss_T_Percentage = 0 Total_Profit_Points = 0 Total_T = Win_Trades + Loss_Trades if (Total_T != 0.0) T_Trades = floor(Total_T) Win_T_Percentage = ceil(1...
I use TensorFlow 1.12 in eager execution. I have a very expensive function which I map onto this dataset using tf.Dataset.map(). Inside this function — which I developed by simply for-looping over the dataset in eager execution — I convert the tensors to NumPy arrays using EagerTensor.numpy(). I ...
Summary: EventWaitHandle.OpenExisting() and MemoryMappedFile.OpenExisting() both failing but only on one PC out of a ~hundred. Detail: I have a program that uses an EventWaitHandle to allow a client C# object to wait for a worker object to update some data shared through MMF. This is in a progr...
How to test wheater there is a correlation between two parameters? I have n-dimensional parameters a and b in matlab? I would like to find the correlation parametr is there a simply function for it? Thank you
can someone help me design this code to make it look like compose email page similar to this img Here is the codebase <Card className={"card"}> <CardContent> <Input placeholder="Email" /> <Input placeholder="Guest name (optional)" /> <Input placeholde...
I get this warning message: PHP Notice: Only variables should be assigned by reference in /home/sophia/gitter/project/rational-office-2019/tmp/zog.php on line 16 What is in line this 'zog.php' file? $the_mainrdn = &obtaino($zogcn,'mainrdn'); So, you would think from this warning that the o...
I have tf.while_loop in which it is conditioned based on an element inside a tf.Variable. The problem is when I used tf.scatter_update, I get the following error message (NOTE: it works fine when I use tf.add): ---> 11 var = tf.scatter_update(var, [0], tf.add(var, tf.constant([1.0]))) Attribu...
I also asked this question on law.stackexchange. I figured SO might be able to provide more insight into whether it's currently possible to control individual cookie access via the browser (Perhaps via plugins?), thus that would answer that part of the legal question. In this article it says wi...
I am trying to use repetitive k-fold with cross validation for a dataset, but I receive an error that has to do with types. I tried removing the whitespace from the data values, but the error still remains recipes = pd.read_csv('epi_r.csv') keep_col = ['rating','calories','protein','fat','sodi...
I am setting up a sql server instance(500 GB Memroy). How to setup log backup frequency and other setting related to transactional log file ? After the backup takes place,where does transactional logs go? does it takes memory from the sql server instance(500 gb in my case) ?
By default, turn.js provides displays an animation where the page peels up slightly when the cursor hovers over the corner. I'd like to have this peeling effect permanently displayed, regardless of whether the mouse is hovering over the corner or not. Apologies in advance, I am not very experien...
I got some schema files. I need to revalidate when every time DOM nodes have just changed with those schema files. So I used code below from https://xerces.apache.org/xerces2-j/faq-dom.html#faq-9 . import org.w3c.dom.Document; import org.w3c.dom.DOMConfiguration; import org.w3c.dom.ls.LSParse...
I want to transfer content and columns to train table from tf1 table. Datas can be converted to wordlist. But tf1 table must transfer to 0. line of train table because it belongs there (it's analysis). train table tf1 table Independently of these, how can I change an item of 'duyuru' line? ['...
I'm trying to display name suggestions on a textbox but it's not suggesting anything. I followed a couple tutorials about this but still with the exact same code I cant make it work. I'm using Dapper so maybe I have done something wrong there. Am I missing something? This is what I have done wit...
I was making a php website with some forms that let you make a form which let's you make an account, but for some reason when I was checking the SQL I was using inside phpmyadmin... The SQL code it gave me an error that of "#1366 Incorrect integer value". Here is the SQL code I was checking: IN...
It must be that I'm missing something big here. For some reason .charAt(i) returns undefined in this piece of code. https://jsfiddle.net/5rczhsub/ let images = {}; let alphabet = 'abcdefghijklmnopqrstuvwxyz'; let imageArray = ['a', 'b', 'c', 'd']; for (let i = 0; i < imageArray...
I'm using a lot of different python based tools. They produce a lot of pprint outputs. It is would be wonderful to convert huge debug objects to something more convenient. I tried in python console, for example: >>> pprint.pprint({"abc": """'comment': 'Pillar key "test:foo" is not <class 'int'>...
First, I'm new to Java SWT form development, but I have experience with Winforms so I would expect Java/SWT to have so similar functionality. I'd like to be able to get the name of a SWT widget/control at runtime. I can see in the designer that each control has a attribute named "Variable", b...
I used camel with activemqsslconnectionfactory to handle my cxf messages. my rate write on queue is almost 30 req/s. but read on it is slow therefore my queue is not empty ever. also I used slow consumer strategy but is not diffrent ( I don't sure I set it true) and I encrease cunncurent consume...
I have a class like this: class C { protected: std::string data1; int data2; int data3; std::string data4; public: C() {}; C(C const *obj) {}; virtual ~C() {}; }; And another class that is a list of C objects like this: class CList{ private: size_t size; C...
I'm trying to create a simple window using MFC, however the program terminates immediately and an output line from Debug seems strange: d:\agent\_work\3\s\src\vctools\VC7Libs\Ship\ATLMFC\Src\MFC\appcore.cpp(783) : AppMsg - Warning: m_pMainWnd is NULL in CWinApp::Run - quitting application. Aft...
Lets say I have an "admin dashboard", "student dashboard" and "teacher dashboard". Each dashboard has it own business logic. I was thinking of structuring it like this: |- app/ |- Console/ |- Commands/ |- Events/ |- Exceptions/ |- Http/ |- Controllers/ ...
Sat May 18 22:32:29 EET 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements, SSL connection must be established by default if explicit option isn't set. For compliance with existing applicati...
Could you explain why Vue tells me, that Unknown custom element: <MyComponent> - did you register the component correctly? here: const CustomComponent = Vue.component('CustomComponent', { template: '<div>test</div>' }) const RenderComponent = Vue.component('RenderComponent', { props: { ...
I have an Angular/Ionic code which I want to build into the web app. I use href to connect different pages as is written in the Ionic docs. When I use ionic lab for testing, everything works fine, but when I build the code, links don't work anymore, leaving me with 404 error. I used this code f...
I am trying to create multiple instances of an object within a function to store and update separate arrays. However, the instances of the object are updating the same array instead of separate arrays. Here is sample code: let DoSomeWork = { work_product: [], getWorkProduct: function()...
Shouldn't the output be: Heo Word? as it will print the letter as long as they aren't 'l', but the output I get is: eo World? #include <iostream> using namespace std; int main() { char str[] = "Hello World\n"; char* p = str; while ( ...
without using z-index I couldn't get the div values while hover that element. <div id="main" style="width:150px;height:150px;position:absolute;background: none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255);"><span id="test" onmouseover="return test();">helo</span></div> <...
Hey I am using python script to create ".json" file and getting following error Traceback (most recent call last): File "ngs_rawdata_config_creator.py", line 104, in <module> per_lib = parse_per_lib(pd.read_csv(args.per_lib_input, dtype=str)) File "ngs_rawdata_config_creator.py", line 32...
When I was doing the leetcode 3sum problem, I submitted the following code: class Solution: def threeSum(self, nums: List[int]) -> List[List[int]]: if len(nums) < 3: return [] res = set() nums.sort() for firstEle in range(len(nums)-2): ...
Design and implement a method for computing the minimum wind speed W for which a small disturbance θ(0)= 10−3 has a magnification factor of 100 or more to within 0.5×10−3 km/hr. There's a lot of kind of background information here. I've got it all but I think maybe my brain is a little fried beca...
I'm fairly new to React. I'm fetching data from an API, and I can see the data when I check console log. However I can't figure out how I can use map() to create a new array which the option elements can then use to display the currency codes. Currently it populates the dropdown, but the option ...
This is how we send variable named "sample" to python from javascript. python code: function buildCharts(sample) { var url = `/samples/${sample}`; d3.json(url).then(function(data){ // send data retrived from my url to two plotting functions piechart(data); bubblechart(data); ...
Many libraries have an interface where one must first call a function to initialize the library, which returns some value (often a pointer, sometimes called a "context" or "handle") to pass to other functions, for example (in C): Library *initialize(long flags); A mkA(Library *library, long n); ...
I need this to work with any \n I decide to set in TikZ (because the diagram at this point is undetermined). I don't mind setting margin manually, but no arcs except the one from node 3 to 4 connect correctly, and I'm clearly not good at working with polar coordinates. This is a modified version...
I have two lists a = {{3,1,2},{5,1,3},{4,1,1}} b = {{4,0,3},{4,2,2},{5,0,2}} And would like to compare each element within If{a>b,1,0} expecting the result {{0,1,0},{1,0,1},{0,1,0}} but it doesn't work, how can I get this type of comparison?
I created a flask app and then moved the files into a different location and based on the error I'm getting it seems like it's looking for a python interpreter in a location that no longer exists. Here's the me setting up the flask app and getting the error: My-MBP-3:General Me$ cd AppFiles/App...
Given a point, i and j, if array[i][j] == 0, check if the surrounding points around that index are also 0. My code below is giving me a stackOverFlowException but Im only calling the method if the point is equal to 0. How can i fix this? private void removeZeros(JButton[][] btnArray, int[][] ar...
Can anyoune help me? when I want to import the mysql_test_data_timezone.sql to MySQL database on linux centos , My command is mysql -u root -p mysql < /usr/share/mysql/mysql_test_data_timezone.sql. I get error "No such a file or directory
I'm writing an online turn based game (think something like TicTacToe or Chess), as personal project to learn F# and I'd like to do it properly. As far as I understood a good approach is to have one process that handles user requests asynchronously (one client = one thread) and every time a new ...
I'm new to backend programming and Oauth. I've been following along with this tutorial and learning how to do Oauth with Passport.js. I'm using Passport.js's Github strategy. I was able to successfully retrieve my Github profile data through the API call. After progressing further into this tuto...
I am porting an app over to Android from iOS and I am new to Kotlin. I am not sure how to use a function similar to Swift's sorted(by:). I am trying to use Kotlin's sortedby() function but I am missing something. Please help Test is a model and tests is the array to sort Swift code to port: l...
I have a while loop that draws a diagonal line. I want the while loop to draw the line point-by-point. Draw a dot on the screen then delay for a set amount of time. My code example delays the start of the drawing and then draws all points with no delay. I tried to delay a while loop example in co...
So I have textures that need to be dynamically loaded from a three.js script using android webview. This code works properly WITHOUT using webview, but won't load upon using webview, even though the other three.js code works this way: var sprite5 = textureLoader.load( '/three.js/main/textures/...
sorry in advanced if this has already been answered previously. I am new to R, and I have a question in regards to comparing factors in more than 3 ordinal variables. I have tried this on Rstudio, and on Datacamp. After setting a specific order in dealing with more than 2 ordinal variables (low,...
I understand that the gradle DSL task doTask { logger.info "some text" } will actually call the method task(String,Closure) on the Project delegate object. It's more or less a short hand for task("doTaks", {logger.info("some text")}) That's all fine. But things get complicated when I try t...
What I want is when I put html code that renders an image with a link in a form field that the image displays and not the code itself. I am not sure if this is even possible. I found a couple of gems that kinda did that but only the tags and tags and stuff. Never to the level of this stuff. ...
I was wondering if someone could explain the result of the code below. console.log(1<2<3); //outputs: true console.log(3>2>1); //outputs: false Initially I thought, for 1<2<3, it could go both ways. Though process: 1. 1<2 --> true, and then true < 3 would result in undefined, due to the compar...
Objective: Create an output with a comparable SUMPRODUCT method within pandas Description: There are two data frames that I need to make use of (df and df_2_copy). I am trying to add 1-mo CDs, 3-mo CDs, 6-mo CDs after multiplying each by their respective price in df (2000,3000,5000). import pan...
I am using reportNG in my Selenium framework using Java. I am logging using Reporter.log(" Message"). This works fine when I execute the code using Firefox but it shows tags when is use in Chrome. I have also tried with and even but they are appearing as simple text in the final report. Please ...
I wanna select some text and change the attribute to BOLD for example, but if i select some text and press the button it always change the whole text. I think the problem is at the function applyStyletoSelection(), but i can't find it. class FirstViewController: UIViewController { private var...
In appDelegate i have func, which receive Boolen, when app is opening. If Boolen == True, app must open webView. //this is appDelegate file func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { let handled = Application...
I'm reading a document at work that involves a bunch of position titles, but I don't know who the people actually are, I only know their job titles. I know this information is available in the Global Address Book, but I don't know how to put in a job title (and I guess location) and get back an ...
Im trying to parse a JSON response string that I get from a XmlHttp request in asp classic. My problem is that my swedish characters ä becomes \xE4, and the same with å and ö. Im using aspJSON.asp to parse it and Im setting the response.LCID = 1053 for swedish and including the aspJSON.asp and ...
I wrote the following code Multiplication table num = as.integer(readline(prompt = "Enter the number:")) for(i in 1:10) { print(paste(num, 'x', i, '=', num*i)) } I got the following answer > #Multiplication table > num = as.integer(readline(prompt = "Enter the number:")) Enter the ...
I am stuck at a very unusual limitation of python and xbee. I have a network of raspberryPi with a single Xbee connected to each raspberryPi. My code has to do multiple time transmissions and receptions through Xbee S2. The receiver code given in python xbee library is a waiting kind of code whic...
I have a problem with my code I used this code in app.js: const mongoose = require('mongoose'); const dotenv = require('dotenv'); dotenv.config() mongoose.connect(process.env.MONGO_URL) .then(() => console.log("DB connected!")); mongoose.connection.on('error',function(err){ console.log("The...
I would like to get data from api, but api is presented in pages. So I have to iterate through all of them and save wanted data in variable. I was trying to attach new page in loop and add data to my response, but only I got was error: "TypeError: must be str, not Response". I wanted to do it in...
I have created a windows form application in C# (.NET 4.6.2). I am using the below piece of code to connect to Dynamics 365 online: ClientCredentials clientCredentials = new ClientCredentials(); clientCredentials.UserName.UserName = "XXXXX@XXX.onmicrosoft.com"; clientCredentials.UserName.Passwor...
I have LinkedList data structure and I have updated to doubly-linked -list with adding 'prev' key to return or add the previous Node but the problem isn't showing the result actual previous node This is my code for LinkedList and I have updated to doubly LinkedList by adding 'prev' key for each...
I have a piece of code that I am trying to understand, and even with the existing answers, I really couldn't understand the purpose of the following code, Can someone please help me in understanding the same? I have already looked a various relevant questions ( __get__() ) here and I couldnt fin...
I want to change QAction's icon in Toolbar when it is clicked. I have seen the same question in C++, but it's hard to me to understand other languages. (On Qt, how to change the icon of an action in the toolbar at runtime?) import sys from PyQt5.QtWidgets import * from PyQt5.QtGui import QIcon ...
How to write a query in MySQL to solve the problem of 8 queens? The query should form output in the form: A B C D E F G H --- --- --- --- --- --- --- --- a7 b4 c2 d8 e6 f1 g3 h5
It is necessary to extract data from two text fields and add information to a database from which you then need to put everything in a different field. The problem is that I do not know how to put data into a database from the phone.
Kindly assist. I'm trying to access an object variable which was declared outside JQuery DataTable() function. I have provided settings for Ajax object among which a callback function complete to execute when the request is successfully. Since the async: false is deprecated, I have decided to ac...
Can anyone do a simple example of including qtvirtualkeyboard module into a cmake file? I want to access the classes but I cannot figure out how to include it.
I'm attempted to use the ReactContext API where a leaf component (Inner) is attempting to send a message to the root component (App). In the below example, Val and the function used to update Val are exposed using context. The issue here is componentDidUpdate() is not being called on App even whe...
I have a list of strings and I want to count how many of times each of these phrases appears in wikipedia. I've already downloaded the wikipedia dump (English version - enwiki- 20190320 ). I have 58 .bz files. What I Don't know is how to process those files. I've found plenty of resources but n...
I want to use python to do some data analysis. In R, the structure was simple, the lm function was used for regression, and for time series analysis there's forecast for ARMA model and fGarch for GARCh model, and the dataframe was built in. In python, it's a little complicated, there's Pandas fo...
For some reason i can't seem to create a new instance of the form. Has never happened to me before. Iv'e tried to create the instance inside the code, but when doing it more than one times (with different names) then it doesn't build at all. Form1 f22 = new Form1(); private void Form1_Siz...
I am pretty new in python (less than a day!). I am trying to build a Restful API using Flask. I have the class class TaskModel(db.Model): which has a self-referencing relation to the task. Actually, a task can have many predecessors (dependsOn field). But when I add the relation below I got th...
I am getting Cannot read property 'state' of undefined on button click. Here is my work constructor(props){ super() this.state = { email:"", guestName:"", staffName:"", }; this.onSend = this.onSend.bind() } onSend(){ let val = this.state console.log(val) ...
I have some Hex values with a checksum that is verified by a micro-controller, I would like to be able to sign my own strings to send to it 10 02 01 44 00 1D 00 28 00 31 3A 35 39 20 46 4C 49 4E 44 45 52 53 20 53 54 5C 52 20 34 0A 53 74 6F 70 73 20 41 6C 6C 20 53 74 61 74 69 6F 6E 73 0D D7 F8 10 ...
I have a contenteditable span (display set to inline-block, so it doesn't act like a span, per se). I want the span to act like a password field on a linux terminal; you're typing, but you can't actually see it. I've tried visibility: hidden and display: none, but both break the formatting and t...
My dataframe has a column with some values, these values can apper in all rows, but is not required. I want to split this values in different rows, putting 1 if the value apper in that column I am using python 3 and the df is: data = {'Amenities':[{'TV', 'Wifi'}, {'TV',"Cable TV",'Internet','Wi...
I am try change the font, but not working. Are returning "null" being that i set the value in the XML and also in the code. Help me! Kotlin Code val typeFace = Typeface.createFromAsset(tvThanks.context.assets, "dinpro_medium.ttf") tvThanks.setTypeface(typeFace) XML <TextView ...
I am currently working in a inverse problem, scripted in python, in which observed GPS data is used to infer the displacement below the earth (e.g and earthquake). The displacement beneath the earth can be discretized in a grid, and the equation that describes this problems can be written as: ...
Hello friend i am new in android i want to know how to save toggle button state in custom ArrayAdopter i create custom listview with help of array adopter now i want how save its state in adopter here is my code pleae explain what logic used to achieve this goal i am on beginner level don't how...
I'm trying to use a while in the forEach to limit the result that I see in the view this code works but I want to limit it to show me 6 post not all feed.items.forEach(function(post) { var post = { _id: { post_u...
I am trying to figure out a pattern where a single class can instantiate dynamic module classes and attach them to itself. For example, I have Module 1 class object1 { construct(params) { this.params = params } } module.exports = object1 Module 2 class object2 { construct(params)...
I'm building a scrapper with Puppeteer to return a list of company information. In my scrapper I have an array with keywords that I must input each keyword into a search field one at a time and then return that list of information before moving on to the next keyword. I want to avoid using page...
I wrote the whole code and imported mail, activation, com.sun.mail, and smtp jars, but it still giving me an error in starttls this is the error : javax.mail.MessagingException: STARTTLS is required but host does not support STARTTLS, boolean sessionDebug=false; Properties props=S...
this is the second part of a bigger problem where the first part was solved here React native project deleted on xcode, can't run "run-ios react-native". I have deleted my project on Xcode may it be .xcworkspace or .xcodeproje. Because of that, I had to delete IOS and android folders while dow...
I need to implement a way to get the list with the names of all the columns for sorting in the jquery datatables plugin. Currently, this only captures the name of the first column that should be sorted. var sortingColumnName = Request.Form.GetValues("columns[" + Request.Form.GetValues("order[0][...
I want to pass a PNG format image file to native class to perform alpha-blending using OpenCV. For that I need all the 4 channels of the PNG. The image file that I want to pass is in my assets folder. I would like to know what is the best way to pass it to the native class? Thank you. I'm using ...
I'm trying to run specaccum but it only runs partial, yet wrong. My data frame resembles the example dataset "BCI". The only difference is, my data frame is numeric and the example dataset is integer type. Inspecting both data frames exposes a lot of difference. I'm wondering how to get things ...
I'm trying to extract bootstrap 4 css into separate vendor.css file using webpack. I've added the bootstrap into my vendor entry. I've tried with bulma, and its css is extracted, but bootstrap's css not. Only the javascript code for bootstrap is included into my vendor.js. Thanks in advance. Her...
I need help understanding this piece of code. there are no loops available, so how can the template, which I know is processed at compilation time, fetch all the arguments, and why did it call the same variable "c" which was incremented even though it is only in the specialized "Z" version ? #in...
I know this question is asked a lot but I didn't found solution for me and I have no idea why i got this error. The typeError is in my Order (child) component. And I use react and react-router. This is my child component: class Order extends Component{ constructor(props){ super(pro...
The title pretty much explains it all. I was getting a (foolish, IMHO) piece of advice regarding the way I'd drafted a question regarding powershell, so I thought I'd give the new "guided/assisted" question mode a try. I found it to be pretty useless...which is fine, except I cannot see an obvio...
I am building an app using PHP and MySQL. I am fairly new to MySQL and don't have much more than a year of experience with PHP. I am using a $_SESSION variable for users when they are logged in. To input data into the table associated with the user_id I am databinding to $_SESSION['user_data']...
I have a backend application with a lot of code and I would like to be able to update the structure to spring boot 2.x but wanted to update it little by little since the project is too big. The big BUT is that the project uses a proprietary library that is used everywhere, and this library inter...
I did some correlations (pearson´s r) and now I want to calculate Bonferroni correction in R. How can I do this? Thank you!
I am new to Jupyter notebook, I have installed a Anaconda and trying to launch Jupyter notebook from anaconda prompt and cmd shell, it only shows port already in use and trying another port, however it is not launching chrome/IE localhost page. snippet from cmd: C:\Users\HP>jupyter notebook [I ...
How to dynamically change a Column widget to a Row Widget if the screen width of the device is above a certain treshold? The use case would be when user use the app on a tablet or landscape mode, the layout should differs in order to optimise the usage of the available width. In CSS flexbox, i...
Writing a collection in a CSV file I want to add a property value as prefix to the column names. public MyClass { public List<MyCustom> {get;set;} } public Custom { public string Id {get; set;} public string Property2 {get;set;} public st...
I am trying to call a function with a string but as I do so the function just make use of the name of the argument for that function. My function is defined as sortering(attribut) and when i call it with for example: sortering('age') it uses 'attribut' and not 'age'. Here is the code, I am fair...
boolean[] arr = new boolean[n]; What is the time complexity of above initialization? Is it O(1) ir O(n)? I think it is O(1) because the program simply asks JVM for a block of memory of size n. How does JVM(hotspot) actually allocate memory in this case? I have looked up following links so far...
I have an excel spreadsheet with 7 columns labeled "Email", "Courses 1", "Course 1 Section", "Courses 2"... Currently, each email user has courses that are displayed by a column. Is there a way where I can these data, such that there will be a total of 3 columns in the end? How my current spread...
I'm coding my first JavaScript video player. It has a main window and three side windows that are to be populated with random videos. When a person clicks on a side video it will move to the main window and a randomly selected video will replace its spot in the side window. I have got it workin...
retrofit and trying to develop a simple weather app by reducing your dependencies using dagger2. I get the following error. You can view the project with github link. I am a beginner, I have little time left for my school project and delivery, I cannot proceed in the project, please help me :( ...
I want to use the default marker icon of Mapbox for my symbols! I can use it when the app is online. However when the app is offline and I'm using this icon I cant see the marker/symbol. I tried with MAKI icons and the markers appear both online and offline. I know that I need to build my own spr...
I have n instances of my micro-service running as kubernetes pods but as there's some scheduling logic in the application code, I would like only one of these pods to execute the code. In Spring applications, a common approach is to activate scheduled profile -Dspring.profiles.active=scheduled f...
I am having a page in react-native which is using stack navigator. When i click on the TextInput it gains focus and loses it automatically after a few seconds. This hides the keyboard automatically when interrupts my text entering. When i put the page in top of stack navigator it doesn't loses f...
I need to implement a way to get the list with the names of all the columns for sorting in the jquery datatables plugin. Currently, this only captures the name of the first column that should be sorted. var sortingColumnName = Request.Form.GetValues("columns[" + Request.Form.GetValues("order[0][...
I am using pandas to parse a string into values of columns based on length of characters. One column of the dataframe needs to be again split and converted into a nested JSON value. I am inserting values in a Cassandra table using python and pandas, after parsing the text file based on the lengt...
I am working on a powershell script that needs some input from a mySQL database. For the life of me I can't tell what I've done wrong here. Every other time I run this script, I get an error Exception calling "Open" with "0" argument(s): "Out of sync with server"[0]. So, the first run, it will ...
-----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEA27jlWD91sq3rpLsg4WODT6sbf0u6K+2aIfyQb/fGlAZ5kSKM rYobP1jqUSJY76gPs4xJyeBp0/SBoHtdxoRUvkU+5F4xu+SQmtQN/PgSrryunC+C ZX3/TgXm61JS/dBwyT8BX1PMAaaDqg9Nn+2x1335Ug4LZP95V4KXz/J21PhHxQct asotRI1b/56euVuZvrP0BjEUgtXm+Oz/GBdroloNEO2UKxiLSbbJA/T4mQODHugP DczaGGuZX49BkWkU6B6WcxLJEHUoBRKyruc9mkNeoQGyHiP2nGAdCj6uVM2YLgij soeDy/bd/mUr5Wggp2HqBjtbdcQIITFH3jZ6CQIDAQABAoIBAARkV8FB03p024b5 bpjSwmcvRmdu/hOutiwDvmdejoua7YcnJ6S4Y/8KKfThOOHhfB7cqQTuBW+FLaol jSRQtNjwzWcHMvtMgE93+aea1dTEVMEuee7Ja/cFSy5dAOet6PM83SwooqVNzMfz
OH NO! MY PRIVATE KEY! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (no it was not a real private key :P)
-----BEGIN RSA PRIVATE KEY----- MIIWIgIBAAKCBOMAzIo59g9WEotP1YWQoEflvXP+JuW4fZ44x1UKpUT800tmbYHx Sd/QcOONExk6tFgL0AsRW0PhGUdI4haPovLX0xTJXzA9fCvDA9X7ApcrEvNJ4Oyb m5dpWrqj6298IpkfREKk3KrOyAb3jG1sCGU4hmcIbM8qFHZH3lW8/5ZrSW0clUQQ SsIrfQvE5EBNrtpRiW4MYWD2azx+o3AmScw8Qi5ePmCDNiAcG5WsTxO7504BjVv+ OQxNn783I1AGmJA3NUhnDAHovQ+8stpaGmiluZ09iJWL+06wQAdwRJlNuqR6wtU6 LqFiaqNsHQhhmONMbG5cTzAKyH+ut2SysqcWPcn1X5VQ0XDgFVvqDo7D+ED2x8/O o+WfnIlUYUHChKoRzEcL5jrt5j/GI7WcTu3Tg6QP4OBPQIbMVwuy9GeY/V1zQuX9 Rnqh6fZAFhAeutDzTr/myUSJGhkPZ8ELs9jSONReMdNB+C0nBPUm50mhPtBMxzQ0
« first day (351 days earlier) ← previous day next day → last day (1828 days later) »