How can I create a concurrent List instance, where I can access elements by index? Does the JDK have any classes or factory methods I can use?
2026-01-11 15:01:21AskI'm writing minecraft server in Go, when server is being stressed by 2000+ connections I get this crash: fatal error: concurrent map read and map write/root/work/src/github.com/use
2026-01-02 12:22:25AskI have an int array, and am looking for duplicates. int[] zipcodelist = // ... duplicates = false; for(j = 0; j < zipcodeList.length; j++){ for(k = 0; k < zipcodeList.length; k+
2025-12-25 21:22:46AskI want to check when someone tries to refresh a page. For example, when I open a page nothing happens but when I refresh the page it should display an alert.
2025-12-03 10:01:04AskI'm trying to create dynamic parameters for one of my nuxtJS pages and I'm trying to figure out the correct folder structure, the URL I need is something like: https://example.com/landing/123 where 123 is I need to use this .Dynamic parameters obtained by $route. I tried the following folder tag: pages/_landing/index.vuepages/landing/_index.vue How can I achieve this? Even though my parameters are not provided, I still need
2024-03-29 13:20:47AskI created a chart object in Mounted() and assigned it to the "myChart" variable declared in data() because I wanted to be able to use this chart object in other scopes of the code since I heard that there is no Variables declared in Mounted are passed to methods. When I call this.myChart.update() I get the error "Uncaught (in promise) RangeError: Maximum call stack size exceeded". Does anyone know why I'm getting this error and how to correct it, or if there's another way to do it
2024-01-04 18:52:33AskI'm trying to insert values into a table of contents. It works fine if there are no PHP variables in VALUES. However, when I put the variable $type in VALUES, it doesn't work. What did i do wrong? $type='testing';mysql_query("INSERTINTOcontents(type,reporter,description)VALUES($type,'john','whatever')");
2023-09-16 21:28:26AskI'm relatively new to ChartJS and I'm looking for a way to display labels on my donut chart. I tried setting the visibility of the legend to true in the options but still doesn't work. vardata=[{data:[successfulBuildsCount,failureBuildsCount],labels:["success","failure"],backgroundColor:["green","
2023-09-14 18:38:17AskI'm designing a header for my college project where the logo should be in the top left corner. I tried using the float property in CSS but nothing happened. How do I move my logo to the upper left corner of the title bar? I tried many times but the code is not executed. @importurl('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,500;1,400&display=swap'
2023-09-07 18:11:37AskSimply, I have a js file whose export default returns an object. //x.jsexportdefault()=>({text:'text'}) I want to import it into another js file and merge it with its data (kind of extend it). Now I'm doing this: //y.jsimportxfrom'./x.js';constobj=x()exportdefault()=>({...obj,text2:"t
2023-08-27 23:36:46Ask



0
88
0