Time |
S |
Nick |
Message |
04:05 |
|
|
nanoz joined ##friendlyjava |
05:45 |
|
mr_lou |
aditsu, Uninstall Windows. Install Linux. ;-) |
09:28 |
|
|
mr_lou joined ##friendlyjava |
10:03 |
|
aditsu |
mr_lou: uh.. I AM using Linux |
10:07 |
|
aditsu |
I think Chromium is the biggest culprit.. with KDE a close second |
11:44 |
|
mr_lou |
Oh... never had such problems with Linux myself. |
14:15 |
|
aditsu |
Linux doesn't magically protect you from memory leaks :p |
14:21 |
|
mr_lou |
All is relative. |
14:21 |
|
mr_lou |
Being used to Windows, Linux is magic. |
14:39 |
|
aditsu |
sigh.. I need to write better commit comments |
14:41 |
|
aditsu |
"why" is often more important than "what" |
19:12 |
|
|
nanoz joined ##friendlyjava |
21:57 |
|
|
Chaterz joined ##friendlyjava |
21:57 |
|
Chaterz |
hi |
22:03 |
|
aditsu |
Chaterz: hi |
22:03 |
|
Chaterz |
how re u aditsu ? |
22:04 |
|
aditsu |
not too bad, and you? |
22:04 |
|
Chaterz |
trying to read a bit about java |
22:05 |
|
Chaterz |
is this a helpfull channel for java source ? im in the beginnings |
22:06 |
|
aditsu |
we try to help, but there's not many people here, so sometimes you need to wait for an answer |
22:06 |
|
aditsu |
anyway, I'm here now :) |
22:07 |
|
aditsu |
do you know other programming languages? |
22:09 |
|
Chaterz |
just learning java |
22:09 |
|
Chaterz |
one sec i go to pastebin something |
22:11 |
|
aditsu |
if it's your first language, then you need to learn programming concepts at the same time |
22:11 |
|
Chaterz |
https://pastebin.com/ixAi7UrH here i need to make an if {} else |
22:14 |
|
Chaterz |
im making the update part in a crud with spring boot . |
22:15 |
|
Chaterz |
and ... here in this part I want to check if the item/product is not empty, then update... |
22:15 |
|
aditsu |
just a minute.. |
22:15 |
|
Chaterz |
ok |
22:17 |
|
aditsu |
uh.. you're just learning java and already trying to use a Spring framework? |
22:18 |
|
aditsu |
I'm not familiar with it, but maybe your issue is simple enough |
22:18 |
|
Chaterz |
not exactly im following a course. |
22:18 |
|
Chaterz |
yes i pure source this part |
22:18 |
|
Chaterz |
is* |
22:19 |
|
Chaterz |
do u understant the source in that paste ? |
22:20 |
|
aditsu |
somewhat |
22:20 |
|
aditsu |
I'm not sure what's happening with that model |
22:21 |
|
aditsu |
anyway, what's the problem? |
22:21 |
|
Chaterz |
that model works. is for add products, but i want to use the same, for update |
22:21 |
|
Chaterz |
let me explain. i want to try |
22:21 |
|
Chaterz |
then.. i have this other method https://pastebin.com/GUKibB6n |
22:23 |
|
Chaterz |
Could I introduce If else in the first paste for check if the product exist ... update and redirect to other site or in the same site. |
22:24 |
|
aditsu |
sure you can add an if statement |
22:24 |
|
Chaterz |
this is not my native language im trying to explain. :D |
22:24 |
|
Chaterz |
where exactly ? |
22:24 |
|
aditsu |
at the beginning of the method, probably |
22:24 |
|
aditsu |
such as line 11 |
22:24 |
|
aditsu |
in your paste |
22:25 |
|
Chaterz |
ok |
22:27 |
|
Chaterz |
need something more |
22:27 |
|
Chaterz |
if (Product exist ) {} ... |
22:27 |
|
aditsu |
that's not a valid condition |
22:28 |
|
aditsu |
I don't know how you can check if a product exists |
22:28 |
|
aditsu |
the course should explain it |
22:29 |
|
Chaterz |
yes im far away, i need to return the old info in the input field in the Form if not exist create but if exist update .. |
22:29 |
|
Chaterz |
im mixing freemarker,html,java. |
22:30 |
|
Chaterz |
i need to learn some freemarker anotations like ${product}!"" |
22:31 |
|
aditsu |
seems like you're trying to learn A LOT more than "java" |
22:31 |
|
Chaterz |
using that modal could i return the that using the if,else{} anotations ? for example im making a setName now buf if exist make a getName... |
22:32 |
|
Chaterz |
noo, this is easy but im a little stuck |
22:33 |
|
aditsu |
well, I don't know what you're asking |
22:34 |
|
Chaterz |
Np. anywat thanks for answer |
23:52 |
|
|
CAP1427 joined ##friendlyjava |