Interesting questions
-
1
votes1
answer1012
viewsRuby on Rails - Undefined method `errors' for nil:Nilclass
I have been trying to insert Alert in a form but I have the following error: undefined method 'errors' for nil:NilClass In my form I make a reference to the error: <%= form_for :exercice do…
-
0
votes0
answers5
viewsError running Servlet Nullpointerexception
Hello, create a Servlet to be able to make changes to users registered in the bd. In this excerpt I try to recover the employee data by id and redirect to the change page: @Override protected void…
-
-2
votes0
answers25
viewsSystem with problems in hosting, but on the computer runs perfect
Good evening, person! So I created a login system and protected pages per session. I tested the system on my computer and it is working perfectly. It runs all right (both the login area and the…
-
0
votes1
answer361
viewsJava FX - Threading Issues
Good morning, I would like to sanction a question that is disturbing me, as I do to edit a Label from a Thread using a button? Whenever I run the code I get an error, but if I run this same code…
-
1
votes1
answer1203
viewsHow do I change my IONIC app id to add in Google Play Console?
I’m trying to publish my application in Google Play Console, but when adding the SDK appears the following message. Use a different package name. "io.ionic.Starter" already exists in Google Play.…
-
1
votes0
answers82
viewspython with redis
Good night, I’m trying to make a simple messaging application that unites Python with Redis, I was able to connect to the database in a simple set/get, but I’m not able to do any hashing to…
-
2
votes1
answer222
viewsDynamic table using database and Shiny
I’m creating a dynamic table using Shiny, but I have some questions: 1° how to integrate the column name of my database into a selectInput() so that only selected variables appear in the table and…
-
2
votes2
answers994
viewsShortcuts in visual code - Ubuntu 18.04
Today I installed the visual code on linux, I used it before but in windows, it happens that some shortcuts are not working and this is damaging my productivity. One of these shortcuts and the most…
-
2
votes3
answers1534
viewsCreate global function in Angularjs?
I’m working with $mdToast which is used in multiple locations for notification. I would like to create a global function for him, which would be something like this: function alerta(texto){…
-
2
votes2
answers185
viewsRead XML file with only one Parent Node
I need to import an XML file that has the following structure: <?xml version="1.0" encoding="UTF-8"?> <Registos>3</Registos> <Socios> <id>1</id>…
-
6
votes1
answer270
viewsVisual Basic Excel - Delete an array name
I’m here with some problems, I never touched Visual Basic and I was wondering if it would help me to make a list I have in Excel faster (Through Visual Basic Excel). It’s very simple, I just want to…
-
2
votes1
answer160
viewsINNER JOIN with Where
I have the following tables : permissions_users id_user id_permissao permissions - id - permission I have a session variable where I have the id of user , I need to do a table search for id and…
-
0
votes1
answer1013
viewsHow to search for users in the database without select option
Good staff always found bad a method I use to search users in the database in a select option, when I have many records the page takes to load and only tends to get worse, someone has some idea of…
phpasked 11 years, 8 months ago Rafael Assmann 381 -
0
votes1
answer730
viewsPass object by Ajax
I would like to know how to get through an ajax request, bring to my site a list of elements, where these elements are lines of an sql query. For example, I have an employee chart. In the form, when…
-
2
votes1
answer133
viewsHow to close a Serversocketchannel?
I have the following code: Selector socketSelector = SelectorProvider.provider().openSelector(); ServerSocketChannel serverChannel = ServerSocketChannel.open();…
-
0
votes0
answers683
viewsHow to record and display images using Postgresql and Laravel 5.1
I have the following code in my Controller to save the image in the database, not any error so I think it works right. $data = Input::file('assinatura'); $escaped = bin2hex($data);…
-
0
votes1
answer42
viewsBottle: accessing the same session on different Canister devices
Hello, I am developing a project to study character and I am with a great inconvenience. I’m using: astroid==2.0.4 Bottle==0.12.13 canister==1.5.1 Colorama==0.4.0 cymysql==0.9.12 Cython==0.29…
-
10
votes1
answer133
viewsIs there any strategy for a "de-collapsible" database?
I’ve seen on some sites (like even Stack Exchange) a possibility to "undo" an action in the database (like in Question Edits / Answers). I’ve been thinking about some possible solutions, but I’m…
-
3
votes1
answer223
viewsOverride Property() in Child Class
A few days ago I asked a similar question to this, however, the method employed in creating the property was via decorators (@property and @name.setter). Here I am creating the property via function…
-
0
votes1
answer254
viewsModal Bootstrap being closed
I have the following scenario: a link that opens a modal. <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport"…