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
15416ba4a65d66ed1ea7cb43084c1e84dffeda1d233684f54e41444dc564df86
['83ee372052bd418c9bed1e6ae81169c8']
When I did it using an online tutorial, it kept telling me that there was an error with quotations, but after editing, I still don't see the problem. CAn you please help? import csv with open("CSV_birthdays.txt") as csv_file: csv_converter = csv.reader(csv_file, delimiter=',') # This suggests that commas seperate c...
5740d945a011a7da9fed87dce6b6b12d1b1574995228a03c29d914cffdd06eff
['83ee372052bd418c9bed1e6ae81169c8']
I have written a program which will determine if a password is strong(has 10+ letters, 1+ capital letters and numbers) and if not, it will ask for a stronger password. To do this, I have chosen to use boolean but IDLE says that there is incorrect syntax and highlights my boolean names. Is the issue with the name or is ...
9d096521bbd3d3d0231b247103bcf819dc4a2eab4af45703a3bbd214cc7ac254
['83f2bf2aff574647ac95e849e5f2a113']
I am trying to use formsets in Django but encounter a problem I don't understand. The error I get is [{'id': ['This field is required.']}, {}] Here is the background: In models.py I have class Ledighet(models.Model): person = models.ForeignKey(Personal,on_delete=models.CASCADE) start_date = models.DateField()...
7e200191dc0c15941a30946fac2cfd93eb8091fd47408456f23aba8ece393a7f
['83f2bf2aff574647ac95e849e5f2a113']
In a django-project I have the following line: person_lista = Personal.objects.annotate(tjgtid=Sum('personyear__tjgtim')) When the class PersonYear contained the variable tjgtim = models.FloatField(default=0) this worked fine. But now I have changed it so that it is a function: def tjgtim: return ..... and now i...
62131a7d40b276f1836efc4a0fe8390586b760c80775a81c5d1de06d054442c0
['84014c13d8e740568c7d66e259e38504']
class Complex(object): def __init__(self, real, imaginary): self.real=real self.imaginary=imaginary def __add__(self, no): self.real=self.real+no.real self.imaginary=self.imaginary+no.imaginary def __str__(self): if self.imaginary == 0: result = "%.2f+0....
c25beb9f1b89906fa81dfa116f708d9575fe0c82a7e25ab90d4de44b74c7fceb
['84014c13d8e740568c7d66e259e38504']
I have written the following docker-compose file to create 3 containers. Bugzilla container exits with code 0 after creation. Could you suggest what am I missing. It's not even showing any error, is there any way I look into exited containers log? version: "3.2" services: bugzilla: build: './bugzilla/' conta...
20c733f66343d03fb861da6c156837702891a98cdec328adbe60f039d8295303
['8422fdf13d954e56a58ff01859b4523c']
This article describes how to improve startup time for WCF client applications by pre-generating serialization code for assemblies by the use of svcutil.exe (or sgen.exe). However, it only mentions improving performance for serialization/deserialization using XmlSerializer. The default serializer for WCF is DataContra...
4e1a64ce3f3354e3e965f7f0383014b8f46f1b4be32c7e4af2a644b4d83daff6
['8422fdf13d954e56a58ff01859b4523c']
When using Moq with Verify, to assert that a certain method has been called with specified parameters, different kind of syntax is possible; one is the "It" syntax, like this mock.Verify(c => c.SomeMethod(It.Is<string>(s => s == ExpectedString))); What happens here is that the parameter that SomeMethod is called with,...
61b6aac012f3b00a1723f95d293af5b20c3595a6722fd83afaaeaa50d8b56575
['842899048dbd443aa8f246b2ba42d0be']
I'm trying to create a new profile for snakemake to easy run workflows on our cluster system. I followed the examples available in the Snakemake-Profiles repo, and have the following directory structure: project/ - my_cluster/ -- config.yaml -- cluster-submit.py -- jobscript.sh - Snakefile - (other files) Thus, the my...
5edbe1bd4872c7f7fdecad4a62ba19e361cfffbc9334fc2c5b615ec9f1b739e6
['842899048dbd443aa8f246b2ba42d0be']
I'm trying to display some data from the database in a table with the possibility to edit the data, using Qt (more specific, PyQT). A QSqlTableModel can be used for this. But with a QSqlTableModel is is not possible to easily reorder the columns, or maybe exclude a column. I know it is possible to move columns using QS...
22242681bf6e8b40c21d7dfd3e21d0fda148f898b6a83632c72d4b36f17a04b1
['842afb5d7e1a4f5394805b78390bf48a']
The answer is most likely one of two possibilities: They don't feel that the investment of preparing and producing the DVD will be justified by its sales The copyright of various elements of the movie is ambiguous or widely distributed, and resolving that situation legally is cost prohibitive, if it's even completely ...
d25c6977aec177e23c41d89d69347cb5c9e7fb1b1631e3a0864558152a6777b3
['842afb5d7e1a4f5394805b78390bf48a']
Yes the ring will move toward (be attracted to) the field when the flux drops, but the ring will tend to repel more than attract overall (the explanation is complex, however). See http://www.youtube.com/watch?v=dw73DcwIX-A for a similar example: you get more repulsion on average.
7841f0e0a331d70373c09938ac3419c3f8961e1de4c2f5ecf83e3a3fb0902f19
['842dcc3e3e1b4218bea69ed01d9cdc34']
I have read and tried most of the blogs and tutorials regarding implementation of stripe in laravel 5.2 but none of them work out or none of them had proper explanation. Can somebody please provide me some simple to understand tutorial link. or can guide in simple language. I'm new to laravel
03f01df0a3f8ac70d2ad4e4430f89d5694a11849308ccf5136eed87f13e38287
['842dcc3e3e1b4218bea69ed01d9cdc34']
Basically what I'm trying to do is to create a array in a session so that a guest user in my e-commerce website can have its own wishlist and I can gradually push data selected by the guest. below is the code I have written for that :- if(Session<IP_ADDRESS>has('guest.id')) { Session<IP_ADDRESS>push('guest.tname'...
bd09175d69e43b67f740af943957284e7de15e61de72a67fd5dd88d1e97a5e92
['8438b89fa70f442880416bb60f06e864']
Try this, string the index and then use the join function to join the list into a string. def PatternMatching(Genome, Pattern): index = [] for i in range(len(Genome)-len(Pattern)+1): if Genome[i:i+len(Pattern)]==Pattern: index.append(str(i)) return " ".join(index) Genome = "GATATATGCATA...
4a3afb0009ffabb00f398d60f734bca3a4989507cd5ea4d22ebecb7ed4d56d48
['8438b89fa70f442880416bb60f06e864']
You have a number of problems in your code but to fix your current error you need to index the array with integers as said in the error and not a char, you could do int(char) and then return the result. def expression(r, possition , char): return 1-r[possition, int(char)]
fe673ea47a3e9b3b67a7042765fce89add705ff3fa1c95f409211621f5019219
['843e599c56d042a89ba5ec43524ebf8a']
I am using following query to query DB which have order by on two columns. SELECT a,b,c from Table1 Order By a asc, b asc; My question is, Is the sorting guaranteed to be stable (by Standards) or not. Though it doesn't make any sense for it to be, not be stable, But i ask this because I read on net that The standar...
845761571a63e2f8c05af271d01ed58811770970b17485ac690dbeb3225a08c0
['843e599c56d042a89ba5ec43524ebf8a']
I am getting TRUST_E_NO_SIGNER_CERT from WinVerifyTrustEx. error code is "0x80096002" and message is "The certificate for the signer of the message is invalid or not found." I checked that certificate is fine and it is trusted. Exporting and opening up signing certificate I can see that Certificate is okay. Can somebo...
b7d739bd569ceaca805ab82f6b625a94b883b6fa3e931cc76f16834a8ab7a1f3
['8448d8bf6c104fc6b86884a6d83c90cd']
I've managed to solve this situation and here is the solution if anyone is interested. Here are the steps to make this happen: Prepare a request model import Foundation import PassKit struct StripeTokenRequest: Encodable { let pkToken: String let card: Card let pkTokenInstrumentName: String? let pkTokenPayme...
5b35fbd630562c868341f98b47b44b104eeb09b2749d77176899d4a887a72015
['8448d8bf6c104fc6b86884a6d83c90cd']
I've made a NSString category for hashing: - (NSString *)MD5 { // Create pointer to the string as UTF8 const char *ptr = [self UTF8String]; // Create byte array of unsigned chars unsigned char md5Buffer[CC_MD5_DIGEST_LENGTH]; // Create 16 byte MD5 hash value, store in buffer CC_MD5(ptr, strlen...
24e71d0fcdec2797e58ad3d1079906c76c7a431505299ad00cfd7fb628852f74
['844f99466f3b42f4907ce0202786c8b3']
From my experience, Disk I/O is the bane of any sane user experience under Linux. Things that make it worse: Using a laptop(2.5") disk, especially a 5k rpm disk Using wubi or LVM/Encryption. This is because normally, reads/writes to disk are quite optimized to your hardware, but having that enabled creates a layer of...
77d1712f284c3ed5f296880ec3ee3d71cee500af6b0e45c1274be0349c3a8df2
['844f99466f3b42f4907ce0202786c8b3']
When using my Pi on a regular TV or computer monitor via HDMI, everything performs as expected. When I connected it to a Cisco Spark board via HDMI, I anticipated no change. However after the initial boot instead of the desktop (or specifically a program that is supposed to run after boot), I get a command line (and a ...
cb1d7b36334242b5d713dd9467772e7107ac677ada2c75cb4b0aad169b45abb9
['84575fb8c2894ab0b2c63b0c31ccc12e']
Have a look at this while facing some error I came across this article. I'm sharing this hoping it will be helpful for others also. http://www.tsheffler.com/blog/?p=428 Also refer this: http://www.ciiycode.com/0JiNiqePUejg/origin-httplocalhost-is-not-allowed-by-accesscontrolalloworigin-rails-3
f49549f2d49f12b0b480b2517d0652b2347b4acc326d60bf612a6557afc7a13e
['84575fb8c2894ab0b2c63b0c31ccc12e']
You could also try this code: Create a service. app.service("angularService", function ($http) { this.AddValues= function (showValues) { var response = $http({ method: "post", url: "api/values/YourmethodName", data: showValues }); ...
59fa24181f342ad78f908b14a3fbb8e506b20419af5ce51b8ce8646a60052b23
['845a66742d774e568f8314c6f6d7931d']
Absolutely positioning might be a good way to go, since all those elements are the same height (buttons, and the line of text after the buttons). Just add a container div around those elements. wrapper { postition: relative; padding-bottom: 150px; } container { position:absolute; bottom: 40px; } The other...
cdc780b7f2261f130e4283c57f568fb295edda65f22f87de01bf44f4f4df9371
['845a66742d774e568f8314c6f6d7931d']
Yeah, as I web designer who has had to work with asp.net in the past I completely feel your pain. It's not easy to get a modern look mostly because asp.net isn't a modern tool and kind of has a visual vocabulary all its own. That said, I found I could get decent results by sticking as close to CSS based solutions as I...
71c315d32d0064bb36054c0f7a0c69480c995534365858f6bbd19a7ac2cb3f97
['8467002a250444ed8202133eb8182593']
I am trying to run a project with objective C and with a private SDK and I get the error Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_DetectionSDK", referenced from: objc-class-ref in ViewController.o objc-class-ref in AppDelegate.o objc-class-ref in SecondViewController.o ld: symbol(s)...
62932681ac66a730aed780becc1403884b29b59e1aabfcad15098b47667f639f
['8467002a250444ed8202133eb8182593']
I have a simple login (username and password) and I set data in NSUserDefaults for the next login time with touchID the user can access fastly, and the way is, verify the touchID and make a login with data from NSUserDefaults, so I need to encrypt the password... save the password encrypted and when the touchID would b...
6db4669de5a2668c14f328cd7a50ca5696193c241295a952281b6ca000e35441
['846d100cf59f440d99ea787c421cecf5']
@ChrisH You'd think that, right? But in several recipes I've done in the past that use melted chocolate, you cool it to room temperature - and it is still a paste like consistency, not solid. That said, adding it to the cool (well, room temperature, you don't make cheesecake with cold ingredients) ingredients *before* ...
d0551e39aee98150ee8bc1445cf66d10c576300d6f80529354aad1fb2007a534
['846d100cf59f440d99ea787c421cecf5']
I'm trying to add OCMock to my iOS 4 project. To test it out, I have a class Person with one method, -hello. When I run this test: - (void) testMock { id mock = [OCMockObject mockForClass:[Person class]]; [[mock expect] hello]; [mock hello]; [mock verify]; } Everything is fine, and the build succeeds...
b1b19c3b0b31f7f12357bce4f001453585eb812decfffd62c13f1d4a5f9573fa
['84771b79852a42a2bdfc96fd3522e9b8']
Well if $(\nabla \times)$ is one operator, how is _it_ defined? I understand that if $\textbf F = P\textbf i + Q\textbf j + R\textbf k$ then $\text{curl}\textbf F = (\frac{\partial R}{\partial y} - \frac{\partial Q}{\partial z})\mathbb i + (\frac{\partial P}{\partial z} - \frac{\partial R}{\partial x})\mathbb j + (\fra...
e138cc0c038c95efe2db831c3ca3fb6c44753e68f3b84ffbab845f2acc4d694a
['84771b79852a42a2bdfc96fd3522e9b8']
Thank you for this wonderful answer, but <PERSON>'s comment seemed to help my confusion more, however this answer explains abuse of notation for $\nabla$ by using [abusive of notation](https://en.wikipedia.org/wiki/Abuse_of_notation#Cross_product) for the determinant. I'll accept it as a warning that not everything in...
1531d6db4de9f4d42c5c5d5c35e9966ccd2b8fb2b409a3db9351cea217ce4796
['84925c0069c640e38a621067c893d775']
So I want to integrate html index.html, webflow.js, jpgs and some css files that are organised into folders js, css and images. So how to put everything into .NET Core MVC project so it has all the animations and css for html index.html? I use .NET because there should be some logic afterwards with some models etc.
529f21bba07cdc031420e1588acaf3fbccdba850b20e85d55125d4c1f30a72fb
['84925c0069c640e38a621067c893d775']
I'm creating an Android app and in MainActivity class I've come to a problem with implementation of a part of algorithm. My problem is how to make xml file id visible in MainActivity with navigation bar layout being the xml layout file added in method "setContentView()" because the app is organised as Navigation bar la...
f0491b41231157c85f19848304a0eab080cbc59d2fad305ea0615a02717867a9
['8493fa6d08ec42dda22506fdbb2a14e4']
Thanks for your answer. However, I am wondering what steps you have followed in order to get those results. For example, "Just write $F_Z(z)=\mathrm P\{X+Y\leq z\}=\int_{-\infty}^\infty \int_{-\infty}^{z-y}...$" is not clear to me. Also, for the CDF in 2nd part, I have $F_{Z,W}(z,w) = P(X+Y\leq z, \min\{X,Y\}\leq w)$, ...
f61c0a02aac1a6661ecabe505d05e2d90b17e7f3d392aacd4c11af2fd4f8e23d
['8493fa6d08ec42dda22506fdbb2a14e4']
If it is just as a hobby, you could try some workarounds. Try to play with a home made setup, 9x does not seem extreme: if you want to use one, educational microscopes, the ones that meant for children or schools, can be kind of inexpensive. You will need to attach to it the camera somehow, maybe with the adition of so...
5e7c193def473f78e13f67d7f983ea2972468dcc684c74c0eb86df7567a0a60a
['84a7bc40d4d94e69a9cf93f2c267313d']
Right, I'm trying to read a file and have that data stored in a arraylist(primaryList in primaryList.class). The data is just lines of countries, cities and their population. Heres an example: USA;Chicago=2695000; After the data is stored, I have methods called setPopulation and getPopulation in a second class(secondar...
e0e16aa49224e68aefb7ada42564cbd1949dc2437fcef60cc6d65446238d8932
['84a7bc40d4d94e69a9cf93f2c267313d']
Not sure if I'm phrasing the question properly nor how to best explain what I'm trying to have answered so bear with me. When defining a microcontroller register, you would write something like this: #define io_register (*(volatile unsigned char *)0x25) I also found this line of code here: Pass a hex address to a Point...
d3eafe4341baeabd68a8f23ea77af6ec932413c334b5f79fb09210edd304dbe1
['84b96550b16144538a6eceed5ae3d208']
I know that it is a standard fact that multiplication is not sequentially jointly WOT continuous. However, can we find a sequence $A_n$ of self-adjoint bounded operators on a Hilbert space converging WOT to $A$, but $$A_n^2 \not\rightarrow A^2$$ in WOT? From my experience, counterexamples to the WOT-continuity of multi...
dc2c07a6eff3a37cbf12a73a09862e234733499191afb50bf8f4f2cbf022c713
['84b96550b16144538a6eceed5ae3d208']
Actually, in the case of the disk, there does not have to be any ambiguity because we could take $\gamma_z =[0,z]$, the straight line segment from $0$ to $z$. This gives a definitive curve. But, if the domain was more complicated (not star convex or something), then you can use <PERSON>'s integral theorem, provided tha...
6ee93440c339997709025626a9b9f6267b3f6ce228911a4782df07288f805153
['84e49933f89d47d4be9ae923f35adc5e']
I am trying to recreate the following background in CSS: Each hexagon should have navigation link inside (6 sections) and this background with nav links should follow the user through all sections in one-page (displaying on the right side of browser). Currently, I am using it as a background image with fixed position ...
150adc0ab925bf0da9e6b49a1194ce0cb9b8a9b5ceb861f98a15ffdb0e93c80c
['84e49933f89d47d4be9ae923f35adc5e']
Looks like fullpage.js automatically changed my h1 and other fonts font-weight to bolder when I implemented it. I've tried adding !important rule on font-weight to override it but no results so far. I'm using Lato font and everything worked perfectly fine before I added fullpage.js. Another matter is making dot on the...
7db8d6465670eca3035fd46243967f1f94dbf1b28ca97605a627a55cf659fb6a
['84eb7b7ca78249bc81be804bc7c04784']
As the title says, i tried to use Eclipse for android programming.I installed ADT plugin and set SDK directory.When i open SDK Manager in eclipse it recognizes and shows every SDK version that i'm expecting, but as it appears the IDE doesn't recognize the SDKs and i see this error in console: Unable to resolve target '...
ea88906607471395fe1d864d1f73cfbc501c91ec4a351c19a6ffc39e68dda605
['84eb7b7ca78249bc81be804bc7c04784']
I want to read a file's contents and split every time that I reach to a whitespace and do "action 1" on the splitted string if there was an "space" before it, "action 2" if there was a "tab" before it and "action 3" if there was a "newline" before it. Actions are not important. My question is how can i read the file su...
ace15b6b70844622445e9d8685cc20f6833d0bb66b461783182d2f20bec062ae
['84eccab092e94edf8a12253e120ff21e']
Given the following object defined and initialized in a wrapper class: // (thread-safe) List of Requests made by users private static List<Request> requests = Collections.synchronizedList(new ArrayList<Request>()); The following code is being called constantly in an update loop: // <-- (Thread 1 executes the following...
ef919c214d426cc919837ede3eb9b8f6497015b939861ae79c28a7e302032416
['84eccab092e94edf8a12253e120ff21e']
The simple architecture and summary of dilemma: Entry Point: Client successfully authenticates itself to a singleton LoginServer (via TCP the connection supplies valid username+password). LoginServer is the only Server with access to the salted login database. LoginServer intelligently selects a single GameServer from...
ce6004bb082cd0080e55b45da4ccdd8d372c41b2b3f1a53ec8e137a19ed407d0
['84eef3953bd54adebb0458a23612797b']
1) Is there any way i can have a button or custom navbar on top of loaded webpage in my window? Currently I've made another child window with height and width same as that of button and placed it on top but it doesn't look/sound good. Yes, this is definitely possible. The two ways that I can think of to do this inclu...
7977ccd3b03379f988ee38a333fe8fd99056777b87a0bc0c82383008d9947f9c
['84eef3953bd54adebb0458a23612797b']
I'm building a web browser in a C# .NET Windows Form Application and wanted to add support for fullscreen usage (mainly on HTML5 videos). So that when users press the fullscreen button on a video like a youtube video, the video would take up the full screen. The browser uses a GeckoFx control to view the interweb. How ...
b951f19d57dc7b561f40152a08af6801d3b484c8c3ef4d01c1bd054179539327
['84f46128f64e4a8ea9c0d4b829062c99']
I do not recommend logging into the root user, it can harm your system. You can enable it by executing this in the command line: sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf' It may ask for the password, you can change that this way: sudo passwd root
8d05931c9d4367493d0c54731140d1a710be66f193b7a6caf08eeb769a206cc0
['84f46128f64e4a8ea9c0d4b829062c99']
You can turn off Automatic Updates in the Control Panel. When turned off you will be prompted every time with a message like "Windows Updates are installed, when would you like to restart?". When you are running Windows 7 you can customize the update process, I dont know how well that works with Windows 8/10.
5c6ff0329e9c440155f979fb5c8ac484ce13843cb3c1f51680328d52622f9563
['84fd24285a8a4a37be491d9918c4a069']
I am using maven 3.2.2 and jdk-1.7.0_60. I am executing mvn compile for a particular project, the compilation succeeds. But when I run mvn clean install on the same component, I get the following error- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /C:/project...
983ae38d1092a4e4d344c81d83a3c38c4395bd39223e4d7106987881c062503b
['84fd24285a8a4a37be491d9918c4a069']
I'm writing a script which runs the following command mysql -u root -e "show databases" and this will display a list of databases. If this table doesn't contain a database by name "userdb", it should do the following- if [ ... ]; then echo "error" exit fi What do i write in the if [ ... ] condition?
ff83e8ca687e9baf6fc6a58c3f6fcef98dc0d5d9d2bac61377458694b4cdede3
['8526a507a7ca4b419b0b9ad5fb5ee3a0']
Yes, SSDs are safe to use for backup purposes. (Although, I can't imagine why you would want to, but that's a different subject.) A few lessons we should learn from this: SSDs are not less reliable than HDDs Modern SSDs are still unproven technology Multi-layer cell memory is more reliable (but costs more) Most imp...
dbf5a82e7e32164ba8387368288e54dd006495945bbd2a7f81f5d6e735ce8bbd
['8526a507a7ca4b419b0b9ad5fb5ee3a0']
Yes, Intel Smart Response Technology's caching supports up to 64 GB. A larger cache means more of your data can be stored on the SSD, and when used (i.e. read), will open faster. The difference between cache sizes isn't something you can benchmark in the traditional sense. It would depend entirely on you've previousl...
544988f3a0f6975c3fb8581d9b917e234328891c83566ae740890b1c126a76bd
['854e1868c9d54d15894ffca70502fb46']
The code of @ThePracticalOne is great for showing the usage except for one thing: Somtimes the output would be incomplete.(session.recv_ready() turns true after the if session.recv_ready(): while session.recv_stderr_ready() and session.exit_status_ready() turned true before entering next loop) so my thinking is to retr...
5f4ce07571f575bc72aff1fdd6292769c0eab3c5660f9a7d4ffe0c78eb8277a0
['854e1868c9d54d15894ffca70502fb46']
can you run cepn-mon -i <your-mon-id>, I solve this by : (I am at the same situation as yours, I am based on firefly & I compile & make install from the cource code.) #!/bin/bash fsid=`uuidgen` ...
046302b2a4a44cfa2048fce9482a386be753f0bbd960cf698df684991cf09c0b
['85663379ce4849b4802bb31915e082fb']
For those who struggled the same as me with laravel artisan console command that makes a lot of requests to same wsdl of external soap server and then after some time fails with Could not connect to host error. The problem was because I was creating new SoapClient instance each time before request was made. Do not do t...
62e92287dc870c0f13738af27ff7d384e7b0d06df6d9be31f26822d6192431ea
['85663379ce4849b4802bb31915e082fb']
Ok, guys so I figured it out. Thanks for all support and answers. So I have tried manually set object for push in mutation. createTask(state, task) { const taskObj = {id: task.id, text: task.text, done: false}; state.tasks.push(taskObj); } And It worked, the problem was because of done field that ...
e83ebf732214bb482f9e27622b08f7d73136722cce0c1d66592e94411e11cd7c
['85750d722c60465b994ac0ba07943cb1']
# lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 6.10 (Final) Release: 6.10 Codename: Final # yum repolist Loaded plugins: fastestmirro...
6a89d3c607c42d10b43bf22bb1e070e705eced696482cebe1fca72350e422ce4
['85750d722c60465b994ac0ba07943cb1']
Ну например: const mongoose = require("mongoose"); // подключение mongoose.connect("mongodb://localhost:27017/tgbot_test", { useNewUrlParser: true, useUnifiedTopology: true }); ... const Schema = mongoose.Schema; // установка схемы const userScheme = new Schema({ username: { type: String, required: true }...
71ada528f3f4aa52358045b2af5b21e854c128ccbef7d2c422d746a784b9d43a
['85794efec969418a91567bee1a4c44af']
I wish to know how to delete a many-to-many association via a REST call. I am able to create records, and associated them, but do not understand how to delete. I have a Spring Boot project where i'm using REST and HATEOAS to by pass Services and Controllers and expose my Repository directly. I have a User Model/Domain ...
1d87a0009d4f38584e73c0836a1464c1edbec1ba76e1505b807a0e185d7f17ba
['85794efec969418a91567bee1a4c44af']
I have a nightly process that takes around 18 hours to run. The gist of the operation is that an up-stream service is polled, the data then is applied to my own database - not as 1-to-1, but massaged, compared and snapshotted if necessary (so there's comparison, and bit of other functions involved in going form flat-fi...
7f5145fe9b0e1d94336980982d464665422a166935392b537a627d48cef1c7d1
['857da40de8d54ec4876835d3085168ab']
Given a curious setup, my desktop computer is now far from an accessible connection to the internet as it lacks WiFi, yet I do have a spare laptop lying around with WiFi capabilities. Is it possible to use the available WiFi connection in my desktop, through the laptop? I've seen a couple of these questions thus far, ...
a24361b3e4a96a935d37e251650e1ebd83b687e17e7ff6d03a996636432d4aee
['857da40de8d54ec4876835d3085168ab']
You might have misinterpreted the function of Wildcard certificate. Wildcard SSL Certificate issued on *.example-private.com will only secure single level, for example; *.example-private.com will secure, example-private.com abc.example-private.com def.example-private.com ghi.example-private.com Now if you want to se...
be4891b2c0fe3f6119ec5d7830f5d75a57aece17834be391f5a53710acb50713
['857ea8bd27594b2b9f263b3ed0433bab']
Polak, mentioned docs code snippet refer to previously created instance to get it's pre-configured PNConfiguration instance and change required field. This practice can be used in case if you need change something at run-time. If you have data for authKey at the moment of client initialization, you can set it: var p...
2afc94b829130469d995fc6d5486b25f76847e3723e1289f12e8b1e65d3aa7a2
['857ea8bd27594b2b9f263b3ed0433bab']
Create your UIImageView subclass, add some methods which will allow to add point's on user touch (will draw them in drawRect: and also place into C-array) and one method to "commit" line. Commit line will simply go through C-array and draw them in context with CG methods.
3df41a8fafed0ea1179c87702352bb0c1e06870b6b208afc2b3012626b46f30a
['8586cd805f2147a18a944e5184bd8dd6']
I prefer designing the API in a way that makes it harder or impossible for the consumer to make mistakes. For example, instead of having MediaPlayer.play() and MediaPlayer.stop(), you could provide MediaPlayer.playToggle() which toggles between "stopped" and "playing". This way, the method is always safe to call - ther...
dae6da44f2a2ab09136ad18c1171d287276f28d33e4ccabda6fde5527d28d93f
['8586cd805f2147a18a944e5184bd8dd6']
I noticed that the release notes for service pack 1 for Windows Server 2008 R2 says that it enables Bluetooth support. I've apply the upgrade but I could not figure out how to get my Bluetooth devices to work. Do you still need to copy the Windows 7 drivers like the pre-SP1 blogs and articles say? This is on a Dell Pre...
48bb54abde758ccbef42905f6bf1707b3e5b20aa49bf565f609fef3a8e76ab27
['8586df4c0af946dfba19e1dde0193be0']
You can do something like this: @Entity() @Exclude() export class User { @Expose() @PrimaryGeneratedColumn("uuid") id: string; @Column({nullable: true, default: null}) public email: string; public connectedUser: string?; @Expose({ name: 'email'}) // Only if logged user public get hi...
b4202ecbf653d0742affcddfb604aab719c6762fc00c2ba5520640b2f33c2f1d
['8586df4c0af946dfba19e1dde0193be0']
as you write in your example, get method return AxiosResponse<> and contains circular reference. So if you want to proxify webservice https://api.github.com/users/januwA, you should return AxiosResponse.data : import { Get, Controller, HttpService } from '@nestjs/common'; import { AxiosResponse } from 'axios' import {...
11412c15d417129e6acd82b32309f60d10776d00ff3cbe3b7b4641ab8df0f675
['85b669e2e67f45078f529284df6844f9']
Since you have a duplicated target, the issue is that the second target uses the same entitlements file as the original one (check the official documentation for more info). You can do a quick fix, which would be to duplicate the entitlements file and update the Code Signing Entitlements (CODE_SIGN_ENTITLEMENTS) value ...
04a19967ae59e525d9e985f2ee29bbd190d91fa40f82c62460c081de03dc694f
['85b669e2e67f45078f529284df6844f9']
If you are using NSCoding compliant classes for your objects, then I suggest writing and reading the data using [NSKeyedArchiver archiveRootObject:toFile:] and [NSKeyedUnarchiver unarchiveObjectWithFile:], respectively. The data can be saved as an XML or a binary property list by using the setOutputFormat method. For m...
6b7d61b913b4e96efbe6bb2ef94e272e6d70f2665282a62b1b9919050e853e29
['85bdaf018c654dcbab3a7df7c8f735fe']
I'm looking for a way to remove unnecessary information (like prepositions) from a column of texts. E.g. "The", "and", "is", etc. Each cell has information like product description or feedback, etc. So it's like a paragraph in each cell. Find and Replace function will remove the words even if they are characters within...
ecb58c71d25b4d391f58162e17e12d86e422c2467231252a76c638369c4c903f
['85bdaf018c654dcbab3a7df7c8f735fe']
I need to automate the process of collecting information from multiple clients via email and having them stored in a SharePoint list. I was thinking of using SharePoint forms and having it embedded in emails targeting a specific group of clients. And once the data has been filled in, they will be stored in a SharePoint...
fea7e95136463e86c827e7d31bb2edc4a64c44e83795af2282024cde0ac91300
['85cc7d38da5d4b139f1fc02acabd1740']
Two possible issues seem to have come to light: Slightly broken DNS record (too long?) Ubuntu's systemd DNS resolver not being very nice The DNS records we'd created were split on the 255 byte boundary. Dropping this to 248 bytes seems to have fixed the issues. The Ubuntu resolver has expected behaviour where it does...
24fb37cd02b99df4b7ae2e4d561a6018fe8eb472eb7973cb2854ee4d376df0a5
['85cc7d38da5d4b139f1fc02acabd1740']
Почему android studio не дает мне доступ к элементам Game_Activity из других классов ? Из-за чего я не могу кастонуть переменные к Button или другим элементам. Как для примера написал в классе ButtonHandlerOnBottom универсальный слушатель для 9 кнопок и чтобы проверить его работу пытаюсь назначить Textview text с имене...
f4594ccb5f6fdf078c72a50e6ef25f997f8d2af061067fe51838bcecd5848348
['85d017953ff94d94b351be1d8324515b']
I've had this issue in Rails 3.1 when CSRF verification fails. This can happen if you use a tag manually rather than generate it via one of the built-in methods provided by Rails. Search your log file for "csrf" (case insensitive search). If you see a log entry showing a csrf failure, it's likely Rails is resetting yo...
32b4ad5976f083d21e37afd1b60c0e8864d1a15344a1f2da81e876f2ec9657b1
['85d017953ff94d94b351be1d8324515b']
I don't have a working example for you nor do I have a very clean solution, but let me tell you what I've found. If you look at the javascript code for TypeAhead it looks like this: items = $.grep(this.source, function (item) { if (that.matcher(item)) return item }) This code uses the jQuery "grep" method to mat...
bc1734588615f5392d6bb528578c1c5a5d906f21861230563ba11b028ca0c2d8
['85e150c1a18644a8b569e82050641da1']
I am trying to achieve two different views: one for registration purpose and one for login purpose. Now, the registration process works perfectly but the authentication process does not. Here's the code: in forms.py the first form called UserForm is used to sign up users, the second form called LoginForm is used to ...
e3390b13a3fdea4c8bcaa098b664faf01c3bf4b97a70df681ac508e568d02545
['85e150c1a18644a8b569e82050641da1']
In a django app I've created different models and everything looks okay until I try using data from two different models inside the same table. To sum it up: in the homepage, I need to create a table that contains data from both the models, ordered by date. The two models I need to display are the following. models.p...
99aa07194cd8f708d54df4533055b04b43e26b674e1f397e235688dff400133d
['85f044b03c6e45028c6322ad73835e3c']
Here is my function that I have written so far. alreadyGuessed = [] def changeCharToUnderScore(eachLetter): stringDisplay = "" for x in eachLetter: stringDisplay += x stringDisplay += " " print (stringDisplay) print("Already guessed: " + ', '.join(alreadyGuessed)) When this prints my hangman array, it ...
4f9f640fd6d41d6610a60e14aac5bfad73f863c9fdfb6303bc6564bdb6a0dcf8
['85f044b03c6e45028c6322ad73835e3c']
So I'm trying to get my webpage to have a two tone look, one side plain and the other with a radial gradient. I currently tried making it into an SVG and that failed horrible but I am not entirely sure how to get a triangle that goes from the top left, bottom left, and top right of the page, while also scaling to the b...
59911c3733d3ef8be4781b4dd39352d1e26a15ce2f74a7bb0aef328602236440
['85f3d998a2a449afa5872ba07d1b0f2a']
Please refer to example packet: 2010-08-22 21:35:<PHONE_NUMBER>:50:56:9c:69:38 (oui Unknown) > Broadcast, ethertype Unknown (0xcafe), length 74 0x0000: 0200 000a ffff 0000 ffff 0c00 3c00 0000 ............<... 0x0010: 0000 0000 0100 0080 3e9e 2900 0000 0000 ........>.)..... 0x0020: 0000 0000 ff...
a237e5f293a32586b79d68413fce98e255acf9243ebcf5876e81df75352a30cf
['85f3d998a2a449afa5872ba07d1b0f2a']
To Enable the memory you can try out the below command directly. setpci -s <BUS_ADDR> COMMAND=0x02 -s : Used for device selection COMMAND : Asks for the word-sized command register, 0x02 is to enable memory lspci Output : 0000:01:00.0 RAM memory: Xilinx Corporation Default PCIe endpoint ID 0001:02:00.0 Memory cont...
76e65f68473fda51a89c1674192f26f8a6db14d3117126285d2db84e9eda53bc
['86000639e97a423e96413175e24685a8']
I'm trying to display blog posts underneath the 'about us' paragraph on an about page by using the code below in a template part. However, it's only returning the title of the actual page and the date info as the date I've edited the page. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <article ...
b7a5c5a0b35cd9674a5d7da0046a533394a7760e56788850b7d08ca2a9904cee
['86000639e97a423e96413175e24685a8']
I've added anchor scrolling to my website, however because I've used anchors for elements in my carousel, every time I click on the carousel indicators, the page scrolls down a bit. How can I disable those anchors from being included? This is my jquery: $(document).ready(function(){$('a[href^="#"]').on("click",functi...
b5dacd7fe024c7eb2ad3717b979a9747759ea5cc9696bd67a8400227279feb98
['8614849e183a4674a804e198ef4332e7']
Всем привет. Подскажите пожалуйста, как изменить цвет в Qt QTableView для текущей позиции в таблице по нажатию на кнопку? Задача такая: Пользователь добавляет в таблицу запись и она выделена допустим жёлтым, администратор БД по нажатию на кнопку должен подтвердить, что запись корректна и изменить цвет на обычный. Я р...
bcf19bc1cf063f0dfd16c8d2386390dd5890ebcef3837d2da683de5db1069fcc
['8614849e183a4674a804e198ef4332e7']
Taking a look at the remainders of an integer $n\pmod{k}$, where $k$ ranges from $1$ to $n$, I noticed that it follows a pattern. It's probably already known but I couldn't find anything about it on internet so I thought it was worth sharing. The pattern follows like this: Let $M$ denote the group of integers ranging ...
5648698f955b933a7530e5380f60a538707f9fbd2fe6823904c2ab4c58c9cf16
['862f3bd2ef064cf5b3c02c944c7d67eb']
I have a listview that is populated via an adapter. I need one of the items (which are just bits of text) in the listview to have a different background compared to the others (to mark it as the currently selected one). I have all of the background logic, I just need a way to say listview.setBackgroundById(int position...
e158ef03437737adf94df5f70a96e3a23c8b7c3bbd43b030dc694a39478cc3b6
['862f3bd2ef064cf5b3c02c944c7d67eb']
I have an activity that on click of a button contacts the server, waits for the response and then changes to a different activity according to the response. I have that covered, but the waiting time is a bit long, so I want to have a way to tell the user that his info is being processed and that the app is not stuck, b...
7b82e564b94ef377caf5e29efa62eb7acfa6e7134352d6f3e8d92d8236410585
['863155cbcd2e45788a7124004f1f3064']
I'm using VS and SQL Server. I have problem with query: SELECT * FROM dbo.ul_dok WHERE (dok_id_fk = @dok_id_fk) When I run query in SQL Server, everything is working great, window pops to ask me for dok_id_fk, and I insert it manually. I have entered this code in c#: conn.Open(); cmd = new SqlCommand("select u...
66ab4acdb95298dfb1d9869ffd9620ef847e84d3f158d5cfede728d39b3c8ad8
['863155cbcd2e45788a7124004f1f3064']
This was a solution to my problem, and here is the code. private void DisplayData_Sa_istom_Sifrom() { conn.Open(); DataTable dt_Stavke = new DataTable(); da = new SqlDataAdapter("select ul_dok_dat as [Datum], fil_model_no_fk as [Oznaka filtera], kol_ul_dok as [Kolicina] " + " fr...
b947d100ea329fa615d9aa99fca3c05d6dea5fdec890b2da4f72fb3d2bb26c7f
['8634ae85946a44ae8209cacbde1eaef7']
This is the Java EE7 @Startup annotation for reference. I am using the latest GlassFish server and IntelliJ to run the server. I need to instantiate this service so that it can send packets of data periodically to a websocket for processing, but the fact that I use session.getBasicRemote().sendObject(message); in th...
8d6e12df3187246415a9e05a03e8f9ef6dc626692a1c12949f5149eb8da53989
['8634ae85946a44ae8209cacbde1eaef7']
IntelliJ is acting odd with its redeployment settings. In the "updating applications" tab it has on the bottom for debugging: , I have tried to use all of the update options in order to update my application (update classes, update classes resources, restart), and NONE work to update my server. I have even closed and ...
611dd5f49ca5e9a4383f81a9105bd8a6e505773b2c133de070fcc5c462d5f6da
['8645e2425432457ea71307354cbcbb6b']
I have a dataframe which contain a column 'trade_dt' like this 2009/12/1 2009/12/2 2009/12/3 2009/12/4 I got this problem benchmark['trade_dt'] = pd.to_datetime(benchmark['trade_dt'], format='%Y-&m-%d') ValueError: time data '2009/12/1' does not match format '%Y-&m-%d' (match) how to solve it? Thanks~
c9bed6f9b37f102b617cd5f4fb33c04b5bc91c0c8456b6544cec3186129e2e89
['8645e2425432457ea71307354cbcbb6b']
When I use groupby().apply() function to calculate some data like wighted average. I found that the first group is always calculated twice. For example: def test(dataframe): df = dataframe.copy() a = df['a'].iloc[0] b = df['b'].mean() result.append([a,b]) df = pd.DataFrame({'a':[1,1,1,2,2,2,2,3,3,3],'b...
8bbb9740f42087f535d7a56566cf1d615254ca433a911cd49608d248a740b6ff
['865c24dbe51246e58c858ee272870675']
I Have a function that i want to use it in web-service ... for wsdl and nusoap another users that connect to me with php havent any problem on nusoap .but whos connect me with asp can add my web-service and see my 2 classes for example enqueue and get credit but cant work with this 2 method ... i didnt work with asp.....
5b4d6233c34072da47a0a5c1133730725465b2f9c2704ef3e8e1c65058f0a07e
['865c24dbe51246e58c858ee272870675']
I have an agent i defined a job for that php agent file .but if second agent run after 1 minutes and previous agent work not finished yet .its make a problem ..... i want to flag selected rows in every agent that if another agent runs new query they haven't interference how i change this query is the best way is mak...
3bd4b2a61869794438c9c14eec03c4b79af18583c227bda525936d9a189b2a7c
['8660f994952b45ffa0e7f5accfdcc04c']
The texnical perspective aside, I wonder if you should do that. IIRC, print vs online counts as different editions and should therefore probably be cited separatedly. While kind of a nuisande, it *can* be important if e.g. page numbers differ, or the electronic version receives an update without a new printing (would i...
593b15b054f011c6ca2b52e1fda112e49360cea26d187d0530c76409502f8949
['8660f994952b45ffa0e7f5accfdcc04c']
I'm apparently too dumb for `sed`, but in Ruby it would be `text.gsub(/\{\\defun\s+([^\}]*)\}/, "{\\defun{\\1}}")`; see [here](http://ideone.com/NrisQT). Of course, you will never be able to catch all (La)TeX intricacies with a single (readable) regexp (which is one indicator that (La)TeX sucks as a programming languag...
f7ece55dacfe1b5482c468e33649cb2957c462ec93f5503fd6b8ebcfb97dff35
['86664e449ab64a89bf602fcdf434c8cf']
I am trying to use a UIAlertView essentially as a label (no title or buttons, just display text) for aesthetic purposes. I want to be able to continue to use everything else in the app (touch other buttons, etc.) while the alert view is being shown. Unfortunately, I cannot seem to invoke touchesBegan or a selector us...
3bac139affbd6789d27a0045fe7cf308e165cdc74fb22162d88d0487e2eb4f5f
['86664e449ab64a89bf602fcdf434c8cf']
This is actually the most time saving and useful thing to know here, and in my view is THE ONLY REASON why expose is not complete junkware. I can't believe I've been using a mac for 4 years and this has not come up. I can move my finger 1cm and solve the problem? Conversation closed (for me).
063c171b49cce666790cf547cbb2f2fc9e8cb4f81932864b51a865c35fae1732
['867241ce7aee4cceab8aeb9fea30323e']
Biggest issue with WPF is that the toolset is lame and learning curve is huge. So far uptake on WPF has been very low mostly because of the issues I just mentioned. According to Microsoft WPF is the future and they have invested heavily in it. Infact next version of Visual Studio is written in WPF (http://www.onedotnet...
1679006c10b262dcf951d84579c7fb762e8ad242e649128de0f998d913709a65
['867241ce7aee4cceab8aeb9fea30323e']
For example, one can apply $\cos x$ to number $a$ one time to get $\cos a$, two times $\cos \cos a$, three times $\cos \cos \cos a$, and so on. Is there a way to define fractional application for $\cos$? Or for any other function? Maybe exists general theory for that?
4c5375d2b3e8bb1fd2972874a935f7bc7065f1cdc79a2af59faafd24856a1144
['868fb071593d414cbcd9ab883db4ac45']
I'm currently working on a Xamarin MvvmCross ios app. I have it set to display a UIAlertView popup to inform the user when their internet is disabled (the app requires an internet connection). The problem is that when this popup shows, the user can't swipe up the Control Center to activate their internet... var dlg = n...
8a81de8b24dc5298234eddf3f4b0bd2c7125343e108ce192ea39cf3eb924256d
['868fb071593d414cbcd9ab883db4ac45']
I made this helper class in C# (Xamarin) to programmatically set the text property. It which works pretty well for me: internal static class FontAwesomeManager { private static readonly Typeface AwesomeFont = Typeface.CreateFromAsset(App.Application.Context.Assets, "FontAwesome.ttf"); private static readonly D...
e78f101f34d95a54d8d6b7fe21570cc664b8238fdc14a58bf1a5e7ef1a5524ae
['869e0c94e82d4bbfbb4d1301d34ef473']
I would like to display the data I get from a search, personalized for my taste. At this moment, It is just plain text. For example, I am searching for "Titanic", and I get the name, a few links, and some information from IMDB. I have the following code: search.html <!DOCTYPE HTML> <html xmlns:th="https://www.thymeleaf...
844fbd26264f75c59b08d0cf005a384981621f111e59cbc1db67375b74a627ab
['869e0c94e82d4bbfbb4d1301d34ef473']
I am coming with an answer to my question. I managed to get the result I wanted using Ajax, as SnakeDoc suggested. It was a long road, mostly because even if I had a working code, I spent a few hours searching for the Forbidden 403 error on ajax post request. So, for the js part: function ajaxPost() { // He...
488de86989b0955537a43ca5b7c3982c3a54c98ddfa97963462053a715b1af40
['86a0d454b83641f298383f5dfbf62e05']
I am using this liabray for swipe gestures. https://github.com/nikhilpanju/RecyclerViewEnhanced. Activity: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_admin_panel); Toolbar toolbar = (Toolbar) findViewByI...
bc582a704f20c144d71219dd6a43a35c8e8d770a7bffec00a5998e98bf58d4c9
['86a0d454b83641f298383f5dfbf62e05']
I want to enable broadcast for incoming messages just for which contacts are saved in my mobile. I retrieved all contacts number using this code. // Search Number from phone book public String getContactsPhoneNumber(Context context, String originatingAddress) { ContentResolver cr = context.getContentResolv...
7c68567fa8da7c998a0d66587f210fd9c012d33d5b14b10fadbb6f1cffde5712
['86a52635534743b585211d6a8944a9a8']
I have an array of sorted numbers from 001 to 999, and there is an unknown value x that I am trying to find within these numbers, and when the number is found, the algorithm will stop and return the number. I realize that I could use linear search or binary search to achieve this, but I would like to use Jump Search i...
dd368cb10e6bb8d39202c9441d0b5688949224ec760024163c9004b7116f6d23
['86a52635534743b585211d6a8944a9a8']
You need to change pElem.className = '' to pElem.classList = ''. var selectElem = document.getElementById('select') var pElem = document.getElementById('one') // When a new <option> is selected selectElem.addEventListener('change', function() { //get value text var colorValue= document.getElementByI...
d45cfb08d8d4a2f4211aaa346dd5b0dd2616c121ecd82c12a472b687fbfeec28
['86c38a42e0f14adeaa97ae76c94cf977']
I have a time-consuming operation to modify the database which is triggered by request the route,So I want to perform the operation asynchronously without waiting for it to end,and return the state directly. I tried to use threading module in the route,but got this error: The following is the code: define a model: clas...
295dd3c99b198ec159ceafa0df116e164655a466a3376eb63878259f18986bc6
['86c38a42e0f14adeaa97ae76c94cf977']
Here is the official document about constantly print out the position of the mouse cursor: import pyautogui, sys print('Press Ctrl-C to quit.') try: while True: x, y = pyautogui.position() positionStr = 'X: ' + str(x).rjust(4) + ' Y: ' + str(y).rjust(4) print(positionStr, end='') pri...
fc0bc96e3404284985ddf94f2a6d724e9f2e89b44e013961da395e65107d237c
['86c572b28f8240749e7311579c8916d3']
You don't need to make a docker-compose.yml file, but it certainly will make your life easier if you have one, because then you can just run docker-compose up every time to run the container instead of having to run docker run -p 3000:3000 admin-web:v1 every time you want to start your applicaton. Btw here is one of...
cb889c1b3db75cd4f1d406c5ca65861a9c6c1c025d100288c312a43b44c8f3e0
['86c572b28f8240749e7311579c8916d3']
Are you doing this in docker by any chance? I sometimes have to restart the docker service on Mac when I get these kind of networking issues. I did a check and everything looks fine at: https://www.ssllabs.com/ssltest/analyze.html?d=pypi.python.org Is your time set properly on your machine? These kind of errors can oc...
ba8a58a82aa770e335c7b61762d50723f83b35d15856cd2b7e3da5c450fa56c2
['86e61da514124c5fb0a801983ae258f6']
I have a XML input <field> <name>id</name> <dataType>string</dataType> <maxlength>42</maxlength> <required>false</required> </field> I am looking for a library or a tool which will take an XML instance document and output a corresponding XSD schema. I am looking for some java library with which I can generate ...
6219f31c8fd2af1aa271c34f475292a8e13489f3718201a2260f5f006764ff70
['86e61da514124c5fb0a801983ae258f6']
I want to generate the following XSD Schema using JAXB and ObjectFactory class of org/w3/_2001/xmlschema <xs:element name="result"> <xs:complexType> <xs:sequence> <xs:element name="sfobject" maxOccurs="unbounded" minOccurs="0"> <xs:complexType> <xs:sequence> ...
c3cf8a6e4b0e23aab0dbded0a9db2412878b33b4f5e4565fe0afffd80332fe95
['86f9e51a8c87410a9fbf7cfa796771b8']
MS-ADAL is using to get authenticate a particular user , plugin will return a token after successful authentication. We can authenticate the user in active directory against office 365 products like yammer or our custom API's which are hosted in cloud. Either you can make a graph API call separately or use some tool t...
8950a83a0d426c129abefac709df9c63f3289ca4f3805293b7dafc664e0822cf
['86f9e51a8c87410a9fbf7cfa796771b8']
Windows mobile multitasking is not working perfectly in CF 3.5. When I run Multitask, remaining functions are not working perfectly.Here is my code Thread internetStatusDisplayThread = new Thread(startInternetCheck); internetStatusDisplayThread.Start(); private void startInternetCheck() ...
9a0696039f500a54e1519e9bc75c4f5c303b58ce3216417c317c90203e5cadcd
['870f1a0acd5541d7a3172c06e74d0088']
Im sorry for the wrong answer. Indeed, in estimating $\sum M(y)$ we have to use a lemma which states that for any given $p>1 $ there exists a positive constant $b$ such that $\sum_{n\leq x^{1/p } } x/n^p \exp(-c \sqrt{\log x/n^p}) \ll x\exp(-b\sqrt{ \log x} )$. Note that the product term on the second equality is su...
b337eef1f38f2cd63ffba8c76f4deaf7a9ea30f55c9413c244ada055124b104b
['870f1a0acd5541d7a3172c06e74d0088']
$ \ \ $ I want to ask an estimation of $\sum_{1 \leq n\leq x} \mu(n)n^{-1}$. According to a paper: http://arxiv.org/pdf/0908.4323v5.pdf of <PERSON> (See the theorem 1.3 on page 4 if you want), for an arbitrary set $\mathcal{P}$ which consists of primes (finite of infinite), $$ \sum_{n \in \mathcal{P} \atop n\leq x}\fra...
e52bb243e942e96be5d29f06162c1c983e4620edf80a58cc6d4412c1757e7f4e
['8712586bc1834b60a2c2380fed67a8ec']
Thanks, this seems to match my observations - I tried to apply some lube in the meantime, and as I was trying to work it in, I noticed that it was only stiff sometimes - when it was perfectly straight, it had no problem moving. So apparently the new joint just has a lower tolerance for sideways flex.
c8e9f5060c31dd146ad96874f79cbc9ec81d6587d2ee09a1a66e48f699d77a67
['8712586bc1834b60a2c2380fed67a8ec']
Yah it's misfiring 50 misfires in the first 5 min but after that Everytime it will run just fine I can check the codes it has when I'm out driving it and it only shows one code and that's fuel trim is lean. It runs perfect no hesitation no stamor it's perfect.
18e3a49b618222c71d233bcfa3ece8ff8a774c16cefa5afd2dfcc760491a7aa4
['872f33734dc842bab2d5fffbf6b4bad4']
I have this query running on a postgres 11.2 db: SELECT relname FROM pg_stat_user_tables WHERE n_mod_since_analyze=0 AND relname LIKE '%' AND relname NOT IN (SELECT relname FROM pg_class WHERE array_length(reloptions,1)>0); That returns a list of tables I need to disable autovacuum for. I'm trying to come up wit...
177ea267762d56d5bed0a1469046fb850649bad932f03d51446461ea8a2fb314
['872f33734dc842bab2d5fffbf6b4bad4']
I ran into this issue as well and found this post. Ultimately none of these answers solved my problem, instead I had to put in a rewrite rule to strip out the location /rt as the backend my developers made was not expecting any additional paths: ┌─(william@wkstn18)──(Thu, 05 Nov 20)─┐ └─(~)──(16:13)─>wscat -c ws://Webs...
6a070ee58237d5124e4fc60827e6023882a07833326f248fdc56f5e8d16be85a
['8733a04e2e7e41b58b8d595b00078e18']
I have to load the incremental load to my base table (say table_stg) everyday once. I get the snapshot of data everyday from various sources in xml format. The id column is supposed to be unique but since data is coming from different sources, there is a chance of duplicate data. day1: table_stg id,col2,col3,ts,col4 1,...
60296e7289af2d105663765f9baa5ff4fa1e0d71bd0e8a0662743bc87394c0b4
['8733a04e2e7e41b58b8d595b00078e18']
I am new to Java and trying to learn by myself. I wrote the below code and I was wondering why the output is not as I expect. Below is the code I have written: public class Roughwork { public static int classVar = 25; public void getValue(int a){ classVar = a; System.out.println(classVar); ...
5f8c2ebb844ff6014d61d8fe9a87bd515c173f89dbdf10a2f28896381560858a
['873786a5792e4f0ab3d4a2d4da4398c1']
I have applied the JSON-LD structured data for Product schema. I have just checked that a few fields are required by Google Guidelines. ( https://share.getcloudapp.com/7Ku09XQQ ) Will it be accepted by Google? Or will there be any penalty or any issue with such errors/warnings/recommended fields?
c8c3462b5bb0ed407f64b14f29078fdc3f4022b1416fa7216f62f1a1ce628ee2
['873786a5792e4f0ab3d4a2d4da4398c1']
Is it possible to share/pass the data between different domains inside the browser? Note: I can have a code control on all the data sharing domains. I can not predict how many domains can be opened inside the browser to share the data. I have tried a solution with Window.postMessage() but it requires destination si...
5e1307699509352270b52c3fa3694d261c25bb910dfbf9fde270069bca144cc3
['87385f65744a4f55a5dc0ce199f59448']
Iam working on a webshop thats going to display the cart before the checkout. like now it is the checkout before the cart. I cant get this to work. I got a problem that the plugin always shows on the top of the content. i fixed this a wihle ago. Now i updated the plugin and tryed same thing agien as you can read at the...
c6a1aeaef281a52a136fb6ba88c3dd8f7552695862e3b1d08f7b64a343088c28
['87385f65744a4f55a5dc0ce199f59448']
My php skills is very low. I need some help this this function. What it should do: When a order is marked as "failed" it should redirect to the woocommerce cart with an error message. But problem is that this code redirect ALL status to the cart with the error message (even if payment is approved). add_action( 'woo...
a7f5c8da885db327a6a97c836e30e02cc167ce5423134ff154376d2b3c1d30bb
['873db8bf85bf4472b737e3c23ee8861f']
Well, we're trying to understand how Wordpress is delivering this information, and how we need to adjust Wordpress to control it - after all, the content is managed and delivered by Wordpress? It's a gray area, but the answer needs to be related specifically to Wordpress and it's inherent controls for delivering conte...
96444a0ede547e518a5fa1a94b749cf809abac06e8c2d27715d901caa7e65e26
['873db8bf85bf4472b737e3c23ee8861f']
I have a Postfix SMTP server that sends transactional emails from a web service. These messages use VERP for the return path, so bounces go back to an address like this: <EMAIL_ADDRESS> This postfix server running on e.mydomain.com is used exclusively to send email, there are no local mailboxes, POP or IMAP access, a...
a391001e56840ae9f347ee8ba2c10b6d6c7e91f5cc4e761c31fdffe917d4163a
['874b46b74f9946f2a22a3fdc1eff5c9a']
I am trying to categorize the blog content using Topic Modeling. Using LDA transformation, I couldn't find the correlation b/w topics. Say, cricket is a sub topic of Sports topic. However, I come to know that it could be achieved using HLDA. Could some one help me how to implement the HLDA transformation in python gens...
522acebb944c70e020917d77b6433538cbbed2e2cef3ae04b77e2d20b0fd5d5a
['874b46b74f9946f2a22a3fdc1eff5c9a']
You need to set the CURLOPT_USERAGENT to make it work! Following code will work. <?php function curlRequest($url){ $curl = curl_init(); $time = microtime(true); curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 5); curl_setopt($curl, CURLOPT_USERAGENT,'Mozilla/5.0 (compatible; Windows; U; Windows NT 5.1; e...
1ede0ba9d70191f62f160ad5aa52b79a683bf154223b480c02497a84d8a76c2a
['874b592067214c629c4bced005ad5388']
Hello I am relatively new to appium. The problem i am facing here is little strange. I am unable to tap on Get started button, but while manually i can tap on the button. Following are the details of appium inspector content-desc: type: android.widget.RelativeLayout text: index: 0 enabled: true location: {0, 0} size...
5eb39062970bc07a076f95221e6c13f7d57b520cd682d2f19ca41ae1acbd064e
['874b592067214c629c4bced005ad5388']
I had successfully installed nltk from this site. And just to validate i am able to import it from the terminal. But when i execute my python script from the Spyder it gives me following error in Spyders terminal File "/Prateek/Python/RC_ISSUES/algorithm_RC.py", line 9, in <module> import nltk ImportError: No module n...
fa2614d40643d809a11b6b2faa840a408794136e5f84f2935c325eb5d4740cd8
['874df15a40304c43b8ac5f406a8f7fa3']
First a note of clarification: the UK Consulate in Chicago, a Premium Application Centre, does not accept Standard or Priority Visa applicants. Such applications are begun online, fees paid, and biometrics done at at US Department of Homeland Security application support center. Only then is the application sent to th...
e42d96f9f16701f2e6300a76c55d6a27a80e2b16ac53626cb4241869a3e2427f
['874df15a40304c43b8ac5f406a8f7fa3']
You're expected to include evidence of accommodations for your entire trip, so the easiest resolution would be for your friend to have your name added to the reservations. If that is not possible, you might follow the guidance in its VFS Global checklist (although Italy is not part of your itinerary): Proof of accommo...
d6c212ca1581be57739d55470a3fe754a4fe338d79210071b47ad5c478f76a20
['8768581e8a9142efa0d541b7a7db27bd']
I am writing a Login page using MU with wxPython. (I am very new to Python) The following is what I want to do: Have a Login frame which allows user to enter username and password, after that the user click the login button The Login frame will then be destroyed so that the main body of the program can get the Usernam...
abd2ca6e769d561b062c6a8e8f63caca823deafac351262cd0737677633e8988
['8768581e8a9142efa0d541b7a7db27bd']
After trying, I discovered that, because I use wx.Timer to destroy the Loading frame after 0.5 second, but after the Loading frame has been destroyed, I haven't stop the wx.Timer, so the Timer keep running and destroy the Loading frame for every 0.5 second. Therefore, when the Timer destroyed the Loading frame second t...
eed0f9b59e0df5d3511de5d30fcdcb53818555587728e75f5c6a2deb5503c6a2
['876e4051f58848c79eed46b9a2f571fc']
Specific solution: You can always change the existing html with a userscript. To activate userscripts you need an addon like GreaseMonkey or Tampermonkey. // ==UserScript== // @name Fix direct.com login issue // @namespace http://tampermonkey.net/ // @version 0.1 // @description Find all elements with ...
9368d7fd87ece9bee71921edbd7cb4c2ad7a01435dcbf6e43bc1ccabd847ff63
['876e4051f58848c79eed46b9a2f571fc']
<PERSON> This makes sense. But I also don't want all my other tasks to run as sudo (by running the playbook as sudo). Only those that have `become: yes`. So IIUC my options to 1. Change `src` file permissions or ownership with some `become: yes` task before the `copy` task (and restore original state again). 2. Specify...
c06d96e86baa94b737cc1516c931a831785260b8bc99f021e5d7ec2afd7e717a
['877a660beb6940ecb5dea3ee24a377a5']
I am trying to read the audio data using MIC, and I am able to successfully read and save it to a file (wav format) returned by the AudioRecord class. Now the real problem is that the file I am creating is too big. say Audio with duration of 5 minutes is taking upto 25MB. Can anyone suggest me how to reduce the size....
5e25bcbe180867a64e38d5751deaaa7df2aac030fa68f4920552c16bfed90cbc
['877a660beb6940ecb5dea3ee24a377a5']
Let say I have 4 seekbars and there values are initially set to 25 each. If I change the value of any one seekbar, then this change should reflect on the other 3 seekbars as well, like if I increase the value then all the other seekbars should decrease and vice versa.. I know this requires a mathematical formula which...
5532e80f2a9eef3a6277d52b0da50ec9217afd3d9011613afa1a624ce292cd93
['877d29e9b50248e2befa5256dd3243dc']
I am developing microservices stack using spring cloud and database is mysql. for easily explain lets take one service and one mysql database. my questions what is the best way to deploy mysql database to production for container based enviorment. I can use mysql docker and mount host local file system to docker using...
34c3bcbbbce3ce8a37fba69ad3237c3296c5c3b88b5a5d60a8d0305cbd077690
['877d29e9b50248e2befa5256dd3243dc']
my problem is this. ill try to make it simple. I am using spring data jpa +spring boot (hibernate config) with mysql. I have a class (entity) like this. public class A { @EmbeddedId Aid id; @OneToMany(fetch = FetchType.EAGER, mappedBy = "a") @OrderBy("order ASC") @MapKey(name = "b.bid") Map<String, B> ...
94c265e2ca5b3bf51ae6d50e40aaf634b0b68292a82e6086591bff247e4d5e08
['878253852264473892fcae425e0c78b9']
Not a real solution but something you can look for: You can do: for item in user_account.drafts.all().order_by('subject'): print(item) #Copy Text into Notepad++ and search for user1/ <EMAIL_ADDRESS> item.sender = '<EMAIL_ADDRESS>' item.account = '<EMAIL_ADDRESS>' user_account.drafts.save(update_fields=[...
4eb83ea0fe37665ac7e5363ee751b8fc619c2d1d6a5926ddd35cf943ba154112
['878253852264473892fcae425e0c78b9']
I'm using exchangelib in a Windows/Exchangeserver environment, this is my login code: import getpass from exchangelib import Configuration from exchangelib import Credentials, Account def login(): email = '<EMAIL_ADDRESS>' passwd = getpass.getpass(prompt='Password: ') user_credentials = Credentials(email, ...
7f9665a0c72593e282ea2123613e091c58ce2c8df043ff4e7849822963c080ae
['879097a8946e48a7a971e4ce976067e4']
after resizing the user avatar with intervention image ,i try to store it in the octobercms database like this code: if (Input<IP_ADDRESS>hasFile('avatar')) { $file= Input<IP_ADDRESS>file('avatar'); $filenamewithextension = $file->getClientOriginalName(); //get filename without extension ...
4cf1213c5554f124148f114417ccbc851125d29cff4589fc953826ae0f4d87e8
['879097a8946e48a7a971e4ce976067e4']
I have a form, and I would like it when I submit it, that it redirects me in another page, knowing that the redirection path must be dynamic, it means that I use a javascript function that takes the user's choice and return a string the ajax handler data-request-redirect only accept a string and execute not javascript...
575facd83d2e327f1f2f49669d1b733947b2676cff1d1c5e4c30260792efd0dd
['8796afdf8f214faf82ec7447808f2297']
I created a Rails API (using the rails-api gem) to be consumed by my Ember app (using ember-cli). My problem is that the associations I have set in my API don't seem to yield exactly what my Ember app is looking for, and I don't have an idea about what needs to be changed or done differently. Below, describes where I ...
e2dcf3eb6a21922849908f614052ae114682565534673513211b882a4172dcdb
['8796afdf8f214faf82ec7447808f2297']
I have an array of "event" objects that contain a "startDate" property. I've written a custom filter, "occursToday", that is expected to return an array of events that have a startDate property matching the "today" variable as defined in the filter function. The code below is my attempt to test my custom filter. No eve...
216b30d401b19dfd6dcda397de8f4d9b90497a93e8a57d6b50c816f8ad58dd43
['87a48645ef324c2f9f53849e6030cea0']
There is an English term illustrating the situation where the police conspired to collect fines by intentionally capturing on a security camera speeding vehicles passing through an area that few people know is readily subject to speeding if not paid extra attention to. Can someone please help me out here? Any contribu...
c96ab051853ebb3b6b81238d5ae858ac89fee21f2ae49f0e068c3741829ec5e3
['87a48645ef324c2f9f53849e6030cea0']
Adding \newgeometry{top=1in} before and \newgeometry{top=2in} after is giving me two issues. I get a blank page before the table of contents and another after. Also the first page of the TOC only has a 1in margin where I want the first page to have 2in and the subsequent pages to have 1in. <PERSON>
df57f7624adc7c976465267c206c8f3433ccd220c3cf902601ad73d9d664985b
['87b31cb8618d422f967789634d636aca']
There are two ways to do it: Picture[] pictures = new Picture[5]; //This will make an array of 5 pictures pictures[0] = pictureAdded; You can also use a pre-made class in Java - ArrayList. This way you don't have to worry about array size: ArrayList<Picture> pictures = new ArrayList<Picture>(); pictures.add(new Pictur...
d5957ba0f4d8fd256bdc814c68043ce6fa4a41f16b6aecd42d0cb5bb056a3989
['87b31cb8618d422f967789634d636aca']
I'm working on a native activity app for Android 2.3.3. I've copied the code from the code samples, I have include paths set, but Eclipse (Indigo) still can't find this constant. EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); //Type 'EGL_DEFAULT_DISPLAY' could not be resolved However the compiler shows no er...
3ba0af23802000ed26e22af4d29551fa6738162c4324150cabd57013ecaca05b
['87dd93b7120a4f979778287bebfe6f1e']
string body = "{\n" + " \"clientReferenceInformation\": {\n" + " \"code\": \"TC50171_3\"\n" + " },\n" + " \"processingInformation\": {\n" + " \"commerceIndicator\": \"internet\"\n" + " },\n" + " \"...
0321d3eaf362aa3146b145a21061463620cc352773961737d949cf384824ccfb
['87dd93b7120a4f979778287bebfe6f1e']
I have gotten the geoJson to work with d3.js, dc.js and crossfiler. var width = 300; var height = 400; var zaMapData = []; //geoChoroplethChart var zaChart = dc.geoChoroplethChart("#map"); d3.json("https://s3-us-west-2.amazonaws.com/s.cdpn.io/<PHONE_NUMBER>/layer1.json", function(json) { var zaMap = JSON.stri...
a445d91694740b248b070036514c158ce4491c0930bda5481f4911f1593c93ad
['87e1427dff334c4785fb4de136408015']
@R.. If the device is faulty and creates a short, it doesn't matter how much current it's designed to draw, it only matters how much current is required to trip the fuse. If you plug it into a socket on a 16 A circuit, you're going to need more than 16 A to trip the fuse.
7a04b7b5da1e5277a2a30cdbcc5ce1e1fc939f3171944ffc65b0cf3f4e3d4d69
['87e1427dff334c4785fb4de136408015']
I have a small linux server. I have data on several HFS+ drives that I'd like to consolidate to another HFS+ drive. The drives will be connected to the server via a USB HDD dock. I'm running Ubuntu 12.10 on the server. If I copy files from HFS+ to HFS+ with linux in the middle, will resource forks be preserved? P.S. I'...
b606d027c9409e285798c1b4d576737ac32ca62f4b12ef6675d10673360ae20a
['87e4bc7a800e45378ee3f3515799d9af']
If you're in git bash, just type PATH="path to php goes here" It might be useful to copy the existing path and modify it, so you don't lose other useful paths. Type in export to see the path. The new path is only valid for the session.
ccea902e1b2a676eddf669842cc37b59e902a0403da08d1a802301a690d61a86
['87e4bc7a800e45378ee3f3515799d9af']
i was unable to find a way to access the artifact remotely before the pipeline had completed. <PERSON>. i have a workaround though - i moved the deploy stage to a separate pipeline. so the first pipeline just executes the build (generating the artifacts) and then triggers the second pipeline. the second pipeline is the...
04421cad932cf737f889e131262238ca4cafdedebadedf6742abf2bfa4226aee
['87ed6f26c6794b7bb2dfff182587b388']
Use consent https://consent.live.com/Delegation.aspx? ps = Passport service you want (Contacts.update|Contacts.index....) ru = Return URL pl = Policy url app = your appid+timestamp+signature If you link your users to this, Microsoft Live Service will authenticate your app then send a token as a base64 encrypted parame...
81a8b84e9b1c679d80346711a92bd5a616653a60148093dc072f816e10f8af30
['87ed6f26c6794b7bb2dfff182587b388']
If you need to grep ALL the files multiple times (as you said, running a script) I would suggest looking into ram disks, copy all files there and then grep the files the multiple times, this will speed up your search by a factor of at least 100x. You just need enough ram. Else, you should look into indexing the files, ...
a13a8d6a8ae81fe1ef0748355bd91a264829457ba5bd0179f0bbba0435b7b348
['87f1e294864e474cb803839e94a22cf8']
My default Google Calendar timezone is "(GMT-05:00) Eastern Time". The event time displays correctly on the calendar and in the initial pop-up window, but if a viewer who is NOT logged in to Google Calendar clicks the "more details>>" link in the pop-up window, the next screen displays the time in "GMT (no daylight sav...
c453fc28b2b939278b8d0fecc1d89a1310f10bf8f8119140006fd1964d67afa7
['87f1e294864e474cb803839e94a22cf8']
I have already been using font-awesome 3.2.1 in my project. Now I wish to upgrade to font-awesome 4.2. Could you please guide me how to start with? I add font-awesome 4.2 css file to my project and now its seems to be like am not able to view any fonts in my project. Any idea on what should I have to do to get 4.2 vers...
42de928e468def9ab0be61f96e505ee55e602719d9e360d902f538cb66a73245
['87f75d28d9dc4b4ea247f2532a6313ea']
may i know how can fit the image into the designed border? below are the code that i've done. <Border Grid.Row="1" BorderThickness="1" BorderBrush="LightGreen" Margin="20" CornerRadius="30"> <Border.Background> <LinearGradientBrush EndPoint="0.504,1.5" StartPoint="0.504,0.03"> ...
badbd9ba1957ca27b41040741b0e3bbcfe91840bb8f2096c6066891f0713d906
['87f75d28d9dc4b4ea247f2532a6313ea']
perhaps you can try these solutions. Hope it helps. <jsp:include> tag inside <form> tag <form name="frm" method="POST" action="<%=servletURL%>/page"> <jsp:include page="<%=header%>" flush="true"> <jsp:param name="id" value="1234"/> </jsp:include> </form> or CSS control <form style="margin:0px;" name="frm...
0e53d9db983ff617608e6dae28d54dc66a8117881587c79b421b9085764286c2
['87fc19640e934c6998b06ddbc603102e']
enum userType{ student, teacher; } class MyData { userType type; //other data } // now here i assume that "json" string contains your pre-filter data Gson gson = new Gson() MyData data = gson.fromJson(json, MyData.class); if (data.type==userType.teacher){ String json = jsonParser.make...
cf82dbeb8bf59136f8d45aca118e82a47d73f340e5d6b6cb5f604393ad9cb2a3
['87fc19640e934c6998b06ddbc603102e']
Android comes with the apache commons http library included. Setting up a https post request is quite easy: HttpPost post = new HttpPost("https://yourdomain.com/yourskript.xyz"); List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(2); nameValuePairs.add(new BasicNameValuePair("postValue1", "my Value")); n...
2cda7fe7c795957d4f681b9398432fde2e8ca64f623ddce26fb1cc5f8116417d
['87fffc753a134d2d81e5667f1496c1cb']
I recently started using jruby. In normal ruby's irb, I get vi readline support due to the .editrc file .editrc file bind -v But jruby doesn't seem to use that file, and doesn't get the vi readline from the .inuptrc file either. Is there a way to get vi readline support in jirb?
8498b56ec1239d38c645fe200dedfa8f555f7d2a30db75f911b4d0a425c5bd79
['87fffc753a134d2d81e5667f1496c1cb']
I want to use the ruby's -F option to define a field separator (tab, for instance). I have tried various expressions like -F:\t and -F='\t' etc. but can't seem to get the correct syntax. Does anyone know the correct syntax? Can you please show me? Thanks in advance.
70a6df2c00e95ce19e15227ad5d07f8d240db9436a63b3a799e6813eac905487
['881bc7ebeca5414ca40cae801a6ce121']
<PERSON> Thank you for the clarification and the notes! I have only had the time to skim the document so far and I noticed many terms that we have not been introduced to yet. Could you let me know where exactly the proof of this is so I can focus my efforts on understanding that part? Sorry for the trouble.
cfc0f83934b7b8bdf4c945f0186307f1e3a63b5f8de0f5f8a61adb5ae6239ec6
['881bc7ebeca5414ca40cae801a6ce121']
I am asked to describe the defining representation of $\mathfrak{sp}_4$ in terms of highest weights, and then I am asked to repeat this process for the defining and adjoint representations of $\mathfrak{so}_5$ To start with, I noted that the subalgebra of diagonal matrices in $\mathfrak{sp}_4$ gave a Cartan Subalgebra ...
b6506c891e01063e03ff610b307231e7b5c4f224cef255cad74afa5d5005eb8c
['88226a235bb144f5a58142aab2712c10']
There is an error in your if statement, where you are assigning a value, not ccomparing it (= vs == or ===). For the purpose of your function, I don't think you need to know the key, because you're already in the array. eg. function championInfo($i, $users){ foreach($users['data'] as $index => $user){ if(...
117744038dfb3b07a7c8bf75665e169281d216e5439eeba33ed0cb454367bafe
['88226a235bb144f5a58142aab2712c10']
This seemed to work: function extractArray(array $source, array &$destination, $originalIndex) { foreach($source as $index => $value) { if(is_array($value)) extractArray($value, $destination, $index); else $destination[$originalIndex][$index] = $value; } } $test = array(...
d0d622381226e87ffbef8cba7d86f77d5ed73d28edd6e5ce45422ab841c4f736
['88335ab5c6de43a19db648f6d2f4ef3f']
Maybe it can be of help to anyone landing here : I just experienced this same issue, and in my case it was that I had a (composite) unique constraint set on the foreign key column BEFORE the foreign key constraint. I resolved the issue by having the "unique" statement placed AFTER the "foreign" statement. Works: $table...
f5bbb3d1ea1727c9fcba73fd3f5e99c72024906a60b088898921ce107b0ab26f
['88335ab5c6de43a19db648f6d2f4ef3f']
In a nutshell, as <PERSON> as mentionned, the problem very few resources on the internet touch on is the fact that your apache configuration must contain an AllowOverride FileInfo directive for wordpress rewrites to work without /index.php/. Since Apache 2.4, AllowOverride default setting is "None", which is often a ro...
b14ff54f308e1af6be465af3841b876458e3c84aca22bda398151563a97db804
['8834c42e0d1442e3aef14419fc6450e1']
I'm trying to create a form handling 4 models at once with 2 nested pairs... Got an error: You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil. Is there someone to guide me with this one? For your info I'm using rails 3.0. and I need to...
7370ceeb788e8cca5dc2abb4b9f345549e64e51e25d771570f3d44fe8bc07d7c
['8834c42e0d1442e3aef14419fc6450e1']
I'm locked with a stupid issue in Rails 3... In fact, I'm building the css to design my application and I've a div called banner in which I want to integrate a logo (that is a png file). So I'm working on the views/layouts/application.html.erb. I've put the image.png into the public/images folder. In my css I use: back...
29b3fb9c5892e16ed6f82acf20166ffe5464f9691c28439397f1f4d2cbb6f6b1
['8835f42693724a83a9d13e703b98a614']
I am trying to make a website which tracks links deployed on other sites by different users of my site, Kind of like: I dont know where to start, I just need someone to point me in right direction. I see two ways with my little knowlage; 1) making a unique link like mywebsite/?id=userid&linkid=linkid for each user, g...
f5d7d743ef407cc8937954a6b1c49435954f857f26cbaf497e877675cd8abe59
['8835f42693724a83a9d13e703b98a614']
I am new to python and trying to make a Tkinter label which would change its image at run time. Here is my code: from Tkinter import * from PIL import ImageTk, Image import os import time #time.sleep(1) class projector: def __init__(self): self.root = Tk() self.frame = Frame(self.root) self.label = L...
57783161a9cee15d98077927e71ea25efedeb2c49bb0772bcd0cc5315321a83e
['883a421302fd4c499d74125818f0f336']
<PERSON> is right, but just so you know, it doesn't make sense to filter on an id unless you use info.object.filet(id__in=a) and a is a list of some sort. If you filter on a single id, you should be using objects.get(**kwargs) first of all, and it will return that specific Info instance instead of a QuerySet.
206f4b0162b724e69299ceffc6c39df6aa3c0d7a60d0af596d8e6b1970aae783
['883a421302fd4c499d74125818f0f336']
Whoa whoa whoa. You should never ever have to put your project name in any of your app code. You should be able to reuse app code across multiple projects with no changes. Pinax does this really well and I highly recommend checking it out for a lot of django best practices. The worst thing you could do here is to hard ...
9196a31e53cefcee54614338085ce34d17d0ade511dd0d19803481dacce2671f
['88494bc6b02a41b7b27abf65d89ce131']
I'm making a game using Ren'py (based on python) and most errors aren't shown, especially the errors in python code. Is there a possibility to check for possible errors at compile time and how do I get where some errors occur? If there are errors the game normally doesn't run or breaks at the a errors appearance withou...
43a016c6e2af71a7be24033355338216eec01f7109ff6ed390c1488016af082f
['88494bc6b02a41b7b27abf65d89ce131']
I write some vertex data inside a shader to SSBO. Then I want to use the data written to the SSBO as VBOs. These will be used for the next draw call. How can this be done? Here is, how I do it now, but it still segfaults: int new_vertex_count = …; int new_index_count = …; int* new_indices = …; GLuint ssbo[3]; glGenBuf...
5c223aa3918ccc15e1d7ce5a54642e42a1846eecb30c6afe71f887d8ed0b3f65
['8860bb672e264a0e8d86449924935d9e']
I figured out the issue, It appears that angular doesn't work when you use the design view with ionic. I ended up creating a new blank project with app designer disabled and did everything from scratch and it works. If anyone else is having this issue with app designer let me know.
976e00a3c774d4ad0595d171a3c7a81b9b0d78ce27d21445ad392d1c8330497a
['8860bb672e264a0e8d86449924935d9e']
Here is the solution written in c++ #include <opencv2\opencv.hpp> #include <iostream> #include <vector> #include <cmath> using namespace cv; using namespace std; int main(int argc, char** argv) { // Mat Declarations // Mat img = imread("white.jpg"); // Mat src = imread("Rainbro.png"); Mat src = imread("multi.jpg")...
bb9d52729a5f8737b58218dcbf42dd977555fd5adbc6ade8c451ce8103adee5a
['8863a2f29f3a442d97cda6a441124bd9']
There no straight solution how to do this, but some tricks can be used: Use interactive console, follow same steps as in scenario, use assertions which fail - selenium stay open, so you can debug and evaluate what happens. Use trick with wait. In cest file add "__fail" method where place "wait(300)" (for 5 min). Than ...
afdec090c29c952ac63c612ea2cce3fd036661d78f9c32f28270dc919c93479d
['8863a2f29f3a442d97cda6a441124bd9']
I think the best way for you will be usage of "grabMultiple" ( PhpBrowser) $p = $I->grabMultiple('.article-body p'); codecept_debug($p); >> [ 0 => "P1 text", 1 => "P2 Text", 2 => "P3 Text" ] will give you back array of matched elements, so you can test how much of th...
2a5727e7b3f6f43a6675364a9aa9fc6b850825df3510227cde566ec64e536af4
['886cfd985b6f4ccaac791682329c6d47']
Is there any way to clear "Find what" (Ctrl+F) search parameter when after a search using "Find and Replace" on Excel? I realized it is not possigble to use Ctrl+A to select all the text inside the "Find what" box, so every time I need to clear this parameter I need to manually delete each character. The best solution...
0cc8ca622ca7df797c929661289f7c95d2fd5620ac03f4675d0d5612ab33c16f
['886cfd985b6f4ccaac791682329c6d47']
For batch image resizing I’ve looked at many packages and finally found one with a usable interface – converseen. Once you discover that the important settings are somewhat hidden on the scrollable left pane, all is well. Not sure if this meets all of the OPs use cases, but you may not have to look at the quirky UIs of...
08c6f15fb12b1e2897eefc069facacd44bc7eebf4b4f5af7449978d452b1d0e9
['8870c1df81844941866d52283a81a9c4']
Note that the issue on which the person is undecided has to be the truth/falsity of some proposition. So that example only "works" to the extent the reader understands you to be talking about the issue of whether "one should [or ethically can] eat meat". If the speaker was instead talking about their own eating, it wou...
4262366f800d3bd43e30a8751b5a4a0f9e4e9f9b3a1d66f3f971176d7566e6ce
['8870c1df81844941866d52283a81a9c4']
Ah Thx! looks better, but now i see 2 spikes (0,20) and at (-20,0) where they spike high up to 8000? The actual output for both is actually 20. Strange. The flat sheet on the bottom makes sense since those values all equate to ~1.41 level. So are all the imaginary parts not shown at all then? Again: I also like to dis...
fb5ea8eff952a9d24262c2cf4096a4641fbaf17317c3dd8b1d5dcde3932ebd9a
['8877c5ac01ea44709ae47356a8932251']
As already pointed out by <PERSON>, CUDA compiler does not generate proper assembly for infinite loops. And of course there are certain situations when it's a perfect solution, e.g. running a background service kernel, which receives updates from host, pushed over host-mapped memory. One workaround, which works as of C...
0b05b9f84d4ce3cfecd7c8fdf23419484702925125bf8d9ff4a03dff311f2359
['8877c5ac01ea44709ae47356a8932251']
CoreMediaIO framework has two backend plugins: VDC (for USB-based cameras), and AppleCamera - for Apple's know-how ISP over pcie camera sensors. The VDC camera reports the current exposure value as expected, while AppleCamera always returns 0.0 for the current exposure. I've traced this phenomena in AppleCamera down to...
1afde11fa1a58970fb46de2b0217422a9e640ac67ff9383abd8b2dd54b34c602
['8883d5eaf3aa478d8b96983c50d7361f']
you need to just select sticky post option form your post. Then automatically work your scenario. Example: if you have selected one sticky post and you have set post per page 4 then wp_query will fetch the sticky post first and then show the other 3 posts. if you have not selected sticky post and you have set post p...
bb0371f6b62ea4c137c4f6efd56d3a41c0a904917c074158e5192ad4412b0608
['8883d5eaf3aa478d8b96983c50d7361f']
There are many ways to change the greyed out URL. Here I have shared all 3 methods for the same. 1) Change WordPress Site URLs from Admin Area This is the easiest method to change the greyed out URL. Simply login to your WordPress website and go to Settings » General page. From here you can change WordPress site URLs u...