Interesting questions
-
1
votes2
answers309
viewsNG-SHOW in Angularjs after Filter application
Hello, the code below works 99%, I only need to put ng-show on < H5 >, but I’m not getting it. The criterion: is to display the group name only if the group item exists in the list after the…
-
17
votes5
answers15911
viewsHow to make a circle in CSS without Border-Radius 100%?
I can make a circle in css with border-radius. .circle{ border-radius:100%; border:10px solid red; width:100px; height:100px; background-color:purple; } <div class="circle"></div> But I…
-
1
votes2
answers987
viewsAngularjs | How to define a boot process for a controller?
I have an app full of Ajax that needs to get data via Webservice when the page loads. I’ve already initialized via ng-init but I don’t know how to have the controller "load" and execute the code…
-
0
votes0
answers34
viewsUsing Math.floor to calculate home time
Hey, guys, you okay? See if you can help me, I have 3 inputs, one of them put the date the employee entered and the other the date the employee was disconnected. The 3° input shows the home time,…
-
0
votes1
answer155
viewsRecyclerview No Adapter Attached; Skipping layout (Kotlin) How to resolve?
Oops guys, I’m having this problem. I’m developing a CRUD in Kotlin and I’m having difficulties in the database reading page... Once I enter Activity, loads the Textsviews and all the other elements…
-
-1
votes2
answers1598
viewsSend value of a <a> onclick
I’m trying to get the value of one <a> send it to a Javascript function, but I don’t know what’s going wrong. //HTML <div id="dicaDiv" class="text-center"> <p id="pDica1"…
-
5
votes1
answer110
viewsAllow new conditions to be added without modifying code
I am manipulating a .txt and I have to exchange values like M31 for T90 for example. My code is like this at the moment: //Change machine tools for Sodick if (_strLinesFinal.Contains("M50")) { _OS =…
-
0
votes2
answers53
viewsautocomplete works only with jQuery 1.2.6
Well I am using an autocomplete plugin with 2 input, where I put the value in 1 input and the 2nd and filled. The problem is that my system works with jQuery 1.7.2, because I have several functions…
-
3
votes1
answer3611
viewsMysql Workbench does not start
I have been working daily on mysql Workbench. It turns out that out of nowhere the tool has stopped working. I click on the icon and nothing happens. I tried to restart the computer as well as…
mysql-workbenchasked 10 years, 9 months ago Pedro Cunha 195 -
4
votes3
answers7464
viewsRound numbers in C# to decimal 0 or 5
I need to round up numbers in such a way that they only have a decimal value of 0 or 5. For example 1 -> 1 1.1 -> 1.5 1.4 -> 1.5 1.5 -> 1.5 1.6 -> 2 2 -> 2 Someone knows a simple…
-
1
votes1
answer133
viewsGenerate match keys between teams using a PHP array
Opa!! I have the following array on php, need to create a confrontation between teams and teams that are from the same group/array example Time 01 and Time 02 can not face each other in the first…
-
2
votes2
answers63
viewsCreate hatched area below normal distribution curve in R
I would like to create a gray hatched area, just like the one in the image below. I plotted the curve, with the data as follows: dados <- c(149.3355, 140.3779, 145.7254, 149.8931, 139.6168,…
-
6
votes2
answers929
viewsWhat is the difference between expressions : "int a" and "const int& a" as C++ function arguments?
Let’s assume I have two functions: int soma_a(int a, int b){ return a + b; } and int soma_b(const int& a, const int& b){ return a + b; } What would be the difference between soma_a and…
-
1
votes1
answer219
viewstenant application for multiple users
Well my doubt and while the approach of creating a database in the following scenarios Multiple Database, a user-created database Multiple Schemas, well would have only a single database, but each…
-
7
votes3
answers3657
viewsHow to group records by time range?
I have a table in Mysql, which stores visits on my site, having as fields: id | ip | date, being the date of the kind DATETIME. What I need is to separate these visits by peak hours. Example: Das…
-
0
votes1
answer147
viewsHow to divide 2 numbers represented by a circular list into C?
Hi, I’m writing algorithms for large numbers. I implemented the operations of sum, division and subtraction but for divide I have no idea just an algorithm to use with binary base. It is not an…
casked 10 years, 1 month ago Ale Chaito 25 -
6
votes1
answer186
viewsHow to verify sender using RSA algorithm
I had a doubt in the passing of my researches that I could not solve. Let’s see a form of end-to-end that uses RSA, Alice needs an hour to send her public key to Bob and vice versa to communicate,…
-
1
votes1
answer860
viewsBeautifulsoup - True href links
I was studying about Webscraping with Python and started using the bs4 bilioteca (Beautifulsoup). When I started picking up the tags a and the attribute href, I realized that I could not access the…
-
0
votes0
answers58
viewsShould I create constructor with Setter? PHP
Which best and safest method to create the constructor? Netbeans creates direct by changing the variable, but has how to use Setter. So, which is the best and safest method? For example: Without…
-
0
votes0
answers27
viewsOptimize Mysql query with Sub Select
I was having a problem of slowness in a select as below: select vendas.codigo, vendas.cartao_tipo, vendas.valor, vendas.datavenda, venda.autorizacao, cliente.codigo, cliente.nome, cliente.cpf,…