Posts by Joqus • 368 points
4 posts
-
1
votes1
answer99
viewsA: Chatbot Telegram: Multiple conversations and messaging confusion
The problem seems to be in managing the state of the application. You have only one instance of the object MainBOT which has an attribute called contexto. The value of this attribute will be shared…
-
0
votes3
answers187
viewsA: How do alternative language implementations work, such as Python in the JVM?
On Rhino’s website she says the following: Rhino is an open-source implementation of Javascript Written entirely in Java. It is typically Embedded into Java Applications to provide scripting to end…
-
5
votes4
answers5177
viewsA: How to handle vectors in a Mysql database?
When I went through similar situations I did something like: codigo vendedor produto quantidade data 1 3 1 5 12/12/2013 1 3 5 10 12/12/2013 1 3 3 7 12/12/2013 1 3 6 13 12/12/2013 1 3 9 2 12/12/2013…
-
19
votes3
answers2369
viewsQ: Definition of the day of the week in the Gregoriancalendar
I have the following code which is responsible for creating a Gregoriancalendar for handling a date. TimeZone tz = TimeZone.getTimeZone("America/Sao_Paulo"); TimeZone.setDefault(tz); Calendar…