All Questions

2
answers

What does "== $ 0" mean when inspecting a page?

When I inspected a page, I noticed that == $0 appears that is not part of HTML. What does this code mean? Are you part of JavaScript?     
asked on 27.07.2018 / 01:47
2
answers

Are there altematives for complex conditions in a lambda expression?

With lambda expressions it is possible to filter elements of a collection of objects by creating a stream of data according to the criteria passed in the expression for the filter() method, this guarantees you a way to manipulate the col...
asked on 29.02.2016 / 04:54
2
answers

How to convert byte to boolean [8] and convert back?

I need to burn some booleans into a file, and then retrieve them. I can write and read one or more bytes with Classes java.io.FileInputStream and java.io.FileOutputStream , so I need to convert 1 byte to an array of 8 booleans,...
asked on 01.07.2017 / 22:15
2
answers

What are the differences between Kernel and Micro-Kernel?

Studying about Sistemas Operacionais I came across concepts about kernel and micro-kernel . In my searches I found the following settings: Kernel    In computing, the kernel ) is the component   central operating sys...
asked on 24.02.2016 / 12:19
3
answers

Search between dates with between [duplicate]

I have the following search: SELECT * FROM ('agendamentos') WHERE 'age_data_agendado_para' BETWEEN "2016-08-28" and "2016-08-30" In the database, I have: But on my return, I can only search for two records, as print_r (): Arra...
asked on 18.08.2016 / 14:59
1
answer

Load parts list using AngularJS

I want to return a query using AngularJS and, when displaying on the screen using ng-Repeat , display only the first 10 records, and append 5 in 5 records, using the scrollbar * or just by clicking a button. > Ex: Virtual stores that sho...
asked on 16.11.2015 / 13:06
2
answers

eval vs ast.literal_eval: what are the differences?

In Python it's common to read that ast.literal_eval is an alternative to eval . Are the functions equivalent? What does one do to another also? In security issues, is there priority in using one or the other? What are th...
asked on 03.09.2018 / 14:37
3
answers

How to delete the last record from a table?

I was using the following code in mysql: delete from aluno where id=(select MAX(id) from aluno); But the following error appears:    Error Code: 1093. You can not specify target table 'student' for update in FROM clause.     
asked on 09.08.2016 / 19:30
2
answers

Memory Error When Inserting Millions of Records Using Entity Framework

I'm using the Entity Framework to do insert and update thousands of records. At first it was slow, but after putting the code below it improved the speed. db.Configuration.AutoDetectChangesEnabled = false; db.Configuration.ValidateOnSaveE...
asked on 04.09.2015 / 15:14
3
answers

PHPDoc - What is it, what is its usefulness and how to use it?

On these days, I've been doing a lot of files on frameworks, projects, etc., and I'm seeing several things I've never seen, one of them is PHPDoc (I got the name thanks to my IDE) about! Example : class Foo { /** * Constructor...
asked on 07.03.2016 / 10:08