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
10321f2e6d15845e630e116cf01d9faddf1acb36b77cb0dba57dcc40533089ed
['af88a89eb55d488eb0f7387674f1c273']
On my main page, I have 3 links (images). Like a portal. This is what i want to make: When you click on one of the links, you zoom really far onto that one. So far that it filled up the full screen. But I dont want you to see whats in that page yet. Example: http://prezi.com/0ehjgvtr9fzu/?utm_campaign=share&utm_medium...
30961f5f6fdb8b298f3eb7258a1ca65b171e8baf57e79f00132db540746666f6
['af88a89eb55d488eb0f7387674f1c273']
I would like to get the usergroup from my database, and then check if it is 2 (which would mean its an Admin). I currently have this code as setup: Login.php <?php //process login form if submitted if(isset($_POST['submited'])){ $username = trim($_POST['username']); $pa...
2c8bdcfa598418912bc7da997379d42d3f6bac714b669809c2472fc20ee3810a
['af98939327df44f8841adfc5ae621b26']
Installing HTK: I went through a very very tough time installing HTK on my computer. This documentation will be helpful in installing it on any other computer. Prequesities: You should have a visual studio installed with c++ distribution. (Don’t just download MSVC). Download complete C++ distribution. Download HTK Sou...
4fed00f9aee1c54013efd7719c8e3022689caf6494683d4367ee98c8bb5c8292
['af98939327df44f8841adfc5ae621b26']
There were three main issues with your code. 1) You were using "I" instead of "i" which resulted in an error. 2) Your print statement of hex_calculator was out of the function. (Indentation error) 3)You were popping the elements so actual your list was blank before you passed it into hex_calculator. Your code should lo...
35e48a664dbf7f84c71da9b7118efcfbc0f9774509c258195217c3d9220a5c00
['af997b1430ae4641953b81b7d2cd8e05']
remote: error https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz: Integrity check failed for "loader-utils" (computed integrity doesn't match our records, got "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA== sha1-xXm140yzSxp07cbB+za/o3HVphM=") remo...
682ae2d2091c87dcc9150780933b6349bb412522d46ca2278a8c7d0df44d908c
['af997b1430ae4641953b81b7d2cd8e05']
I'm using this active record query it was working well @deal = Deal.where('city_id = ?', city).where('deal_date <= ? and end_date >= ?', today, today).where('approved = ?', true).includes(:city).last After I updated to Rails 4.0.2 I got this on my browser: near "SELECT": syntax error And the following error on (web...
ef18d28b2b372ae150157651271e70c88d17ce8139ff34f6717eee964eb238fb
['afb477a3903e424db497f3fbfdce5772']
@Tim High availability would be nice, something like 99.9% is good enough. Cost is certainly a factor (I'm a poor plebeian student), but having good performance is more important to me than slightly higher costs. The user will spend most of his time on a map (I'm using Google Maps JavaScript API), so it will be highl...
b519b040486e0c4e8d51fb40b8f4f578d12deeb1bab9636e4c6faa20031aa284
['afb477a3903e424db497f3fbfdce5772']
I am using PGTune to help tune my web application using PostgreSQL 9.5 Some background - The web app is a real estate search site, with up to 200 active users during the day performing fairly complex location-based queries. GeoDjango is used to host the site. My question is about tuning work_mem and max_connections. ...
1476bac9b73ec6e5be861e72f212f988bac51f81a6c4543b7a220846dc5d6072
['afb57c5a4dd044c6a5bae1e601205c58']
These warning messages implies that you are not getting the result in "$ejecutar". That means your query was not working. There may be some issue with your connection variable, check it again. For testing, you can print the $ejecutar directly as : print_r($ejecutar); This will return the object result if it does not r...
8e4721b0996a1b1fdb24ea7cd0a7b2f945b469812b34ada6505761348f38cfd7
['afb57c5a4dd044c6a5bae1e601205c58']
From reading your code I think you have unnecessarily provided the $counter variable.Try this modified code: $attributes_list = []; foreach($features_cuts_list as $k => $features_cut) { $inner_counter = 0; if ($features_cut["selectedid"] != "") { $title_to_get = $features_cut["features_cuts_id"]; /* Gets the n...
60cdd7d184d48942916268b8b8323b372862795d49c74b282f7edddd9b1a700a
['afc1b3b17c2c47a29dedb0c8ff41fd39']
Sorry! The first one, from $Imd*_{i+1}=Kerd*_{i}$ we do not have $Im(d*_{i+1}\otimes 1)=Ker(d*_{i}\otimes 1)$. Could you explain it more than that? I think that it is equal. The second one, I just wanna ask that it sill be called cohomology or not? I mean it is cohomology or homology because when we take the $Hom(B,-)$...
f4224bb973a6c73e528fea2ec72ca550190f79853e0fcac98872d9b0b976b053
['afc1b3b17c2c47a29dedb0c8ff41fd39']
Доброго времени суток, господа. Предварительно хотелось бы уточнить, что c js особо не дружим) В общем такая ситуация. В коде где-то прописана функция, которая отвечает за автоматическую перемотку слайдов. Был бы очень признателен Вам, если бы помогли мне в поисках) jquery.cycle2.js: /*! carousel transition plugin f...
227c81ffa93f860685861191febf4797331e85a0f0aed828568e65c12899670e
['afc98c95386640fda2c053875281f66f']
Also, I should have mentioned that I am at a satellite branch in a different state from the main corporate office where my team lead is. I had no choice but to use email or a phone call. I spent a lot of time on the letter trying to make sure it contained the correct reasons for why I think I deserve a raise - how I he...
473054cb38db01bc4315e622bd2ff6d405d58c1fd880bd3650cced780ede6d07
['afc98c95386640fda2c053875281f66f']
Yeah, there seems to be something different about mobile versions of Chrome and Firefox. I tried testing with the special test URLs that work with desktop Chrome, but they don't work with Chrome for Android. Special Firefox test URLs also don't seem to work with Firefox on Android either. There is a bug on the Chrome b...
102411d16c630a364a1482ef4786bae8f06edd3691d8530af2988107441e3c81
['afd7c8dc3a004ca6902f636d23022cdb']
I am facing the same issue. What follows may not be considered an "answer" by some people, but may lead to an answer I think and I've never seen it mentionned on the numerous web pages complaining about this issue : I've noticed that when you open the pdf not with Preview BUT with the built-in previewer from finder (th...
11c1d04b008375596ac9ef4ff472770aa66be84b9aa31913b51d9ce04bf2fd9e
['afd7c8dc3a004ca6902f636d23022cdb']
You don't need any extra modules to do what you need to do. Just edit your new content type and uncheck Published in the Workflow settings section. This will make all new posts of that type unpublished by default. Then, as an adminstrator, go to the content list at /admin/content/node and set it to show only items wher...
548e0866c6e5405bc79028e4913f832244cc96b092090a719f3b4f0c84933bdc
['b0143c2a56cf49019f5d1bc0996be894']
For about 3 yrs i have been using a jam/jelly maker. After a few months of storage, the strawberry&raspberry discolor. I do follow the canning bath directions. The only thing I do not follow is I decrease sugar to 1/2 or 1 cup (vs directions of 2cups). I have tried bottled lemon juice as directions say. Still discolors...
ce2a666cb3bfd9ff7f6af013ebacc06b65883c67eeb53d05c626765fd91d517d
['b0143c2a56cf49019f5d1bc0996be894']
Thank you so much <PERSON>. I will consider freezing. I’ve never put glass in the freezer before, but worth a try!! I do the boil bath, let them cool, unscrew lids to make sure the seal is good, then store down my cool basement. And the jam thaws good? Hmmm.
f77312ff1cc6474d77346fdf3647595df6bbb24097d0ec1676fe7a91465836f0
['b01a8fc2c57a404ab7226a7dd82f7372']
I have to show list of courses and their information and when users click on the course name, they will be directed to another page which shows more details for that course. So I am using $_GET and $_POST. So this is part of the code in my first file: <tbody> <?php foreach($courses as $data1) {...
3de78d14e1a2f03dca92abacd2fb4dd5d92f1ce20ae38d3ff7e651857c8a1648
['b01a8fc2c57a404ab7226a7dd82f7372']
If I have generic_call: function(path, params){ this.fetch( path, params, function(data){ this.last_results = data; if($('#log_to_console').is(':checked')){ console.log(data); } *...
c5f4b082c40b28171701e6b02c1805adb3e187c88abcc4d09f4890dccffdb927
['b02175c105084fd7977090d7df84e8b7']
I can not post comments yet, so have to do it this way. Two things I can think off: You say you remove the child from Robots list. So it seems strange that you encounter null values in the list; unless the remove implementation has a mistake? Is it possible that inside the ENTER_FRAME while going trough the robots, ro...
9023a6ef0a060bf67be39c5f1ba6fb6ac02a866842c208d0a01e39c1a0f1b619
['b02175c105084fd7977090d7df84e8b7']
The FocusEvent.FOCUS_IN event contains also a reference to the interactive object losing the focus (relatedObject property). In your code you could change: textbox[i].addEventListener(KeyboardEvent.KEY_UP, k); textbox[i].tabIndex= i; to: textbox[i].addEventListener(KeyboardEvent.KEY_UP, k); textbox[i].addEventListene...
a56f7879f061b6d3b44b0117cae24863d1e9811aa9ccbb58323bf212bd3056e5
['b02244f9f8e74b06a31cc2ba97b76565']
I'm writing a simple website using Flask. When I added time field to the Td class I got sqlalchemy.exc.OperationalError sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) table td has no column named time class Td(db.Model): id = db.Column(db.Integer, primary_key=True) text = db.Column(db...
1cc861f4741aa177583c5cf81bb770657c5d302c369f89c781977cd7ddddc97d
['b02244f9f8e74b06a31cc2ba97b76565']
I have seen this thread, but I wish to convert, say poetry, into a wallpaper. (something more advanced I suppose) Poetry is usually long, and in order to fit it in one wallpaper (fullHD), there should be some way to break it down into columns, creating a new column, once the height of the image was exceeded. Is there a...
ad693d49f507037793eeadaf0da4c70841f85d2998072129e714a98bf5f06664
['b02a62d25bb94437955d7cae697f1f60']
Consider the two equivalent functions void foo( ) { if( unlikely_case ) return; // foo code } void foo( ) { if( !unlikely_case ) { // foo code } } Obviously, the compiler can't decide which case is more likely -- but I know ahead of time. I feel that I should structure my code...
af350b412d79793a609cdab6451cee4aed720e3fef0ca8b466ab18b21e14ac7a
['b02a62d25bb94437955d7cae697f1f60']
Should I take nttp functions by reference or by "value" (implicit pointer)? template< auto fn > struct c { static constexpr auto functor = fn; }; vs template< auto & fn > struct c { static constexpr auto functor = fn; static constexpr auto && functor = fn; // maybe? }; Or does it not matter? If it is comp...
cf8f7652bf6ed5e87e502f04c51ca27f0d30b8ba5954be0fe5fc5bdcdb5d64f9
['b02c06631a354ec6b855479c0420168c']
I wondered the same thing. Ultimately, whilst I agree with the general consensus, I wanted to see how it could be done, because I've been in a similar situation myself, where Windows Services were not available to me. All I did was create a new job which, when executed sends a HTTP request to the application itself. Fo...
99b95250e8a5e806cb1e773e93cddf1374ee9d62f68abd8af62c6a57b3c38ce1
['b02c06631a354ec6b855479c0420168c']
There are several UARTs on the Raspberry Pi and at least 2 are connected to GPIO pins. So yes, you can connect one of the UARTs on the GPIO pins to the wifi access point. Just make sure that the wifi access point uses 3.3V levels and not 5V levels or you also need a level changer.
2c6a89bb58b1524df34741f1dd9ee733e1b562a05d1f32f53720e0d5e57362a2
['b037195cbdcc455498bed971439f4414']
Dim connString As String = "Data Source=NameOfMachine\InstanceofSQLServer;Initial Catalog=NameOfDataBase;Integrated Security=True" Dim MyCol As String = "NameOfColumn" Dim MyTable As String = "[NameOfTable]" ' or "[Name Of Table]" use brackets if table name contains spaces or other illegal Characters Di...
bcae099b353adac53bf7c1fc2ffd0547909db64a598477f61a7ad9c811f896e1
['b037195cbdcc455498bed971439f4414']
Imports System.Data.SqlClient 'Reference The Sql Client Public Class Form1 ''Make sure to change the connection string below to your connection string this code only works for SQL DataBase. If Your connection String is wrong This will Not Work Dim connString As String = "Data Source=Nameof...
74b1cd838a1edd4c7891eef589af396ea844a9da613195ddc029c8bdb33aed8f
['b0472d80d80d4081a78bd53ef767d939']
try this code mDialogyes = (Button)mDialogyes. findViewById(R.id.yes); mDialogno = (Button)mDialogyes. findViewById(R.id.no); mDialogyes.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(Intent....
e392b2553ecad5bce66a713898bb92989eafc0dcef42b91405a5e94bd9870a61
['b0472d80d80d4081a78bd53ef767d939']
Try this // pass HashMap from one Activity Intent intent = new Intent(this, AboutActivity.class); HashMap<String, Boolean> map = new HashMap<>(); map.put("var",true); Bundle bun = new Bundle(); bun.putSerializable("map", map); ...
05086f48abaa9e4bbfe0c580f2f5783942678b8bc4cfae104c1c47e558bafed0
['b04d2d058b984d36ba474c209311b1c7']
The working version of the resize function is as follows: function resize( parent, images ) { // The largest height seen so far. var l = 0; // Loop through all the images to // determine which is the tallest. for ( var i = 0; i < images.length; ++i ) { // Create a variable to hold the current value. ...
9405179c0b5f4d3539f8665e860720d3a065b119ca6abcba1afed4b33620abb4
['b04d2d058b984d36ba474c209311b1c7']
I managed to get combineLatest to work, by actually subscribing to the resulting observable. Originally I was doing this: Observable.combineLatest( db.cassette_designs, db.glass, ( cassettes: CassetteData[], glass: GlassData[] ): void => { console.log( cassettes ); console.log( glass ); }); Now I'm doing this:...
ad5aae89ffb64c77ff365e757d9e4300f32453742a639a636c751aafdf13fbea
['b050c7ddf6d14d4f9ed0685a75a34ddb']
I'm trying to read in an excel file (.xls) via pandas into a data frame as follows: df = pd.read_excel( filename, sheet_name='Sheet1', nrows=6) Unfortunately I get an AssertionError. However if I open the file in excel and then click save, then rerun this works perfectly fine. I've not changed any data, just o...
b63613f5ed5fdd97441e016a2cd3cd7f978a3a5fabe0b4a8ec0123aabed06b06
['b050c7ddf6d14d4f9ed0685a75a34ddb']
Programming Problem. I have a starting volume (in MW) and I need to reach a target Volume (in MW) in a specified amount of time. The ideal solution is to generate a linear line between the points to calculate rate required. However we can only go from the starting rate to the target rate using specified ramp rates: Ra...
19dc621c537ff80f6d87ac5c6a999e31649c83025a0a04682d52c45e1358715b
['b05404a04f7d4b2c940c793893b4e2cd']
This is how HTTP live streaming is designed to work. It will progressively choose higher or lower quality streams based on the strength of the internet connection. If the connection is not fast enough the "last resort" is to continue to play audio but no video. The only way to recover the video image in this case is to...
8fc2478bdca6ad7df94c4a58728b7f289e3f5b9903f1679ab89dde95a324138e
['b05404a04f7d4b2c940c793893b4e2cd']
Your view controller that you are changing to probably is not returning yes to the following function for upsideDown -(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation { } if your destination view controller does not already have this function in it you'll want to add it and ...
29d88eb19dc4ee5883da0c1b027d96aee52eed9c0381e28ba4a0a4e0343e5d9a
['b057f139a3d94c698ed11572d4597cf0']
You can't avoid postbacks, ASP.NET works with them. When you click the save button, the page does postback and the Load event fires. In that event, you have to rebuild the page as before you clicked Save (put the textboxes). If you don't do it, the textboxes aren't there no more and no text can be saved. Edit: gives un...
9fb2d09b66b3e2e0f4a15fff3b1e60e029db5f9b08be64d7191a21dd5db08f45
['b057f139a3d94c698ed11572d4597cf0']
Here it is how the class should be: public class Storage { public int a { get; set; } public int b => a + 5; public int c { get; set; } public void Met1() { this.a -= 10; this.c = this.a; } public void Met2() { this.a -= 10; this.c = this.a; } p...
dea937b60648cfdf43b6197b2ec54a234155027a3523e4065a34e44378be1bef
['b07c2f2c1c8d4561abc4802a80fea221']
I need to remove a range of elements from an array but I can't figure out how. I tried this for loop where start is that start of the range and end is the end of the range. for (i=0;i<n;i++){ a1[start+i] = a1[end+i+1];; }
209219ae2e00eff2d3b7cf0314409d2b9445ce3eb551ae961740c17be0049846
['b07c2f2c1c8d4561abc4802a80fea221']
I need to remove a range of elements from an array but I can't figure out how. I tried this for loop where start is the start of the range and end is the end of the range. int main(void) { int n, n2, i, start, end, index; int a1[n]; int a2[n2]; printf("Enter the length of the array#1: "); scanf("%d", &n); printf("Ent...
ba50b3a03635a10e3d5703874a78e3076427da8f7d84b817bca0578bf5caa7af
['b082358d7eee4d4fbe0488bc80c4b3c8']
I'm not countering your answer, I'm accepting it. Now in my case the entire /etc directory is empty post fsck and there are around 300 file fragments dumped in /lost+found :( . I've decided to reload the OS as manually getting everything back is not worth the effort. Thanks.
510a888d2343cad1f53c29164dc5b032b8fcaf044c0ee4ccd6bfdada4b359573
['b082358d7eee4d4fbe0488bc80c4b3c8']
Hmmm...It did not! I tried on another laptop, that could not find MBR. I formatted it and made it bootable via another program ("Universal USB Installer" this time) which warned me during the process that an error occured and drive may not be bootable. So looks like the drive has developed someproblem (though data is a...
d7d7b2e8646ce8877f26d1588e45e0a3e0cbd2e405fbac6a1ae6813e6ae0d76f
['b08dcc1c715d467383e96f53162b106f']
I've looked things up a little bit more and couldn't really find the exact solution matching my problem on a Dell-Laptop but I've read of some people having similar problems with toshiba's batteries and finally found a way to get mine correctly detected. All I needed to do was add a kernel parameter at pc-startup. To d...
8a099dc6871ca723d7efa2347b54db9eb926f0d1654d3d5cbd5bb113eba7bb31
['b08dcc1c715d467383e96f53162b106f']
I'm running Kubuntu 14.04.1 LTS AMD64 on my Dell Inspiron 14" 7437; it is a fresh and fully updated installation. What happens when I turn on my PC without the power cord attached is that KDE systray battery icon shows the battery as "not present" even though it certanly is; then if I try to connect the power adapter, ...
e0b3d80611e070d22d9ced795e1931c97fe2b23ca9adefe0dc8b00abd0ec1657
['b09179d1a5f1434d82c9eecae6b8927d']
I have a rails app hosted on Heroku. Part of the app involves writing some data to a CSV and then renaming the file The code is pretty simple and looks something like this CSV.open(file_path, "a") do |csv| csv << some_data end File.rename(file_path, new_file_path) When I run this code in the rails console, the fi...
3767b627cc35d21c18237180db34f4bfbcc11876b4b3ca68fb6672b26f4b55f3
['b09179d1a5f1434d82c9eecae6b8927d']
I'm currently using the example data on console.neo4j.org to write a query that outputs hierarchical JSON. The example data is created with create (Neo:Crew {name:'Neo'}), (Morpheus:Crew {name: 'Morpheus'}), (Trinity:Crew {name: '<PERSON>'}), (Cypher:Crew:Matrix {name: '<PERSON>'}), (Smith:Matrix {name: 'Agent <PERSO...
aab4072e70ea98e91f58d588bdfb1aba6b3b358902e68efd9e899d2c2e5e7909
['b096058e75b54ffba4ac92aea661ac18']
The solution was to avoid using data-content but instead pass the html string to the popover call as a value in content <script type="text/javascript" language="JavaScript"> $(document).ready(function() { function getMessageAjax(uniqid) { var notes = ""; $.ajax({ type: "POST", ...
70569fc07e52230a9434bf7fe6ab96d60efcdead563fd35b72b4f67410e85071
['b096058e75b54ffba4ac92aea661ac18']
I use the feature of selecting a year with a dropdown. I use it to set birthdays of people at least 18 years old. So far it works perfectly. I have set it up using theseg parameters: $('#datepicker').datepicker({ changeMonth: true, changeYear: true, dateFormat: 'dd-mm-yy', ...
cc53f6dd0ee881fc01d954eba0d3b0ee1e54e0836b8fac113bfed8791d730c4f
['b0e1c444f670454b93e28a49b774bdbb']
If I understand your question correctly, I think using filter from the dplyr package is a good bet. Determine unique values for third column: levs <- unique(data$broader.condition) Filter data for a particular condition and plot: require(dplyr) fdata <- filter(data, broader.condition == levs[1]) plot(fdata$LOS, ...
fb1baee7372231f08437fa5643a7051e8b573769026092ae590fee1c8b95786f
['b0e1c444f670454b93e28a49b774bdbb']
While I never solved this problem initially (turns out I didn't need to) I just happenned on this (4 years later) and the answer seemed apparent to me. One solution would be to use the logit function to transform the input (in this case, 0.5 to 1 would need to used rather than 0 to 1, but this could be scaled as well. ...
6afbb96f7e37b820e970e8bf83295005304f4bc105b9ca758ca2ccff8a2bc117
['b0e50c77e0b74e68b9197a4ded49086f']
I have been working on a Cordova project for both iOS and Android. As part of the project as we will need to build a number of projects from a basic template. I have done this by creating a template for the actual cordova project and also as part of it I pulled the cordova-ios-master code base for when we add the iOS p...
5ce3fe98fc567a99dd167e985acf36e187bc05766f964d6f8c9c4749500b1b37
['b0e50c77e0b74e68b9197a4ded49086f']
Most of the time you can just do "save as", Flash seems to keep a few copies of your library for your undo history and forgets to strip this out when you do a normal save, doing "saves as" will reduce it massively, Ive seen flash files go from 300mb to 500kb using this technique.
35b38973510702ca2f4d2dc15aab40f7bcd7f37ca48aabdd3839f576b63a961d
['b0e597f719734526872868e981a857ff']
We have an application here which is using postsharp to wrap certain methods within a transaction aspect derived from MethodInterceptionAspect. We use NHibernate 2.0 as an ORM for the application. There is a failure within this block of code, public override void OnInvoke(MethodInterceptionArgs args) { using (Tran...
14f964eded3c8660393eab1357cf25ab7f55f6e3a948fd71804640554a41112c
['b0e597f719734526872868e981a857ff']
I've got a situation here where I have a central selenium grid hub, and several RC's running on my gogrid account. When I access it to run tests, it basically queues all the incoming test requests and executes them serially on only one of the RC's, instead of spreading them out to use available RC's. The tests come fro...
c59b4c6571b72f98d15555bd1733ec10e498ef4384c3010c62906db94da49dde
['b0ec551c89cd41eda11207884630b5dd']
This is straight forward with dplyr's case_when. I am not sure if it meets your need of "one line of code for it" though. month <- c(1,2,3,4,5,6,7,8,9,10,11,12) df <- data.frame(month = month) df2 <- df %>% mutate(Quarter = case_when( #Quarter 1. month %in% c(1,2,3) ~ "First", #Quarter 2. ...
0d8003b4f95af056e842be8f7b159a9f75bb9b6edb4b02404f203457e9830ec6
['b0ec551c89cd41eda11207884630b5dd']
I need to perform some rowwise operations with the help of pmap variants but I can't do so when it comes to passing the list of arguments (that is the ".l" argument) to a function that's nested within another function. I've tried various things including passing the name of the arguments and the dot dot dot syntax all...
46ac6ec32f4249f9861dd95860ccae45437894b3b0945cdecc7416aa9398f79f
['b0ecf8fa78904c44a4adae80b73c05ab']
For anyone looking for this in the future, get the V8 source: https://code.google.com/p/v8-wiki/wiki/UsingGit and look in src/messages.js. They're right at the top of the file. You'll have to do a search for the name of the error to find it's place in the source code though. On linux or in cygwin, you can use for exam...
4a9c32e19f75d0ef306848708fc4b77546a02b56baaaf5706bdb89a35124c03e
['b0ecf8fa78904c44a4adae80b73c05ab']
They say optimise for time, so I guess we're safe to abuse space as much as we want. In that case, you could do an initial pass on the 10000 strings and build a mapping from each of the unique characters present in the 10000 to their index (rather a set of their indices). That way you can ask the mapping the question, ...
79d62c7872aac3e272b5c6f3f0b06c43e1e3b137a14c8ab256056b2e160633ed
['b10b2544e698458f813e1fb13e3bb443']
so I have a div with navigational links (set up using ul/li and a href within the li's). Below that I have 4 other div's. I only want 1 div shown at a time, they will then switch based on the users selection of the navigational LI's I've used a similar setup on a different page, and have tried to port it over to my cur...
eeb214fc43e880493df90a3b1f7e5f4e3e3930b746487628ed47da0be0cee57e
['b10b2544e698458f813e1fb13e3bb443']
I believe this question has been answered before but unfortuantely the answer provided isn't working for me. (I am fairly new to Jquery/Javascript) I'm using this jsfiddle #1 to try and solve my problem. Here's my HTML: <div id="EU-selector"> <p>For EU:</p> <div class="dropdown" id="arrowdown"> <select ...
2c7cdf4c8214a634b935db2234d0354c10083eab9eb5f03fae29ad24aa09878b
['b10c635f332c429fb25d166a8e3e5d05']
It seems that this in the msgbox callback isn't an element (in other words, the img variable is an empty array. Try to put the var img declaration right into the onclick listener. $(".btn-delete").live("click", function(){ var img = $(this).closest(".galleria-image").find("img"); Did it help?
38b5f6d1ae1b06a48663b693bd3da79c446f40456b4739f050e7c1bbe48ff6e7
['b10c635f332c429fb25d166a8e3e5d05']
Does $myArray contain string data? If so, the json_encode function, while not context sensitive, prints the double quotation mark, which ends the onclick attribute value. You can fix it either by using single quotes instead of double for the onclick value or (better solution) use PHP function htmlspecialchars. <a href=...
09240945911529134102177a80a939d438b309aeb1a957e6086814a9eada6a38
['b117acf4dfc14ff7b8dbc2f9c87873eb']
Cannot reset a stack with following use cases. Let assume Screen A is a root, and navigate to Screen B, Then while navigating to Screen C, I want the stack to have A->C instead of A->B->C. If a stack has A->B->C and I want to rest the stack with root screen as C. Please help on this use cases
c980a4212d1c2abde33546ef5bbd8786a00fd22b0f0d01af4911786bfd356421
['b117acf4dfc14ff7b8dbc2f9c87873eb']
I need to set the checkout repo path for the GitLab runner to the docker or other machine instead repo machine. Is it possible in Gitlab CI/CD? Example: Repo path - https://xxx.gitlab.com Docker runner machine Name - XXX_Runner Check-out repo-name needs to be - smb://XXX_Runner/Users/XXX/builds or anything maps this ma...
d127ee05fa230e27d89ada6abad92a288b1cc313799480a6ba9b10a8d717e7e0
['b1198d1f77a04c379b6b2984d5224c5c']
You could workaround the problem by not using the ssh protocol with the git server, but instead the git or http protocol. One reason for the above message can be using a folder called "ssh" instead of ".ssh" (note the dot). Some colleague of mine experienced that, and this can easily happen when using Windows explorer,...
8a69b1a8292095c2ce931a9d66cbce28cdb35ae2f0cfb1116791e9951a6e0df2
['b1198d1f77a04c379b6b2984d5224c5c']
Throw away your selfmade view, implement the console factory extension point instead to create new console sub windows in the existing console view. Afterwards implement the console pattern match extension point to find and link text segments in the console output. Implementing a full view in Eclipse that behaves like ...
15989137a7a3f68dfe0019bd48e59439f16383adfac6eb9f88b6e0e34f8b0733
['b12df3572fb747eea3655e87c158d8e0']
I am trying to have something like the image below in my PHP page. (The links are in the comments. I was unable to post them here properly) Once I enter the keyword and hit the "plus" it should appear in the table, along with the color to the right. The sequence of colors will be predetermined. If I enter a keyword aga...
57eca6dc0a17c92fa2228821b5e6fbc0346d8f4ed4135a74de988f84819a17d5
['b12df3572fb747eea3655e87c158d8e0']
I have an R script that takes in a dataset and a list of keywords. It then creates a plot based on how many times each of the keywords occur in the dataset, and saves it as a png image. Now, I want to make the keyword list dynamic, i.e. I want the keywords to be user inputs. Somehow, in the environment I am working in,...
1d0206db52766f233ed3577eee5c0538806c5dd7e77384d650884cb5aa2bc71c
['b1400f67251344c4985bc9baf7ab8c3b']
No, the proof has a flaw if you have assumed that a1 to an are bases of A and a(n+1) to a(k) are bases of B because it is very well possible that they have some common bases, and so you need to eliminate the dependent vectors and re-state the statement with the remaining bases as a combination of bases of A and B.
26616ff6a2aa6b09b8c06d2599162e3095b12bd5bae0e0bb89493bf6d1edbd0b
['b1400f67251344c4985bc9baf7ab8c3b']
I know that the solutions of linear differential equations can be added with any scalar coefficients and it is quite easy to prove too. What I am not able to understand is if we have an equation as follows:- $$\frac{du}{dt} + a\frac{du}{dx} = \mu_2\frac{d^2u}{dx^2} + \mu_3\frac{d^3u}{dx^3} + \mu_4\frac{d^4u}{dx^4} + .....
383b3838d7b807e2a943629ae8b4e362b7a4cebc64246b04725f57c11e291b8c
['b14a88eb8f6f41cc99b629299d5a543d']
I'm messing with the Linux kernel (4.14.0), specifically the page cache, but I am unable to trigger the page cache writeback mechanism. I thought that all file I/O goes through the page cache, but the code for writeback doesn't seem to be called. I inserted some printk statements around page_check_dirty_writeback() (mm...
df835599fb5b34790ce38fbeae75e2b86b052fcdc6f26a316e3947e810ca50a7
['b14a88eb8f6f41cc99b629299d5a543d']
I am trying to write a C library, and, in short, I need to maintain a cache between the application and underlying non-volatile memory. Linux already does this with a page cache. It would be useful for me to use this instead of creating my own cache. From what I understand, the OS periodically syncs the contents of the...
dba34d60421cee60edf01eb75998aec07e734d8d3dc5e5bfa24e13f5278b3c1c
['b1556cadfde844d08017cdaaec3e48d1']
to be clear on your points. **1** Only use html in the page text edit window? **2** In my case, the added script (see above) in the page text edit window does not appear to be stripped since the new feature/plugin is functional when viewing the page outside of the editing mode. **3** I'll have to experiment with the pr...
62982d006b6387b14a7294b367ba4435daf477638ce1db33378d8485e88dcdf2
['b1556cadfde844d08017cdaaec3e48d1']
Here is what worked for me. I disabled it in Firefox add-ons (Tools, Add-ons). It would not let me uninstall it, so I closed Firefox and searched my entire c drive for babylon. I came across a folder labeled babylon and deleted it, as well as a .jss file. Once those were deleted I started Firefox again, and it was gone...
5669974302534de1ac63f42b4b59eb6a452c7d1a57d40cce2128dbb2b44cfe78
['b1687a159d514321bce81899d5f48073']
thanks for the quick response. If I'm understanding correctly (and borrowing heavily from the cross validated page on TOST), I run t-tests in excel hypothesizing a difference of +/- delta, where delta is my chosen limit in the same unit as the mean, I get a t stat to which I can compare to the 't critical one-tail'. I'...
cefd46a62cd9c37201a90a328218da695c9fcc1c8d741af9110dd969d0c3a92a
['b1687a159d514321bce81899d5f48073']
I have fixed in-car install of a Nexus 7 (5.1.1) using Timur's kernel. For years this has been working fine - turn on ignition,and the tablet boots straight to the home screen (or last activity it was doing). I only take the table out to charge every so often, I DO NOT alter settings - I'm happy with them. Now, suddenl...
9a9a1e1675238bbdadde4ec06786f5b63fc762be3414829676e96f3e9983c063
['b172713d45b243999ded87a6c8ce09b8']
Is it possible to change domain name for images like for example, here is path to my images: https://example.com/public/-path-to-image is it possible to change it to for example: https://example2.com/public/-path-to-image but still serve images from example.com? I want to hide real path so that users see example2.com i...
ee1b6573c25e4b50c28a52c0553eac71cf98adcd2eab3618ef72018cd0e91ddb
['b172713d45b243999ded87a6c8ce09b8']
Guys I want to add shorted links from ouo .io to my wordpress site. I woudl like to use their API: You can also use our simple API to shorten your link. The below link will generate a new shorten link and print out in a blank page, it is very easy to inject this API to your application. http://ouo.io/api/WYTlzR4X...
52003678260352625c50c6310cd323d285a20ef55698783bce4af5cfb789a31a
['b17a9682d82d4860ac2ecdb600950bf8']
I'm very new to Python, so I apologize for any mistaken terminology. I am trying to use matplotlib to plot data that I get from a CSV file. I've read that matplotlib only accepts timing data passed to it in the format created by strptime(). My problem arises from the fact that the time data is given to me in the format...
314fe8c4e8e94a685883f9a540a0e60141ee01653411a7df09d3cc3ae0fb6c1f
['b17a9682d82d4860ac2ecdb600950bf8']
I have a csv file with ~2.3M rows. I'd like save the subset (~1.6M) of the rows which have non-nan values in two columns inside the dataframe. I'd like to keep using pandas to do this. Right now, my code looks like: import pandas as pd catalog = pd.read_csv('catalog.txt') slim_list = [] for i in range(len(catalog)): ...
b9e7923dbfd1a42fee6c1943a5ca22987d8e7c4b08253fff835f43639d0e3f95
['b17ae07944164724903948b40c64d58d']
Thanks to <PERSON> and <PERSON> for pointing me in the correct direction. I'll answer my own question since I've figured out how to do this. There are $9^{d-1}8$ integers of length $d$ that don't have a single number (e.g. integers without 2 in the decimal representation). The smallest of these is $10^{d-1}$, so their ...
370c43e48ca08309f0871c781fbf448d55d0d4466cd8ebb7eadc17d863bee6b8
['b17ae07944164724903948b40c64d58d']
The hint given is to look at the <PERSON> expansion at every point in space. It's not immediately clear to me how to proceed with this. If I calculate out the equation of the tangent plane at a point $(x,y,z) = (a,b,c)$ with $$\nabla F(a,b,c) \cdot ((x,y,z) - (a,b,c)) = 0$$ where $F(x,y,z) = 3x^2 - 2xy + 2y^2 - z$ and ...
9ac6c62e6ab2e5bafc76b1e19f55ca4f63334daa332399c15b8452e1d80aa1f6
['b18aa9bfdcda424795d66808bb1c6fe2']
What do you actually want to return to the user once the application exits RestJsonHelloWorldFlow1 flow? I think as <PERSON> said your problem is the tag. I managed to solve the exception by removing the tag, and convert the payload into an object exactly after the HTTP inbound endpoint. Config XML <flow name="Rest...
24ecafa4f05f6cd007bdc062596a7be72af07e0e47d424775751b5d577133fb8
['b18aa9bfdcda424795d66808bb1c6fe2']
Solved and thank you I changed BodyStyle to "Bare" So my serivce interface is as follows: [OperationContract] [WebInvoke(UriTemplate = "AddNewLocation", Method="POST", BodyStyle = WebMessageBodyStyle.Bare, ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Jso...
10150ddc51d068c0492350cf75b0100d88ea8469859b43bf77a3fb97a7f30ce6
['b1a52c8e20fa48b08bc7e5bdbd0b1146']
Since line numbers change as your file evolves, it's better to insert your new code before or after existing string expressions. Inside your template generator, you can do something like this: inject_into_file 'config/application.rb', :before => " end" do "\n config.logger = Logger.new(config.paths.log.first, 50...
b2336df16cb2c1223fe5e97c1c6506faba77460f2675716075843ada99799cbb
['b1a52c8e20fa48b08bc7e5bdbd0b1146']
Assuming you mean configuration data for the application, here's what I do: I create a config/app_config.yml file with my config information, like this: site_name: This awesome site support_email: <EMAIL_ADDRESS> Then, at the top of config/application.rb (right below the first 'require' statement), I add this: # Load ...
4aa6337d7b8818c5641e7f34026f26224e4b4a9f7db6ae1e1129a88d8efa953b
['b1aa70a5bf0849c7948902afa8da6573']
I'm currently developing a website, one of my first bootstrap websites. Facing a problem that I've been trying to solve for a few hours now. I'm placing a divider or separator that I made in photoshop (png image) on the edge of a section. It looks like this on desktop size: https://www.dropbox.com/s/qxf7dheb0k79q2b/Scr...
924aaae03957ab7ff087b2ee98d5358e7231226c314d26e527a4c4f59a711b27
['b1aa70a5bf0849c7948902afa8da6573']
I am having a bunch of problems with pointers and dynamic arrays here. I have a function that I call, that does a bunch a stuff, like removing an ellement from the dynamic array , which leads me to reallocating memory to one of those dynamic arrays. The problem is I call functions within functions, and I can't return a...
f82acda9d9ff59f052c1613b016d39ff6967ace9b209a0280e1dd8e8425b34cf
['b1b086b08ecc4b488e653c11e9b4c10e']
Still top result in google, but for me the solution in a loop was to use a control code of `\033[2K` which will erase the current line.. All i had to do was prepend it to my print statement. This way you only clear a line before you write to it.. Works well in some situations.
02f8ff3e7970e47f6843f1fef961ae89fb5e62af3ddd60993f1e78db76869460
['b1b086b08ecc4b488e653c11e9b4c10e']
<PERSON>'s answer is great. Here it is in javascript: function hexToRgb(hex) { var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); return result ? { r: parseInt(result[1], 16), g: parseInt(result[2], 16), b: parseInt(result[3], 16) } : null; } function map(value, fromSource...
26033c5307c01ff2520ebba8def16e3c7e22a368609d90f913e6342afc0bed94
['b1b4df739c8d474fbada2cd2d8df4b03']
хочу на весь хостинг или на конкретный сайт установить ограничение по IP таким образом, чтобы при обращении к файловой системе с признаком "ЗАПИСЬ" (т.е. пытаются записать, загрузить или изменить какие-то файлы любыми каналами, через любые порты, кроме браузеров и порта 80, 8080 и аналогичным им) высылался email на поч...
7890e794347670be1c3099493733c7f4f4138f2b2523d1d0b7fbd90b006d9cd5
['b1b4df739c8d474fbada2cd2d8df4b03']
I have Ubuntu installed on my system. Now I have a project to do using Visual Studio in C#. I want to know whether I can install Windows inside a Virtual Box and then install Visual Studio. Will I be able to develop Csharp application in a virtual environment? Will the Virtual Box support the running of Visual Studio s...
c2c10a7e896cf0001fa659f40afaa3fe34670b6e0c29b35631e468aecf493f3d
['b1ce5c64e14e4cebb7a76b3a6c642feb']
when i click search no result come i tried to search by name but no result i used filterable but i dont no the reason only recyclerview all name appear in activity not the name that i selected i tried everything and hope find solution for that RecyclerView.Adapter <ClientAdapter.ClientHolder> implements Filterable{ ...
8f2c149fca7dc35d450db1269224dfe4eb4b0012ef807d88abd1f164738368b1
['b1ce5c64e14e4cebb7a76b3a6c642feb']
now i am trying to get my current location but i cant get it only one location 37.4219983,-122.084 this is location from any where i cant get my true location and this is my code private void getDeviceLocation(){ mFusedLocationProviderClient = LocationServices.getFusedLocationProviderClient(this); try{ ...
04c2834204c751541f57e8a35104c5a6e7bc72a49ba9f83b6f0840f8ffcc6b00
['b1d5173e6127497fa1010153aab7d367']
I am trying to set my environment variables for the Apache webserver as it is not the correct Perl package. I followed the recommendation of one of the answers on Server Fault for updating the httpd file and adding the environment variables and it still isn't working. After I updated the httpd file I bounced the httpd...
b7bd543f8000a9b3b66827ef6e8c91f58fd02f0348afc47ea936f13f704b25a6
['b1d5173e6127497fa1010153aab7d367']
Thanks. Ok I don't have that file under /etc/httpd. I'll see if our SA might know? That link wasn't too clear for me. Okay I'll work on setting the environment variables in the CGI script then. Was thinking it was just something we could set just like in the bash profile for all users.
d48a919436b923088f7ac2e13d55e5aa81151402a81af9467fa48c8523e8bbbe
['b1e09e5b9cac43dbaf084217a91d1956']
While populating Tree Grid data using ejDataManger, CRUD actions will be handled using inbuilt Post (insert), Put (update), Delete requestType irrespective of CRUD URL’s. So, no need to bind ‘removeUrl’ for deleting records. And, in the provided code example parameter is passed in the URL to fetch data hence the report...
25e9457b6707f80827654200a7249ad48d0e95cc9d9737462a44e8e29d3a8eaf
['b1e09e5b9cac43dbaf084217a91d1956']
By using “refreshRow” public method we can refresh the specific row in TreeGrid. Please find the code example below: function actionComplete(eventArgs) { var treeObj = this, //To get the index of newly added row addedRow = treeObj.model.selectedItem; if (eventArgs.reque...
80bd2987cef5827f9f3d5eab84484855dac0951fe33306a0c762be594bfd3fdc
['b1e5d8bc77b54705a1df6dd734bfc71d']
I'm using the BEST package in R as a proxy for the frequentist t-test to measure the difference in means between two groups. However this process is VERY slow, and will simply not converge for the tests that I am trying to run. Is there another method that can work for this? I'm mainly looking for a Bayesian equivalent...
3d127b5b99c2289a8b42a9abed55f1f5f4c41a9abca33496a72f26c087278920
['b1e5d8bc77b54705a1df6dd734bfc71d']
Interesting. That sort of "rule of thumb" from your newspaper career is the kind of thing I'm curious about. By the way, the app already downloads only the right resolution for the device's native res, and it's stored locally. It's not meant to be fully offline-capable, but it does try to be a little clever about thing...
b13dd3a3ca669cae8e97c8c45a4e537a161b383b84595dc48c3bad364b50aa94
['b1e6c18ec11c400fae03c0b5bb520b35']
The issue is it doesn't work! Things may have changed over the years. I tried putting media queries inside the selectors, at least Firefox complains its an invalid property name. Here's what MDN says: The @media at-rule may be placed at the top level of your code or nested inside any other conditional group at-rule. ...
c539c84ebdc34ac46947b2971390378b4c309da3b000a1c80b141099eeb19a59
['b1e6c18ec11c400fae03c0b5bb520b35']
Thanks. I noticed some strange behavior: initially all the variables in `/etc/default/locale` were set to `nl_BE.UTF-8` except `LANG`, which was set to `en_US.UTF-8`. The command `sudo update-locale LC_TIME=en_US.UTF-8` did what I expected. But when I tried to set the regional format in the Ubuntu settings window, `loc...
fcf1a2ff275d498785c518cb04fe2bd470e6cdb1ac28f3478831ebded8a25ff2
['b1f33b03261c4b0fb08853ecf480655c']
I have a list of sequences to be found in the sequencing data. So I run a for loop to find the match sequences in a dataset, and used Counter() to get the maximum sequences. But I found the Counter() function would add previous loop data, not as separate one. ls = ['AGC', 'GCT', 'TAC', 'CGT'] dataset.txt like a bunch ...
264335eadf1aa35a1bf8c12825a6e9e595730b32818d0f28ec0b10127ce4a553
['b1f33b03261c4b0fb08853ecf480655c']
I download sequences and want to handle the data in python. The first question is formatting the sequences. The sequences like this in below. Each sequence begin with ">", and the protein sequence is in the separate line. Before align the sequence. I need to get all the sequence (strings) for one line. I have tried "st...
48a94ba7009a6058d96f6dceda7cc928bfeda809b7d610b924fa4fd8084fa6eb
['b1f3c9a238ab4786a604c8585ed01816']
I have put G729 library files in my android project but that codec is not shown in GUI. I have try to find G722 for reference but there are so many files for that. So can some one help me to get exact location where I have to add code to enable G729? Any help or suggestion would be appreciable.
7bddddd454a9a87bbb1ebcffd93a1cce10cbca4da9596833b7d2d426137a1fa9
['b1f3c9a238ab4786a604c8585ed01816']
I am using angular js and using and I want to reload grid after every 5 seconds. My angular js code for build grid is as bellow: App.controller('NGTableCtrl', NGTableCtrl); function NGTableCtrl($scope, $filter, ngTableParams, $resource, $timeout, ngTableDataService) { 'use strict'; // required for inner references...
babf68f231dbdf217f8d5ce1190242af517e5974eb5cea4285e0127e585a2547
['b1f766c1444e4e34b4ea12c92521c613']
I want to dynamically generate the field names inside a iteration over a queryset. obj = tblFoo.objects.all() for obj in queryset for item in array print obj.item The array has the filed names for the tblFoo using obj.item gives an error the key doesn't exists, and using a string like, 'obj.' ...
86577fe47b66e49ec28b9878b7e4c0e337c43627bb321960e30ecb64f8d23a2e
['b1f766c1444e4e34b4ea12c92521c613']
Ok here's the deal, I need to get data from Github API say gists from multiple repositories. I don't want to save any data, should I implement streams or is there some other way? in either cases what are the modules I can use to achieve this? There is a per hour rate limit for the calls to the API. Also how should the...
6b4c1ee05112596c49f2e76faa23ec768a79977ad4a896f31ea9bfe021c7e541
['b1fb2eb8d1b942319f22dee6c000cf30']
I've just recently installed the latest Android SDK (Android 4.1 API16) and the latest Eclipse (Juno Release). When I open up the sample Android projects (via File > New > Project > Android > Android Sample Project) I get a bunch of errors in the code for many of the samples. Most of them are "The method ** must overri...
556b5c7d0696e0fcbcd243b7d358678f80d4c4ef9fe0ab777bd21601b12f0431
['b1fb2eb8d1b942319f22dee6c000cf30']
Is there a way to use Xpath to parse text between two SETS of tags? For example, see example: <div class="par"> <p class="pp"> <span class="dv">1 </span>Blah blah blah blah. <span class="dv">2 </span> Yada yada yada yada. <span class="dv">3 </span>Foo foo foo foo. </p> </div> <div class="par"> <p class="...
b56118eebb40c3d592ef54db3a3aa582a65b0510c8a9e05e5cae3b622f22c993
['b20916ee979e4137a5849df60dfb741b']
I am using the SeatGeek API to pull some data for sporting events. The results of the call I get show 145,000+ results returned in the metadata: meta : {u'per_page': 10, u'total': 145419, u'geolocation': None, u'page': >1, u'took': 7} in_hand : {} When I look at the "Pagination" section of the API documentation, it...
3a3264833de93aacaabb0ec68573c61a549c335d3b79de36c8ec88d7b80513a9
['b20916ee979e4137a5849df60dfb741b']
I'm trying to write a pyspark df to Snowflake using a function I've written: def s3_to_snowflake(schema, table): df = get_dataframe(schema, table, sqlContext) username = user password = passw account = acct snowflake_options = { "sfURL" : account+".us-east-1.snowflakecomputing.com", ...
fca3129d1510413d72e0437f6b8b7c460100701ee6a5e5cd75313e0af1685c51
['b20e091f732c44a9ad04b8f659118969']
I have been using sails.js on a project which will show posts near a users location, however while I have had no trouble in finding references and tools to geocode an address I cannot find any information on finding these by distance from another set of coordinates, the way you would using regular mongodb. my places mo...
bb7388bf4793ec16c830fd755ad48ccdd448b4a6552bb4cd636443760b56d55f
['b20e091f732c44a9ad04b8f659118969']
I am getting this error from mysql: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long) *pi()/180 / 2), 2) ))as distance FROM wp_places_locator dest having dista' at line 1 when using this query: set @orig_lat=121.9763; se...
bfaa8a3469169a56c9041664153c076e7d9478bb996200f32c9c1240b884019e
['b215632900324f3bbd70bcb929de59be']
I have an app which has 2 activities. The main activity has a list view of items. The other activity is a form to add a new item, which will later be viewed in the main activity. Is it possible in some setup phase after first launch to generate a key pair from an entered in password and then use the public key to en...
0a8b5a8ce6f2dcd0edfa6d5217b444bc1b6c697a3b02141e68eacebcc2f3f5c2
['b215632900324f3bbd70bcb929de59be']
I have an application that downloads data in a background service and I want to be able to update an activity UI if they are currently running the application or trigger a Notification if they are not. How do I know if the application is currently in the foreground? I could register a BroadcastReceiver inner class in t...
73ac998314c6bcbb9e15db3f5cf1595f96b5346db7dccf478c6fc03cf4c30448
['b22090e97e9f474880d9257684a2f60c']
The "error" pylint reports on PyQT import is because since PyQT has some C++ or some C in it, pylint cannot easily and automatically introspect the PyQt module and determine if your code correctly imports bits of that 3rd party module. To solve that, there is an plugin project to pylint called pylint-brains into which...
56d6c072d5b6e8d3b3dd4c1173599b292610a6ae274dbc7a61441700e2f7c703
['b22090e97e9f474880d9257684a2f60c']
I am importing some RDF dumps into Virtuoso Open Source edition (6.x). I was wondering if there is a performance difference between importing different serializations of the same data (I have NT/N3/XML available). While I'm at it : has anyone seen import performance differences when using Striping on a single disk ?
aab700fecbd3d5f273913579cea847892c7b8109d8bbb27c4755c1dd18981f46
['b236538f5698419ea0b3affbeace9d69']
It's right below in the doc link that you provided: You may customize the error messages used by the form request by overriding the messages method. This method should return an array of attribute / rule pairs and their corresponding error messages. So, put this in your Request: public function messages() { r...
632120357e532d5619d5a22d27ee920be4975d7ad4f739e5c5e94543c7dd95d9
['b236538f5698419ea0b3affbeace9d69']
Well, I think your going in the right direction. Definitely a boolean field (a flag) private for the model Party. I wouldn't create a groups_invitations table. Rather, when a group is invited - create an invitation for every user belonging to that group. I think it's just easier that way. As for the users_invitations t...
d4d77504e121a35eedddb9912138890e6fd4bb4622c49b4777cb8af9705cdc78
['b241b3ea4459494389e024b2c7c37698']
I know this question has been asked in a variety of formats, but not QUITE my situation, so I'm asking it again (sorry)... I have a Docker environment on my Windows 10 machine. There is a file on the remote Docker "server" that I want to copy to my local Windows machine. I can open a remote prompt to my Docker Contain...
86b4a532221ee0db213a8e79599cb731b74a48cee527e144129e4ee22ffbb436
['b241b3ea4459494389e024b2c7c37698']
I'm trying to build an SSRS report where the dataset is "presented" to SSRS through the application (Microsoft Dynamics NAV2009). The concept of the report is simple - it's a list of pieces of equipment - computers, cellphones, etc. The table has a "related to equipment" field. So Equipment ID "CELL01" may have a "R...
6fae98432ef96f294a0abe74c8b734d8ec5f56414eb12462003f8f40675dd5e4
['b288964bec9c417bad66c2f2bd4c4f0d']
Thanks for responding. I have solved the issue by matching the installer with qualifications to the role requirements, and establishing a count of the number of qualifications per installer that matched. This data was then matched by role and count of qualifications required. Eg: role has 2 qualifications, and that is...
a81c38ceb3fce7f10dedaab9793e7320e43cac49c331a06166d411aa9da4e935
['b288964bec9c417bad66c2f2bd4c4f0d']
I have been struggling to find a solution to the following. I have a list of installers, who possess a variety of qualifications. The installers are in on table, and the qualifications I am tracking are in another. Currently there are 12 different qualifications, and each installers can have between 0 and 12 to their ...
25524145a7ea3d269db8a11c64bd79054f6a46063036e3b765cd4ee4a77c6ead
['b2b3eb71a2b3428bb378cccafac79503']
I generated json file in the following format (Hope that it will help you) : { "countries": [ { "code": "+7 840", "name": "Abkhazia" }, { "code": "+93", "name": "Afghanistan" }, { "code": "+355", "name": "Albania" }, { "code": "+213", "name":...
83fff8d2de00b9dc271d0d11592afa28b9916f9b81484ccf024d4315f2139875
['b2b3eb71a2b3428bb378cccafac79503']
I am facing with Unit testing for the first time and I would like to know what is the best approach for the following scenario. I am using Mockito for the tests. The following test is for logic(Presenter) layer and I am trying to verify certain behaviors of the view. App classes The method of the Presenter that need to...
25c2af661bcbe13e98e7384712aed04f84156e9919ca15048c33e653ecccd117
['b2bf336c4df44bd79fbccee75fa9f2a0']
I follow the example of https://ci.apache.org/projects/flink/flink-docs-release-1.0/apis/batch/libs/ml/multiple_linear_regression.html but in the example the fit function only need one param,but in my code , fit require three params, mlr.fit(training, fitParameters, fitOperation); I thought fitParameters may be a...
dd6ddb796bd8c2b628fc88f1b8c5da824bed1e6450749e9cc5b27fa82459e4c9
['b2bf336c4df44bd79fbccee75fa9f2a0']
I am using jmx to monitoring kafka topic. val url = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://broker1:9393/jmxrmi"); val jmxc = JMXConnectorFactory.connect(url, null); val mbsc = jmxc.getMBeanServerConnection(); val messageCountObj = new ObjectName("kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec,...
45450bd3d133f0df0af487fbc233349b91bc3ae22c15fd3aa6d30269f33f713f
['b2c1699e3e674c2c97a8d2e4c3ad2b1d']
I have a USB stick which has no drive letter assigned because its only partition is encrypted with VeraCrypt. Before removing the stick from my computer physically, of course I first dismount the volume in VeraCrypt. Now since the device has no drive letter assigned, there is no entry for it in the removable media list...
8952ff8f1f198fa4d5b90c96a2f116c7bbf4a109932687298744e0b7f6a3dd1f
['b2c1699e3e674c2c97a8d2e4c3ad2b1d']
I'm not sure how much similarity there in the errors but I get the error below using hurdle(). Error in solve.default(as.matrix(fit_zero$hessian)) : <PERSON> routine dgesv: system is exactly singular: U[1,1] = 0 In my case, the error happens only when I specify the weights=weight_var. Using a normalized weight (we...
4eff160d12b7bfd4eb085627d58598bf92d557ade3713993b84c93942c1661c2
['b2d3308087d8462a88cbed190371bd25']
In my winforms project,for a particular form i have nearly 10 controls for firstname,lastname,age,Occupation etc..(including textbox,dropdown list) and a SAVE button I have created class representing data source for these controls and implemented validation method in the same class which takes of validation for each pr...
aa63fb0ca436523f6c3901a5c363062b640c1cd8357ad6b8afe1cf32a8df98f0
['b2d3308087d8462a88cbed190371bd25']
I have sequential steps needs to be executed..lets say: step1--once it is done--execute step2 step2--once it is done--execute step3 step3--once it is done--execute step4 step4--once it is done--execute step5 step5 These steps need to be executed without UI blocking(calling async).. Need your suggestion how this can be ...
cf7c71cb12f59e2158e2196e3b2ab32a22f60a73b14c1ddc38f38f8ed674cccd
['b2dd4c22dbea4033887294fae40cf8a7']
I got the following XML content <root> <node1>Hi from node 1</node1> text not encapsulated in node <node2>Hi from node 2</node2> <node3>content....<node3/> </root> The question is : how to get all content before node3, even those not encapsulated in a node using XPath version 1.0 or 2.0 ?
e8ab38088fbd61e93e9ba26775d6dc78aea44c79802fce0f1cd5eea7d5809769
['b2dd4c22dbea4033887294fae40cf8a7']
I am trying to transform a table to a csv file then download it, but I faced an issue while using Blob to download the csv document. The code snippet I am using to download the csv file is: var elem = window.document.createElement('a'); elem.href = window.URL.createObjectURL(blob); elem.download = filename;...
652c015370bbb63c05a6ae0c79ae5d3a5d57d303cf4d81e82f9c887431bb7f9f
['b2f139ea15f74337a0dfa454b861a56a']
Though an older post I though I'd glue my own answer to this question as I bumped into the same challenge earlier this year. I wrote a library for the handling of PEM keys, encryption, decryption, signing and signature verification. There's an complete example solution attached to it (Load-Encrypt-Decrypt-Save), so you...
b06840afc33cdb9dcfd8c1f2b44acc4cbf91740d06e7e0579ad0a3b753861164
['b2f139ea15f74337a0dfa454b861a56a']
Old post, but maybe it will help someone anyway ;) In my case I got this every time I examined the first variable while debugging. Annoying as hell as I due to the nature of the work restart the debugger often. This was cause by that the location where my Visual Studio 2017 files were saved, was a cloud drive and it ac...
774f9be9594d3dc6756cd5f2ac2c6a4fe1c2a30926a523ddf6451b0dd21c3d74
['b2f4f48a523e4dcf93eeba899290de23']
I started a new job in a company that loves using the word, "enterprise." As such, everything they've written is in Java. I come from a very web-development heavy background, mainly working with LAMP stacks. Now, up until three days ago I knew nothing about Java other than people used it and that it is a programming ...
9f8fa309fd6e2f64b0af4e0c1eba701b34023cbf91aa1c7ec8c06925fcf20673
['b2f4f48a523e4dcf93eeba899290de23']
Добрый день. Подскажите как можно прочитать файл (любой. текстовый, картинку, исполняемый и т.п.) и записать прочитанное в переменную. а затем, записать из этой переменной обратно в файл, что бы получился исходных рабочий файл. я приблизительно понимаю что нужно выполнить двоичное чтение файла, но вот как именно сохран...
6d476640a5604147bc7e76a6b4fd221437fb1da55c09d2a1cb03d92fc4a27a56
['b2f576fd04e1490088794eef2954ee18']
ok. I'm a complete beginner. Do I put the zener diode and the small transistor in series, both in the receiver, and that will let me: keep my range without dimming the LED, and prevent LED blow-out from the LED getting too close to the transmitter coil? (again, I'm a complete beginner (so please treat me like I'm stupi...
6d96ab92ee64573a47e3cf803c0034a47e88fb02c0d0ddfca188f6261802b590
['b2f576fd04e1490088794eef2954ee18']
I had the same issue with my 2006 MacBook 1181a after I upgraded the router in my apartment and installed an extender. I tried everything to no avail. Then I went into to admin page of my network and changed my password and it is working just fine now! Hopefully it will stay that way. I had only numbers as my passcode ...
2ff7d0ee7f008f2004c8ad9847394dd585d6fc95515b0620c4c10c7a85127186
['b30a30c614204bb89d6b10c3b6109470']
I would like to darken the background image of a div with filter:brightness. It works well but obviously it darkens the whole div, not only the image. How can i do to darken only the background image with CSS ? I would like to have some white text on it. Here is my code : #about_header { background: url(../img/ba...
560be2d64de2cfc9ac4bb1888b16e9bba71953281b7c9d96e34efc20822972d6
['b30a30c614204bb89d6b10c3b6109470']
I would like to append a hero image into an HTML section. But the problem is this image doesn't take the whole page as intended when it is wrapped into a section. For exemple <div id="home"> <div class="text-vcenter"> <h1>Reunion Qualité</h1> <h2>Meeting Manager</h2> <svg height="10" ...
0d0fd343a5fdae1d01c6e4b82bdffc7bcb187d7d73e30f4d8f02630edfb7cb02
['b3279f96f77d49f6a05747d3de9327b7']
I got it working. As mentioned above, underscore was causing the problem. It was quite silly on my part that I did not check that. In C# code aid was declared as long. Since string with underscore cannot be deserialized to long I was getting exception. I copied the xml response from Facebook into a xml file then did xs...
356052c42e5e591bdc919a8ab1e619e75e637fa15fb3d8af3bc14df661152f41
['b3279f96f77d49f6a05747d3de9327b7']
I am trying to write a facebook app using Facebook C# sdk 5.1.1. The app should let the users to upload a picture to a Facebook page. I was able to write the app where only the admins of the page are able to upload the picture but not users. Even if the user has liked that page I am not able to do it. I know its possi...
de4cb7dfd932e43baed89e1e3b50ea4215b46d3844ed71ab6f6bc40bbe6c6833
['b330a18d46534ece9b63a80d75b94177']
After doing rs.initialize() on two repica instances (aws ubuntu 16.04) and mongo 4.0.1 I get the following SegFault which I assume happens during replicaset recovery. Is it a mongo 4.0 known issue? Thank you in advance Stack trace is as follows : W NETWORK [LogicalSessionCacheReap] Unable to reach primary for set rs0 ...
14ce4fa1c1450302a24802ef3b804fa6579453b2da32e54bbcd3df90c9a3b281
['b330a18d46534ece9b63a80d75b94177']
After posting on the Highstock forum and consequently having an issue posted on github, I found that it was because of the default value of the gapSize option. According to the docs; gapSize : Number Defines when to display a gap in the graph. A gap size of 5 means that if the distance between two points is greater ...
c3391df8a9041d3c99d99a66a0460c2a586637068e6976aeb9f87e9d0cd45480
['b33c081776814bac9d037cbff3fe4be3']
Well, 15 million rows isn't incredibly large by today's standards. I'm pretty sure your main concern should be hardware. Get your hands on as much disk performance (SSD's) and RAM as you can. Another problem that you'll probably have to deal with is the sheer number of queries you can handle at a given time. It's like...
af9613d55ce0e347b61011c4ae03ea14875fffa6254acdf846d012d42a4550de
['b33c081776814bac9d037cbff3fe4be3']
4k phones are still new in the market, but I suppose it's only a matter of time the tech becomes more widespread. Should I be concerned when it comes to designing responsive websites? Is there any other unit of measure that I should use that's not px to avoid issues in the future or are my worries unfounded?
d02d5aefece7965216f65742f48aef06f9c333374d353d86c70b39ccb5f6a1c2
['b356ca048c75495ab3ff9f9878b91539']
I'm using EF6 with Visual Studio 2015, database-first. I would like to add a navigation property to the complex type generated for a table-valued UDF, using the (int) value of one of its columns. After a couple of hours tearing my hair out over this, I'm starting to believe that this is either simply not possible, or t...
568f464263e58260fd69b1a03f44c8a2e518b1d0a42f4d1057918ba2a808f499
['b356ca048c75495ab3ff9f9878b91539']
I'll post the answer instead of deleting it in case it can help someone else. Or maybe someone will post an improvement or correction. This expression causes EF to retrieve the data using a single SQL statement. var userRoles = cx.Users.SelectMany(u => u.Roles.Select(r => new { userID = u.UserID, roleID =...
de71b1f4c847f4775d5112e709563ac8a55eaeedd3852cd8445e585c93d54f49
['b3610f088111419287cdc809108a44c6']
Im new to command line stuff and I was trying to install Homebrew in order to install gstreamer on my Mac. I was following instructions and got to the point where brew doctor gave me a list of errors about the things in /usr/local. After reading that OS X doesnt use that directory I rm -rf the directories in local. Sin...
d386fac20adb509aa5f9cf4f6afe7e45687f4d19ed668a67fa9b1efc77079b07
['b3610f088111419287cdc809108a44c6']
В таком случае сразу выполняется main() И бот в итоге не работает. while True в конце кода заставляет бота переприсоединяться к longpoll. Если этого не прописать и бот не будет никому писать в течении ~25 секунд, вся консоль IDLE будет в ошибке через ~25 секунд, что удалённый хост разорвал соединение.
a25200ebd46708bf7dacd346e4ff5ac1650a15b352cf03f58f7f0cfad202bd4d
['b377e050468d4c5e93c6e779207aae16']
<PERSON> **if** is a big word. Using $n! = n(n-1)!$ leaves one chasing ones tail: to understand $0!$, I need to understand $(-1)!$. If we use $n! = (n+1)!/n$ then we can make sense of this through permutations: if we know how many ways there are to arrange 5 people then we can find how many ways to arrange 4 people by ...
74dc250e32ce7bd4845df85a426fff06a3c9951532963793d13d33c2912f6402
['b377e050468d4c5e93c6e779207aae16']
also, the average damage of a 5-th level lightning bolt dealing 10d6 damage is 10*3.5 = 35, not 30. You can't just halve the maximum result, since that doesn't take into account that you cannot possibly roll less than 10 damage - since all of the 10 dice you're rolling will grant at least 1 damage each.
7616fca0ffec55730f89540d92035c3e985855bfe1d5d195b26764070a8c823f
['b378571b900e4da5b6232ff78d52a292']
Absolutely A phylactery need only be any item possessing an interior space into which arcane sigils of naming, binding, immortality, and dark magic are scribed in silver. People have interior space. In their skulls, in their stomachs, in their bones, really all over if you have the right mindset. So the only thing stop...
8de276dee1a97964465f87604c8301efde4d832ae761632bd3b2c1474158c8b6
['b378571b900e4da5b6232ff78d52a292']
Over an algebraically closed field, the answer is yes. I assume that by "linear group" you mean a smooth affine algebraic group scheme. Such a group has a filtration whose quotients (modulo finite group schemes) are successively a unipotent group, a torus, and a semisimple group, so it is only a question of checking ea...
c4c2d295fbba50a171159cb2df7d2080afabfe666dfdb00c92103ac19ed43c0f
['b3799995bff6442fb588d3876b5d388f']
Even if an overflow occurs in the register windows that are backed up in RAM, surely Sun thought of a way to protect those from being written by user processes... Also as for Java, everyone knows it is very vulnerable to attack. It just may be designed for safety, but it was implemented very poorly. JIT compilation sh...
41d14d4c298a9ed27deaa2756a12a4c1262c32aacd25d5bcf81ce10617f1d992
['b3799995bff6442fb588d3876b5d388f']
The idea with omitting .php is that if attackers don't know what language you're using, they can't as easily assess what vulnerabilities exist that are language specific e.g. it may turn out that a function commonly used in PHP is buggy in version x.y.z and the creepy guys at Hacking Team know this.
8a33736adc0d49270a0eaf562524b3afb7c02148a4d14c28b0675224462025a9
['b38a54c1825a4637a978eb62e007a0ed']
I am using a plugin named anchorific.js to create named anchors and corresponding menu on the fly from h3 tags. To get it working in a .net page I had to move the div containing the menu so it was the last item on the page. Now I want to move the div elsewhere, but running .append() after the anchorific code won't wor...
cc227d807b63097e168e630962ae749e579b0cbd6715a41571b9bad95f39b5a8
['b38a54c1825a4637a978eb62e007a0ed']
I want to hide an HTML element when the page loads, then fade it in with a CSS transition. My plan is to set the opacity to 0, and then use a CSS animation to transform it to 1. But I am worried that the content will remain hidden in old browsers that can't handle CSS transitions. Is there a safer way to hide the cont...
ac05724ecbf7b9842dafe42d019705048412e8346131c089eac270e84045b8e6
['b38f6b24073c4d3db59f301a5455d7fe']
For everyone who is reading this in the Future... I've found the problem and solved the issue. But first things first, what did I do? I double checked pihole running and working by asking for the DNS IP of Google nslookup google.com <IP_ADDRESS> Which gave me the Output Server: <IP_ADDRESS> Address: <IP_AD...
047de31a38e974afcb87bb9b972519aac553d7a89a988d5a3cd3a1ec82d969b9
['b38f6b24073c4d3db59f301a5455d7fe']
As <PERSON> already said, you missed a return in line 8, so that you correct code should look like this: def reverse(my_list, index=0): if index == len(my_list) // 2: # The program will return the list as soon as it reaches the middle entry return my_list elif index < len(my_list) / 2: temp = m...
c978799a0df4ca53e30e3380374ea8314d07a3a8faa86f8335a608bb1c6b7d74
['b397493b3e4542d085c458fc7f76866a']
Replace your scripts values with these, and try again: "scripts": { "ios": "react-native run-ios", "start": "node node_modules/react-native/local-cli/cli.js start", "test": "jest", "test:e2e":"npm run test", "test:e2e:build":"npm run build" // THIS SCRIPT WILL STILL BREAK FOR YOU }, The last two a...
e9d63c1e0c5c644041f8537900987da33b704d6282034b0208df69442807817a
['b397493b3e4542d085c458fc7f76866a']
You might think about just having multiple configuration files for eslint instead of trying to handle environment changes in a single file. According to the docs: https://eslint.org/docs/user-guide/command-line-interface#basic-configuration You can just call eslint with the -c or --config flags and pass in the extra co...
4c4fbbcf96f42c4997ea192bb27a64ef77ad8c3572b7660b790c80112b8280a5
['b397db771e5a48e1b2d94e92d17e10b6']
Is azure blob object replication creating blob storage events? The use case is to replicate blobs between azure regions/subscriptions. When the blob arrives at the target storage account, Snowpipe should be notify via event grid and storage queue (as in here). After setting object replication, event grid and queue, I c...
4509da00de2ab3540587b55c342a20bdb36204a475ef2d5f849b2f24e853ff07
['b397db771e5a48e1b2d94e92d17e10b6']
When enabling sql server vulnerabilityAssessments feature using arm template, following error is thrown when storage account has a firewall on. "error": { "code": "InvalidStorageAccountCredentials", "message": "The provided storage account shared access signature or account storage key is not valid." } } Tem...
eae85d11b2919b26662aae9cbb3716b3896192f307687aab8ede6bce9e8e4abb
['b3995c1643084c6f9af5e535b9996265']
From my limited understanding,my best chance right now would be to request an ITIN either as "Nonresident alien required to get an ITIN to claim tax treaty benefit" or "Nonresident alien filing a U.S. federal tax return". My Italian brain suggests that the first could be meant as "I would be eligible to claim tax treat...
0940f68998f8d03cf5aa4bcfffbd2cb4c98cfffdf7cff6c21e6092956ba106fc
['b3995c1643084c6f9af5e535b9996265']
I've edited to decrease the content of things that I already have to make my confusion more clear. Showing this by <PERSON> is "not allowed" which is why I'm confused on this. So, considering 1 to n, is it now more of a uniform distribution and I can continue with the mean and variance from that distribution? All I kno...
b2b6882092cbf81daa947c3d04e2fcd7e1c2aa67a681fb5fca1ac434ae42f0ea
['b3a68c81fd8f4fd080d919d06d6390db']
Tried to do this in one line for ages; as <PERSON> said, you need to use double quotes to specify the filter so that it substitutes the string; I also found you have to use the DateTime ToFileTime method to make sure the DateTime object is sent as an LDAP FileTime tick time format that Get-ADComputer -Filter needs: Get...
2284ec13882550bb35f392c84223554550dd231e17230b00f0d7ee2c5b2871ca
['b3a68c81fd8f4fd080d919d06d6390db']
Might want to use the following key instead: HKEY_CURRENT_USER\Software\SyncEngines\Providers\OneDrive This includes the following registry values: UrlNamespace: (SharePoint site URL) MountPoint: (local driver location) It does appear to include old values which are no longer synced - but it shouldn't be too hard to c...
92e1cedc8809e993a1592b791c8739ea725e3b71e2c5c417cfd3d68cd4b2cd4f
['b3a8bd08004e4d258109655762b31dba']
I'm continue to learn retrofit and want to handle the response from server. Structure of response from Postman { "succeeded": false, "errors": [ { "code":"DuplicateUserName", "description":"User name 'XXX' is already taken." }, { "code": "PasswordTooSh...
81a77af29a94c90424dc31c0230e123967be75df1b40510fafc78d07b913a157
['b3a8bd08004e4d258109655762b31dba']
On my android app I have location points (latitude and longitude) with some info connected to them (but itsn't important here). I want to get centroids coordinate for that dataset with a conditions that distance between centroid and all points in cluster are less than 500m (1000m diameter). The size of each cluster is ...
20b04ce8e615ea4136585e62f8e22a8a498eadfc959343cc04cdfd5e71cee440
['b3ac417d47724130a4c5237083828e68']
I'm trying to rework several forms and there are several sections where I have a typical "Was xxxx Required?" Yes/No radio boxes. If they choose YES I want the box below to open up requiring them to enter more info. I'd like to use one JQuery function if I could that would work for each of those rather than a separate ...
c6d0e2f6b8645b222161465da8c9ed463153bcd448605966c55a3e60669ed704
['b3ac417d47724130a4c5237083828e68']
I have a form that users will be filling in partially. Once they have made all their selections I want to render the page as is to PDF and then have it sent as email. I just can't seem to wrap my head around the tutorials and examples for it. Currently I have jquery and jspdf referenced in my head section <script type=...
42d1271260408633f8c1bbb5517d47ad90e1d5e0da6e19c3bcb0067a14646649
['b3b68d840db84a1587aff86814f846d0']
I'm downloading a Fairplay HLS video with AVAssetDownloadTask and persisting the decryption key. After the download completes successfully I try to create an urlasset with the local url but after loading the asset into an avplayer it doesn't play. The same video plays when online so the decryption key is retrieved and ...
ba94ffa2b80fa812acfee7920a00c4716d7cc58ba5a656fdda59b8c9b3340952
['b3b68d840db84a1587aff86814f846d0']
I have an application in which one of the modules consists of a UIWebView in which articles are shown as HTML pages. The problem is the articles could contain basically any outside link to images, videos other articles (from other providers), even adult content. In short it can contain links to unmoderated content. Is ...
7952d5cbc4d6e16791288ea8850cceb58f291e81b33e98f35ed21499eba78823
['b3bd7ad565f64f93868715c011c94722']
I am facing issue while launching my selenium script for edge browser. I followed below steps- Pre-Condition- I had Edge Legacy-Version 40 already installed on my system 1. Installed Edge Chromium Version LATEST-83... 2. Ran the automation selenide script on edge browser, it downloaded and used web driver version 8...
ded367697753eea57a7d6727211dc8a5e3e45078523327a6dbd0c111e9a345c8
['b3bd7ad565f64f93868715c011c94722']
I have a scenario to Upload Folder in my app, which is currently automated using Robot Class in Selenium. The challenge I am facing is while running the code on Remote system, my code fails coz, multiple other programs are also executing in parallel and Keyboard mouse movement are only performed on active window by Ro...
68614d09fb70910c5b7d2b2cde1143eea5ea93334d92c303d77582ad76f1c440
['b3c2937801014457a372d746d56ac286']
Debes hace uno de JOIN para traer los datos y puede ponerle un alias a las tablas para que se mas corta la consutla y mas legible: select u.name as usuario,a. asignatura as asignatura, uni.cuatrimestre as cuatrimestre from usuario a inner join unicars uni on (uni.id_uni = u.id_uni) --aqui hacemos la union entre las tab...
ce6aac17414ebd7e23c3fea8d3699ee9e01f8d0700f0879445471b404b188844
['b3c2937801014457a372d746d56ac286']
Tengo un mapa cargado con Mapbox pero no encuentro la manera de cambiar el estilo por defecto trae un street map, aqui esta en codigo xml de la vista: <com.mapbox.mapboxsdk.maps.MapView android:id="@+id/mapView" android:layout_width="match_parent" android:layout_height="match_parent" mapbox:mapbox_camer...
4c407f5f515febe4721bc679bc2d55eb01eb098619c67c4c8c5170a431b868a2
['b3c3c355e8404f8fab9c5852487880d5']
An example of how my JSON data is like: $scope.a = [{ "email": "keval@gmail", "permissions": { "upload": "1", "edit": "1" } }, { "email": "new@aa", "permissions": { "upload": "1", "edit":...
9479bb53840135a11b14d28468e8885d5fac4972ebc2a104882255ac08c122cb
['b3c3c355e8404f8fab9c5852487880d5']
In Angular, you need nested scopes. So, your ng-model needs to be fixed to: <input type="number" ng-model="mynumber.val" class="border-input" /> And then in your controller, you define the mynumber object and then use your variable wherever required: $scope.mynumber = {}; alert($scope.mynumber.val); I've created a Co...
935413784f8cb8ce12fba2cb58680f4e3550bf23dcb29a6c339572cb14f77726
['b3cca1b3e27043aaa8f7ae01ed7700a0']
Really like stories like these, thanks for chiming in! I presume this was some time ago? What did you write? I'm going to get the Psion back out for a play and see if I can't be inspired to plug away at a few chapters of my own.
6f4e81ee588fa43bc2ce2039221ed173009feb9dfa1dae4172c1f5dd65e90bff
['b3cca1b3e27043aaa8f7ae01ed7700a0']
I have just tried analysing my webshop: www.tekompagniet.dk using a chrome-extention, and it seems like a css and js minification would do a great job. However, I have troubles doing this without getting a lot of bugs. I have tried fooman speedster before, but get some weird as looking pictures... any ideas?
6cac8999d2a38e23176394f277f5abc5992714ac1aa6e3f420a520788ee261b6
['b3dab69c646b41658d3dbf94c1e1472d']
I am trying to create a couple of reports from data on another Excel worksheet based on the value in a drop down list. I am using the MATCH and INDEX functions and have created Named Ranges of the columns of data. I am able to get the first value I want in the report but none of the others, even though when I debug b...
1b21e0f247b7bc4e390d4a204a21ca1c82e94f8482f56c6405855a7de46b5555
['b3dab69c646b41658d3dbf94c1e1472d']
I have some Excel VBA code which generates an array based on inputs/calculations and then enters the values onto another sheet. I have this working for one version of my spreadsheet which contains all of the calculations on one sheet using: Range(Cells(4, "T"), Cells(4 + ball, "T")).Value = Application.Transpose(lon) ...
f02639e0e56de145ee84e56bdb39ed2d5ad758d4e64bb2ff35db0e1f7d8a2fd6
['b3e5acf4cf744cb7b9ca5d87f1d7c864']
Not sure why all the complicated solutions. Just add the following to your .btn css: white-space: normal; So, if you already have a .btn in your global css file, do this: .btn { white-space: normal; } Or if you do not have anything in your global css file, just do it inline, such as: <button type="button" class="...
10f172caf38c75a9551f3355add0835cf92db041a8ae8e48f098b750616a3888
['b3e5acf4cf744cb7b9ca5d87f1d7c864']
Give this a try: <?php // /////////////////////////////////////////////////////////////////////// // This would be your mail.php file /////////////////////////////////////////////////////////////////////// // // // /////////////////////////////////////////////////////////////////////// // Lets Just Check Basic PHP In...
3ac21dc3ea8d916538f047533899f620b3a6988ec478dd3f8ab7898087cda3f5
['b3ff3417d246444cb7b0282b2a154808']
Refresh token was deliberately omitted in default storage synchronization configuration for security reasons. However, if you need that you can always provide your own storage synchronization configuration like in the example below. It will not override default configuration, but it will be combined with it. To exclude...
89120d09ec292b0b66f207881832410b3492740bc2b754c8ebfb97cac9140f88
['b3ff3417d246444cb7b0282b2a154808']
At the moment Spartacus doesn't have good error handling and we have it on our radar. In value fields for loader states, we only want to keep correct values and that's why we don't set by default error action payload as a value. However, you might want to achieve desired behavior by handling the error action in your re...
6f3788aea9ece8dc2a8df42ade88a8975f0abdd55bc302e03cded85462d032b9
['b3ff45c6140245399f62f4dcff9af690']
This is for the headstails java homework assignment that you can find a few places online (like http://www.javaproblems.com/2013/01/medium-problem-tricky-heads-and-tails.html) The idea is to input a decimal 0 to 511 and have it output a 3 x 3 matrix of H or T for 0 or 1's (mine works 0 to 255) Here's my attempt though,...
97fc10565a1ef1e3e368725840093c2d195234c2ab053052504443f3e38ef420
['b3ff45c6140245399f62f4dcff9af690']
I have a barcode scanner plugged into a keyboard input on the back of my computer tower and I'd like to be able to scan an item, have it catch the barcode and have it go through a script. Is there any way to figure out the name of the device/keyboard inputs coming from and have a if input from deviceb then do... ? Than...
f2d48567e62756d080dabb40f1708806651c31186ddddf97b3476bbcf51fdd89
['b4045e4a65a944d7a8765a228c9856de']
I am using the following android library to display a BottomBar in my app: https://github.com/roughike/BottomBar It's a great library but there's one minor problem that I'm having. I want to show a popup (alertDialog) when the user clicks on a tab. But the problem is that when you click on the tab for the first time, i...
2b16a12c216a70305c8be3f5db89e19eb8e053bcbc03494dd35fd3f5e5719838
['b4045e4a65a944d7a8765a228c9856de']
So I have two textboxes for the user to select a date and I am using JqQuery's datepicker UI to display a small calendar popup when the textbox is clicked. Now the problem is that when I click on the textbox, the calendar pops up, I select a date and then the textbox gets filled with that date and my scope variable in ...
dee9e513fac9325988c732ec339b705c08036de71a086e6c65883d748190a559
['b405bdc86de1475281c6b44a87adfce8']
So after a while of trial and error what ended up working for me was modifying the IronRouter package. /lib/server/router.js on line 30 change... start: function () { connectHandlers .use(connect.query()) .use(connect.bodyParser()) .use(_.bind(this.onRequest, this)); }, to... start: function () { connectHandler...
041c3ff1976e5d2fe569063438cea0eda80fce3da12463154f132d42699f0395
['b405bdc86de1475281c6b44a87adfce8']
I am trying to send a very large amount of JSON to a server side route in my Meteor.js Application. I keep on getting this error... Error: Request Entity Too Large at Object.exports.error (/mnt/data/2/node_modules/connect/lib/utils.js:62:13) at limit (/mnt/data/2/node_modules/connect/lib/middleware/limit.js:46:...
d12ba70d4b0c20c8e968c311a229dc76880180bb18273d99ac3b1554982e574c
['b40ebcfd720948bb9f476c7116414e06']
Role hierarchy works in tandem with Profiles. Let says a role sales manager reports to VP. Object permission of Sales Manager profile assigned to people in Sales Manager role is CRUD and for VP is Read, then because of the hierarchy setup, VP role users will have access to all records that are visible to people in Sal...
5e8ce6c981362394e9d40e58e618580da7858556c7efefc7b07f9e0fdb141e59
['b40ebcfd720948bb9f476c7116414e06']
I don't think Salesforce has provided that option. I belive that they may have implemented a queue. You may create a component of your own and show the details. Have a look at the message componenet by salesforce [LDS Message](https://github.com/forcedotcom/aura/tree/master/aura-components/src/main/components/ui)