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
55b5f65ff079b9bee0acf8d4b865202500bf50c786f0b8a1ff6bca0ec281750e
['cf0529d11b27486fb9beeb9842d41898']
I'm trying to create a formula that will give me the distance in days between 2 different days of the week with min/max of +7/-7. So for instance is there a formula to find that the days between this Monday and the coming Thursday is 3 but the distance between this Tuesday and the next Sunday is 5. Also in reverse, the...
2084788c0768a91c00d3354f4eddf560bba507ae982a40634ac15cf814d7e313
['cf0529d11b27486fb9beeb9842d41898']
I'm trying to switch the colors of a 4-bitmap image using VHDL . In a 4 bit-image . Which means we have these types of colors . r_in : in std_logic_vector(7 downto 0); g_in : in std_logic_vector(7 downto 0); b_in : in std_logic_vector(7 downto 0); r_out : out std_logic_vector(7 downto 0); g_out : out std_logic_vecto...
cd877bab221487bda745c4159f5a5fe65f7a69796e3eb399845146263e598d30
['cf2809640a32403d92b8da9199094a8e']
@江洋大盗 is right, if the build system or gemfile.lock lock the build toolchain version, you may need to down-grade the concurrent-ruby and concurrent-ruby-ext version. Command as below. $ gem uninstall concurrent-ruby -v 1.1.4 or $ gem uninstall concurrent-ruby-ext -v 1.1.5 Hope it will help.
df20b077a93f8b1b7f2ff8f8fc85a5cf4266b9739f6f0704fd31785c6cf08eef
['cf2809640a32403d92b8da9199094a8e']
As iOS13 release, there are more and more mapKit VectorKit crashes on the app which we are working on. We can not reproduce the crash internally and there are over 200 crashes collected by our own crash reporter everyday. From all the information we have got, the crash always happens when the application come to active...
842d3775ab336486b55dfd33efcadcdf00f66df3462a16165393499136ecacd3
['cf32f774c2d647d195ba153fa5799cf5']
I want to mount linuxmint hard drive using other linuxmint laptop, this is display of lsblk command on my linuxmint : NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465,8G 0 disk ├─sda1 8:1 0 93,1G 0 part / ├─sda2 8:2 0 1K 0 part ├─sda5 8:5 0 368,8G 0 part /home └─sda6 8:6 ...
1d43e016bf18eeb84c06d6ad2dae9f6b3affe82b0327af656d626504bf866b6e
['cf32f774c2d647d195ba153fa5799cf5']
While doing some web development work on a website for a client I realised that their server (windows 2003 VM) has Anonymous ftp enabled. This is not something they want. I'm attempting to turn it off for them as follows: under IIS Manager -> FTP Sites -> Properties -> Security Accounts there is a checkbox Allow anon...
ba54a02269edf30d7cc8caa3d52ad543a36f0b9e22e36c1bb698e553c58e1d60
['cf339cef39fc44078502d5617f93ef4d']
//Enviando <PERSON> lista.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView<?> arg0, View arg1, int position, long id) { String <PERSON> = itens.get(position); Integer id = ids.get(position); Intent inten...
6dced92141627b41265ceac04213dbc1bc6ae8f82c9d998911c0474045e2edbc
['cf339cef39fc44078502d5617f93ef4d']
The php solr client isn't doing anything special here, the numFound is exactly what Solr itself is returning. Which should be based on committed documents at the time of the query. I'm slightly confused by your question though. Is your complaint that you're seeing documents being autocommitted before you expect them t...
c97e2c55bdd5daa8cfb3e04768c214591cf0b55d43378158643af00ff4d27939
['cf47d7f8c491474da13f0ff7069c3d6d']
I am working on a winforms application where I have to load data from Web API calls. Few million rows of data will be returned and had to be stored in a Dictionary. The logic goes like this. User will click on an item and data would be loaded. If the user clicks on another item, another new dictionary would be create...
0bb30ac0562fd2c2fa7633d537cf8a8994476fc6fca833e660341230d1b9e1d2
['cf47d7f8c491474da13f0ff7069c3d6d']
I need to implement a stored procedure - where I would be calling another AuditStoredProcedure passing some information. My current implementation using temp table.. SELECT * INTO #Temp FROM @RowIds WHILE EXISTS (SELECT * FROM #Temp) BEGIN SELECT TOP 1 @RowId = RowId from #Temp --PRINT @RowId EXEC @StoredPr...
c26ae605e69371be765122464ba1291c43cb51cc8dcb99853dae4230ed192073
['cf4a3fdc4f884ad1afa60f512c07ed45']
While reading about AOT in Angular from here, I can across the flow of how actually the .ts files are loaded to browsers. Being new to Angular, I would be really grateful if someone can explain me the inner working of how it all works. I tried to search on google but there are no question where this has been explained....
790f85cf3e26a6f0cc44e7cb9460729eaf55ae0b6648bbfcd2200982cfe42619
['cf4a3fdc4f884ad1afa60f512c07ed45']
In Machine learning course, I am unable to visualize below input. we have below equation in Logistic Regression : We can write it in octave as below in sigmoid.m: g = (1 ./ ( 1 + e.^(-z))); Now, to calculate costFUnction.m, we are getting probability as: h = sigmoid(X*theta); From, the above picture, shouldn't it b...
6a2dc239b230b917551bb9deb97c4b9363bae43cf7486e156ef10e2df816d1ee
['cf63e9ed78ac47a89836bb2ae9f29b16']
In this document,In the section, "In-house apps | Providing updated apps", it states: For users who already have the app, you may want to time your next released version so that it includes the new provisioning profile. If not, you can distribute just the new .mobileprovision file so users won’t have to install ...
f5cbb025f2620e92868ebaab508295a01cadb7db146961db96a7299d767cb387
['cf63e9ed78ac47a89836bb2ae9f29b16']
This issue was driving me insane, and I had given up hope of fixing it without some ugly hack on XCode's configuration. I passed through this very forum thread a stack overflow of times. Then one day, I happened to accidentally fix it. I'm not sure if you need all these steps, but I've found this a sure-fire way to fix...
d23b208e67ed3980f6d5df8786f303a93946f9b3f478a5838c1149d4462d016f
['cf72a47348444821b9ee673b9868d47e']
AWS Kinesis Producer Library may be configured to aggregate records before sending to AWS Kinesis Stream. For example we may set: final KinesisProducerConfiguration config = new KinesisProducerConfiguration(); config.setRecordMaxBufferedTime(1000); config.setAggregationMaxCount(100); config.setRegion("e...
76e4cbcf9c0909f5adb1690c7eb588ed84b085d4b4d6c6f82cb32674d23daba9
['cf72a47348444821b9ee673b9868d47e']
What is an openssl equivalent of using jasypt with algorithm PBEWithMD5AndDES? Example using jasypt: java -cp ~/.m2/repository/org/jasypt/jasypt/1.9.2/jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI input="contactspassword" password=supersecretz algorithm=PBEWithMD5AndDES ...
4df1880966fc9bd5109d41b415908ef6d125fbd7c60766f5110411421363c0cc
['cf75e03eccae46a3859b6933ea266af1']
I have a few blogs/websites hosted on my vps. Recently I've decided to move a db on a single central server/vps because all the blogs have the same structure in terms of code and structure of the db. The problem is, how can I effortlessly start using "application_id" in my db? It will denote a website data belongs to....
7beb27eba32ce15c962b27ffebb12df27f2f02833f6c0bf4dae8f3856587caad
['cf75e03eccae46a3859b6933ea266af1']
Am trying to show a popup dialog or custom view on clicking of the widget (Something similar to quick contact badge). Am able to launch the Quick Contact badge on click of the widget but am not able to display this right next to the widget :( Could you anyone give me any example source code to display a pop up dialog r...
968f18704085d08edf4034e4cdea2d57a4ed74316e36d0676355668e764c5aeb
['cf7e00d49e7849f19271c058c381057d']
Could someone tell me more explicitly how I can make this question more focused (which is the reason for why it was closed)? Please help, this is not the usual resource recommendation with a specific topic, but rather a request for study resources of a certain style/type, and I don't know how to make it more focused.
9765a491d9a62d57d2d8187ec12c0e76880c9518bf530c35eb5d3d14e26c110e
['cf7e00d49e7849f19271c058c381057d']
This looks like an error on the Cucumber/Gherkin side, before anything goes to Cuke4Nuke. The language declaration is only handled on the Cucumber side. By the time the step details get to Cuke4Nuke, the keywords are gone. You're likely to get more help on the cukes group (groups.google.com/group/cukes/); I think the C...
18dbaf8e33ed62008081bf3427e80aa11af06eee9c32529c827fc00a1e8a2683
['cf7e94b28810484e8ea1aec0ece52d28']
I'm trying to create a bootable and writeable USB-stick with Fedora 30, because on the one side I want to be able to add and modify a Kickstart-File and on the other side I want to install additional software during the automatic installation process (e.g. Dell Command Configure) which I have to copy to the stick. Beca...
53f36a2713807f641f73fd30c8a679081a82170f7cd8ac800cbc7b0dd7cb9512
['cf7e94b28810484e8ea1aec0ece52d28']
First of all: My primary problem is solved with <PERSON>'s answer. Secondly fyi: The input are shell-commands for look-up purposes (a cheat-list) with a caption/description, e.g.: `Mit Grep gefilterten Output an weiteren Befehl weiterleiten ls ${BLUE}/pfad${NC} | grep -e '${GREEN}Regular Expression${NC}' | xargs -I{} s...
f87e2e28b06facd896c411aa728fd65e53d515d10f4ec223d391a3350ce0e1f8
['cf7ef455b8104219a23e0433723f7eae']
Ive had strange things happen from images that appeared ok in windows photo viewer but when loaded into adobe fireworks the colours go wrong in a similar way. Im assuming that the pictures display incorrectly on the 'front end' of Wordpress too, therefore i think its some weird .jpg format issue. If you have just a few...
6d8ede5622712451a4745da45d14ba9ad829de7575f49c50397b7669a783ee37
['cf7ef455b8104219a23e0433723f7eae']
I suppose the best way forward is to first figure out which part of the process is failing, browser, computer or web server. Determine the most likely point of failure If the fault occurs on more than one computer, and with different browsers then it not likely to be browser or computer issue. Therefore the next step ...
b3fc4340f753951e8ce38e59fc08d0dbf111ca14925f3f8178c9c3063277e7ef
['cf8ba9a4beb04933a154fc3031a77abc']
Сергей, спасибо за ответ. ПО - ЦАБС 21 век Инверсия. Самое интересное следующее: я сейчас на windows 7 установил java 8 и у меня также вместо папки "client", появилась папка "server". Когда несколько лет назад на этот же сервер поставили java 7, папка "client" была и она есть до сих пор
616cae89ad7e2ca76bc2b64a3994dd90f58d85d7678b1fc7d595a2af0bcc8797
['cf8ba9a4beb04933a154fc3031a77abc']
Добрый вечер. Вопрос покажется простым, но у меня проблема с решением. ОС - Windows Server 2008 R2 x64. При установке Java 8 в папке C:\Program Files\Java\jre1.8.0_151\Bin не появляется папка "client". Вместо неё появляется папка "server". Связано ли это с тем, что операционная система серверная, не знаю. Разработчики,...
39adb2e1e8b98807791bd753ff749cb2a88ea22b24fe172eb9ff661f88cf8ead
['cf940b0f4aa14ac69a632daf02118ae8']
I am new to Rails and working on a blog project. I have articles and categories. Each article can have multiple categories and each category can belong to multiple articles. I also have a join table articles_categories My migrations: class CreateArticles < ActiveRecord<IP_ADDRESS>Migration[5.2] def change create_...
019ef86f92814246e13a834c059eeb20f3681e13a7283d6c9e540a9cae50b6d0
['cf940b0f4aa14ac69a632daf02118ae8']
With the Join Table already created you can use has_and_belongs_to_many association for both models. volunteer.rb: class Volunteer < ApplicationRecord has_and_belongs_to_many :registrations end registration.rb: class Registration < ApplicationRecord has_and_belongs_to_many :volunteers end This will allow you to a...
b696ab1134b0d00efd779b9c32cfa147ebadac419d1bcb7642d3c71208fd3ca7
['cf986e6b75594a969e08c2c0057b70cf']
I have a set of tables with children of children, like so: Clients (PK ClientID) which is parent (one to many) to Property (PK PropertyID, FK ClientID) which is parent (one to many) to Property Detail (PK PropDetailID, FK PropertyID) and Case (PK CaseID, FK PropertyID). Should the foreign keys for the parent tables be...
5830de95003960f3ebf4d819dd6582ab87abb6506472e9d183d38e4b8332c5fb
['cf986e6b75594a969e08c2c0057b70cf']
I'm building a client and case database in Access 2003. The parent client table has fields for the clients' names, company (if any), status (value list) an additional note (text or memo type), and a Y/N toggle box for our mailing list. The PK is in incrementing AutoNumber. Following a normalization tip from a thread el...
909392bf8b3f0fb331abb47c42d64f9bad18eace365eb0d9596dd490bd64f6a8
['cf9cc80c162d402aaf49efffeac46270']
The above answer is correct, this is another way to solve the validation problem on laravel 5.5 I asked $validation = validator<IP_ADDRESS>make($request->all(), [ 'tenant_id' => 'required', 'asset_id' => 'required', 'description' => 'required', 'address' => 'required', 'price' =...
cab9de776a07cebd00b905e421c0f7c4b7372187fa17b806679597916efccb5d
['cf9cc80c162d402aaf49efffeac46270']
After various attempts to solving this issue, the following are the steps that worked for me: brew install brew tap homebrew/dupes which shows "Warning: homebrew/core is shallow clone." To solve this problem, I ran git -C "$(brew --repo homebrew/core)" fetch --unshallow then brew install brew-php-switcher The above...
7b12ad275f3c54c4705b9e0ec044607843cc300aefd3045e1440f011b9d3be85
['cf9ff35af8b9495eb7dd02ded893d93e']
necesito un poco de ayuda, necesito unir 3 dataframes en un dataframe nuevo. son dataframes sencillos, donde tienen una columna en comun con el mismo nombre, pero no consigo unir los 3 en un dataframe solo. He probado con Join y con Merge pero no consigo dar con la clave. Podrian ayudarme por favor? Estos son los 3 dat...
74bcf0c65970b2f657d080fac3cecf456a9e0fd401fc7ce4add38fa8803bfcd6
['cf9ff35af8b9495eb7dd02ded893d93e']
This answer is the straight forward way, but if you have a style that you want to add this functionality to, see below. It is possible by writing a custom bibliography style (.bst) file or modifying one you already have. You would need to declare a new ENTRY field, such as "annotation", add functions for formatting the...
4e80d65e1b77082d313248ad330a50c2f42797ed203f8d18a0620740b9dd2b10
['cfa655bfdab9482686d280713b8a4046']
Check your XML code You should Start and End within the same entity. Like this <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <TextView android:id="@+id/text...
7fc2171ec92830af1789cb2da4583ddc62e82378c6be512d0537a1d0ba434d13
['cfa655bfdab9482686d280713b8a4046']
Just changed the code like... package com.example.lightbluered; import androidx.appcompat.app.AppCompatActivity; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.RelativeLayout; pub...
8cd652823d2ad72194e9b1a9b00c6848bb83206f4fcd0698f0f3051a8b6019ba
['cfaada273096450f9062933196c3552a']
There docent seem to be a way to assign multiple delimiters or comments using numpys genfromtext. I would recommend looking elsewhere. Try https://docs.python.org/2/library/configparser.html. Here's a link with a quick example so you can get a feel for how to work with the module https://wiki.python.org/moin/ConfigPars...
c52d45ffdbd76ee21517f912d3ddc5134425d17cfbe4e892ebb9914510ad6854
['cfaada273096450f9062933196c3552a']
You can also create a virtual environment for your project and install all the modules you would like to use. It looks like you are using a windows machine. The commands would be as follows C:dirrectory_for_your_project>c:\Python34\python.exe c:\Python34\Tools\Scripts\pyvenv.py env #create your environment C:dirrector...
a51dbb400cb2a48d14bcbc0eb834fa5a4c912c49831ec88e35ef793b91996692
['cfbb0e4f9c4545eeae9248a4b44b0cd4']
I have Visual Studio 2010 and InstallShield Limited Edition Project installed, when I build I get these warnings and an error: ISEXP : warning : -6245: One or more of the project's components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework. Adding ...
380b192c7d65366a177090efc418c025fee665638ca3ee18686f9c60d9fbc3f4
['cfbb0e4f9c4545eeae9248a4b44b0cd4']
I'm relatively new to VC++. I made a program that outputs a .txt file to a folder in my computer. I'm wondering if there is a method that allows me to send that file to the system's default printer (in this case my home printer) without needing to see the printer dialog box, just send the file to the pinter's queue and...
e7cc778fcb1170d971451484935238aa209c2d87cb493deda875fff8dc5ed2eb
['cfc2b8f6eda544c0b312fe7eeb05870c']
See the EJB spec (e.g. EJB 3.2 core, chapter 16.2.2 "Programming Restrictions": An enterprise bean must not attempt to listen on a socket, accept connections on a socket, or use a socket for multicast. The EJB architecture allows an enterprise bean instance to be a network socket client, but it does not allow it to ...
26dadb3c93c57f8ddcceae265fbb3135e48bd287df412b4a5dc649cead5127c7
['cfc2b8f6eda544c0b312fe7eeb05870c']
Database connections are closed according to your configured connection pooling policy of the used application server. When talking about session beans and container managed transactions, the connection is returned at the end to the transaction scope of the called business method. Since session beans with @Asynchronous...
33ab8c47f38282bd648a2e3c8595d5af8e4359100e0f268786bae8fc5666878f
['cfceffeea65b47bbb1d9aa5e93887b7e']
On WooCommerce I have a hook being called that will show an error message if there are too many items of a certain tag in the cart. The issue is that if I scroll down in the page and then hover over the cart it causes the notice to show up at the top and middle of the screen. Any ideas? im using this add action add_a...
e57acd305d446546b20e7a8d80c52e3f3cc110c0f8a41c96efa08e0a7b49b713
['cfceffeea65b47bbb1d9aa5e93887b7e']
I'm not sure how to ask this so I'll explain my problem first. I have a plugin for Wordpress that updates a calendar and some databases that have multiple id's. So I have a hook for a page "editrental.php" which works fine but then when I click on a link for a certain item and goes to something like this "editrental....
70f1713aa0eba889a492b2ee2f13cfa868f05384f69eeb585ed4b54af8f2006e
['cfd58b9d782c433b94331fe8668e5a86']
I am using v3.11.1 of math.net. MathNet.Numerics.MKL.Win v2.0 is already installed using NuGet. x86 and x64 folders are already exist in debug directory. Related DLLs such as 'MathNet.Numerics.MKL.dll' and 'libiomp5md.dll' and 5 more are already exist in x86 and x64 folders. 'Control.UseManaged' is available but many c...
242f5fb47d3d82215fd71f6ac918123e3a82755843f6553282ccd2b5435609a4
['cfd58b9d782c433b94331fe8668e5a86']
I am comparing speed of my iterative solver in VB.NET and iterative solvers in Math.NET. When I am using preconditioner with Math.NET iterative solvers, everything is good and it converged at about 0.1~0.2(s) but without preconditioner calculation was canceled at about 0.03(s). Status is Canceled (by user). Since I did...
6be9fa199e11c962cef1201f6ebdbc5625752ac2d24c0433371d7d2988229cba
['cfd590221c9f48eeb3149062292eed0c']
To me continuity in the 1st and second dimension implies that for a point c, if I take the lim of my function and make it tend towards c it the limit would be f(c). I visualize it as drawing a straight line without taking my pen of the paper. I have a difficult time geometrically interpreting continuity for higher dime...
6cd7e0fce6e4ec7162298045558cca8bcc089c126ff0acc7781703cbd36ae5be
['cfd590221c9f48eeb3149062292eed0c']
Try HotKeyz from Skynergy. You can download it from a variety of freeware download mirrors, such as: http://hotkeyz.en.softonic.com/ It's free and a fantastic, easy to use tool for remapping/customizing windows hotkeyz. I don't think the developer updates it anymore, as ver 2.8.3 is the latest and dated 2010.
1d9fbe0cd93fcce6b3e663f570c66c9f4115274892c56a1565f0d94f4105ad05
['cfe1bc29e7154d28b4deb7c2cadb44c1']
Let's say I have a dictionary: dict = {'a' : [1, 2], 'b' : [1], 'c' : [3, 3, 3]} How do I find which keys have the lowest amount of unique values? In this case, it would be the dictionary with the keys 'b' and 'c' as they each only have 1 unique value.
595cb9f7afbd7f8d59f2ed8a6a1c22b7acffb23889fd9e0b5b565dea3fad76a5
['cfe1bc29e7154d28b4deb7c2cadb44c1']
My goal is to create a line graph showcasing: 1. Each line is one different person 2. The line plots the person's ranking over time Since I'm trying to display ranks (eg. A person is ranked 2nd on the first month, but moves down to 4th the next month, and so on...), I would prefer the point of #1 on the Y axis to be at...
8dc1434817586b8cf82fe4901cf80b14d4313495257b1e5607d6b2af24bcecd2
['cfe1d8da395f49c5af68b40e1aedceb0']
I want to signup a new user if the email he has entered does not exist in the database. I have a custom sessions controller with the following code: resource = warden.authenticate!(:scope => resource_name, :recall => :failure) scope = Devise<IP_ADDRESS>Mapping.find_scope!(resource_or_scope) resource ||= resource_or_sc...
eebd8ba58cfbc16a8026e5daf0ed71655f158a4a4458942d2fbd41fc0ebe7005
['cfe1d8da395f49c5af68b40e1aedceb0']
You should use result[:body] and not result[body]. body is a variable, whereas :body is a symbol (similar to a string). Notice that you have stored values in the hash with symbols. {:envelope => envelope; :body => body} is storing the content of the variable envelope (the one on the right) as the value against the key...
f412abb17430b59d5d506212bc4bcbd92011cf0e9e32e07c9f7063b72fc661c9
['cfe76bfced604d698d01b1d8c397c262']
It doesn't matter whether theta is in radians/degrees/what-so-ever. The result will remains the same (as long as the the units you use are linear to radians. meaning, theta units could not be radians squared, because then the limit will change (and will be 0 in that case).
3ca62e10f58f4883cb9532b3bc5a4a405979afa6be7df2f417b83cd4eb92bd08
['cfe76bfced604d698d01b1d8c397c262']
The point I was trying to make was simply that for most choices of $c$, the equation would not have any solution $f$ (which wasn't clear to me apriori the way you had formulated the question). But I think we agree now. Let me know if you want me to elaborate on some step of the argument in this edit.
c97421ce5dc9e1a526e058df42270522f4a06ef0b0931d6fc535719837607612
['cfecc0e04449476cba41f080f32c8884']
There are several issues with your code, which various people have pointed out. Walker <PERSON> correctly notes that date.GetHours() and date.getMinutes() will both return numbers, while the values returned from strthour.value and strtmin.value will be strings. When JavaScript compares these two, it will always evalu...
1402065c3efc541b2c7214a22c0d1b8cb2335870d4a140d3661aeec84ee4b3a3
['cfecc0e04449476cba41f080f32c8884']
"Post Only" buy orders must have a price that is less than the current market price that people are willing to sell at. Put differently, if you want the buy order to go on the order book, and not fill immediately, you must bid less than people are currently willing to sell for. When you try to post an order at <last_...
3122d4ffe13715d4ba961d662d8001198c38b28368c6ec50338d8280a1b7d320
['d00790e45e0545318699a759cf10115c']
(same comment as the one on the other answer) I never realized the question "which file extensions SHOULD i back up?" would be more realistic (and concise). Can you check the edit I made to my question dealing with backup files? Is there an equivalent to the .bak and .trn files that I currently back up in MS SQL?
5848d05df6a46105c986019ec9a11a5b66f79429b0df1328b7ec76da9feb1fc7
['d00790e45e0545318699a759cf10115c']
According the CPSC (linked in my question), the exploding hoverboards came from Chinese manufacturers, not Samsung. Some of the Chinese manufacturers put fake Samsung labels on their products. I was told by an Electrical Engineer who works at Samsung that the Samsung TABLET fires were caused by failure to accommodate o...
da47b643ed17f81251393a083b2615d2d2888eae121691a72681fdb737024656
['d00d4465dc2e4a938696610d35f172ac']
Maybe you need something like this const DUMMY_PLACES = [ { todos: { allIds: [1, 2, 3, 4], byIds: { "1": { content: "test1", completed: false, }, "2": { content: "test2", completed: false, }, "3": { content: "test3\\", completed: false, }, "4": { content: "test4", completed: false, }, }, }, visibilityFilter: "all", }...
fd1f71c12484a9b9c3a47c6d927d32f4ec4ceb208b872e89cca5189d65b881d5
['d00d4465dc2e4a938696610d35f172ac']
This error means that you are trying to run a module unsupported.js from a folder that doesn't contain it, to solve this look in the folder pallet locate the unsupported.js file and then check the root folder where this file is located, and access the folder from terminal or locate the folder in your computer and then...
e154ff048f15dbe4a7402d92b54c53cb26acebd7760c92c69d6655edd52da79f
['d0214fa804e7446c846849556842c548']
I agree with the recommendation of adding a serial. But if what you are trying to do doesn't merit a schema change, you could use the system column xmin to separate rows with the same timestamp but from different transactions. SELECT ts, xmin, count(1) FROM foo GROUP BY ts, xmin
bb7c33c715766713fd55d1d1617afe1e1d587f7eea7274a423c07a04fffee4d5
['d0214fa804e7446c846849556842c548']
You have yours grouped down to the minute. Which I'm going to assume is wrong because these are typically done by day. If I'm wrong, you'll have to change it back. SELECT DISTINCT contract_id, ts<IP_ADDRESS>date, min(price) OVER w, max(price) OVER w, first_value(price) OVER w, last_value(price) OVER w FROM fill ...
1ea04319418153292e4fcfa0d38832044bced36496dd1c1e1bfdeb9c64bf259c
['d02aaa5da4cd44319ad0b1e42b06e0d6']
I'm working on a project using Isabelle. For some reason I have to simulate a bit/byte system, like this: type_synonym bit = bool datatype byte = B bit bit bit bit bit bit bit bit fun byte_inc <IP_ADDRESS> "byte => byte" where "byte_inc (B a7 a6 a5 a4 a3 a2 a1 False) = (B a7 a6 a5 a4 a3 a2 a1 True)" | "byte_inc (B a7...
d5ab1e5178f9f83e94052827debe625eb9a4ed79fbe55c2a9761caef03876226
['d02aaa5da4cd44319ad0b1e42b06e0d6']
I use vim to write C code. When I write something in the middle of a line and then try to jump to the end of this line using Shift+A, it sometimes jumps a bit further than I wanted. Like this: I don't know what's wrong with my .vimrc. Who can tell me how to deal with it?
4e7d5da6f148817275d96137641ffda2e7ba4f96bdeb1c5c89561b6d9030fa88
['d02b24918dfd4972b26c7ddcc1786e54']
which version of liferay are you using? How are you changing them? You can change them in two ways, try both: Double click on the title (this will change it for the language you are currently in) From the look and Feel pop up (this should allow you to change the title for any language, althoug this was not working pr...
1915773e5ba58fcd3c284d5e11e41f3820dca40586bb987fe889c41b83586e22
['d02b24918dfd4972b26c7ddcc1786e54']
This is not a duplicate of listing all files a package provides, i want to list all binaries a certain package provides that are in the standard location for binaries. I know this can be done with some text processing tool along with dpkg -L but i am not very good at those. Please suggest something.
d2aabf119e99e4effd766d6a1daf900faa5ad7844aa3aec8568db8af08ac5ce4
['d02b4c3c9b5b4daf86d1ebfda99b21e9']
Thank you for the response. I should clarify - it’s not my machine. The owner is away on vacation. I just pressed restart, and this happened. How can I change the partition the MBR points to? If it helps, I noticed that “OS” was in the “media” directory, which I thought was strange.
231e8f2f9c0bb6ee4527f7b68f9da9abc5c346e2ba72dce893c2a8e9b614ff40
['d02b4c3c9b5b4daf86d1ebfda99b21e9']
I just restarted Linux, and a purple GNU GRUB 2.02 screen came up. When I press “c” to enter the command line and enter “ls,” it says “error: no such partition.” I am completely new to Linux, and there is some very important data on this machine. Any help appreciated and I’ll respond quickly to comments. Thanks!
2e6bbcb49cdd65fa1dbbaa982ee93ea06b1f81e19e0b2126401c28ba8673985b
['d02ce3d6229246ad92465bbd49ff177a']
Yes, I can give a number of instances where he can't complete technical work, and he can't do any planning. The work he does take on for himself is what I would assign to a new hire out of high school. How could I respect someone who wields authority without being properly suited for it? As for pay, the issue of his i...
766c1e4d4d1f70b15714215e7ca7526aa7fa93046b4d0edaa7be054ff3b05271
['d02ce3d6229246ad92465bbd49ff177a']
I don't get credit for it. When talking to outside people he actually avoids answering the common question of how the project got started. His purpose for getting involve is to get credit among the people he is trying to impress and to fit his naïve vision of a boys club hangout. I started the project as a way to give ...
621d6f4f614be0a6103ea24acb2cfb050f3f54794817416a82a47854b66120f7
['d04273df6adb40b490f3a245cb9a535b']
First of all iptables is the right command to do the job. But generaly you would use a reasonable amount of commands to set up a complete table. 1 command is one alternation to the table. To find out the tables already in place and the default policy if no rules are matched use iptables -L. Usualy ine would write a bas...
b2b41953a3037fb27a2015a9e65e8fb2d06b40a7d11bfb31e3b5bffaf5a4bfc7
['d04273df6adb40b490f3a245cb9a535b']
My MacBook Air (Retina, 13-inch, 2019) keeps on shutting down overnight. When I come to it in the morning and try to turn it on, it takes at least 10 seconds of holding the power button to turn it on. If I check the kernel logs, among the normal codes, like 5 and sometimes 3, I see this: kernel: (AppleSMC) Previous shu...
3c446b13e946634c2163f3cd5ecae735ec9f6f49899f4fe4090e412a3f3eed16
['d05c317a44864569acc1578029e4990d']
You have to recursively call sd card root folder and iterate through each folder and extract the image files add the file to an array list or array.Try below code. public static ArrayList<File> getFolderList(File f, ArrayList<File> dir) { if (f == null) { return dir; } else try { ...
f08bfa4f0bc5db588825bd43becaa1ec60f9cc4459f79bf13c2948f7d6822f92
['d05c317a44864569acc1578029e4990d']
Am developing an app with multiple screen support. Before start developing i read developer site for multiple screen support. Currently i had an issue regarding device density. I tested my application in Samsung Tab 10inch, Toshiba Regza, Customized 10inch tab,Samsung tab3, Lenova tabs. The deviece mentioned here all a...
ff1cba89006ebd90778b1ffd3fb7671bed3c8a965913dec87a906a931d9485a3
['d089ca7520e340b89619ebe9cf4a5901']
I'm trying to subset a list which contains dataframes: Folkersen_IL6.txt Folkersen_IL16.txt Folkersen_IL1.txt Height.txt Met_Ile.out.txt etc I've tried this with the following code: protein <- list.txt[grepl('Folkersen', list.txt)] This line only returns me a list of 1 (containing Folkersen_IL16.txt). How can I get ...
e0d1db0e94070eba61058ce68dc7ce6b499a4970f451d402f52de46ca34ce521
['d089ca7520e340b89619ebe9cf4a5901']
I want to create a myID dataframe which contains columns SNP, trait, protein, protein.x, protein.y, metabolite, metabolite.x, metabolite.y of merged. The following code works: myID <- subset(merged, select = c(SNP, trait, protein, protein.x, protein.y, metabolite, metabolite.x, metabolite.y)) However, I would like ...
4c2732783dd551d820a69a578cb67ed4f34b3cfa972ef0ee46d3cb0407b304bf
['d09c2f3fa3ff42609af75984bc2281f4']
I'm working on a Java program in Spark Stream which requires process tasks has many steps. The problem is every tasks has different steps to run. In traditional program it may looks like that Params params = initParams(); for (Step step : task.steps()) { Result result = step.execute(params); params = result.con...
2930b2551e5318ce033372582220ab411cedc464fcd9e6b613811a6b07222a33
['d09c2f3fa3ff42609af75984bc2281f4']
I am learning the Rust and Rusoto with this example https://www.rusoto.org/futures.html And I found many of the code are outdated. So I changed the code like this: use rusoto_core::{Region, RusotoError}; use rusoto_dynamodb::{ AttributeDefinition, AttributeValue, CreateTableError, CreateTableInput, CreateTableOutpu...
6f9c69f2870d8468ca97a3ea47321baa63a5575dc56e08d8556d59f3c78fdc27
['d0a55fabea1446e6b719a1056465a730']
Suppose that we have two variables A & B (each one takes the value 1 or 0). We also know that: P(A | B=0) = 0.37 P(A | B=1) = 0.17 P(B=0) = 0.29 We need to calculate P(B=1 | A=1). I guess that initially we have to find that P(B=1) = 0.71 However i need somehow to deduct that P(A) to use <PERSON> formula! Any inputs ...
32fb745f86de33acd628df6bf729336ba364d2659841c1bbb0164ec1140939e7
['d0a55fabea1446e6b719a1056465a730']
My Burg Boot Loader in Ubuntu 14.04 , isn't showing themes. I have Tried Installing Burg Many Times by different methods . but the themes are not working at all They are not shown up on burg-emu nor are they shown during Boot Time. Burg was working fine in my 14.04 until I tried to change the theme using grub-customi...
75f9341e33b2a1aabff3a7a492407ded79a74add1b64e4c5ccb5b372aaba754c
['d0a79faa2a3a4475bd2cc43bf74d0578']
I have an webview which load an URL(www.google.com). How can I change the webview to load an different url externally like by writing the url in firebase? Is it possible? I want an option to change the url externally without having to change the url in the activity an reinstall the app.
c21cdd6f5f4c50c21f2570e6d1f81349f49b78b580a5911ac2276b4361e66118
['d0a79faa2a3a4475bd2cc43bf74d0578']
I have recyckeview in an fragments which contains contact list , I want to set onclick listener to recycleview which uses the recycleview phone number and send it to dialller screen using ACTION_DIAL. myfragment: public class HomeFragment extends Fragment { ArrayList<ExampleItem> exampleList = new ArrayList<>()...
22886dbcdf376c26d67a0fda9df7d067b9052875fd8950a5874028025a3fa587
['d0ac2499e3744b1998316b881b64361b']
This is the way I configure my client to render the proper language through react-intl. import localeData from './translations/en.json'; //import localeData from './translations/xx.json'; <-- any language const render = routes => { match({ history, routes }, (error, redirectLocation, renderProps) => { ReactDOM....
d349f153428bdb9d4239dd75fe7e320a11a503886fa93162e342cf72570ce86d
['d0ac2499e3744b1998316b881b64361b']
I'm using react-router to navigate to a certain page after logging in through my REST api. Here's the sample of my codes, tried this: export default { loginUser: (jwt, rememberMe) => { var savedJwt = localStorage.getItem('jwt'); AppDispatcher.dispatch({ actionType: 'LOGIN_USER', jwt: jwt }); if (sav...
3ae09a0bfb99b95849685be5ef148e1ae01b86c95c6d01b90067cad3f0726906
['d0baf949cbc9412d9f733c3ffe087b5d']
I am new to Ember, so my approach can be incorrect. I am using latest Ember 2.9.1 My plan is to update route's model and cause all components to render newly added/saved item in a collection. (I want to update my route's model (userRoles array) with a new record of userRole after I have call save (on createRecord)). S...
4511dcfd0dda5096077faa4cb53cfb61a9966213f1c5229b3bc4a22aa3271412
['d0baf949cbc9412d9f733c3ffe087b5d']
I know it's kind of late, but I had similar issue when using the Symfony\Component\HttpFoundation\StreamedResponse. As you said the problem was the Call to undefined method ... <IP_ADDRESS>header() So clearly the header method is not present on an object. For me the solution was to use headers method, which returns ...
a00f8210fdd7a8503d72c63c663fb0e7c08438df38055ceda68eecc5f43ef417
['d0bfba16cb7d4f68b6def6e09f061e12']
1) To Setup action-mailer views for the mails, you can do it as follows: Create a view file in app/views/mailer_name/ with the same name as your mailer action (which in this case is "simple_mail" ) Alternatively if you want to use a different view altogether you can also do it as : def simple_mail(to, subject, body) a...
faa5ff4b6aba035b79187f1cc6c3723adc3141a31b3e3add0c870c0e7e0aa194
['d0bfba16cb7d4f68b6def6e09f061e12']
Did you mention the attachments in your mail-content view file? Add this code in you mail-content view file: <%= image_tag attachments['image1.gif'].url %> <%= image_tag attachments['image2.gif'].url %> <%= image_tag attachments['image3.gif'].url %> You can also have a look at a more detailed explanation available ...
a2417f99ceb5f7c7b64df5eff09b6fc896631337e843eef3dd69435bfae300e1
['d0c577ab7bcf4300b4b8bd6c8d1c93a9']
The code works fine for me. Below, I have added some debug prints to your code (using pprint) to view the attributes of the IMAP4_SSL object M. My Gmail uses two factor authentication so I needed to setup a gmail app password from pprint import pprint # .... M = imaplib.IMAP4_SSL(IMAP_SERVER) print('---- Attributes ...
9c72b28f265abd18b127afe626a4f6ebead6af2750fb39aebc50d41c51ac2b45
['d0c577ab7bcf4300b4b8bd6c8d1c93a9']
Also, since nums is already a list do not use range(nums). Range returns a list given start and stop values. Iterate through your list nums in this way (part of your list comprehension): [SQUARING OPERATION HERE for num in nums MODULO TEST HERE] since this is homework I won't write it all out.
8c14799d430b7f57635cbab3e2e9107e9874c83b682856273bf435bf9a006fbd
['d0c6100baea74d5e8d8d9a19c44248e8']
When my app is backgrounded, the audioplayer continues to play, but i cant hear any sound. When i open my app again, it plays from the point where it would have been had the app not been backgrounded at all. This shows that the app is playing in the background though it is not audible. Why could this be happening? I ha...
9c34bf20a96fbddb4449996189a22f0eb35c6575e3dcdcdc983493aa3306a095
['d0c6100baea74d5e8d8d9a19c44248e8']
I am new to PHP. Surprisingly i didn't find any previous question that deals with this. Anyway, my goal is to add the openssl extension to my existing Linux server I didn't find that this extension is available when running: sudo /usr/local/bin/pecl list-all | grep ssl A few other details: OS Type: Red Hat Enterprise ...
0f2b6a787690d569300eda985c94df6364b2edb779bdea83deb68a72a869a335
['d0c8dd85ca1340ce8fca680001505e8e']
I have a c# dll with custom types that I am using in my scripts. I want to create a class that uses the custom types but I cant seem to import the dll before the class is parsed: Import-Module CustomModule #contains type CustomType Class Test { [void]Foo([CustomType]$x) { ... } } I get the followin...
fdcca8a73a617be3494dbc643447b2c26f8dc53c5795682230b12b18682ac160
['d0c8dd85ca1340ce8fca680001505e8e']
I have a .ps1 file with variables I need to import, but I do not know the path at startup and need to import the script within a function. I can verify that the script exists, but none of the variables are imported. vars.ps1: $var1 = 4 class Foo { static [string]GetFilename() { return join-path $pat...
50428559ea020b85f2fdc694923ebaac9d4be12822bb8ff45cf6177be1888924
['d0d9e27f6539465282c6b96ac0b22332']
The system has no real purpose, its just there for a little bit of fluff. It lets you hear the protagonists voice, and gives you a small selection of different lines you can make them say whenever you want them to. It's a neat little feature, but is completely irrelevant to gameplay and only there if you choose to use ...
828470d7f184b95046224d0887ab170a73651362abf16b6c4661872f44466fe6
['d0d9e27f6539465282c6b96ac0b22332']
@chrsblck: No, because `export` exports the name (eg `TERM` in this case) as an environment variable rather than a local variable. If you used `export $TERM` in this example then the `$TERM` var would resolve to `xterm` you would set the env var `$xterm`, which is probably not defined. Good question though, it always l...
b875311007e14b512a68865b0d4727da63811f8e3750beacfbe14748a47ae6c0
['d0dd9a9076844058b759a7b329fc385f']
In the end we decided to have our unit tests import entirely separate context files. Now we have a project-context.xml file that imports a project-neo4j.xml file that we for real setup, and a separate project-test-context.xml that we use for our unit tests. The project-test-context.xml has nothing about neo4j in it.
c64b793bc166599c86e9a2b9b9795cbff78f033b668fbd161993cf6ac9461195
['d0dd9a9076844058b759a7b329fc385f']
I have a project set up using spring-data-neo4j. We're trying to have our build process be as lean as possible but I'm not able to build the project unless Neo4j is running. If it's not running the application context fails to load because it cannot connect to the graph. We don't have any Neo4j unit tests set up so w...
b5bb347ddedf5ef55d28a6973644a8b699f6ce0e47a34fe91a823a511c98ffb9
['d0f179fdf9e24858945ea8633ce1f720']
I have a class of type Installer where TModel has a constraint. I want to create an extension method with the type signature :\ public static void DoRepetitiveStuff<TOtherObject, TModel>(this Installer<TModel> installer) where TModel : class, IConstraint, new() where TOtherObject : class, IOtherConstraint, new() { i...
7884d29927aefa97206b00d325e099bb3b565dae0e8559f85112b29d2fc2b93a
['d0f179fdf9e24858945ea8633ce1f720']
16 bit code from Windows 95 will still run on 32 bit windows at least until windows 7 (I don't have the software to try it on Windows 10). However for 32 and 64 bit code, you have to start using the win32 api which use the less exciting "call" instruction instead of interrupts.
3f070cf6c8727e279a073fc4ca43e6e3007d9e8de7f8376398fa63b1f3eae03c
['d0f48062031d41f3bb4afde1693f7af3']
So I have looked into why this error occurs but I couldn't find any helpful answer. One person answered for another question that its because in the sql statement, the column name used for multiple tables may be the same. However, I tried to change that and yet I got the same error. Here is my sql statement:- SELECT CL...
eec3296354ab61ae0f487114562e08665c94ef83fa4192b8001dcd65ca35b9ff
['d0f48062031d41f3bb4afde1693f7af3']
So I am trying to create this trigger that checks whether the number of availabletickets is greater than 0 and if it isn't, it throws an error while booking but while creating the trigger, i am getting the following error PLS-00103: Encountered the symbol "" here is my code: create or replace trigger booked_ticket bef...
d75295132aaaebb144f3f9243e8c560a0b7e8f3fd7c12d6e63d62602c0c62a3d
['d10cf56c078f42e69d2d3bb73001d8a9']
The problem exists in Android's implementation of the onInterceptTouchEvent() method for RecyclerView. This blog calls out the problem and fixes it as well - http://nerds.headout.com/fix-horizontal-scrolling-in-your-android-app/. The only difference is that there the parent scrolls vertically and child horizontally. Bu...
1aa100c3142c926d6628b395da035cff18f63912059a8d32961f3136e09ba884
['d10cf56c078f42e69d2d3bb73001d8a9']
public class Temp{ static int add(int m,int n){ if(m==0) return n+1; else if(n==0) return add(m-1,1); else return add(m-1,add(m,n-1)); } public static void main(String[] a){ System.out.println(add(3,3)); } } I am not able to understand what this function is achieving. The output...
e28ec97e93a15bb37f462064c6733603693e51316d3b5e091acaae269ababb2a
['d115bca8061a456b9cd067f2afbd52b5']
I am developing a json parser to xml using xslt transformer, thatis the output is type text. However does not provide the output data types. For example, the input xml has data that are string or int or date, and the xslt does not realize what kind they are and parse them all the same. My query is whether there is any ...
615c2989c26d762d8d3053f3d6915975c81273e185cde3f5fe16f3ffadd3ac4e
['d115bca8061a456b9cd067f2afbd52b5']
I'm working on a android application with SQLite, but I have a problem with charterers not ASCII. I researched about that and I found the solution is compile a new SQLite version with ICU activated. I downloaded the NDK, ICU and I follow the guide of this page: http://www.sqlite.org/android/doc/trunk/www/index.wiki H...
ce49da36cf8087f718e783dedebacc832eb2faa01f5e0f2bb64e25f9c16459cb
['d12972bff5534c64b578957398a7a5d4']
in my game i added a simple game object to follow my player , but the problem is it is not showing the follower when i click play , i'm new to unity , can any one help me . ill be attaching the script that i tried and output screenshot that i'm getting now. (the follower is visible in scene window , disappears when i ...
edfa452eaf84ea6a68bbfa5857def80669fe15eaf29c9ab87b3a092e072dc9ee
['d12972bff5534c64b578957398a7a5d4']
after doing so many search and reference i finally got a working solution. i changed these values in update method. hope my answer helps some one. void Update () { Vector2 targetPosition = playerobj.transform.TransformPoint(new Vector3(0,yoffset)); if(targetPosition.y < transform.position.y) return; ta...
3f080878ecc1d9b7a04d173d6c7e32a8b45b94d906a3601638db23d886d52e4f
['d12dd37cf5f1449b91e8469f6fded067']
First of all, I don't think there is one answer to this question. As you point out, it differs a lot between individuals and projects. I apply something like the idea of SoC (Separation of Concerns) to commits. That is, I try to commit on a "per task" basis. Or, in other words, avoid committing "several areas of work" ...
6574d038a47c1aeaa1d2e9764d90f83c5d98e63cfa447de59d133d047bd2ffea
['d12dd37cf5f1449b91e8469f6fded067']
Ok this is what i've referenced thesqldude.com/tag/makecert for creating self signed certificate. JIST : 1) MAKECERT tool used for preparing certificate with command mentioned in link above – FYR : makecert -r -pe -n "CN=cs020.classic.classicinformatics.net" -b 01/01/2000 -e 01/01/2036 -eku <IP_ADDRESS>.<IP_ADDR...
89b14bd9024addc79795a6e4aee5066d08ce10fad98dad44c901a9446c830338
['d12e4314a72d4f1289837dace9888b98']
In Orient 3.0, the recommended querying mechanism via multi-model API is the set of query/execute/command methods that always take in "strings" as queries. How would we go about executing OSQLAsynchQuery and OSQLNonBlockingQuery type queries in the new 3.0 multi-model API without resorting to deprecated methods?
4ac945acaf9e2d3e6c64b45ffabcd461731814cbb5eab7831e493af43057fe38
['d12e4314a72d4f1289837dace9888b98']
My conclusion is that streaming works well when scrolling through a large result set without consuming a large amount of memory or having to keep re-executing offset/limit queries (similar to forward only scrolling over JDBC resultsets). A typical use case is an export scenario. For forward and backward paging, in Orie...
a7588af874168e724b072f4de5765270dd5512e2989d2c13ef1f7eecbbc9e5ba
['d140aa48b0904756b36f08852129dba0']
I have a particular use case for multiple in memory key value maps that need very fast lookup time. They are set just set once a day so can be considered immutable for all practical purposes. Redis is not an option since it gets CPU throttled in case of multiple threads accessing it. Multi instance redis takes up too m...
2ff3287e9cd06dbe10a9951614cbfd1bb64bcb54159a437fdbdf597f99d3df46
['d140aa48b0904756b36f08852129dba0']
This question was asked in an interview. You have an array of small integers. You have to multiply all of them. You need not worry about overflow you have ample support for that. What can you do to speed up the multiplication on your machine? Would multiple additions be better in this case? I suggested multiplying usin...
ba9fc8d2c83015a6a5132d9add489d4aca856b5b99b26f239f0ea1e30f557689
['d140f99e27c8466fbb8c7819329e5dfe']
Looks like the problem was with the scale of input data. With values being between 0 and 255 that scale was more or less kept in the next layers, giving pre-activation outputs of the last layer having large enough differences to decrease softmax gradient to (almost) 0. It was observable only with relu-like activation f...
dc14ff9db473bfe3305361e8ff41485ed324e1f2a913b49e96021f028639a06d
['d140f99e27c8466fbb8c7819329e5dfe']
I'm trying to read UTF-8 encoded polish characters from console for my c++ application. I'm sure that console uses this code page (checked in properties). What I have already tried: Using cin - instead of "zażółć" I read "za\0\0\0\0" Using wcin - instead of "zażółć" - same result as with cin Using scanf - instead of '...
4cd9219c86dc5dabc20a13d9634715da65e0b326f980c0202a2dd0581e883473
['d142efc076144e63b761c791e9170e19']
So, after several hours of trying hard, I've figured out the solution. First, a response from the Solr saying OK like below does not mean it's done... (That was my first mistake) The restoration file I was using was corrupt (partially made). <?xml version="1.0" encoding="UTF-8"?> <response> <lst name="responseHeader">...
97275eae44c2d1c2ded5ef067daa06b2c23a4c21bf3356f2540616c9d4f31531
['d142efc076144e63b761c791e9170e19']
I am running Solr 6.0 on a dedicated server with a Core 2 Duo 2.66GHz CPU and 4GB of RAM. I am using the below PHP script to upload multiple CSVs (a few dozen at once, each file averaging 40MB) from the browser to Solr. As I used top command to monitor server CPU usage while the CSV is being indexed, CPU usage is maxi...
fa75e896c60fa26f8c30799508b6e9937f04ace4c95f138de7774c60e7d4881c
['d152cfbb0829463b830f99e122f22c22']
I have been running into the same thing, and it seems to be an issue with the released version of the cramp 0.15.1 gem versus what you get from the github repo (https://github.com/lifo/cramp) thought is still marked as 0.15.1. Try this experiment which works for me: Clone the GH repo locally Copy in the bin/ and lib/ ...
910e73db0544afee91503c9995f95a76ea4a979294e22a1aa119b901e3eaf119
['d152cfbb0829463b830f99e122f22c22']
While I realize this question was from a year ago, I did run into the same issue just recently, and found I had to manually delete the entire pub cache - as if the cache had become corrupted. I just cd over to the pub cache dir and deleted everything, so a new pub get would re-get it all. At least on mac, the pub cache...
6571f7a251871ad73fb546ba15345f49826acd354c254d6e42c9e2d96cd4aac7
['d15b096c7b4d42bcb18b2ec2bed9f56f']
I don't think there is a way to make more space than is available when you first open the Colab document. What is already there is there for a reason, it is there to run your environment. You can still try to remove existing files at your own risk by running the linux remove command like so in a cell. !rm <path> Other...
1bd5f7400f50d5843bfc01277e97be6096e92f7ec7a6d5fc8416a93cf9499424
['d15b096c7b4d42bcb18b2ec2bed9f56f']
Using SharedPreferences is very easy. You need to define a key which you will use to retrieve the data later. You can store Strings, ints, floats, booleans... You need to provide the context. Context context = getApplicationContext(); To write data, use this code. SharedPreferences mPrefs = context.getSharedPreference...
68ccbec9a26770f9575d8ca70bc5839d02194446087d3c0f6fd3c242326db453
['d15cb9e023014325ab46940790d83571']
First step is download fonts from fortawesome Second include them in to css. Be careful with the paths to the font files: @font-face { font-family: 'FontAwesome'; src: url('../font/fontawesome-webfont.eot?v=3.0.1'); src: url('../font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'), url('....
f1f0b4d3d1028ea6cdc2a5a9cd7e4dcc3e097de8576ac3bb28e614ab0f2e99bd
['d15cb9e023014325ab46940790d83571']
You are trying to run the script which works with undefined HTML. To solve this you can either move your script after defining HTML or use jquery shortcut document.ready function such as $(function(){<your code here>});. In first case event handler has to be a global variable right away. Otherwise you declare this vari...
39b67edc8595421b6c2af40d91d7db5931c0c56f140c1e0c5313a2b13260939d
['d15dd8e34a7945fb84902924c71d52d7']
To anyone who is still looking at this post, what I did was put everything in a single recyclerview (first cell had the "imageview and some relative elements", second cell had the horizontal recyclerview and from the third on the data of the vertical one). This however did not fix the smooth scroll problem. What I foun...
3174afadff936f14ffff568b2137dfd6422db4a68e4469d7560091d02d99955f
['d15dd8e34a7945fb84902924c71d52d7']
To all those that are familiar with rapidjson i have the following issue: I have a certain function that accepts as parameter a date and if that date exists in the json file the method does some operations and if not some other operations. Generally it looks like this: (not actual code more like pseudo) Function: v...
aa43c9cddc2aa49bba8d124cf4728f14577b26c74d75d002908723dd38702fa6
['d178760c4db146719f71d767a0b1b5c1']
In Visual C++ (VS 2015) I can define a managed enum as follows: public enum class Pet { Cat, Dog, Hamster, }; and the keyword "public" is vitally important. Without it, it will not treat Pet as a managed enum, and you will not be able to access the text associated with the members of the enum using Enum::G...
ab48199d95896a3a6bf391eeb6f910bac6ae098c37f44f05ae531b0079b1aeaf
['d178760c4db146719f71d767a0b1b5c1']
I figured it out. I need to make sure the class in which the enum is declared is a managed class, like so: ref class Construction { public : enum class Fixing { Nut, Bolt, Rivet, }; }; Then the code that writes out the names of the members works. However, I still think the line "enum...
16e5860675b8b132381be5d68fbd7eb6322876a0b1c9f3e5bcc4ea77741eb983
['d17e920893384dc496fc4e2088689dc5']
RMagick is really annoying to install because it requires system binaries for ImageMagick. Specifically, a slightly older version of ImageMagick. As of January 2018, 6.9.1 at the latest, which is no longer archived on the ImageMagick site. Older versions are a bit hard to find, particularly for Windows but here's one ...
3b6ae6d67f3c6cd77542ee09a99433b4ffc8be2c60babb3175c2f9a5eda112cd
['d17e920893384dc496fc4e2088689dc5']
Slightly unusual constraint solving problem I'm trying to implement in MiniZinc: I have a CSP that has some hard constraints and a soft constraint that the relations in the solution should have a statistically similar profile to an example solution. That is, if the input has 5 'red' and 12 'green', the found solution d...
b3fe4157cef8ad37afb76263bc77fd84f639c886ba8d2051ba475a94f7288a0d
['d17f076c598e4944bd34c5b3316cec6a']
Although this is an old post, and the question is specifically about WebPack... If you're using Typescript and a boilerplate such as create-react-app, and if you have your video on the static folder, then please check out this solution, of adding the type to src/react-app-env.d.ts, before ejecting your app: https://git...
88589ec844deba10d1889f764faf4e959b1b44d90f60eedee5424809daea339b
['d17f076c598e4944bd34c5b3316cec6a']
It’s interesting in that my mother, a fairly formal southern belle by background (here in the US), once our homes began having space for such, would typically refer to our room where we gathered, for tv and games, reading and whatever, as the family room (some in the US call it a great room. Meanwhile the very formal r...
8d508853e44d66e4e1edb7ea126d2328a2aff3e470e946c849bc6894d035c6cf
['d188afe8cbf64f26a22f8f20f5b5a6c0']
To days of stomach pains is over. I decided to make a copy of my, now not working, app. After more tries than I can think of, I did the following: backup of localization folders in the project Removed localization from the main storybord removed all localization files from supporting files removed localization folders...
d1f744b2311d10ea0273560d644e542864cf5a290fa1624cb0c514f75bbefc89
['d188afe8cbf64f26a22f8f20f5b5a6c0']
I have created a small app with just three views. I have only selected LandscapeRight orientation. in the iOS simulator only the first view shows up in landscape. The other views are in portrait. I can rotate the simulator, but the storyboard layout rotates with it and does not display correct. the info.plist file has ...
0dd67e5989b29e679914dc8abd3a069378d2848f977a13e33070ca55bf4a0236
['d194d4ef0d224052981581a70e5f9042']
I'm trying to make a template for science exercises, the way our students have to solve them in secondary school, using the keywords "Given", "Asked" and "Solution" in the margin. I used Latex quite a lot some years ago, but forgot a lot since. First of all, I'd like to find a way to automatically cycle through these t...
7fad0d78e19bd428993075bfa3a8dc2db4820e58d87e89d82017acc2bf976e96
['d194d4ef0d224052981581a70e5f9042']
I am conducting a survey that will identify and quantify the extent to which businesses in a certain industry reuse, recycle and dispose of their waste. I am trying to figure out how I would be able to express the confidence of my results where the responses would be weighted. For example, let’s assume there are 20 b...
433e7312bb6ec74a56e72fe5ce2328178a419e5cbca4c6ddb82d20f775d6137c
['d19d1155c9494ca78d4f0d6b9cb5e22c']
The file access from "/data/data/..." is not reliable since I think it is not the same path for all the phones (Samsung devices namely are different AFAIK). I prefer the following method which basically 'replicates' the old shared prefs and then clears it. This method does not remove the old shared prefs file itself bu...
9749ca0a19f86bde94773033c00a3f67a049ede6eb31bfdea08cb7ec131fc67c
['d19d1155c9494ca78d4f0d6b9cb5e22c']
I had the same issue and the best solution I have reached is two repeat the same data attributes but with slightly different pathPatthern to cover all cases. In your case: <data android:scheme="file" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.ext"/> <data android:scheme="file" android:host="*" an...
b699ee4321586d03e7c96dadeb8f23d2c54c9441afc938282a6289d1f17ebe31
['d1b138abd7214a20b2bf8e6c46aa4cf0']
I'm querying an MS Access database and getting the following error: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression. The relevant code: private SimpleStringProperty getProduct(String bc) { Connection conn; String dbDriver; Statement st; ResultS...
fe452e1e6394367fe709ad5927ee9f7dfceeab90a15e8a94b9820f00ac40c202
['d1b138abd7214a20b2bf8e6c46aa4cf0']
Ok, I'm having trouble making a Menu with Menu Items. I was following this tutorial ( http://docs.oracle.com/javafx/2/ui_controls/menu_controls.htm ), but when I run it I get a nullpointer error. My code looks like this: @Override public void initialize(URL fxmlFileLocation, ResourceBundle resources) { ventas.setO...
3d09748ec3e86ecf3e01d74813d9d67d6907902f287adaf8c4c965cdabada254
['d1c29c32aaad4d4190817cda44cec85f']
You can use the Python builtin function which name is any(). here is my code which will check if your list have any even number. You will get true value if there is any even number in your list otherwise it will return false. list1 = [3,105,97,17,68241,5,3,8,] print(any(num%2 == 0 for num in list1))
28efa05ba83ab36f185468fc697df3154b7673aba39657a03be2a670cee1a8ae
['d1c29c32aaad4d4190817cda44cec85f']
I want to scrape product information from this page . This product have three different size and price will be change if I select different size from drop-down section. Right now my scraper only can scrape default price after first time initially page load which is 35 for 1kg. How I will scrape price for 500g and 250g....
67a893b7c31d79b993d2a4c744c621109cb2d817fee5f504816a7520ce6551bd
['d1d47cab98b744ceb7f2d7f4b8468da1']
I need to do a boolean subtraction between two models in C#. One of the meshs will be entirely within the other mesh, so I was hoping to reverse the normals for the one model and add the two models together. I am at a loss on how to invert the normals though. This is how I'm calculating a surface normal: //creates surf...
8e3d52f7108071c6eb20b6356f0810b4c3a1cae6563ab3e48d92a21a31e4cee6
['d1d47cab98b744ceb7f2d7f4b8468da1']
I have an issue where the following SQL command returns the column name, not the value in the column. string sql = "SELECT @resource FROM db1.stuff WHERE (username = @userid)"; MySqlCommand cmd = new MySqlCommand(sql, command); //command was set earlier cmd.Parameters.AddWithValue("@resource", "cash"); cmd.Parameters.A...
2e6d1718b7934bd330dfbded03c937b7db4c6d6219047ba5349aafa28c06d7ff
['d1d4951f48334a138de385e444c8c86b']
It is a JavaScript rendered page When you look at the raw HTML output from BeautifulSoup, it cannot find anything because that element does not yet exist on the page. There is some JavaScript which first needs to execute for that element to be there. You need to use a scraping solution that allows JavaScript execution ...
e1bd4ef04e3fd3ebb8680fa960928fd10334f1f02bcaf431961c0c770a3fadc5
['d1d4951f48334a138de385e444c8c86b']
You could use pathlib which is part of Python 3. No pip installation required as it is included. from pathlib import Path your_file = Path("C:/script/FOLDER/target.txt") #get the parent directory with print(your_file.parent) For reference, "one folder up" is typically referred to as the "parent directory" You would ...
de685dcb24c9370a5c309160a22bf0a53ecf24c7759b861e0e3cd5ae0e4bc058
['d1d50636f26844c2a6aa4b0eaee73ccc']
I have a table for detecting views of articles - it should have one unique row for each article_id&&NULL&&IP when noone is logged in and unique row for each article_id&&loggedInUser&&IP. So I thought that when noone is logged in I will just add a NULL instead of user_id. But MySQL suprised me - when I've added UNIQUE K...
9b26e0abe1c00575333a3733f07a0d96c7b62574c88f9f309c84c84c7421b77f
['d1d50636f26844c2a6aa4b0eaee73ccc']
By default, the messages WILL show. So especially if youre using wordpress and there is no javascript error - there is like 90% chance that your app is in conflict with some other app (plugin/theme), which could redefine the messages or completely clear them. To fix this look for lines similar to this: jQuery.validato...
49637f5bf674bcd4869e9b5ee875f8c53c8a1a7e2f945ea0c512b100b3d68b34
['d1fa35e06c30430ea3fabed56cd87e0f']
You had the printf in the else{printf} it should be outside: int first, second, third; printf("Please enter three numbers:\n"); scanf("%d %d %d", &first, &second, &third); int min; if (first<second && first<third) { min = first; } else if (second<first && second<third) { min = second; } else { min = thi...
09b1eae9fb6aeb3335126455fa2489e286a180783e5bc2cfd5b563fde70f8a22
['d1fa35e06c30430ea3fabed56cd87e0f']
This method is if you want to use parent variable when returned.But I would use <PERSON>, it's a bit better. class A: def foo(self, num): num1 = num + 3 return num1 class B(A): def foo(self, num): num1 = super().foo(num) num2 = num1+3 print(num2) G = B().foo(4)
1cfb5f77753709fe4a3d33d10209661cbc09a946cd38ce1f0181d8ae4107cbd3
['d209f335d4b7498aaab9403bfbc0bfa2']
There is only one standard definition I've ever encountered that adequately covers all uses of these terms: Alpha software is software which the originator has labeled "alpha". Beta software is software which the originator has labeled "beta". Gamma software is software which the originator has labeled "gamma". (Rare...
3b0eeb8b11f3671641a5b54b0f78b4f7bafc234ee7a4633b8a95088f27c6160a
['d209f335d4b7498aaab9403bfbc0bfa2']
Thanks! worked to clear the errors. There is a js function that passes the toQuery to the method. For this to work would I need to add the searchField to this as well? example function getRecords(toQuery, searchFields) { Visualforce.remoting.Manager.invokeAction('{!$RemoteAction.SearchAllBusinesse...
b341e5f8b7721be09780c4be2fc617993fb38e96f91957c730c9349b54c92faf
['d20b34019fdb40d5b579f35cbb350004']
In XNA 4.0 3D. I want to Drag and Drop one model 3D.So,I must check mouse in a Model or not. My problem is I don't know change position and rate this Model from 3D to 2D. It's related Matrix View and Matrix Projection of camera?? This is my code: http://www.mediafire.com/?3835txmw3amj7pe
3c3904524b95c0f02312c8189c2d16c130b7f11555f3aa44f88603c5fd0f4bde
['d20b34019fdb40d5b579f35cbb350004']
I have solution for you.First, you create paramaters: MouseState nowMouseState, lastMouseState; In LoadContent(): lastMouseState = Mouse.GetState(); Create one function : public void ChangeState()//I check button have position:Vector2(0,0) and hight= width=100 { nowMouseState= Mouse.GetState();//click if (Mouse....
c7dd9bf8184be5599902a07910b5e94602758656070aa970eec898b30d1a2cc4
['d20ed6b350e44cb59220628ad3787db2']
you are using "data.videolink+i" and javascript does not evaluate the value after the "." instead it is treated as the object's property. you need to use [] for evaluation. try this I hope this will work if (doc.exists) { for (var i = 1; i == videocount; i++) { ...
815c72d68d0fc015d48d7d66dd869c5136f4a7f7e6f8072505afbfdfc148aa75
['d20ed6b350e44cb59220628ad3787db2']
I'm making an order APP where orders will be shown on the dashboard, but my one function is not getting called in react code. The oneDayOrder() is not getting called at any time, it is supposed to be called in fetchOrderDetails(). If anyone knows the logic behind this or how could I fix this issue, please help. Thanks ...
e19abe6c02de16bde590f520e26faacf233825f5444dc98b24be909e8f6d0442
['d226a85b2a454866880e1887f6d4aa57']
I'm teaching my first class this semester, and was quite happy with Gradescope when I used it as a TA last semester. Does anyone have experience using Gradescope with large (100+ student) classes for evaluating exams? Is it worth having a teaching assistant help me scan the quizzes? Is there anyway to structure my qui...
3768cfa3be7cdd05917e79ae350b8223e7b1ff8763727de9e15d0b56d916affc
['d226a85b2a454866880e1887f6d4aa57']
This is a fascinating bioinformatics dynamic programming that I am solving. I am not looking for an answer to the problem, but rather any algorithms, research papers, or other pointers that could be helpful. SETUP You are working in a lab as a microbiologist and would like to formulate an algorithm to interleave two D...
70e359bb40b0e1a7e0f38db35f49a903fa1fda896d2fcabad953cc7fcf5adfeb
['d235a030665c43de94ff7713ec829000']
Try this: Open the bash terminal cd ~ vi .bashrc press i to go edit mode and update it with you alias command. press Esc and press :wq(save and exit) now close and reopen the bash terminal check the alias command. if this didn't work create the .bash_profile in the same way and add the line if [ -f ~/.bashrc ]; then...
338b30a3e8ce0d201b909a9a8bdf6b212490fc4ffadbba8956c1aeb7914e50f3
['d235a030665c43de94ff7713ec829000']
Use readlines() i = 0; lines = f.readlines() while 1: line = lines[i] if not line: break if "Maximum Velocity Error:" in line: velerror.append(float(line[32:40])) if "Grid Dimensions, Mesh" in line: mesh.append(int(line[27])) if "Time Step " in line: tim...
55ac04690c480c903c8b6f4dc2368d90378ecce8f473b32cc816a7ca891ebdab
['d24759e7e6664e19a3f5162b54a62df0']
I had the same issue using node.js and phantom in a windows machine, what I found that you need some special treatment on the windows enviroment. the npm document is here. var phantom = require('phantom'); phantom.create(function(ph) { return ph.createPage(function(page) { return page.open("http://www.google....
31eafb8501a7e0a95f2816a727f8d33ceeea5c2e142c5f9204014ba8cbac0d78
['d24759e7e6664e19a3f5162b54a62df0']
After read Coder_Dan's comment and MSDN article "http://msdn.microsoft.com/en-us/library/bb775947(v=vs.85).aspx#related_topics" about the button types, I finally sort it out. BS_GROUPBOX is just an "eye candy" and it did no contribute to the group of the radio box!! The critical parameter to control the grouping is th...
d7def106d8e175848620cc350defe1b99c8ef24ffcb6066c1a93beba76a26cb7
['d24a938339064ab8ad612e68085cde1b']
My main problem was, that I didn't set the encoding in VS in the beginning. So, I make new project and set the codepage to 1251. This is my code: #include<iostream> #include<string.h> #include<map> #include<windows.h> #include<locale> using namespace std; bool CheckLetters(wchar_t letter) { bool isCyrillic = 654...
4be32d65e2819d095936da438a712bd0bb3937b5af65c8866f28c4d17748e8b2
['d24a938339064ab8ad612e68085cde1b']
I'm trying to read cyrillic( "Иванчо говори само глупости") from the console, but everything I get is "????". For the first time i write on C++ and I will be very greatful if someone help me to solve this problem. This is my code #include<iostream> #include<string> #include<map> #include<Windows.h> #include<clocale> u...
b0b196ef6d307be4862925795da994153183bce14a4e4313d6c3896782d905a3
['d25233309a5042f990c3023ac25ab14c']
This is very interesting. I am not 100% sure of my answer but just throwing it out here. It depends what the noun of the sentence is or more specifically what they first of are. Are they before anything Users or Bots? In my opinion, bots are users too and users are people so by extension; bots are people too and for pe...
ce0cfca1c2c8866829d8d40702016d77933c78ebe8da288ead0f8f447a0cf253
['d25233309a5042f990c3023ac25ab14c']
What is the history behind the word "free" that made it necessary for the clarification "free as in free speech, not free beer"? In the context such as "free press", it means libre from censorship, "gluten-free" means libre from gluten and so on. Then there is "free stuff", why is the same word used? Does it imply libr...
59765a75077b914787b02f95c2d11284958c05449ef4461d0358720d23312f2f
['d254a705efed43348bf808ce344ad5f3']
I am trying to dynamically add state to an array from my form in such a way that multiple inputs can eventually be saved as state in the same array, much like the redux form but I don't know Redux yet. I don't know how to access the current array I am in so I can set the current input value as state. In this case, I a...
de75cfdcf065b9ffac8f07552f3f5c6aebb2d1b8671f1d0ae29b1f04ed50167c
['d254a705efed43348bf808ce344ad5f3']
I'm trying to make a game which is based on a sampler. The aim of the game is to copy a sequence generated using random numbers. I have an array which has the randomly generated numbers and using .each() i'm trying to get each value to play a sample which is working but playing all the samples at the same time. I've g...
d113750bb26751b8ac393ed3c6d4fc474e3a5b7d8f9274e8624653e1a6088948
['d257de075718416faa5927c9c24cc25f']
I am making a GUI for a board game. My game logic counts the pieces of both the black and white colors and returns the amount. In the GUI I use 2 pairs of labels to display the info. self._white_score_label = tkinter.Label( master = self._info_frame, text = 'White:', font = default_font) self._whit...
0a39b69ca32d5e59f82b98c16649b59fbd23d1c2db4402c6490b9d56b28ebd5b
['d257de075718416faa5927c9c24cc25f']
def f(iterable): i = iter(iterable) int_list = [] n2 = next(i) while True: n1, n2, n3 = n2, next(i), next(i) print('n1', n1) print('n2,', n2) print('n3', n3) if n2 > n1 and n2> n3: int_list.append(n2) return int_list In this case, the iterable is ...
d2781722d3110ee4ddf6d541fac283113a246a6325293a4f79158f5b2fc31c2e
['d26f0e7a162543a7ae963cbbe9884626']
Tried using wubi which creates a virtual install (I read up on it) but doesn't work. I **DO** get a menu with Windows 7 first and UBUNTU second, but when I click on UBUNTU it executes about 3 commands so fast I can't read the screen then comes up with the GRUB> prompt and sits there. The windows selection boots windo...
5677e41aa8c7f7bd2a93b7853f5a8dafaddd051db2d193a0d76a525bc3aebc1e
['d26f0e7a162543a7ae963cbbe9884626']
Set A is finite with n elements. Suppose a and b are elements of a set A with a != b. Let R be a relation on the set A so that there is a path from a to b of length at least 1. Show there is a path from a to b of length not exceeding n − 1. I understand the proof for when a does equal b. And though I understand concept...
880bbd74b3d0f80435c8f74601d2834202b9febc375272423f1ba0a4f1200086
['d27dc0151e864385ac6e0f7c43f62b1d']
I have implemented a customer interface using java (multithreaded). On the client side customer logs in when the server is already running. Multiple clients can login creating a thread for each client. What I want to achieve is when multiple clients are logged in I want to enter a command in server console(eclipse) tha...
71e4c0a75247dc0cddc650da292f2fad6d2faf292c796211a3aaf842f6b62efb
['d27dc0151e864385ac6e0f7c43f62b1d']
I have this google pie chart in my mvc application wherein i need to move on to next action on another controller on click of google pie chart section.Here is my pie chhart and eventhandler function <script> function drawCharts() { // Create the data table. var dataP = goog...
7c6470192580742ec8401cb870abb9377ef4fb4b0f17c4016062b819195fa083
['d295deeca76c4f5fba542d6c2f79bbb6']
So I've added the the BootStarterReceiver receiver in the manifest, I've added the OnBootCompletedListener implementation in the module file. (is this the correct practice btw? in the module class) Now how do I start the application? what do I implement in the OnBootCompleted method? There's the cyborg.startActivity(...
b48ff5291777697e07fcd694c801a9031669776c4def2e0801c2344be8080dd5
['d295deeca76c4f5fba542d6c2f79bbb6']
The remount didn't work for me (it requires Disabling SIP, which I didn't want to do) So instead I moved the mongo folder. You should have the old folder under the 'Relocated items' folder on your desktop so just copy it wherever you want (I moved it to my user folder) and then in the terminal go mongod --dbpath /user...
a313ab43507ccc0ae14ee09a57004f3c9bae59b660fb061bd869a09c649fe809
['d29a129ccb9044dfaf5eb57476b14563']
Somebody help me, I'm spending much time trying to create any netbeans project such as java library, when i change the target path to outside from workspace i can create, if the target is workspace show the message project folder cannot be created. I tried to change the permissions workspace with chmod 777 but not work...
06651aa49ead3263e76c5b86f70e95794ed25c5b56d8d3b0bec6256c1d6fe7d3
['d29a129ccb9044dfaf5eb57476b14563']
this is my scenario, i have a Excel VSTO Document-Level customization which i need to install two different versions in one box(QA version and Development version), i am using ClickOnce strategy to achieve this scenario and it works fine i am deploying the application to development file share, and after that i change ...
73c8474ae1eba82d2cfa5383f1fa471669f9aa145c76a25ca0673692e2af10d1
['d2a0b63884f4437796efd75817158ca3']
I am defining a context manager class and I would like to be able to skip the block of code without raising an exception if certain conditions are met during instantiation. For example, class My_Context(object): def __init__(self,mode=0): """ if mode = 0, proceed as normal if mode = 1, do no...
6e65751f6fb6fc9f49f5bd573023c5502e4403c5d0db3597b15a38c950c4ff90
['d2a0b63884f4437796efd75817158ca3']
I am starting a website, thus I'm learning how to program in html/css/php. For other languages I have learnt so far, there has always been an IDE or interactive console that I can type in codes directly to see how they works, access variable types etc., which makes learning and debugging a breeze. (E.g. bash, python, m...
78b74329953088daf42264d7747386fed672cac0d39777ef6b6fd85aa8a20524
['d2b932fb84ab4738944890926c99dd3e']
I am trying to follow through with the answer to a problem (I have no internet on Ubuntu right now), but it is asking me to do USB tethering. I tried USB tethering with my Android phone, but it isn't working (it doesn't show up in ifconfig -a). Here is a link to the answer: https://unix.stackexchange.com/a/423250 What ...
9582e60fec3a3e9f9cd371bafcfeb1cd594642a8daf819a65aaaa3fca154d9e2
['d2b932fb84ab4738944890926c99dd3e']
I just had the same problem, a completely blank page with no source output except for IE which was displaying a bare bones document outline. I also have TinyMCE installed and I'm using the Smarty template engine. I was using the Smarty filter escape:'htmlall', which was converting the TinyMCE enabled textarea submitted...
683430c053357a1983344e9b81911da2061285a7877e823f6543a3863b416400
['d2bfc0b23b26499e845ff6ee2890917c']
Seems you want to run some task in a loop in an asynchronous way. You can use 'async' module for this. Otherwise, if you don't want to use any modules, you should be using callbacks for your purpose. var arr = [...] function A(i) { if( i < arr.length ) { some_process( arr[i], function(err) { if( err ) { ...
01ada0dfea7513e34c1ad51af5a1bfcac9c81b3974d08ae753a4497737a8c343
['d2bfc0b23b26499e845ff6ee2890917c']
First of all you should know that you should be running the command in the same directory where the file is. In cygwin, first you will have to locate to the folder in which the file is present, then you can run these make commands. Better since you are using Windows. You should better use any other windows based client...
c91587c4f4e7265c568fe1788e467607c1629371b277adaa9472aadf6b5318b6
['d2c665028c554e988b1eea48d36a9a2e']
If you want to check if a view doesn't not exist in the hierarchy, please use below assertion. ViewInteraction.check(doesNotExist()); If you want to check if a view exist in the hierarchy but not displayed to the user, please use below assertion. ViewInteraction.check(matches(not(isDisplayed()))); Hope this helps.
f706f32c866e2dc3826280d8f8e1d5d799666c120b46be8e72849cdf33aa1aa8
['d2c665028c554e988b1eea48d36a9a2e']
Found this solution when browsing through internet, hope this helps Navigate to C:\Program Files\Mozilla Firefox\defaults\pref Create a file local-settings.js Add below code to the .js file pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0); Now create mozilla.cfg in **C:\Pro...
6881c9105b58fc92066a4b6ab71fe9314e1ffde55d9646445dd80c6eb63c091b
['d2cdc1d7f4ea4915b104707d55c04f13']
The { [...]: ... } syntax in Flow does not mean the same thing as it does in ES6. { [k]: K, [v]: V } does not mean that the object must have a key k of type K and a key v of type V. Instead, the syntax is used to denote an indexer property in Flow. Thus, { [k]: K, [v]: V } is invalid since you may only specify a single...
17017e580f56318e9ab7a8ba0b812ad471a2b2a145a26171a8c66f0a21380642
['d2cdc1d7f4ea4915b104707d55c04f13']
This should be a comment but I'm not able to yet. Anyways, it looks like your example repo is using an older version of Flow. As of version 0.89.0, Flow's support for higher order components (HOCs) has increased tremendously. If you are still facing this issue, or something similar, I would recommend that you upgrade t...
cb8f65fe22bd6fa6891c32e92acd859d175481152612510d262b847d0c0344a6
['d2d5fe6d145a48eabc1c7e6b648e4e95']
I created an amazon ec2 t2micro instance and installed on it Wordpress Multi Site (Bitnami) from the aws marketplace. After the installation I couldn't add a site to the network. I decided to change the mode to sub_folder instead of sub_domain, so I connected through ssh to edit the wp-config file. I changed define('SU...
f7b0bb3f7807820919fd6285b1753075e52340c2f5a27c6ab31289bf80d82962
['d2d5fe6d145a48eabc1c7e6b648e4e95']
After changing the access_key and deleting the last space of the string; To solve the error about keypair: I added the user to a group in Amazon AWS IAM and added the policy found on the Packer documentation: { "Version": "2012-10-17", "Statement": [{ "Effect": "Allow", "Action" : [ "ec2:AttachV...
b8a261493ec598ca50a722861cc19825615a317b33251967b95c66422dd40110
['d2d83039e0194636b18299899f3b8289']
In lambda it can be done like this: var results = tcs.Skip(searchModel.PageSize * (searchModel.Page - 1)) .Take(searchModel.PageSize) .AsEnumerable() .Select(x => new { trackId = x.TrackId, ...
57419dfdb94c5aa99b650207a683ea5e48597a9b5f7fcd6ad87767f7e5ed844b
['d2d83039e0194636b18299899f3b8289']
I want to execute code before the hashchange event affects the page. how can i execute before hash change event? I want to use a confirm box on before hash chnage so that if i press cancel button of confirm box it does not navigate to new hash. I do not want to change hash on cancel button because it opens the page as ...
a09dcea09fbf027a412438993eb3eece8aa3aef5dfa3b7beba2e38e3b316e12f
['d2e104db5ea84e148afaa37705e80c38']
I’m new at working with WIFI Network connected devices so please excuse my ignorance. I need to be able to receive GPS location data via the GDL90 protocol from a WIFI connected external GPS and integrate that into my app. How do I access the data? JSON? Other? I’ve looked at the GDL90 protocol and am not seeing anyth...
ede5818981fb9c9a4505a5b899f11df2b3e0cdd88a3135fc96358a6691aacd6f
['d2e104db5ea84e148afaa37705e80c38']
I've been using background location updating since iOS 9 with no problems and this issue just showed up now in iOS 13. The debugger console identifies this issue when the app enters the background: "Can't end BackgroundTask: no background task exists with identifier 3 (0x3), or it may have already been ended. Break in...
f216959df8a258fd6ae085425e107de32bc7343e4a80cbf767219609cef7c445
['d2e53b219cc444b29fa1536155c4e484']
i want to do 'check in' to code uses Nuget package. what is the the best way to do it? Do i need to do 'check in' to the package folder? Is there any way to put the dll's (nuget's dlls) in GAC and add them public key token? My solution is written in c# .net framework 4.5. TFS version - 2015 thanks!
030ac0751bc2eefc489a93ce8e7c13ab4fe2658713d442a8946aaf49b871824c
['d2e53b219cc444b29fa1536155c4e484']
i have a div with attribute data-toggle=collapse. This div contains child element (a tag - a link) and i want that the a elemnt will not refer to the data-toogle attribute. <div data-toggle="collapse" data-target="#someElement"> <span>click here to collapse</span> <a (click)="anyFunction($event)">open new windo...
03b812dcba870062e98cb23140a86dcd95ade9d714594e5f382fe078c296022d
['d2f7b58b8a244ff0ab645e1155de14fd']
That error often means it's had some problem loading the file in question. Is the Admin module defined at that point? You can try: module Admin module ArticleCategoriesHelper end end instead. This will work whether Admin exists or not. Simplest solution would be to just remove the file entirely, since you don't...
81a4a91ea36aa4d4eeb4eb64ffe16bd45f35039e7c9ea796648b3cee46414852
['d2f7b58b8a244ff0ab645e1155de14fd']
Also highly recommend the pattern. No gems that I know of, but it's pretty easy to do. One tip: include the ability to auto-set the initial state to either on or off: feature_flag('third_party_tool', :default => true) do ... # this is on by default end This will save you headaches at deployment time.
c989c72e9f092635aafcd57406ba6e01f16f3e55d4c31508dbbd6e0515769489
['d2fca5c4def146a58426fa5fbbeb8af3']
I saw this problem and this is how it got solved: Host the SDK samples (or the project) on the Local IIS (not IIS Express). This way you can access the site with the machine IP (ex. http://<IP_ADDRESS>/ or http://<IP_ADDRESS>/sdksamples/) and not http://localhost/. Now add this IP to the trusted connections by Lync se...
edb209bf0834327d6f6fe0b8afcb1fed4eea9b96b7a79068f49f613827b5ccb7
['d2fca5c4def146a58426fa5fbbeb8af3']
I'm sending SIP requests to Twilio SIP Trunk, using Node.js and Kirm/Sip module, I'm trying to cancel the call after receiving '180 Ringing' response. The problem is that the [CANCEL] SIP request is sent but the server never replies with status '200 Canceling' like it should, instead it replies with a TCP [ACK] and th...