« first day (1485 days earlier)      last day (3468 days later) » 

3:00 PM
someone knows the status of the Coffee proposal?
 
I dunno if it's common where you live, but in Sweden there's a tradition of flavouring water with lemons or cucumber. For some reason I think cucumber water is revolting. Such logic, very make sense, wow, much practical
 
why cucumber??
that stuff mostly tastes of water anyways..
southern germany here.. no flavored water..
in summer we have lots of water with a little apple juice though..
 
Fruit flavoured tea are the mainstream drinks here.
 
Hello, anyone with hibernate grasp in here?
 
In America, we have bottled water... xD
 
3:08 PM
@JohnSmith yes here..
what can I do for you ?
@Michael that's kinda boring, you know?
 
And you are often given a lemon to put into your water when you eat out in restaurants.
 
I have A 1->N B N->1 C, I want to delete instance of C and with it every instance of B that had connections to C, but preserve A. Now I have cascade delete on C to delete the B instances, but I get "object will be resaved" due to A having B's on it's list. Do I go and delete manually every instance of B frrom A list or is there another way?
 
how did you specify the AB relationship?
you might want to specify Cascade.UPDATE on A side...
 
tea? what? :O
 
A is onetomany with B, C is one to many with B
it's pretty much many to many between A and C, besides B being entity on its own
 
3:11 PM
so you @OneToMany()'d it?
why didn't you specify manytomany with a clean mappedBy then?
 
yeah, A has a list of B's and C has a list of B's
 
if it's a pure manyToMany there shouldn't be a problem dropping B out of the equation...
 
Yeah I know but i need it to be like this
 
hmm... Then you probably have no choice but delete every B that's in the C...
 
3:39 PM
Guys question... not being judgemental, but most of devs i know has little to no time for exercise or being healthy... i before practice dancing but because of loads of work, i dont now. And i kinda feel the aging now, short breath, easily stressed, but i dont gain weight..
 
Just because you're thin it doesn't mean you're in shape. <- fact.
 
@LeeJeong That's not a question ;)
 
Hi guys any big data ppl available here????
 
There's a trend growing with treadmil desks.
 
@Unihedron i figured.. xD but do you still have time?
 
3:42 PM
Big data sounds like the name of a programmer maffia henchman :P
 
@Harry No, we're mostly dancers.
 
I thought we were human
 
i used to do dumbells during break, but my office mate said im killing myself. doing night work and day job work.. to keep myself awake i do 100 reps of dumbells
 
@Unihedron I have a question, many unstructured databases like hbase, mongodb, etc., they operate in disk, So Could u pls explain me the point clearly... why big data is not so good for handling structured data???
 
@Unihedron is that for real? you a dancer?
 
3:43 PM
Insomnia is by far worse for your health than sitting still a lot
 
is it bad to stay up late all night for work consecutively?
 
YES
 
I hope not :S
 
Guys! Any big data ppl here?
 
13
Dance

Proposed Q&A site for enthusiast recreational dancers and professional dance performers and instructors across a variety of dance genres, including (but not limited to) ballet, salsa, hip-hop, belly, and pole dancing. If you dance at least once a week, then we want you!

Currently in definition.

 
3:44 PM
Not sleeping enough can cause brain damage
 
i always see programmer portrayals on the NET especially silicon valley with steve jobs workers getting on 70hours per week
 
@LeeJeong Don't pull all-nighters unless you absolutely have to.
Eww, .net devs
 
@Harry, no sorry :(
 
okay cool!
 
@LeeJeong People do amfetamine and heroin too, just because people do it, it doesn't mean it's healthy
 
3:45 PM
Why am I working on weekend then? lol
 
@LeeJeong I like dancing.
Especially when it's late and you're getting burned out... Play some music and dance to it :D
 
I'm speaking from experience when it comes to lack of sleep. I have a braindamage that makes me unable to recognize faces thanks to it
 
OH SHIT @Gemtastic
 
totally imagines Uni doing the flashdance
@LeeJeong I can't even recognize my own mother in a crowd :/
 
haha yeah
 
3:47 PM
oh fvck @Gemtastic how did you get thatt??
 
@LeeJeong I had insomnia. If I slept, I only slept a max of 4h in a night
 
@Unihedron COOL!! i'm a dancer too, but i stopped just because i have lots to do. But then from this conversation i figured, that was not right stopping all of a sudden. *motivated to do jogging tomorrow, enhance my endurance
 
It's too cold to go jogging here
 
@Gemtastic T.T thats sad. I read somewhere that insomnia is not just simply not being able to sleep periodically.. its kinda chronic
 
@Lee
Sleep disorders and chronic sleep loss can put you at risk for:

Heart disease
Heart attack
Heart failure
Irregular heartbeat
High blood pressure
Stroke
Diabetes
^ Other health risks from lack of sleep. Disorder or self-induced.
 
3:49 PM
Is cold here too, but we dont have snow.. xD i bet snow would be ugly too coz its unclean here.
 
@LeeJeong Yes it is. It's terrible,
 
Okay.. i think im going to stop doing this stuff that might kill me.
 
@LeeJeong Good. We rather have you alive and well :)
 
I'm forced to do so, because i have deadlines... T.T im working on a project just by myself at night... and have a day job... both killers..
@Gemtastic thank you good sir!
 
What kind of project? Can you postpone the project for later?
Yup no snow here too.
 
3:51 PM
Working overtime to catch deadlines is only something you should do in extreme emrgencies. If you have to do it regularly, your deadline isn't realisticly set.
 
No... its funny coz i told the client i can do that in a month, but failed to do so.. i was hyped from all my reviews on soft eng so i thought i can do it all
 
I had a deadline for last tuesday and now I'm working weekend to fix it. Don't let that happen to you @_@
 
speaking of deadlines, how do you create them accurately?? or at least near accurate?
 
You mean anti-procrastination deadline?
 
I realize it depends if you're done something like it before.
It's my first time developing for Android and I thought it would be okay.....
I am off my estimates
now
:(
 
3:53 PM
@Unihedron not really. sometimes i get stuck on a design consideration and my brain overheats and goes somewhere else... and boom.. im nowhere
 
The best approach is to set a deadline that's generous to how long it realisticly will take, then you finish it earlier and leave a good impression to the client. Worst case scenario, you have some unexpected trouble and you'll still meet your deadline.
 
My general advice: Don't set deadlines. Most people work worse with deadlines.
 
^ That's a good advice too
 
@KalaJ i think thats the best way to know about it
 
But sometimes deadlines are unavoidable.
 
3:54 PM
But if you set deadlines against procrastination, then you would want to go for a harsh, dual deadline.
 
Yeah deadlines are unavoidable if client doesnt' have enough budget
 
yeah, deadlines are unavoidable especiaally in corpo world
i always kept asked by my PM on a certain task and i dont know how to answer it
 
Complete three days before push to prod; Otherwise at max two more buffer days.
 
depends...
deadlines are good when they force you to do a decision instead of procrastinating forever
 
^ like
 
3:55 PM
true
 
@AnttiHaapala That's an anti-procrastination deadline. Most people want to set deadlines just to have one. Then they do even worse at timekeeping.
"Fine, next tuesday".
 
that true too...
 
but do you experience those... like having to make a decision on a design and then you get to nowhere?? you get lost? you overheat? and boom.. time eaten
 
@LeeJeong Feeling like you have to finish something but gets burnt out?
 
RIGHT!
 
3:56 PM
yes
 
Well, short story. There's something called self esteem. You give a minimal break for yourself, then set a reward for when you finish the task; Then motivate yourself to stare at it, for at least twenty seconds.
Then you WILL do it, and a running start will motivate you through the forest.
 
for example?
 
Sometimes it's hard to start something massive after you've already been doing something else. I don't know. It happens a lot, and I'm sure you experience burn-outs more than I do.
 
"If you finish this task you can watch one episode of your favourite show"
 
what kind of reward? yours personally, how'd you do these?
OH SHIT! @Gemtastic correct!
 
3:58 PM
Hmm... Some people reserve episodes of their favourite show and only watch them after they finish the work.
Oh, beat me to it. :) @Gem
 
@Gemtastic funny, but when i get burnt out, i accidentally skip to the rewards... thats what im observing
 
Is hbase a structured database?
 
@LeeJeong Only you know what kind of rewards would work for you. I'm kinda food motivated so for me I would do "finish this thing and you'll get to have that food you've been craving"
 
@LeeJeong That's why the "actually do it" part is important.
 
that's what im observing to myself. xD i read the mangas and stuff...
 
3:59 PM
@KalaJ Is hbase a structured database?
 
thanks @Unihedron for the nice advise.. :D
 
@Gemtastic Oh sandwich cake, oh sandwich cake!
 
@Harry, I don't know what is hbase
 
@LeeJeong Again, take what I say with a grain of salt.
 
I trust in Uni :D
 
4:00 PM
I wonder how many people would consider you an idiot if you'd tell them you follow life hacks given by a random teenager online.
 
@Unihedron, actually you are so amazing... just curious, when did you learn how to code?
 
@LeeJeong I think you need to learn to take breaks. a 30 min power-nap can do wonders, or just something else to occupy your mind for a bit. Our subconcious works with the impressions we have during our awake time. If you don't do anythign but work, your mind will be uninspired and you'll burn out.
 
@Uni Can you upvote the question I posted here? I'm trying to create my own JavaBot account: stackoverflow.com/questions/26958868/…
 
you guys are one of the best people i ever talked to (without rudeness and condescension), well sometimes.. got joked at. but its ok.
 
@Unihedron How much I love thee sandwichcake~♪
 
4:01 PM
@Michael Daily vote limit reached; vote again in 7 hours
Sorry, went for the wrong person ~_~
But you know... You could had asked me to send you the account credentials for my JavaBot :P promise no abuse?
 
@Michael, what does the upvote have to do with creating a JavaBot account? just curious
 
@Unihedron and considering you are more younger than most of us.. that's something really awesome
 
@KalaJ You have to have at least 20 rep to post messages in chat.
@Unihedron Can you? Thanks. :D
 
@LeeJeong Age is mind over matter. If you don't mind, it doesn't matter!
 
I can upvote if you want
 
4:03 PM
@Michael Your github email works, right?
 
@Unihedron Yes, my gmail email.
@KalaJ No thanks, I'll just use Uni's.
Don't want to spam SO with bot accounts xD
 
I already upvoted :S
lol
 
Oh, thanks xD
 
hbase documentation - hbase.apache.org
 
@Unihedron, curious, how do you create a bot for SO? Is it difficult?
 
4:05 PM
@Unihedron you had some advice with music? what was it? does it make you productive?
 
@KalaJ How do you build a browser?
 
What's the email address, @Uni?
 
@Unihedron, haha nice. I guess it's moderate level. I know how to build a browser a little bit from an online class
 
@Unihedron what kind of dance do your particulary do?
 
4:06 PM
@KalaJ Well, consider this. Everything happening online is just an exchange of specific information. Building a bot is just having a custom engine that handles the information.
@LeeJeong Random... I don't really study music. Just an enthusiast
 
@Unihedron Thanks.
 
@LeeJeong it does.
I forget the email myself sometimes as well.
 
i mostly listen to dubstep and pump the hell out it even when sitting..
my officemates would be like "wtf man?"
 
o_o
 
xD
 
4:08 PM
not too loud in the office please. Please need to work but I'm okay if it's not too loud
 
so i figured from the conversations to just do it for relaxing.. do you listen at same time coding?
im on headphones... that;s why they get shocked when i just pop and lock on my seat
 
oh haha
that's fine
sometimes I listen to rock when I'm programming because it'll relax my mind because if I am thinking about too many times, I get distracted
 
I don't listen to music that excites me, or any sort, when I'm coding. Some music makes you feel better, but they distracts you a lot at the same time. Not that I'm one to speak.
 
Beatles cover really? Not the original ;P
 
It's not the original. :P
Vexento - Pixel party and Mr. Niceguy - Stone Age are the kind I listen to when I'm not coding; Closing questions on SO, etc. Vexento is great artist BTW.
 
4:14 PM
I get too engrossed when I code. I want silence around me because I won't really hear anything anyway because my mind's too focused at the task at hand. Might change when I grow more experienced in coding.
 
This room is totally on-topic.
@Gemtastic I'm somewhere between that and control.
 
It's a bit frustrating because I can't code in study-groups or while at school. At school I just help my classmates instead.
 
then do you do many things at the same time while doing some devs? Like playing or coocking? xD
 
I'm somewhere between apathy like you mentioned and control.
So music helps keeping me away from boredom.
Csikszentmihalyi's flow model. I used it in this answer.
 
that's a nice graph
 
4:17 PM
and it's true on so many levels..
 
I think im always in Anxiety. xD turning out to burn
 
at work I am mostly switching between Boredom and worry...
 
:(
 
with a littler anxiety and some arousal...
 
My skill level is only high when I deal with easy-medium stuff.
 
4:19 PM
lel
 
So at that point, I've got it under control, but still a little bit apathic (cuz it's too simple)
 
well either the stuff at work is just too low-level and I am bored as fck
 
lol
 
or it's too high for apathy..
 
What is a chat room anyway? Just a transcript of terrible opinions and people ranting and help vamps lurking :P
oh well
 
4:20 PM
ahaha
 
@Vogel612, what are you working on?
 
You haven't seen actual terrible opinions and help vamps lurking until you see freenode's #php irc logs.
 
at work I am working on a JEE based CRUD application...
 
terrible opinions?
 
with hibernate and a mediocre to retarded project lead
 
4:21 PM
ahaha..
 
and not a single senior dev on the team...
right now I am working on JavaBot...
 
LOL. medi to retarded PL
 
Yay JavaBot! JavaBot likes contributions.
 
@Unihedron your still a student right?
 
lol what's wrong with project lead?
 
4:21 PM
btw @Unihedron what about the server plansßß
 
@LeeJeong you're* and yes
 
My project has no senior devs either
 
@KalaJ she's a complete retard...
that's what's wrong with her..
 
@Unihedron *killed
 
@Vogel612 jboss or tomcat, any preferences?
 
4:22 PM
you explain: "I can't do X because Y", she says, "But why are you not doing X"?
@Unihedron working on jboss, no experience with tomcat...
 
are most of the folks here do double jobs, like has a day job then does something related to programming as well on free time?
 
preference... "none"
@LeeJeong that's not a double job..
 
@LeeJeong I develop a Minecraft server, and maintain / contribute to several open source projects at home personally.
 
but yea it's mostly like that..
 
small trinket of money from the network development, but I still want to find an actual job soon.
 
4:23 PM
@Uni I think I... um... made the JavaBot class superfluous.
~coughs
 
@Vogel612 Throw it all out and start over.
 
hmm. sounds like a plan..
 
@Vogel612 Shared hosting (US), 1GB drive storage, free and comes with system administration
 
@LeeJeong, I'm not smart enough to have a day job and start own projects. My programming job is full-time and it's hard enough for me to have to work extra on weekdays to get code functional and working. Sometimes I go to hackathons or mini code events
but I haven't had the chance to start my own project yet :/
 
If it's not enough for running the bot I might sign up for a plan on demonvps
Or throw a mug at whoever that caused a memory leak
 
4:27 PM
hey I like mugs..
 
I read somewhere that if you want to get real good at programming you have to do some side projects or initiatives... i got to say its true, i learn more stuff from side projects (usually ground up) than on my day job (w/c are only enhancements, i learn a lot from the comment of my more tenured officemate friend)
 
I hope I get some swag for CR graduation..
 
@Unihedron bet you would never have a problem finding one
@Unihedron learned a lot of sensible advice today. Might as well sleep now, coz tomorrow i have fvcking day job. xD
 
lel...
 
4:27 PM
n8 @LeeJeong
 
Repositories contributed to
ArcticEcho/Phamhilator
Charcoal-SE/SmokeDetector
Manishearth/ChatExchange
ProgramFOX/SE-Chatbot
bjb568/mmd.js
 
night guys! :)
 
Night!
 
Good night everyone! :D
 
Night!
★ 11 ★ 12 ★ 13 ★
 
4:49 PM
You're off to bed now too @Uni?
 
Nope
 
Yay (I get some more Uni time)
I should code something.. But I'm temporarily out of ideas... Do you know something n00b-friendly to code?
A tutorial works if you know one
 
Hmmmmmmmmmm
A text-based game?
A battleship game where the user submits coordinates and an AI randomly responds?
 
Hmm... Interesting.
I could code a GUI for that too
 
still voting for Conway's Game of Life
 
4:54 PM
I have no idea where to start with Conways'
 
or do something overly smart and graphically display each and every single step of a sorting algorihm of your choice in a GUI
usually you start off with a boolean[][]...
put your next step into a different boolean[][] and then swap them..
and the rest is GUI magic..
actually I have a 250 lines Game Of Life lieing on a USB stick..
or is it 400??
I could have it run updates to the game-state every 400ms against a 90k elements boolean array..
there's no user input, but who needs that anyways ;)
 
wow, cool
Adding that to my giant list of project ideas :P
 
@Vogel612 Unlike battleship I have never played game of life
 
@Gemtastic that's not something you play yourself..
its a Turing Complete State Automaton
 
@Vogel612 Boolean array? eww.
 
5:00 PM
@Unihedron don't come with List<List<Boolean>> now..
 
Since booleans takes up as much storage as bytes, just use bytes, but add bitshifting and bitwise AND!
Or this: long data;
 
OUCH
 
To get the first bit: data & 0x1 != 0
 
there was that guy in my class..
 
second: data & 0x2 != 0
 
5:01 PM
he used a Dictionary<Integer, Dictionary<Integer,Boolean>> in C#...
 
FUUUU
 
actually it was worse..
but I spare you from the actual code..
 
That's STUPID
 
I know...
 
Kill him for me
 
5:02 PM
naah he's not my classmate anymore..
at least since wednesday.
since I "graduated" and he didn't
 
LOL
Is Winterbash near???
 
@Vogel612 I have a concept of how the battleship games work, game of life, well, it's unfamiliar :P
 
@Gemtastic You can make a minimal text adventure game or something :)
Or something that can be converted into a game for the bot
 
That was actually a very good idea! :D
 
Btw, when would I need to use bit manipulation?
 
5:07 PM
When you move into the sunglasses coding.
AKA when the language is no longer sufficient to fulfill what you need - bithack FTW
 
5:21 PM
Still not sure what you are referring to? Can you give me an example?
 
You know how booleans are stored in memory right?
It only has two states: true, false, but it takes up 8 bits like a byte do.
Byte cannot perform arithmetic so you would use bits:
x= 0x 0000 0000
x |= 16
// x = 0x 0001 0000
x ^= 17
etc.
There's also the not-so-wellknown x % 4 -> x & 3.

Another not so well known bithack!

Jul 23 at 15:04, 30 minutes total – 42 messages, 3 users, 2 stars

Bookmarked just now by Unihedron

 
oh cool, thank you
 
5:37 PM
@Unihedron I think anime already has an ID request for that..
Think it's fanart.
 
Oh ok.
 
nevermind..
SwordArtOnline 2
google image reverse search ftw.
 
Cool! Thanks!
 
gimme a sec I'll start up junior for some testing..
 
:D
 
5:40 PM
given my eclipse decides to respond somewhen today..
 
I don't like coding on weekends.
 
Why? You got all time you want..
aaand it crashed..
 
Have you had any luck running the JavaBot, @Uni?
 
I like reading research level materials then, and enjoy a bit of coffee.
@Michael Yep!
 
It doesn't appear to be responding to any commands.
 
5:42 PM
which state?
 
sandbox
It's dead
seen 2m ago, talked 8h ago
 
have you checked you are in the whitelisted users??
 
@Unihedron Hold on, I'm starting it up.
 
aaand restarting eclipse again..
 
@Vogel612 I've added another listener class, which doesn't check user ID.
 
5:44 PM
@Michael Listeners are about to get deprecated..
 
Ok, I think it's up now.
 
I'll just fire up mine into here..
~JavaBot, at your service
##eval:"test"
~JavaBot, at your service
 
##eval:"hi"*3+"ya"
 
I think I borked the eval command
test
~response
the syntax works....
the matcher's group is just incorrect...
##shutdown
~going down
aand he's out..
hey regex wizard..
private static final Pattern evalPattern = Pattern.compile("^" + Pattern.quote(BotConfig.TRIGGER) + "eval:(.*)");
Matcher matcher = evalPattern.matcher(message.getMessage()).group(0); //blows up
message is a ChatMessage..
 
Group should be 1!
 
5:54 PM
Group 0 means the entire matched string.
 
also blew up..
 
Wait, the syntax is borked
evalPattern.matcher(message.getMessage()) -> matcher, evalPattern.matcher(message.getMessage()).group(0) -> string
-_-
 
...mixed up.
    CommandHandle eval =
            new CommandBuilder().addSyntax(evalPattern.asPredicate()).setExecution(message -> {
                Matcher matcher = evalPattern.matcher(message.getMessage());
                scriptRunner.evaluateGroovy(message, matcher.group(1));
            }).build();
with evalPattern as above ;)
 
Maybe the pattern has to be multiline
private static final Pattern evalPattern = Pattern.compile("^" + Pattern.quote(BotConfig.TRIGGER) + "eval:(.*)", Pattern.DOTALL);
 
the syntax evalutates to true though..
~JavaBot, at your service
##eval:"test"
 
5:59 PM
night!
 
IllegalStateException: No Match found!
 

« first day (1485 days earlier)      last day (3468 days later) »