text
stringlengths
15
59.8k
meta
dict
Q: Java serialization, Kryo and the object graph Lets say I have an array arr of objects of type A in memory, each of which has a reference field pointing to the same object B. Illustration: A_1 A_2 A_3 ... A_N | | | | | | V | \--->\--> B <-----/ Note that the reference field in every obje...
{ "language": "en", "url": "https://stackoverflow.com/questions/12446847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Why does atom's node version differ from apm's node version? I feel like this is causing my atom packages (terminal-plus) node-gyp problems (version mismatch expected xx, got xx) $ atom -v Atom : 1.11.0 Electron: 0.37.8 Chrome : 49.0.2623.75 Node : 5.10.0 $ apm -v apm 1.12.5 npm 3.10.5 node 4.4.5 python 2....
{ "language": "en", "url": "https://stackoverflow.com/questions/39987211", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Append Next Line to Current Line I am struggling to find a way to append the next line to the current line if the timestamp matches. Here is my code so far: open(FH, "error_log:); @data = <FH> foreach $line (@data) { if ( ($line =~ /notice/)) { $line =~ s/ /,/g; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/11299004", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PortAudio: short noise at start and end of sound I have piano-like application, and when I'm pressing piano key, it plays a sound. In my app I wrote my own sine wave generator. App is wrote in Qt. I think that problem is with portAudio, but I can't find any solution for this. I've recorded for you how my problem sou...
{ "language": "en", "url": "https://stackoverflow.com/questions/47753325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel query latest record I've this query: I'm building a forum and I would like to show the latest message that has being posted. I'm doing that like this: return Forum::with(['users' => function($query){ $query->select('user.id', 'user.name', 'user.last_name') }]); forum model: /** * @return mixed ...
{ "language": "en", "url": "https://stackoverflow.com/questions/42078761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get warnings when using 4.x only APIs when the base SDK is 3.x While i'm careful, there have been a few times when i have used iOS 4.x apis by mistake that have caused odd behaviour on the older devices. Is there anyway to get the compiler to flag their usage so i'm alerted when i have done so. Many thanks as...
{ "language": "en", "url": "https://stackoverflow.com/questions/4015399", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP.Net core - blank response when returning a JObject property I am using ASP.Net core 5.0 and want to return IEnumerable of an object as Action method response. Here is the response class: public class TestResponse { public int Id { get; set; } public string Name { get; set; } public Newtonsoft.Json.Li...
{ "language": "en", "url": "https://stackoverflow.com/questions/72224818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: pysftp.Connection.get IOError: b35d5d74-ecb1-4a41-a9ed-5dde9b15960d Currently receiving an IOError: b35d5d74-ecb1-4a41-a9ed-5dde9b15960d when using sftp.Connection.get() I have the following code SFTP = pysftp.Connection( "xxx", username='xxx', password='xxx' ) filename = "foo" if SFTP.exists('data/{}'.f...
{ "language": "en", "url": "https://stackoverflow.com/questions/56779202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MSSQL mapping of uniqueidentifier Hibernate 5 My problem is that I have the following JPA entity: @Entity @Table(name = "keys") class Key( @Id @Column(name = "key_hash", length = 130, nullable = false) var keyHash: String, @Column(name = "external_id", nullable = true) var ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/71563109", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Tomcat 7 failed to start Web App and threw java.lang.RuntimeException: Illegal type for StackMapType: -89 I have a Web Apps that I built the jar file using JDK 1.7. I deployed it on Tomcat 7 and it threw this exception at start up. SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Faile...
{ "language": "en", "url": "https://stackoverflow.com/questions/21561080", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: (Instagram API) Get the list of instagram users this user is followed by I want to get the list of instagram users this user is followed by.(but not for myself, for another user). I do API call GET https://api.instagram.com/v1/users/4234233244/followed-by.json?access_token=ACCESS_TOKEN like this /v1/users/user_id/f...
{ "language": "en", "url": "https://stackoverflow.com/questions/36265861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Python and Multi-Dimensional Array I'm relatively new to python so this has me scratching my head, probably because there's some concept that I have completely wrong about how this works in python. Basically, my goal is to have a multi-dimensional array/list that will consist of 3 elements - a day number, an interva...
{ "language": "en", "url": "https://stackoverflow.com/questions/34794833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: using custom font in xaml I need to use custom font in xaml (c#). The font is not installed on the computer. If the font is in the application installed folder,then i can use it even if it is not installed (/Fonts/New12.ttf#New12) My problem is that the custom font is been created on the local computer and can't be...
{ "language": "en", "url": "https://stackoverflow.com/questions/12752397", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Filter GetRows on GoogleSheet Document via Logic Apps I am reading from a google sheet of 100,000+ records but I want to load only the records after a certain date. ( so applying filter ) . But I haven't been able to accomplish that as I do not know how to access the column name without using foreach. Here is what ...
{ "language": "en", "url": "https://stackoverflow.com/questions/69578162", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# convert ISO-8859-1 characters to entity number I can't seem to figure out how to convert ISO-8859-1 characters, such as é, to it's entity number being &#233;. I want to be able to take a string, such as: "Steel Décor" and have it converted to: "Steel D&#233;cor" A: Assuming you don't care about HTML-encoding cha...
{ "language": "en", "url": "https://stackoverflow.com/questions/4278371", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Multiplying arrays in python I've done some tests on multiplying matrices in python using the numpy library. array1 = np.random.rand(100,100,100,100) array2 = np.random.rand(100,100,100,100) array_new1 = np.reshape(array1, (100*100, 100*100)) array_new2 = np.reshape(array2, (100*100, 100*100)) time1 = time.time()...
{ "language": "en", "url": "https://stackoverflow.com/questions/39432152", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access ajax json input in restful webservice? I have an RESTful webservice that consumes a JSON response and I am making an ajax call to the web service as show below. When I am trying to invoke web service, I am getting 404 (Not Found) error. Please let me know what's the issue with my code. I searched for ...
{ "language": "en", "url": "https://stackoverflow.com/questions/30280133", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Installing mod_wsgi on WAMP server running on Windows 7 I downloaded mod_wsgi from the following location for apache 2.2 and python 2.7 (64bit). (I'm trying to get django to run on my computer). Whenever I add the following line: LoadModule wsgi_module modules/mod_wsgi.so Apache fails to start up. Can anyone tell m...
{ "language": "en", "url": "https://stackoverflow.com/questions/11602653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: How do I present a View Controller and dismiss all others? I have about 20 View Controllers, chained together with Modal and Push segues. Now, at the last View Controller I want to switch back again to the first View Controller, as if the user has restarted the app. Unfortunately when I do this with [UIViewControlle...
{ "language": "en", "url": "https://stackoverflow.com/questions/14581538", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to convert a date in Twig I'm trying to convert this: {{ "26/03/2013"|date("d/m/Y") }} in Twig but its is throwing the error Uncaught Exception: DateTime::__construct(): Failed to parse time string (26/03/2013) at position 0 (2): Unexpected character in /home/vagrant/Code/Phantom Website/vendor/twig/t...
{ "language": "en", "url": "https://stackoverflow.com/questions/42556782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I get my dictionary to begin a new line when writing code to a file from a program? Here is my code sample, and below is an example of what I'm trying to do. Thank you in advance for the help. cards = {} import sys n = 0 while True: n += .01 cards[n] = {'name': str(input('Please enter name: ')), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/65206181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Can we use builder to build Gtkapplication itself I am new with gtk. Can we use builder to build GtkApplication itself. using code like: <object class="GtkApplication"> A: Yes, but you'll need code that instantiates the GtkBuilder, gets the application object from it, and runs it. It's more usual to subclass GtkAp...
{ "language": "en", "url": "https://stackoverflow.com/questions/27015035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Branch.io link not showing image/thumb in Whatsapp I am creating a deep link using Branch.io in Android as explained in Branch docs, setting an image that I'd like to be the thumb for the link: BranchUniversalObject branchUniversalObject = new BranchUniversalObject() .setCanonicalIdentifier(IDENTIFIER) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/38961422", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Mono error reading valid XML: "Read by order only possible for encoded/bare format" When reading this valid XML with Mono's System.Xml.XmlReader I get the following error: System.InvalidOperationException: Read by order only possible for encoded/bare format at System.Xml.Serialization.ClassMap.GetElement (Int32 in...
{ "language": "en", "url": "https://stackoverflow.com/questions/11985337", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Parsing JSON in J2ME So, I've been trying for some time to parse this nested JSON string. If this was regular Java, or even php,I'm sure this would have been done long ago. Unfortunately I'm stuck with J2ME on this one. Through some searching I found that there exits a lone JSON parser. This I found through some dig...
{ "language": "en", "url": "https://stackoverflow.com/questions/11813146", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Local variable ternary assignment in slim I have a slim partial like so: - name = (defined?(name) ? name : 'tags') - id = (defined?(id) ? id : ('input-' + name)) - label = defined?(label) ? label : nil - placeholder = defined?(placeholder) ? placeholder : nil - className = defined?(className) ? className : nil - pre...
{ "language": "en", "url": "https://stackoverflow.com/questions/32572224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: PyQt5 Maya 2017 Having some trouble setting up PyQt5 with Maya 2017. I have successfully installed PyQt5 on my mac and I can write standalone applications, but when I try to import PyQt5 modules in the Maya Script Editor using (for example) from PyQt5 import QtWidgets I get the following error : Error: line 1: Impo...
{ "language": "en", "url": "https://stackoverflow.com/questions/41755976", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Android - How to configure proguard I use StartApp to add advertisement, anh use proguard. When I run apk file (after export application), It forces to close app. I try to use StartApp, not use proguard, the apk file has no error. Another way, I try to use proguard, not use StartApp, it also has no error. Please tel...
{ "language": "en", "url": "https://stackoverflow.com/questions/26523849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cannot start kibana-4.1.2 My environment CentOS 6.6 elasticsearch-2.0.0-rc1.rpm kibana-4.1.2-linux-x64 [root@node2 files]# sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: enforcing Policy version: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/33145382", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Decompress .Z files in apache nifi I have some files in .Z format on Linux system. I want to transfer uncompressed files to hdfs. But '''compresscontent''' processor not supports .Z format. Is there any way to do so in nifi. A: If your Linux system has the uncompress command, likely a script that runs gzip, then yo...
{ "language": "en", "url": "https://stackoverflow.com/questions/68635637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get new page in iText Its bit problmatic to go for new page with pdfContentByte.I'm using below code to put data after first page to next page but unfortunately iText is not generating new page. //step1 itextDocument = new com.itextpdf.text.Document(PageSize.A4, 50, 50, 30, 65); writer = PdfWriter.get...
{ "language": "en", "url": "https://stackoverflow.com/questions/27737501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Google Play Mobile Services - sign-in in multiple activities So i'm building a game and using Google Play Mobile Services Everything is working well IF the player is signed in and has an internet connection, else he's continuously presented with the option to login on each page navigation. My example: Activity A (m...
{ "language": "en", "url": "https://stackoverflow.com/questions/23313818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mongoose: Aggregate query in a nested array structure I'm getting a little issue with a Mongo DB query. I have a collection called "Answers" with the following structure { "_id": ObjectId("560acfcb904a29446a6d2617"), "path_id": ObjectId("560acae1904a29446a6d2610"), "step_id": "kids", "user_id": ObjectId("559...
{ "language": "en", "url": "https://stackoverflow.com/questions/32897511", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: HTML List step scrolling to top and bottom I have a vertical list in my HTML. There is a top arrow and bottom arrow near that list. When I click top arrow, I want this list to go up step by step and opposite for the bottom arrow. the following is my html and Angular code. <div class="verticalCarousel"> <a ng-click="...
{ "language": "en", "url": "https://stackoverflow.com/questions/37858874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable while using Rvest and Selenium to extract text specific text located in object from LinkedIn First of all, I'm only a beginner in R so my apologies if this sound like a dumb question. Basically, I want to scape the experience section in LinkedIn and extract the name of the position. As an example, I picked t...
{ "language": "en", "url": "https://stackoverflow.com/questions/73523138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python Selenium: Click Instagram next post button I'm creating an Instagram bot but cannot figure out how to navigate to the next post. Here is what I tried #Attempt 1 next_button = driver.find_element_by_class_name('wpO6b ') next_button.click() #Attempt 2 _next = driver.find_element_by_class_name('coreSpriteRigh...
{ "language": "en", "url": "https://stackoverflow.com/questions/70620829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hudson Release failure with error 'Unable to tag SCM' When giving release from hudson getting the below error mavenExecutionResult exceptions not empty org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.1:prepare (default-cli) on project pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/29211843", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Executing stored procedures in Parallel I have 35 stored procedures that I need to run in parallel so as to reduce the execution time. I came across concept of Agent jobs here. The link suggests using this piece of code to achieve this: CREATE PROCEDURE ExecuteSQL_ByAgentJob_usp( @SqlStatemet VARCHAR(...
{ "language": "en", "url": "https://stackoverflow.com/questions/29193805", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Excluding row from a MySQL select query based on the contents of another pivot table Given the following MySQL query... select users.id, group_concat(devices.id) as devicesIds, pois.id as poi_id, events.name as event from `users` left join `devices` on `users`.`id` = `devices`.`user_id` left join `poi_user` on...
{ "language": "en", "url": "https://stackoverflow.com/questions/49155097", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP programming , MySQL database i have the following SQL statement to inserts data from a table to another table but the number of the mother table is less than the child table, can anyone correct me, thanks for helping $res = mysql_query("SELECT Nid FROM admins WHERE Nid='$Nid'"); $row = mysql_fetch_row($res); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/25810764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: C# - convert DeviceUniqueId (string) to int I want to get a unique id in windows phone 8 . I used DeviceUniqueId with the following code : byte[] id = (byte[])Microsoft.Phone.Info.DeviceExtendedProperties.GetValue("DeviceUniqueId"); iden = BitConverter.ToString(id).Replace("-", string.Empty); now I want t...
{ "language": "en", "url": "https://stackoverflow.com/questions/23543715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to initialize 2D arraylist using 2D array? I have this array int[][] currGrid = {{1,1},{1,2},{2,2}}; And this array is static so I want to create 2D arraylist using the same elements. Is there any way to create the arraylist for same in a single line without using add in Java? A: It's unclear to me whether yo...
{ "language": "en", "url": "https://stackoverflow.com/questions/67547300", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: insert foreach x where not exists I have a fairly simple database consisting of three (relevant) tables: users, permissions, and user permissions. The basic premise is simple: when a user gets created, all the records in the permissions table are automatically added to the user_permissions table with a default valu...
{ "language": "en", "url": "https://stackoverflow.com/questions/11458006", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: "SQL Server doesn't exist or access denied" while importing Excel sheet into SQL Server using C# I want to import an Excel sheet into SQL Server using C#. This is my code: private void button1_Click_1(object sender, EventArgs e) { of1.Filter = "xls|*.xlsx"; if ((of1.ShowDialog()) == System.Windows.Forms.Dial...
{ "language": "en", "url": "https://stackoverflow.com/questions/43044630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: nested exception is java.lang.NoSuchMethodError: javax/persistence/Table.indexes()[Ljavax/persistence/Index; I am getting error nested exception is java.lang.NoSuchMethodError: javax/persistence/Table.indexes()[Ljavax/persistence/Index; my controller-servlet.xml file is <?xml version="1.0" encoding="UTF-8"?> <be...
{ "language": "en", "url": "https://stackoverflow.com/questions/52776824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: django session project cart I'm trying to display data that I put on a session for my shopping cart project that I'm developing, but here I can't recover the product whose code I passed as a parameter def index(request): mes_produits={'produits':[{'code':'2BG12','nom':'banane sucré','prix':1500}, {'code':'MLO...
{ "language": "en", "url": "https://stackoverflow.com/questions/73786083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: TFS release management, .net core rc2 deployment to on-premise servers New to Visual Studio Team Services, previously Visual Studio Online I have a couple .net core rc2 apps. Example 1: Solution contains 1 .net core MVC app, 1 Web Api app, Multiple dependent assemblies. I've got 3 on-premise servers (Dev, QA, Stagi...
{ "language": "en", "url": "https://stackoverflow.com/questions/38024845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PHP: Is it possible to get first two character from an array value? Is it possible to get / select first two character from an array value? for example: Array Array ( [0] => 1_name [1] => 0_sex [2] => 2_age } and I need to get the first two character from each value in array's elements. So I can get this as ...
{ "language": "en", "url": "https://stackoverflow.com/questions/41211866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Insightly API with filter I have created a cUrl to get a filtered list of contacts. Regardless of me passing the filter items I always get ALL of the contacts. Here is the curl: curl -v -H "Authorization: Basic <MY API KEY>" https://api.insight.ly/v2.1/contacts?filter=LAST_NAME='Jones' Any ideas? A: Use filter lik...
{ "language": "en", "url": "https://stackoverflow.com/questions/26915223", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Class reference setting itself to null somewhere in my code When im trying to call the functions in newGame(); I get a Nullpointerexception, which I have understood is my reference _c that has been set to null, but I cant figure out anywhere in my code that it sets it to null. Unless something is bugging I am missin...
{ "language": "en", "url": "https://stackoverflow.com/questions/25965169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: HTML & CSS - Issue with inline-block elements I've made a website where on the main div, multiple div's are displayed ( as inline-element's ) , those div's are containing an IMG and P element. Well, if I leave the P element ( or text without p tag ), everything is ok, but if I add text after the img, the corespondin...
{ "language": "en", "url": "https://stackoverflow.com/questions/12717633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to add proper spacing in my PSV file? I have a psv file for some config for my program and it looks really bad. When I save this config from kdb it removes all the white space and it looks like this: column1|column2|column3 somevalue1|somevalue2|somevalue3 somevalue4|somevalue5|somevalue6 and I want it to look...
{ "language": "en", "url": "https://stackoverflow.com/questions/57226467", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change Visual Studio editor drag and drop default action In Visual Studio Community 2022's editor is there any way to change the default action from * *select; drag & drop = move *select; ctrl + drag & drop = copy to * *select; drag & drop = copy *select; ctrl + drag & drop = move
{ "language": "en", "url": "https://stackoverflow.com/questions/72292376", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Avoid Storing Web.Config Connection String Passwords in TFS For example, and this is just an example, could I place something like a tag in the web.config where the connection string or parts of it would be, and then have the username and password replaced during the build release process when the build goes ...
{ "language": "en", "url": "https://stackoverflow.com/questions/20129606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google App Engine Error (The requested URL / was not found on this server) I am trying to create a simple web application that says Hello Udacity and upload it to Google App Engine, but I keep on getting a bunch of errors. Error message from Google App Engine: 11:57 PM Host: appengine.google.com Error parsing yaml ...
{ "language": "en", "url": "https://stackoverflow.com/questions/16783776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Three.js prevent Raycast through Gui I want to select objects with raycasting, but everytime i want to select something on the three.js gui, the Mousdownevent get triggered. How can i say something like "if the Gui is in front of the object, dont trigger" document.addEventListener( 'mousedown', onDocumentMouseDown, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/58202842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: You tube channels as Json I am trying to create an android app ..for that i want to know how to retrieve the particular youtube channels videos as a json Data ..?I mean I dont want to search the videos i want to display only for particular channel videos.. A: HI, Try this JSON Link http://gdata.youtube.com/feeds/ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/4291313", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I measure the length of an asyncio event loop? I have an application which is calling loop.run_forever() after scheduling some tasks. Those tasks will connect to web services and then schedule new tasks on the loop based on input from those services. I want to find a way of keeping track of the loop to check...
{ "language": "en", "url": "https://stackoverflow.com/questions/42032483", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Guessing random number game error Below Is My Code , I Cant figure out , how can i make the user to have only 4 tries then its say you lost , try again ? why cant this work ? i am doing something wrong in the for loop ? or should i use another loop public class JavaApplication11 { /** * @param args the c...
{ "language": "en", "url": "https://stackoverflow.com/questions/23884908", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pipeline vs MapReduce in MongoDB When do I use prefer MapReduce over Pipeline in MongoDB or vice versa? I feel most of the aggregation operations are suitable for pipeline. What kind of complexity of the problem or what use case should make me go for MapReduce. A: As a general rule of thumb: When you can do it with...
{ "language": "en", "url": "https://stackoverflow.com/questions/25474106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Citations in DT:datatable I am working on a bookdown project where we have large tables that also contain citations. We are outputting in both html and pdf. The problem is that I cannot find a way to make the citations render in the tables. For PDF output this latex workaround works: https://github.com/haozhu233/kab...
{ "language": "en", "url": "https://stackoverflow.com/questions/59556135", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: innerHTML failing to inject text into markup I am learning about jQuerys animate and am building a small game where the user has to catch the box by trying to click on it and for every click the score increments by 1 point which is displayed dynamically on screen inside a <P> element. The problem is that the score i...
{ "language": "en", "url": "https://stackoverflow.com/questions/33931045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Detect BitLocker programmatically from c# without admin From various threads I've cobbled together how to check for BitLocker programmatically like this: private void TestBitLockerMenuItem_Click(object sender, RoutedEventArgs e) { var path=new ManagementPath(@"\ROOT\CIMV2\Security\MicrosoftVolumeEncryption") ...
{ "language": "en", "url": "https://stackoverflow.com/questions/41308245", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Can i compute the "Look up names" property in Names-Field I have a Lotus Notes form with a field type "Names". On the control-tab of the field you can mark the "Look up names as each character is entered". Is there a way to compute this option based on a flag in the document? Thank you in advance! A: The only wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/24186881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to retrieve Json from Oracle DB in spring boot I store Json as Clob in Oracle with a stored procedure using JDBC Template. Now I want to retrieve it from DB while calling from controller. How can I solve it? Which data type use to retrieve it? Should I create a field for inner fields of json as well? Because now...
{ "language": "en", "url": "https://stackoverflow.com/questions/68299886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ggplotly() ignores legend and produce different plot with ggplot legend I try to use ggplotly to run ggplot graph, but the legend label not showing the same things. Why it is? Please help. Thanks And also any idea to ignore the warning of changing to numeric data, so it doesnt show too many warning when run it throu...
{ "language": "en", "url": "https://stackoverflow.com/questions/66239942", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Dropdown hides behind a div event with a much higher z-index I have a dropdown menu that hides behind a div even though I've set for it a much higher z-index here's a screenshot. Hidhing menu A: By the amount of information I can collect after seeing that screenshot I can say it is either 1 of the following 2 probl...
{ "language": "en", "url": "https://stackoverflow.com/questions/55921429", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to correctly map texture when doing perspective warping in glsl using opengl es 2.0 I'm trying to create a four corner perspective effect using vertex shader and fragment shader. I set the vertex position infos to draw a perspective like shape, then map my texture on it. But somehow the texture is not correctly ...
{ "language": "en", "url": "https://stackoverflow.com/questions/29847342", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Write Files or Folder to IPFS via the HTTP API I'm confused about the HTTP API docs of IPFS。next is part of it。 /api/v0/add Add a file or directory to IPFS. //but how to add a directory by golang? it look like so simple but no a example to finish it #cURL Example curl -X POST -F file=@myfile "http://127.0.0.1...
{ "language": "en", "url": "https://stackoverflow.com/questions/68727572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: whats the best way to faciliate collaboration within a software org we have an org of around 300 people and certain people are very good at sharing articles, tips, blogs, etc but it usually happens within sub teams (between 5-15 people). whats the best way to scale this up to facilitate a culture of collaboration a...
{ "language": "en", "url": "https://stackoverflow.com/questions/2219405", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Trying to cleanup a PS script I made I work for a k-12 district and I've been writing a script to add students in after school activities to different AD security groups so I can apply access card access specifically to their later schedules (currently all students have a standard time and we've just been leaving do...
{ "language": "en", "url": "https://stackoverflow.com/questions/74310371", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I want to store user entered vaule in some variable and use in another function or want to some opeartion on user input data const readline = require('readline').createInterface({ input: process.stdin, output: process.stdout, }) readline.question('Enter number 1', function (a) { readline.question('Enter numbe...
{ "language": "en", "url": "https://stackoverflow.com/questions/68710112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you you run a Twisted application via Python (instead of via Twisted)? I am working my way through learning Twisted, and have stumbled across something I'm not sure I'm terribly fond of - the "Twisted Command Prompt". I am fiddling around with Twisted on my Windows machine, and tried running the "Chat" examp...
{ "language": "en", "url": "https://stackoverflow.com/questions/1897939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "20" }
Q: Classic ASP: How to reload the page, preserve url parameters and add a new one? I'm working with a "Multi-Language Page" - And I want to change the language and preserve all url parameters in the page - because the page is using this values. ex: page.com/demo.asp?name=John&color=Blue If the user click on language an...
{ "language": "en", "url": "https://stackoverflow.com/questions/49397655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CheckBox Gridview Enable and Disable I have a gridview where the checkboxes start off disabled. I want to enable them when I click the edit button that's also in the gridview. Here's the markup <asp:GridView ID="grd_Bookcode" runat="server" DataSourceID="sqldatasource1" autogeneratecolumns="False" onrowcommand="g...
{ "language": "en", "url": "https://stackoverflow.com/questions/7364201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: ListView delete line with matching field i have a listview like the following: Name | Gender | Age --------------------- Name1 | XX | 23 Name2 | XY | 21 Name3 | XY | 25 Name4 | XX | 30 When the listview gets filled, it creates entries of a combobox like this: If Not ComboBox4.Items.Contains(gende...
{ "language": "en", "url": "https://stackoverflow.com/questions/41825728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make Telegram Instant View wait for page to render javascript? I want to create a template for my blog, which is written in React and is rendered on the client-side. I wonder, is there a way to hint the Telegram Instant View that I want it to fetch and execute client-side javascript and wait until it renders ...
{ "language": "en", "url": "https://stackoverflow.com/questions/48951864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: how can i get the parent elements id, that surrounds the php code, wtih php I'd like to check if the executed php code is within the div called "parent2". I am working on a joomla html override and i have to put one module on 2 different positions. If the module is inside of parent2 some different code should be e...
{ "language": "en", "url": "https://stackoverflow.com/questions/30053163", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Angular page can't open I'm beginner to Angular I'm try to make sample web site, I have some issue , I'm crated 2 pages , about.component.html and Contact.component.html But I can't open those pages. I want to know how to correctly set of link to that, and what is best to use for the develop web site Angular or...
{ "language": "en", "url": "https://stackoverflow.com/questions/47880638", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cloudant Lucene boost factor during indexing During indexing time it is possible to set a boost factor value which then changes the position of specific record in the array of returned documents. Example: index("default", doc.my_field, {"index": "analyzed", "boost": doc.boostFactor}); When applying this boost factor...
{ "language": "en", "url": "https://stackoverflow.com/questions/41838322", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL Server (running/stopped) Status in SSMS In the attached image below, I show my SQL Server as seen from SSMS on my PC (left) compared to the same as seen from the server (right) ... could someone advise why the view from my PC does not show the status indicator (running/stopped) for the server and for the SQL Ser...
{ "language": "en", "url": "https://stackoverflow.com/questions/24037449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Save XML from Url and read it I'm making android App and I need to download a xml file from an URL and open it, How I can do this? public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); File dir1 = getDir("xmls",Context.MODE_PRIVATE);//Creat...
{ "language": "en", "url": "https://stackoverflow.com/questions/16333145", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MergeMap from Array of Observables TLDR: Working example is in the last codeblock of this question. Check out @bryan60 answer for a working example using concat rather than mergeMap. I'm trying to run a number of remote requests sequentially, but only the first observable is executed. The number of request vary, s...
{ "language": "en", "url": "https://stackoverflow.com/questions/61896257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Localization works in iOS 7 but not in iOS 8 I have localized versions of a file hello.txt in folders en.lproj and fr.lproj. When I run the following code on iOS 7 simulator with language set to French, the French version is loaded. But with iOS 8 in French, I only get English... Why? println (NSLocale.preferredLang...
{ "language": "en", "url": "https://stackoverflow.com/questions/27212336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Adding a column to a Dataframe containing the Symbol of the parent node I am using bulk data (List of CPC Valid symbols) from the CPC website. I've read the csv into a pandas df, and the first 30 rows (of over 260K) are: SYMBOL level not-allocatable additional-only 1 A 2 True False 2 A01 4 True ...
{ "language": "en", "url": "https://stackoverflow.com/questions/56368124", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to loop + 7 days and display the data based on that loop I have a problem with my code, I want to show Tadarus, Kajian, Edukasi and Umum. example I have variable $startdate = '2019-09-20'. If $startdate + 7day, I want to echo Tadarus If $startdate + 14day, I want to echo Kajian If $startdate + 21day, I want t...
{ "language": "en", "url": "https://stackoverflow.com/questions/58029875", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to setup path to jupyter lab of activated environment I need to configure several pieces of software to access various executables that might change with conda environments. I know that this is broad so lets stick to jupyter lab, I want to add an item to Windows' context menu. I have all of keys in my registy se...
{ "language": "en", "url": "https://stackoverflow.com/questions/50991629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Firebase-auth Error with Facebook Firebase auth with Facebook just stopped working on all our Polymer websites. One of them where updated 19th of march and has been working until yesterday/this afternoon (2017-03-27). I get the following error message in chrome: firebase-auth.js:32 "{"error":{"errors":[{"domain":"g...
{ "language": "en", "url": "https://stackoverflow.com/questions/43054813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: How to replace forward slashes with backslashes in a string in Emacs Lisp? I would like to replace forward slaches to backslashes in emacs lisp. If I use this : (replace-regexp-in-string "\/" "\\" path)) I get an error. (error "Invalid use of `\\' in replacement text") So how to represent the backslash in the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/1037545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: Shows only one added record, cant view more in CMS admin panel I'm doing PHP course where need to build a CMS system. Problem: In Admin panel shows only one row of added post information: example. If i add more posts it must show more rows like this. Help me i can't find mistake? Source code: view_all_posts.php <?...
{ "language": "en", "url": "https://stackoverflow.com/questions/35601732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Handling json error messages in blob http calls We have http calls like: this.http.get(`${environment.baseUrl}/api/v.1/reports/...`, { responseType: ResponseContentType.Blob }) which returns blob pdfs which we further on save through FileSaver. Problem is if server returns 4XX response with some application/json a...
{ "language": "en", "url": "https://stackoverflow.com/questions/45477757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How to change convert different csv files into standard format? I have 2-3 .csv files with fields like Date, Amount, Transaction Description etc and all the csv files contains these fields but in shuffled order. I want a output file to with a standard order (like if I input the sample .csv file, then I can get the t...
{ "language": "en", "url": "https://stackoverflow.com/questions/63089690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Printing items selected from Knapsack Unbounded algorithm? I know how standard knapsack works, and i can afford to print the items selected in the 2D matrix, but from what i figured, unbounded knapsack is a 1D array. How do you print items selected by unbounded knapsack algorithm? A: Unbounded Knapsack can be solve...
{ "language": "en", "url": "https://stackoverflow.com/questions/57903012", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: printing float, preserving precision I am writing a program that prints floating point literals to be used inside another program. How many digits do I need to print in order to preserve the precision of the original float? Since a float has 24 * (log(2) / log(10)) = 7.2247199 decimal digits of precision, my initial...
{ "language": "en", "url": "https://stackoverflow.com/questions/10895243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "19" }
Q: How to redirect .htaccess My old website has 3 url's that lead to same place. http://hemodialysis-krk.com/ http://www.hemodialysis-krk.com/ http://hemodialysis-krk.com/index.php?l=HR I plan delete old website and put new one with totally different url's. Including index.html. So what would be solution for that situ...
{ "language": "en", "url": "https://stackoverflow.com/questions/24088511", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scipy maximizing linear programming doesn't work I have the following: ball = scipy.optimize.linprog(array([0,0,1]), A, b) where A = array([[-1.0, 0.0, 1.0], [ 1.0, 0.0, 1.0], [ 0.0, -1.0, 1.0], [ 0.0, 1.0, 1.0]], dtype=float128) b = array([ 0.0, 1.0, 0.0, 1.0], dtype=float128) We can maximiz...
{ "language": "en", "url": "https://stackoverflow.com/questions/32109668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to kill an android app from another app? i wanna know how to kill an android app from another, i'm developing a tasker, and i wanna to be able to kill an app selected by the user when an event occurs, i readed about Process.killProcess() but only allows me to kill apps in the same package, and that's not the ide...
{ "language": "en", "url": "https://stackoverflow.com/questions/9727729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Reading an XML from a JavaFX application I would like to import an XML file via a pop-up window in my JavaFX application. After the importing, I would like to read it. For example I want to store, for every <testbus> the <index> and the <tb_name> in a List or something similar, where the <index> is the index of the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/51536150", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MySQL substatements with more than one column Given a fake example where there are contacts and for each contact there can be one or zero Sms records; I can do this SELECT Contact.id, Contact.name, Sms.provider, Sms.number FROM Contact, Sms WHERE Sms.contactId = Contact.id. But I it needs to show a row even if ther...
{ "language": "en", "url": "https://stackoverflow.com/questions/4909409", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Javascript: prevent internal element "scrolling" in an element I have a script that has a div with a width larger than its' parent, with the parent being set to overflow: hidden;. I have javascript that is setting the left positioning of the big div to create "pages". You can click a link to move between pages. All ...
{ "language": "en", "url": "https://stackoverflow.com/questions/13147833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }