« first day (2279 days earlier)      last day (2670 days later) » 

1:35 AM
Do most of you live near Europe?
That would explain why it's always so quiet in here this time of day.
 
I am from India.
 
1:52 AM
@blue What does India do nowadays? Is it a big tea orientated place?
 
Indians do drink a lot of tea but tea is not that is produced mostly by India. India produces a variety of things.
 
There's a lot of elephant shaped things.
Mainly gold elephant statuettes.
 
2:20 AM
The elephant is associated with Buddha and the Indian deity Ganesh and can be used to symbolize power, wisdom, strength, protection of the home, fertility, and general good luck.
 
 
3 hours later…
5:27 AM
Hi
 
5:46 AM
Has anyone worked on making requests to workday?
Will appreciate if anyone can share some resources or documentation or examples
 
Is it just me, or does modern software have more glitches?
@BileshGanguly Like this documentation? community.workday.com/custom/developer/API/index.html
Their website is not very user friendly.
 
6:09 AM
@JonahSloan more software has more functionality and therefore they are susceptible to more bugs
 
6:35 AM
@JonahSloan This documentation explains the various web services and objects. I have used it to make SOAP calls through SOAPUI. Haven't found any specific example using JAVA.
 
 
1 hour later…
8:05 AM
morn
 
8:16 AM
morn
 
mornin
 
morn :)
 
8:31 AM
hi all
 
hi
 
@ItachiUchiha hi
 
Can anyone please look if he can assist on this ?
http://stackoverflow.com/questions/41708755/dependency-injection-of-one-instance-per-context
 
morn
 
8:41 AM
morn Tavo o/
 
@RonDaniel I find it very hard to understand the SO question you presented. When looking at the chat logs, I see that previously you have stated
"Let's say the user is clicking on the Menu on Link A , then the User needs to choose whether he wants to navigate to A1, A2, A3
each one of A1, A2, A3 maintain a state, so if the user goes back to A and then again goes to one of A1, A2, A3, state should be preserved"
 
I admit that my english is not so good
 
Together with the SO question, it seems to me that your menu element A provides access to Wizard like flow.
 
yes
and a data need to be shared across all instances for that flow
specific data instance
 
@RonDaniel Why not have some sort of FlowController that calls 3 objects one after another?
 
8:45 AM
And for modelling wizard, one could use a single composite component which is made up of stack of wizard components.
 
That FlowController then has the instance of your service object
 
So for menu element A you'd actually have inner stack of states (representing A1...An).
 
let me upload a screenshot
it will be much more clear
 
When user navigates backward/forward, you just push/pop the state
And since component A is stateful then, your DI should suffice.
 
One sec
ok
The relationship between the classes is one to many
 
8:57 AM
 
Each step group corresponds to a screen in the application
So e.g. one Step Group includes: Step 1 , Step 2. other Step Group includes: Step 3, Step 4
Hope it's much more clear now
@MadaraUchiha I can create an instance of the data in the Flow Manager and then pass it along to StepGroup instances, and they will pass it along to Step instances
@MadaraUchiha can we use dependency injection instead ?
 
@RonDaniel Dependency injection just means that instead of thinking about trees of object, you think of them as a flat structure
You have this one big component (your DI container, or whatever) that's responsible for building all of your objects, and then wiring them to one another.
In short, you just create your controllers outside of everything, inject the service instance to them, and then inject them to wherever they're needed.
That's how frameworks do it.
How it's done specifically in your framework, I'm not sure.
 
Hmm
Feeling kind of lost :)
 
@RonDaniel Here's how you would do it manually
 
I have found FLOW API in DataFX
I consider to take adventage of that
It provides something called Flow Scope
Which is exactly what I want
Hope I can leverage this framework
 
9:07 AM
MyService service = new Service(bla, bla, bla);

ControllerA cA = new ControllerA(service);
ControllerB cB = new ControllerB(service);
ControllerC cC = new ControllerC(service);

SomeoneWhoUsesControllers consumer = new ControllerConsumer(cA);
As you can see, one entity creates all of your objects, then wires them together
A framework does this automatically, you jsut need to figure out how/.
 
Controller is a step group controller?
i.e. screen's controller part of the flow ?
or the flow manager?
@unserializable could you please take a look ?
 
@RonDaniel I did, but unfortunately your image made things less clear for me. It seems you might be mixing terms, using 'flow' and 'step' interchangeably. Overall, you are now going into JavaFX specific with the Flow API which I know nothing about :)
 
:(
I am stuck on this for several days already
Please let me clarify
Step Group is analog to a Screen
It can have several steps in it
if the user finishes the Step Group, i.e. all the steps in the current screen,
He conitnues to the next Step Group
 
Dev
@ItachiUchiha Hi
 
and so on..
Flow Manager just holds these Step Groups and managing the transitions
Each fkow manager needs its own data object and this object needs to be shared to all related Step Groups and Steps
Is it clear now ?
 
9:18 AM
@RonDaniel Too much tiny details about unfamiliar API for me.
 
it's not an api
this is the design I want
 
You say Flow API?
as in... "I have found FLOW API in DataFX" <--- you previously
 
One second, what you see above it's my requirment
 
So that is not actually something YOU HAVE?
Is it something you want to create?
 
Exactly, how to share the data instance among all the instances I mentioned above
Classes are already created
Flow manager -> manages the flow
Step Group -> basically a controller of a screen which contains some steps
Step -> simple step a user needs to pass
From the Menu user can start several flows
each one of them should have the data model
for that particular flow
I can create it in the Flow Manager, however, how can I make other use it?
 
9:24 AM
i made something similar, you make a FlowInstance which holds the data you want to pass around. Each node/step has a trigger(FlowInstance flowInstance) method which receives the flowInstance. each node can then add or read data from the flowInstance.
something quick i made in scala
https://gist.github.com/Rovak/79e0de2e5a8c290ffa5504c208bedf3e
just updated it
for my app i was thinking to use an UI like sketchpunk.com/NEditorJS/ui.html
 
Is there anyway to inject this data model across all nodes?
 
@RonDaniel You seem to be missing some higher level view. Maybe look up the Composite Pattern and consider that in composite hierarchy you can easily create Enviroment provided to children components from parent. That should be enough for state passing needs.
 
@RonDaniel in my example i make a flowinstance which can contain whatever you want, which is then being passed along all the nodes you wanna run
 
Ok thanks all I will check what you said
 
@unserializable Wikipedia is so bad at explaining design patterns 👎
 
9:33 AM
@MadaraUchiha if you have time, give a better link :P
 
Although I haven't read it.
Looks friendlier
 
@MadaraUchiha I <3 that website.
 
@ItachiUchiha you mean Wikipedia? :P
 
@Tavo No. Check the reply button.
 
I know, I know. JK
 
9:37 AM
I used to read a lot about code smells - sourcemaking.com/refactoring/smells
 
man, I'm hating this new 'modern office'
3 & 1/2 days left though \o/
 
10:34 AM
\o\
/o/
!!home
 
hello guys
 
hey
 
Hey I am a newbie who is learning java these days. I am stuck with this code while creating File Uploading in java. I am sure you guys must have seen that error before
Let me share code with you
It throws compiler error at upload.parseRequest(request) method
 
10:57 AM
1 message moved to Trash can
@ParasGrover please do not post big chunks of code
use pastebin or any other similar service
 
@Tavo stop recommending that trash site lol
 
I recommend pastebin instead of hastebin and google instead of duckduckgo
chaos! mwahaha!
 
\o\/o/
 
Unihedron has removed Tavo from the list of this room's owners‌​.
 
10:58 AM
:|
 
lol
 
Unihedron has added Tavo to the list of this room's owners‌​.
 
I'll still recommend them
:P
 
yeah I don't really care
some people have bad taste
 
lol
 
10:59 AM
@Unihedron tell me about it. There's a woman who is going to marry me
 
@Tavo: Will keep that in mind
 
@ParasGrover thanks :)
 
@Tavo oooooooooo rekt
 
when i say Father fr = (Father) child; Am i casting the child reference or the Child object?
 
me. Can you imagine that?
 
11:01 AM
@NullPointer you're casting the type, the object is unchanged
it's the same "reference".
@Tavo finally done something to make yourself proud
way to go
 
@Unihedron meh. She is marrying me for the money. It's a win-win
 
hah. He is using pastebin :P
 
can anyone please look at this code, why it is throwing compiler error
This code is available all over the internet and it is used for file-uploading
 
sorry, I can't open code sharing websites. My company's proxy has all of them banned
 
11:07 AM
@Unihedron some people have bad paste
 
Get out
I grinned though :]
 
@unserializable oooohhh, a soft pun
 
It is throwing - Httpservletrequest cannot be converted to requestcontext
 
@ParasGrover do you have the right imports?
you might be importing a requestcontext or a httpservletrequest that are from different dependencies
 
11:10 AM
@you are welcome
puns! puns everywhere!
 
@Tavo: Sorry for that, How can that be possible
 
what do you mean?
anyone can name a class RequestContext
I can
 
@unserializable ( ´_ゝ`)
 
@Tavo: You are right on your part, I am passing the wrong parameter I know, but when I use RequestContext, code does not work
 
ok, since I can't see the code, you have to give me a little more info. What doesn't work?
my code doesn't work is not a very detailed statement
 
11:16 AM
@Tavo: It throws this:
TestServlet$1 cannot be cast to org.apache.tomcat.util.http.fileupload.UploadContext
TestServlet is the servlet I call
 
@ParasGrover the error is telling you what's wrong
you are illegally casting TestServlet
you are trying to use it as an UploadContext. And you can't
are you familiar with Java casting?
 
Code available @Tavo
 
ta
 
If your company allows that :)
 
yeah, I can see screen captures
there's always a workaround :)
 
11:19 AM
Indeed there is :) As long as the code is not too long
 
that only depends on your max resolution :P
 
@geisterfurz007: Thanks
The last line i.e. upload.ParseRequest throws error
 
tfw no syntax coloring
 
!!urban tfw
 
@Tavo [TFW](http://tfw.urbanup.com/6173095) That Feel When
Followed by some feel you should be able to relate to.
 
11:21 AM
lmao
 
ah, ok. I didn't know that
 
TYL
 
!!urban tyl
 
I did indeed
 
@geisterfurz007 tyl text you later which is a form of ttyl ( talk to you later )
 
11:21 AM
nope
 
!!urban til
 
@Unihedron [TIL](http://til.urbanup.com/4190243) T.I.L. (Today I Learned)
Often used as a space saver on websites such as Reddit or DIGG when writing the titles of links to interesting things the submitter has learned that day.
 
^that
 
replace I with you
 
11:22 AM
Makes more sense I guess :D
 
slang party
 
tla party
I'll do this one for you, guys
!!urban tla
 
@Tavo TLA Three-Letter-Acronym
 
I love how tla is a tla
 
Thanks :)
 
11:24 AM
lol that is also a shortform
 
tfw we all knew
 
tfw :>
 
lol
 
tla ftw
 
12:03 PM
Robots.txt does not allow this seed: hwo to resolve this
error
as i am using crawler4j
for crawling
 
12:20 PM
people demanding help without even saying hi
 
Without even demanding for help
 
well, I'd consider 'hwo to resolve this' as a demand for help
 
user6857832
When I asked question here first time, I always used to say "Can I please ask a question"? Lol, and Nicktar always used to respond me earlier haha.
 
well... a very crude demand for help
@TheExorcist lmgtfy.com/…
 
lol
 
12:33 PM
@Hemlata who's nicktar?
 
user6857832
@Unihedron Um, @Nicktar?
 
@Nicktar who are you?
 
I'm me, most of the time anyway
 
user6857832
Lol
 
@Nicktar you'd better be you. Everyone else is dead or taken
 
12:36 PM
lol
 
I'm taken too... Marriage does that to you...
 
damn. Does that mean I should not get married?
 
user6857832
haha
 
user6857832
You should tavo lol
 
Depends on your intentions about beein taken
 
12:38 PM
I don't take things lightly
 
You are Nicktar, you are Nicktar. Are there any more Nicktars I should know about?
 
only nicktar can answer that
 
Well... there is someone on twitter using that name and a musican... don't know if you should know about them
for more info bfy.tw/9XlJ
!!nicktar
 
@Nicktar nicktar is a hangmanmaster!
 
wtf is a hangmanmaster
 
user6857832
12:49 PM
!!hershey
 
user6857832
:D
 
nicktar is a hangmanmaster
noone can beat him
\o/
 
@Hans1984 During last days, my impression has been that Executioner is @Hemlata, her victims hang by Threads at the Common Pool.
 
hehe
 
user6857832
12:58 PM
Lol
 
nice one
 
Hello, native English speakers.
 
you re realy good at this
 

« first day (2279 days earlier)      last day (2670 days later) »