« first day (2680 days earlier)      last day (2485 days later) » 

00:48
wheezes
 
4 hours later…
04:21
0
Q: Truncating text in donut chart android

ShadowI have created a donut chart based on custom requirement. But problem is text in bottom and side text are getting truncated which is not fitting correct. Let me know how to fix it? Here is code. public class Chart_daily extends View { private static final String TAG = Chart_daily.class.g...

04:58
@Shadow I think you want the android room
"At that point where you have decided to upgrade from aspiration to expectation and have begun to visualize an outcome, something incredibly important has happened, you have committed to the process of change." -Lorii Myers (source)
05:28
Hello stackoverflow.com/a/21424702/6468244 I have this answer in used for my problem but in my case I am adding row,col values in shapes (which is adding in forloop) and when i access shapes value I am able to get only the last pair of row and col ?
05:45
anyone here ?
@AbhiBurk I do not understand your question.
Zoe
Zoe
Nvm
Morning o/
06:02
o/
@JennaSloan I solved my problem. Really sorry to bothered you all.
wheezes
06:47
text.replaceAll("\\\\", "\\\\\\\\");
Zoe
Zoe
\\\\
[status-confusion]
The code I wrote replaces all of the backslashes in text with two backslashes.
I probably could've written it like this: text.replaceAll("\\\\", "$0$0");
I could use String#replace instead, but where's the fun in that?
Zoe
Zoe
^
07:29
what's really confusing is when you have to replace all single slashes with double slashes
you get like text.replaceAll("\\\\\"", "\\\\\"")
08:20
what I wouldn't give for the groovy triple apostrophes in java
especially for regular expressions
string is as it is written "\\\\\"" becomes '''\"'''
Zoe
Zoe
08:31
Is the main site offline?
08:43
working for me
Zoe
Zoe
It's working again. No clue what was wrong
09:27
13
Q: Systematic "This is our fault." on some links

CœurIt's unusual for me. I go to Performance questions about Generating Html Files from database. I tap on harmen's username. I'm directed to https://stackoverflow.com/error?aspxerrorpath=/users/176603/harmen with: We apologize for any inconvenience, but an unexpected error occurred while you w...

Zoe
Zoe
I know, saw it
commented on there too
O̾̈ͬ́͆͊̑ͪ̂̔͐͆́̆̑̐ͨ̍͆͏̨̢͔̲͉̤̝̳̪̘͚́̀ͅH̢͙̹̼̙͕͙̬̋̇̊͐ͣ̑ͬ̎ͯͬ̾ͪ̍̃ͩ̉̚͘͟͞ͅ ̣͙̣͚̞̯̮͓̪̲ͧ̾ͥ̇̐̄͟͠N̟̮̞̹̙̻͇̯̈ͮ̂ͣͨ̐ͫͬ̈͆̀́̀͞Ŏ̸̧̌ͮͫ̚҉̨͖̰̻̤̘̙̮̱̺͇̫͎͉̬̀!̒͂ͮͦ̎͊̔ͣ͟҉̶̸̲̖̮͍͙̭̝͙̹͕͕ ̧̡̙͈̱̣̄̌̾̈́̂ͪ͋̉͊̓ͫ̉ͦ͑̾̈́ͅI̡̘̥̭͙̪͇̫̦̼̳͐͒̓̆̑ͯ̋͊̅͛̅ͤ̓̀͘͟͝T̶̡̼̲̭͙̥̱̰̪̠̭̹͇̪̱͇̥̺̹̍ͬͯ̿̊̈́̉͑̅̒̇͡͝ͅ'̵̤̗̟̰̺̗͇̪̫̞͕̻͙̼ͤ͗ͭ̍̇̍͊ͯ̈̎̇̔̀͜͠͠S̸̵̭͙̫̳͇̬̣͓̩̥̖̼̟̩̰͈ͧ̉̇ͮ̿̈ͧ̍̈́̐̃̈́ͪ̿̑̚͟ͅ ̲̫͓͇͖̻̘͚͍͙̤̜͓͚̹̱̣̩̓ͦ̅̆͑͊̇͑̌̅̃̿̌̍͆͘̕͜ͅ@͆̐̿̍͜͏̢̜̪͔͍̬̭̣̝̤̹̹͈̥̖̲̣͚W̢ͮͥ̉͐ͫ̔̒̎̃̒̀̾͏̨̹͍̖̼̳̗̪̝̟̟̪̝͕͇̮̗̠͟͜Į̸̛͔͖̦̺̝̝̖̞̖̅̽ͪ͗̔͒̌̊ͧͪ͑ͣͥ͂͘͘E̴̶ͯ̑̏͝҉͓͕̗̺̭̣͍̭͍͙̘̜ͅT̈́͆̋ͪ̀̋̒̈ͮͥ͏̟͔̬̣́͟L̀̓̀̑̽̃ͨͫ̑̎͏̷̗͎̞͓̫̖͡ͅO̵̗̝͙̤̩̤͇͔̜̭̦̾̈́ͬͨ͛͒ͥ͗ͤ͊͊͜L̶̴̡͇͉̲͈͉̩̘ͫͤ̏̋̎͗ͧ̉̿͋ͯͩ̔̉̉͊͘!̷̶̢͔̟̠̬̠̰͔̰̘͓̞̠̞̤̺̺̗̓̂͑̎̀ͧ̅̂͌͐ͬ̃͊ͨͫ̋̊ͣ͟͡
09:40
?
Zoe
Zoe
/shrug
¯\_(ツ)_/¯
how dare you
Zoe
Zoe
Would you like the list?
list?
santa's list?
Zoe
Zoe
09:42
yes, the list of reasons how I dare
i couldnt care less, but ok
Zoe
Zoe
good that you couldn't care less, because I'm too lazy to write it
well, even though I could understand the lazyness, you shouldnt be bothered by writing an empty list
on a side note, having programmed in C-harp, I am definitely starting to value the Jaba restrictions of naming the file exactly like it's class and having only one (public) class per file
Zoe
Zoe
1. Because I can
2. Because why not?
3. Because I was bored
4. I don't have anything better to do
hmm... that last one might actually be a valid argument
Zoe
Zoe
10:12
I could go on, but I'm lazy
hmm, SO seems to have issues
Zoe
Zoe
Yup
49
Q: Systematic "This is our fault." on some links

CœurIt's unusual for me. I go to Performance questions about Generating Html Files from database. I tap on harmen's username. I'm directed to https://stackoverflow.com/error?aspxerrorpath=/users/176603/harmen with: We apologize for any inconvenience, but an unexpected error occurred while you w...

at this rate, the productivity of developers worldwide is going down by 90%
Zoe
Zoe
Yep
10:31
hello every one
what r u talking about?
@Y.Ido 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
Zoe
Zoe
10:57
@Y.Ido stack overflow being broken
@ArifNoumanKhan hiya ^^
@Zoe whatsup
Zoe
Zoe
Heading home (I'm done early on fridays :D). How about you?
early indeed
12 o clock
Zoe
Zoe
11:14
11:20 actually
hi every one
is there a way to rename a project in Intellij IDEA without having to make a new one and copy all the contents?
and I mean rename as rename all: directories on disk + metainfo
@o'rety right click on project name and refactor it
that changes a module name only
directory structure stays unaltered
i read this answers: stackoverflow.com/questions/21177495/… but they don't address it also
that's flabbergasting if you asked me, I see why one wouldn't want to move from something like Sublime to a real IDE
file -> project structure -> project -> Project name
that doesn't touch folders on disk, I tried it
11:28
@ArifNoumanKhan it is interesting how you think you can right click on the name of the project
that's only doubling in IntelliJ meta, different parts of it
as rety said, they are modules
lemme see
@Zoe great i am stuck ... used oshi lib to get processor id :D its working on linux but on windows it is not working :( java.lang.NoClassDefFoundError: com/sun/jna/platform/win32/Kernel32
dabbing*
sneezes
11:34
he said rename a project ! if he is renaming root directory thats how it is done ! i just double check it ... switch from project view to project files and then refactor
maybe this will help, but I already see they didn't want to make it easy
interesting
i never had to change the project's name though
@Wietlol i changed many times ! so
but i could see how one prefers to start working on something and figuring out the name later
@ArifNoumanKhan: that's dancing around semantics - why do you define "project" as something seperated from "root directory", can both exist without another?
11:35
renaming the folder in the file explorer works though
by defiinition, a project is basically the name of the concepts
the name of each module is the name of the applications within that project
where those projects or modules are located should not matter for their name
but it would help if their location would resemble the module/project name
it is not like how java files work that the file should have the same name as the class
this could be because file names are easily refactorable, but a project's/module's location is not
because multiple applications rely on the path which you would have to change in each application separately
hence why the name and location are separated
but that shouldnt mean it must be difficult to do it though
especially if you have .ipr based projects, it can easily be seen what the project's name really is
I don't claim they shouldn't be separated, but if they are separated or not is completely irrelevant. I defined "project" when asking the question as "directories on disk + metainfo". I thought it's pretty straightforward, that's basically what it boils down to - when you create a new project in IntelliJ it creates some structure in disk + it writes some metainfo in its .xml files. I wanted to rename BOTH, seperations and reasons for them notwithstanding
Now if the answer is - you can't do both, you can only do this and this separately (because... doesn't matter), that would be also a good, illuminating answer for me
So can you, or you can't? :)
11:51
it seems that you cant do it at the same time
renaming the folder did work for me though
Zoe
Zoe
@ArifNoumanKhan did you try on a 64 bit or 32 bit machine?
@Zoe virtual machine ,64 bit installed ... but on linux also 64 bit
I went with instructions from the last SO answer I pasted. 1) I refactored project name in the project view. 2) Closed Intellij. 3) Changed folder names. 4) Used Import Project and all the following dialogs (that are mainly about rewriting existing metafiles). And it seams to work
But... I have a feeling that doesn't address some metainfo that probably still lingeres in IntelliJ main configuration folder (~/.IdeaIC2017.3 in my case)
So that way probably I have now some ghost project that's bound to haunt me in some dialogs. But that's understandable when you employ a hack/woraround and not a designed solution
QED IntelliJ is lame software ;)
Zoe
Zoe
12:06
@ArifNoumanKhan Kernel32 doesn't exist on 64 bit then
Zoe
Zoe
12:20
Nvm @arif
You're using a sun package
TL;DR: don't. These are internal packages that should not be used
@Zoe it may have auto import i guess
i added jna lib and platform tho
Zoe
Zoe
12:34
either way, sun packages are extremely sensitive, as in the tiniest change in Java versions can break the class
just learned you can't delete a project in a sane way either: stackoverflow.com/questions/29511348/…
simply mindblowing
sun packages are deprecated and will be starting to be removed from J9 onwards
Zoe
Zoe
Morn @wonderb0lt Soarin :>
12:44
BORN
TORN
Zoe
Zoe
CORN
MADARA
HASHIRAMA
12:53
BANKAI
Hi there
(HI THERE ?) :p
Zoe
Zoe
lol
@Julo0sS HIYA THERE! HOW'S IT GOING? :p
Fine! Github is not free when you need a private repo. What about Bitbucket?
Zoe
Zoe
Bitbucket has some limits
It's mostly on team size though
But the free plan gets you unlimited private repos
for personal use, BitBucket is actually better imho
for businesses, I am not sure
Zoe
Zoe
13:04
I don't like the bitbucket UI tbh
Zoe
Zoe
on the website
> UT
Zoe
Zoe
oh
whoops
In my defence, I only slept 5 hours last night and the brainlag is worse than usual
I just tried to login to bitbucket and it fails, it gives me some kind of "dev f12" page in return...
error	"\"state\" query parameter is required"
13:07
@Zoe ok thats bad :D but for now i needed processorID so i used oshi which is dependant on jna :( .... any way i added jna platform jar also and now its working fine
@Zoe drink more coffee
Zoe
Zoe
I don't drink coffee @Neil
you should
Zoe
Zoe
no
I tried once though. It tasted horrible
13:24
it grows on you I suppose
Zoe
Zoe
nope
also if I based myself on the things I enjoyed when I was young, I'd drink only soft drinks nowadays
I don't think I could do that nowadays
@Zoe it really does.
they say your sense of taste changes once every 7 years
not to say you won't still dislike it, but you should give it another try
Zoe
Zoe
Let me rephrase :>
@Neil Ew
13:27
@Zoe I can't win against this argument
Zoe
Zoe
Exactly.
14:06
Happy Friday, Jaba!
Zoe
Zoe
(un)happy friday @Michael!
:>
@Zoe is my boolean NOT
Zoe
Zoe
Yes
No
Zoe
Zoe
Yes
14:19
Third state
@Zoe That's what sugar/milk is for. xD
Zoe
Zoe
Again, ew
15:04
Ew
I like my coffee like my soul... dark.
Zoe
Zoe
I like my coffee non-existent :>
15:16
com.jayway.jsonpath.JsonPath;
hola
does anyone know other packages that this for JsonPath.read()
*than
Zoe
Zoe
JsonPath is a library, so no
as in there aren't any
Zoe
Zoe
15:34
hey @geis :>
Okay! So, anyone here uses Bitbucket with NetBeans?
Zoe
Zoe
Use Git command line
^
People make fun of me for never having used a IDE git integrtion/git GUI
:(
I already used it with cmd line on other computers, working pretty fine. But here under netbeans I see "Team -> Remote -> " options! guess it's meant to manage git/merc from netbeans, but its not working... as expected
Remote Repository Updates
Branch Update : master
Old Id        : dfeb11053bf8a6d13a6091d8f35ca804fc9eb66b
New Id        : 627604...
Result        : REJECTED_NONFASTFORWARD
Local Repository Updates
Branch Add : origin/master
Id         : 627604...
Result     : NOT_ATTEMPTED
This ends up with "Remote repository contains commits unmerged into the local branch. Open output to see more information." ^
15:58
welp, try seeing what the command line says if NetBeans is too shitty to give you proper feedback :)
anyway, signing off. See you on Tuesday, y'all
Zoe
Zoe
@wonderb0lt cya Soarin :>
Zoe
Zoe
16:41
Hiya @ballBreaker
16:56
groans
The most powerful computers on earth cannot generate the number of computations it takes to run on two legs. (source)
17:33
Yeah, that's a cheesy one, isn't it.
Zoe
Zoe
hm?
<[^>]
18:15
@Zoe actually, I have found something very interesting
Zoe
Zoe
hm?
Zoe
Zoe
yes, kotlin primitives are classes
so you can null them
only with ?
but, it is "val"
and initialized to "null"
Zoe
Zoe
yes, so?
you can do public static final String s = null; too
18:18
yes, but why
why would someone in his right mind make such a property?
(I know the answer, but it is kinda interesting if you dont know)
Zoe
Zoe
you can just do : Nothing
it is actually not a final property
jpa hibernate prefers to ignore final modifiers and sets the value anyway
Zoe
Zoe
you should make it a const val though
but you can't set it yourself (apart from with reflection)
const val is a syntax error
Zoe
Zoe
nope
const val is used for compile-time constants (they're not set during runtime, and both are final once set)
18:25
const val inside a class is not allowed
only on top level or in objects
18:49
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA‌​AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA‌​AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA‌​AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Zoe
Zoe
@Wietlol busy atm, I'll validate later
19:06
I'm wondering if creating a Time class was a bad idea.
Probably.
Zoe
Zoe
Probably.
 
1 hour later…
20:32
...
Zoe
Zoe
Eclipse sucks. What more needs to be said?
21:13
@Michael even I know that it is not a good idea to create a date / time class
it is hopeless
like me
I cant get my website to be hosted
tomcat just wont install
and glassfish keeps giving me errors I cannot solve
 
1 hour later…
22:18
coughs

« first day (2680 days earlier)      last day (2485 days later) »