« first day (1768 days earlier)      last day (3177 days later) » 

1:19 AM
Hello!
 
with what
whats wrong with what you're doing
 
@mowwwalker Why are you linking to a comment?
 
@mowwwalker Also "And no, 𝗔𝗻𝗱𝗿𝗼𝗶𝗱 𝗶𝘀 𝗡𝗢𝗧 𝗝𝗮𝘃𝗮"
 
@Unihedron, Sorry, I copied the link I got from a notification and forgot to remove the anchor. @Aequitas, it's not allowed in java, so it won't compile
@user3781180, what?
 
oops^ cat stepped on keyboard
 
1:31 AM
oh wow
the moment I started IntelliJ Idea, my laptop fan screeched and the built in keyboard is heating up rapidly
/me prepares pan to fry an egg on
 
@mowwwalker I'm trying to say that this is the java room, and it might not be the place to ask that question since it's about android
 
maybe allocating so much memory was a bad idea
 
@user3781180, It's not directly related to Android though, just a general Java design question
 
@Unihedron did you manually allocate memory outside the heap?
like, in kernel mode for C++ equivalent for java?
 
@user3781180 I edited idea64.vmoptions.
 
1:32 AM
@mowwwalker ah, let me see
@Unihedron No idea what that is, I used eclipse woops
 
-Xmx1G
 
Why would you want static abstract?
if you removed the static and kept a reference to your DB in each object via injection
that would work just as well
I never knew static abstract wasn't allowed though(never done that)
 
I want to be able to call static methods defined on the superclass that use static data from the subclass
Which doesn't seem unreasonable..
 
the superclass cannot access the subclass as subclass, only as a different class
that's why static methods do not inherit and can be "hidden".
 
^ what uni said, sorry I was tending to my cat
you don't want your super class depending on the subclass
 
1:41 AM
I know I'm not able to do it, I'm looking for advice on a way around that
 
change the design
I'm only addressing the "doesn't seem unreasonable" part
 
Riiiiight... to what though? You didn't say why it's unreasonable..
 
I'm not going to go into why it's unreasonable because an answer would be too long for this format.
I just stated the use case for static methods.
 
I mean, if you really want to somehow do that...
 
@user3781180, well I did ask..
 
1:45 AM
well no you asked for a better method?
 
Are you guys fucking with me?
 
Of course you could just have a static constructor for the database object
and then just reference that in your static method
whats the problem?
"s there a better way to accomplish what I'm trying to do?"
^that's what you said
@mowwwalker you can also have a static class wrapped inside of your DatabaseObject class
called like id ont know databasehandler
static abstract class DatabaseHandler{ /* put your stuff inside here*/ }
and that way you'll be able to extend the class that contains that abstract class as a non static object
is that what you're asking? Nonetheless I'm not fucking with you, I'm just telling you that it's not a good idea
take that with a grain of salt because Uni is a better programmer than I, so you should consult him
 
Alright, thanks for trying to help guys :). I'll see if I can figure something out.
 
2:04 AM
Yo
 
suuup
 
Dunno
 
2:34 AM
o
 
 
2 hours later…
4:56 AM
@Vogel612 Thanks vogel! your method totally worked. I would upvote you more if I could for that response. Teach me how to java please :')
 
 
2 hours later…
7:19 AM
Morning
 
@Vogel612 o/
If I remember correctly, you have used git-svn before, right?
 
nope
You wanted to make me, but I didn't
now I'm using git and I'm happy..
 
I never wanted to :P
Now I am in a situation where I have to use it :/
 
morn
 
7:32 AM
I need someone who has past experience with git-svn
@MadaraUchiha ^^
 
@ItachiUchiha I have very little experience with git-svn, but ask away.
 
congrats @mad ^^
 
@deadlydragon00 Thanks :)
 
@MadaraUchiha Oh yeah, congrats man! :)
Mornin guys, it's 12:40 AM for me though, so I must be going to sleep soon haha
 
@ShaUMacho pls behave
 
7:43 AM
@MadaraUchiha I did a normal git svn clone with a svn url which doesn't contain to the base svn repository. It is rather a URL to one of the directories inside the trunk.
In such a case, it doesn't show me remote, any idea why?
 
@deadlydragon00 He can't speak at 1 rep
 
@deadlydragon00 Ignore him, the mods are notified
 
 
2 hours later…
9:41 AM
@Vogel612 Hey vogel, I did your approach, and it works great. However, performance starts to really suck after 3-4 threads per client. 3 tasks which should take 20 seconds/100 seconds/100 seconds ends up taking 80 seconds/300/400 when they're all being processed in parallel threads. Now, I'm not too experienced in terms of multithreading benchmark
but I don't think it should take that long, right? Maybe I'll go review my code
 
10:02 AM
@user3781180 wat..
 
@Vogel612 here, I'll show the S.O.P
in a second
 
paste-service please...
 
sure
@Vogel612 wait actually, sorry, could I get back to you about this tomorrow? It's getting really late I just realized - 3AM in the morning. I'll ping you with the pastebin?
 
fine by me
 
Cool, thanks! and goodnight to everyone
 
10:20 AM
@Vogel612 you still about?
 
?? Working for the next few hours soo, yes
 
Hallo Java
 
hello there
 
11:24 AM
Hello
 
Default permgen space is 64MB (as per sun docs) and it actually grows up to 83MB (confirmed using verbose GC). I ran into an issue where permgen space would not go out of memory but will remain at close to max available at that time.

So, my question is how does permgen space increase? Incrementally as more classes are loaded up to max default of 64MB/83MB?

It seems permgen is trying to resize itself on the fly, as more space is required. If so, can by allotting -XX:MaxPermSize to a value avoid permgen space resizing?
Any ideas?
 
PermGen is deprecated
 
Yes but this is for java 6
 
use a Java 8 JVM, probelm solved
 
Not possible as the environment is locked
 
11:27 AM
on a related note, if you want to cram more than the max into PermGen you'll get an OutOfMemoryError
@Ashley whoever's resonsible for that idiotic locking needs a slap
use a java 8 jvm
 
Yes I am aware of it. But my question is different
 
I'm assuming you're doing some enterprisey stuff with it?
 
Correct
Please read the issue once more
 
you'll need to move JVM anyways, then. Java 6 JVMs cannot support the newer ciphersuites required for a proper SSL-Secured connection
get rid of PermGen and you're good to go
 
I am aware of that however I need to understand the correct behavior
How permgen grows...does it resize
If I max it out would it not resize?
 
11:31 AM
2
Q: Explanation for this behaviour of Permgen space

EmilioI'm experimenting some problems with 2 separated web-apps that collaborates with each other in a project. After X number of deployments, I get the infamous "java.lang.OutOfMemoryError: PermGen space" error. So I've been monitoring the PermGen space with VisualVM for a while, redeploying the apps...

if you max it out and try to cram more, you'll get an OutOfMemoryError...
as I already said, btw.
 
I guess the answer is to use -xx:Permsize=n. So it grows incrementally until it reaches its max just like other spaces on jvm heap. Thanks for the link
Appreciate your help on this
 
 
1 hour later…
12:38 PM
hey
 
12:55 PM
hey @wonderb0lt
 
StackExchange sites have blocked in my office, is it something ethical to do so?
 
Sure. It's in their rights to decide which sites you can visit at work. Doesn't mean it's a sensible move
 
But why did they do as the company is a software development company?
 
because they're idiots
 
Is it a valid reason to look for a another place?
I feel like, I'm done.
I would like to know @Unihedron response for this
I can only see the posts. Can't login to any of the so sites
 
1:09 PM
@JudeNiroshan If that's how you're feeling that's not only a valid reason to look for another place, this is a call to action.
If they deny you access to one tool you consider necessary for your work, they might as well do for other tools you need. Ask yourself if this is an environment you want to work in. :)
represses a rant about own situation
 
But, would it be a good idea to talk about this with management?
 
@JudeNiroshan Definitely
 
I'm really frustrated Mn. I can't login to my account now. Office work is so boring and so do the people. I really enjoyed the time being in these chat rooms. Special here. Though I wasn't too much talking here I read many conversations going on here. Specially @Vogel612 jokes are damn funny. And @Unihedron metaphor s damn crazy. I don't know how to spend my office hours with them
2
*without
 
1:33 PM
@JudeNiroshan Well to be fair, you aren't paid to listen to us
 
@JudeNiroshan just set up a nginx proxy #easy #tipsthatgetsyoufired
 
@JudeNiroshan just complain that you can't work effectively without the help of Stack Overflow as reference.
 
yeah, all programmers rely on stack overflow
 
Have others complain as well, apply steady pressure.
 
0
Q: Network administration has blocked StackOverFlow sites

Jude NiroshanI'm working on a software development company. Most of time I spend my time in StackOverFlow and other related network sites. Today I noticed that Network administration has blocked us from login into StackOverFlow user accounts. I can't go to login page. I am allowed only to visit the site as ...

 
1:45 PM
add a space between Stack and Overflow
also @AnubianNoob you didn't fix the title
 
oh yeah, and I didn't add spaces either :P
@JudeNiroshan
 
@AnubianNoob also, you can use a VPN or an SSH tunnel to gain access to Stack Overflow
 
12 mins ago, by Unihedron
@JudeNiroshan just set up a nginx proxy #easy #tipsthatgetsyoufired
 
> #tipsthatgetsyoufired
 
@wonderb0lt If that gets you fired, you should quit first.
 
1:50 PM
@MadaraUchiha Agreed.
 
@Unihedron we can't go to proxy sites. They are self learning by DNS and when you go 5 or 6 times it will be automatically blocked. I'm not sure this might work or not. I don't have root access in my machine also. Wanna try it out. All streaming sites also blocked, and I can't see some of the images you guys post on in chat.
 
It's like speed limits: They have been put in place and just because you disagree and they may be objectively unnecessary doesn't give you the right to ignore them
Actively circumventing a restriction posed by your employer is an invitation for disciplinary action
 
@JudeNiroshan Use an SSH tunnel
It appears like an encrypted SSH connection for your company's DNS
And it's the remote server to which you're SSH tunneling that actually makes the web requests
 
@MadaraUchiha I have less knowledge on network related stuff. Is there possible way that I could get recover from this? @Unihedron don't be angry, I'll look on to your reply, but now I'm on mobile
 
@JudeNiroshan If they're self learning, you should learn as well, and faster than them. Re-configure your nginx proxy every minute.
 
2:05 PM
@Unihedron and that's where finding a new job is somehow less effort
 
it's not like you can't automate reconfiguring
 
@Unihedron To perform the steps in this tutorial, you will need to have sudo privileges on your virtual private server.
which I don't have :(
 
do you bring your own machine to work or do they give you one?
 
@Unihedron I don't bring. Their machine.
I'll be back in few minutes. Going out for dinner. Late night work today. :( Not paid for that (Client demo after the Sprint)
 
If you can afford to leave a computer at your home network on, set it up as a proxy and use your work machine to tunnel home out to the internet, it's trivial easy not hard simple
 
2:12 PM
@Unihedron even that's a hassle...
 
Hi
@Vogel612 is @Unihedron hassling you again?
 
2:50 PM
they blocked so login from your workplace huh
tell them, you can't post a question without being logged in. :)
 
 
1 hour later…
3:56 PM
Hello
 
Hello JohnSnow
 
Today's been so busy
We re-arranged the teams and the seating.
I am now surrounded by people and I feel so much more included ♥
 
Nice
/javadoc FileInputStream
 
@ItachiUchiha java.io.FileInputStream: A FileInputStream obtains input bytes from a file in a file system. What files are available depends on the host environment. (1/2)
 
4:02 PM
@JohnSnow Rearranged by who? We means?
/help
 
Commands=====================
/about     Displays information about this bot.
/define    Displays word definitions from the dictionary.
/help      Displays this help message.
/http      Displays information about HTTP status codes and methods.
/javadoc   Displays class documentation from the Javadocs.
/shutdown  Terminates the bot (admins only).
/tag       Displays the description of a StackOverflow tag (acts like a Computer Science urban dictionary).
/urban     Retrieves definitions from urbandictionary.com
/wiki      Displays a one-box for a Wikipedia page.

Listeners====================
mention   Sends a reply message when someone mentions the bot's name.
 
@Kanth Well, the boss in understanding with the ones changing teams :P
We as in everyone in the developing department had to move our seats. I think there's only one guy that's sitting in the exact same spot :P
 
:D Oh okay, I thought you were one of the decision makers. Your designation if I can know? @JohnSnow
 
My designation? As in my title or where I'm seated? :P
 
._.
 
4:07 PM
In a way I'm my own boss though; I have my own team consisting of only me. :P
 
Then everyone is a boss, no one denies :P
 
Well, technically each team is supposed to have a boss; a team leader. Since I'm alone in my team I have to be my own boss :P
 
You know that my question was with respective to the team.
 
I didn't change team, but I changed seating.
 
@JohnSnow why are you alone in your team?
 
4:12 PM
@ItachiUchiha Because I'm special ;)
 
haha, nice dodge :P
 
The development department is built on teams. Everyone has to belong to one. The things I do are completely separated from everything everyone else does, thus I have to have my own team.
Aug 21 at 13:44, by JohnSnow
Just look at my title; data hacker!
 
Oh Cool. But please don't hack my data :P
But handling alone is sometimes difficult when it comes to large products
 
@JohnSnow what hacks do you do? :P
 
@ItachiUchiha Statistics hacks :P
Technically I'm more of a data miner and statistics presenter
 
4:51 PM
cool
 
(:
 
5:06 PM
Hi all good morning
Do anyone Idea how to convert the audio file into text file ?
If then please suggest me
 
@lakshmi cat myfile.mp3 > myfiletext.txt
 
@Unihedron Any ideas how to turn this sentence into $1 Million?
 
@Joe'sMorgue sell it to a moron who has that much money and will pay you that for it
 
:) How much you got?
 
@Unihedron : Hi
 
5:10 PM
I have no wealth. Knowledge and determination is all I have.
 
cat myfile.mp3 > myfiletext.txt
 
That's about it
You could also do mv myfile.mp3 myfile.txt
 
@AnubianNoob that will delete the original file
 
Sorry, cp myfile.mp3 myfile.txt
 
yes that's better
 
5:12 PM
Its on linux @Unihedron ?
 
What does cat do? Mine just lays around and sleeps all day
 
@lakshmi sorry, it's 2015, you're expected to use a proper computer
 
copy myfile.mp3 myfile.txt on windows
jk
no yeah I think it's copy
 
Windows is much better than it was...
 
inb4 "that's not saying much"
 
5:14 PM
@Joe'sMorgue 100% crap -> 99% crap
 
Progress...Give them another 100 years. 98.5%
 
@Unihedron : Is it serious that command will work ?
Can we do this pragmatically using Java ?
 
... What do you mean if I'm serious? You wanted a text file from audio file right?
 
@Unihedron : Yes
 
@lakshmi pragmatic and solving your problem with an arbitrarily defined tool does not go together.
@lakshmi then use it
 
5:18 PM
ok, Thanks Unihedron.
 
What are you trying to convert a mp3 to a text file for?
 
For just practice purpose I want do this AnubianNoob
But we have suggested command to do this
 
5:44 PM
@DumbKnee are you in mofo? coz its my birthday...
 
http://www.commitstrip.com/en/2015/08/26/sautez/
CommitStrip - Blog relating the daily life of web agencies developers
Jump!
CommitStrip
1440611395
 
6:23 PM
Does anyone know anything about Datagram servers/clients in java?
 
7:05 PM
@Vogel612 moornin!
Let me send you the benchmark real quick
 
 
1 hour later…
8:29 PM
@Vogel612 though that wasn't quick at all, here: pastebin.com/e2mvzYMz
you can see that it went from 200-some seconds to 477 seconds in the second thread :/
 
@OneRaynyDay that pastebin is totally useless for giving any advice on the matter...
Because I can't deduce anything from it
Please use a real benchmarking tool
 
Hmm, what should I paste? The code?
 
and run an analyzer.....
 
oh aight got it
 
8:32 PM
I'm prepared to bet you're doing something stupid when you work with the results.
 
@Vogel612 probably. Do you suggest any benchmarking tool?
 
nope. I didn't have to do any real performance optimizations yet, soo..
 
Hmm, okay then I'll do some research and get back to you on that then (Y)
 
 
2 hours later…
10:56 PM
Um... wow!! room full of quiet zombies!!
@Joe'sMorgue Hey sup!!!
 
Well I am screwed...
 
Oy who you callin zombie
 
@Joe'sMorgue My dad jumped on the phone and told my gf to get off the phone and stop talking to me omg!!
Like that is soo messed up man....
 
Did he tell her to call me?
 
11:06 PM
@Joe'sMorgue What? no... lol
ugh..... she's 16
 
And how old are you?
If you're over 18 that sounds like a reasonable thing for dads to do
 
Any guess why he did that?
 
@Joe'sMorgue No, man he just freaking clicked over
I am texting her now about this
Seriously, why dad's have to do that....
 
because he cares about you?
 
So because you care about your son, you decide to intrude on your sons girl friend??
 
11:19 PM
hey I'm just playin devil's advocate here, but
 
Does any one know any thing about DatagramSocket servers of UDP?
 
your dad may just think your girlfriend is not a positive influence, intrusive may it be
@sazzy4o Hey, sorry I have no idea.
 
@OneRaynyDay really? that's nice of him
 
@OneRaynyDay It's ok. Thanks for responding.
 
@sazzy4o I know servlets in general though. Is it Datagram specific?
 
11:23 PM
How old are you?
 
@OneRaynyDay I am having some problems with my UDP server; I cannot connect to it outside of my Local Area Network even though I port forwarded. I tried the same configuration with a TCP server it worked fine. You would not know anything about that?
I dont know if it is an error in my programming or a problem with the router.
 
@sazzy4o hmmm
That sounds like a problem with your router
Your router doesn't know which to connect to I'm guessing
I suggest you use uhhh what's it called
Not sure if this is the name but HttpURLConnection
2
 
@OneRaynyDay Thanks I'll check that out.
 

« first day (1768 days earlier)      last day (3177 days later) »