query_id
stringlengths
4
64
query_authorID
stringlengths
6
40
query_text
stringlengths
66
72.1k
candidate_id
stringlengths
5
64
candidate_authorID
stringlengths
6
40
candidate_text
stringlengths
9
101k
f75166e33124296aeeb0211944ee6a7123f890b7c490c3529949b8a49ff73110
['4fade2b670e54e2e9f3527185e9f0656']
I have : \begin{align} \langle\lvert\mathcal{M}_{fi}\rvert^2\rangle&=\dfrac{16e^4}{4q^4}&&\left[p_2^\mu p_1^\nu-g^{\mu\nu}(p_1\cdot p_2)+p_2^\nu p_1^\mu +m^2g^{\mu\nu}\right]\times\left[p_\ {3\mu} p_{4\nu}-g_{\mu\nu}(p_3\cdot p_4)+p_{4\nu} p_{4\mu} +M^2g_{\mu\nu}\right]\\ &=\dfrac{4e^4}{q^4}&&\left[(p_2\cdot p_3)(p_1\c...
178d763c1e00fd27c34de1bc17cfc06a7df1338363a77294233431459f076542
['4fade2b670e54e2e9f3527185e9f0656']
Thanks <PERSON>, +1 for the -r option and info about userid numbering. I wonder what happens to the IDs when you get more than 900 system accounts? I'm still super new to linux, I'm from windows where I'm used to corporate Active Directory listings having hundreds or thousands of domain service accounts, so naming conv...
e6cbc2492203b313e7f7ed197b82aa001b6d54a548de36f8ba3b72dd7a170907
['4fbe84f90ada460794658d2a57369995']
Solved for my own. Sorry for not well-commented script, hope help to somebody Creates users according to backed up user directory (process exceptions like Default User, Administrator etc), create home directories for them, migrate backed up user directories. Const WAIT_ON_RETURN = True Const HIDE_WINDOW = 0 Const USER_...
db8c1bc6ac3e7ecc7669aac00b54d48a94509e3d6030c00448029d07cba614b1
['4fbe84f90ada460794658d2a57369995']
I am setting up a logistic regression using the following (simplified) form: Logit(Y) = Constant + Ax + Bz The real-life scenario is that I am trying to understand the probability of a sales prospect converting from a phone call and x = time_from_prospect_upload_to_call and z = channel of prospect (dummy). I include x ...
039450291b2701204839ecc6354c9be2fd0fe3c70244c16f226a5d1dfed7b988
['4fc1e4b0b4ea44d5ae697db2b11f0cdc']
I'm new to tensorflow and trying to classify a game objects / monsters / characters , so I tried to classify this kind of robot (attached pictures) and created like 30 pictures I trained it to 0.9% loss ( about 300 steps) but for some reason It classifies it wrong . also I followed this tutorial (sentdex) pythonprogram...
e27e142d2323618b7bc9fd0f0c1d3944c7b3a100b43a192f59449ccf5a4d15f3
['4fc1e4b0b4ea44d5ae697db2b11f0cdc']
I just found out about Openbr and started to install required libraries like OpenCV and QT. I followed these instructions for windows(win10 64bit): http://openbiometrics.org/docs/install/#windows but unfortionatly got stuck when executing the following command: cmake -G "NMake Makefiles" -DBUILD_PERF_TESTS=OFF -DBUILD_...
0528da5504461bc614b3d34bf51fe73623e92da9a4b338babab7d670b5beeaa0
['4ffc050d6fe64ee189bea9e24ef37cfc']
I've been trying this, but nothing is being rendered in the DOM. What is the trick here? recurse(i, arr) { if (!i) { i = 0; arr = []; } if (i >= 4) { return arr; } arr.push(<div key={i}>hello world</div>); this.recurse(i + 1, arr); } render() { let styles = { hei...
0b9fc2188063975af6b8a07a6a5f58f566b98eee9a11ffe2ac54e5e21e86db0c
['4ffc050d6fe64ee189bea9e24ef37cfc']
I'm having trouble accessing resolved promise object properties. Using fetch, I have a .then doing this: .then((response) => console.log(response.json())) I'm trying to access the user property of the response object by doing this: .then((response) => console.log(response.json().user)) and it's returning undefined What...
47ef9d5626747733e27463c4c7e55446da6b110a47e416af86127a1c29659465
['500920f6b8174279a8b00024ddb20d90']
When you installed Drupal you should have had to setup a main account: That is the login you should be using, if you don't know that password go to /user and click Forgot Password and you can retrieve your login if you remember username or email you used. Since you got (Pending Admin Approval) it should be that email...
5f996dfc92bc7ec9c7766787d4922610ffe6f024021aa87e91308bafe5292325
['500920f6b8174279a8b00024ddb20d90']
Estoy haciendo un formulario en el cual ya puede guardar perfectamente en la base de datos mysqli, y ya obtengo los datos en un html. Ahora lo que quiero es borrar mediante un botón. La cosa es que borra, pero siempre el último registro, y no el cual yo selecciono de la lista independientemente. Si selecciono el primer...
42136266ed0c419d9e84ade7dd27a6ba12596cdfaab9bfc7b79ee24729f2adfb
['501588b02b934ab9aa26a42de00f7be7']
First we need to make sure that you installed XAMPP in proper way. Follow this video about how to prepare PHP environment using XAMPP. If you followed the steps correctly make sure that both MySQL and Apache servers are running. Then in XAMPP control panel click on MYSQL Admin. It will open phpMyAdmin and it will show ...
1452e26f857104b66da265af8ffb444256fbb267e909170dc39363d1970c1327
['501588b02b934ab9aa26a42de00f7be7']
The standard settings activity from google android studio is now showing the first header "General". So i modified the code but i get java.lang.NullPointerException at first occurrence of getPreferenceScreen().addPreference(fakeHeader); private void setupSimplePreferencesScreen() { if (!isSimplePreferences(this)) {...
287e7237952aedf190f9033f46562b7cfa4d1717aed42f91671344ad121e24d3
['5016af82b78644448fdd5eee102b5689']
<PERSON> here again with a little issue I'm having that I hope you guys can help me with. I'm reviewing for midterms and going over an old file I found on here and I wanted to get it working. I can't find it on here anymore but I still have the source code so I'll make another question on it. So here was his assignment...
d2674cdaa8e4d5fe7d95a77c2bbce95d335d6da9db8b0ef4dfbe7fe7a7862550
['5016af82b78644448fdd5eee102b5689']
My assignment is a little more in depth than the title but in the title is my main question. Here is the assignment: Write a perl script that will grep for all occurrences of the regular expression in all regular files in the file/directory list as well as all regular files under the directories in the file/directory l...
80fa64a1ea08fca2b60d528a22288a22ac99a27f6343074f0b18cd1d9549ed09
['5016d285c0f641f2adcd76b71e9352d9']
I guess you don't need to be very confident, you can just test the two approaches using cross validation and see which gives better results :-). Another approach which I still think is much better than ordered lasso is to choose a penalty form, e.g. have a different prefactor on each lasso penalty term that is expone...
2a1409a2f3198b2f2386f9e3c5c6f083d0b6681fc97602e62c761a60a4093e35
['5016d285c0f641f2adcd76b71e9352d9']
How would I set up a NN to classify a cryptographic key for asymmetric cryptography, or generally a VERY large number/bit string? I could split this bit string into bytes/16bit/32bit/64bit numbers to use as NN inputs, but that does not seem like a good idea, since I am not looking for relationships and patterns between...
0305246e3102bd4e2926ba86747c0113f934cc71e44db520040a8263674dc345
['502b6c3a96bc447bbd5d57e7f333da79']
If I try to use order_by on a text field I get: "no field configured with name title". Works fine on fields of type "string". So I end up using a workaround like: searchable do text :title string :title_sortable do title end end Is there any reason why we cannot order_by on text fields?
44de9a03c261c2eb20c5456a95a1ec71ef63071a923eab584c45602bc97c55a1
['502b6c3a96bc447bbd5d57e7f333da79']
When I select an item via keyboard arrows, the selection in the input field changes as expected. However if I then move the mouse out of the item, the input field reverts to whatever the user had typed, losing the selection previously made via the keyboard. <PERSON> example The documentation claims that what I'm trying...
bc24e0334c0eca1da7bd74b1e16412bfeca2ad4507ac503918ec245a455f0c9d
['502fc893ea494c6f86ce538fa6c17ff2']
I am doing a project which need real time changes to be reflected on apollo server from hasura using graphql subscription. Apollo server have PubSub which only get published on trigerring a mutation or query which is on apollo. But I want that from hasura. how can i achieve that?
1502d581b47490d0c885c8a886c1e1bf5aef2d6299da94752117903879d900a9
['502fc893ea494c6f86ce538fa6c17ff2']
It was asked in an interview that what are nested objects ? give a real life example also. I end up saying that if we create an object of class B in class A and when the object of class A will be created then Class A object will already be having Class B object and that's called nested object.
856f12304108beb48ac482e6b0496ec62a120e0396021fe9eaaf54039d518fe7
['50311a70ecc0441ca2e335849a1435b3']
У вас декоратор @client.message_handler(content_types = ['text'])не оборачивает функцию usename_info(message), а находится непонятно где Должно быть так: @client.message_handler(content_types = ['text']) def usename_info(message): if message.text == "МОЙ ID": client.send_message(message.chat.id, f'...
bddff5374eb0cadb82f149f8c36e1775deac0bae06712801cc0ba0ac56f13075
['50311a70ecc0441ca2e335849a1435b3']
Проверяйте теперь примерно так: def check(date: str, time: str): mycursor.execute("SELECT * FROM users WHERE data=date AND time=time") return myresult = mycursor.fetchone() @run_async @log_func(log) def on_time_12(update: Update, context: CallbackContext): global text_time user_data = context.user_dat...
1231cf2e7729366b8d28c2f70687a5c887e6f57c117944dd255b9af4fa5a54b8
['5033568e55f44add8f5ed22b0a51811b']
To solve this issue i changed the data base password and removed the special characters, MySqli is an improved version on MySql driver so it is not recommended to change this value on the configuration, also changing to MyIsam removes the integrity of the relations and transactions, so this is also a point of consideri...
a10d369c49f7c21cd2ce38ec95380874c1f4c8b1a054ee003d3ca7c914eb8b66
['5033568e55f44add8f5ed22b0a51811b']
I think this is a better approach as matches only valid directory, file names and extension. and also groups the path, filename and file extension. And also works with empty paths only filename. ^([\w\/]*?)([\w\.]*)\.(\w)$ Test cases the/p0090Aath/fav.min.icon.png the/p0090Aath/fav.min.icon.html the/p009_0Aath/fav.m45...
254e4ce9f8b7a3aac3507f0d77217c9aa23261d6e935cce1ae1a7de53983e5e5
['5042d8292842401a838ee75d55e3b611']
I am trying to create a new object of type Invoice. I pass in the necessary parameters in the correct order. However, it is telling me that I have included invalid arguments. I might be overlooking something very simple here, but maybe someone can point it out. I am working on homework, however the Invoice.cs file was...
8ef32b5e365a21ed4a352ed5e5b2d1a5c361ec3b570458ee540a4deba7e0af28
['5042d8292842401a838ee75d55e3b611']
The problem I am facing seems simple to me, but I cannot push past this mental block. To explain my situation a little better: I am reading in values from an mdf database (Northwind) and passing the ContactName column into a class method that splits the value into first and last names. It then passes these back and I ...
1eb03c77440c954038c4cb98d5d22fe02c84158e2f17cff8824137a1e754adec
['5044973a2cfb466e9d2196c9fe3804d3']
Let $\sum_j\chi_j(x)^2=1$ be a partition of unity with respect to the variable $x\in \mathbb{R}^{2d}$. Please help me to simplify as possible $$\sum_j\langle \chi_ju,-\Delta(\chi_ju)\rangle-\langle u,-\Delta u\rangle$$ for all $u\in\mathcal{C}_0^{\infty}(\mathbb{R}^{2d})$ Thanks in advance
65c3f26e3951e908a9b62ae8f70e91bfcac38b15bffb2abf3209bcc5f25726e1
['5044973a2cfb466e9d2196c9fe3804d3']
this is what i wrote but i don't know if it is true and if so how to continu: $$\sum_j\langle \chi_ju,-\Delta(\chi_ju)\rangle-\langle u,-\Delta u\rangle=\sum_j\langle \nabla(\chi_ju),\nabla(\chi_ju)\rangle-\langle u,-\Delta u\rangle=\sum_j\langle \nabla(\chi_j)u+\nabla(u)\chi_j, \nabla(\chi_j)u+\nabla(u)\chi_j\rangle-\...
a5aee8ce48c9efe3ae054c135cb58eeb29753f47d6b6abebbfd74f586f2fb839
['5055a6a80c7444c7a5e0ad0acb9c9eb1']
Your matrix is in augmented form, i.e. $[A|b]$. The matrix $A$ is in upper triangle form and so the determinant is given by the product of its diagonal elements $\det(A) = a(a-3)(a-5)$ The system has exactly one solution if $\det(A) \ne 0$. To check, when it has no or infinitely many solution, look back at the augment...
16c37a52ce6d3fbf825ee5abaf6d0ff71e41714206050bb0029d80e0888ebf94
['5055a6a80c7444c7a5e0ad0acb9c9eb1']
Hi folks can any one please let me know , How to develop Iphone Applications on Windows Platform(Xp, Vista).if so i have Windows System with XP OS How to install the software 'what is the software name and please let me know the Blogs and Free Downloads for Trail Versions Thank in advance <PERSON>
888d838c04b366ca4e15ea1c58a669974ba6de724e330a85fa74c266d935c291
['5057656e2bf14b4da6742941643810f4']
When I Change Font.Color of a TNewStaticText to any color, the TNewStaticText stays black. But When I Change Font.Color of a TLabel everything works fine. But when I use TLabel I get wierd results on windows xp. Why does TNewStaticText always display the black color? What stable text in inno setup can I use that won't ...
95ab8e78f53421007e5d816a5bb931fd14c8131dd9bd489ed8dc170adf0f1016
['5057656e2bf14b4da6742941643810f4']
I have a php script that scrapes the web and inserts the scraped data into a database. The php script uses Phantomjs as a tool to scrape web pages. The php script scrapes web pages on a specific domain. for example: www.example.com/firstFolder www.example.com/secondFolder and so on My problem is that phantomjs doesn't ...
85a429ff399f34757bd81c47dad49228771dcf342ed3f05fc977bbcf8ecce7d5
['50586128bbb749ff895f1357ab9a21c1']
View navHeader=navigationView.getHeaderView(0);[![enter image description here][1]][1] navMenu=navigationView.getMenu(); List item //work for login and logout menu if (MyPreferences.getBoolean(BaseActivity.this,ConstantValues.KEY_IS_LOGIN)){ navMenu.getItem(0).setVisible(false); navMenu.getItem(9).setVisible(...
4861508e869fb3d86d340554cd94f7b371327568a248b2fe3b810cf8d8f7e468
['50586128bbb749ff895f1357ab9a21c1']
<item android:id="@+id/search" android:icon="@drawable/ic_search" android:title="Search" app:actionViewClass="androidx.appcompat.widget.SearchView" app:showAsAction="always"/> public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.se...
06a2d4f57f34ee950eeab30f7383e1d49d1fff7ecac91415a81c16a02b029450
['50719373d2974b9d842f2a43f8d84f71']
I am trying to count the number of unique values in a table column. I have set the range as the relevant column in the table. In defining the number of unique values to count I am getting the following error: Required_Rows = WorksheetFunction.SumProduct(1 / WorksheetFunction.CountIf(Range(Rng), Range(Rng)))
a49fdb8ec13bd27c9a1a8565977fd02e03a41203427c73abe820e266c2cfdd29
['50719373d2974b9d842f2a43f8d84f71']
I am trying to edit a table in a slide, and I am using this code. Can someone please tell me why it isn't working? If instead of s.Shapes.Table I have s.Shapes.Range for example it works fine. Sub format() Dim s As Slide For Each s In ActivePresentation.Slides With s.Shapes.Table .TextFrame.TextRange.Font.Name = "Arial...
d19131e26f38c7c72f8a820c5ec7f61d6f2af71739d5f12e89006b11e51fb3c6
['50780f436a6744f48cd8acfe5ca5c1b7']
You need to set clipsToBounds to NO for the shadow, but the downside is that if your text is longer than the visible area of the view and you need to scroll it, then it will no longer be clipped to the view's visible boundaries. I'm looking for a clean way around this.
d88261575d22d9076f249dfb4985b946ace9826dac31d6b29814e9440bc6fb74
['50780f436a6744f48cd8acfe5ca5c1b7']
Another possible reason is a bug that was apparently still lurking in iOS 7.0.x, but fixed in 7.1, described here : https://devforums.apple.com/message/858259#858259 (Apple dev forums link - dev membership required) It can happen if you've added the UISearchBar to the TableView's tableHeaderView (as it is shown in Appl...
e2ac8f727318660176b4ab789fc825e7a9748b7fbdf713deb6496419b6f5d504
['5091f34343d047b6b9a5a0d04c140053']
If you want to get data values from rows with the same index value as you have in spreadsheet 1, you can use the VLOOKUP function to accomplish. VLOOKUP(A1,'C:\PathToWorkBook\[Workbookname.xlsx]SheetName!$A$1:$F$200,2,FALSE) This would return the value in column B of from SheetName in Workbookname.xlsx where the value...
b89c53bde25893d8591d18a36e711c9a7358506102a859fe79d74562cd64ded1
['5091f34343d047b6b9a5a0d04c140053']
I have a VB.NET application that is processing a large volume of data from an Oracle database and performing calculations on the data retrieved. The data is being retrieved from 3 related tables. The main table has a single record for each item that needs to be calculated (slightly less than 1 million rows at this t...
ba99b66109ffb645ccc9674be179df79c4ed4091a5eb19bb28dbe3613580e01c
['509a87254e8f4a1a9679c4033ccd4865']
I think you will want to use a data-* attribute within the anchor. Then access it using Javascript or JQuery. <a href="#modalDialog" data-itemid="1" class="edit-name-link" >Edit Name</a> Then in JQuery $(".edit-name-link").click( function() { var itemid = $(this).attr("data-itemid"); // this will get the clicked it...
1724d2899b067497fccdbd6bebbbe30a9f5b8be37ef96b222927bf4c3df5acb2
['509a87254e8f4a1a9679c4033ccd4865']
It looks like the ADC communicates over I2C. The RPi B+ can use SMBUS in python (like in the link you have in your question) to communicate over I2C. I imagine that 2 of the lines on this ADC are V+ and GND, the other two will correspond with the SCL (clock line for I2C) and the SDA (data line for I2C) which on the B+ ...
e238e5f9b503136004d3dc1a5489279f7297a082228b7fa892ab1ac21797b6fe
['509c207efe3b47f2bb0e281b6dc36c1b']
I have these movies and when a movie is clicked a floating div appears. In this floating div i need to put a link to a video / trailer inside the div when it opens. Any link i put inside that div does not work when clicked. Chrome even shows the link when hovering over the link, but clicking it does nothing. Also any l...
d651b9d7f6954eeaaed942c8954c9af8609434673e2d58d3323700710818f6a9
['509c207efe3b47f2bb0e281b6dc36c1b']
My CSS code for table is overriding the bootstrap datepicker.It doesn't look anything like a calendar. How can i fix this? I tried using css ":not" which unfortunately did not work. I do not know what else to try. I also tried to change them to classes and try which did not work as well. Is there anyway to ignore the ...
3f6c0899134de89ea5f41a8b5091c46a0cf8ee49bfbf735afc01699a6838dcf3
['50a000bd2fcb4d909ee836733d640902']
You can set the Music directory (and all its files and sub-directories) to have 775 permissions, so that the owner of the files, and anyone in the same group can do anything they want to the files. Then the next trick is to make a new group with whatever name you want (e.g. share) and chgrp the Music directory (and all...
3e71e85aa7c8fd3eae02ffb3a536c0af788e74bbd27da034d4b703a870fb0b51
['50a000bd2fcb4d909ee836733d640902']
You don't say what the problem is. I assume that the command fails. There are several things to note: resize only works if the new size is bigger than the existing size. Note that size is the size of the virtual disk and not the size of the image file. By default it's specified in MB. you have to use absolute paths w...
90f16c3f9cdc6964fde79bae485d7b36efe73ce87ef9f0abb2882675608ba921
['50c4706fd3a943ac9eef2822ce629efb']
When retrieve a record from database , it retrieve object, but How to know is a Empty Object which no data retrieved ... object(Illuminate\Database\Eloquent\Collection)#243 (1) { ["items":protected]=> array(0) { } } this is empty object retrieved from database .. How to check if this Empty or Not ... via PHP methods ...
7e7d3b1c3510e0a884cc454174dc6b2624ccead174c08b79a3d4bd862b355cdd
['50c4706fd3a943ac9eef2822ce629efb']
Simply , Hard link : is just add new name to a file, that's mean , a file can have many name in the same time, all name are equal to each other, no one preferred, Hard link is not mean to copy the all contents of file and make new file is not that, it just create an alternative name to be known.. Symbolic link (symlin...
08b6992eb45c1d32de11f453803602b9b181cc15372cf8c85497487705522d1d
['50c68b16fffd480b8faa27802abe589e']
Have tried to follow this tutorial Laravel show last reply left on post, was working but now returns on some threads with this error here Trying to get property 'author' of non-object (View: /var/www/html/web/resources/views/forums/board.blade.php) This is my code used: <h1>{{$board->name}}</h1> @auth <a role="b...
e5e6837b5597c95bb00db6f0b293018beec70e21c4d3d2b1db64231a8f543745
['50c68b16fffd480b8faa27802abe589e']
I am trying to get my application to sign in with Google using a function and without using Google's pre built button, but using GIDSignIn.sharedInstance().signIn(). However, it is wanting to set the view first but I can't as I am using SwiftUI without Storyboards. I have defined a gLog() function in a class called aut...
d52d8b25bc7964aee9bc71ef04e12849e8330e3df7891b1df073b6a5d8ddfc12
['50cc11cdff1e42ccb7a7d3b7bd428260']
So I messed up several ways. I did not understand the declarative way to establish inheritance. Nothing in my example actually was an "object". Second, order appears to matter. The object classes seem to need to appear before their children. Third, the injector class needs to include both sides of the classes to b...
2f226980b35e32c5fe40959f8c3b3e0302bc7908cff248e865f90bde5a878244
['50cc11cdff1e42ccb7a7d3b7bd428260']
I am trying to learn the concept of "dependency injection" in Python. First, if anyone has a good reference, please point me at it. As a project I took the use case of changing logic and formatting based on options passed to the linux command "mtr" The dependency client class is MtrRun. The initial dependency injecti...
407104fbfe36cde5274c6f7a1774320599cc305e93a20c0981daa1681d41ed8c
['50d1270c14b04fba84587a0020f444d6']
Consegui com a seguinte solução Code behind protected void Unnamed1_Click(object sender, EventArgs e) { var ss = hdnResultValue.Value; //PopularGrid(); } javascript function setHiddenField() { debugger; var DropdownList = document.getElem...
ceace4d9953d65f4ba630256e8b6d46a9c6e567499c669eec5b66714b691bf22
['50d1270c14b04fba84587a0020f444d6']
I'm writing a basic little forums web app (for fun and to sharpen the ole' saw), and I'm having a bit of trouble with AppSettings. My plan is to have these settings in their own file (Settings.config), to which I will grant modify permissions to the web process user account, and store all editable settings in this file...
799836ef2fce5b3502153a993ffa0995e40247d6fc0ba5d7e19a9af205bce370
['50dada3edde64303aace00ac011c67ff']
What if you do something like this: public class CustomerCollection: Collection<Customer> { public CustomerCollection: : base(new List<Customer>()) {} public static IList<Customer> FindCustomers() { //return them from DAL } } Using List in your constructor will let you use useful's methods in List in yo...
8274e27626ff883d6ab797126d551495fd5d7d3d4084d82d61fb4c5897e7876e
['50dada3edde64303aace00ac011c67ff']
When I copy a large file (100+mb) to a remote server using scp it slows down from 2.7 mb/s to 100 kb/s and downward and then stalls. The problem is that I can't seem to isolate the problem. I've tried 2 different remote servers, using 2 local machines (1 osx, 1 windows/cygwin), using 2 different networks/isps and 2 dif...
20be8587d5f6da4bc28eea00bf2bd10bce025e9728f4c190c9143bdca40714e4
['50e25edbd50943b897563ae94e4355e1']
To reiterate <PERSON>'s point, the best home desktop I've ever had I bought in 2011 and while there is a price discrepancy with newer comparisons I'm making, it performs on par with anything I've had since (for all practical applications I need - not gaming or heavy graphical work). Biggest changes are almost exclusive...
9f772fd509ee1998aaddfe323e8909f835ef6ab18dcf55472a65dc5c9faf6735
['50e25edbd50943b897563ae94e4355e1']
@mrswadge I had this happen again recently. In my case I think the cause was creating the Chrome window while in a Remote Desktop session from home, then logging into the workstation when I got back to work. Because Remote Desktop uses a different system font than my system default, closing that Chrome window messed wi...
b4e8e99f5217145c553d4c6852d7213296845b23020429779c496ca4500321f6
['50e91ec3201349c9aa17be32984cb4b0']
when i try to mount, it says `rishi@rishi:~$ sudo mount -t vfat /dev/sdb1 /media/usb mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so`
52d1696b09c240603012a693a4509d6bef740ecca7f434cfbdef771ebc0b9497
['50e91ec3201349c9aa17be32984cb4b0']
I have ubuntu 16.04 in my laptop. I don't like the look and feel of gnome-terminal. See this screenshot i want change the title bar of tab name and add tab button and view tabs button at the right end. All of them ruining the look and feel of a terminal. I want them to be like in ubuntu 14.04. Ubuntu 14 gnome-termina...
8618815fc64560741c6d2314cefff1b45230b588339aef3cbe2fb62306324193
['50ea472b78214e5894d0dcf2b0dfcc50']
To make sure that the current object's members are used. Cases where thread safety is a concern, some applications may change the wrong objects member values, for that reason this should be applied to the member so that the correct object member value is used. If your object is not concerned with thread safety then th...
5e59bbe5b982f6cb2398bca5272ae569f8459f8f502c8771c3fb93b0421adfd2
['50ea472b78214e5894d0dcf2b0dfcc50']
<PERSON>, I ended up answering my own question, but descriptions can in some cases be enough to imply a formula. For instance if I tell you that all members of a population has the same probability of reproducing per unit time, and that the probability of an individual reproducing is the same for each unit of time tha...
f805830c5f75e64bac1e42dfa98625e9fb01c066fd9386561207b768459d8cac
['50ea4cf3331b47afb6079f81b844f3bd']
How do you show and hide divs in Angular (4 thru 9) upon a user selecting an option(s) in a dropdown select? My code below is only showing one/the same div no matter the option I select. public Terminated = true; public Release = true; selectedFilter:string; public filterTypes = [ {value:'empty', display:''...
a918cdf6e4aee2b0eb2fff52e78e140ce9412c5b213bb942e4751ee1379625ba
['50ea4cf3331b47afb6079f81b844f3bd']
I have numerous buttons on a page. Each is related to its own separate div on the page. When button 1 is clicked div 1 is shown. When button 2 is clicked div 2 is shown and so on. What's the best way to write the following jQuery below, so I don't have to keep writing a new function for every new button and new div ...
437df63ed370eea7da603a129235404ac4959e43e9530487d85112fbc04e5bbf
['50f9eedf67e2403e91b7c964b68b075c']
The log line still shows up because that line is logged by ActiveRecord, not Delayed Job. See the github bug report for more info on that. Here's a workaround: in config/initializers/delayed_job_silencer.rb: if Rails.env.development? module Delayed module Backend module ActiveRecord class Job ...
11e0281f4fcd9fdb66bfda1242aadc1956a83eda7308965fb4972ee050cd4582
['50f9eedf67e2403e91b7c964b68b075c']
You need to use different connections to the database in your threads. First, disconnect the main thread, then reconnect in each thread, and finally reconnect in the main, like so: ActiveRecord<IP_ADDRESS>Base.connection.disconnect! (0..1).each do |index| threads << Thread.new do ActiveRecord<IP_ADDRESS>Base.esta...
f1253406174fa4a47b82cebb079d8cb4c565d1bd7a030cb135b5f485be97a8e1
['510f0b8082cf4af996f5b445da30c6d7']
Here is an example to count the occurrence of distinct values in an array. var a = ["toto","tata","toto","foo","foo","bar","foo","toto","tata","toto"]; var countPerValue = {}; a.map(function(i) { if (!countPerValue[i]) countPerValue[i] = 0; // init counter to 0 for this value countPerValue[i]++; }); console.log(c...
58fa8a68fbb84653b71fa413397d2c04bbc26e332ce4d2c60227fa7b381bc421
['510f0b8082cf4af996f5b445da30c6d7']
To address multiple screen sizes, you can use css media queries as they are designed for that purpose. Media queries let you adapt your site or app depending on the presence or value of various device characteristics and parameters. They are a key component of responsive design. For example, a media query can shri...
818482f9f405edc4d5d0e92e7d564b43e671d433b919d43293c5f50cab687b7f
['511a77e8827e43dcbea497bde4883c8f']
If some of these aren't working out for you, I was looking for a similar thing for vivaldi, and managed to do it combining some things here and others in another post xdotool windowactivate $(xdotool search --class vivaldi | tail -1) key ctrl+r windowactivate $(xdotool getactivewindow) you can add other key - keyvalue ...
ea3164376cad679dc685937480f774a5af9e0b159cf9708eb33c6fe25170d249
['511a77e8827e43dcbea497bde4883c8f']
I'm trying to use Apache StringUtils stripAccents() method to remove accents from characters, and isntead of doing that it outputs question marks in place of accented letters. Example: <PERSON> is converted to ?dam instead of <PERSON>. I'm using Scala version 2.12.3 Has anybody had this issue?
a31de74063f90a0548f29c964126ef2d392932fada6917be8309cf7537b0045a
['511c680e7efc4b1a9af3833d76c4e9fd']
Estou começando os estudos com SVG e tentando compreender um exemplo não consigo executá-lo corretamente, foram demonstradas as partes HTML/CSS/JS e eu fiz a conexão dessas partes, porém não funcionou... Se alguém puder me falar o que estou fazendo errado seria de muita ajuda: <html> <head> <title>Exemplo Teste<...
d9ad88b6514fe4233c138560e31f4d5464bc6cb294b38e2a043e70106cf0b897
['511c680e7efc4b1a9af3833d76c4e9fd']
I marked an Artboard to be exported (as PNG, also tried PDF) to be exported to InVision and then syncing the Sketch file via the Craft plugin. I was expecting the Artboard to show up in the assets of the InVision prototype. But they are not. Any help on this? Or are full Artboards only exportable manually? Is there a...
0ee94ab840853a3e1ee7dd2bbc3bd7e899b254f78dae411ebae200d609e3df4c
['5121632eaf644f62b9584c989cde3da4']
Directly from the firebase docs here is reads: Change the engines value from 8 to 10 in the package.json file that was created in your functions/ directory during initialization. (this is locally on your computer) ... the entry should look like this: "engines": {"node": "10"} Redeploy using your Firebase CLI (v8....
c8ba3d15ecd0dec2bb466c6d3c2bd90d0d26f5deacfe00532683846fc9837a11
['5121632eaf644f62b9584c989cde3da4']
To what extent do Chrome Extensions mirror Chrome Apps? I understand that Chrome Apps are being deprecated, so wondering if the docs are inconsistent. Extensions and Apps are similar in many ways, however for your situation the main hurdle to overcome is the two handle Google Authentication differently. Extensions hav...
88e24a8c80b358ae9256fba6953e80c11b85a16c942f612ffd6a1aace3978d20
['51230be1b70a4f95af997bb66b00accc']
As Castile (at the time Spain) I had the same problem. I had maxed out all of my buildings in my Europe territories. I got around the problem by constantly building a better navy. My force limit for the navy was 600 and I barely hit 300. I simply had the poor Iberian Peninsula building ships 7 days a week, 24 hours a d...
fe982969c9fdf757afa76723e712f7c7b8f43607797eb51d6920b1a3cf9a53cf
['51230be1b70a4f95af997bb66b00accc']
A point particle is technically something with zero size, i.e. an object with zero dimensions. Where as normal objects occupy some length, area or volume depending on their dimensionality, a point particle is something that is said to exist at a specific point. So when we treat the object as a point particle we prete...
fe2018f82781a66a9e886c6fb2b71b4d1da47972500225af156ab2d991921735
['51363db4f7b64bfbbd6c5b4a6f5f525c']
I trying to make a simple app in node and I have this as model: var mongoose = require("mongoose"); var jobs = new mongoose.Schema({ jobNumber: Number, jobField: String, jobTitle: String, jobCity: String, jobArea: String, jobAddress: String, jobPhone: String, jobInsurance: String, ...
41bd5168da52630c3109a33bd40dbd72d3a4284a233d146153c6cccbc48f969d
['51363db4f7b64bfbbd6c5b4a6f5f525c']
I get user query information when use req.user at first time but in second inside function I got cannot read property user of null. router.post("/orders", function (req, res) { console.log(req.user);//here I can see user info! orders.count({ customerInfo: req.user//here I can get user info!...
09aa4886c20ce57d60edff4fcbd471c8337dfe8f97ead920cd52ebf9f64c0b6a
['5141a4fe8e984ea9959ad3ecfe39d161']
This older (6 yrs) thread on Perlmonks still seems like a good response to this question, in my opinion. http://www.perlmonks.org/?node_id=782340 Basically, if you have a fax server that has some more or less straightforward method of communicating with it programmatically (like HylaFax) then you can use Perl to intera...
c5d0a62fcae0b436a09c0fdf9f50934179b7b65fbbfd4013cc9c422f55a52107
['5141a4fe8e984ea9959ad3ecfe39d161']
I have a JBoss application which has Oracle DB based password authentication using org.jboss.security.auth.spi.DatabaseServerLoginModule. This application is running on the older community edition jboss-6.1.0.Final. I would like to throttle failed login attempts. I figure that these may come in a couple of ways: A us...
505fd18a754c724d41a6570768ba10154d78341e6022d91f470ec7990306a932
['514979f23b854e3b902ff1380ec4ea1b']
Your problem is not actually related to arduino in any way. This tutorial is utilizing onboard USB->UART transceiver IC. So in theory you could even remove Atmel chip from the board. Its more like using module like this FT232 converter. Anyways sorry if I confused you but you can research the subject. But anyways to th...
21e49ff253dd662dc3f322b4ca12423a13c3130e20e6745ef7ccf660641a9ce0
['514979f23b854e3b902ff1380ec4ea1b']
Here is my two cents to help you but please take all in this solution with grain of salt because this solution might contain some stupid stuff... Maybe you can pick parts or at least learn something how not to do from this one. Example is for 0-10 for easier testing... change them how you like by changing MAXVALUE and...
8e21584b29040bf4f0c868ca1ca1b3db365f98c6ec90b248364c6a8df1de2312
['514a4ca25ea94aa2a53e4fd12e3e0c2b']
OK so I'm writing a tally counter app and I'm trying to get a button to add to a text view. Right now I have a variable named count set equal to 0. What I want to do is make it so that whenever I press a button count is updated to count + 1, and then the new count is displayed in my text view. This is the code I have f...
4cf18779b8c4d7e60a76997274fe438e1a8f8784b0318b1ee3295b89d18cf20f
['514a4ca25ea94aa2a53e4fd12e3e0c2b']
I have a database that stores the count of a tally and a name associated with that tally, I've gotten the list view to display the tally count but I can't figure out how to display the name as a sub item. Here is my code so far. public class SavedScreen extends ListActivity { TallyDB db = new TallyDB(this); @Override ...
e86a5459b6a61b837edd2ba3b07475f2a529dd3cf96baad5ce38d249ba2f0d07
['5160a4db2e914a8c8e5d481c04fb0c94']
Ok, I was able to add a case to handle this functionality. Going off the un-minified current version (2.7.8) around line 390 you should see a conditional like so: if( cMin.id() == target.id() ){ var rPath = reconstructPath( source.id(), target.id(), cameFrom, [] ); rPath.reverse(); return { found: true,...
15b37384f70d0871d5e3c7f6758c8420fcd05e7da9c1ee909dd65a8788d02545
['5160a4db2e914a8c8e5d481c04fb0c94']
It appears that compound nodes don't obey layouts if they have connections between other parents, but children do not have connections. Best way to show is to modify their DAGRE example: http://jsbin.com/gist/e52c2fbc0b09edd6ec46?html,output by replacing their data with this: elements: { nodes: [ {"data":{"id":"SimpleT...
d8989447b4ab02c0c7da3e9a71ec4d4936d9b0f6840ecda5c3a7428e0f7e04a8
['516d4b283ea64676b65b128233bc9c60']
Estoy intentando que al enviar un formulario me envie los datos al backend para así poder crear una nueva estancia en la base de datos. El caso es que no me da ningún error, y me muestra el alert de que se ha hecho correctamente, pero no se crea en la base da datos, no se si es que no estoy tratando los datos bien en ...
a2b12c298e05bdcc92a4ec3e29d911fba79790fbac66c210101971e8829e0948
['516d4b283ea64676b65b128233bc9c60']
@A.Cedano Es porque en la web hay bastantes URLS que redirijen a paginas webs de universiades del mundo y el objetivo es facilitar al administrador de la web aquellas URLs que ya no existen porque se han modificado, entonces la idea es testear estas URLS y mostrar por pantalla aquellas que ya no funciona para que sepa ...
0d05699d1066d1575ccc830b443b59916688398392bb5e05531c75d4424ef496
['517d2927e6814a148723d72546f76f4e']
'Boolean given' suggests the return value from your fopen is the value false, so your attempt to open /dev/ttyACM0 for reading failed. You should check to see if your handle is valid after the fopen before trying to use it $handle = fopen ('/dev/ttyACM0', "r"); // ouverture du flux if ($handle) { while (fread($hand...
4fad7b93d8e42b8ea2f1e42b5705f387d8e5c0a98a1d1e212be3bd500d9dce7d
['517d2927e6814a148723d72546f76f4e']
It's the right way, although in your case, given the application is one of the passed parameters, you could just call app.IdleTimerDisabled = true; I see you're calling base.FinishedLaunching(app, options); at the end of your function - I don't use xamarin but it occurs to me that maybe this call is setting it back t...
c29b3b59a8411122889bc2f296a910a884639c1068242ea877bab591708d6783
['518244f5b54d45aab1c11fd18915c338']
I was curious to know how a SimpleXMLElement object was formed in PHP from an XML document, but I think there might be something in this process that is unknown to me. When we loop through an object in PHP, the public properties are iterated over. So if the first property is an array, then we should need another loop i...
c6ab65695a4d89a1d1af0bc347a508c434ad5df1a65e5941f2c309133bb92fe1
['518244f5b54d45aab1c11fd18915c338']
Alright, no port 80, no Skype blame! My problem was indeed quite simple(&silly), I had an extra backslash (\) (on Windows) after the path I'd specified for the DocumentRoot directive, so I made a change like this and the problem is gone like a duck soup. My index.php was in the path "D:\websites\dummy" and my httpd.co...
18abd5c946ad2363aad554c8346639c5375a440ee6448546352c2f2995f29989
['5187cad311874d2cb3ca3cff9a24f86d']
I have an aurora MySQL table with about 4.5 billion records. I am trying to migrate it to another environment. I am trying to dump it using MySQL dump functionality and then restore it from the dump file. But it seems to dump the data only partially. about 420k records. Any reason why this is happening. I searched the...
08408cca9d70df20512dfff16d328956dd66d3fb0634c27958c294cc45b029fe
['5187cad311874d2cb3ca3cff9a24f86d']
I am trying to export data from a table to excel file. I am using the select ... INTO ... file method to do so. I am getting the error Error Code: 1290 The MySQL server is running with the --secure-file-priv option so it cannot execute this statement The output of below query is NULL. SHOW VARIABLES LIKE "secure_file...
ef97018c0b0782c190bbf7db66e82069ed5e103e1b8a118aaa4f7092464a42d5
['5189d6c6194c473892bd5e63b145aad5']
Something like the code below? I assumed the desk number are on column A sheet1 starting at row 2. You will need to adjust the end rows for both sheet though. Sub MoveRowBasedOnCellValue() Dim s1 As Sheet1 Set s1 = Sheet1 Dim s2 As Sheet2 Set s2 = Sheet2 Dim s1StartRow As Integer Dim s1EndRow As Integer Dim s2StartRow ...
c2bf2a1ce1cf351d1f9b509de4ae2f487a4a95f168c76032894eaf0c2d03ae46
['5189d6c6194c473892bd5e63b145aad5']
I think this is the code you need. Just replace the names in it and this is inside the userform. Private Sub OptionButton1_Click() countOptions End Sub Private Sub OptionButton2_Click() countOptions End Sub Private Sub OptionButton3_Click() countOptions End Sub Private Sub OptionButton4_Click() countOptions End S...
426e49bca8a17368950bd41ca60ca88456c655dec0e0623dee550ab80423bb24
['51c077f8e99e45bb8e5d859dd8870e5a']
Verify input'$var' to empty() function empty($var) Returns FALSE if var exists and has a non-empty, non-zero value. Otherwise returns TRUE. The following things are considered to be empty: "" (an empty string) 0 (0 as an integer) 0.0 (0 as a float) "0" (0 as a string) NULL FALSE array() (an empty array) $...
12e5b2b808e56167ed4748417472ca7a2d5e2491828fb20fc6965b4bd4d431ce
['51c077f8e99e45bb8e5d859dd8870e5a']
I need to change background color of single cell in table using java script. During document i need style of all cell should be same ( so used style sheet to add this. ) , but on button click i need to change color of first cell. following is the sample code <html lang="en"> <head> <script type="text/javascr...
deadc5628dcd4285dba1910ee637a74c3b4de8a85412b39f65e9f092ded673c8
['51c20306634e4400b812c6de60d6514b']
Yes it does get freed. You can check this by using: function a() { $var = "Hello World"; $content = ""; for ($i = 0; $i < 10000; $i++) { $content .= $var; } print '<br>$content size:'.strlen($content); print '<br>memory in function:'.memory_get_usage(); return null; } print '<br>mem...
e8f93391a9cdf2841f3e1fe16d01ef31c29d3dcbf272276a54bf59f832c56783
['51c20306634e4400b812c6de60d6514b']
Porbably not, Vulkan API is an Graphics Library much like OpenGL. Where in Linux Ubuntu OpenGL is used for animation effects of the desktop in Unity and could be replaced with Vulkan for better performance. But I don't think Windows will change it as they have their own DirectX Graphics Library and would be weird if th...
d10bcc66a0522327b767ef303ed86b199ab5ce0ae77b30149194093454091d57
['51c45f27b01a4bb88f75fab5677d59af']
I have timerange strings like the following example: "10:00 AM - 8:00 PM" I know we're always going to be dealing with EST. I'm looking for a simple way of handling parsing this so that I can check if "now" is within the time range. My initial thought is I need to do a string split on the "-", trim the strings, and the...
bed1edcbccd790fd34585e7f5dd5d74a377083397447715b44d9251a6eea991d
['51c45f27b01a4bb88f75fab5677d59af']
So I'm working on a project where I take in an image from either gallery or camera and get a series of statistics from the image (brightness, contrast, sharpness, etc). Currently I have this working from gallery. I can open gallery, pull an image, and if a face is detected it will be cropped in a 2nd imageview. The sta...
d2b1e5ef07ec7bca883053d9fa40c97132eef9bb46b67122da7fd3948edbb89a
['51c6e02a9adf425495abcbe094379b8c']
The best way (as per my knowledge) to inflate a row is as follows- View v[i] = inflater.inflate(R.layout.row, null); linear.addView(v[i]); This v returns the inflated view in row.xml. hence we can access Button as photoButton[i]=(Button) v[i].findViewById(R.id.button1inInflatedRow); Where I was wrong--- I was ...
bd38843031045b90642646a140e03337a41bb6c71edbf91f44a48d484854ad58
['51c6e02a9adf425495abcbe094379b8c']
I am using camera intent to take photo. But I am getting to big image on Imageview. My problem is-- 1.I want full sized image (Which I am getting using putExtra(), ) 2.But due to this My imageview size is increasing. 3. Main problem is , Image captured is 90 degree roteted.. My code is as follow. Intent cameraInte...
67bcff7db4b6b92cb6966da37bacfeda5bbcd19a0f28cce3bcfeea2041282efe
['51f12b1266ff4505af080ed319c8273c']
Basically I need to render an object into a react component. It looks something like this: var obj = { prop1: "prop1", prop2: "prop2", prop3: "prop3", } I just want to print out both the property name and the value, and to do so I am using map, which currently looks something like this: render(){ return( <...
6e74b64ca13c5a01af46ea1f720046e1e4bff03432d047fa760d3f1132d28366
['51f12b1266ff4505af080ed319c8273c']
I want to find some entries in my DB through the createdAt column, but just using the date. I am using postgres and the createdAt is a timestamptz. Here is an example of what an entry in it looks like: 2019-02-27 20:17:07.05+00 This is what the setting of my query looks like: const dateString = momentDate.format('YYYY...
59e16680bdd101853bae59eac12374b32644e5b15089d7aaefe747b301dfb42c
['52037e999a594aef89a3728eb21ec45f']
I am using a 2008 MegaRAID SAS 8888ELP. I was unable to boot into webbios, although I was able to install storcli onto my arch linux setup. The raid works well although I am new to using raid and storcli. Currently, when I run storcli /c0 show this is the result: Controller = 0 Status = Success Description = None Prod...
81b9b2efd41eb130eeb416d5e46007629f2df6de167da9255f89f86335afb15b
['52037e999a594aef89a3728eb21ec45f']
Well I've just finished installing it on my Mac - you have to watch out for the Python Platform under Tools and File. The default is Jython, but you want to change it to point to your python version in the Frameworks file of your Library. Does that make sense?
7d08c9d596855826fbc500347beb0b8fa23151bd0f814d3a32163e53f598c5ef
['521638758f644ecf9db714302c401109']
public bool IsUser(string username) { bool user = false; using (var client = new datingEntities()) { var result = from x in client.Person select x; foreach (var item in result) { if (item.Username == username) ...
542c6924e2bcfb2cad549bc8a291845d9cd7062e808e10aab61a1b23447179b1
['521638758f644ecf9db714302c401109']
I'm using asp and have some textboxes where I want to set the value from code behind. The code below is wrapped inside an asp:DetailsView. The Textbox I want to get and set value of is InsertItemTemplate with ID=strPositionsName <asp:TemplateField HeaderText="Name" SortExpression="strPositionName"> <InsertItemTem...
541cd3de3b8382be40b59b6a33833ff4bafe513b08e95a0ec249e4939f6b6d54
['5226532280ce47518ba2562cb655f6da']
I have created a method that returns a collection of strings, each containing a number. public static IEnumerable<string> SeparateNumbers(string inputText) { var matches = Regex.Matches(inputText, "[0-9]{12}"); foreach (Match match in matches) { yield return inputText.Substring(match.Index, match.L...
3830e9aa41ea34723e556ff31be38d8d10de29d9ae5d0287a813224d6d05aa29
['5226532280ce47518ba2562cb655f6da']
I have made a download program in C#. It is a queue downloader. You can see how it works here: Click Express Downloader Is there any faster method to download? Here is the method i use, it must support resume support. private void Download(object startPoint) { try { try { ...
a4f95fd991fe9efbc8c7283091aa69830225ab0de6cceeda2062291d9de2734d
['522895175f01465284fde4e172906997']
In the example of CX_Freeze, this is happening most likely because your build is missing one of the packages it requires. The reason it is opening the console window is because you didn't set the base to "Win32GUI". Once you do this, you'll get a dialog box which shows the error message and you can include that package...
d2ddef2c82e1244a71f1bf19465786faa42e8a418d727616540d4284176c0f14
['522895175f01465284fde4e172906997']
I received a C++ project from a 3rd party and found how to get the CPU and Board Temp using C++. I then found this which I used to to help me mimic the C++ functions in python with ctypes, a lot of this code is copied directly from that repository. '\\.\AdvLmDev' is specific to the PC I was using, and should be replace...
eed09a027d1e5b4f907e658a23f801a8a0c017a5b4a443bdd31c81fa81ff1c63
['522fa2d535ab44299769b1f5a222f81b']
var isButtonOn = UserDefaults.standard.bool(forKey: "isButtonOn") override func viewDidLoad() { super.viewDidLoad() activateButton(bool: isButtonOn) customiseUI() } func activateButton(bool: Bool) { isButtonOn = bool UserDefaults.standard.set(isButtonOn, forKey: "isButtonOn") UserDefaults.standard....
641af8bbba57e32d4e08fd14555db419a098811707160c67c65a14e9b9c17bca
['522fa2d535ab44299769b1f5a222f81b']
I am trying to install cocoa-pods got this error in terminal. I have searched a lot and tried many solution which were available on stackoverflow but nothing work for me. Please help how can i get out of this problem.. $ sudo gem install cocoapods ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why: ...
5ca7bc918753a9ae254e9b95d66068039725f9cbefee1b51f26e18cb462ca582
['523d53fdde9c4a948d004255355bb33c']
I have an application which is distributed without an installer. Just a .zip is given to the users which contains the .app structure of the application. The application is signed with a valid Developer ID and the .zip has been notarized successfully. When I run the security check with the the command spctl -a -vv -t ex...
8ea32db9bc17a5f7f35fab8936673e76c56a1b7bd270c4eb009bab6fc5eba020
['523d53fdde9c4a948d004255355bb33c']
To generate a valid pairwise master key for a WPA2 network a router uses the PBKDF2-HMAC-SHA1 algorithm. I understand that the sha1 function is performed 4096 times to derive the PMK, however I have two questions about the process. Excuse the pseudo code. 1) How is the input to the first instance of the SHA1 function ...
6d144acfe0f62500a8bc6338ab2653597539f669f8e3204635bd6968f940326e
['523e4b02fab94aa7a2c19fc15940d81c']
I'm creating a user profile that updates into a database using JQuery Post and I've just noticed that if I use the word can't in the textarea it uploads to the database as can/'t and reads that back on the profile. My request in the php looks like this: $name = mysqli_real_escape_string($con, $_REQUEST["name"]); $locat...
27d51663b471984eb0ff882232399c787763904706ab9ffdd4233272fac05a9e
['523e4b02fab94aa7a2c19fc15940d81c']
I've been messing about with this code for a few hours now and can't work out why it's not working. It's a profile update php page that is passed through JQuery and all seems to be fine except for it actually updating into the table. Here is the code I'm using: session_start(); include("db-connect.php");//Contains $c...
a4fcf49a6f3b1a3434edfdaf54a7a240bd29dab0f9096085258fbf151aabb357
['524929922f3f44ca834f636884ecac36']
Use list.reverse() to reverse your list so that you are starting from the end: list= [1,2,3,4,5,6,7,8,9] n=(3) list.reverse() def search(list,n): for i in reversed(range(len(list))): print(list) if list[i] == n: return True return False search(list,n)
5a94dc360b19a2f7e54ec6ff6a6c0298371d4e5e2a0a1955d2dff35fff38a4f9
['524929922f3f44ca834f636884ecac36']
Here is one of my previous codes, you can change all the variable names to whatever you see fit. s = input('Enter in a word or string.') ret = "" i = True # capitalize for char in s: if i: ret += char.upper() else: ret += char.lower() if char != ' ': i = not i print(ret) I hope it ...
201175f33f11aa1c13fa8f4831cdfc50d5a3174d38196857ee4a54d163a79add
['5249d605cfc74fd38a7ac49d7897b9a6']
Just after water began to fill the tank, lower switch will then be **OFF (or OPENED)**. At that time, the upper switch's status is **ON (or CLOSED)** (since the water inside the tank began drained). Just immediately after the pump filling water up to the tank, the lower switch will be **OFF (OPENED)** but upper switch ...
3fece7db88f2840c78b08ec19ff055ef538c76f5898ce2cc707a107a828f05d9
['5249d605cfc74fd38a7ac49d7897b9a6']
I am not sure yours is more general or not, but for sure, it is incorrect. By pointing in the node, I can see the Vo. Unfortunately the gain is not shown. But however, as the output voltage on the Ro (=27k) is correctly shown, the gain must be correct.
dc79cefc1bdc9b1a10ce67f0c2bdee66f8a8269a24ad34057f6b56d181592760
['52659bea2e9c4ea4947b0e1f6194b03b']
Usually when i want to check if more input stored in a multiple strings are not empty i follow this simple approach: std<IP_ADDRESS>string fieldA = ""; std<IP_ADDRESS>string fieldB = ""; std<IP_ADDRESS>string fieldC = "Hello"; Now, i can check for all: if ( fieldA.empty() || fieldB.empty() || fieldC.empty() ) std<IP...
0e5684e043301f1c21a62d072a7941ae74b3866c9470b9102ef503c210d4ae34
['52659bea2e9c4ea4947b0e1f6194b03b']
I have this sample code: #include <iostream> #include <mongo/util/time_support.h> using namespace std; int main() { cout << mongo<IP_ADDRESS>curTimeMillis64() << endl; return 0; } and compile with: g++ -I/tmp/include prova.cpp -o prova -L/tmp/lib -lmongoclient the result is: /tmp/ccH0vDvx.o: In function `ma...
3d550f4e15284e2412a44cc0c185e48ad0cde32c8fb312da8d0ded778d73e463
['526611f5703f4f55891b34007be304e2']
#!/usr/bin/env python # -*- coding: utf-8 -*- def fill_list(l, promt): while True: x = input(promt) if not x: break l.append(x) if __name__ == '__main__': first_names = list() last_names = list() fill_list(first_names, "Input first name: ") print('first_names:...
77097f54a2ad5962306061b3a984f491cc87e908e8b6bb207ab6077576a71890
['526611f5703f4f55891b34007be304e2']
foo = '/input/directory/' faa = ['/input/directory/file1.txt', '/input/directory/file2.txt'] import os.path bar = [os.path.splitext(path.replace(foo, ''))[0] for path in faa] print(bar) Or without foo: faa = ['/input/directory/file1.txt', '/input/directory/file2.txt'] from os.path import basename, splitext b...
29e47a050d927d661f1d243626080b4c25df4db407738f81e80a84c9ab01913f
['527036f8460747298f6cafcc6c4eda4d']
I have an array of CKRecords that I'm trying to save to the default Container's public database for the first time. I created a CKModifyRecordsOperation and attempted to add the operation to the public database. It was unsuccessful but I'm not getting any error messages. So I tried adding each method individually to th...
aaf7e0ad9febf2a3a433b133fb0045465768180defee891265610a586a44a3a0
['527036f8460747298f6cafcc6c4eda4d']
According to Apple's Developer Docs the Library global allows one to import compiled scripts so they can be used as a library in one's current script. This works just fine if you were to do something like the below code with myLibName.scpt located at ~/Library/Script Libraries: myLib = Library('myLibName'); myLib.myLib...
5624b66c5f49874ecd393e89d33f8471968b5fd53d9397ed974ed675f0228f46
['5297c8dbcde14293b055176bc4e23d6f']
i have a small javascript form <div id="calculator-text"><h2>Tape calculator - based on cable size 1 mm to 28 mm, with 15% overlap</h2></div> <form name="form1" method="post" action=""> <div id="calcformlabel"><label for="val2">Enter your cable size</label> (in mm)</div> <div id="calcformtext1"><input type="text" nam...
f1014e55325263bec9393b1ca43f8f9adc0855e3b454898224b2c5b68b016b54
['5297c8dbcde14293b055176bc4e23d6f']
i have the following statement in my php file <div id="product-info-left-column"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image'] ); ?></div> this gets the image from a database, now the image size is actually 300px x 600px, but i want it to be good for mobiles, so i need to figure out how to make ...
69038612ff6ba10435a92cfa25ba389c46de10e3d05b442e80a370147b6b8dad
['529977f88fd541709dfff1b578f8a130']
I have a leaveList containing 4 leave names.This leaveList is passed as map value.I want to get leave details from CompanyLeave Table by passing leaveList in hql query.Let be considered,my Company Leave Table contains 6 leave details.leaveList has 3 leave names.I want to get details of these 3 leaves from CompanyLeave ...
130429ed9e6aed719cda59e657f70c729b14a0f28efffe9bb82aaddfa4e6e993
['529977f88fd541709dfff1b578f8a130']
html code: <button id="getQuotes">get quotes</button> <div id="display"></div> jqueryCode: $(document).ready(function(){ $("#getQuotes").on("click", function(){ var index = Math.floor(Math.random() * (quotes.length)); for(var i = 0; i<=index; i++){ var html = "<h6> " + quotes[i].author + "</h6> <br>";...
f13ae63bcc71184f18d59d83239ca42160db6821db27db726b025347721d5f1b
['529feb648c93491a9b481d79baed2d1e']
I hope there isn't an underlying implication that being driven by "more conservative and binary gender role attitudes" (and thus resistant to alternative pronouns) is negative and inherently a violation of the upcoming SE code of conduct. Ideally, a solution for the site should be acceptable to people of differing ideo...
84d944de56d1535b43ccbd11040f1dc184afd5918b2901cec50190d414c4e676
['529feb648c93491a9b481d79baed2d1e']
Another common overlap is between [Science Fiction & Fantasy](http://scifi.stackexchange.com/) and [Movies](http://movies.stackexchange.com/), when the question is about a sci-fi or fantasy movie. In fact, it's quite common for the same question to be asked on each site by different users, such as *Why does <PERSON> we...
2995970c8cfe592882d4d73753dddd9ba9303fc7699184005a9b08cf2466f332
['52a2e65e3748458e91ca5c66f64a8b11']
I think I stumbled into a solution. I removed any special characters from the title and replaced spaces with hyphens. This is how my url generation logic looked: const cleanTitle = title.toLocaleLowerCase() .replace(/\s\s+/g, '-') // replace duplicate whitespace with hyphen .replace('(', '') .replace(')', ''); th...
6b53065a05d5987872ee07c0b52049b9cd91e26d308e824ca04154f795184149
['52a2e65e3748458e91ca5c66f64a8b11']
A tweak of <PERSON>'s answer worked for me trying to work with pdfmake and not pdfkit. First you need to have memorystream added to your project using npm or yarn. const MemoryStream = require('memorystream'); const PdfPrinter = require('pdfmake'); const pdfPrinter = new PdfPrinter(); const docDef = {}; const pdfDoc =...
6654ba82c662de9eae3fd0962473b91a6abcd3f5937b537c74849caad80395d1
['52b7408d8de541d18af08abab0b9784f']
soy nuevo en la comunidad y en el mundo de la programación, espero estar respetando todas las reglas :D He desarrollado una aplicación que guarda un registro de alumnos. Los datos guardados son: Nombre Apellidos Edad Carrera Hora de llegada a la biblioteca. Hora de salida de la biblioteca. Los procesos de "manipulaci...
336b2bdf3cd5eac90c2c0eabf018aa3d2eeac2e0d5f564e1a3324c1a34fac302
['52b7408d8de541d18af08abab0b9784f']
Hi I have this component which I suppose is a ceramic capacitor, it is soldered into a Bose 901 Equalizer series IV and between 2 output leads of the main transformer in parallel to a bulb signalling operation is on. My question is what I have to order/look for if i want to replace it? Thanks
bc5bf2bf7af59cffd567eb2f4f746961898d9f51dd900c4966dbebf91bf597aa
['52c57f4ff10141798a16eef33b95e1a9']
**fundamental problem**: I don't know how to treat the fully connect layer as regression instead of classification, any resource I can read on? **Second problem**to get the identity is classification problem with corss_entropy as loss function and to get the bounding box is regression problem with mse as loss function...
7e24c6372e49c7fa190b3a68e67baaea69fe0668cf4bbade64e4ad4d8dc4f71e
['52c57f4ff10141798a16eef33b95e1a9']
My project is about to run on Docker mostly. I have discovered today a ready to use AWS CloudFormation stacks on coreos.com (https://coreos.com/os/docs/latest/booting-on-ec2.html) I'm a bit surprised with the possibility to pick PV because my experience with AWS is that HVM machines could be resized after stop which is...
52a0511687cfc6ed9877cfa3c08ebc53a79f006334ae668f1fa6ef72d83b8d8e
['52c5bbc5be6d44428d0eaf229d7c8835']
Well, suppose you have a command to execute your backup like this BACKUP DATABASE [naass] TO DISK = N'C:\program files (x86)\Microsoft SQL Server\MSSQL.3\MSSQL\Backup\Naass.bak'' WITH NOFORMAT, INIT, NAME = N'naas-Complete Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10 this will fail if the process that...
7b8855989208b0cb0c35cbc4e5f55cf8a0c7ee57c732f5fce841233175f902e8
['52c5bbc5be6d44428d0eaf229d7c8835']
Thanks for your answer, although I'm having trouble following it due to your reuse of $f$ both to represent sets and again for functions. E.g. you have "if $y \in f(A)$, then $y=f(x)$." If you wouldn't mind using a different symbol, I think it would be much clearer. E.g. use $f(x)$ as I have used it above (as the funct...
144f5d1131adb39037067c441115767d13564adeafafdbabff64807071c6c77d
['52cf1babb5774c508b775d6fd9b1384b']
I have to create a program that applies box blur on an image in c. box blur is you get the average of the rgb values within 1 pixel away from the pixel you want to blur. 00ffff ff00ff fff0f0 0f0f0f f0f0f0 fff000 000fff f0f00f f00f0f let's say I have a 2d array that has those RGB values of a pixel in an image. To blur...
65eb8350230359931f558d88d23402a28584da5973d6d18821cac99bbbeea987
['52cf1babb5774c508b775d6fd9b1384b']
These two lines are the same thing: (*(*(*a).b).c).d a->b->c->d It just seems more practical and better to look at, otherwise you'd have to use the one at the top which seems very hard to read, so we use the -> operator because it's much simpler.
49b4565c61ab90d5d1fb8074c9e15fa600b0bcd68ae628bf2fb81c19b2262330
['52d35641a7ce4d96a79b3d0408a588a0']
This is the action that when it's called it gets an id so it can filter the object with the same id in reducer . export const buyItem = (24) => { return { type: BUY_ITEM, payload: 24 }; }; This is the array of products in reducer file products: [ { id: 1, pr...
09d09b84a46c53671b3585b169f415dc42515299b0727912064e4ed48a8a7d4a
['52d35641a7ce4d96a79b3d0408a588a0']
It's not actually a problem to be worry about and it's completely normal in react js . The component renders itself at first so the first console.log is for that . Then when you make an axios call on componentDidMount lifecycle method , It re-renders itself again . It's react js nature to re-render when the state or pr...
fb07c1a281061a41907e3a639bc704fbd531dcda930ee9f84b00e01cbe322def
['52dbe9fccef6442db809e48309c786c8']
Consider the following piece of code: int x = 1; int y = 2; y = x + (x = y); When this runs in C#, the variables end up assigned with these values: x = 2 y = 3 On the other hand, when the same runs in C++, the variables end like this: x = 2 y = 4 Clearly, the C++ compiler is using different precedence, associativity ...
788d5cc803031b71241a5c2a920855e7b21eb39d785a75f3a93368deb01633b8
['52dbe9fccef6442db809e48309c786c8']
Below are two implementations of the same iterative algorithm that generates the Pisano periodic sequence for any given modulo n under the following contraints: 1<=n<=CR Where CR stands for your computing resources. In my case, CR approximates 10,000,000,000. The algorithm is constructed around the ideas that a Pisano ...
b39dbfdfffb6f976d8238cbeed58675ac519a4809818f2e95d2886ced25a367e
['531f378d588a40288dcbb9a1bff55122']
Hello I have this column : date1 6/19/2019 3:10:12 PM I wanted just to extract the time so I used the following query : select try_parse([date1] as time using 'en-US') from myTable But the problem is I got this : 15:10:12.0000000 whereas I would like to just have this : 15:10:12 How can I solve this ? Thank you ve...
f9ac24f94c2d395bfd0ef661dddf9c2c8426917ed60b03588a7edd8d4332e2ff
['531f378d588a40288dcbb9a1bff55122']
Hello I am using SQL Server and I have this column : data 6/19/2019 3:10:12 PM 12/23/2016 5:02:15 AM I wanted to extract only the time so I used the following query : select try_parse([data] as time using 'en-US') from Table_1 But the problem is I get as a result this : 15:10:12.0000000 05:02:15.0000000 All is okay ...
3fe0fba4cbf93d7ce26887fc8a034133f8499decae047bea08186b14d0dfee34
['532752eef07a4c79aa5f178c07b047dd']
I don't know of a free plugin but you can get quite a long way towards this with some muscle memory and the built in autoformat command. CTRL+E, CTRL+D, CTRL+S will do code indentation and formatting, and save the file. If you have Resharper (sorry), there's a configurable code cleanup tool which will do what you wan...
c2af99a48dfe73d95a1a034bcd27fbfbd2f0b4d0c6342e3149b11ab68cf3113f
['532752eef07a4c79aa5f178c07b047dd']
You're absolutely right about chained .Include() statements, the performance documentation warns against chaining more than 3 as each .Include() adds an outer join or union. I didn't know about ThenInclude but it sounds like a gamechanger! If you keep your virtual navigation properties but turn off Lazy Loading on the ...
3daac3898bb018971fb39daf44bd867955956fa1a80d198f7d2f86ec6796464a
['532e441de1214f8694cdd0a78ebd606d']
Does $.noConflict() works? Import the js/jquery-1.5.2.min.js first and use $.noConflict() to register js/jquery-1.5.2.min.js. Then use another code block and import another version of jQuery. In the end, rewrite the top banner using jQuery.xxx() instead of $.xxx() I think this should be work.
23c513b5db688a7b02f844544f336102d582fbb81d09f245cbde57d29968ac34
['532e441de1214f8694cdd0a78ebd606d']
Well I was convinced I had single boot menu (GRUB) that let me do that. Most of the time stuff like that works just fine so I don't know a lot about it but learnt a few things while trying to get something to work. Then I stumbled upon a hybrid combination and thought this was it but this is a setup on a GPT disk with ...
7a10e4c410c20aa0199666d504123529b8121e5e4073a6c0758f81569b2cc813
['533504b256c44ec1bcd3dd0e9c5c92c3']
You need to to control NULL result in the sibling search: gennode* general<IP_ADDRESS>search(int element, gennode *t){ if(t == NULL) { return t; } if(t->item == element) { return t; } gennode* result = NULL; if(t->siblingList != NULL) { result = search(element, t->siblingList) } if(res...
525d7eabd2dddca3845148349f02ca215bc03e65e958ed5794a89d6ad2dc7a36
['533504b256c44ec1bcd3dd0e9c5c92c3']
Of course you can definitely bring your code over other platforms easily if you only have cross-platform and standard implementations. In order to port your code to Android you can look at JNI and for XCode you can just create Cocoa static libraries to be used in the objective-C++ projects
9999c220f8c2c4729d9db2c261f27d7468526092135289a6068b1d81c932381c
['533ff698c2bb462ba82e5d1fb3a48e42']
Server.Transfer() and Response.Redirect() both are performing same functionality like help to navigate user from one page to another, but internal process happening inside system little bit different. To get more idea about that please visit http://www.dotnet-tricks.com/Tutorial/csharp/c4SE281212-Difference-between-...
e2338c5d64416f45d2678ac4d2eb40917b036d6fb3a91c027dc03d1be362c87d
['533ff698c2bb462ba82e5d1fb3a48e42']
Below code helped me to implement REST API calls with Twitter var oauth_token = membership.Token; //"insert here..."; var oauth_token_secret = membership.TokenSecret; //"insert here..."; var oauth_consumer_key = consumerKey; var oauth_consumer_secret = consumerSecret; ...
800bb3ff60f0af86f34dd368a1cada359ffaaf970372c9beeedcaf73e81a251b
['535b64b350b9404ba70f54372a3f9304']
I am doing a small machine learning project. I doubt that, can I standardize all of the data, X, first (except the label, Y). I only saw the developer standardize the train set with fit_transform() and test set with transform() after splitting the train - test set example of the code: import pandas as pd dataset = pd.r...
7069c9c8757648ffe4c450baaa3ddb475dfda8721880be3eeb06b77137b5017e
['535b64b350b9404ba70f54372a3f9304']
I don't know how to find the third point that I have said. However, I try to write code write this: float extraX; // x of the third point float extraY; // y of the third point float extraZ; // z of the third point void CalculateExtraPoint(float x1, float y1, float z1, float x2, float y2, float z2){ float range = e...
00bec1b82a202aaf7aede135a97aaef365a173bfeebda1584ee2ee8006913b78
['53696db3ac3640f5902a7b92a8501ee4']
code : s64 end_time; struct timespec ts; getrawmonotonic(&ts); end_time = timespec_to_ns(&ts); How to remove the first three bytes from end_time and last one byte from it?? I want to store it in a uint32. could someone tell me how to do that?? uint32 latency; fscanf(fp, "%lu\n", latency); //fp is reading the end_tim...
272f7b8f54f3ce1a07c3d6f846d44149e62b63d7c61f13e33da36e12aaf88888
['53696db3ac3640f5902a7b92a8501ee4']
In kernel : I am reading the time value as type extern s64 Latency; In user space : extern double latency; //fp is reading the kernel value (i.e Latency) fscanf (fp,"%lf", latency); If I read s64 from kernel as double in the user space. Is there possibility of data loss ?? which data type should I use to get the co...
611703a5627b0838aa573e108d49d86e7f222ad5865df628f4091fa268c70706
['5386fa6fd52047aba54389cfbcf88a28']
$json= '[{ "pid":"28", "prod_brand_name":"IPCA", "prod_cat_name":"Zerodol P", "prod_comp_name":"Zedfit Tablet", "prod_mrp":"100", "prod_name":"Collaflex", "prod_quantity":"2", "prod_size":"11", "prod_total":"200", "prod_unit":"90", "ref_pid":"24" }]'; $array= json_decode($json, true); if you pass TRUE to ...
8b7d03a0ea0e2b577bd4fdfa8d62073c81502f7cd4b14d1aef747a3ed1ac0a85
['5386fa6fd52047aba54389cfbcf88a28']
You can use the php explode function. First you can explode request_uri with delimiter '/'. It will return an array. Then you should explode again your element of the array with delimiter '-'. Hope this will help you. You can get more about explode function here- http://php.net/manual/es/function.explode.php
f974d4f08b98fac8a142f5d0e1847a99615b3f56d5db4361d04bf7e341cf4174
['53912223a86b4634852579d6af747f58']
Why it doesn't work: In Python the "**" prefix in the arguments is to make one argument capture several other ones. For example: SP = {'key1': 'value1','key2': 'value2'} def test(**kwargs): #you don't have to name it "kwargs" but that is print(kwargs) #the usual denomination test(**SP...
138c8406332b711f108be84468272bc01946c175f7fd7dbc8e300e3018352086
['53912223a86b4634852579d6af747f58']
After asking a previous question someone told me the organization of my application was weird, so I looked at other examples to see how I could handle what I want to do. The clearest example I found is a school case of flask application. From what I understand: The app object is declared in the app module Routes are d...
d8e37558f9cbd20b2477c7c6a7811ef485ceb302560651af95adf045f7dc0f8c
['5393658b6d2c417c93c7bc3e4e7baaf3']
Here is one solution that seems to work with your example: Change your CSS to match the following. @media only screen and (max-width: 1914px) and (min-width: 1715px) .navbar-nav > li { padding-left: 0.5%; padding-right: 0.5%; } I am reducing your padding because with a padding of 3% total for each element you end ...
a677c239c9450a857af978291cf4d0127a55e9228fa73c6565bb23959461d94f
['5393658b6d2c417c93c7bc3e4e7baaf3']
Here is a pure HTML and CSS solution. You could also do this with SVG. http://codepen.io/tylerism/pen/xGpQwQ HTML <div class="pop_line active"> </div> <div class="pop_line active"> </div> <div class="pop_line active"> </div> <div class="pop_line"> </div> <div class="pop_line"> </div> CSS .pop_line{ background:#...
94571cdfe4b37026820790a98c355e1948c71c53d12ffc861d8dc39ca881edfe
['53a9e7e9a4524ccab7239dce3c67c830']
I'm developing a ViewPager with several fragments, one of them I want it to be a "PreferenceActivity" the problem is that I'm using API7, so no PreferencesFragment... I've already search for a way to embed an activity (PreferencesActivity) in a Fragment, and given up for lack of results. So my next take is to "build" a...
91a30969dc5ab2c43ee98785213256d05c8dacb88a0052e5f78e1eb0e3eb356a
['53a9e7e9a4524ccab7239dce3c67c830']
After many hours searching I finally did it. I leave here my solution for further reference. //Managed Bean - View public class DummyLazySearchPageBean { private LazyDataModel<DummyObject> results; private String searchFilter;//to simulate search filter private DummyBusinessClass dummyBusinessClass; p...
a73cbfb0ada56b0ed78ebc5ebaf298c0fc168f6c6e3ef2ee709acf36ff2e1fb2
['53b8aa036c40432593289f92adc204cf']
Because its assignment I don't want to give you straight whole solution. Please don't hesitate to comment if you need more help. My suggestion is to create object class MoveOffset { public int OffsetX { get; set; } public int OffsetY { get; set; } } then create collection of them with possible moves var move...
2ebc1a200b042c67b5e69723612ae8862617af1a1faad70ef18e38c463d75613
['53b8aa036c40432593289f92adc204cf']
Some areas in Visual Studio 2017 are black(not refreshed) when i open it or i swich tabs. Text is showed again if i select it. The biggest issue is in aspx files - it shows previous aspx file. When i hover over some menu options its fixed for that menu. Or if i change size of window its fixed but some areas stays blac...
0ea8ef2750a4d818a76a939051e2fec4dbf0cd06b17918a23dae3594853b7f11
['53b9bcb3aad949048aa3ba42933a0406']
I am working on my first app with Xamarin Forms in Visual Studio 2015. I have a page with a grid, which is in a StackLayout, which is in a ScrollView, which is in an AbsoluteLayout. Here is the constructor for that page: public ConditionsPage(long reportId) { InitializeComponent(); Titl...
1332df2a79525485d51e4ed97555a97d5a7306e58528b1ad6e380800feb3403b
['53b9bcb3aad949048aa3ba42933a0406']
I have an asp.net core 2.1 web app, which is deployed to Ubuntu 18.04 LAMP server as a self-contained app. There is a Chat page, created with SignalR and on localhost everything works fine. However, when I connect to http://www.limboworld.net /real website/ and go to the Chat page and inspect the Console using develo...
0ef10fa3eba9f468e4c741195e29d1fd31ec8009c92a8ae8eca3b65f4fd0c3e6
['53c96da969034b98bbc6258b3a349485']
Attach the event handler with jQuery (not with the onclick attribute) and remove the href attribute altogether. The problem is that the browser is navigating when the link is clicked. I see this happen alot when onclick is used and there is an error in your event handler before preventing the default. Another way to fi...
02c686a6717df599305673e257db629343710bbc019a068ddb6396fb50f38c2e
['53c96da969034b98bbc6258b3a349485']
Based on the information you shared, the issue might point to a misconfiguration inside wordpress since you have successfully mapped Cloud DNS to your google domain. I understand that you are tying to display your domain in the search bar instead of your IP. Here's a link which guide you how to fix this issue.
c80ed3feafd77c965cd4e099af4cdb13035b07a078058e0ca0e11ca4271285d0
['53d988a1a9f84321840e2de11f6c5147']
As of 2020, apparently there is still no way to disable this behaviour according to this jetbrains support entry. There is a workaround described: 1) Start with Edit | Macros | Start Macro Recording 2) Press "Ctrl" + "/" to comment out current line 3) Press "Up" to move caret to that line again 4) End with Edit | Ma...
f52e0f69be31587c4183a4c91c8952406a0dbd929cc24a8556f08a0bbb7b7186
['53d988a1a9f84321840e2de11f6c5147']
Your Variable projectnamevar cannot be found in the class as you have not saved it as such, try it with self.projectnamevar = tk.StringVar() Also, you might want to use the os module instead of calling it on the system, you can use it like this import os path = "~/my/path/" os.mkdir(path)
9ab01dcfe101bdf060335eb0b3471711fc427dc2c2bd0de6e96c0003bc44b601
['53e27e8b58d94a6a9414263e2a2eaa99']
We all know scoring by characters is ripe for abuse. Let's prove this. The Challenge Output the following: "m8V}G=D@7G1lAI,v08` #(hNb0A8T!g;==SVaG5~ g"jUF!bmRY(3I@na?2S{ fJVzo/GQYU%ybpfUq3aG Yza[jc,WJ$bP^7r};Da} V-!Z+Nk:`/poc}d/X:G\ sWX{dbAUv6,i]%RG$hRp ),bd+?/{U1tU[;<;u.Nk ZFPIOzJ/HimL!nexc,ls HM%k3D$n2|R,8L?'eI_n qs....
d0010b494f12ad46dd845908394ca04b6f8f83e13e1797daeea0a7f53aeb3e1d
['53e27e8b58d94a6a9414263e2a2eaa99']
Hi! This question looks reasonable, but there are a couple of things you need to add. Firstly, if it's code golf, add the code-golf tag (instead of code-challenge). The second is I/O format: consider the community's [loose I/O rules](https://codegolf.meta.stackexchange.com/q/2447/48931). In particular, I'd suggest to a...
d1681bddb21317a1aef3f7fc4aab6ab2700d75e3189d3364c47143b442f6712d
['53fe5dd421fe45d0a89683b63d5e3195']
You can't, inspector can't find setter because foo type is Boolean, not boolean. You could use a wrapper public class BarWrapper { private Bar bar; public Boolean getFoo() { return this.bar.getFoo(); } public void setFoo(final Boolean value) { this.bar.setFoo(value); } } and then ...
624814cc4cd0987b676b0b556885e7353207ae0712a94089e2ef677cae69b14a
['53fe5dd421fe45d0a89683b63d5e3195']
Your abstract Mapper class could use an abstract toArray method which provide the typed conversion from list to array. static abstract class Mapper<T> implements MyInterface<String> { @Override public void consume(String... transformFrom) { T[] array = toArray(Arrays.stream(transformFrom) ...
c0ad8a53aa88890a828fc5e6a6dddaba9e69150d0043adf6b4268cf1a1d6dec6
['540883aa42f6418d8927793cb3d4892e']
For one open source project, I opened pull request with commits in my branch. This PR stayed untouched for a few months. Then, I did rebasing in that branch (because in the meantime it got conflict with master) and I messed something up so pull request got hundreds of commits from tens of contributors, and they are all...
303026d4ce07febc4669f13513e059ab740f4f462ba6526fedfe498499233bad
['540883aa42f6418d8927793cb3d4892e']
If we have function counter() { static $count = 0; $count++; return $count; } can we set value of $count outside of function counter()? I know that you can get values of all static variables inside of function with Reflection: $vars = (new ReflectionFunction('counter'))->getStaticVariables() but I can't...
197ce4825df6e6280a7943a4e0833f0cb76f30a2417027c14857036dc1e172bb
['540f42c3bc204be4bfd69c9466879e38']
Serverless is looking at your current directory for the config file and cannot find it. Looking at this line "program":"${workspaceFolder}\\serverless_site\\node_modules\\serverless\\bin\\serverless It looks like your workspaceFolder is not the root of the project. You can change that the Serverless project is the ro...
a772ca89e1e95c77c328fc1bb2321bd3730d77bb995084a199676c84a68d815d
['540f42c3bc204be4bfd69c9466879e38']
The following script will take all the ids of the images and by executing the function add the 'active' calls to the image while removing it from others. const allImageIds = ['button1', 'button6', 'button12']; const styleImage = selectedImageId => { allImageIds.forEach(imgId => { document.getElementById(imgId).c...
6ef431906a17c9e4d73d0c6702ebbc8d28a1244ab1b4de1859c63f40d05b39f6
['541a0ce0ed6149709a0181a68820329c']
I am making something and there will be a "Calculating" page on Java on an Applet! so what i want it to do is first drawstring and display "Calculating." then after a second it replaces that string and says "Calculating.." then again replace that string with "Calculating..." and loop that about 5 times. Is there any si...
677bd1ed267ebf573e2271861631461841ef3254d7df1c2d820e70b4a7e22d4f
['541a0ce0ed6149709a0181a68820329c']
I imported an image into an applet and attempted to make it if the mouse is pressed on the button then it will return "startButtonClicked" to be true and the page will change. My problem is that as soon as i start the applet up it immediately flips to page 2 as if it was true. If i take off the line of code that change...
bd85663a9d6f189e7211308c4fec16ec41788e37256df69d4fadcab0de57f632
['5424ce8e1d454c4d9e609c3f4b43a348']
Is it correct to say 'I need you both the same'? I want to say 'I need you both equally' but need it for the song with the word 'same'. Doesn't it mean 'I need you both to be the same'? Do you have any idea of what I can say instead? Thanks a lot
3429afd64a4bae8df51df26746bf0789f93c9c0dd8c29310e0f4a9870313b5c2
['5424ce8e1d454c4d9e609c3f4b43a348']
Just come across this question: Let $X = (X_1, X_2, . . . , X_n)$ be i.i.d. according to a uniform distribution $U(0, θ)$ for some $θ > 0$. Let $x = (x_1, x_2, . . . , x_n)$ denote a particular realization of $X$. Let $T(x) = \max(x_1, . . . , x_n)$. Show that $p(X = x | T(x) = t)$ doesn’t depend on $\theta$, where ...
31c98d61be9c3ae5e8d3ffbc5886ab22f707fb3062b55309dbe4806568201c99
['5435fc253e544578b2650656f015351a']
Somewhat hacky workaround: DockerUser is the user who installed Docker Both DockerUser and the Jenkins user are in the staff group (verify with groups USERNAME) As DockerUser: $ chmod g+rx /Users/DockerUser/Library $ chmod g+rx /Users/DockerUser/Library/Containers $ chmod g+rx /Users/DockerUser/Library/Containers/com...
f2e29e76f12bc295e6552e0a633b99856a69e0b66f0c71c90a1eec2df0bf4ec9
['5435fc253e544578b2650656f015351a']
I'll try that - I bought some dental picks at Harbor Freight (the happiest place on earth, if you ask me!) a while ago. I'll try to find some purer acetone, too... the stuff my beloved uses is purple and not very stinky; I find I have my doubts as to its strength. As for the apology thing... oh yes.
1378aada4d26c63e1104dc5d7231cb6f4718935a85354cd9f7ebfbdb27b6b9ae
['5442b7865b3449f38f4d54094b0e0090']
You are using find command which is only understood by bash. So if you execute this on bash, bash expands or replaces $(find) with actual result i.e. the files and then javac is invoked with actual files list. So while executing the same using Runtime.getRuntime.exec() use as Runtime.getRuntime.exec("bash -c \"javac -c...
e66ab222f877fd02b979bf583e2907f3558713efcd0d211757d914640c01e207
['5442b7865b3449f38f4d54094b0e0090']
In some cases, we need to expose a shared resource throughout the application e.g. DB connection but we don't want to create shared object up-front (before creation of client objects). explicitly pass shared object to each client object. then we can use Singleton design pattern. Typical Singleton class looks like p...
e1ca8d2a34dddd5920b0f36cdf00566c13debf1bd57bcc26f9c5c08c8ca30fb0
['5456750e38c64c0282788a713f9ce816']
There's not much reason to go with only one. Get two or more ad networks to leverage your inventory. Fill rates can fall for many a reason: end of an ad campaign, server error, etc.. If you have a back up, it'll fill up the fill rate. Additionally, you'll be able to compare which ad networks optimize and target ads for...
bbcccb5856bbade1479fb329c8af3df2c64ad919e37ba074db97f59f8e856a42
['5456750e38c64c0282788a713f9ce816']
No, there shouldn't be a problem because it's still showing up. You may even get a higher CTR since people might accidentally click on the ad! The ad should be at least there for five seconds, but remember, if you're showing too many impressions it can hurt your CTR and over all your impressions will be worth less to a...
68c961082c1bf00a4685e0d9df98ab2ae795e76fa9661f68d9d55b99f3b15381
['5469ad345bd9451eabaabff99bfda64a']
I am taking over our entire Microsoft based management, this includes our AD servers, GPOs, etc. So with that being said, I don't know everything about how this setup is configured. However, I have noticed that we seem to be having a lot of permissions based issues with GPO's, or with users that can't change their own...
74a9e052f4d75f377e9229ce26fb85f42143d8358646998d5419553384311d99
['5469ad345bd9451eabaabff99bfda64a']
Hey <PERSON>. Thanks for the response. I just checked the permissions for "Authenticated Users" group on all of the group policy objects, and they do indeed have "Apply Group Policy" checked for "Allow". As far as the SYSVOL directory, I am not sure I understand what you mean by where the policy is located. They are ...