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 |
|---|---|---|---|---|---|
7cf948c39ac1fb879c4ebcdf0b22f2a7a3d72e53c384846a8d1e7bad0664a3ce | ['3e008afc3ba049d3b3e7373291b281d4'] | I have build 3 "applications" in Google Sheets, all of them using various scripts for resetting the data and saving the data elsewhere. Each Sheet is associated with 2 or 3 scripts. However, in the Scripts folder I see a multitude of scripts. I would like to organise them e.g. in folders per application. Is there anywa... | 7a102c2ca8adfa088f4ad1aff80dbb0e6d1721b9b861e8136d979374c71c3657 | ['3e008afc3ba049d3b3e7373291b281d4'] | I figured out something crucial:
Stand alone scripts CAN be accessed from Drive
(https://developers.google.com/apps-script/guides/standalone)
Those bound to a Sheet or Document can't (https://developers.google.com/apps-script/guides/bound)
And, one needs to Connect Google Apps Scripts to Drive first:
Go to Google Dr... |
45cf98e2056c1bdba1df0f7d90396e966cf1734ff161e707746e04799b76bd1b | ['3e043d941dfb46f092ffd69508097e55'] | It's Math was done by me, and I made a mistake in calculation in the foundation plan which led to the problem. Total number of floors are 4, height per floor is 11' and the building is a simple residential house. If column details are needed, I will share that too. Please let me know. | 35535b3caa335c5b640c66e7db3faae42d429c3ce95e1d7d93c4186725a48084 | ['3e043d941dfb46f092ffd69508097e55'] | So I figured out how to do this efficiently. What I do is every X minutes write all the data to a stream and delete the data file. This causes the data to not take up so much disc space. Then on application quit I write all that data from the stream to a compressed archive. I end up getting roughly 1 megabyte a minute ... |
060b35f1c83b138f34e2e575e2d8860eb00d2c26b1ebe73368aa89cec9f05deb | ['3e1155512f7d47b7bb5c40bd4358166c'] | I am stacked with this error ENOENT: no such file or directory, open 'public/images/name.ext from express-fileupload
I know there are lot of the same issue, but for me seems the solution do not work the ones I found here:
No such file or directory error when uploading a file using Express-fileupload - Node.js
neither t... | 22de067165af79b3b812e413232738544bead4e4a42cdb8de2f38e4e64e2bd46 | ['3e1155512f7d47b7bb5c40bd4358166c'] | UPDATE FOR THOSE WHO HAVE THE UPLOAD FUNCTION NOT IN THE INDEX.JS FILE FOR EXAMPLE IN /APP_NAME/ROUTES OR /APP_NAME/SERVER/SRC/ROUTE/ROUTE.JS (mern_stack version)
So in my case I have made upload function in the
/app/controllers/ folder
My controller file location structure:
/my_app_name/server/src/app/controllers/Fil... |
8964873ce2b4b725bc369e60a452c968542d7809a00d72f14cef0f5c8178e1c4 | ['3e16cc3a23164ec1876c62b604154278'] | Yes, it is a standard DNN module. If the links module doesn't appear as a standard module in your installation, you have an installation problem.
Go to your main installation folder. Go to the bin directory and make sure DotNetNuke.Modules.Links.dll is there. Go ahead and replace that with the newest version from ht... | f4952e1d5ba643c313e26e12fefe82c94d34775a595e46ae73d0250266829292 | ['3e16cc3a23164ec1876c62b604154278'] | I'm just wondering what the rationale was for this decision. It seems kind of backwards. It seems to me that you could reduce the number of duplicate questions by allowing members to participate in open questions rather than forcing them to ask duplicate questions.
And yes, I know this is a duplicate question. Whi... |
6c3b0a419b216d9efd4708e6c16e312ad47a0c60e1f0d6678ce8e87102fb7158 | ['3e199a7e9e694523a0f81eca930e277f'] | I have created the API in my project using ASP.Net Web API and I
change name of WeatherForecastController.cs to
APIController.cs and chang "launchUrl": "FETL" instead of "launchUrl": "weatherforecast" in launchSettings.json
So I can not run my API, but if I back to use default name as WeatherForecastController.cs and "... | fd4d4a03c5c7e7cc6cc1b0c2aa39c79255d0071cb6a3b815447dee09f4bcd5aa | ['3e199a7e9e694523a0f81eca930e277f'] | I want to download PDF or any other type of file from my API by url, then give it a name (like 1234.pfd) and save it to FileSystem.CacheDirectory, and download its using DownloadFileAsync. I tried debug and see, does it have files in it or am I mistaken? When calling to open it as well Launcher.OpenAsync (for open any ... |
9d2d3248fda43936c038e35b87e6aa7147015f17413053c512852f695cf53086 | ['3e2246f68cb946059cd4b5facd8c4899'] | <?xml version="1.0" encoding="utf-8"?><EmpresaLicenca xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SequenciaFornecedor>522b2266-111111</SequenciaFornecedor><LSTEmpresaCliente><EmpresaClientes><CNPJ>66.444.555/0001-09</CNPJ><NomeCliente>Empresa Teste Cliente</NomeCl... | 3c316cc2b149d407742648e8b4b65a3b293594447b6466cbff28c76fe1f3cbae | ['3e2246f68cb946059cd4b5facd8c4899'] | "cropped" refers to something you did in the past, whereas the body being in the picture refers to the state of the picture *now*, not as it was before you cropped it. To illustrate why using the present tense is correct, it's equivalent to say: "I cropped the picture so that it *now* contains your entire body". Tenses... |
cdbb1e493bc96625c0778fe66194f6ff5875fb30c7099cc45e471aa0c5da61c1 | ['3e23d8fd400e4a478f798063149fab12'] | I was following this tutorial for uploading an image.I could n't figure out,how is this checking file file,if the file size exceed,it should an error.
Here is the link http://www.htmlgoodies.com/beyond/php/article.php/3877766/Web-Developer-How-To-Upload-Images-Using-PHP.htm
Can some one explain,how is this code checkin... | 9923057001a2063207619680e1aaad8e085626fa3c24041110c4f8c90e24c32b | ['3e23d8fd400e4a478f798063149fab12'] | I have two tables named x and y.
x table has two columns say _id and name.
_id would be primary key, name would be a unique constraint.
I'm not familiar with sqlite queries. Should the query be written like this?
CREATE TABLE IF NOT EXISTS x (
_id integer primary key autoincrement,
name text,
unique(name... |
dcc37c013648e40c911154f26d3c5313703b5094d75b55fa1e347bb518bb1144 | ['3e2952cd57db45ac8881cdbe5c6bfb9c'] | I've been googling for ages trying to find information about what object storage is in relation to cloud computing but have been unable to find anything. Can anybody provide any links with succinct overviews of it?
Its not the concept of cloud storage in general I'm looking for information on, its specifically object s... | 6af4f9add521ff37dba9564550ab248304310adf05a89aebed7691c88d2e2cf7 | ['3e2952cd57db45ac8881cdbe5c6bfb9c'] | I've been flicking through the book Modern C++ Design by <PERSON> and it seems interesting stuff. However it makes very extensive use of templates and I would like to find out if this should be avoided if using C++ for mobile platform development (Brew MP, WebOS, iOS etc.) due to size considerations.
In Symbian OS C++ ... |
22aaca5f62a2c678f7e64027448c80529b0868854b1422597d887eddb2e574bc | ['3e3061eb92614ea98086557c14dd1c33'] | I have created a form where 1 customer can be stored multiple times in the database I have also created a 'Find Next' button which is working perfectly but when I make changes in the form and click on the update button the data is updated on the customer which is found first in the database and not the one that I want ... | 0b33ae41ecc94bc588d1805979ed252e2b0acccc12c6d3a10cbc55aacb5e4d88 | ['3e3061eb92614ea98086557c14dd1c33'] | I have multiple records with the same customer number and I using Find next method to search for the next record with the customer number is same. my code will only search for the 2nd record and not go for the 3rd or 4th search for the same customer number. below is the code can you please help
Private Sub Command114_C... |
69658c17d880bdd97202d6c5b0744804726a455950ccd64df906d69b64b30d36 | ['3e39f0a93f21431498d60de544f5bc10'] | A little riddle: you have six packets of 6, 12, 14, 15, 23 and 29 cards. Some packets have cards of pigs and others packets have cards of foxes. If you remove a packet, the cards of pigs are double than cards of foxes. Which packet you must remove?
I need iterate over the packets, delete it from list and create / permu... | e23394b236955a121abc66f9e49d09670aa4a26b4a989f3ac22446bf43056202 | ['3e39f0a93f21431498d60de544f5bc10'] | I don't know any package with this name. In debian-like systems, the name of the package is openjdk-6-jre (version 6, obviously)´
Try to find the correct name with:
apt-cache search jdk
Anyway if the comand:
which java
don't return any path, probably you don't have installed java.
The oracle java is not be in the of... |
063cb3b66ae8223b6af66824c8314a544a20baa78a3fe73d0bc26c56ded6946e | ['3e41f239d4304656b8afc2d13006ab4e'] | I am having a gridView and the data in the gridView is coming from server.
Now I am having some views in it that will show for some rows and will not show for some rows depends on the sever conditions.
Ex : I am having a LinearLayout which is having an imageView and 2 TextViews, this layout will be visible only for som... | aa80862af2048edb21ae5f2825506eec640b8cb4e31abf853ebca50bf7b760a4 | ['3e41f239d4304656b8afc2d13006ab4e'] | Under this link How to show the last item in the List View when scrolled to get new items dynamically?, someone has posted that "I have a list view in my app which shows 10 items initially, and when i scroll to the bottom, it dynamically adds 10 items every time"
Can you please post the code to implement this, as I al... |
0661a7b17ebfbfc1bcce82c277280cb6fe4233e785a0d931009a8a9b4bae2446 | ['3e4ef451fcc544b582c76987eeac9db4'] | I have a dropdown menu that I populate with items from a database. I want to populate text fields with other attributes from the same table I get my dropdown options from. The problem I'm having is retrieving the other attributes, and placing them in the text field. I have written console logs to help me see what my... | 62b79102c5a91998f44e7a3298f3473dced779c7f345841647ac818946ad9e0b | ['3e4ef451fcc544b582c76987eeac9db4'] | I'm trying to create a List of objects that I received from an API request. The object is Identifiable. The strange thing is, when I iterate over the titles parameter of the object in a ForEach loop, it prints out the expected results. However, when I change it to a List, it doesn't display anything, and it also doe... |
0250a96dd7eaf65a157db56a85a88364e58e8cbae0019894ce46992e526ab5c4 | ['3e6876bce6e14d599d73fdcd36bb8c51'] | It is always a bit hard to judge from a distance, but to me it sounds like <PERSON> should maybe actually be a product manager. I was myself in similar situations in the past and sometimes struggled to implement what others told me to because really I wanted to be in charge of the specs. While I was probably a bit more... | b2ca2f59b01ccf3562bcf7d88fd1734fa8ee9cfc81c7434c458f6c22b2678125 | ['3e6876bce6e14d599d73fdcd36bb8c51'] | I used the USGS tool provided in the link below the model builder comment that split the multipart feature to 208 single part features (all in one gdb). However, now I am not sure how to get the model builder to automatically roll through all those polygons to convert them to rasters. Can i select the gdb containing al... |
be5d2f316c210b7890927a31dca27b424a181ad47a5b7c04cf0dda85c6be6abd | ['3e6f83673761477090d9aa2f05a1487b'] | This's my code for reseed all my tables
begin
declare @tableName nvarchar(max);
declare c cursor for
select name from sys.tables;
open c ;
fetch next from c into @tableName ;
while (@@FETCH_STATUS=0)
begin
DBCC CHECKIDENT (@tableName,reseed,0);
print @tableName... | 8f1dd2f9e0fec01af217eac588c40a03a4ff5bd1ab549f086b47e1113e16fd8c | ['3e6f83673761477090d9aa2f05a1487b'] | public object GetBuildingInfoByBuildId(int floor_Id)
{
var result = (from floor in db.Floors
join camp in db.Campuses on floor.CampusID equals camp.ID
join build in db.Buildings on floor.BuildingID equals build.ID
where (floor.ID =... |
b4d736d1a78c8130a5dbe5e7d274327fbbd48279392c69a4073449b3fd9a2bfa | ['3e933f73c2b841c7a6d02c9d3705fbb7'] | I use Urhosharp to display a 3D model on the Xamarin form, and I want to make the Urhosharp view become transparent so the 3D model can overlay(above) the Xamarin form content.
However, it does not work if I set the background color of UrhoSurface to become transparent, and set the "clear color" of Viewport to become t... | dd72727c78ab929aa0cdfaa018463752c53b994440be893fd16f0c912acbff42 | ['3e933f73c2b841c7a6d02c9d3705fbb7'] | Well, there is a way I found that can solve this problem without manually save each parameter.
Firstly, by using Animator.parameters (Documentation), we can get all parameters in the Animator. Note that it does not include the value.
Animator.parameters is an array of the classAnimatorControllerParameter, which include... |
012cd25966d04b83eea3128348c48367172103b00611f234b3543f695337dc1d | ['3e93839bca8d47fc8ca8d0270c4c139e'] | I need to build a multiplayer card game in AS3 and I want to know the best way to communicate between players. I am currently sending game data into a database and having AS3 call a PHP page every second to query that database and check for updates on player actions. However, I've read somewhere that this is a bad app... | fd4d6841dda5ea6f3bd2638f7e708ad49ed3083bb9078c725424f1fefcbae4da | ['3e93839bca8d47fc8ca8d0270c4c139e'] | Is Dependency Injection (DI) something that's more important for large enterprise applications with multiple team members? Right now I'm a single developer trying to hack out a small site to see if it gains traction. However, I am not convinced that DI will add value to the code I'm writing, despite overwhelming supp... |
e7ce10515837c673bd4aa4becbf40fb1063adb73b300278611f2662e98db9f77 | ['3e93fbd82c7e49d69d46eac58d34d1d0'] | As suggested above, you need to unset your background image with
document.getElementById('zone').style.backgroundImage= "unset";.
in your function it would look like this
function undo(){
document.getElementById('zone').style.backgroundImage= "unset";
document.getElementById('zone').style.backgroundColor= "grey";
docu... | 4cc43f0446b2e555837d74e98c5631a36140fac50c2d0d3abddb2a5a781626ee | ['3e93fbd82c7e49d69d46eac58d34d1d0'] | What i ended up doing was making the funcion async then returning the result of the fulfilled save(). Not sure if this is a good practice or not.
router.route('/new')
.post( async (req, res) => {
const { errors, isValid } = validateTweet(req.body);
if (!isValid) {
return res.st... |
14e8f32a6e648486475fd3d606f4b422028cf48119922e57ab3d8c0e08250ebd | ['3eb6e301dfee4455bd621c551df4d6e4'] | I'm trying to play Youtube Video with the Android Youtube API. I use the YoutubePlayerFragment and add it to a view container. It works well when the view container is visible. Then I tried to make the view container invisible. It stops working and throws an error "YouTube video playback stopped because the player's v... | 72b6a34c37cbbcfb566b20a2906e9d31a7514eae2b9d1ebea59c37d748874d66 | ['3eb6e301dfee4455bd621c551df4d6e4'] | By calling PermissionInfo#loadLabel(PackageManager pm), we can get the text description of a permission. Tracing this callsite, it then calls the pm.getText(String packageName, int resId,
ApplicationInfo appInfo) to get the translated string for the resId in current device locale. Anyone know ways to get the translated... |
20df919eb86be16328ea3d79c91c87945e47ae8f45ce987f70dbab702ce0837a | ['3ec2cf07c0414de582b5398ebe602fff'] | We process images to extract various features from it. For it we resize the images upfront. Whenever we processed the images in an offline process with a single thread, we never faced any issue. But when we try to process multithreaded the JVM crashes inconsistently.
The biggest problem is on a same set of 10K images ... | 065b1128aed877b0fa239ba03354d70f8f3d4fcb680c0e8119f63be713d71921 | ['3ec2cf07c0414de582b5398ebe602fff'] | Is there any way one can find out what the post request parameters are being sent to a website from Firefox ? I tried using HTTPFox plugin, though it shows the request is post, but I want to know the post parameters and their values.
Eg : http://www.farfetch.com/shopping/women/dresses-1/items.aspx#ps=2&pv=180&oby=5, wh... |
32c7c221a25ca8925a89f949b254fa50a9fba9285811d006c2d56587d6a70c23 | ['3ec4b4a4605f4087a3dbdad8a89b4e3b'] | I am doing a shell (in C) for school assignment and I have this problem: I have read the input and have array of words. (like this: {"/bin/ls", "-l", ">", "file"}) And I want to have subarrays with all words between special symbols like '<', '>', '|'. So if my input is
/bin/ls -l > f.txt > /usr/bin/wc
I want to have:
... | db22248d4dd0bb42192378b01d4f63883bafd0815044b9c89c9e10e0227fa7e1 | ['3ec4b4a4605f4087a3dbdad8a89b4e3b'] | I am trying to write a macro that generates patterns for the core.match macro.
(defmacro match2
[state i predecessor]
`(match ~[state]
[(~(vec (concat (repeat i '_)
predecessor
'(& r)))
:seq)] ~i
:else false))
And this works fine... |
501625893aec25a44551fe34b0ca382f11cc8e52d1a4df93d486cb39163869bb | ['3ec9390084274ceda0d5ace23e1f66c0'] | I have a problem with Cordova 5.4. When the keyboard shows up, my view is moved up (as is expect), but it also do it to the left. It seems that Cordova try to put the inputs elements on the center of the screen. I only want to move the view up, not to the sides. anyone has this problem and has solved it?
I have the adj... | c673363626c9c363933fd44adac577b4ad0e261966757c3d9fea8417bc45a000 | ['3ec9390084274ceda0d5ace23e1f66c0'] | I posted this question to the Keycloak mailing list too and the answer was:
It is the expected behavior but also a UI issue. You should not have access to that tab when the client is bearer-only.
They even create an issue KEYCLOAK-10808
This is similar to what <PERSON> mention.
If you want to read all the thread: Mai... |
7cf0b7e2b7dc1b30c2fa7594e50e4ed465c6e1a38dd204f60d4438d5459d11b5 | ['3ecd7ce81ac54525ac1c51d5517b9669'] | @Servy Right, I'm sure you also read every licence agreement when you install software and every popup message when you login into a service. I think the information should be in a much more visible place. And as to the 10 minutes it's arbitrary, you can write a good question in 5 minutes if it's a short question. So, ... | 22715156ec3d9c55d13233fe15c28da71ce750e01e0c2a1afdc86d1ab3f0db00 | ['3ecd7ce81ac54525ac1c51d5517b9669'] | Now that I know where to find it I won't have a problem with it. But I don't think it does a good job of being obvious. And judging by how many new users don't post questions according to the rules, they must have trouble finding it too. |
8cfcf1e95944a6e8b237581d07ab914a377cadcf627f4e1b73fac6e0f94bfbf5 | ['3ef34f2e50ee4cadbeed1a9b326e8c5b'] | In you case, yes it is possible.
With a simple conditional check you can activate or disable any feature of your app.
You didn't mentioned the language you are using to develop the app.
However, with an if condition check if platform is android or facebook.
If it is android, don't ask for login,
if it is facebook, ge... | 42192c459b96bc01f86a6561c862d2daf214302e00dd9044ad92b25f742592e5 | ['3ef34f2e50ee4cadbeed1a9b326e8c5b'] | Connection pooling works at MySQL server side like this.
If persistence connection is enabled into MySQL server config then MySQL keep a connection open and in sleep state after requested client (php script) finises its work and die.
When a 2nd request comes with same credential data (Same User Name, Same Password, Sa... |
1c4f8a0be0100b1baf509b3a9bdc4ee137d32cdd36725a974ae766d6e0ca0c9c | ['3f0e4eb01e964b5b95f8d5819dc5fefc'] | I want to display a series of dynamic entries on my webpage.So i have used a for loop in my html5 file using jinja but keep getting this error.
Request Method: GET
Request URL: http://<IP_ADDRESS>:8000/
Django Version: 2.2.5
Exception Type: TemplateSyntaxError
Exception Value:
Invalid block tag on line 264: 'end... | e874190370f01cb521e0b78a52c491fe2bcb920059cea6306d1705db7b024979 | ['3f0e4eb01e964b5b95f8d5819dc5fefc'] | my views.py:
def songs(request):
object_list=song_thumb.objects.all()
paginator = Paginator(song_thumb, 3)
page = request.GET.get('page', 1)
try:
artists = paginator.page(page)
except PageNotAnInteger:
artists = paginator.page(1)
except EmptyPage:
artists = paginator.pag... |
31ca2f338ad4027fcdce89410029dad2af43e7582175908ed2173c5817785dc7 | ['3f18dedfb8fb43bbae3f6bf0fdcfd1cf'] | "Return Value from List index()
The index() method returns the index of the given element in the list.
If the element is not found, a ValueError exception is raised.
Note: The index() method only returns the first occurrence of the matching element.(https://www.programiz.com/python-programming/methods/list/index)"
http... | c3059c8c18a26a28ab8ae0fa3c8094297e753c8bfde3db173657d6f60a1c6814 | ['3f18dedfb8fb43bbae3f6bf0fdcfd1cf'] | #Change command=save_employee() by command=save_employee.
#If one day you need to pass parameters
#command=lambda : save_employee(arg)
import tkinter as tk
import sqlite3 as sl
con = sl.connect('nibbles.db')
def save_employee():
print(firsNameEnt.get(), middleInitEnt.get(), last... |
bf2a462b6b7379fbb75271af5d3404a1ea2c1f6ee05959c95d848d7913546843 | ['3f1c9300e99c49d9b8f946984b1c5f79'] | Really pushing performance to the max with nginx and php5-fpm is an art. It takes really understanding the kind of contents you are serving.
For example, I don't see any try_files usage, or any kind of caching in your configuration. Do you know nginx comes with built-in memcache support? You can cache images and html/c... | 71468765e6cb3139c3339be919427d71d334ccb1f1d042a989be6de47cefede5 | ['3f1c9300e99c49d9b8f946984b1c5f79'] | This function will take a hex string, and convert it to binary, which is what you want to actually send. the hex representation is for humans to be able to understand what is being sent, but whatever device you are communicating with, will probably need the actual binary values.
// Converts a hex representation to bina... |
3b67316c8bc2116c5b33dac36f36c7cdde8becc28f122778cb0a837ce770df75 | ['3f2795ee5c944f6885c38588cb8e048b'] | You can calculate the most common words in PHP like this:
function extract_common_words($string, $stop_words, $max_count = 5) {
$string = preg_replace('/ss+/i', '', $string);
$string = trim($string); // trim the string
$string = preg_replace('/[^a-zA-Z -]/', '', $string); // only take alphabet characters, but kee... | c615f2bcb2a7c455970916a245f5684cb53a1c24b0950c273ce9dd7a99d713b4 | ['3f2795ee5c944f6885c38588cb8e048b'] | One (of the many) solutions would be to use SciPy:
from scipy.io import wavfile
# the timestamp to split at (in seconds)
split_at_timestamp = 42
# read the file and get the sample rate and data
rate, data = wavfile.read('foo.wav')
# get the frame to split at
split_at_frame = rate * split_at_timestamp
# split
left_... |
c386dfafc32a0492b8a34e6c28bd7caab79daa9313dc737462b8a74e4027bdca | ['3f290086fedd4b42bcae3e2e53576742'] | I've been looking at a miRNA cluster on a genome and I found it three times. The first two are right next to each other and look exactly the same, the third sequences is on a different scaffold of the genome and is both shorter and has a number of mismatches with the first two sequences.
Is there a particular name for ... | aed2229514e1292d0bde9314f2699d60f391bed55b1ebc36beaf9d2fa885a873 | ['3f290086fedd4b42bcae3e2e53576742'] | I have a Radio Text Box in a New Form that I want to save the selections to a SharePoint field. I want options to show/hide according to a parameter passed in.
For example, if the parameter is something like ...aspx?Group=A
then I only show a certain section of the choices through the following code:
<xsl:choose>
<xsl... |
9194bca6ebc2f81c001f6089f00700fbe10ce2b1b01aadae6dac0cd3837a7760 | ['3f2ef6ad731a4aef92379bc88a3ca60d'] | I'm curious how to do this `cmd+tab` and then `option`. I'm on Mavericks and it didn't do anything for me, so it could be that it no longer works on this OS. But I'm not clear what you mean by "go on select windows" @Am1rr3zA and @Eimantas, so I might not be doing it right. Please give some more details. | e959079d2f639777aafa58900adea3b2a8b72894ff00c4274ce5a567b4e40c47 | ['3f2ef6ad731a4aef92379bc88a3ca60d'] | Is there a recommended process for reliably connecting a Mac to an iPhone Personal Hotspot network via Wi-Fi?
Here is the method that I have been trying:
turn on WiFi and Personal Hotspot on iPhone
turn on WiFi on Mac
This works maybe 25% of the time, and the other 75% of the time the Mac scans the Wi-Fi networks but... |
d4680f879bdbcc5654303f70bbdc86177131c8a1c2fc9de008638c4abbd1af5a | ['3f33e99c46a84b2b9c5bb861c5bdb833'] | I was running into this issue as well while coding an application for AndroidTV. It seems that horizontal radio group focus simply does not work with dpad, even when nextFocus{direction} is set on views.
Fortunately, if you are using the leanback library, you can use BrowseFrameLayout.onFocusSearchListener to manage fo... | 21427f2169995d736c359344bd757a0faa4a5830a40b9e8a0d294ac78914af4c | ['3f33e99c46a84b2b9c5bb861c5bdb833'] | I usually use gson for Room TypeConverters. It allows for simple implementation that will work for all object types:
public class StringMapConverter {
@TypeConverter
public static Map<String, String> fromString(String value) {
Type mapType = new TypeToken<Map<String, String>>() {
}.getType();
... |
536e7d3a1a729c0a6b19f125445487e819a0bc3742d66a997c4a0d8393674376 | ['3f33fbb4819441fbb5a473a970c56d3e'] | From the example you have given it doesn't look like you are redirecting to a different file, just modifying the querystring parameters.
if you are redirecting to a different file (lets call it file2.asp) then try
strQS = Request.QueryString
If strQS <> "" Then strQS = "?" & strQS
strURL = "file2.asp" & strQS
Respons... | 32aeff3efd059b1c9bd6a96f2c0c8d41dc10279a707a1b46b36f259a1ad4f41f | ['3f33fbb4819441fbb5a473a970c56d3e'] | I have a ASP.Net Core 3 razor page, a very simple reset password form, which uses a Compare Data Annotation to validate both inputs are the same, however, it doesn't seem to be working. The Required annotation triggers ok, but the Compare always returns ModelState.Valid == false and "Could not find a property named Pas... |
9ce488f2bccc8816dd39ec208121c8ee00159dddcaa8a7f8df7eee178de11cd2 | ['3f736de28ffd402291912535fd55700f'] | Im just starting to learn python, so I need some help here. I found this website called Twilio. One of its features is you can program a custom SMS bot. Me and my close friends have a group text. Often, we like to share memes with each other. So my idea is we can add my Twilio number to the group chat, and set up Twili... | 73009117db7b5bcf683155c1019c78d6d315a24abc0b3b5fd32aa69f4317ce0f | ['3f736de28ffd402291912535fd55700f'] | I am trying to put a google+ sign-in button on my website, but I get a 400 error when I try to sign in with it. this is all I get.
400. That’s an error.
The requested URL was not found on this server. That’s all we know.the
I have the following included in the <head>:
<script src="https://apis.google.com/js/platform... |
c6c0181d562433b3deb6a977da49bbaab4fdea0c0c05183c3b58aa3395edf81f | ['3f81cf9fce12446da40c2f8a6aa89468'] | The post In Gen. 4, <PERSON> is “appointed” as another seed “instead of <PERSON>.” What is the ancient interpretation of this appointment? was quickly put on hold with the reason:
"Questions about biblical topics but without a specific Bible passage are off-topic as hermeneutical methods cannot be applied when no text... | 9461ea065d44e9870863d07f8a9dc45d09abb41d11768d3e680fa2e94eb4288e | ['3f81cf9fce12446da40c2f8a6aa89468'] | The accepted answer works for me but with zsh shell ("terminal.integrated.shell.windows": "C:\\msys64\\usr\\bin\\zsh.exe"), things are much slower than with bash. I don't know why but using ConEmu's cygwin/msys terminal connector greatly helped:
"terminal.integrated.shell.windows": "C:\\conemu\\ConEmu\\conemu-msys2-64.... |
3afb3363a9f8d82af476d8f395162f882a738a515f70ea4d0a2f6914babc6063 | ['3f8cd5c7451043ef9500cf97c29c15b8'] | I have been to that site and looked at the Uplift Request Form if you scroll to the bottom. This is where it asks me for my application download URLs, which are required. I am not launching the app website until one week before the app launch and the app will not display on the App Store until it is launched. Therefore... | d23b173d0b5739e1fc2802fa74b637f7061aa97f18c15b77d79c42a3d7ecfbb7 | ['3f8cd5c7451043ef9500cf97c29c15b8'] | I am the manager of an iOS application that uses Google Places API to find venues near the location of users. The application has not launched yet on the App Store but my analysis give me good reason to believe that the number of requests I am provided (100,000) will not be enough to support a large user base. This is ... |
1076a3b45703c60d2cb140560f79cb521135267ff84433fe750900621e3aaa0f | ['3f930267b9ca48a4a317a8edd45d8fca'] | Try following the steps on the guide page.
You may have to set the address of your dev server.
Configure your app to connect to the local dev server via Wi-Fi
Make sure your laptop and your phone are on the same Wi-Fi network.
Open your React Native app on your device. You can do this the same way you'd open any oth... | fe579167f9a3a714212a82885c2962fac45835337bd4ca117abe6232bed77163 | ['3f930267b9ca48a4a317a8edd45d8fca'] | I think Method 3 would be the best, as the helper would only be created once and executed multiple times, on every render call.
Whereas in the other cases the helper would be created every time the component is rendered, leading to possible performance problems.
Another point in favor of Method 3 is the testability you... |
2c0cc6e8f8a1494e8af6deba8d317d1b02e6077cf9edd204163fdfee7355b854 | ['3f93c8bcd72244308dfcb39a989ed7a8'] | It is because you are fetching only one value for attendence. In this line "String attendanceValue = getAttendanceValue(areq);" you get the attendnce for first employee. But in getAttendanceValue method
while (parameters.hasMoreElements()) {
String parameterName = parameters.nextElement().toString();
if (parameterN... | 055ea5891b5d9bbf94aa9049963116ec0a59c4244fb26e60f553998f4febb0a9 | ['3f93c8bcd72244308dfcb39a989ed7a8'] | Another simple way of doing it is as below.
import java.util.HashSet;
import java.util.List;
import java.util.Set;public class <PERSON> {
/**
* @param args
*/
public static void main(String args[]) throws SQLException {
System.out.println("Entered Main");
Test();
System.out.pr... |
673f0e9288b74104947a2a4a4517461b5b0af70ffd205fb2304bceaec11f645a | ['3f989e8fb58344268a075cda1a563190'] | I'm not entirely sure what happened but it works now. I did these two things:
chmod +x pg_backup.sh -- I had already done this, and the script was running in cron, since I could get some output in the logs
run dos2unix on the file to transform any CR or CRLF to LF -- I'm not sure how this would solve the issue since I... | 875dd4e7c3f776246d3133765f29e2dc42590f43adc205040b233e15b391f1e9 | ['3f989e8fb58344268a075cda1a563190'] | I cannot comment to Digital Trauma's answer, so I will mention here that the bluetooth key format in MacOs has been altered recently, and the reversion is meanwhile no longer needed. So, when copying the key form MacOs to Linux (step 12), one needs only to transform the letters to uppercase. |
476ff1cee1e0aa9186bb298a27b6134ec0c6ad806bcb33c8b706f5a52b211090 | ['3fa47393d7164538ae7dcb65c17c701b'] | the thing is your LBS will be equipped, they will probably have a vice set up to do this. I struggled all weekend once with a cassette - I like to be self-sufficient - and very reluctantly took the wheel to a shop on the Monday, they were able to loosen it straight away. | 947e0c19b7a4f5d938dabb49215bfcd4a7348e9797832a4483f681bbd558e053 | ['3fa47393d7164538ae7dcb65c17c701b'] | What you say doesn't really surprise me. Also I'm not a die-hard advocate of buying from my LBS, in fact I avoid mine wherever possible. Nothing wrong with them, just prefer diy. Plus you'd have the same problem if you bought the Scott, the bike would leave the factory with cassette X, and if you wanted cassette Y, I'm... |
0b99ef4004af403968bee7efe88b5b5db0a847b934d4b47b9b25bc4b8622a30a | ['3faf301f0649446d94aa1d6174d3d33c'] | I realise this is another basic question sorry, but I can't see where to set the height of a row that is presented in an XPage.
I want to be able to set the row to a height of 3 rows (or dynamically adjust if possible).
thanks so much.
| 1494c0a77524dd67192417b3941dfecc7c23dafba62fa3de130ab31483625c14 | ['3faf301f0649446d94aa1d6174d3d33c'] | I have an Xpage with a view within it that displays search results that are based on the values of 6 fields on the xpage (These values are assigned to sessionscope variables when they selected, which drives the view selection when the search button is hit). This all works well, but what I'd like to change is that the ... |
f310dcc0e79b40ccf479b531b6898ba964e72ad98d0fa89c8679caeb902e39d2 | ['3fbe90949b0f4ccb8e387683d5c67beb'] | Nobody expects that all answers will be refreshed after loading new answers. But the "accept mark" is kind of global information now loaded with new answers - and if the accept mark is not reset in the old answers, this newly loaded information *itself* is misleading. I feel this (and only this) shall be corrected. I g... | 13c53bf71edf3bdb2d45dd4b868f96dabce9f93e3e80ae300a662f626ac65880 | ['3fbe90949b0f4ccb8e387683d5c67beb'] | I see - but isn't it ironic, that its the most appreciated and favourited question ever? Then its becoming more and more clear that the FAQ ignores the community value. Then the FAQ is not something which the community profits from, but artificial document made by some theoretically "QA-thinking" people, ignoring what ... |
d9f31e803b15199706e08bb7e43bd012e01024a18d5b6a8cffa680329a34a46e | ['3fbf1bafdf524d1ca11558b880978ce3'] | I'm trying to open a text file and write to the file but when doing so it's not working at all.
Here's what I have:
changeaddress = [changeaddr1, changeaddr2]
address = [address_1, address_2]
new_var = []
cur_addr = 0
with open('address.txt','r+') as file:
for line in file:
if address[cur_addr] in line:
... | 542b6e74e53401fffe73d2f79f4d7ce03f47e35601dbf28419b0f573280cf184 | ['3fbf1bafdf524d1ca11558b880978ce3'] | I'm using python ipaddr it's working but if I wanna open a text file where i'm getting an ip address i'm getting an error.
This is What I have:
import ipaddr
from itertools import islice
def address1():
with open('address.txt','r+') as file:
lines = islice(file, 1, 5)
for line in lines:
... |
b6b29192211df749e65efe1d09d310cbb8d8ddbdc7241d580b0004b36d34ef4e | ['3fc37c07a8344ad5adaa74628371fdcc'] | I'm trying to do something that I'm sure is quite simple...I'm slowly teaching myself JQuery, so I've been reading forums and Googling different terms all day, but I can't seem to make it happen!
I need the image of the sign to slide left (out of view) when the following div scrolls up (no problem)...but, I'd like the ... | 1abd3e055c540c4e1ae19077034c0a7939104d4c50fda772e4313c52a8e1baa5 | ['3fc37c07a8344ad5adaa74628371fdcc'] | I'm working on an online auction...all the bid updates are manual. Simply, there are hundreds of links (images of the pieces to bid on) on the same page. When the bidder clicks an image, a form pops up in a NEW WINDOW. The form says "Thanks for bidding on "TitleOfWork" send the form to finish..." I receive the form via... |
8ec7b8af0e3698e42cff9654eee5d3431a08e87fce80951c1f4c9d8fcd03e6bc | ['3fc3b0229ab9423896f2f5f1b99799e5'] | I am not sure I understand you, but note in your code that:
a) Most of the code is under mutex lock, which means they can't really run in parallel
b) Thread 14 runs regardless of the number of running threads
Anyway, the reason it gets stuck is:
a) Your threads are running almost sequentially
b) Threads 1-5 skip while ... | 41c16f57ca9dc81491433e374d67810386fae3d734bf11c1e493e56293e29b83 | ['3fc3b0229ab9423896f2f5f1b99799e5'] | The cents variable never changes. (cents - 25) indeed returns the value of current cents minus 25, but you don't assign it to cents variable, so one of those 4 while loops will always be true.
There is also another probem: get_float function returns float while change variable is int, if the user were to enter a value... |
58710465a882ccd6ca81430da13ffca0433113be52f07f6f1377f4c93e95eb3e | ['3fc4a189a5be426d886b76f0b6ced088'] | I removed the duplicates using hook_views_pre_render().
function hook_views_pre_render(\Drupal\views\ViewExecutable $view) {
if ($view->id() == 'my_view_id') {
$filtered_nids = array();
foreach ($view->result as $key => $row) {
if (in_array($row->nid, $filtered_nids)) {
unset($view->result[$ke... | 75f6c17e5bdfed20ab384a7e0b1c896aa7cc5a90770ff1795e17671c1e1cb602 | ['3fc4a189a5be426d886b76f0b6ced088'] | Saying "almost everybody" can cycle 60km per day, several days in a row, strikes me as extremely optimistic. When I first (as an adult) got a bike, doing a 30km ride took quite a lot out of me. And that was starting from being reasonably fit from playing football twice a week. After doing it for a while, a weekend ride... |
b1a394f29ef83cad1e0b7a0c2c98f9e860f7e4e3381d13e1bbe31f9709563d2f | ['3fcf3de8be4f4ea992233e9e2d09051e'] | Is there a way to implement a custom endpoint for my bot in node.js?. I saw the same for C# but it seems to to be implemented in node.js.
Here is the link to the C# implementation: Configure Custom Endpoint for Botframework Bot
A part from this, in the portal there was an option to connect the bot to an azure function,... | 19ad2b14fd6d3c0d58d7b7f90b74af8c5fb4fbd93bda81faa4ef01d74ac62bfe | ['3fcf3de8be4f4ea992233e9e2d09051e'] | I am using Microsoft Bot Framework V4 in node.js. In a step of a Dialog we need to combine buttons using the ChoicePrompt object but also the TextPrompt. In case the user clicks the buttons the suggested actions will be triggered, and if the user writes plain text, we handle the action using LUIS and certain intents. T... |
943731d10f24308cfe2cde1d6a08c10c7eaa0eedfa20f6ea6cc87923b32b7444 | ['3fd400d19504479c9032069ef2680bc1'] | Here are two tips that might help (assuming your app is respecting the fastcgi protocol):
1. try to run the app in command line, this prove that you have execute bit and no compile errors in code.
2. check suexec.log of your apache server, this might show user/group or other errors related to your script.
| d85f4032d709e836b08939a6f31c08415b05834d53996baa3139f114296c1a9b | ['3fd400d19504479c9032069ef2680bc1'] | I'm using Disqus on my site. The theme that I'm using has comment count shown on every post, but it shows only default WordPress comments system count. How can I integrate it with Disqus, so the comment count would show Disqus comments?
Here's my site - http://tophistorie.pl
|
4a9cd6df65096ef26ee976535ef6acd66c621cce6781cbaca50891e262092009 | ['3fe6a051f9b14874a8add49bd194e106'] | I'm trying to use Firebase's MLKit for face detection with Camerax. I'm having a hard time to get Image analysis's imageproxy size to match PreviewView's size. For both Image analysis and PreviewView, I've set setTargetResolution() to PreviewView width and height. However when I check the size of the Imageproxy in the ... | de6eb3d869a4b906142866a665c8177749154e61b780a330c5f05afb884a7d73 | ['3fe6a051f9b14874a8add49bd194e106'] | For CameraX, if the FEATURE_CAMERA_ANY method is still returning true when there is no Camera on device, you can add the below method. So whether FEATURE_CAMERA_ANY returns true or false when CameraX is getting initialized, Below method will make sure to do what you want if a camera is actually not available on device.... |
e19214627c60329ae21aa32b8c8ad956e06dce96d712ff8922a98350229a547f | ['3fedbd653bb84413a5e6ee4221e8fe1a'] | I can't say for sure, but it sounds an awful lot like an issue that a user of my app pointed out (which is how I ended up here, searching for clues!).
For my app, it turned out that I needed to put some delay between the Control keydown event and the C (for copy, in this example) keydown. When sent at the same time as... | 5e1c2461989e676e6f274ad40315642dddf543c84f82637aa53578a55bc080be | ['3fedbd653bb84413a5e6ee4221e8fe1a'] | Ok, so here's a sample of the XML structure:
<config>
<Ignored>
<Ignore name="Test A">
<Criteria>
<value>actual value</value>
</Criteria>
</Ignore>
<Ignore name="Test B">
<Criteria>
<value>actual value</value>
</Criteria>
</Ignore>
</Ignored>
<config>
... |
e6369c00008929adb543745c88d9268aa35c76182ab4462dec205cdc306de6fa | ['3ff97a0db6a24c15aa042c21362f3a2f'] | hm, the optionselector is an Ubuntu api module and my intention was, to get an info how to use the module the right way, with its own methods and properties.
Perhaps it is buggy and some Ubuntu api developer pays attention on it.
I know that I could parse the html elements if it has the class "active" or something sim... | e7083fca36e772b7cfc5f7d5342851042bbfb189f7a75956606e097c6b45d1a0 | ['3ff97a0db6a24c15aa042c21362f3a2f'] | There is a click-package that provides more configuration-options, including ca-certificate only with username and password.
But you still cannot import the ovpn-file. You have to set the options manually in the app.
Get the latest (0.3.1) click-package here, you can download it directly to the phone:
http://people.can... |
e375509f505f6b22e500435854d7b8ef16587abae00db35b400d6521084005d7 | ['40074139e2554113a720f07caf26c662'] | I am using a GridView in my metro app and have its source set to a CollectionViewSource. Its Selection Mode is set to Single.
The problem I was initially having was preventing the initial item from being selected when the grid loaded. After some research I solved this by setting the IsSynchronizedWithCurrentItem proper... | 40f0f00d6357f4d767150a7fe84632b98763eec305b629c1029e6140d104b34c | ['40074139e2554113a720f07caf26c662'] | I am using the SemanticZoom control with a grid view and collection view source. All is working fine until I attempt to select ('jump to') an empty group - this causes an unhandled Catastrophic failure.
http://social.msdn.microsoft.com/Forums/nb-NO/winappswithcsharp/thread/6535656e-3293-4e0d-93b5-453864b95601
Does anyb... |
9363fd4677e7611ca7dc75f12aeff572b32d06969e5efd688819bae3a311f0ee | ['402330b59f2a4c1fbcbb32132b5675b1'] | In a PHP webpage, Im opening a file in write mode, reading and than deleting the first line and closing the file. (The file has 1000's of lines)
Now, what the problem is, if there are like 100 users connected to that page, all will be opening that file in write mode and than try to write it after deleting the first lin... | 0c1a2a4c9da9e5099f140e72b9094df6b03ebaa1e618cc52161948dcfcf644e9 | ['402330b59f2a4c1fbcbb32132b5675b1'] | In addition to <PERSON> answer, here is a step by step guide to fix it:
1. In IE, click on gear icon (config) -> Internet Options
2. In the dialog box, click "Security" tab -> "Local intranet" -> click "Sites" button -> click "Advance" button
3. Type in your website, click "Add" button! Then close it and your are done!... |
2a666d49f78a14642dbc49d2f3427751de307ce4cd81716a2537ad8579c75ba7 | ['40243a9727e74f5eab0a6b123bfa5ce3'] | Thanks for your responses. I fixed the issue by utilising the following SQL to seperate each category group to have its own order.
SELECT Row_number()
OVER (
partition BY createddate
ORDER BY Count(loggedrecid)) AS Col_group,
Count(loggedrecid),
createddate,
ownerteam
FROM @allreque... | 090867becce12b48f52b7075f4ef71f8320a249032ee1531647918cc0b1a7934 | ['40243a9727e74f5eab0a6b123bfa5ce3'] | I didn't have any issues getting the anchor to work in any version of IE. I was confused however with the code you have on Fiddle as it doesn't reflect what you're actually asking.
It's difficult to answer a question without some kind of clear and concise description of the issue. Though I have constructed an answer fr... |
4d0e2ad2ed60ab50dd70dbded0581a230497ec926429e914587adcba6cb2d7f7 | ['402dd1aa5aa44f3e8b39bc477fb7a838'] | I'm trying to get an name on LDAP data base searching with an identification number. I've got this on linux using this query:
ldapsearch -x -v -w *username* -D uid=xxx,ou=xxx,ou=xxx,ou=xxx,dc=xxx,dc=xxx,dc=xxx -b ou=xxx,dc=xxx,dc=xxx,dc=xxx -h xxx.xxx.xxx.xxx "uid=xxxxxxxxx" cn
With this I can get the cn (name) of t... | 7d1ed09a29d95be44dacf27b02230b05bc19072407dd5e971a236326caf38eec | ['402dd1aa5aa44f3e8b39bc477fb7a838'] | Well, I'm trying to do a simple script to check any updates in an application. To check this, the most simple way I found is to connect to the FTP (where have a file which says the last update) and compares X file with a Y file. If the Y file is outdated, the script should run an installer/updater. Can I do it with C? ... |
b611ac165209e97cfc7ccebdfb74b99d7c3495a624a82dbf63ef6b94f9479e21 | ['403f70c7186143539cc19abf70eca97a'] | Are you sure, that j variable never equals 0 ?
If you have two circle like:
var arr = [[1,2,3],
[4,5,6],
[7,8,9]];
for (var i = 0; i < arr.length; ++i) {
for (var j = 0; j < arr[i].length; ++j) {
arr[i][j - 1].toString() // error
}
}
You have error, because j equals -1 in first time i.e... | b5a8891fca72c0ecca1100c83d3bee7681cfc44371206b60893c990b7a69c6d9 | ['403f70c7186143539cc19abf70eca97a'] | Try to using flexboxes for a container and wrap icon and icon-text to div with class e.g. .icon-wrapper:
.overlay {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
opacity: 0;
transition: .5s ease;... |
982cbf35c9769a04608f25dc14166d39f668de08ceb8f37261cef4dfcdf1da4a | ['40425e7d91d64322a387c83c09d5dee4'] | If you use AndroidX (as of July 2019)
you may add these:
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_collapseMode="pin"
app:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar"
app:popupTheme="@st... | e0a99011554bb09ba880fc7b8dbc1a6fb27f9a847a9552aa2d8b15781101d36a | ['40425e7d91d64322a387c83c09d5dee4'] | I found one possibility to build the app by editing my styles.xml file, replacing every Theme.AppCompat... entry with some Theme.MaterialComponents... entry, although it's not very elegant (and breaks some app styling):
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
replaced with<style name="AppThe... |
9289b56ce8981fe6e9b2e3e6a25a30ed4b6ce1af0a41268f24416115e863db13 | ['405776745594418cb10d6e9817f7e31e'] | I recently purchased a copy of my own Mac App Store app (using promo code) so that I could experience it the way my customers do.
I've discovered that downloading the app from the App Store will not just install in the Applications folder, but will instead overwrite the first app it finds on my hard drive that matches ... | 5cf5a0d26606a903d419cefe3d0a004eb66cb51bc6885713b0bd64f563250273 | ['405776745594418cb10d6e9817f7e31e'] | I need help on the topic of counting labeled trees (with its nodes numbered from 1 to N) with exactly k leaves.
I have thought about surjective functions that return the father of a node, but I'm not sure how to count all of them that give me correct trees.
Here is the source of the question: http://www-math.mit.edu/~d... |
1eb101a2c045c1c8d2799637b01370d11cc66b19b15a0f9e2065b30c71741729 | ['4058aaa0571e4c68a72f971978c96465'] | I haven't been able to find any existing packages for version 10, here is how I compiled the client tools myself on the 2018.03 AMI
sudo yum install -y gcc readline-devel zlib-devel
wget https://ftp.postgresql.org/pub/source/v10.4/postgresql-10.4.tar.gz
tar -xf postgresql-10.4.tar.gz
cd postgresql-10.4
./configure
ma... | 039bb4ee097b7bf0ba03e8c408da034126452e73f80e4804173b1b12c0dc29eb | ['4058aaa0571e4c68a72f971978c96465'] | Hello <PERSON>, it's good to see you explaining it with an example. However, I noticed that only the default states are being shown in the front-end of the widget in each of my efforts, and it doesn't actually follow the logic (based on those checkboxes) that goes inside the `widget()` function. I tried once more with ... |
cbe920d981ef7bf2650f32d47e7e0d74a37da2481c8eb0adcc7fa032574092b0 | ['40762d9f693d43d4b3b0878728252aa1'] | <PERSON> I know the main issue/question doesn't, but looking at the commentary popping up around this issue is something I'd suggest looking into as well. There is a lot of interesting dialogue of moving away from passwords entirely and finding other authentication methods. The initial salvo is quite interesting, I su... | 26ebf2d74eeef40a130e297d8fbc411e588a6a81b1e406df82ebf0a6203c4139 | ['40762d9f693d43d4b3b0878728252aa1'] | Without knowing the specifics of `bookstable`, you have a typo here: {{BCom}, and each row must end with \\ (missing in your "Number of courses ..." row). And the total of columns combined in multicolumns should equal your total number of columns of your table, so just put a & at the beginning of the row to produce an ... |
f52b7c3083ec76b2a0832e2e7fdf6faf2edc38a5febf0a42930f58d15b89eea9 | ['407d6f2fadda47dbaaef0903f7c83acc'] | Unfortunately this isn't supported on the BackgroundTranserService. One possible solution might be to manually create a header for your request like below:
var credentials = new UTF8Encoding().GetBytes(username + ":" +password);
var transferRequest = new BackgroundTransferRequest(transferUri);
transferRequest.Headers... | 390efa5ecdfb60a95553d1734d84a6f9dddbafd85875b913b15ab078c12b8f9b | ['407d6f2fadda47dbaaef0903f7c83acc'] | The Get Package operation is still supported. It's likely that if you're getting a 404 response that you're using a HTTP GET method as opposed to POST. I've tested the operation using the REST Console plugin for Chrome and my package was successfully written to blob storage.
The URI used was:
https://management.core.wi... |
212816e0973dd589bfbebad982d4a561b6d1c093a0baebd71b9fd322c678a241 | ['40859de4e44c4021b6facf3f4c1b0c16'] | I have a site structure of:
Country >
Counties >
Towns >
Shops
the county, counties and towns pages are all low quality pages full of links, these are there for the crawlers to navigate and occasionally a customer will not know there postalcode so will drill down this way.
How best to keep the structure but not get an... | 6722c354673943b4060fd15214b1b2bae2dee7862f8b3f1f8375a95701bc092d | ['40859de4e44c4021b6facf3f4c1b0c16'] | Programming is a lot about planning and understanding code and the underlying specs.
Even if you spend 2 days on writting it, you should be able to complete it again in a lot less time.
Owe up to it,
make sure to explain you will need a lot less time and that you're willing to do overtime to compensate,
if necessary.
|
f1fd2d7dff434a1281defa1aa91776a43d4c903c5e011597a566639b70151296 | ['408c415aded241c6bfb0a234ef24b17c'] | Change the whole code to this;
<?php
$username =$_POST["newname"];
$password =$_POST["newpass"];
$cpassword =$_POST["conpass"];
$firstname =$_POST["firstName"];
$lastname =$_POST["lastName"];
$others =$_POST["others"];
$email =$_POST["email"];
$phone =$_POST["phone"];
$sex =$_POST... | 8cd9b81373140af184606aa00e8b5d53dc7d6d9718caf64704a06fcdf1746071 | ['408c415aded241c6bfb0a234ef24b17c'] | If you're having issues/errors in above answers then here is my answer, I hope it helps;
Add the following code just above the <?php of your PHP file;
<style type="text/css">
.error{
background: #FFC6C6;
color: #000;
font-size: 13px;
font-family: Tahoma;
border: 1px solid #F5... |
52de21ccaf19d0b703fe1f3e06f982e5df4f167ea0f00f418c3fc7c3fcc826be | ['40937dc8af4143e4a502778187ff8da4'] | Try to replace setInterval to setTimeout behaviour, otherwise previous request will be killed if the next is submitted
setTimeout(refreshChat, 0);
function refreshChat() {
$.ajax({
url: "http://eyesonpi.com/_/php/chat.php",
type: "post",
success: function (data) {
$("#chatWindow"... | 1ddc58401e28fda9118fc67f62520d41d471c10e60bc05246b98e0cd5552830b | ['40937dc8af4143e4a502778187ff8da4'] | It should not be a problem for the project itself, but if you're going to improve performance: use infinite/partial load in your selector (show only ~30, by scrolling remove/add chunks) or change it to a clock widget (or even customizable select-widget: check "Options With Async Search" in https://material.angularjs.or... |
18a2b6456fb8e80a8e2a476c9aac4af118527b512640c3a6cbe1d571d1801ec4 | ['40b0af08ff53420abf61f736734eee8d'] | I would like to merge two DataFrames, but the matching key in the 2nd DataFrame is scattered in two different columns. What is the best way to merge the two DF?
import pandas as pd
data1 = {'key': ['abc','efg', 'xyz', 'sdf']}
data2 = {'key1' : ['abc','sss','ggg','ccc'],
'key2' : ['aaa','efg','xyz', 'sdf'],
... | 6e7d374f1edf21460d83961b60d3d4d5ebc0b23004a1931f5662fb8ee5483b56 | ['40b0af08ff53420abf61f736734eee8d'] | I would like to change the value (c,d) where there is a duplicate name (a) AND condition = 'Cancel' (b)
import pandas as pd
data1 = {'a' : ['Mary','Mary','John','Jenny','Jenny'],
'b' : ['Approve','Cancel','Approve','Approve','Cancel'],
'c' : [100,200,300,400,500],
'd' : [200,200,300,400,500... |
e303d03732d8f6bece305c45d3fd56c10ece348a3b97a010989d0743e0679b26 | ['40b42efad6dc416abc98fccbde28b46f'] | It should something along the lines of:
static double ConvertInchesToFeet(double inches){
//code for inches to feet
}
static double ConvertInchesToYards(double inches){
//code for inches to Yards
}
static double ConvertInchesToMiles(double inches){
//code for inches to Miles
}
And your main would simp... | e130746188751a9a92b6b9740ea95a13b149030105f8a93e10e12672072af37f | ['40b42efad6dc416abc98fccbde28b46f'] | I have a webpage with text area. I populate this area with a text file of my own, so the user sees the text when they load the page. I want the user to be able to edit the text in this area and they will click 'save'. This will save to MY file, so that the next time someone opens the page they will get the text that th... |
4f9a99557243c4065a7fd2ba43cfd08128294feec2809a05d401021b81d0e487 | ['40b5cac6b9fe439693da094d76e910ce'] | I'm developping a application and I have a problem with redirect back of redux-auth-wrapper, I followed the docuemntation, but I get this issue , I'm always do to home after login for example:
I access:
http://localhost:3000/admin
I'm Redirected to:
http://localhost:3000/login?redirect=%2Fadmin it's ritght!
But af... | 69e9bc7d163336283bdb2519654b0aa4a1f96394044d6cdcbc6a19d29d35a6ee | ['40b5cac6b9fe439693da094d76e910ce'] | I'm a learner developer, and I'm build a app with a tree menu(react + redux + sagas), but I'm getting some errors of Mutation State, I saw what best practices is stay de state flat as possible, but I didn't finded one menu tree what work with a flat state, so my data is look this:
menuTree: [{
id: 'id-root',
na... |
1cef8d53da192c139faf7aacd6c7b5d865b35243dc6f9d57069ddabea810c237 | ['40c55089ec4648f28e02a489bb39a312'] | la primera correccion al problema esta en que estas siempre creando nuevas activities y no cerrandolas, esto para el caso de tu main activity.
Si revisas la segunda actividad en el metodo
public void atras(View view) {
Intent atras = new Intent(this, MainActivity.class);
startActivity(atras);
}
Estas creandol... | bf40a92d02c8fb341d01ccb120377a71d1fa6aa4e186db0909ecbe484208c7b4 | ['40c55089ec4648f28e02a489bb39a312'] | la solucion a esto es simple, debes crear un adapter al que le ingreses itemns/componentes y no texto unicamente.
Para hacer esto primero debes crear tu layout (UI_componente)
<!-- Definis el texto y proximamente el color-->
<TextView
android:id="@+id/list_content"
android:textColor="#000000"
android:grav... |
59ab120e0550d90c0f1b8793b0df84b8b1b33a76d4376d9125a1a9542d06aafd | ['40c66332daf245e7ad0742290e3556a5'] | You could use the ngChange directive on the select element like so:
<select ng-model="selectedAffiliate" ng-change="GetAffiliatePoints(selectedAffiliate)"></select>
When the select value changes the selectedAffiliate property on your scope is updated to hold the selected value. Then you can look up the points for that... | a0524448d7240182ac6a0e668355737240e04ad9aaf63d7acf7b388884fa9969 | ['40c66332daf245e7ad0742290e3556a5'] | I have a quick question in regards to the approach to displaying products on an e-commerce package I am putting together. The problem that I facing is that I would like visitors of the site narrow their search.
For example, a use case would be:
A Visitor is currently browsing a season of products (eg. Summer Collectio... |
9f979c25ad36171553d859a6f041b7a59c9965623544793e3a7c66707021715e | ['40d4027d76934ee7a50befd9ae99b08d'] | It is quite possible that there might be a bug in the emulator.If u can test ur app without the emulator things would just work ot fine.I think there is some logical bug in the emulator that creates this problem.something like when u call alert_cast(a)){} the reference torrent_finished_alert that uare passing is not te... | 9da83500d8ccd8c1c857b9061379026a1090ce99db31eaf35ee9f853c1fe3c53 | ['40d4027d76934ee7a50befd9ae99b08d'] | This implementation provides constant-time performance for the basic operations (get and put), assuming the hash function disperses the elements properly among the buckets. Iteration over collection views requires time proportional to the "capacity" of the HashMap instance (the number of buckets) plus its size (the num... |
bdada94350e6558e331532ccfb987f660829b7e66fa376436a234105248cf077 | ['40dd9beb0a9f48069c6edc645e7e399d'] | You can delete whole threads by swiping to the left and delete will appear. You can delete
individual messages within a thread by holding finger on the message and tap on more and
then tick the messages you want gone and tap rubbish bin. Or in another way, you can have a
try of iPhone Data Eraser to delete all messa... | d3f1db6be620b8c23effbea6d6812b430101a9ea692913743aba9f20a3b12bc9 | ['40dd9beb0a9f48069c6edc645e7e399d'] | You do realize that this is just a temporary fix to delete history on iPhone. As you use your phone, the same type of data will just accumulate again, requiring another restore as new to delete.
If you restore as new, you sync when finished the iPhone Data Eraser, to restore your data. So, if you decide to do this, mak... |
71e112eaaa00196b3d6e638b80fc6dceae0639927daf2d639796ec757d7cb272 | ['40e236ade49348a18c8f6b29b5ff60d8'] | To enable or disable your App Engine application, you can use the apps.patch method from the App Engine Admin API.
You have to use these parameters:
Path parameters:
name = apps/[project-id]
Query parameters:
updateMask = servingStatus
Request body:
To enable your application:
{
"servingStatus": "SERVING"
}
To dis... | f20625a59705891b7353b36b65e076dbb09ddce467ebf85da0b0b3e9d9e1dd18 | ['40e236ade49348a18c8f6b29b5ff60d8'] | It seems to be an issue with this Quickstart, I tried to reproduce it and I got the same error.
I searched for the components by running this:
gcloud components list
And there is no app-engine-python3 component for the latest Cloud SDK version (239.0.0).
Anyway, the app-engine-python component has already Python 3. So... |
306cb9cdba546fc277dd2d5d6001a8f4b829e9db6c6e9920c02dff0b22b2ed4c | ['40e8d080edf94a9fb6862a27570fc592'] | Let's say I look up "Coffee Shops". It gives me a list of coffee shops around and their distances. But when I choose a coffee shop and press on it, it gives me a completely different distance.
For example, one of the coffee shops in the initial list Maps shows me is supposedly at a distance of 700m. However when I "cli... | 1b64e65e9271880fb25736cca3bb25c885963722608cd2acf79e559ed908e229 | ['40e8d080edf94a9fb6862a27570fc592'] | I was facing that exact problem even saving maps online. Here is what worked for me.
Log into the server (hosting server) with administrator privileges
Open the cmd (command window) and type %windir%\System32
Then look for the folder named intesrv and open it
Right click inside this folder and choose Open windows comm... |
a4420ae2871ae79fa75217dd97b70c82cf0013e8f65862467915264d0f9da72c | ['40e8d4dded28405789b23af0f1777d43'] | Although I'm still not sure what caused this issue, I fixed it by running:
sudo /etc/init.d/apache2 stop
sudo apt-get remove --purge apache2 php5
sudo apt-get remove --purge libapache2-mod-php5
sudo apt-get install php5 apache2 libapache2-mod-php5
sudo /etc/init.d/apache2 start
sudo a2enmod php5
sudo /etc/init.d/apache... | f0cca1ff1faf23c315a72ae3281449521c67f6af22a85046d72d8b3afdb06100 | ['40e8d4dded28405789b23af0f1777d43'] | I'm having some trouble installing NW.js. When I run npm install nw, I get these error messages:
> nw@0.12.3 postinstall /root/node_modules/nw
> node scripts/install.js
sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share... |
7e379fa90ddd175c5e943d507b62fdeed516b69408b6cf72fa2037220987365f | ['40ea4604cbff46298644a0ee991a0783'] | Well,The only solution to this can be by developing a custom module, integrating those APIs. Also, without running the cron, Drupal will not know what items are in queue. You will need to use an external application developed in node.js which will monitor the entries in the database and will call a function which will ... | 9ef9556dcd3bb8efd57e35db0d04565f2059ae4501f2266c0e7cf10a015d2d81 | ['40ea4604cbff46298644a0ee991a0783'] | I am not sure how do you get an array in $nid, but instead, you should call a function, written in a custom module. That function should check the current nid by taking it from the URL and return either TRUE of FALSE. In any cases, (other than known nodes), you should add logic in a function, defined in a custom module... |
ab3a50a0e864037c9564d40bcb5791283cb60af673ecf9c1a421731080525987 | ['40ee97b52b0d4b6a94ed7c33f47161d8'] | I agree to the definition from wikie (+1) for this, by the way trends may be deterministic as well (not only random walks), for instance linear, so two linear trends will be indeed very correlated. Another source of spuriousness in time series (from the dirty tricks set) is the seasonal components, that are also very l... | 06ccfb1dcfca37cd09fd22adf607edc399ba0a138ec2df1f13c5d18a14d932e3 | ['40ee97b52b0d4b6a94ed7c33f47161d8'] | I appreciate your breakdown of D-Wave technologies (especially the connectivity graph). "After that point D-Wave says that a re-design would need to be required, perhaps in the size of the unit cells, or in going from 2D to 3D, or in the physics itself." What the redesign would consist of is of interest to me. I have b... |
a1c1d5794194ee7e49da635cd083806a0774b7cd303be6253fd58ee51f2212a5 | ['40f2ce8eaf9b4fb69ef05dd321cbc3c1'] | I managed to get around this using Relay Commands as <PERSON> mentioned. It is a little dirty in parts, but I avoided putting any code in the behind file.
Firstly, in your XAML - Bind your command onto a button, or whatever triggers your RelayCommand.
<Button Content="Select"
cmd:ButtonBaseExtensions.Command="... | 8ba5328ec4df7a37dd4630e897a07ac81f6dee17937d0b4dcce25c1f0fae85c4 | ['40f2ce8eaf9b4fb69ef05dd321cbc3c1'] | If we have a square with the vertices at the points $0,1,1+i,$ and $i$, how can we come up with equations to represent these lines?
For example what is the equation of the line connecting $1+i$ and $i$?
(I believe it is $z=(1-x)+i$ but not sure how to come up with that.
|
29f5c812c20295798c569be797a36201e0697a8e3d6efb6d9b71cf2d26fb2579 | ['40fa3aaebcc7463fb0afb62a2bb5fdec'] | diving further into kivy, i began to wonder what map options were available (either google maps or something like open street maps). What i found so far:
KivyMaps link So far the most usefull Module i found. It is supposed to work on mac, windows, android and iOS (experimental), BUT: i don't find the docs anywhere! I g... | 6f9834cb1c99a48f7dc4b77c41f58a5d605b5190072ab7d7372a16171699c861 | ['40fa3aaebcc7463fb0afb62a2bb5fdec'] | i try to asyncronously load a static google maps image via the google api.
The code below is taken from the kivy reference base, it works with other images, but not if i use the google link. The link works fine in the web browser. (Also note that the source string is in one line in my original py file, that just doesn'... |
71dcdec2eabaf0d234956dbf57e427dc4b1b6bece0dff326932ac124996bd35c | ['40ffb11e85b542cab93dd9b0b528a6f9'] | I am creating an angular app and i have created a layout but i am having some trouble with its functionality.
currently the header stays fixed in position as does the activator but the menu appearing on rollover does not and when scrolling the content in the body appears over the top of the header. i am not fantastic a... | 9b5b1506b0eccedb517bbc67d264f3eb50766ac65c5626a682ffcaba037bd638 | ['40ffb11e85b542cab93dd9b0b528a6f9'] | This may seem like a repeat question and im sorry but i cannot fix this and its driving me mad. its probably something so simple too.
I have a hidden menu that appears on rollover of another div although it is behaving very funny. when i rollover the menu appears but it does not appear correctly. i have attached a fidd... |
939ca060f7eaf5c4b7e7db9d0a2b722f638257b082a98b83c06de1f0a3493e47 | ['410214c33e2944b191f49a71bfcde4ab'] | The order statement seems to be true. I have a number of @Autowired properties in my @Configuration bean. Those at the end of the list appear as null when trying to use them in my @Bean.
@Configuration
public class MyConfig {
@Autowired
private MyClass myClass;
@Autowired
private MyClass2 myClass2;
...
@... | 6e738cc62c92edad5d122d8520afe686a737d005563567098e0f556e04150467 | ['410214c33e2944b191f49a71bfcde4ab'] | The answer above (<PERSON>) is correct in the sense says two classes are "colliding". In my case I was defining my maven dependencies fine
<!-- Provided Spring dependencies spring-beans, spring-context, spring-core, spring-tx -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>sprin... |
6033b98fdfa8feef036034612a5e7ea123c26922ea63f2d9f5debe667ebd43a1 | ['4108ab756c624a9c8333d153836f8b29'] | im trying to do a heap bottom up construction from Psuedo code from my text book however the output im getting is not a correct heap im getting out 2 9 8 6 5 7
anyone know where im going wrong(pseudo code is from a text book, and heap needs to be array)
here is the PsuedoCode bottom up im working with
//constructs a he... | 224aa05c689b94f7efddfe811dad2045ef4520639d2663aaef9e2d84ba22bbbf | ['4108ab756c624a9c8333d153836f8b29'] | Hey all i have a quick question about objects of a class... im working on a hw assignment, i only want a hint in the right direction, not the whole answer.... basically we have five classes and there are 3 im working with.... the main class reads in a text file which im doing fine, the other is a Files.class Homework.c... |
c52299752698be66dd0e49d206c05dd955e830dfb304b2aae96285cf674c81e0 | ['412393a4138242c18675684ba947fe33'] | Im trying to create a program that lists all catalan-numbers below or equal to an argument in a bash-script. This is what I currently have but its giving me a stackoverflow error (I believe the error must be in the for-loop, but I can't figure out why). I have made this program in java and it works so I think it must b... | aea4bf8df6d485e3cb70ec83ee32df0477703a62059a292f9d1c54f638c5d29d | ['412393a4138242c18675684ba947fe33'] | Im relatively new to both c++ and working with SDL but I managed to create a small 2d library for vectors and Im trying to use it to give some rectangles some speed and acceleration however the animation runs so slow.
I'm assuming it has something to do with the amount of calls i'm making but I can't figure it out.
wh... |
0d22b840eda8af162f007de918907a6cd0d10a2475c40400e5f8b0cefa33cb72 | ['41300d6d7dd74a15a18e41d6f5331d11'] | So, I will repair it to JSON but now I'm sending letters from website:
socket.send("w")
socket.send("s")
and on server side are waiting JSON objects:
forward = { "messageid": 1,
"message": "First message"
}
backward = { "messageid": 2,
"message": "Second message"
}
And depending on cas... | 4b539eefdf743bad7e1ff8c7f6fbec49d403224241a11afa0e005ecb057accdb | ['41300d6d7dd74a15a18e41d6f5331d11'] | The php file is in web site directory (/var/www) and I would like to execute it from index.html which is in the same directory.
The php file:
<?php
exec("sudo -u pi /home/pi/camcv/camcv .. ");
?>
Can be run by typing php /var/www/script.php in command line from anywhere in the system, it executes properly ... |
dede213db82d7a2dd64518f5ef1ce713261f8a5cb44befff77ce2e03d7049ec0 | ['4138a48c5a47409b9f2433eb80c74afc'] | hey I have recently made my first token authentication in my Ionic app .. yeah it is an easy step but implementation may take some time if you are not a language PRO..
you can try this.
https://devdactic.com/user-auth-angularjs-ionic/
this is one of the finest and tested tutorial on the web for token based AUTH..
Mayb... | 5906fd87b4b0e2a3ade2fc573dc1936ea814dcec124fbfc469d6278b46f5e30a | ['4138a48c5a47409b9f2433eb80c74afc'] | app.factory('actfactory', function ($http) {
var myservice = {
result: [],
getdata: function () {
$http.get('api calll !!')
.success(function (response) {
console.log(response.data);
myservice.result.push(response.data);
}).error(function () {
if (window.local... |
819acaf016f12e080259ce8b35a479fa5f94149bd0f6729a84689323818c73b9 | ['413e53cc1b8f46619dfddd896a43111c'] | When I wire three bulbs in a series, the resistance of each bulb is around three ohms (using R=V/I). If I rewire the same bulbs into a parallel circuit, the resistance of each bulb is slightly over double (solving the same way).
Why does the resistance of each bulb increase when wired in parallel?
| 728ec0d932d85c0d234617fb83ba9229a4ed029b6a2079005f9d1f4dbd9a1eb9 | ['413e53cc1b8f46619dfddd896a43111c'] | Sorry, I was convinced that my firewall was right. I put INPUT, OUTPUT, and FORWARD to ACCEPT with no other rules, and that seemed to work. Just out of curiosity, what would the firewall syntax be for letting the new build grab the kickstart? I had `-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT`. Is ... |
03c6bdb597889f99eb97707d5a40edd4d95994c22a5f1c431f19273af5f970db | ['413f4fc51f324dcb988296f81edcbc82'] |
You can add your workspace folder(s) to the exclusion list under:
Settings -> Update & Security -> Windows Security -> Virus & threat protection -> Manage settings (under "Virus & threat protection settings" heading).
Scroll down to Exclusions -> Add or remove exclusions.
(Source)
You could even add eclipse itself... | 5412e324c221c1055ef27b06256423045640683a89e9e0b86e89ebba6d4206c1 | ['413f4fc51f324dcb988296f81edcbc82'] | As <PERSON> already mentioned:
Your desired result is not a valid python data structure.
because your code contains things like this:
{
# ...
"egress.#": "1", # <-- ok
{ # <-- not ok (key is missing)
"egress.4820.cidr_blocks.#": "1",
"egress.4820.cidr_blocks.0": "<IP_ADDRESS>/0",
"eg... |
3c5ab3bc37913ef59dc37fa69f5547b786cc733e1a6d9633553c838c5f6e4803 | ['415a5f5bef2248319f41ed85c1f3ec09'] | I'm looking for some help parsing a YAML document. Specifically i'm not sure host to print out/access the "volumes" elements. Any help would be greatly appreciated. Thanks in advance!
perl code:
#!/usr/bin/perl
use YAML<IP_ADDRESS>Tiny;
# Open the config
$yaml = YAML<IP_ADDRESS>Tiny->read( 'file.yml' );
# Reading... | 583974af1ff051345b246b784b85731c4012ee456273e323f519db32c6832cfe | ['415a5f5bef2248319f41ed85c1f3ec09'] | I can't seem to figure out how to get my 2nd http post to work "queuecallback". It looks like the problem is specific to how i set the headers. Headers = my_headers. It works when i hard code it but not when i try to call it dynamically. Any help would be greatly appreciated. Thanks!
const axios = require('axios');... |
af43a06456dc71029fdbae40611cd9424e507a9025f69cdf4c530ed89bf1303d | ['416702dfcf314c029e672ecc759cfd75'] | In the mentioned file I have these: `deb http://security.ubuntu.com/ubuntu trusty-security universe`, `deb http://in.archive.ubuntu.com/ubuntu/ trusty universe`, `deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates universe`. `lsb_release -a` shows `Description: Ubuntu 14.04.5 LTS`. Meaning the version number `14.... | 07eb1679b0ba3ffe18184b651f4720e36c11245a33d4c2205227160157b5116e | ['416702dfcf314c029e672ecc759cfd75'] | Before I use this option all my rewrites were ending up at 404, however after updating `apache2.conf` and restarting `apache` 404 disappeared but all pages landed back on homepage! `phpinfo()` did not have `mod_rewrite` module enabled either. Then running CLI commnd (as suggested by <PERSON> below) everything gone gol... |
709efa752b9f858f9bdb8b02b24ef290a83f80a4fc3a140a7dfa51e5a1cb1343 | ['417acc7b8a5a487e9486e112c0b4e548'] | Thank you for your reply! They are continuous variables. Ok, let's just say I am looking at the correlation between the length of the eyeball vs the thickness of the lens in the eye. I have data for 200 eyes (100 right, 100 left) from 100 subjects. Right and left data for all variables are highly correlated. | 7ccea4c7e79d41925e59b5a075af41d91aa52ce4a2da6d4b77d273adf09096bb | ['417acc7b8a5a487e9486e112c0b4e548'] |
A path consisting of a number of disequality edges and a single equality edge
A path consisting of equality edges
A path consisting of a number of equality edges and a single disequality edge
A path consisting of disequality edges
The answer is number three, right? Who has any reasonable doubts or general short r... |
edf65f65b4e46e6bf715cf836467f87a74fe9c1907e58b049768955cce807d21 | ['417f155e565d4ec3ae36881da9a61215'] | I'm writing an application that changes the screen brightness. I also use a 3rd party widget that both changes the screen brightness and displays the current brightness value. My program and the 3rd party widget have different functions and I want to continue to use them both. However, when my application changes th... | 838271071cac82c7659aa9ef098d3eda4c7e15d9fd01f246dfda589aca8d1a22 | ['417f155e565d4ec3ae36881da9a61215'] | NEWBIE ALERT!
Here's the situation. I've got an Android ListActivity class (AppWindow) that contains all the methods that create and update the UI for my application. It includes a method (refreshWindow) that calls setListAdapter, and therefore must be non-static. So far, I've been using a separate class (FileHandle... |
f27203e263efcef6fb0ce77cf7daddc24ce3d011486fcfc06f5d38166c05bc5e | ['41943e23af9c497499bdac85d17144f8'] | I could not find an answer to this question either. The default is 500 requests per 100 seconds, and even if I increased it, after some time, I can only make 5 requests/second which matches with a limit of 500.
That means the old default is always being used.
| 7719576ccc21af4f23d89abf4757907cb33720cbe12de63b6ddd46d01998bd76 | ['41943e23af9c497499bdac85d17144f8'] | I am using Airflow to trigger tasks on a windows machine using ssh.
I am able to authenticate and then run a python script on the windows machine itself.
However, when I mark the tasks as failed, the logs say about taking the poison pill, but when I log in in the window machine, the tasks is still running.
Do I need t... |
6ede1ba35661e54bbaf0d24ef98dc24825b39752435f2335b5d2292eb30b7f25 | ['41bb0c0528b34c1b9969144f626e1f3f'] | Basically, the word at the top of the menu changes color on hover, but i want it to stay that color when browsing the sub-menus. I have the sub-sections change color and they stay changed color when i browse their submenus but the main one will not behave.
I think it's because i have li:hover for the ones that work and... | ba5baab0a0dafc8058b1a2e70c07d3bde42717015fc4067c4e24aef6fe36dde2 | ['41bb0c0528b34c1b9969144f626e1f3f'] | onCellValueChanged: (event) => {
if (event.oldValue === event.newValue) {
return;
}
try {
// apiUpdate(event.data)
}
catch {
event.node.data[event.colDef.Field] = event.oldValue;
event.node.setDataValue(event.column, event.oldValue);
}
}
By changing the value back on node.data first, when s... |
480a6ef319b5f2b87a2bd0834a7d6512199c166e6cab7d077ae62931b0156840 | ['41da1e73740242c2be0d409afa7f6592'] | You mentioned that the server is remote, however you are connecting to a localhost. Add the -h [server here] or set the ENV variable
export PGHOST='[server here]'
The database name should be the last argument, and not with -d.
And finally that command should have not failed, my guess is that that directory does not ... | ea2139dc4618aae9e0a93290a1a9d0c4acf7cf9a0589e9f91e7391f8c4d6f048 | ['41da1e73740242c2be0d409afa7f6592'] | You could change the default privileges this way:
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO PUBLIC;
or to give write access:
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT,INSERT,UPDATE,DELETE ON TABLES TO PUBLIC;
https://www.postgresql.org/docs/9.0/static/sql-alterdefaultprivileges.ht... |
9bd90332788beef17eec9b8f6388e4b700907dffd0f96895a21e950868bdce77 | ['41e6963ae36f4b89a364ddf0d6f87751'] | I want to set the date or enable only the 15th and last of the month using the datetimepicker, there's something lacking with the script.
<input type="text" class="form-control" id="adjustment_date" name="adjustment_date">
<script type="text/javascript">
$('#adjustment_date').datetimepicker({
format: 'MM/DD/YY... | 7a71c2f44a9eb54ae6f14522a869c8a7c1f2a34ec7040a80f3e54712be250997 | ['41e6963ae36f4b89a364ddf0d6f87751'] | How can i add a unique ID to the date. Basically I want to add a unique ID on date to be unique, and by clicking the add row button of the table it create a new record then will generate a new date that contains with new unique ID.
So basically the actual result is that by clicking the add row button it will create ano... |
6752bdcee4ca5e4204e439c63ef60f1cdac97e6cad9ebe034d40b6294f6a56ef | ['41f03a2000664ffd93deaf73c0e0c672'] | The best choice in this setting is to store all previous hashes of passwords. Also, please do not use bcrypt. It is good and safe, but new systems (which care about security margins) should employ different techniques such as scrypt. Which actually looks like will be replaced soon as well.
More info (a very nice roundu... | c1600e42c6662d50e84e22778de3b19cd81bafd17da3601d3edbb6b45a163531 | ['41f03a2000664ffd93deaf73c0e0c672'] | What is the difference between Verb + ことが○○です and verb + 〇〇です? And when are you supposed to use one over the other?
For example I wrote
映画を観ることが時間です。
It's time to watch a movie.
But I was corrected to
映画を観る時間です。
But I don't really understand why. I thought こと is used to signify some kind of event. In this 時間です (It's... |
2754c7b42f088cc237cf4f657a0ede6a6730798ca458860e9eb67a481eaecd9f | ['41f6306d6acf4d699179fdaac7bb87ab'] | I want to search for a file, say with name having the date time stamp (DDMMYYYYhhmmss)(14122017143339). But in the server possibilities are there that the filename which I am expecting can be like either (14122017143337 OR 14122017143338 OR 14122017143339 OR 14122017143340) as there is a minute change in the seconds.
... | 4159972692839e373d4973ddd40889c166d19f8b6ef4dec903021292c9913f90 | ['41f6306d6acf4d699179fdaac7bb87ab'] | For the above mentioned issue, I did the following -
Updated the below -
Java - 1.8.151
Eclipse - Oxygen
And after installing the JDK I updated the policy files (local_policy.jar & US_export_policy.jar) present in folderC:/ProgramFiles/Java/jre1.8.151/jre/lib/security/ with this file --> Java Cryptography Extension (... |
41f4d80b38625f50fa0f952c7325b97fd36c02fd507c9eb966e928664935fb5e | ['4210fd6e141049b0b5d9583387c2e199'] | seems to be solved!
i'm still not sure exactly why this works now, but changing some of the api functions to the "W version" fixed it
i had been trying this already but i guess some other stuff along the way must've also been fixed.
thanks for the help, <PERSON>.
| 2a0f1ca9a308f8e5cf58f3fae04aae0e79366c4891878384904de01d3f681e23 | ['4210fd6e141049b0b5d9583387c2e199'] | so i'm writing code for a project in an introductory class to C (converting decimals to binary) and have decided to store the binary as a decimal rather than use an array of digits. the program runs fine for numbers up to 1023, and the gives me a mess for anything 1024 and beyond
heres the full code (call bclMain to ru... |
cf996d6276480ef301e37aa343b06acb5e19f7934e6efcbe897cd0fdce3a39f1 | ['421931660f3542689381e511592fa3a7'] | You did mention how broken you car is. When the engine can still run in idle (it might be able to do even with a broken crankshaft - it might not be able to deliver power to the wheels, but it can still keep itself running), it can deliver heat and consume fuel at maybe 1 l/h (it makes sense to keep the tank sufficient... | aa86f7a906acfad8108c62f812fc02c5e2b6501e2da2a8498e9995baec802368 | ['421931660f3542689381e511592fa3a7'] | Its one of the steps. But I am not stuck at that. The problem is to show the best 25 hotels on initial page load. We don't know which will be the best, we have to make a algo. that gives us the best possible guess. Filters and similarity comes when a user starts interacting. Its the second phase of the requirement. |
8f43a6d5f470df4484136a819a8af3bc5894f5d38620749366c4a0e9bfb0b12d | ['4223432de7e645178be7a383abd64948'] | I am using multiprocessing.Pool() to parallelize some heavy computations.
The target function returns a lot of data (a huge list). I'm running out of RAM.
Without multiprocessing, I'd just change the target function into a generator, by yielding the resulting elements one after another, as they are computed.
I understa... | 6aeaa360320e8c01d97b5d479f2df35d7463b88f9ea49e1aa80467977766688e | ['4223432de7e645178be7a383abd64948'] | I am submitting a large form. It has many fields with unspecified values, which translate to field=&field2=&field3....
I don't want these in the GET url. Only keep fields with non-empty value.
I figured out a way to do it with jquery:
$('#form').live('submit', function() {
$('input[value=""]', '#form').remove();
})... |
0653091a9244e791c21c3a1d192aeefdd9504711a5b095c29315b0257fab2d79 | ['423e3c562a24451e8fee370b3132d3c5'] | I need opinion of experts.
I have GUI Desktop App, it's connected with external DB and everything works fine.I use GlassFish Server 4.1.
I dont use any framefork such as Hibernate,XML,Spring. It's simple Desktop App with class Repository and methods.
My question is...
Is it possible to create Web Service for Java De... | b532ae85a553be9f56a9dce6aa21b3514c5df8d46b23244e9890c20cb904362b | ['423e3c562a24451e8fee370b3132d3c5'] | my question is simple. I have Java App Project in NetBeans. My project use Derby DB and database was created via NetBeans in NetBeans.
I know how to integrate a Java DB database into a NetBeans Platform application but that will take much more time and practicaly I will need to create new NetBeans Platform and do ever... |
1276d09c13f9802d124314298cef6387a2a1190be551f61df3b176f5539efda7 | ['4243f021f9d04247a5e50e0c7ba51134'] | I ended up with the following solution:
First, I specified a regular 2D grid using the NumPy linspace function:
x_range = range(-5,6)
y_range = range(-5,6)
lines = np.empty((len(x_range)+len(y_range), 2, 100))
for i in x_range: # vertical lines
linspace_x = np.linspace(x_range[i], x_range[i], 100)
linspace_y ... | 05955fcda7fc978f41ed53a6fd77ea4156b70debf5ae0f2d5a95a1b04cd96b71 | ['4243f021f9d04247a5e50e0c7ba51134'] | How can i find the exact value of this?
$$\sum_{n=1}^∞ \frac{f_n}{100^n}$$
Assuming that $ f_1=1$ and $f_2=1$ and $f_n=f_{n-1}+f_{n-2}$
I can approximate it to 0.01010203050813.........
But what is the exact value? Should i use $\lim_{n\to ∞}$ ? And how to solve it?
Thank you.
|
77ddd5dc8025296226e65ec030d7e7792d7da1711e80106960a2d83b60d4f0df | ['4250afd1973047a3a5d1aba9b6b6473a'] | One of the suggestions from a Microsoft TechEd sessions on security which I attended, to make all calls through stored procs and deny access directly to the tables. This approach was billed as providing additional security. I'm not sure if it's worth it just for security, but if you're already using stored procs, it ... | f4d11fc7c561a9d31724df20c44a163f3592a48548f15f16eaed0fbabe9cd327 | ['4250afd1973047a3a5d1aba9b6b6473a'] | A free trade area such as EFTA is a much looser form of economic and political union than the EU. EFTA has negotiated access to the EU single market and has partially accepted EU laws relating to single market access. It's also largely signed up to the Schengen area free movement of people. It doesn't have EU style com... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.