Interesting questions
-
4
votes1
answer154
viewsWhat does this command mean in git " "?
I don’t like using commands without knowing the meaning, so would someone tell me what this command means in git: ^ ?
-
3
votes0
answers39
viewsHow to use a counter value within asynchronous function
I wonder if I have how to pass some external value into the asynchronous function keeping the value of when the function was called. for(x=0;x<array.length;x++){…
-
-2
votes1
answer16
viewsDeploy Django+React js
Hi, I’d like to ask you a few questions. Suppose I want to make an api for a store application using Django and the frontend using React js. How would the application deploy work, I would need to…
-
1
votes1
answer58
viewsPHP xdebug3 with Docker in Ubuntu 20.04 does not work
Good afternoon Devs all right, I’m having trouble trying to run Xdebug with Docker on Ubuntu 20.04. Below follows my config. Docker-Compose.yml version: '3.7' networks: supervisao: services: nginx:…
-
2
votes2
answers779
viewsHow to set read-only line of Gridview made with Devexpress?
I need to put the lines of my GridView as read-only. I mean, I have one GridView which already contains some data, this data cannot be edited, but I can add new lines, and these new lines can be…
-
-2
votes2
answers243
viewsTransform [hh:mm] into float (ex: 01:30 ==> 1.5) in python
I have a data list in [hh:mm] format and I want to convert it to float. ex: hours 01:00 01:35 00:45 00:20 I would like to transform these varoles in 1.0, 1.5833, 0.75, 0.3333 to achieve 3.67 as an…
pythonasked 5 years, 10 months ago Jose Pedro Guirao 11 -
1
votes0
answers56
viewsSELECT Asynchronous with PYTHON
Hello everyone, thank you!! I am trying to make some connections to a Mysql database in asynchronous mode where there is dispute and print on the screen the result that arrives first... but I am not…
-
3
votes2
answers256
viewsConvert string to date
I have a date frame whose column that shows me the date has the format 'nov/19' and it’s an Object, I need to convert it to the date format. I know that in the documentation of datetime it is said…
-
3
votes4
answers142
viewsDoes calling dozens of classes in a system noticeably influence the performance of the application?
I’m starting to work with object orientation in PHP and would like to know if the amount of existing classes in a system can interfere in the performance of it or if it would have to be hundreds of…
-
13
votes2
answers2794
viewsWhat is the difference between setInterval/setTimeout and Web Workers?
I was taking a look at some HTML5 features and came across this Webworkers whose definition is: When executing scripts in an HTML page, the page Becomes unresponsive until the script is finished. A…
-
3
votes1
answer723
viewsHow to center figure with max-width set?
I’m trying to centralize a figure with max-width defined. By centering without the max-width, right. But the background exists in it gets 100% and not centralized together with figure. For that I…
-
0
votes1
answer94
viewsI cannot access the value of the array I receive from an API
Good afternoon, I’m walking little by little in php, but this part of array I still get very confused, I researched a lot on the internet and I read in the php manual but I can’t do what I want, I’m…
-
4
votes2
answers566
viewshtaccess hide MVC model parameters
I have the following URL: http://192.168.1.67/plays/mvc/index.php?route=profile&user=mikas.28 On which route = PAGE and user = USERNAME.USERID I have the following htaccess Options -Multiviews…
-
0
votes1
answer35
viewsHow to unlock the fields according to what the user types?
I’m making a form with 3 fields, where the first fields is unlocked and the others blocked. They unlock according to the first field, for example: User typed in the first field -> unlocks the…
-
-4
votes1
answer159
viewsTraversing array and separating by commas
I have an array, and with the var_dump she returns it: array (size=2) 0 => array (size=2) 'id' => int 18 'name' => string 'Drama' (length=5) 1 => array (size=2) 'id' => int 10765…
-
1
votes2
answers641
viewsExchange information between Javafx windows
Good afternoon, I need to exchange information between different windows (Scene) with javafx, I searched the net and saw that the most common is to use controller communication. My scenario is this:…
javafxasked 9 years, 8 months ago Ronaldo Lopes 453 -
2
votes1
answer367
viewsHow can I see the SQL generated by Entity Framework Core?
I am using version 3.1 of EF Core, and I am trying to see the SQL generated from this code: var query = Db.Set<Area>() .Include(i => i.Extratos) .Include(i => i.Coordenadas) .Where(x…
-
1
votes1
answer61
viewsValidation input problem
I have a form in php where I have some fields (input) and a Submit button to send. One of the inputs does the javascript checking if it has equal link or not, if it has equal link it should not…
-
7
votes4
answers2028
viewsIdentifying common snippets in two PHP strings
I need to compare non-standard strings in PHP. I have 2 strings as below: $primeira = 'asdasdasdTESTEasdasdasdasd'; $segunda = 'lkijlikjTESTEilkjik'; How do I dynamically know if the first and…
-
1
votes1
answer24
viewsHow to compare two dates using input date and new date object in Javascript
I have two inputs of the kind date. One for the user to enter the start date and the other to enter a final date. I created a variable that receives the current date using only the new Date. I have…