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
9949373bb6236666ca8928bbeb64de1e1d4cf52c7948b5a6b1178193f7058219
['b8dbf3a795d749beae30b264ced144b0']
@JonW ok, besides the "moderator part", do you have anything else to actually contribute. Lots of questions end up taking this route, say 1 thing that people disagree on, I can jsut aswel delete the question and re-ask since no one is helping! Answering. Finding a solution to a problem. Please understand that JonW. Tha...
729e33cbfce942416f33b10773af70d9f192a348f863cb936d42cdd87ca172ad
['b8dbf3a795d749beae30b264ced144b0']
I do not have a problem with moderators even though they are mostly, active, but i have a MAJOR problem with people more focused on not helping at all...just read my post again...you clearly do not understand what the reason is for the post. Help some, not downvote and walk away!
284927e6f77b7a4c45e0c18cbf33cccc1e63c9f4fc88603220105f4a00bc8f0e
['b8dc9a9db83543c99dffe6886ce5329f']
Here is a query I made using @Gordon's answer: SELECT DATE(r.created_at), COUNT( DISTINCT CASE WHEN r.rating = 1 THEN user_id ELSE 0 END ) as rating1s, COUNT( DISTINCT CASE WHEN r.rating ...
a0ebc9f2f227c1eb4705947b1a33a7c240a25d06704103e0ec1d28fb4b6f2374
['b8dc9a9db83543c99dffe6886ce5329f']
I am working on same thing and used POINT data type to store Lat Lng of location. Then I used distance_sphare function to get distance. Below is code for this function in mySQL 5.7 ST_DISTANCE_SPHERE(mysql_column_lat_lng, POINT($lat $lng)) This fuction will return distance in meter but problem is it will return displa...
8df76203fbe83cd5e2cfd2617da9550d6f5c72a729cfdcf679ef572b6990d38c
['b90668fa4bae45a98d391edf99f88b07']
I have trouble with an SVG. It won't display in html. Not with <img> not with <object> If browse directly to this SVG i can see it. Test: http://angliru.nl/upload/121.svg but when included I only see white, see: http://angliru.nl/test.html What am i doing wrong? I checked these 3 possibilities, but still isnt working:...
06331b446d572a38387e2741a9e806fed48dee61a520644002c2326594d8bc92
['b90668fa4bae45a98d391edf99f88b07']
I've a problem i cant figure out. People access this url: http://www.sub.domain.net/action but they need to be redirect to https://www.domain.net/action/action2 I tried doing this with this line in .htaccess: Redirect http://www.sub.domain.net/action https://www.domain.net/action/action2 But it's not working. I only ne...
9514c6d07e8ab199e0ba4f7ae90cd489384eb302d1da3ac37f4ba1f7e56b7eb4
['b9272a84a1fb45ceb86c22217dbe58d8']
I've attached a Behavior to a button to get both long press and tap gestures public class LongPressBehavior : Behavior<Button> { private static readonly object _syncObject = new object(); private Timer _timer; private volatile bool _isReleased; private object _context; public static readonly Binda...
c5bc43c260e281f916ce5024254750d468538a66adf5dd6144a75ee95ae02ac2
['b9272a84a1fb45ceb86c22217dbe58d8']
You should declare the Grid structure only once, ideally in Constructor (or in XAML which is called in the constructor). Whenever OnAppearing is called, you are adding 2 new rows and 5 new columns to the existing Grid hence its size is reducing. Also, by looking at the elements adding logic you've written, you should ...
eb242b229d9533d6b15087b47582d9b07306db24cdff52543e47e80e0beb696d
['b933770d47b74e0a83035c41bf2957f7']
Sackcloth written in revelations is a covering derived from the skins God first placed on <PERSON> and <PERSON>. The first skins were the first sackcloth and a dark day that humans failed in the will of God. Not by written law, but by the pure heart that became dark . A prophet is defined as one set aside for Gods purp...
ad38430952ee386e3f777bc9df7550399bb035eea44dee4826ea854a08294ba9
['b933770d47b74e0a83035c41bf2957f7']
It has already been shut down and we all have turned to other to-do app instead. Currently in the market, you have many choices. Some are even better than Astrid. I am using TickTick now and recommend you to have a try also. https://play.google.com/store/apps/details?id=com.ticktick.task
0537140ab5e96a9fffda2fe9febb5bc4705c6177bb9c1ed0041dbdd4b12f7601
['b9379372ab99423480341c6df11795e1']
I have a new problem. I already done my widget but now i want 5 rating widget's for 5 categories in my database. I have this column in my database (named places.categ): places.categ a b c d a e .... I have 21 markers in my Google Maps and each one of them as a category...
5a675cfd65686f5d38dc48a4b7a0df17ad3d923030f240027e2b946f54633f31
['b9379372ab99423480341c6df11795e1']
I solved in another way. I get colors to each category with this code: var <PERSON> = new google.maps.MarkerImage( "http://labs.google.com/ridefinder/images/mm_20_yellow.png", new google.maps.Size(12, 20), new google.maps.Point(0, 0), new google.maps.Point(6, 20)); var <PERSON> = new google.maps.MarkerImage( ...
2e362d9460f09d394848ed7e011cad8ece03aaddd0610bc1d3611db10ff55e68
['b95f8d914bc44b9888eaf4f442699e19']
I am working in power grid systems, which has many nodes and the connections between them are like edges in the graph. The nodes in the grid becomes online and offline and therefore a graph discovery is needed. Similarly, the distance from the supply to the outer nodes plays a significant role.
08d90905e061448860e5eb7dc08823be12c1f20ef14e2f83f0598a65f5da1c7c
['b95f8d914bc44b9888eaf4f442699e19']
If the auto-discovery uses Bonjour / multicast DNS, it will work fine. That also applies to the network speaker if it’s, e.g., AirPlay. Otherwise, the network speaker should continue to work over the existing <IP_ADDRESS><PHONE_NUMBER> network, which isn’t being changed, unless it needs to access the NAS in which case ...
8bb28c64563aef115201f0805e23c5b981e682d11e634bcb62a20808166c7942
['b96a1beb4c2948d0bd8e4ba0a0b9a6db']
Yes, it's generally pages that use JS for obnoxious reasons, for instance initially displaying the content and then deciding they don't like the fact I use an adblocker so will yank the content and replace it with a whinge. If the original use of JS isn't obnoxious, then I probably don't want to kill it off.
8666a825f5a2d8ea1ebb1addf09d2eed5d472ef07853ccd39e58b2a470132e4f
['b96a1beb4c2948d0bd8e4ba0a0b9a6db']
I've never ordered home food where I live, and certainly not in the USA. One thing that truly worries me is the "trust factor"; not only do I have to trust the restaurant's personnel to not spit in my food or otherwise soil it, but I also have to trust the person delivering it, who is more than likely to not exactly lo...
b998fc29f7745358e986fac90657a0b2fb3cc8c6dcd16dc4b48f8e814c0d5fd2
['b96d24bf41fc479aa8795a19965afa7c']
I am currently in the progress of a database migration from MS Access to SQL Server. To improve performance of a specific query, I am translating from access to T-SQL and executing server-side. The query in question is essentially made up of almost 15 subqueries branching off in to different directions with varying lev...
b818cbaec34fb50d71a3e2a8f3e0280f7ddc351745a5cc7b4af1a1063364bb41
['b96d24bf41fc479aa8795a19965afa7c']
I have managed to resolve this! Thanks for <PERSON> and <PERSON> for the code simplifying but my WHERE clause was not working because I had an incorrect link between the tables. Access creates temporary tables when multiple instances are added to the query pallet. It appends the second instance with _1 which in my case...
6cd69f104902e60f1bb7bc80b413c70689bc32bd301e517c4c52e85300bb14aa
['b97227afdc2746749f77e2597bd74e98']
The issue solved! I have just upgraded Xubuntu 15.10 to Xubuntu 16.04 LTS on my external HDD "in place". Everything worked just fine. The installation process did not mess my MBR/UEFI, the GRUB stayed where it was - on external HDD. So, it is sufficient just to start upgrade process in "normal" way, despite the fact is...
640cb2276901678cf906b6e2cb7a81d4aa52593d653c045a059629f9ac421adc
['b97227afdc2746749f77e2597bd74e98']
My parents' house currently has a single 802.11b/g/n/ac access point. It covers about 2/3 of their first floor and 1/3 of their second floor. The rest is lacking signal. They want me to close this gap for them. Also, they have no cell service on their property and would like WiFi in their barn/workshop so that Mom can ...
a26e1b845e2d489c0b08cd6b8272891deef23d5ba538a027448585a2366e2ccd
['b974fff01357405e8cc9888cd638d559']
we are asked to write a function ourselves in Haskell that, when given a list and a certain element returns a new list, containing the ordered positions of that element in that list. I already tried that for a long time now, but the one I currently have still uses recursion, which the task says we are not supposed to ...
ff3dddb0b14690cfeff3b2e8667785d2a6ac29d4bf72e7bf0a67b20e5fd72b7b
['b974fff01357405e8cc9888cd638d559']
I want to create more elaborate / complex models from simple ones with lmfit. I have two functions like e.g. a gaussian (norm. to unity at peak) and a lorentzian (norm. to unity at peak) and want to fit e.g. a linear combination of them. Still adding to unity. So I could write a new function like def voigt(*all the par...
03a19b4d8ff591cb7e2a0934879f250cafcae5ba7e171df61f924f4e02ff5cd3
['b97763106c954fa388276ac470c446a2']
when I run appium through the terminal with the command "Appium &" it runs appium 1.4.10 When I run it from my GUI (which I need to do to use the inspector) it runs 1.4.8 Any ideas how I can make it run with the latest version from the GUI? Thanks.
48aef51528b979f49842725c92e10eae545e6ca12ac4345937305fcb04f86b16
['b97763106c954fa388276ac470c446a2']
I see Firebase now supports iOS testing in the Test Lab. Is it going to be possible to run iOS UI tests in parallel using Firebase? For instance, if I have 100 iOS UI tests can I run 10 of them on 10 different devices at the same time instead of all 100 on the same device which would take much more time? Thanks, -Ma...
463cd1dcaa1a981d57fe1982b28ff7129451bf845320ed1de68750fc3cc87552
['b97e2d0528824e6ba1c985b122217a61']
So i'am trying to show an error message when the user enters an invalid username password combination. My user.service: login(accountCredentials: AccountCredentials): Observable<boolean> { return this.http.post(UrlHelper.routeTo("auth/login"), JSON.stringify(accountCredentials)) .map(n => { this.authService.se...
9b1632854f8e12d8a562a92cb7f5be21ac27cce0393f964c18820106dcef45e3
['b97e2d0528824e6ba1c985b122217a61']
So i have a typescript class (in angular 5) and i am trying to make it working but i have some annoying issues. The class: export abstract class TableComponentBase<TModel extends DomainModel<TModel>, TDialog extends DialogBase<TModel>> extends PageComponent { My method: onCreate() { let dialogRef = this.dialog.ope...
9458981ef7e42c33b2844fe049343b9be4c83320561aea4bcb1d771ea4a83239
['b9890149ba3748c1a07888f6dff8fa23']
I have php result set, and from these result i am extracting value using php foreach loop. I put the foreach loop value in array $summery[]. but when i try to print value its print value at once. but i need separate value/result set for each foreach loop as json code so that i can print each result separately. My forea...
b53626887230f034ba23e7ada9bd1ab3525b3ea1506fa8ae8a4901125ac233da
['b9890149ba3748c1a07888f6dff8fa23']
function not calling or working when i include a link, without a include a file, function working properly $AutoRunLink='C:\xampp\htdocs\banking1\index.php'; $sql = "UPDATE automation_schedule SET start_flag='1',done_flag='0',attempt='$AutoAttempt',last_run='$CurrentTime',next_run...
bc035af358099c81309b9e5429c732c9c64f1740b1435f91661b3c4f69dfb65a
['b993c4a38d294b268ff6c6cf2fb5e717']
Yes this is possible you could navigate the browser from site www.example1.com to www.example2.com/someAction?name=joe for example. However, in order to validate against this you would need some sort of server in which example1 would have to send the data first and store it. This would then allow example2 to call that ...
34a1fd4b0cd6328a3b174940b9af35c59f7f7480bae84d7000df1a6a648ee497
['b993c4a38d294b268ff6c6cf2fb5e717']
There are two ways of doing this depending on your independance of the microservices is probably the best answer: Make a internal HTTP call from the ROI -> Institution which would be okay. The problem with this is that if the service is down the data will not be available. Store the data needed to make the calculation...
6344eaf0340a49b4f93d23b9dba5bb89549f5107ac04e8aaee30a3983fff1325
['b9999257725a46c9a085f8a11c555e3e']
I am working for a DBMS class and came across 3NF synthesis algorithm here http://cis.csuohio.edu/~matos/notes/cis-611/ClassNotes/13-3NF-Synthesis.html I am stuck with canonical cover computation. The problem is as follows: Reduce the following FD to 3NF: FD1 : AB→C FD2 : C→D FD3 : D→B FD4 : B→E The canonical cover is...
912f5bb28a6c90f2f95a76efc755ff8217021486c74a442b8e10d7887901f8b3
['b9999257725a46c9a085f8a11c555e3e']
I am working on a file downloader that submits get requests for around thousand files. I came across this article that would aid in submitting a lot of requests using the executor framework. I tried running a smaller number of files (around a hundred), it was working. However, the large number of files that I ran resul...
80c7260d0ef292dca7373d0418c38d0f9d322351b85315b01b9b75a5ddbc24aa
['b9a764f1c6734d1f837b24e9837d0667']
I implemented some tabs in my websites, However when I first reload the website, the content of all the tabs is visible, it gets fixed when i select any one tab. Screenshots: Error I'm having Here's my code: HTML <div class="tab"> <div class="tablinks" onclick="openCity(event, 'PaisleyWilkes')"> ...
80c263c93b6f87563ea22882c21e445e7cc5a15c08ce01e279caa3b88893fd91
['b9a764f1c6734d1f837b24e9837d0667']
I'm creating a products section for my website, and have been having trouble making it responsive, as media queries refuse to work. Here's my code: HTML <div id="products" class="products"> <h3>Our Products</h3> </div> CSS .products { height: 30vh; width: 80%; margin-top: 15%; margin-left: 10%; } @media only s...
8a6d80638e0d1f93c541bc60bef0478e618324e496ef3665cbe9ea827785a993
['b9b58139b7904c289fab872314d3fbd0']
I wrote a small app to check AD group members. When I execute the following code on my pc, It works well, the SearchResult contains the "member" property, however when I run the same exe on the server or on an another computer the "member" property is missing. The usnchanged and usncreated will be different also. I run...
e42bd4df8a45d0d340f2c0eb2fa60198deba8676df3f231b44d0127b51552530
['b9b58139b7904c289fab872314d3fbd0']
I would like to use a barcode scanner with Windows 10 (Build 15063) via the Windows.Devices.PointOfService namespace. The scanner is a Datalogic Quickscan QD2430 and I tried with all RS-232 and Keyboard mode. I used the official sample application https://github.com/Microsoft/Windows-universal-samples/tree/master/Sampl...
a886faed7341ee07403c5b4521861586db7ac3e59ae398852e98a5428d2241d5
['b9bdd97c484544ba90db5572d53248d4']
I'm OP. Appreciate *very much* response; added details in comment to question. Am not saying it would be *easy* to cover all issues, am wondering whether using an existing library (say, passport.js for an Express.js server) is better than rolling my own. I guess my main thought is: security issues will have to be ver...
c5b4ee3c293e0dc3dfa5fc2d618277599fee0a5b90cd2332543b7c9b9dd7e2c0
['b9bdd97c484544ba90db5572d53248d4']
You can use train-test- validation split (say 60% train, 20% validation and 20% test.) when you have large dataset. In that case you dont need to use for loop. For smaller dataset normally K-fold is used and in that case for loop can be applied. If you find this answer satisfactory, please don forget to mark right. Th...
d1be77c26bf10f7dbcd45297cc1bf56a391497a0894274f4373b8b7befc8189d
['b9d505a49ad04c7fb55d53940072580a']
I'm using a MouseMotionListener to draw on a JComponent. addMouseMotionListener(new MouseMotionAdapter() { public void mouseDragged(MouseEvent e) { System.out.println("DRAG ["+(i++)+"]"); grid.handleMouseEvent(e); } }); When I perform a mouse drag with my trackpad, I get the intended behavior. ...
e95bd3ca7e51044b9b6ba501039eb3c39e521b6491d46cc8e8f2507c6fe8a277
['b9d505a49ad04c7fb55d53940072580a']
I'm writing a query to find all users whose usernames begin with a given prefix. I only want the query to return up to 10 items. My query right now is User.scan('username') .beginsWith(req.query.prefix) .limit(req.query.limit) .exec((err, users) => { ... }); After reading the dynamoose docs for .limit() mo...
bd443784e0d6c0962069b7ec10388e03a7353c32521489d41ccd63cd43a99e2e
['b9df71326b2b410092fe9fbfbd5074c9']
I do not know $t_1-t_0$, but I agree, that is the perfect solution if I did. The $\Delta f$ is in the 100s of MHz. TBH I'm not sure if the radar tag belongs here. This isn't a radar problem but I thought It was similar enough that those sorts of solutions might be useful, maybe not. Also, <PERSON>, thanks for fixing my...
75e75c019d9bd446152d47113dd49084e1439133695949b03f43fbd58583fc3d
['b9df71326b2b410092fe9fbfbd5074c9']
Hi. The emails should go to the mail address I provide. Those plugins have a field where I can type the mail address to send the data to. I have tried different mail addresses, but it behaves the same. I can add that there is nothing in the mail server log as well. The script doesn't even try to send emails, because t...
ed15c4da872c42b64ab74732b611b3939dbf6a5d3fb716752cf0e64a15ec3a0b
['b9ededa489db4cc49bd9393aa4e9d90d']
So, there's a few ways you can do that, if you're not constricted to using a UL for those, I would reccomend just using divs and assigning them to a width and floating them right.... example here: <div style="float:left; width: 200px;"><strong><PERSON>> <div style="float:left; width: 200px;"><strong>Owner / Web Master<...
99e1b37e75934f1b5ec5ec64a1f97f48182f3cbf8ec1ac07e24375e528066f44
['b9ededa489db4cc49bd9393aa4e9d90d']
I'm really struggling with this so I was hoping someone could help me. I'm using woocommerce plugin, the products for the breadcrumbs only show the main category of a certain product, I would like it so that it could show the sub categories as well. For example, I would like it to be Bottoms > Leggings > Skirts. The...
3a0e5c5e758e324b68d9551a7a8abfbef5eb4da2c7153d00255a424465194fd9
['b9ef15019ae547e094a87c0f9ef1a4c2']
The Facebook question was "What's the chance one of my Facebook friends was born in May?" My answer: Months that are not May = 11. The month that is May = 1, the number of Facebook friends I have = 350. Therefore, P(A) where A=none of my Facebook friends was born in May, P(A)=(11/1)^350. I say that is a probability of ...
9493ff942af73c83acf2711dbd56c8c366ae8ad4dacd0e451098af528493691c
['b9ef15019ae547e094a87c0f9ef1a4c2']
Guys, I know a similar question exists but the thread seems to be inactive, and I really would like this question to be answered. It's been annoying me for a few days now. I'm wondering how to remove the divider line between the Master and Detail view in the UISplitViewController. I know its possible to remove/hide/cov...
b84a2dfac1987ee3b640499ae0ae5d7a7ae966b1cbc5e67b683315fabd35fec9
['ba0dd156371e45c983d5378f7d5d0110']
I got the same problem. In Play 2.6.x you need to inject BodyParser and extend ActionBuilder. You can also try it this way class SecuredActionBuilder(val parser: BodyParser[AnyContent])(implicit val executionContext: ExecutionContext) extends ActionBuilder[SecuredRequest, AnyContent] { def invokeBlock[A](request:...
ffaa77e3d13b3bcce1c0656e80c0e261853beedb156d9af2e48e91d4330e2341
['ba0dd156371e45c983d5378f7d5d0110']
You can create a generic class writing test cases for all repositories like this: class TestModel[T: ClassTag] extends WithApplicationLoader { lazy val app2dao = Application.instanceCache[T] lazy val repository: T = app2dao(app) def result[R](response: Future[R]): R = Await.result(response, 2.seconds) } A...
a5bf659bd73ca3b78fc9b70a7fe12fb75f805e36303a223b0a9eee519e8eec4d
['ba128c3245f0413db1d85adbc8f307b6']
I'm trying to determine how many times a word occurs within a table for a uni assignment. I've been using sys.dm_fts_index_keywords_by_document in SQL Server 2012 as I've used it previously in 2008. It worked fine before, but in this context SQL Server doesn't seem to like it very much. SELECT display_term, SUM(occurre...
508d04be8a1d1781ae8784101d269fc91f01a5f5e59eff24dd58135404f14c4a
['ba128c3245f0413db1d85adbc8f307b6']
I've been trying to insert data from one row in a temporary table into an existing table in my database, which I've managed to do, but I also want to increment the ID column that already exists in the Topic table. The temp table has two columns, ID and keyword, but the keyword I'm getting from the temp table is always ...
d9abfb61e99cc96e37678cdced543f91e759510b91eb57f5c4fca6046a9c8dfd
['ba1a6f14cfee48d78760fcf658294f3a']
We have an Openshift project ( project1 ) in which we setup an AMQ Artemis broker using the image : amq- amq-broker-7-tech-preview/amq-broker-71-openshif . Being the basic image we don't have any configuration such as SSL or TLS. In order to do the setup we used as example : https://github.com/jboss-container-images/jb...
70928c93b191e5ebb27194928b3086ab5fed75bf2554b0544b443151d6b88199
['ba1a6f14cfee48d78760fcf658294f3a']
I'm relatively new to these 2 frameworks that I have to use for a school project and I have a little curiosity. So far I have the CRUD Operations to add a new employee that has multiple attributes, to update an employee and delete him but I am not using a DB like Postgres, Oracle etc.So I am wondering where the actual ...
bc35503390bdd33679e4e53d694b8db5820b942be7ac80e967f1b617ece17075
['ba1b39d928354b05a8eeb864680d11e0']
What I can use except button in online Excel? It's not allowed: We can't show these features in the browser: • Objects like form toolbar controls, toolbox controls, and ActiveX controls But you can see all the content in this workbook by opening the file in Excel. I just wanted to give end user solution for hidd...
b83669058c08772e64b1d71cbe341d0d1f34322fe52abf6ec65f901bdcd7d913
['ba1b39d928354b05a8eeb864680d11e0']
I have simple Excel macro, for ToggleButton: Private Sub ToggleButton1_Click() Dim xAddress As String xAddress = "L:R" If ToggleButton1.Value Then Application.ActiveSheet.Columns(xAddress).Hidden = True Else Application.ActiveSheet.Columns(xAddress).Hidden = False End If End Sub When I upload this to OneDrive ...
8c4bd80acc4baa9f1e56bc3d59ec778b7040a92001e8f5c573fd3fa96deb5443
['ba1d60ae611d4a13a167627e05944874']
I got a solution. If you don't want csrf_token for a selected URL. Then got to app => Http => Middleware and fine VerifyCsrfToken.php file. In this file there is one variable that is $except that holds those URL in which you don't require a csrf token. So add your URL like this. protected $except = [ ...
765691e247cdb1f6d6c7b8e9bc7de22517979b49f1cc4e05f9412eed1f4930b7
['ba1d60ae611d4a13a167627e05944874']
Modify your code try it. <!DOCTYPE html> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.0.min.js"></script> <script> $(document).ready(function(){ $("#signupformsubmit").on("click",function(e){ e.preventDefault(); verifysubmit(); }); $(".errorField").on...
2f1245e7f8f98089e27fbac8bf66fb1166789eb97c9abf9f9563baa446b7f4bf
['ba2e9841e7ca43fa9ae682dd5c64bf10']
The exception says: Unhandled exception at 0x00F52157 in Foundry.exe: 0xC0000005: access violation reading location 0x00000030. and points to this line in controls.cpp: glfwGetCursorPos(window, &xpos, &ypos); Controls code in separate file controls.cpp: #include "stdafx.h" #include <GLFW/glfw3.h> extern GLFWwindow* ...
945820acf7a58b54a1f45f9045924fb66f1bf6d6f05218fd999a7a343641f1ef
['ba2e9841e7ca43fa9ae682dd5c64bf10']
Error error C2668: 'sqrt' : ambiguous call to overloaded function c:\program files\assimp\include\assimp\vector3.inl occures when I include 'scene.h' in main cpp file: #include "stdafx.h" #include <stdio.h> #include <stdlib.h> #include <GL/glew.h> #include <GLFW/glfw3.h> GLFWwindow* window; #include <glm/glm.hpp> ...
9917b11b7c174696afc54d97be0674881814fee109da5f691d6cb09738ca34da
['ba310d23675a462c9b29de55bd925a89']
I an using PHP to query Google cloud datastore records. This is my PHP code: $datastore = new DatastoreClient(['projectId' => $projectId, 'namespaceId' => 'ssd']); function getList(DatastoreClient $datastore){ $cursor=null; $query = $datastore->query() ->kind('keypad_research') ->start($cu...
e758cb82f559c41d1bdfb0a6adb1da8654d816c8cfb87f83baf12188fef4822f
['ba310d23675a462c9b29de55bd925a89']
I am looking for a javascript function which will take one date value and tell me the next 30 days values. For example, if the current date is 5 August 2011 I would want it to list all 30 days after this: 5 August 2011 6 August 2011 ..... 3 Sep 2011 The function basically takes care of the month days (30 or 31 or ...
c619228b5493ab2d31ab0e699d5adef1f4374409020c57ea3317f2eaaf754966
['ba40930958664cff93a7c3a12123d8dc']
So the question is to find the longest substring in abc order given a string, s, so this piece of code works in some cases but so this s that I defined it does work and I have no clue as to why s = 'vwjxxumjb' longest = s[0] current = s[0] for c in s[1:]: if c >= current[-1]: current += c if len(cu...
6a6fd7d4d67e31aaae8a2f55192144e8fa3f359f13745d88da0eecf966a593d2
['ba40930958664cff93a7c3a12123d8dc']
So I have to make a function called frac-sum the takes the sum of a fraction of two functions from -n to n so f(n)/g(n) as the fraction and the sum from -n to n so f(-n)/g(-n) + ... f(n)/g(n) It takes three formal parameters f g and n. So far I have this which should work but ends up going in a recursive loop meaning ...
ec50da73caab2b0ecae9b6454cf7897997cc013acb8c8f36e80bf33272b53345
['ba55c49b0b69457093ed5676ad09a4b6']
The installation option selected is "ubuntu inside windows", which also means "alongside windows" (or so I presume - this option is for dual boot). Once this option is selected, rest of the installtion is from within windows and not the way mentioned in installation guidelines. Then installation (from windows - running...
2f7d88c771517b7cbb5bcbcc64e96aa837aa09cea32485337b064413c5589ac2
['ba55c49b0b69457093ed5676ad09a4b6']
I'm trying to implement a program using C++ that could determine a B-spline curve which would represent rational motion between given control positions (following along with <PERSON> and <PERSON>'s Spatial Rational B-Spline Motion paper, here). In the paper the authors define the motion curve as being based on three p...
b85137eb2bbabfd7733284bf5052440070dd5678e152515f938b9048a0edf8ea
['ba69907445d9454d9edc85ac14a3d056']
Journalling is a property of a file system that basically lets it keep track of what has been done. In a case of a crash, it's easier to restore. Notice, that there is no option for non-journaled HFS+. I'd recon there are problems with BootCamp on the Windows side, when using APFS. APFS uses a more modern approach (key...
916411625043c29c46803531d3322dc3fe2eb873f6378d09b82ee28e46ca29c9
['ba69907445d9454d9edc85ac14a3d056']
The word I'm looking for describes a piece of literature/media well-known among members of a certain profession/practice as the bible of their trade. For example, A Twist of the Wrist by <PERSON> is well-known among motorcycle riders as the go-to resource for a beginner learning to ride a motorcycle.
90ff3839685752b8b68143cded69c7e08936590a34e2aa8a5c3088cfe2ce2eec
['ba739513811340d2b2a00827cb1b87d0']
By using the dereferencing operator *, you are basically treating the data that the pointers point to as regular variables. Structs are copied by value, not by reference, if you aren't copying the pointer, so it's just like copying an int to another int. You are essentially doing the following by using the dereference ...
afa2b22cac0a7a8c1f8e9e8aab113dd358ceb4592a9761a57190ea3a9e1fc527
['ba739513811340d2b2a00827cb1b87d0']
I am attempting to use a TensorArray in a while_loop, where each iteration of the loop fills one item in the TensorArray. A minimal example below is shown: ta = tensor_array_ops.TensorArray(size=4, tensor_array_name='output_ta', dtype=tf.float32) time = tf.constant(0) def _call(time, ta): ta.write(time, tf.constan...
3015e17b1c07cfe8f0c1d3171c1999849c1a8777e4eba2101d7ce20bf5d8bb80
['ba7a9f0379754067a76d0e9560e79bb9']
У меня почему то не получается, что может быть не так? Могу показать полностью весь код, у меня также прописан css и js, на всплывающее окно при нажатии кнопки. Вот это окошко дополнительное(строки тариф, контактное лицо...) что под таблицей находится в сыром виде, оно скрыто и появляется при нажатии. Может на это влия...
21b1d23e97376ac951915c2df471e664c2b955e9b4b0e2fc6f5857935943f3c5
['ba7a9f0379754067a76d0e9560e79bb9']
Здравствуйте. Здесь при нажатии кнопку заказать выходит дополнительное окошко. Какой можно употребить скрипт получения и передачи значения, только скрипт. Что-б в зависимости от того, куда нажал в поле ввода тариф, уже было введено слово. Например нажал на демо, вышло окошко и в поле уже введено демо, нажал на стандар...
ad59cc7aaddefe2d457f64da5c620a2be2e88acd7974add41e2b8736ba336d01
['baa831185fdf4efbbf833fe4895857ed']
How can I overwrite an array, which is marked as modified, in a method? Or is there a way in Dafny just increase the length of an array by one? class ownerIndexs{ var oi : map<int, int>; constructor(){ new; } } class Pendingstate{ var yetNeeded : int; var ownersDone : bv256; var index : int; } class mo{ var...
11b4ad676aa93c09d02d4adb9626dc69d5a866ab03ebbec9cb3ff81df920a210
['baa831185fdf4efbbf833fe4895857ed']
I dont know exactly where ur problem is, but did u try switch statement? It keeps your code simple, for example: switch(1) { case 1 : cout << '1'; // prints "1" break; // and exits the switch case 2 : cout << '2'; // without break it will show 2 and after it 3 until next break case 3: cout ...
97b821a2747e318850a0039941951600549777717eaa064c78fc9f620638d36a
['baa929cf3a5243f0a6b7d22c849694a8']
I have a loop I'm using which works great that is: for i, line in enumerate(lines2): if "2. Primary Contact Person" in line: print(*lines[i:i+5], sep="\n") Which gives me back contact information. So far no issues. But I now want to make the print out and append it into a new list instead of just printi...
05919f19d021e3cc69193a34b04bb7409057d665abbb1dcc4048da1ef6cffe26
['baa929cf3a5243f0a6b7d22c849694a8']
I have a LinkedList that I have created when used creates a Band, Song, and Duration of the song list. Example output: Band: Led Zepplen | Song: Stairway to Heaven | Duration: 8.02 minutes Band: AC/DC | Song: Back in Black | Duration: 4.14 minutes Band: The Rolling Stones | Song: Paint it Black | Duration: 3.46 m...
b07e6192fdf229698922b3cfadffc78161dc7fd9ac36a83a701cb78267d6cbce
['babfb2d972994d85abd325aede30de0b']
assets:precompile comsume a lot of memory when you run it; try check you system monitor when you running it and increase you memory in the server where you execute that task. By the way config.serve_static_assets = false should be false in production the server software (e.g. NGINX or Apache) used to run the applicati...
d2c024df16a78f498040a3d6c4f8242a4dc220beb545776abf9ad779b3c824d3
['babfb2d972994d85abd325aede30de0b']
You need to process the event object in the function. $("#div123").click(function(e){ e.pageX; e.pageY; }); event.pageX The mouse position relative to the left edge of the document. event.pageY The mouse position relative to the top edge of the document. check the doc: https://api.jquery.com/category/events/event-...
928f59525715ba4c1b8b3f76d285ffe613bb58431a82e221af7a63f7c5d7a906
['bacea032ca7f4a9baacb4098886d3dcf']
I create a node module file in my project ressources/js/fc.js function test(nbp, varElt){ if(nbp > 1) varElt.innerText = nbp.toString(); else varElt.innerText = nbp.toString(); } module.exports = { test } In my ressources/layouts/app.blade.php I add my module like that : <script src="{{ asset(...
47c9ea853cd56c7777c0e15b9fb3eeb6477c8f15c9b3249f2e6b5f1e572608f6
['bacea032ca7f4a9baacb4098886d3dcf']
I create a Windows service and a setup project. Actually, the connection string of my DbContext is in my project .config but the user can see the content of the .config and modify it so where can store my connection string ? IMPORTANT : I get the from the user interface during the installation of my project.
12d9eb5fc8337b9aab4972281315aaffedc7ecada90254f022576a78339d278c
['bad0f2cf80cc4a9c83cb68428a930581']
As the title says I wish to know how come that in MyApp() or Firstpage() I have to make a builder so that I my Mediaquery.of(context) may works Although, to other pages it works fine. My question is since my other pages works without builder should I still add it? Here is the code MyApp() code import 'package:flutter/m...
d8e1151dc41b95a0181470788b1017ba9d15751efe10c94988a1976fa38a99bf
['bad0f2cf80cc4a9c83cb68428a930581']
I dont understand what's causing the error really. My code is in a seperated class with a returning Widget method, the that method returns a Stack which envelopes my Listview. Note: When I copy the Container with a Listview and modified the appropriate values of course; then paste in a new project with A Stack as a par...
5c932349ca4a479cd8b9e705869fa0ff4229d48bf5a8f9b1e8244ae499ffd92a
['bad7e3a2d9f442719cf088726c44a04b']
I'd say the answer is no, not without so much work that it would outweigh the minor inconvenience of using Kupfer directly for the things it does well. As your examples do a great job of highlighting, it's a very useful app. Unity Dash is also useful, but its UI seems entirely oriented toward search, one-field searc...
92140826387bbbca844bde4d2f5f0b697c8a1cedc14c64f9ff41e53a15341ec6
['bad7e3a2d9f442719cf088726c44a04b']
I have a div with two tables. I want to select the rows from only the one table having N rows. In XPath I would use: //div[@class="div1"]/table[count(tr) = 2]/tr Is there a jQuery selector expression that will do the same thing? Here's the HTML snippet: <div> <div class="div1"> <ul> <li>Line 1</li> </...
757ce75522a0abc49e89e68e3c8e300d3fc1178992e2694d1b440a2bc946f99c
['baeef2006eab42d892c1a69979776a36']
I'm just wondering to what extent I can hire someone to collect data for me. This would be secondary data, collecting patient records from clinics. I have no clue how to organize data or use databases, so the research assistant would also be helping me do that. I would, of course, be reading the patient records and int...
c34c9acf132667ab1eaf5933b6c05b30cb88a34f8939af86635820bd2da97e84
['baeef2006eab42d892c1a69979776a36']
I have stumbled across this question about the Random restart algorithm in search problems: Random restart is technique which used for: a)algorithms for search in space state when they get stuck b)algorithms for informed search for better solution c)algorithms for uninformed search for better solution d)algorithms for ...
e4a0a7ed616c5f1f30713894a65cf004647d80f2e5dbdcb08f5a3914aaa352fc
['bb0ddbbafbb54de98f40d3964889d6ce']
Training an Object Detection classifier with Tensorflow 1.12.2 and Python 3.6. Using about 20,000 images over 4 classes, and after 160K steps the mAP is pretty steady, but the Total Loss is still dropping (very slowly though). Should I keep training until the Total Loss ceases to drop or turns upward ?
3ea0862a1031637acff1b5b892e9c5b36192fca135242e6988ed9e8d41e0c8de
['bb0ddbbafbb54de98f40d3964889d6ce']
I've been able to get this to work in Tensorboard 1.11.0 by editing the object_detection/protos/eval.proto file, then re-running protoc (see the Tensorflow docs). For example, this line in eval.proto would enable 100 examples (instead of the default 10): optional uint32 num_visualizations = 1 [default=100]; This probab...
de6b9bcdba091240c2f445b2c8e901d17f91102068055107ee1ad654892e3f9d
['bb18ef76f42545189d7beff57380d3ef']
Entiendo que necesitarás que tanto categoría como producto estén activos.La query para obtener lo que comentas sería: queryset = Category.objects.select_related('products').filter(active=True, products__active=True) Esta query por definición te devuelve las categorías activas con sus productos activos. Dado que necesi...
897554e7d14239847bc41592f7b3f38b40056755b1a13840bd02cf004827ae36
['bb18ef76f42545189d7beff57380d3ef']
Olá ! Meu cliente precisa que o usuário seja redirecionado para a página onde ele estava acessando antes de finalizar a sessão anterior. Por exemplo: <PERSON> -> Página A (CRIOU O COOKIE) Usuário encerrou a sessão. Quando o usuário retornar ao site, ele deve ser redirecionado exatamente pra página onde ele estava anter...
c923f9cd4f987d0f9804b056436f85b4a2c70e17edbb6616c6e147151c320b38
['bb3743cf4ae741cbbb54e03a262fd3b5']
I think I am mostly after a critique of the way I am using my Player class, and how to improve it. My spritesheet contains all the sequences I feel I need for the actions I am after. But what I would like initially, is that when my "jump" button is pressed, that the animation the character is going through is stopped,...
8710f628f7d49e0461bf98280885803fd1b1d674205e8a800a5967b82e9e5d73
['bb3743cf4ae741cbbb54e03a262fd3b5']
I would be very grateful for any advice you can offer as I am growing increasingly frustrated with an issue I am having - I also appreciate that the issue I am having is due to my lack of knowledge / understanding. In an attempt to further my knowledge and stretch myself, I have chosen to create a PlayerStats class tha...
bda98ea6ea6c203472b18013f7e8feea35341a3f6aadf1a00c7038b528c8afe9
['bb4cab49af5b45acb706380271978fe9']
In OOP terms, those are all "classes". Whether or not they require the new keyword, value type mechanics, etc. are all implementation details of the C# language, not OOP concepts. At a conceptual level, yes, they are all classes in the OO sense. In C#, the OOP term "class" is devided up into two types, normal classes a...
386baa70cd7e5d69d1f48241ef17e5d353f9ae22d0e86c47545203356755b427
['bb4cab49af5b45acb706380271978fe9']
EF 5 can work in several different models, depending on how you want to use it. There are templates for using context-tracked entities, self-tracked entities, or POCOs. For your case, I would recommend not keeping your context object around. Self-tracking entities are probably what you're looking for - they store inter...
a686550b070d515260f64f4faf0fe6fa946d75142c081ee0e0ae6fd4df45faa1
['bb4f6c07418340dda46567ab4fbf7a09']
I am developing a node.js app locally on Mac OS X 10.9.5 that proxies requests for large files on another server. I have tried writing my app using node-http-proxy, and also with a simple http/request one-liner (req.pipe(request()).pipe(res)). Both work fine until I start making e.g. 30 simultaneous requests to my prox...
e7abb897413df89f335ba351fcfb7329b94cbfc901dfe13035568cc806ae3c6a
['bb4f6c07418340dda46567ab4fbf7a09']
I just installed TortoiseGit and Putty and was able to successfully clone a repo from git.ng.bluemix.net via SSH. I followed these directions to ensure I was using Pageant to configure my SSH key: https://tortoisegit.org/docs/tortoisegit/tgit-ssh-howto.html Can you share more details on what exactly you're seeing? Wha...
cd80cc1afafd37d5dd50e0546e36c0b2b6224657a72544fb46ec843a3ad96543
['bb5a3b9d35884626b33de9210960f6f9']
Здравствуйте! Может кто-то мне подсказать как правильно сконфигурировать зуукипер для работы кликхауса через него? Сейчас у меня пока 2 сервера, на которых установлены зукипер и кликхаус, на одном из них есть реальная база, которая работает. Задача сделать еще 2 реплики для отказоустойчивости. Конфиги зукипера сейчас в...
447532ba803ee9087cbd9b93028fcf021958c5e7b834dfa24359597f4879e3d0
['bb5a3b9d35884626b33de9210960f6f9']
What is the correct syntax for XSD schema to define the following restriction: In the list of elements we have to specify that attribute can contain value of "c" unlimited number of times, but value of "b" - the zero or only one time. For example, the correct xml looks like this: <root> <elem atr="c">111</elem> <elem a...
84cdff44c32636e917c5220cb6ce2d63f4ab37d6984908991d2dde76aa0f0f90
['bb5ccc6dea4c45b7a6a3ebca1247fb72']
So say I make a controller for a main menu 'page', would MainMenu be composed of the individual view elements like labels and buttons directly or would it reference a class such as MainMenuView which had those elements instead? Or would it just send events to an event system to communicate with the view? Or something e...
cb25b097d90ab1951403a9e745848ca83f2550ec2191856174508575384bbfb3
['bb5ccc6dea4c45b7a6a3ebca1247fb72']
I thought that normally when you branch, you branch the whole trunk, but in my company I've seen people branch subfolders of trunk and deeper- are there any practical consequences of this besides confusion when you try to find the right directory in the trunk to merge back into?
579ebf5d1e19cda80bd0d53d44665bcfee079f37d548441e10270cfa21790916
['bb62783a8640437a97dca13e36698aa4']
First of all, you should upgrade to cuda 8. This error fatal error: cub/cub.cuh because the compiler can not find this file. If you use cmake, you must add cub directory by the command include_directories, if you use IDE or something else, try to add cub directory to your project.
42dc39fe6d52e93edc876600c7ed5555e952214441875547335fccca3d50692a
['bb62783a8640437a97dca13e36698aa4']
I'm looking for a good approach to compute the determinant of a binary NxN matrix. So far I found this: https://github.com/OrangeOwlSolutions/Linear-Algebra/blob/master/DETERMINANT/determinant.cu, but this implementation may be good for general matrix (floating point) while I only need to work with integers. Also, cuBL...
c9e542f5dde6fb39fac7c696a8dcf1a906aa65d82d0357a62b5754c98d95973b
['bb630ef6a75c4f819e6ee574158c578c']
I am able to get the Username, UID and GID from SCDynamicStoreCopyConsoleUser using python: #!/usr/bin/python from SystemConfiguration import SCDynamicStoreCopyConsoleUser cfuser = SCDynamicStoreCopyConsoleUser( None, None, None ) print cfuser[0] # Returns console user, e.g.: myUsername print cfuser[1] # Returns c...
fc19987884cc31ea7c80cf19aa49bec92f402c765f6e6fc5a580fafdff2a3242
['bb630ef6a75c4f819e6ee574158c578c']
Given the below XML, what is the correct XPath expression to extract the id value for a given name value? (eg: I want xmllint to return an id value of "someID" when given a name value of "someName") <?xml version="1.0" encoding="UTF-8"?> <record> <attributes> <attribute> <id>some...
d296c487b551440953c07fe759b0320d64b666e44f842db6624fd492644cc4a3
['bb63b4cbcb5f43528cb25f60a17d1180']
I have a function that will send emails from google sheets. I would like to compose the email subject and body in the sidebar option in google sheets hit send and have the subject and body past as variables to the server side function to send the emails. I hope I was able to clearly explain what I am asking. I have V...
f7c173cf5f9e55f45b25ad332dc939e9af72d68e8e5b70a684015dfd81a5d567
['bb63b4cbcb5f43528cb25f60a17d1180']
I need help with setting up a google sheets sidebar to accept input for the subject and email body? I have been able to get one to work but not both. Code below.... <head> <title>Test Page</title> </head> <body> <form> Email Subject:<br> <input type="text" name="subject" size="36"> Email Mes...
d470049f7cd3e8a27021c5591f685d4134449eff3332812042c4dce04ee7d727
['bb6a50c6cb224df487a7927fb6828bd0']
In lines 41 and 42, push(stack,br); and pop(stack); I am getting the error "Method in type not applicable" Any ideas what's causing it, and how to avoid doing it in the future? Thanks public class Reverse2 { public static void push(Stack<String> stack,...
69a10bd49f13c9ea65e794a5401d81822259544970fee4dff4af3a3e0bdc6d42
['bb6a50c6cb224df487a7927fb6828bd0']
I've been working on a program that creates Rational numbers, and when I call any of these methods I get a stack overflow from recursion. public Rational(){ new Rational(0,1); } public Rational(int n){ new Rational(n,1); } public Rational(int numerator, int denominator){ new Rational(numerator,denomin...
fad2202c7ada5c5c978e6a08a3b950ca6672deae2ad119defa11c66814cb22de
['bb6a57c420854059a92996979c11d59b']
If I want to pull all the actors' names, I tried this, but it only pulls one name. Is there a repeat loop or anything else I can do to have it pull all the tags that say <span itemprop="name">? set astid to AppleScript's text item delimiters set startHere to "<span itemprop=\"name\">" set stopHere to "</span>" set mys...
6e6e0006b8002a6d9372718988a39a8b5ee22dff8f08953ee7cf7c42cdc55f11
['bb6a57c420854059a92996979c11d59b']
I am trying to compare two dates in Google Docs using Apps script. My dates are formatted m/d/yyyy h:mm:ss. I keep getting an error saying "Cannot find function getTime in object 2/1/2013 9:42:46." Is there a problem with the way my dates are formatted? I've used this before successfully for dates that are formatted mm...
7ef94f344b828adf1c3c4bca9a1784ab949d25d5a2236d12521d52eb48519355
['bb6c9511cdc54aeca30ec46960ed1d31']
<PERSON> Yes this certainly is the first part, as i figured out before, but the problem is the width of image. If it is too long it does not look centered anymore since 0,0 coordinates of image start in center, but image's width itself reaches to the right. I guess i should move image to left after using your formula b...
3ca91c2f7976b07ca95edf13e09d122a0bbf2aacbea6fc63627dc53f2654a64c
['bb6c9511cdc54aeca30ec46960ed1d31']
Using this post hoc in my full model results into a significant interaction of `poverty*children` However, reducing the model by AIC criterion (even without a significant difference between models) ends into a model where only factor `poverty` is significant. This significance I cannot claim from the full model due to...
f35b6ddf43991b96dd197f2656adf30717c07f00fe2464b92b9ff463d8aada94
['bb6d5fe97f7f4e2db8e9754b7ffe6e37']
Tenho uma tag header, onde está meu menu, está tag header tem width de 80% da tela e está fixada no topo. Tenho logo abaixo do menu uma imagem, que quero que pegue 100% da tela, porém está dentro da mesma tag header. Tem como esta imagem não pegar o width da tag header, e ao invés disso ficar com 100% da tela, mas mesm...
6845a55e3f6e8fab795865c8581df482f574255cfdc7df032ded13fc6fb35fda
['bb6d5fe97f7f4e2db8e9754b7ffe6e37']
Easiest is probably scrounging a used truck rim. You might want to keep it above ground this lets you regulate the air with vents for a good burn. A sunk pit won't draw air as well or radiate heat. OTOH it might use less wood. If you don't use fire rated lining burn a small fire to dry out the cinder blocks then your r...
351add79e8f280c8dde075da27384c26dedc3cfbd8088974d4979ad5cac86fbf
['bb9a3ec075d54c0d92682678f4be6dd1']
I'm making a form for my website and there's an empty space in between the first label and input. When I remove the label, everything goes back to normal but I'd like to use the label. Thanks in advance to anyone that can help. <form id="contactForm"> <div class="tableRow"> <p><label for="name">Name</label></p> </p><in...
300d714009bda0a652d9bdaa242d347755085e715095720635fd33580beb8e1f
['bb9a3ec075d54c0d92682678f4be6dd1']
I am trying to make rectangles appear randomly on a canvas, and am trying to make the colors of the rectangles be chosen randomly from the array colors. It works when I set the value of context.fillstyle to a color, but when I set the value of context.fillStyle to RandomColor, the rectangles become black. Any help woul...
9226c5cbbd6a2ff43168bf5407c4e8ead1e356063524203bf32ed0b70976cb3e
['bbc388cb627245e4b6fa28d6b4946c88']
From the information, I infer that you're trying to invoke the validate method of the Validator class. Also, sounds like you have to grasp the concept of static and instance in OOPS. First I will give you an overview of the concept and then the answer. There are two types of method and fields in Java. Object/Instance M...
ff3eed825936fd8423a26a8e27d2c2eac64d15595c48ea2f1dd4252f41e54800
['bbc388cb627245e4b6fa28d6b4946c88']
If your question is about going from moving switch b to switch a. Then you can use the recursion for this purpose. I don't know about return types. So the prototype is Write the switch(a) in a method. Let's name this method as method1. write switch(b) in a method. Let's name this method as method2. method1(Object a) { ...
28e22e0001fbb4683b91d835d519ce5c4485126704ec60cc1a3b35051e31ee9e
['bbc64283cd0949378dee9735c2047393']
I am trying to implement CI on ios. I am running xcode unit tests from commandline using xcodebuild on a real device (iPad): xcodebuild test -project MyProject.xcodeproj -scheme tests DEVELOPMENT_TEAM={DEV_TEAM_ID} -destination platform=iOS,id={DEVICE_UUID} build-for-testing -allowProvisioningUpdates -configuration {De...
453f95659ab3cc70e74bba7f845aebe7c494c01f650fab40bf138c3f908dcea3
['bbc64283cd0949378dee9735c2047393']
Indeed for iOS versions 10+, it looks like the NSLog is treated like a < Notice > message and is not included in the stdout or stderr outputted by xcodebuild. I found that out by looking into the device console log. I found the solution that <PERSON> mentioned a while ago, but I wasn't sure if this is a common issue (t...
73472d4694a6be6145986a5369401ac01bfcbdd2bf7899b788e3fb35653b0519
['bbd306e5f75144bda03912f83167242f']
I have a simple app where the only view controller has an outlet to a UITabBar. It also implements UITabBarDelegate and is set as the delegate for the UITabBar: @interface TheMainViewController : UIViewController <UITabBarDelegate> { IBOutlet UITabBar *theTabBar; } I implemented the following method Which gets ...
a801c648bff4bc13a477d40cd6f1477d518605528345dedae245271999a2975c
['bbd306e5f75144bda03912f83167242f']
If I increase my velocity by 1m/s/s, how could I *not* approach 299,792,458 ? I understand that it takes more and more *energy* to actually reach that number to the point it becomes an impossibility, but why can't I use that limit to detect what's happening outside my elevator? Also, regarding RELATIVE velocity, ok sup...
8e1614639d28a2ab2fefd1dc81e4342480ab063792ebbf6860485fa1453dde4a
['bbe310d0fce04cb89a63b1c41984aba5']
You could try Parallel<IP_ADDRESS>ForkManager, which provides "A simple parallel processing fork manager" for perl. You could alter the maximum number of processes up and down based on how heavy the query is, and also use nice/ionice to prevent undue stress to the server. As long as you have version 0.7.6 or later, you...
b5e537f071fb4fe6e69633be94fec72c7c3f83d08a75fc91f39986b80fe2f0f4
['bbe310d0fce04cb89a63b1c41984aba5']
I'm trying to run gradlew in an Android Studio terminal to setup SonarQube however I get error: ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk-11 .0.2\bin. Please set the JAVA_HOME variable in your environment to match the location of your Java installation. I can sucessfully run java --ver...
b34411b79ffebb15270b486e77a700901de55c318182330623eadbdfd47078d8
['bbf0b3267e5046c0bc7a174342ab2552']
I've been developing an ASP .Net application for several months and two weeks ago I faced a strange error. It appears in dynamic javascript code that seems malicious. The appearance of the error doesn't depend on my changes in code. Now it takes place even in old versions of the project where everything worked fine. Mo...
0ff7a0775c36748cf23d7ffbcaf8c10aaada670c269bd23b99e6dc1bc5904063
['bbf0b3267e5046c0bc7a174342ab2552']
Thank you everyone. I've found the solution. That was an installer of a web project. Of course I turned IIS on to run it. But for Win 7 that is not enough - IIS 6 Management Compatibility must also be active. I hope, this post will help someone to avoid this error.
dab4819567dca0de978906b3d6b9a1c5821d7a74508461f1a5b43f4ad37983c1
['bbfe17e638d24067a61114e1ab054266']
Using direct path (<IP_ADDRESS>), I was able to load 236,126,040 rows in approx 17 minutes. Same file split into 5 files (each about 47m rows), were loaded using external table interface under 6 minutes. So, i am sure you can do some tweaking there . Use direct path load, explore external table option as well.
6c35f5b9aa17f2da2f5df56959c310297ed187cb518205fe65ce866e4bf3c201
['bbfe17e638d24067a61114e1ab054266']
Not everything you run is eligible to be shown in DHASH (or V$ASH). When Oracle samples sessions, the session must be on CPU or must be waiting for a non-idle wait event. If your sessions do really really small transactions really quickly, it is very likely they will not be picked up. Other than using colored_sql there...
6e00ca6db6d6b7ca901b9f21adc2d52fb4252964cc23e57344e1bb254f71d73a
['bc359c677a6448f18dfb2c24932f440d']
I was wondering how to disallow anyone typing in a url similar to www.example.com/?q=http://www.evilsite.com and instead redirect them to a 404 page or something else. As you can see, this introduces a phishing vulnerability. I know that somehow this is possible as I've seen previous installations redirect FYI I curr...
202683762914b6e089fcbc229711abcce82716142e79c14a8b476bbfbe1efa89
['bc359c677a6448f18dfb2c24932f440d']
I'm fairly proficient in MySQL but I have never run into such an issue. I have a record in the "node" table which is the following: nid: vid: type: lang: title: 1 5 oa_group und CPA 2014 Actions However when executing the following query: SELECT * FROM `node` WHERE `title` = "CPA 2...
faa51da505e06bc43c0897bb69cc22d46d297d92052a7b5037e8cd76301e69a5
['bc392060aeeb426799e58faefb83b322']
I tried a few other solutions, but I think I've found the best for me by myself. public static final ThreadStatus threadStatus = new ThreadStatus(); public static class ThreadStatus { private Exception exception = null; public void setException(Exception exception) { if(exception == null) { return; } ...
7ca7ca763da51ef71d4a9a11df7c6f94cd14f1a77a7e315cc8887ec7e479f767
['bc392060aeeb426799e58faefb83b322']
There are multiple SQL queries for every project I need often. My problem is, all my projects need the same MySQL connection in Workbench. So I have a huge amount of SQL tabs opened all the time, which looks like this: Because the amount of tabs exceed the width of my monitor, I have to scroll left and right to get to...
3f23a0634a8313d5f08613c24289822020bba4f4c3a3998c813d76f854a9ce5d
['bc46ce1645844aab874ecd6c68df3501']
We currently have an existing ASP.NET application that we want to migrate to DNN. Unfortunately, due to time constraints, we need to move it piece-by-piece (or function-by-function... however you want to look at it). And, we would like to leverage the current (DNN 6.0) version of the membership, roles and profile pro...
f58b584939fb6e684623faf8dbad37a57c0732dc4b0cd02b47f43371ab389d17
['bc46ce1645844aab874ecd6c68df3501']
When you create a new build in VS 2010, the entire build configuration is saved in the database, their is no configuration file created by default. You can use .proj and .rsp files to configure your build still, but, you need to change your build to use the upgrade template for the build process file. Then the build ...
abfc76c9431be5d9567d1144058e8d9d19afcbcf13de42997e4ec24962e061f1
['bc4b925b6f814b368a4bd0a911a25df0']
1 Are you using typescript. 2 You get an error message because the type is e.target.value string. 3 For everything to work you must convert the string to a number. <input id="methodology" placeholder="Select a methodology" value={apiData.idMethodology} onChange={e => setApiData({ ...apiData, idM...
814f6a68765ed5af76be90b7806e241e38199657c030a22844581c85fcdd84a5
['bc4b925b6f814b368a4bd0a911a25df0']
this may code Schema import { gql } from 'apollo-server-express'; export default gql` extend type Mutation { signUp( lastName: String! ): String! } `; Resolvers { Query: {}, Mutation: { signUp: async ( _, { lastName} ) => { try { console.log(lastName) re...
6cab5789947b77388b0424d48517328670529d2af4af1d2f9168763f34c5d1b1
['bc5920c4b66c4546921e986e6920f06d']
import random flips = 0 heads = 0 tails = 0 while flips < 100: if random.randint(1,2) == 1: print("heads") heads += 1 else: print("tails") tails += 1 flips += 1 print("you got ", heads," heads, and ", tails," tails!") input ("exit") Changes made: starts from 0 and is only ...
5902f477b02e96ab3fa3d5f05c94e8c37f4e23b4d1470778600bf001d3b86c41
['bc5920c4b66c4546921e986e6920f06d']
As long as display is set to none, you can try to force it to become visible what you want, but the browser wouldn't have the slightest clue in what context to render. you'll want to use "visibility: hidden;" on the sub-cat-1 div instead of "display: none;" and I'd expect it to work fine :)
6387f2a4c4437eb7c79448837b87987f673ca82e2c37998af9a06ef249b7d589
['bc5d782f3f8c4064b1f268c55b497e03']
TensorFlow creates a graph with the weights and biases. Roughly speaking while you train this neural net the weights and biases get changed so it produces expected outputs. The line 131 in fully_connected_feed.py (with tf.Graph().as_default():) is used to tell TensorFlow to use the default graph. Therefore every line i...
9c04b02a20a2281a16be92d3747a0197e74fa03a9eac667c26d5624f9f434e10
['bc5d782f3f8c4064b1f268c55b497e03']
I want to run a script on a cluster ~200 times using srun commands in one sbatch script. Since executing the script takes some time it would be great to distribute the tasks evenly over the nodes in the cluster. Sadly, I have issues with that. Now, I created an example script ("hostname.sh") to test different parameter...
1767b7ea1cc501290322f7c46cb95b5d5beaddbb7c6e77d15250680690ee1ce6
['bc6a39f8fbed49caae2858657f98d682']
For everyone who has the same problem and needs a solution: i found it out myself. You must update to linux kernel 3.3.0 to get initial support for the cintiq 24HD. I found a guide how to install the new kernel without having it to compile yourself: This guide will help you install Linux 3.3 Kernel under Ubuntu 12.04/1...
e96aefff93680c72176e76026e95080b2ab815cad1190140365d4c4922b7e972
['bc6a39f8fbed49caae2858657f98d682']
El error esta en el for for (int i = 0; i <palabras.length; i++) { if(palabraUsuario[i]==letra){ letraFinal[i]=letra; } } palabras.length retorna un valor de 5 (indice máximo 4) palabraUsuario es un char array de longitud 4 (indice máximo 3) por lo que al momento de llegar al indice 4 del arreglo palabras (en ...
9739f968a354e62165135b7b070a56df739e4bf78288c0af54c6307945c591ac
['bc6da4a0d4e3404290e1ad8bdf01308f']
Everyone, I made a web application using Vue framework and it says to get a dist file before deployment which is done using : npm run build After building the dist file I put the whole application folder in my FileZilla. Now when I try to open the website it shows just the blank page. Does anyone know if I am missing ...
5a782b496ee80d8cadfbeda9580ef013e807a1651ec0898223117d095241c047
['bc6da4a0d4e3404290e1ad8bdf01308f']
Okay try this I am sure this will work: <!DOCTYPE html> <html lang="en"> <head> <title>Try This</title> </head> <body> <h1 id="fruit"></h1> <script> var fruits = ["bannanna", "apple", "orange", "grapes"]; var text = ""; var i; for (i = 0; i < fruits.length; i++) { t...
72eb66622f57b8e6d0ad04759afe9773c2024614ca1fdc83c95a35c4c220234f
['bc7d0d5ec4624f73a44433d3fd1277d5']
I am trying to access excel files through the django-admin model viewing portal. Each excel file is generated through a seperate algorithm, and is already in a directory called excel_stored each excel file is generated with an ID that corresponds to its model # in django. So it would be excel_%ID%.xlsx or excel_23.xlsx...
b1316bc4940e000393d5cab62da657c4f01511a7605b4586195461d291e95465
['bc7d0d5ec4624f73a44433d3fd1277d5']
Please ELI5 if possible, since i've only been coding for a few days and this is my first program! Below is a portion of my script that is supposed to interpret a single line of input that somebody enters (like "5+5" or something). I have other operations that I want to add later that are formatted differently, which is...
e0a399bef7d3d47ff0c535f1fa77569ab8b0c3857667dfd9ce1c149b8aefe08b
['bc7e3b36764846d7a47530e51c6cfbaf']
Thank you all for your help! The following chunk solved the problem library(rvest) library(dplyr) library(httr) url <- "https://www1.folha.uol.com.br/poder/2020/01/folhas-da-manha-da-tarde-e-da-noite-se-uniram-sob-um-so-titulo-folha-de-spaulo-ha-60-anos.shtml" pagina.web <- iconv(readLines(url, encoding = 'UTF-8'), '...
b6530630ebf8cd5c5f7f58fe8d9bd98084b2291266347a79476ef680a67c8d5a
['bc7e3b36764846d7a47530e51c6cfbaf']
While I was web scraping links from a news site using Rvest tools, I often stumbled upon links that redirects to another links. In those cases, I could only scrape the first link, while the second link was the one that actually contained data. For example: library(dplyr) library(rvest) scraped.link <- "http://www1.folh...
cc4d30eeda8de2d2c0563aa372332938e4a9e32cacdcce6b52483e640dc4b4e2
['bc8257d014064a01803d445adaa6ef8c']
Could it be that you are creating the Adapter before onCreateView completes? I had an issue where I had a function calling getView() and manipulating the the layout elements before onCreateView returned, causing the incorrect view to be used. I ended up sending the inflated view from onCreateView to the function, and i...
2f1f91230d2aceaeeecf8dbc1e791a26a59fab80e9952197b477801fca1f681f
['bc8257d014064a01803d445adaa6ef8c']
After looking at this further, I have decided that the simplest method here is to just change the icon images. Instead of having key icons consisting of a number/background, The icons will just be numbers with transparent backgrounds and a separate, number-less background drawable will be used in place of the Keyboard...
dbe022c4fc7c4b3834a340cdb6e93152cfcd0adc49f5a0dc0c6b76d8915fe278
['bc8d8da6f0ba44858ff70765017622b1']
I have installed chrome on Kali Linux. But It doesn't run. After searching on the internet I found a solution in which you have to disable sandbox if you wanna run google chrome as a root user. According to my research sandbox is computer security box that prevents from executing malicious URL (correct me if I am wrong...
31efebacc76c82af9a23b110f2b410f95904692a5e55bb6ce8ec4b10c42850ec
['bc8d8da6f0ba44858ff70765017622b1']
I have a quite odd problem. At random times my dovecot daemon dies and I cannot receive/send emails while the host is still up. When trying to SSH into the server to see what happened, I discover that SSH is also dead. After a rebooting the server everything works. I have discovered the following: The problem is relate...
63640d3f434f265c92461eea983294f5575727db514f58a0d732c702d8ee4ec8
['bc8f7c932fc545e4a643cf5ccafc3472']
Estou tentando setar algumas rotas filhas na minha aplicação angular 7 porém elas não funcionam, tenho o seguinte cenário: Possuo um base-home.component e um home.component, encapsulei os dois components em modules específicos de cada um, base-home.module e home.module, importei os dois módulos no app.module, e set...
a3647131183043ca227cee06ee425240f8c1992993bfac3dd864d1c6ebba4b8b
['bc8f7c932fc545e4a643cf5ccafc3472']
Thank you for the comment. I'm using the default front page display, with Blog module content set to "Promoted to front page". I checked the publication date and it looks fine. I'm not sure what else I can specify. It's basically Drupal showing blog posts on the front page but the very first one for some reason doesn't...
0daa3ec59f30188623fab6a238895e43151dd3021ca45b0f38d8a3fbeaa3c289
['bc9536360d9d48e294c83b8655fac33f']
If you need to do this operation in a time critical region, the following code is the fastest (using Numpy 1.9 development version): In [1]: A = numpy.array([1, 2, 3, 4, 5]*1000) In [2]: %timeit numpy.array([A, A]).T.ravel('F') 100000 loops, best of 3: 6.44 µs per loop Note that flatten would make an additional copy,...
2a99efe19a34267fa58d73bf5bea39c0e1b591fcc4953a301080944aafe40adf
['bc9536360d9d48e294c83b8655fac33f']
What is the simplest way to create a pxd definition file, which simply collects cdefs replicated over pyx files, without creating new extensions? My case is the following: I would like to gather some extern cdefs in a pxd file (hp/src/common.pxd). I've also added some non-extern cdef, whose implementation is in common....
9a733c1567975f1653136b6d50d6af19456a4d696e35b2b0d33eebae5edb007a
['bc9a4846e74249a0abfdf111087de130']
I have a list of items with buy prices ranging from $0.5 to $3000 and quantities can be bought from 0.5 a unit to thousands of units. Here is an What's wrong with the data? P&L Percentage This is the profit and loss percentage, the P & L Column is showing a profit however P & L Column is showing a loss. The Formula us...
299a838657cb81f6c6e46cbdc3fe9b0adad428079833f74e33d9421d4ee6036b
['bc9a4846e74249a0abfdf111087de130']
If you saw a Pi (π) I have to ask: Do you suffer migraines? Do you have this little neighborhood kid who annoys you asking you for complex calculations (complex for regular stupid people, of course)? If the answer on both is a Yes, I'll ask you to throw that electric drill you must have hidden somewhere.
768c4074a7baf2c37fa6bad0f79a13d9af71a912db4250167dd8c825f5cec00a
['bc9b9d9ed974409e99bfc5f69b541299']
I achieved this using layout xml code as follows: <TextView android:id="@+id/about_text" android:layout_width="match_parent" android:layout_height="wrap_content" android:textAppearance="?android:textAppearanceMedium" /> <TextView android:id="@+id/readme_head...
c3fee45fc9726e3bcb2d60723cf78e51527a3e4435e5f9aa68d0e07d7b9cb82c
['bc9b9d9ed974409e99bfc5f69b541299']
I am on development of my first game. The mechanics is simple: pop bubbles that move randomly on screen. My canvas is a RelativeLayout over Activity. The layout is simple. <RelativeLayout android:id="@+id/frame" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_bel...
d6df35e4413e040d6b8d978e00958c7c912487c5e1a712cd8bc11b38f101a43c
['bca8215363c946028a05fc4ca47de77b']
<PERSON> I'd disagree. Making a code interface designed for usability has nothing to do with YANGI. I can code a good UI or a bad one that does or does not have unused methods, there is no causal relationship here. Having unused/redundant methods, in fact, is bad interface design because it's confusing to the program...
46d97db2809f1f82df97878a851e7614a80f13622bf0d4b689d41655251616b8
['bca8215363c946028a05fc4ca47de77b']
Just say you are a Druid. Say it seriously. Don't tell her like it is a big deal. Just say it matter-of-factly when she or some other person assumes wrongly. I know how it feels like when religion gets assumed as a family trait. If you explain your religion to anyone, don't say it like it is a big deal. Wikipedia page ...
5a0b7620fd53108610ca7b07929d10c135b8062194dfce8007f5bedc5dc2877a
['bcac0df1c2da4a3bbe31edfaed887398']
This is my code : package twitter; import twitter4j.PagableResponseList; import twitter4j.Twitter; import twitter4j.TwitterException; import twitter4j.TwitterFactory; import twitter4j.User; import twitter4j.auth.AccessToken; import twitter4j.conf.ConfigurationBuilder; public class getFollowersIds { public static...
b69ac4a9d6664a9994a6b3566ab6ada05b0983f5a7a28d661a57e90e9a991e56
['bcac0df1c2da4a3bbe31edfaed887398']
I have the index.php file, where I have this code that, when in html code you press button, it sends you to insert data in MySQL database. $app->post('/nuevo', function() use($app, $db){ $request = $app->request; $nombre = $request->post('Nombre'); $apellidos = $request->post('Apellidos'); $nifcode = $request->post('NI...
297e8716598ef32974259471fff6b35d4eabec11c4422db9eec371268e04d14e
['bccaf3d53bb14bb1a454bf106a20b0fe']
You can collect your data first, and print it in a separate loop. This makes grouping easier. In your example: Replace this line: <p><?php echo $terms[1]->name; ?>, <?php echo $terms[0]->name; ?></p> with <?php $my_output[$terms[1]->name][] = $terms[0]->name; ?> to collect the data in a multidimensional array. And a...
ee092725fa2384d6c9ad68b6fc20aed02db5ba70e393727707e89b330e8e957d
['bccaf3d53bb14bb1a454bf106a20b0fe']
You need to remove your action from your own query. Otherwise your function will call itself recursively, and exhaust the memory due to infinite recursion. This should do the trick: // remove our action temporarily remove_action('pre_get_posts','exclude_pages_from_search'); $hidePages = new WP_Query( array ( ... //yo...
fc61b0b9c481ff7e04dd06c1a842c7454bbf5b167415b40c360e03da90f9cc3f
['bcced17e1edd4d909999dc1e2bfbbf8f']
I have some points in my table in mysql . this point is saved in column grid (number) the position in grid in html. i do 2 loop for when i found the points the square be in color blue else i put the square in red but when i change the resolution of navigator the grid change and the point also and it position may be the...
023216f0c550d67b50156f6e4c09257d8ad0b4ed17f172fa23855d73c384ed0a
['bcced17e1edd4d909999dc1e2bfbbf8f']
i have a list of personal loaded in page when i click to an element of the list i display it information ; the click run very well but when i click in a button to filter this list for example to display in this list the developer personal the click to display information does not fire. i forgot to tell you i have done ...
6eb06b41aa1ba5b030762f88a85441d345e5f9c7c813f80fc516b811ea9b549b
['bcd0cd70875044aab9f62a730517b28f']
Consider any $3\times 3$ real symmetric matrix $H^T=H$. Find a $2\times 2$ orthogonal matrix $P^T=P^{-1}$, a $2\times 1$ vector $\mathbf{u}$ and a nonzero constant $t$ such that the matrix $$\begin{pmatrix} P & \mathbf{0} \\ \mathbf{u}^T & t\end{pmatrix} H \begin{pmatrix} P & \mathbf{u} \\ \mathbf{0}^T & t\end{pmatrix}...
efa6d46f83bffe3c910e9a34a13526e2c2a1ed1796644f33fb2d166fc65a4573
['bcd0cd70875044aab9f62a730517b28f']
I'm in the same boat and have been struggling with this! I managed to get my build working by adding the following to the command line args: -workspace [Name.xcworkspace] -Scheme [NameOfScheme] I also had to edit the scheme and add the Pods target explicitly as it was failing the build with Library not found for -...
2175273ba668952b694a6fd1fa490c175a872dc8cf80fadbea02f4d22d381af7
['bcdf397220bc40fc8f9586ddc4c9410f']
<PERSON>, thank you for editing this! <PERSON>, sure, that would work. My point is there is much faster, less painful "fix" forcing Windows to correctly recognize the drive. It seems like OS too much in a hurry, that it doesn't wait for a user to fully plug in a device. That happens for other USB devices too, sometimes...
c0942db738d471451a9257c4d5c82642b2b13f595dc5ff71e098a0f780399461
['bcdf397220bc40fc8f9586ddc4c9410f']
try to paste here the output from `tail VirtualBox\ VMs/Windows\ XP\ (Service\ Pack\ 3)/Logs/VBox.log`, you can also try to download another ISO (like ubuntu) because maybe your Windows ISO is broken, and try to update the VirtualBox with `sudo apt-get update && sudo apt-get upgrade -y virtualbox`
4554ba3039e450c24e107b330d5861b66ffcbfbc4654ba7ea413ff8693141c21
['bcf78b791ff34285969e0ae7cdd66fca']
First of all, I think <PERSON>'s Sticky Footer is great. Very compatible easy to implement. It's here if you haven't seen/heard of it before http://ryanfait.com/html5-sticky-footer/ * { margin: 0; } html, body { height: 100%; } .wrapper { min-height: 100%; margin: 0 auto -155px; /* the bottom margin is the negative val...
47b3e5829eb6f66578fa93ef3497d98413a20831d67c076c986f477309bbe105
['bcf78b791ff34285969e0ae7cdd66fca']
I'm using the following regex to build my urls as follows: ...templates/file url(r'^(?P<slug>[\w-]+)/$', views.template_type, name="template"), url(r'^(?P<template>[\w-]+)/(?P<slug>[\w-]+)/$', views.template_file, name="file"), The first line in here works fine pulling the slug field from the template model. It's the ...
86036e94773a2d7e4b5635e7621758ef4a92bce87d4ebd4d57185dcf5ac81472
['bd0d3a50aae048feab6c04807fe651fe']
I have a faulty phone wall socket which I think needs replacing. I am not very familiar with this type of technology so I don't know what I need. I have attached a pic of the one I have now. The problem is that the wire going into it doesn't click in to place, it sort of comes back out naturally. It was held in by a bi...
07ef7f8e87be9f6f5427938a66a989192ddf0de80770a2add5075cda1f901407
['bd0d3a50aae048feab6c04807fe651fe']
In the U.S. context, I am wondering how colleges deal with the accommodation of students with disabilities when testing something for which "time is of the essence". Consider, for example, a sight-reading exam at a music school. Surely, as much as dyslexia seriously impairs reading text, there must exist an equivalent...
b6b6acf31ea50eb19cc5c8bbb7dacbdeddc657c5467eeca7a3bc24290c60f889
['bd0f50c6f7d94ce5baf93df488aaf600']
Well, in that case, the following might be enough. In a Longest Shortest Time (parenting podcast) episode, a professional clown who is also a dad shared a trick he used during potty training. Knowing that his son favors blue and dislikes green, he put a blue potty and a green potty in the play room. When he knows it...
0fdac3ce32fd40e9109958385b56f098e64cf17731577677bf02b019f5ce2400
['bd0f50c6f7d94ce5baf93df488aaf600']
Move parameter to View-Model and use custom bindings. So You will have no problem with it. Look for this example that were born while I discuss this question with my college some time ago. Demo - http://jsbin.com/epojol/5 Code with preview - http://jsbin.com/epojol/5/edit#javascript,html,live Custom binding from demo: ...
f89c1272f684d1cdf2723a7380e8383582cf38d7490d40c2a3d407c2a19741f0
['bd10213843844890b26f07f0154f538f']
this is my code for in php file from which i recall a refresh php again nd again its working fine but now i have $id which i get while performing some query now i want to send it refresh.php page where some query will be performed then i get result back as return function repeatAjax(){ var arrPoints; $.ajax({ url: ...
f71f2848c29fae21a5292af99d9bd0e3757680173aaef651fe1d9ebe4480e477
['bd10213843844890b26f07f0154f538f']
To get first day and last day of month $date = '2018-01-11'; // First day with 00:00:00 echo date('Y-m-01 00:00:00', strtotime($date )); echo '<br>'; // Last day with 00:00:00 echo date('Y-m-t 00:00:00', strtotime($date )); Output: 2018-01-01 00:00:00 2018-01-31 00:00:00
4a7d2ac423290137043434674cb5e8b602f2a413b10ca2abdf514bdf8e537978
['bd240db546d7430a81a1c703628d9b92']
I'm in the process of redesigning some application security log tables (things like when users log in, access different files, etc.) to address some changing requirements. They were originally made with MyISAM, but don't really get accessed that often and switching to InnoDB and adding a bunch of foreign keys for data...
f0d93614911803b1c59d0eda2856be28743b5000f1c2a155653a16dc5a17a1cf
['bd240db546d7430a81a1c703628d9b92']
The problem is that BigInteger.pow() takes an int and not a BigInteger. Since b is a BigInteger you could do something like: BigInteger input4 = a.pow(b.intValue()).mod(n); but that will break if b is bigger than an int. Your best bet is to use BigInteger.modPow() instead since that takes 2 BigIntegers. Then you end ...
3bc144b10bbe1a967e335485f8ace42b213b61ac5711ed0e76154246754a431b
['bd249428abbb446f8d07973c57bea9e6']
My OpenVZ (debian) host environment has only the minimal packages installed. Now I was irritated to see a mysqld process in top when the mysql package is installed and running only in one container. So I killed it and saw the service down in the container. I can start it there again and everything is fine. But - was i...
874c1a6fae9849011aea95477f224c541e41024762e1e25d6269e0fabd4fd01b
['bd249428abbb446f8d07973c57bea9e6']
Given that you've tagged this with django-admin, I'll assume you're wishing to save the User who is modifying the object via the admin interface. (You can't really do it in your model's save method, because it doesn't necessarily have access to a User object -- e.g. what if you're saving an object from a shell interfac...
cdf3ada50ee5c4b6cabb7818e576f200581e76d88cdf34006ea87100e49e3b7c
['bd25ef3dd90a46fda8f06d5317d803fb']
You could write your axaj call's success function to build the DOM elements from the json, then insert them in your form. But I think an easier solution is to send your ArticleController<IP_ADDRESS>editcategory() data ($articlecat_data) to an element that will render the form elements you need. Return this HTML to your...
0483ae2c2e5526f23795af761b9979ac7d480611c6233d463205aeccb24af971
['bd25ef3dd90a46fda8f06d5317d803fb']
You can actually create new widgits—or any new DOM nodes—using javascript. Consider this jQuery snippet for a random project I have laying around: $(this).replaceWith( '<a class="remove" id="' + $(this).attr('id') + '" href="' + webroot + 'shop/remove/' + $(this).attr('id') + '" title="Remove item...
7ac7f25e90b140c917daa9b60061f255852bc4eb0f587ca33678ae673972f128
['bd3065549f9a4204a0db61a143a50fdb']
I don't fully understand what you want to do, but I assume that you want to run those queries in loop and wait until all finish and then log results. If those queries need to be run in sequence. async function runQueries() { for (const item of jsonObj) { item.procesa = await data_mysql.vertodo(item); } ...
e117699b2600c51d955ed7a2a7c472a90f3d1912fed9b1c0f18d060386527eb6
['bd3065549f9a4204a0db61a143a50fdb']
You can achieve that by using Custom Callback in passport.authenticate(). router.post('/login', async function(req, res, next) { passport.authenticate('local', function(err, user, info) { if (err || !user) { return res.redirect('/login'); } const devices = await Device.find({ ow...
8cda9dc89cc723aa22e2c473432db9893a7b99ff81f9d22ba04b11b2bef60d3d
['bd38d12870774f3dbb0e5852c121a365']
You can replace any starts of the input that is followed by two straight digits in this manner: String[] input = { "1ST MTG-HAZ @230 MAPLE WAY STREET FLOWERS, WY 23042", "230 MAPLE WAY STREET FLOWERS, WY 23042" }; for (String s: input) { // | start of input // ...
1ee53bb4148afc3d1ff52f6c9028ea1727a7c55983a38501f68d7a729ecc6ee8
['bd38d12870774f3dbb0e5852c121a365']
Just a thought: your context.getAssets call throws the NPE (possibly because context is null). I think that's because you did not put Dictionary dictionary = new Dictionary(this); in the onCreate method actually. I would expect it to work (provided the file is there) if you put that code on onCreate, after super.onCr...
ca416a2de8c03ea08877e6a1d2ca035cfe3342fbc1ccacec8c383236ea0a9efb
['bd4b26241d684c6dbfe6ef8e5d1542c9']
I am setting Linux Hopping Station to another different servers. My current config to connect to another servers is using different port to connect. e.g ssh -D 1080 -p 22 <EMAIL_ADDRESS> ssh -D 1081 -p 22 <EMAIL_ADDRESS> Now what I would like to have to share the same port from the same box. ssh -D 1080 -p 22 <EMAIL_AD...
421715bb137ea579d94570117492731252ee83e67c29bf7bae40f3caf27ce644
['bd4b26241d684c6dbfe6ef8e5d1542c9']
`Boost.Spirit.Karma` is a good tip for performance, but beware that it has a vastly different methodology that can be tricky to adapt existing `printf` style code (and coders). I've largely stuck with `Boost.Format` because our I/O is asynchronous; but a big factor is that I can convince my colleagues to use it consis...
7b8a9ebd37cc9a5a65399545b3baec4344f3de1ee139869ee2b989a6c9a516c3
['bd506de268fd47eeb46c1df6dfcec668']
Some background --- I have two tables One - table lists all the entities in the system , the other specifies the relationship between the entities Ask -- The ask is looking at the tables can we chart out relationship for each of the child entity to the parent. -- What I have done CREATE TEMP TABLE rell AS SELEC...
a1f5fd928e259da5f947bd8d7da14f627fd065ade48e79bcba0046905d840895
['bd506de268fd47eeb46c1df6dfcec668']
Ok So after much struggle of searching the internet and trying out multiple options here is what I have come up with , it took a lot of time to understand the details but I think I have found a solution. Maybe it will save people of the trouble that I went though. I will try to explain as I go -- Initialise variables ...
d6ae9f1fc58b2094a135a3f505041c491e78a2f7714c317e9a256b4878aee69f
['bd7204da53b04b4fb3e65c0a51e08703']
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { NSArray *listData =[self.tableContents objectForKey: [self.sortedKeys objectAtIndex:[indexPath section]]]; NSUInteger row = [indexPath row]; NSString *rowValue = [listData objectAtIndex:row]; NSString *mes...
2f8d1b4110eaa68e456fa86ab4e77e403860e2a71aa37cecf62d776e8758e405
['bd7204da53b04b4fb3e65c0a51e08703']
Not quite sure what you mean. I'll input a bigger block of code, that might help. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { NSArray *listData =[self.tableContents objectForKey: [self.sortedKeys objectAtIndex:[indexPath section]]]; NSUInteger row = ...
b2f5f8332149592ccbb577b93e0c14b2a6ff2656c0968653d590c1c1fec235b0
['bd7bcd35d4354ff7bffb91a37f82f9f1']
According to ArchWiki: Tip: Compression can also be enabled per-file without using the compress mount option; simply apply chattr +c to the file. When applied to directories, it will cause new files to be automatically compressed as they come. Very nice! God bless BTRFS! Also, from the BTRFS wiki: Can I force ...
dcdb35ddf12db14ac73f15ad48b5532be30d823eb35c0d5b84e52363e3ca5b48
['bd7bcd35d4354ff7bffb91a37f82f9f1']
I would like to pass a url like a query param to a proxy if the user agent is a crawler. I have: if ($http_user_agent ~* "googlebot|yahoo|bingbot|baiduspider|yandex|yeti|yodaobot|gigabot|ia_archiver|facebookexternalhit|twitterbot|Facebot|developers\.google\.com") { // Get the request Url, such as http://my-page.com/f...
229df9e06541950fc6621b54cc1b6d83c7daf4dbee1434aa1f07516e199decaf
['bd7c535c38b043dba368451a27702b1a']
Olá, <PERSON>. Com o trecho de código abaixo você conseguirá ler o conteúdo de cada versão de um arquivo dentro de uma biblioteca. foreach (SPSite tmpSite in tmpRootColl) { foreach (SPWeb tmpWeb in tmpSite.AllWebs) { foreach (SPList tmpList in tmpWeb.Lists...
b83d49497f4bd15cc472fded9c1344f0f006373318cd0d36131b6d7d1d43922b
['bd7c535c38b043dba368451a27702b1a']
I am a newbie in developing wp themes and having troubles showing my cpt. I added new cpt in my functions.php file: // Creates Testimonials Custom Post Type function testimonials_init() { $args = array( 'label' => 'Testimonials', 'public' => true, 'show_ui' => true, 'capability_type' =...
63284b5e22f81d016396249625519c6fca6cecc49fa882e99fca3415bbef6bc0
['bd8e720c65644c989db2278e6d06071a']
ViewPager will initialize two fragments minimally. ViewPager allows us to set setOffscreenPageLimit(), but it require at least 1, so it will initialize first and next fragment. Read more here ViewPager.setOffscreenPageLimit(0) doesn't work as expected Try to invoke code in fragments by setting onPageChangedListener(...
1d27de1e7192e379fa6c1b3761f883da543ab19e622158f5e16ffca74640ff3a
['bd8e720c65644c989db2278e6d06071a']
Try this code: public class MyTextWatcher implements TextWatcher { private String oldText = ""; private String newText = ""; @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { this.oldText = s.toString(); } @Override public void onTextChang...