text
stringlengths
15
59.8k
meta
dict
Q: corruption in OpenGL texture with glDrawArrays, iOS I'm working on a game for iOS and I'm having some trouble with a texture using glDrawArrays (using cocos2D v1.0.1, with OpenGL ES 1.1). I first create an array of CGPoints that define the top and bottom of a hill, along with an array for the texture coordinates: hi...
{ "language": "en", "url": "https://stackoverflow.com/questions/11379954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Java EE Webservice - How to save a json without a database I have a REST service with a simple get and post method in Java EE. The post method saves the recieved json in a file using Gson and FileWriter. On my local system the file is saved in C:\Users...\Documents\Glassfish Domains\Domain\config. The Get method rea...
{ "language": "en", "url": "https://stackoverflow.com/questions/53387868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to implement online judge bot?(ex. TopCoder, Uva, ACM-ICPC) There are many online judge sites which can verify your program by comparing its output to the correct answers. What's more, they also check the running time and memory usage to make sure that your program doesn't exceed the maximum limit. So here is my...
{ "language": "en", "url": "https://stackoverflow.com/questions/8768537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Merge Duplicate object in array I have an array I need to merge duplicate values with the sum of amount. What would be an efficient algorithm var arr = [{ item: { id: 1, name: "Abc" }, amount: 1 }, { item: { id: 1, name: "Abc" }, amount: 2 }, { item: { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/51347045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unable to upload an object to Firebase realtime database I'm trying to upload this object to Firebase realtime database: public class DecorationRequest { private String mName; private String mRooms; private String mBudget; private String mArea; private String mDescription; private List<Ur...
{ "language": "en", "url": "https://stackoverflow.com/questions/51726066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ElasticSearch group by documents field and count occurences My ElasticSearch 6.5.2 index look likes: { "_index" : "searches", "_type" : "searches", "_id" : "cCYuHW4BvwH6Y3jL87ul", "_score" : 1.0, "_source" : { "querySearched" : "telecom", } }, { "_index" : "searches", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/58733898", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: NetworkStream.Write returns immediately - how can I tell when it has finished sending data? Despite the documentation, NetworkStream.Write does not appear to wait until the data has been sent. Instead, it waits until the data has been copied to a buffer and then returns. That buffer is transmitted in the background....
{ "language": "en", "url": "https://stackoverflow.com/questions/67761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: how to close MessageBox in RCP plugin development? I have created a MessageBox while developing Eclipse plugin which opens when you perform some action...however even after i say "OK" on that messageBox the dialog MessageBox occurs again and again.. Can anyone tell me how to close MessageBox once it is shown to user...
{ "language": "en", "url": "https://stackoverflow.com/questions/15108404", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Finding the degree of an undirected graph I am trying to find the degree distribution of an undirected graph. And I tried the following code: graph = { "a" : ["c"], "b" : ["c", "e"], "c" : ["a", "b", "d", "e"], "d" : ["c"], "e" : ["c", "b"], "f" : [] } def g...
{ "language": "en", "url": "https://stackoverflow.com/questions/22438238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Quick and Efficient way to generate random numbers in Java I am writing a multi-threaded Java program that generates lot of random numbers. Additional Details: These numbers are used to create a list of random numbers from 0-99 without repetition and such that every number in the range 0-99 exists in the list (In ot...
{ "language": "en", "url": "https://stackoverflow.com/questions/9649266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: With hive's complex struct data type, how to write query with where clause I've have following hive table with complex data type, STRUCT. Can you please help writing hive query with where clause for specific city? CREATE EXTERNAL TABLE user_t ( name STRING, id BIGINT, isFTE BOOLEAN, role VAR...
{ "language": "en", "url": "https://stackoverflow.com/questions/43148996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: A/B testing for React SSR app with chunking Versions: webpack: 4.30.0, react: 16.8.6, react-loadable: 5.5.0, I'm having one entry JS in webpack. Other chunks are currently created using react-loadable and vendor JS is created using splitChunks. Idea of my application: SSR and chunking is working with react-loadable...
{ "language": "en", "url": "https://stackoverflow.com/questions/56305311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How do I send a parameter list to be used as arguments when a delegate is invoked? I've implemented a simple extension method in my asp.net mvc 3 app to pull objects out of session using generics: public static T GetVal<T>(this HttpSessionStateBase Session, string key, Func<T> getValues) { if (Session[ke...
{ "language": "en", "url": "https://stackoverflow.com/questions/6521623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: WPF - Binding IsMouseOver to Visibility I have a window which overrides a RadioButton's ControlTemplate to show a custom control inside of it. Inside the custom control, I have a button's visibility tied to IsMouseOver, which works correctly in showing the button only when the mouse is hovering over the control. How...
{ "language": "en", "url": "https://stackoverflow.com/questions/258824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: React app, API call that fetches routes for app Hello I am using react and redux, i have my action creator that fetches the routes of the page and i creat the routing with them this way: First in app.js im calling the action creator (using mapDispatchToProps) in UseEffect and passing the result (mapStateToProps) to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/64424826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PyQt: Overriding QGraphicsView.drawItems I need to customize the drawing process of a QGraphicsView, and so I override the drawItems method like this: self.graphicsview.drawItems=self.drawer.drawItems where self.graphicsview is a QGraphicsView, and self.drawer is a custom class with a method drawItems. In this meth...
{ "language": "en", "url": "https://stackoverflow.com/questions/1142970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: ViewPager and Fragments: Why do I always see the same thing? I have created a ViewPager with three "pages". The code is this MainActivity.java public class MainActivity extends FragmentActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setC...
{ "language": "en", "url": "https://stackoverflow.com/questions/18829893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is difference between the KFP SDK v2, v2 namespace, and v2 compatible mode? What is the difference between KFP SDK v2, the v2 namespace in KFP SDK v1, and v2 compatible mode? A: The KFP SDK has two major versions: v1.8.x and v2.x.x (in pre-release at the time of writing this). KFP SDK v2.x.x compiles pipelines...
{ "language": "en", "url": "https://stackoverflow.com/questions/73964749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using the split function in Python I am working with the CSV module, and I am writing a simple program which takes the names of several authors listed in the file, and formats them in this manner: john.doe So far, I've achieved the results that I want, but I am having trouble with getting the code to exclude titles ...
{ "language": "en", "url": "https://stackoverflow.com/questions/8498514", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Cannot reach spring-boot-starter-parent dependencies I'm using https://start.spring.io/ to create Spring Boot project and in development I can't reach spring boot starters these dependencies: <dependency> <groupId>org.springframework.ws</groupId> <artifactId>spring-ws-support</artifactId> <version>3....
{ "language": "en", "url": "https://stackoverflow.com/questions/65881656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: XCode 6 infinite building I have really strange problem. I'm writing swift ios project. It has some swift files. One of them is internet requester, which contains some small methods (5-6 rows). If i write 8 methods, my project builds in a second and runs well. But if i add extra method (it can be empty), builder stu...
{ "language": "en", "url": "https://stackoverflow.com/questions/25482501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Shim config not supported in Node, may or may not work I am working on a project which works fine on browser , now we are trying to run it on server side using nodejs. I have below configurations : * *node : v4.2.1 *npm : v2.14.7 and when I am trying to run my project on nodejs , getting the error as : Shim c...
{ "language": "en", "url": "https://stackoverflow.com/questions/33407645", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Authentication not working with Supabase and Node.js I am not sure even this is possible but I am trying to use Supabase with Node.js. I get the code from a React front-end, this link, which works okay. Below is my code client.js const { createClient } = require('@supabase/supabase-js') const supabaseUrl = "MY_URL"...
{ "language": "en", "url": "https://stackoverflow.com/questions/72042412", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: C++ and member function pointers I'm trying to send an address of a member function to my "Thread" class so I can activate it from there. I read that I can use functors but I want it to be generic in a way that I can send it to my "Thread" constructor and functors need templates, so it won't be enough for me... Doe...
{ "language": "en", "url": "https://stackoverflow.com/questions/5316943", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Why does (ps -f) create no subshell but a separate process? I need some help because I don't get something. From what I read from Internet, a subshell is created when we execute a shell script or if we run command in brackets: ( ) I tried to test this with a script which contains only the following command: ps -f W...
{ "language": "en", "url": "https://stackoverflow.com/questions/25689656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: customizing the NSPredicateEditor I want to customize the NSPredicateEditorRowTemplate, but I needn't the subtraction sign in the first RowTemplate, the second, and the third, like the Finder application. A: If you tell the NSPredicateEditor that it cannot remove all the rows in the editor, then the editor will aut...
{ "language": "en", "url": "https://stackoverflow.com/questions/7607032", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python Selenium: How can I print the link? How can I print the value of the href attribute? <a href="aaaaa.pdf"></a> How can I print the link aaaaa.pdf with python selenium? HTML: <div class="xxxx"> <a href="aaaaa.pdf"></a> </div> A: You can do like this: print(driver.find_element_by_css_selector(".xxxx a").g...
{ "language": "en", "url": "https://stackoverflow.com/questions/71938299", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to get Cartesian product from different group member? As the title mentioned, I have some problems in C++. If I have a std::vector<std::vector<int> >tmpvec vector < vector <int> > tmpvec = { {1,2,3}, {4,5}, {6,7,8,9}, {10,11} }; how can I generate all possible combination of a vector of vector 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/32049360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to correctly move ownership from raw pointer to std::unique_ptr? My approach is: class SomeClass { std::vector<std::unique_ptr<MyObject>> myObjects; public: void takeOwnership(MyObject *nowItsReallyMyObject) { myObjects.emplace_back(std::move(nowItsReallyMyObject)); } }; Am I doing every...
{ "language": "en", "url": "https://stackoverflow.com/questions/43857590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Delete a record in MySql database by clicking a dynamically generated button in Winforms I'm new to programming and hoping someone will help me with my problem. I'm developing an e-commerce application and looking to add buttons to a dynamically generated list of items in the cart. I used a loop statement to go thro...
{ "language": "en", "url": "https://stackoverflow.com/questions/68118973", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: determining the character set to use my delphi 2009 app has a basic translation system that uses GNUGetText. i had used some win API calls to prepare the fonts. i thought it was working correctly until recently when someone from Malta had a problem with my app failing precisely in this area. my app is used global...
{ "language": "en", "url": "https://stackoverflow.com/questions/1730926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: .net windows service local application data is different then in normal app In normal console app I have this Environment.SpecialFolder.LocalApplicationData is C:\Users\Simon\AppData\Local\ In Windows service Environment.SpecialFolder.LocalApplicationData is C:\Windows\system32\config\systemprofile\AppData\Local\ Ho...
{ "language": "en", "url": "https://stackoverflow.com/questions/4247581", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "12" }
Q: What does the BluetoothGATTSetCharacteristicValue ReliableWriteContext parameter actually do? Using C++ VS2017 Win10... I am testing some code to set a characteristic value on a BLE device. I had originally had the default function call HRESULT hr = BluetoothGATTSetCharacteristicValue( hBleService.g...
{ "language": "en", "url": "https://stackoverflow.com/questions/73240693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create a list of selected objects from S3 bucket with Boto3 I have a S3 bucket with this structure: data/date=1900-01-01-00/id=abc123def/file1.parquet data/date=1900-01-01-00/id=ghi456jkl/file2.parquet data/date=2021-07-11-00/id=mno789pqr/file3.parquet data/date=2021-07-11-00/id=stu123vwy/file4.parquet . . . the fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/68338713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My script does not detect the redirection URL this is the case : Needed a responsive html5 audio player and the best I found was one made by a person called Osvalds . The first problem I found was that the " autoplay " attribute reproduced the same song twice in Firefox. I could fix this by adding a few lines of jav...
{ "language": "en", "url": "https://stackoverflow.com/questions/21468319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How long it will take the inapp purchase pending status change to success In Apple purchase history It is a question regarding my application in-app purchase pending. I am using store kit delegate function and code as shown below for (SKPaymentTransaction * transaction in transactions) { switch (transaction.t...
{ "language": "en", "url": "https://stackoverflow.com/questions/58992477", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How should I batch upload to s3 and insert to MongoDB from nodeJS webserver with a final callback? I have a web server that accepts images from client, processes them, upload them to S3, batch-insert the urls to my mongoDB, and lastly sending the json result back to the client. Working with a single image works as f...
{ "language": "en", "url": "https://stackoverflow.com/questions/34512559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Use 100% div width, if 50% width is too small How could one go about creating a div, that would have a default size of XX%, however, if the screen gets too small it would switch into 100% size? I have tried using min-width property but the problem with this is that it will not be responsive after the min-width is re...
{ "language": "en", "url": "https://stackoverflow.com/questions/47339410", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to decode an utf8 encoded string split in two buffers right in between a 4 byte long char? A character in UTF8 encoding has up to 4 bytes. Now imagine I read from a stream into one buffer and then into the another. Unfortunately it just happens to be that at the end of the first buffer 2 chars of the 4 byte UTF8...
{ "language": "en", "url": "https://stackoverflow.com/questions/23940623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Building an uberjar with Gradle I want to build an uberjar (AKA fatjar) that includes all the transitive dependencies of the project. What lines do I need to add to build.gradle? This is what I currently have: task uberjar(type: Jar) { from files(sourceSets.main.output.classesDir) manifest { attribu...
{ "language": "en", "url": "https://stackoverflow.com/questions/10986244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "42" }
Q: Save file from HTTP response Looking for some guidance or pointers, not necessarily the solution however I will post a solution back when done. Using WSO2 ESB / Integrator that is calling an external service. According to the external service [1], they will respond with a file back in the HTTP response. It is this f...
{ "language": "en", "url": "https://stackoverflow.com/questions/53924900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Azure Service bus queues have a URL, do they also have an IP-Adress or even Range? I was wondering if there is any possibility of Service Buses or even their queues have an IP-address or even Ranges? I have been searching both in the documentation and also in azure but I couldn't find anything. What are the possibil...
{ "language": "en", "url": "https://stackoverflow.com/questions/44205451", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to dynamically evaluate/use an angular (angular 2+) pipe? Let's say I have a pipeVar, it can be any pipe, eg.: number, uppercase, customPipe, etc Is there a simple way to just call something like {{ myVal | pipeVar }} or some special syntax like {{ myVal | #pipeVar }} ? The closest thing I have fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/42240598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unity Leap Motion Error Message "INPUT AXIS NOT SET UP" I'm currently doing my first VR project with Leap Motion, HTC Vive and Unity. When I create a new project and add the LeapRig, everything is just fine, but after adding the Interaction Manager as a child of LeapRig, I get the following error message, which gets...
{ "language": "en", "url": "https://stackoverflow.com/questions/55863548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CMFCPropertyGridCtrl last item not drawn? I have a CMFCPropertyGridCtrl that I'm using in an options dialog box. I have a method in my options dialog class called InitPropertyGrid(). This method clears any properties and populates the CMFCPropertyGrid objects (using a custom Settings object for the property values...
{ "language": "en", "url": "https://stackoverflow.com/questions/7590565", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java script object data for functions How do I acces some object data in a javascript function? All I want to do is to take some input from the html file and then if the input text is === to one of my objects in javascript i want to acces some data from that object to use within my function. For example: I have the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/17970194", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: root in binary tree always NULL The program should read a txt, store all the words alphabetically and print them in order, with the number of times the word appears on the txt. The problem seems to be in the Insert method, because it never prints TEST, so it seems the pAux is always NULL for some reason. And because...
{ "language": "en", "url": "https://stackoverflow.com/questions/26960856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: which is fastest for an oracle query? This select * from customers where id = 1; select * from customers where id = 2; or select * from customers where id in(1,2); which is faster? A: The first one are actually two statements causing you to make two roundtrips to the database. The second one will most likely be f...
{ "language": "en", "url": "https://stackoverflow.com/questions/8872904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: .Net HotChocolate GraphQL Mutations pick from a list of stings like enum I have a bunch of data, in a .NET GRaphQL API that are basically list of strings like Public List<string> avarageMessageSize = new List<string>{ "Up to 5 KB", "Between 5 KB and 4 MB", Between 4 MB and 20 MB", "20 MB and bigger" }; When a new E...
{ "language": "en", "url": "https://stackoverflow.com/questions/73443042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to send a notification without waking the screen on Android I have a foreground service in my app, whose persistent notification has a timer in it, which means that the notification is sent once per second to update the timer that is shown in the notification. This means that on some devices, where notification...
{ "language": "en", "url": "https://stackoverflow.com/questions/70035917", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I assign RGB color codes to a WORD? I am assigning the color values to the display frame buffer, and that buffer pointer return type is BYTE. But i am not able to assign the RGB color value into it. This i am doing to set the pixel location using directdraw on WINCE platform .Here is the snapshot code. BYTE*...
{ "language": "en", "url": "https://stackoverflow.com/questions/5271331", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Image files stored on Google cloud storage are not displayed but only strange text I have a project that uploads an multi-image to Google cloud storage, the upload works fine, but when I download an image, it only shows strange text. It has 2 steps to upload a file to Google cloud storage. In step 1, I will get the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/74051683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My function click() dont work with href of this site, how i can fix and make work? from selenium import webdriver from selenium.webdriver.chrome.service import Service #Service("local do diretorio do chromeDriver") driver = webdriver.Firefox('/home/arch/Downloads/bot/') driver.get("https://blaze.com/pt/?modal=auth&...
{ "language": "en", "url": "https://stackoverflow.com/questions/71085539", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: what does my request does not inlclude if-non-match in header I am using https://github.com/filipw/AspNetWebApi-OutputCache NUGET package to manage caching for my ASP.NET WEB API. The server side caching works well. However I don't see it working on my browser (client side). On request I see that max-age and etag is...
{ "language": "en", "url": "https://stackoverflow.com/questions/19314530", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sort any random list of files by modification date Looking for generic way how to sort a random list of files by its modification time, so something like: ./make_list_of_files | some_sorter_by_mtime my currect solution is (here the make_list_of_files is the find command): find / -type f -print |\ perl -nle 'push ...
{ "language": "en", "url": "https://stackoverflow.com/questions/12508076", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: CSS rotate3d works correctly only on Firefox The CSS rotate3d animation seems to depend on the (modern) browser you use!!! Just test the code... @keyframes KF_Rotate { 0% { transform: rotate3d(0,0,0, 0deg); } 100% { transform: rotate3d(0,1,0,180deg); } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/31733327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Authorize ARB subscription payment I am creating a subscription using Authorize.net ARB API. I can see in my account, where the subscription is created. Its a very simple subscription, where a user would be paying $100 every month. I would like to know, if the user would be billed at the time of creation of the subs...
{ "language": "en", "url": "https://stackoverflow.com/questions/21374778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to sync the modification date of folders within two directories that are the same? I have a Dropbox folder on one computer with all the original modification dates. Recently, after transferring my data onto another computer, due to a .DS_Store issue, some of the folder's "Date Modified" dates were changed to tod...
{ "language": "en", "url": "https://stackoverflow.com/questions/66536643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Overriding Rails Default Routing Helpers I'm writing an app where I need to override the default routing helpers for a model. So if I have a model named Model, with the corresponding helper model_path() which generates "/model/[id]". I'd like to override that helper to generate "/something/[model.name]". I know I...
{ "language": "en", "url": "https://stackoverflow.com/questions/9738952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: iOS command-line build: How to create xcode archive from command line? I am using below command to create an signed ipa file from command line i.e. terminal. xcrun -sdk iphoneos PackageApplication \ "path/to/build/MyApp.app" \ -o "output/path/to/MyApp.ipa" \ --sign "iPhone Distribution: My Company" \ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/21529718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Teamwork Ruby on Rails I've been working with RoR for a while but now I need to work with designers and other developers. Is there a tool like github or something like dropbox where you can share with your team the files but with a URL where you can check live any change. For example for my own I just run Rails s an...
{ "language": "en", "url": "https://stackoverflow.com/questions/54755098", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: TabBarController status bar issue in iOS7 I added the UITabBarController view on the UIWindow. TabBarController view is messing up with Status Bar. The TabBarController is in the MainWindow.xib. How can i fix this? window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; tabController.viewControllers ...
{ "language": "en", "url": "https://stackoverflow.com/questions/20632316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: youtube api v3 does something when a user uploads a new video How can I do that when an user uploads a new video, my javascript code in node.js execute something? I readed the docs and I didn't fond anything.
{ "language": "en", "url": "https://stackoverflow.com/questions/62863910", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to upload a folder to blob storage using SAS URI in storage explorer enter image description hereI'm trying to upload a folder to blob container using storage explorer via SAS URI, but the upload is failing for folder & files. How can I achieve that ? When I connect to blob storage using account name and key it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/65670195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Need Help To Uncheck Radio Button If Aleady Checked Using Jquery i need help to uncheck or check same radio button if button already checked? I have jquery function which is used to enable or disabled other radio buttons if already checked now i want to add some function that use for check or uncheck same radio butt...
{ "language": "en", "url": "https://stackoverflow.com/questions/16055839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Windows Phone 8 & Internet Explorer 10 caches 302 redirects We are developing a web app for mobile devices and we are experiencing a rare caching issue in Windows Phone 8 & Internet Explorer 10. Our app is based on JSF and jQueryMobile. And we are using de "redirect-after-post" system for navigation. When we make a...
{ "language": "en", "url": "https://stackoverflow.com/questions/18844553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how do I link my src/app.js file to babel src/app.js file keeps showing it doesn't exist in git bash I tried adding quotations babel src/app.js --out-file=public/scripts/app.js --presets="env,react" instead of this babel src/app.js --out-file=public/scripts/app.js --presets=env,react but it still did not work A: Co...
{ "language": "en", "url": "https://stackoverflow.com/questions/74681628", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: connect is unsuccessful in my socket programming function in C I have a function which initiates the socket connection. I am trying to a server with a name let's say xp. Socket() is working fine. But when it comes to connect, I am getting an error. I tried to get the IP of that server, I got some random IP. I passed...
{ "language": "en", "url": "https://stackoverflow.com/questions/44141616", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: A program written in Go opens many connections to mongoDB I have a very simple HTP server written in Go which serves my AngularJS front end data from a mongodb instance through an API. Here is the code: // ReceiveData - used to handle incoming data func ReceiveData(w http.ResponseWriter, r *http.Request) { if r...
{ "language": "en", "url": "https://stackoverflow.com/questions/38879356", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I modify all comments in git repository? I have managed a my project using git. But I must published this repository, so I have to modify all comments and author names of git repo, because I can't publish some comments and author name. My git repo has 99 commits and is synced remote repository. There are a l...
{ "language": "en", "url": "https://stackoverflow.com/questions/41186417", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3307/db I have seen this error popping up many times. I have searched the web and tried stuff like adding the mysql-connector file to the buildpath, but nothing worked out for me. This Code works when running with spigot, this is only another...
{ "language": "en", "url": "https://stackoverflow.com/questions/45936521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to load related objects after saving a junction table record by foreign keys only? I am trying to add a new student and after that, insert data into a junction table called 'AdditionalCourse' with the help of EF Core 3.1. Whenever I add the junction rows (additional courses) by only using the foreign keys, it do...
{ "language": "en", "url": "https://stackoverflow.com/questions/65325557", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to parse an array to json using ruby on rails I'm trying to parse a hash to json but in the index.json.jbuilder I get empty hash. what am I doing wrong: def self.fake_objects fake_objects = {id: 1, title: 'appointment one', description: 'bla bla bla', ...
{ "language": "en", "url": "https://stackoverflow.com/questions/25485704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Develop a chrome extension to count tags of currently accessed webpage Hey I'm new to javascript and chrome extension developing. I'm trying to develop a chrome extension which use browser action to count the number of tags in currently active tab of the Google Chrome browser.I can use getElementsByTagName.lenght ...
{ "language": "en", "url": "https://stackoverflow.com/questions/28688674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Xcode: How can I slide left/right between UIViews? I want the easiest way to implement a sliding right/left gesture between multiple UIViews like AngryBirds levels as in the below screenshot A: Your best bet is probably to not use a slide gesture, instead use a UIScrollView with a contentSize.width smaller than it...
{ "language": "en", "url": "https://stackoverflow.com/questions/10798595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any option to block messages of a specific person without blocking him from calling? Is there any option to block messages of a specific person without blocking him from calling in android phones.? also, will sender be able to know that he is blocked on calling/messaging to the phone in which he is being bl...
{ "language": "en", "url": "https://stackoverflow.com/questions/15127550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to find the remainder of division Q=A/B , Q is a real number expressed as a pair of 8 bits: * *most significant 8 bits for the integer part *least significant 8 bits for the fractional part *the number is unsigned for example: 0 0 1 0 1 1 0 1 . 0 1 0 1 0 0 0 0 Can you find the remainder of division if y...
{ "language": "en", "url": "https://stackoverflow.com/questions/19693111", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django: validating forms declared on client side with angularjs I'd like to replicate something similar to the ModelForm, but for many instances (through an array of dictionaries). If we have models.py Article(models.Model): title = models.CharField() author = models.CharField() and modelforms.py Article...
{ "language": "en", "url": "https://stackoverflow.com/questions/25106649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: C++ Developer functions that can only be called by other developer functions We have a number of functions that are very useful for developing and testing, but should not be part of any productive code - mostly for performance reasons. Our goal is to have the compiler ensure that functions marked as DEV_ONLY can onl...
{ "language": "en", "url": "https://stackoverflow.com/questions/39019011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: c# htmlAgilityPack read from id block until another id block i have a html document like this <tr id="__TOC_1"> <div id="AUTOGENBOOKMARK_3_7899df20-f104-434d-a5e4-fa293412f5db"> <div style="visibility:hidden">&nbsp;</div> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/60595933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: The argument type "User? Function(User)" cant be assign to the parameter type "User? Function(User?)' I've been coding a method that searches for the user. The analyzer shows that the argument type "User? Function(User)" cant be assign to the parameter type "User? Function(User?)'. What does this error mean? Please ...
{ "language": "en", "url": "https://stackoverflow.com/questions/68259318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Difference betwen TSO/RMO/PSO and Power/ARM This question is about memory consistency. There is an example below that might help if it's unclear. A problem I am looking at asks for code that can do something when executed on Power/ARM that it could not on the Sparc under RMO. Is this possible, please? Many thanks. [...
{ "language": "en", "url": "https://stackoverflow.com/questions/30529927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am trying to place a bootstrap carousel on top of a bootstrap modal in my rails app, is this possible I upload my images using paper clip, I have six images. right now when I click th e image, the modal opens up and shows that image. that's good now I am trying to add a carousel to the modal, so that when I click ...
{ "language": "en", "url": "https://stackoverflow.com/questions/38666729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create an array in object type I want to create an array in object type. But I couldn't make it ? How can I make it ? CREATE OR REPLACE TYPE object AS OBJECT ( type array1 IS VARRAY(1000) OF INTEGER, exAr1 array1, type array2 IS VARRAY(1000) OF INTEGER, exAr2 array2, ); / A: You need to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/34088291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Initializing a ActionBarDrawerToggle with some confusing code Android Studio 1.1 Beta 4 Hello, I am expecting some source code below, and I can't understand the reason behind it. I can understand this part ActionBarDrawerToggle mActionBarDrawerToggle = new ActionBarDrawerToggle(getActivity(), m...
{ "language": "en", "url": "https://stackoverflow.com/questions/28498211", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i configure my contact form to receive messages I am trying to configure my contact from to my remote server. The technical guys from my hosting have issued me this settings for my mail setting: (POP3/IMAP) & outgoing mail (SMTP) server name is: mail.yourdomain.com ports are: POP3 -> 110, IMAP -> 143 and SMT...
{ "language": "en", "url": "https://stackoverflow.com/questions/23416891", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Importing a CSV file to textbox but not formatting properly I want to add the contents of a CSV file containing Hex values to a textbox and output each byte to a listbox. When the add file button is clicked the contents of the CSV file show up in the textbox, each byte separated by a comma, But when I hit the write...
{ "language": "en", "url": "https://stackoverflow.com/questions/27623596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: `CakeResponse` referencing undefined variables in `compact()` call triggers errors/notices I’m updating my first CakePHP application on a web server, but pages show errors which are at the end of this post. I can’t find the file(s) which have not uploded correctly. Thanks for help. CakePHP version : 2.9 Error messag...
{ "language": "en", "url": "https://stackoverflow.com/questions/62863886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: I just need flutter dart help to guide me how i draw fix box in button of this map which show location speed battery information? I just need flutter dart help to guide me how i want draw fix overlap box in button of this map which show location speed battery information as this code show location from firebase as m...
{ "language": "en", "url": "https://stackoverflow.com/questions/72569901", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Huggingface Transformers Tensorflow fine-tuned distilgpt2 bad outputs I fine-tuned a model starting from the 'distilgpt2' checkpoint. I fit the model with the model.fit() method and saved the resulting model with the .save_pretrained() method. When I use this model to generate text: import transformers from transfor...
{ "language": "en", "url": "https://stackoverflow.com/questions/70369412", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Redirect from jQuery modal to non-modal dashboard on log in Zend Framework application using jQuery. Login takes place via a nyroModal (jQuery plugin from http://nyromodal.nyrodev.com/). Everything works great, validation, etc - but once the user is logged in and Zend_Auth writes the identity I want to redirect to t...
{ "language": "en", "url": "https://stackoverflow.com/questions/12271669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connection Strings for Entity Framework I want to share same Database information across multiple entities in Silverlight.. but I want the connection string to be named xyz and have everyone access that connection string from machine.config... The meta data part of the entities will be different since I didn't nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/5781059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "28" }
Q: Handle SSL connections from an inetd ruby script I'd like to run a Ruby script that handles encrypted communications from inetd. As I need the certificate information for further processing, I can't "offload" the SSL to something like stunnel. In order to do so, I'd have to somehow use STDIN and STDOUT with the Ruby...
{ "language": "en", "url": "https://stackoverflow.com/questions/6479611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Spring boot test with multiple configuration In my Spring boot 2.1 project I have different @Configurations for different test (ConfigurationA and ConfigurationB), that reside in different packages. Both configurations define the same set of beans but in a different manner (mocked vs. the real thing) As I am aware o...
{ "language": "en", "url": "https://stackoverflow.com/questions/53685135", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Conflicts between Autowired and Validated I have been looking for a few days, issues related to a conflict that may be occurring or a wrong configuration I made when putting the spring boot into the project. All dependencies are normally injected (@Autowired) when the (@Validated) is not present in the code, so it i...
{ "language": "en", "url": "https://stackoverflow.com/questions/52133139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to update a model but return unmodified model in Django? I'm using django-piston to write a RESTful Web Service and have a problem. in models.py: class Status(models.Model): user = models.ForeignKey(User) content = models.TextField(max_length=140) class StatusReply(models.Model): user = models.Forei...
{ "language": "en", "url": "https://stackoverflow.com/questions/6264258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Angulr6 application not running in IE and Edge I have one SPA devel0ped in Angular6, it works fine in chrome and Firefox but i get blank screen in IE and Edge.I have un-commented all the imports in polyfill.js for IE and Edge still i can't see my application running in IE n Chrome both.
{ "language": "en", "url": "https://stackoverflow.com/questions/53166808", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I convert form data from multiselect dropdown list from array to string In angular 7 Typescript? I have a form in which there is a field which dynamically loads data from the database into a ng-multiselect dropdown list. I want to store that form data in database using post request, which is not working. When...
{ "language": "en", "url": "https://stackoverflow.com/questions/54898236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Remove duplicates with less null values I have a table of employees which contains about 25 columns. Right now there are a lot of duplicates and I would like to try and get rid of some of these duplicates. First, I want to find the duplicates by looking for multiple records that have the same values in first name, l...
{ "language": "en", "url": "https://stackoverflow.com/questions/27927251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Pygraphviz crashes after drawing 170 graphs I am using pygraphviz to create a large number of graphs for different configurations of data. I have found that no matter what information is put in the graph the program will crash after drawing the 170th graph. There are no error messages generated the program just stop...
{ "language": "en", "url": "https://stackoverflow.com/questions/60876623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }