« first day (2888 days earlier)      last day (2055 days later) » 

12:00 AM
"Own 100 percent of your focus. The most challenging of endurance drills will bring you to a level of optimal mental and physical performance." -Lorii Myers (source)
 
 
2 hours later…
2:02 AM
reads a book
 
3:02 AM
Hey @geisterfurz007
 
3:43 AM
Wrong timezone. Try again in 1.5 hours
 
 
2 hours later…
5:21 AM
So roughly about now.
 
Zoe
Morning
 
user8622974
Morning
 
Morning.
 
6:15 AM
Morning
 
user8622974
Morning
 
Morning.
 
user9787547
6:52 AM
Hi all
 
@Domorodec Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
user9787547
Question to all learning JAVA - how long did you study JAVA per day before getting your first job? I mean like - e.g. you just passed some on-line course so each day you spent 1-2hours or you just learned in school few times per week and then you gained your core knowledge from your first junior position? Just curious nothing else...
 
7:07 AM
@Domorodec Why do you have Java all capitalized?
 
user9787547
@JennaSloan just probably bad habbit...sorry
 
@Domorodec it's never ending process dude, I m still learning.
 
user9787547
@Simmant And if you consider your knowledge before getting first job - if you are employed like some programmer - where did you get? like genericks or more deeper?
 
well, in my case my first employer tested me on basic things like mathematics, oops concept and basic java, and I also do same when ever I have to pick for anyone for internship or fresher. but however it may vary organization to organization.
but this are pretty generic things.
 
user9787547
@Simmant aha, that sounds cool. Really.
 
7:19 AM
it is cool B-)
and hope this will help.
 
user9787547
And what is more common task you get - like to create brand new application or function just from scratch or just add some another feature to already existing application. Yes all info helps me to create some basic picture
:-) thanks.
 
When I was fresher, that time my employer was deployed me on application, to provide support and understand business, and after 1 year when my boss got trust on me then he gave me complete module to develop and that was on android.
 
user9787547
@Simmant amazing...lucky one. Ok. Thanks a lot.
 
In general as fresher mostly we deploy on some pre-develop application, and as we give appreciate number of time in organization then they will give more responsibility, like how it work in natural way.
 
Good morning. A quick preferred style question:
Would you rather write

mStorage = tmpStorage;
return tmpStorage != null;

or

return ((mStorage = tmpStorage) != null);
hey, where are my indentations
 
7:28 AM
XD but when I see my old code .. then I say .. what the hell I was did with that module :P
 
Okay, how do you put code blocks? Not by 4 spaces?
Maybe this way - would you rather write
`mStorage = tmpStorage;`
`return tmpStorage != null;`
or
`return ((mStorage = tmpStorage) != null);`
I know it's totally irrelevant for functionality, but I just wondered if anybody actually uses the second form.
I give up on formatting in this chat xD
 
@Domorodec (y)
 
Zoe
7:47 AM
@LWChris four spaces. Newlines break other markdown (I.e. bold)
And the message in its entirety needs to be indented with four spaces
If there's one line without it, it breaks code formatting
 
Ah, okay, so you can't combine Normal text and code. Too bad this chat lacks a preview.
@Zoe I remembered I did some 4-space-indentation code, but apparently that was a whole message
 
Zoe
8:11 AM
@LWChris it hasn't been developed in a couple of years
So blame the chat devs
 
8:24 AM
@Zoe I don't blame anyone for anything. It just would've been a feature that's nice-to-have. :)
 
@LWChris the chat is not a code dump so no support
 
Newlines break formatting. That's never a good behaviour, one would think
 
Good morning everyone :)
 
hi
 
@LWChris dont use an assignment as expression if you can avoid it
 
8:36 AM
@Wietlol Yeah, I don't like it either. Not even in while ((line = reader.readLine()) != null) where it makes a limited amount of sense.
Sometimes Java appears like a wide field of missed opportunities for reasonable syntax and sensible concepts... :/
But a lot of software does...
 
it does because it is a language feature
the same issue C# has with dynamic
it was introduced as interop between languages
 
Yoooooooooooooooooooooooooooooo
My project is approved!
 
result was that js/php etc developers wrote dynamic everywhere
@geisterfurz007 Gratz
I think
what is your project?
 
Cheers! No need to look for something else and start working on something new.
Writing a mobile application that lets you upload images to a server. And a lot of stuff around that.
 
like imgur?
its always good to know that someone else already did what you did, but then many times bigger and many times better
 
8:49 AM
Hi!
 
Yeah not like imgur. That is where "lot of stuff around that" comes in. Current location is used to determine nearby streets, streets, images and some other information are packed into a database entry. Also authentication through my companies active directory and a history of issued database entries which resemble a job for people in the company.
There is an existing desktop application for that stuff and the mobile stuff is an extension for that.
Hey Ita :)
 
@Wietlol Tailor made > generic
 
hey guys
 
Hi Geis and Joseph!
 
public multiply(BigDecimal pointCurve,int power ){pointCurve = pointCurve * power;
} can someone guide me as to how can i modify the reference to my object pointCurve please ?
 
8:59 AM
you cant modify the reference
and I am happy about that
you can also not modify the values inside that object
since BigDecimal is immutable
you need to return the result of pointCurve * power
 
/javadoc BigDecimal#multiply
 
(also, do you use an OO lib or does that syntax not work?)
 
ofcourse for me, that syntax works, but I didnt expect anyone else to have such compiler plugins
 
Zoe
9:06 AM
@LWChris /shrug
 
10:00 AM
/no
 
/yes
@Michael pls fix
 
Hello world !!
 
54
Q: How users flag in chat or react to flags is totally broken

WarrenFaithWe talked about the latest changes in Python and if we share the view on "offensive" words like master and slave (in short nobody seemed to agree). So I was also making a sarcastic statement about other terms and phrases that seem to be totally offensive when ripped out of context. And to absol...

Hey Cement!
 
Hey Geisy, what's up ??
 
10:09 AM
Pretending to work as always.
More precisely: How to upload images to a JavaEE application.
 
haha, same here buddy my task is just to understand what to do next :P
@geisterfurz007 hmm, I guess I can do some thing for you.
long back I tried some thing, let me check.
 
Don't put your time into it ;) I have to learn it anyway :D
I appreciate the offer tho :)
 
@geisterfurz007 lolzzzzz XD, all the best my boy.. but let me know if you need tutorial link.
 
I will figure it out :)
 
okk :)
 
10:14 AM
Nice
 
Cold != Fire
 
Sim != mant
 
Wiet == lol
 
Excel == shit
 
geisterfurz == 007
 
10:17 AM
geisterfurz == ghost
 
@Simmant that is an assignment!
 
@Simmant So I am 007007 now?
 
xD
007007 nice name
 
public class Excel implements Shit
 
corrected, good catch :P
 
10:18 AM
@geisterfurz007 the name is Bond, Bond Bond.
 
(Bond)
 
Bohnd
 
Aug 14 '17 at 11:55, by geisterfurz007
And it takes longer than 10 seconds to create a graph out of 1048576 lines with 4 columns... Shame on you excel :P
 
why you put "bond" in brackets??
 
> Excel does not let me import 170 MB csv files :c
Excel doesnt even do csv files
it thinks they are semicolon separated values
and it doesnt take escaping into account
Sep 10 at 14:42, by Wietlol
mumbling stupid shit excel shit formulas shit libraries shit world shit life mumbling
 
10:21 AM
@Zoe Can we get a knowyourmeme command please? I feel like I need that one too often :P
 
now all I get is ExcelErrorValue
 
@Wietlol I think you can set the seperator somewhere.
 
I think CSV means Comma Separated Values
 
This conversation is way too good right now - geist and weedlul keep it up
 
Excel needs a reminder for that.
 
10:23 AM
not Shit-What-The-Heck-Do-You-Want-As-Separator Separated Values
 
Now that I am asked to continue I feel a strange urge to take my lunch break...
 
it is about that time of day
@geisterfurz007 I thought Ocelote was a special brand of scarfs
 
That might be true. I was talking about Revolver Ocelot-without-e tho
 
@geisterfurz007 lolzzzzzzz
 
@geisterfurz007 what's for lunch?
 
10:27 AM
Bread.
Creative, eh?
 
Just bread?
 
Maybe nothing depending on how well this stuff here goes.
Well there is cheese on it...
 
un croissant!
et un baguette!
et la trotoir!
 
avec un peut de fromage!
oui oui je suis une voiture
 
@unknown o_O md5 + sha 256 ???
 
10:33 AM
oui
 
meh, I give up in the favour of food. Later o/
 
<?>
 
<francais>
I'm so fubar irl right now
 
USM
One DB question. What is NoSQL , and how it is different from traditional SQL Databases?
 
It's just not that.
 
10:42 AM
NoSQL is just, No...SQL
 
USM
oh come on
 
It could be anything.
 
NoSQL is often SQL
 
USM
oh come on
 
@Wietlol No.
 
10:44 AM
NoSql is Not only SQL
in most cases, it still supports SQL
 
USM
@Wietlol go on...
 
that was it
 
jokes apart, NoSQL meaning not only sql, like in NOSQL db mongo-db, Elasticsearch etc you have things similar to Databases but they come-up many complementary things, like document, indexing, HTTP base access etc.
 
Zoe
@geisterfurz007 is there a free api?
 
@Zoe hi :)
XD
 
10:54 AM
NOSQL = Nitrous Oxide Systems Query Language
Someone give me money, the QL in SQL actually stands for "Query Language", I googled that after posting the message.
How fucking creative is that?
 
@unknown very creative...
 
Other people call their languages "Java" or "Python", and that dude just came up with "Well it's a structured query language, let's just call it like that"
 
@unknown SQL is just the standard, names for it are T-SQL MS-SQL, etc
 
morn
 
user8622974
morn
 
11:00 AM
morn
 
USM
@Simmant and i was thinking NoSql mean No need to write SQL
 
Yeah you just yell at your computer and tell him what to do.
and yes, I just expected your computer's gender.
 
Zoe
@Simmant hai
 
geis goes to lunch
 
@USM yup pretty much, as you have direct methods.
 
@ItachiUchiha What is copied <<= 1
(In the for loop in the implementation of repeat)
Also: What is the difference between trim and strip? strip removes all whitespace even within the string?
Shiny stuff tho!
 
@Wietlol Just as a clarification: for Excel, the expected separator in CSV files depends on the system's locale.
Unfortunately, someone long ago forgot to specify the Numberformat for CSV
hence they use localized contents
 
/javadoc MultipartConfig
 
@geisterfurz007 Sorry, I never heard of that class. :(
 
11:15 AM
Ah shit.
 
Zoe
@geisterfurz007 404: answer not found
 
Do you put together your google or wikipedia links with an API?
 
@Wietlol: In Germany, we don't write "13.37" but "13,37", so we cannot use the comma as a separator in CSV. If your OS locale is English, Excel will expect "," as separator and "." as decimal separator. For German, it expects ";" as separator and "," as decimal separator. Same for formulas, =IF(COND,TRUEVALUE,FALSEVALUE) is =WENN(COND;TRUEVALUE;FALSEVALUE) when Excel is set to German.
 
@geisterfurz007 Short hand for copied = copied << 1
Just like +=
 
Oh I see! Thanks :)
All that bitstuff is something I should take a closer look again some time.
 
11:21 AM
@ItachiUchiha reminds me of the questions about the infamous "arrow operator": if (i<--x)
Why is the Leaning Tower of Pisa is only half as tall as planned? Because it shifted a bit to the right. Haha.
 
See Zoe? That was an intelligent joke.
 
Zoe
@geisterfurz007 no, but Wikipedia is page-based. This is search where results matter. I link google because the API would max allow 100 calls per day. So, I ask you again; is there an API?
@geisterfurz007 xd
 
@Zoe There is not but knowyourmeme is page based as well (at least "https://knowyourmeme/memes/%s", Collections.join(args, "-") or something like this should give the proper result.
If you know what you are looking for, this is the same thing as wikipedia.
 
@geisterfurz007 Is it your website ??
 
It is not.
 
11:33 AM
^
 
I may be retarded but not that retarded :)
I think at least
 
@geisterfurz007 kym is not that good anymore :/ It's overcrowded with ads, popups, and anti-adblock-scripts. Meh.
 
Still good if you don't understand something and are at that point where you are too afraid to ask.
 
posted on September 19, 2018

archive - contact - sexy exciting merchandise - search - about ← previousSeptember 19th, 2018nextSeptember 19th, 2018: HOW TO INVENT EVERYTHING IS OUT NOW, aaaahhhhh!!– Ryan

 
11:46 AM
@LWChris that is the most bullshit thing I have ever heard
13,37 is a perfectly fine CSV value
 
it's two columns
 
a,"13,37",b
In computing, a comma-separated values (CSV) file is a delimited text file that uses a comma to separate values. A CSV file stores tabular data (numbers and text) in plain text. Each line of the file is a data record. Each record consists of one or more fields, separated by commas. The use of the comma as a field separator is the source of the name for this file format. The CSV file format is not fully standardized. The basic idea of separating fields with a comma is clear, but that idea gets complicated when the field data may also contain commas or even embedded line-breaks. CSV implementations...
 
Ah, that, no, then it's a string, not a number
 
as defined by the standard
@LWChris there is no difference
a csv is a table of strings
it doesnt have a destinction between numbers and strings
1997,Ford,E350 == "1997","Ford","E350"
the same as everything else, values must be escaped
if you dont, you end up with a subset of possible values
that is unacceptable
 
Well, anyway, at least I know that's how Excel treats the files.
Might not be the best idea
 
11:50 AM
but we already confirmed that Excel is shit
... several times
 
like assuming 4-03 means 3rd of April (or 4th of March on German system) is a bad idea
Or making 1900 a leap year to retain compatibility to Lotus-1-2-3
or storing times in floating point values
and the list goes on forever
 
This is so stupid! I include a new dependency in my project, don't even use it but I cannot deploy the thing anymore
 
including but not limited to: graph-data-notation, boolean parameters to make functions do something completely different, "ANZAHL" and "ANZAHL2" as functions, which are obviously completely different functions, having 3 sheets by default, making approx. 66% of all sheets in any Excel file superfluos, deciding to use the sheet name as file name in the container so it is restricted to valid file name characters, lackluster differentiation between data-value and display-value, etc.
 
A mysterious, new "mad snake disease" causes captive pythons and boas to tie themselves in knots. Other symptoms include "stargazing," which is when snakes stare upwards for long periods of time. Snake experts believe a rodent virus causes the fatal disease. (source)
 
@Feeds philosophy = suckers?
 
12:01 PM
Any ideas why that might happen? :)
I just want to get that MultiPart thing to run so I have at least a little achievement today :/
 
No achievements for you. `_´
 
Yeah true. Isn't enough that my project likely won't go live anyway and I still have to complete it.
 
Ugh. I hate those prospects. Kills all my motivation. I need to know it's good that I work on something or I don't enjoy working on it.
 
Exactly. The only purpose it fulfills now is to be my apprentice project.
So I have to end it.
 
Have you some kind of "Verbose" mode for the deploy process?
 
12:06 PM
You mean regarding the error I get?
I have the default logging activated on my local wildfly so I guess that counts.
Deployment is done through a gradle artifact which also logs stuff.
 
Yeah. Only thing I can come up with is a problem with dependency resolving like the newly added dependency adds some deeper dependencies which anywhere in this recursive chain contradict other direct or indirect dependencies you already have.
 
That is the only thing that would make sense. However the exception does not. It tells me that class org.apache.http.client.methods.HttpUriRequest does not exist which I don't use anywhere there.
Let me check the dependencies of that thing.
Nope. Shouldn't cause it. Anything it should need is in the modules of the wildfly.
 
@LWChris if you use dates, you use ISO 8601
 
230
Q: Android Gradle Apache HttpClient does not exist?

ApquI am trying to convert an IntelliJ project to the Gradle system of Android Studio but I am running into errors with Apache HttpClient? Am I missing something, the errors I am getting are as follows: Error:(10, 30) error: package org.apache.http.client does not exist Error:(11, 30) error: package...

 
Not android and the wildfly server has the same version internally
And it is only that class that is said to be missing. Package and stuff all work.
 
12:21 PM
I know, but I had the hope that the second answer might help you with the alternate dependency of legacy packages.
But to be honest I have never worked a lot with Gradle or third party Java libraries.
 
Everything has worked well before and the class definitely exists.
IntelliJ suggests it when importing
 
@Wietlol It was a text value, not a date. When I type "4-03", it converts the value to a date. When I press Ctrl+Z, it clears the cell. When I change the cell format back to "default", it changes the value to 43163. If you change the format to "Text", it is no longer aligned to the right by default. So does prepending a single quote. So you need to format as text, then type again, then change content alignment to right.
One of those situations where you demand for the "Stop trying to be clever" checkbox in the options, or even better a toggle button in the ribbon's quick access bar.
 
@LWChris android removed the httpclient in api 23
aka android 6
 
@Cold Fire Thanks, but I'm not using it anyway. @geisterfurz007 is currently experiencing a weird dependency issue that leads to an exception that this particular class was missing.
 
yeh CF isn't the best one in seeing something in context.
 
12:31 PM
@LWChris well that is why i mentioned it was removed
hence the error genius
 
But @geisterfurz007 is neither in Android context nor am I :)
 
sigh why did you link a android question then?
 
Because some of the answers there provide solutions that might also work outside of Android
 
Ok... I checked the lib folder in my generated war...
For some reason the httpclient library is not included when adding the other dependency and I have no clue why.
 
as a matter of fact i dont think any solution there will work for non android systems
 
12:35 PM
@geisterfurz007 But if you remove the new dependency it is back in again?
 
I remove that dependency, gradle clean war -> httpclient and httpcore are in the lib folder
I add it again, gradle clean war -> both are gone.
Yeah.
 
Hm
 
nice \o/
 
Yeah not nice genius because I need that dependency. That is why it is called dependency.
Because my project depends on it.
 
Again and again I'm surprised which rooms don't exist...
 
12:44 PM
a gradle one would be nice.
 
Jenkins or Kubernetes....
 
not surprised at all
@geisterfurz007 well before you did not have only 1 dependency now you have 2 gone progress :D
 
Please use at least one of your 2 braincells before pinging me again, thank you.
 
sigh so much for progress
 
I just hate it if someone (including me) posts a question and some retard passes by and just posts random bullshit that is either irrelevant, useless, unfunny or all together. I enjoy hanging out here but if I ask a question I either expect something useful or ignorance. You are neither and according is my reaction to your rain of useless messages.
 
12:52 PM
@geisterfurz007 Do you use ProGuard or something like that? Maybe an exception to that class in the linker config helps? Had a similar problem under Xamarin a few years ago where ProGuard removed some class that was dynamically loaded at runtime unless I excluded it from optimization.
 
I wouldn't know if I used it.
 
I figure you already read docs.gradle.org/current/userguide/…
 
I didn't. Hang on.
That gives me something new to google though...
 
1:16 PM
hi guys
 
@Doflamingo19 Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
I have a question for you.
Suppose to have a CRUD and I have implemented with the REST Operation.
I do CRUD operation on the link localhost:8080/Operations
so I put at the start of class this @Path("Operations") and on this link I do my REST operation (GET,POST; PUST;DELTE)
now I need implement a search operation but I don't know how Ican do
I use the same link localhost:8080/Operations or i use this link localhost:8080/Operations/search?
becasue in the link localhost:8080/Operations I have implemented two GET ( a get that takes id and return an object and a get that return all object in my project?
who is the best solution?
 
morning everyone
 
Hey rabbit.
@Doflamingo19 Use a path parameter. Your path will look like localhost:8080/Operations/{id}
That is the most common way of getting something by id I think
 
hiya rabbit
 
1:35 PM
i read this /operation?name="dog"....
 
@Doflamingo19 for search I guess you should try with "like" in sql along with your rest api.
 
"PUST;DELTE"
 
pulled my back last night T_T
 
take rest then
 
take rest dude
 
1:47 PM
take rest boi
 
un == known
 
I was gunna stay home today aha
but fuck it
don't wanna waste a day for that
Plus there's a massage place below my office so I'm going to go there at lunch ^_^
 
nice
 
yah
Brought my heating pad in too
 
@Simmant so I'm knownknown?
 
1:57 PM
@ballBreaker lucky you.
yup XD
 
summon @Zoe
i need some kotlin help
where is zoenoooooooooooooooooooob
 
Hello guys, I have a JSONResponse something like this, This respose is weather forecast for 5 days.
 
@JayDangar Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
I want to update this response and also cache it for UI
 
@Simmant Yeah it opened the same day I started working here baha
 

« first day (2888 days earlier)      last day (2055 days later) »