« first day (1671 days earlier)      last day (3256 days later) » 
00:00 - 15:0015:00 - 22:00

crl
3:00 PM
Hmm right, and doesn't it do the job well? I don't see the point to have another builder object that does things
 
Builder Pattern would be:
 
@crl "I don't see the point to have another builder object" I'm not sure how you established your judgement there, but it's not right.
 
fge
@crl immutability
 
ComplexObject co = new ComplexObject.Builder()
    .a(1)
    .b("foo")
    .c(2.0)
    .build();
 
crl
ComplexObject.Builder is static? well yes obviously
 
fge
3:03 PM
ComplexObject.builder().withA(1).withB("foo").build();
Or what @Vogel612 says; I prefer the static factory method however
 
@fge doesn't expose that much internals, eh?
@crl how the heck would you implement that as non-static?
sure you could have a separate Builder, but then it would be a separate class and that makes building stuff waay more wordy
 
crl
@Vogel612 with my first code
but it's not "builder"
 
@crl I thought the point here is to design an object with the builder pattern to create a ComplexObject.
 
crl
yes it is, but I don't understand why my simple code with an empty constructor and Setters chaining isn't equivalent (and simpler) to a builder pattern
 
@crl Because there is no director. Your method chaining is not equivalent to creating a product.
 
fge
3:10 PM
Very interesting
@crl I already said it
7 mins ago, by fge
@crl immutability
 
crl
ok and director, thank you all
 
I've spent most of my few years of java doing maintenance. Can you recommend a couple of good books on design? Maybe not design... what am I trying to say.... I struggle with putting a project together from scratch rather than working on that already exists. I guess just read more tutorials and examples?
 
You could also decompose the projects you've worked on to understand how they were designed, a sort of reverse-engineer kind of thing
 
Problem is, most of the large projects I've worked on (two out of three) have been developed by the cheapest contractors possible. I no longer have access to the one that works well. Spent most of my time there as a sole graduate developer fixing the existing issues (which I did, and I'm proud of)
and have had severe problems.
 
Ah yeah that would be a problem then
 
3:23 PM
I've been trying to get a job where I can be mentored, unfortunately while this is what my current job seemed to offer, it actually had one CTO who doesn't want to program any more, is a PHP developer, and uses cheap rate contractors in a different country for all its programming. I'm the first inhouse developer >.>
As a result, I'm eventually going to be making decisions that I don't feel qualified to make, since the CTO wants to step back from the company.
( and its an 8 man company, not including contractors )
 
Issue would be finding which kind of project you would want to work with. For instance, I've been doing a lot of enterprise server/client programming using the EJB architecture
 
I think that is what I'm looking for.
 
Ah I am also in an 8 man company, but fortunately my boss is directly involved still
 
Ah, I was hired to "grow" into the role of head of development.
 
in Sugarcube Corner on Meta Stack Exchange Chat, Oct 2 '14 at 12:10, by SPArchaeologist
'But I don't want to go among mad people,' Alice remarked.
'Oh, you can't help that,' said the Cat: 'we're all mad here. I'm mad. You're mad.'
'How do you know I'm mad?' said Alice.
'You must be,' said the Cat, 'or you wouldn't have come here.'
 
3:25 PM
As such, I kind of expected mentoring
xD
 
Just found that on a quick google search, might be better resources out there for EJB development
Hah pretty classic maneuver for them to let you "grow" with no direction lol
 
Yep...
 
@Dustiny Please stop linking to tutorialspoint. Nothing about them makes for a candidate for learning resources.
 
@Unihedron Is that like the problem with linking to w3schools?
 
@Unihedron Will do
 
3:26 PM
@Mourdos Actually, they have different problems. :p
Say rotten apples and rotten oranges.
 
Like not being affiliated in any way with w3c? xD
 
Would have been more appropriate to say "Please don't link to tutorialspoint" as it was the first time I ever did it, but still, I have made a mental note and won't do it again.
 
So, any good (up to date) tutorials or books you can recommend?
 
@Dustiny Oh, sorry. That's just me, don't take it personally.
@Mourdos sayhelloworld.webs.com/list-of-free-resources has a list of free resources.
 
@Unihedron Heh. I figured, I ain't shook!
 
3:29 PM
Seems like a long list. I'd say good, but I can't actually say that without having read through it.
 
Quite an extensive list indeed, will have to bookmark this
 
I continue to detest Ofbiz.
by which I mean specifically the freemarker part, but ofbiz in general will do.
 
Sentences where you can replace "idempotent" with "incompetent" and it still works :/
oof
reading sadop's tweets makes me sad.
Dev: "Hey, we have backups don't we?" Oh for fuck's sake.
 
Once again, it wasn't freemarker. It was me...
I don't hate it any less.
 
3:47 PM
Why is it so hard to find specific information? >_<
 
^ Speaks for itself
 
yeah. I just wanna know what the JSON part in my curl call actually is so that I can fit it into my http request in google scripts >_<
 
4:32 PM
Hi
 
Bye
 
4:56 PM
hi
we have a scheduled job to send email alerts to our customers. But we don't know whether the job has started and running properly or not. My tech lead ask me to find a good solution for. I thought to send a notification alert email to our developers as soon as the job has started. But the problem is, we have too many alert emails like these. So, there is a high chance to neglect this email. (which i thought to send) Can anyone give me an alternative for this situation ?
@Unihedron ^
 
fge
How is this Java? Do you issue it using a Java program?
 
@CrazyNinja instead of sending email that it has started, send email that it has not started
 
What do you use to signify if the job has started? Anything? We have a similar need to know if jobs have started and store each job in a database table that can be pulled
 
Another thing is, that it's standard today to have an automation panel were you can manage job scheduler via UI
 
@Andrew not a bad idea. That might be one of my solutions for the moment. Thanks
@fge nothing wrong with the job which we have already have. Sometimes, because of unexpected server restarts, this job may corrupt. In that case, some of our customers complain that they didn't receive emails.(This job is sending emails to our customers)
 
fge
5:15 PM
Unexpected server restarts? Maybe you want to fix that first
 
So you need a monitor? a process that checks the job and makes sure it's still running
 
fge
Also, is the job in Java?
 
Like, a health check
that's common. I have that in all my servers
 
http://www.commitstrip.com/en/2015/05/21/learning-the-hard-way/
CommitStrip - Blog relating the daily life of web agencies developers
Learning the hard way
CommitStrip
1432228458
 
@Kylar yes. we have configured Nagios to monitor our servers. But not our jobs.
@fge yes. We have used Quatz scheduler
 
5:19 PM
@CrazyNinja I'm saying that you could have a separate job just to monitor the job. We have a "nanny" process that checks that our stuff isn't just up, but is running correctly
 
@Kylar what is the tool you have used for it?
 
We wrote our own
 
Awesome!
 
But you could easily use an off the shelf monitoring app. It's nothing to spin up a jmx hook or socket that reports your health
Then you just poll it.
And if the nanny finds that it's corrupt or nonresponsive, it alerts (we page and email, but it could log to an aggregator or whatever)
 
alright sir! got the idea. mixed it up all > socket which listening to corruptions in my running jobs and sends alert email if and only if those jobs got failed !
 
fge
5:55 PM
I seriously want to take a sledgehammer and whack SonarQube devs
They are not helpful in the slightest
 
@fge Go ahead
 
fge
I have rarely been so frustrated
 
6:15 PM
UGH
I read my wage wrong... I'm getting paid LESS than I thought I was >_<
 
That's... bad.
 
awww.. It is your first salary?
 
Yes
I thought I was getting paid 125SEK/h and then vacation pay on top of that, but I'm not :(
Vacation pay (12%) is included
 
Not that it matters now anyway
I don't have the confidence in myself to demand more atm either
 
6:30 PM
hmm
 
Lol I read that as 125/h canadian until I realized SEK is the swedish currency
 
You can learn things and then demand
 
@ItachiUchiha Yeah, that's what I'm doing.
 
@Dustiny lol
 
But my self esteem is really low.
 
6:33 PM
are you from canada?
 
Me? yeah haha
 
@Gemtastic It is not your self esteem, but your self confidence :P
 
I feel like I'm a terrible developer and don't even deserve a job at all :/
 
@gem No you are not..
 
I find the best thing for self confidence is to just stop negative thoughts like that in their tracks
 
6:34 PM
I am seen worse people still getting a job.
 
replace them with good ones.. youll convince yourself eventually lol
 
@ItachiUchiha That's like confirming that I suck, but trying to sugar coat it in that others suck more XD
@Dustiny I have lots of positive thoughts, but not about my capabilities.
 
@Gemtastic Haha, I never confirmed the former :P
 
@ItachiUchiha Yes you did, what you said was essentially "don't worry that you suck because people who suck more also got a job"
:P
 
haha
take it as you want to
But, I know you don't suck, as much as you think you do ..
^_^
 
6:40 PM
@Gemtastic Well turn that lack of confidence into drive to out perform your own limit/judgement of your capabilities, and you'll be steps ahead of everyone else.
 
@ItachiUchiha Well, I have no idea. I've been learning a lot at work but I have no idea how I compare...
I'm gonna have a pair-coding session with my mentor on monday afternoon, and I'm nervous about it.
 
hi guys
 
@Dustiny The issue here is that that is what I'm doing, but I have no idea if what I'm doing is good enough, even in trying to become better...
 
I just enabld ssh logiin and disabled password authentication. Anyways I could test that password login is disabled(without using another computer))
 
@Gemtastic You are gonna rock
 
6:43 PM
I know I really suck at googling >_>;
 
@rahulserver heya
@rahulserver Do you mean that you installed the private key?
 
yes
@ItachiUchiha
 
@Gemtastic Any progress is good progress. I wouldn't judge my own progress against someone else's because there are always different factors coming into play, but rather, use myself as the reference of how far I've come
 
Just don't pass the location of SSH key while ssh'in into the server
Or pass a fake address
 
via putty?
I am using putty as ssh client
 
6:45 PM
@Dustiny Well, in this case I'm getting paid so there are demands on my progress and my production.
I wish I had the brains to come up with my own product :/
I work so much better from home, in the dark, at odd hours...
 
@rahulserver Windows :X
Windows suck...
throw it out of the window
 
It's nothing really worth stressing out about though, what happens will happen. You're getting experience and that's really what matters
 
hahaha
I got just on door
n dat too is a backdoor :p
 
Still throw it
 
O_o
 
6:48 PM
And install something better like Ubuntu
Have a dual boot
 
not a practical solution. Thats like throwing out your car just because you got your tyres punctured
 
@Gemtastic Same actually..
 
@Dustiny Well, yes, but I do need a job.
@Dustiny We could team up 8D
I know google script, curl, some more unix and a lot about elasticsearch and kibana. I'm by no means a master, but I learned A LOT
 
I guess I'm just trying to say there are tons of options out there, and you'll do better than you think you will and be pleasantly surprised
 
but thats not possible for me.
 
6:51 PM
(on your pair-coding thing)
 
and not so easy for any regular windows user to change his dev. environment
 
Teaming up would be sweeeeet :D. Issue is after work I never want to work more lol. Maybe i'll fix that eventually
 
@rahulserver I did
 
@Gemtastic well.. you earn a little more than me
if that is after tax.
 
@Vogel612 No that's before taxes
 
6:57 PM
then it's just a little less than mine...
but then we both probably are paid too little ;)
 
<--- hides under the bed
 
Then again I don't have any significant expenses in comparison...
which reminds me.. I need to do my tax record
 
you guys earn in 5 days, what I earn in one month
 
@Gemtastic concerning the peer programming thing..
 
Average developer entrance hour wage in my country is at 162SEK/h
@ItachiUchiha But your place is a lot cheaper to live in, isn't it?
or about €17,5
 
7:00 PM
yes it is..
 
don't make so much of a fuss over this, it's only natural that more experienced people will be better at what they're doing
 
But then the living conditions suck
 
but don't make yourself crazy over your inexperience
 
^^ true that
 
experience can't beat the will to learn in the long run
 
7:01 PM
Well, it's my inexperience making me worried XD
 
the key part to being a successful developer is learning about new ways to do things, IMO
 
Well, I love learning
 
or moreover, to not be content with how things work right now if they can be better
 
But do I learn fast enough? Do I learn well enough? Do I learn how to learn?
 
and not to always use the same inflexible approach to solve problems.
 
7:02 PM
I worry about losing what I have
And to not be good enough
 
12 mins ago, by Gemtastic
I know google script, curl, some more unix and a lot about elasticsearch and kibana. I'm by no means a master, but I learned A LOT
^^ what of this did you know before you started?
do you think I could compete with you in terms of elasticsearch?
 
None
and that is the point
you learn and grow with time
 
I don't know what you know about elastic search so I dunno if we could compare, but I barely knew what curl was. I didn't know anything about Elasticsearch before work
I didn't know google script either
 
Tip: I can't. I know zilch about elasticsearch.
 
It still takes me some testing but i can script it and I can work the URI search fairly well
 
7:18 PM
hmm.. I need to get the CannedComments into a commitable state...
 
Is google script != JS?
 
yes...
@ItachiUchiha since when can JS use curl??
 
I have no idea on GS
But i had heard that you can write scripts on google sheets using JS
 
> JavaScript cloud scripting language that provides easy ways to automate tasks
JS + huge API it seems
 
Ahh.. i c..
 
7:42 PM
@Vogel612 that's not true, JavaScript fails short on Cloud Scripting big time
I mean falls short, maybe for some narrow tasks yes
But if you have a large corporation with basically everything possible in it, there's little chance you'd cover it with JavaScript
However JavaScript community is very active and there are many libraries, but some key libraries are missing
Java is far more friendly, even the new HTTP Components from Apache are better than the ones in JS
There's one-liner to do everything
 
Apache ... urk
I have a personal dislike against Apache libs.
 
I can understand this, I had a lot of trouble with few of them
 
It's not really "trouble", they're just so... Unwieldy
 
But the current HTTP is working ok and there's PDF on the homepage with the one-liner somewhere at the bottom
But for most work I use it normally anyway, as threaded pool
In Java, I produce also much less bugs than I used to do in PHP and JS
Actually I havent got anything unexpected yet, not even null pointer
but I test everything for performance, input data as well various conditions, so that once done it's working ok
network glitches with iptables REJECT or DROP
 
The thing about apache libs is they're convenient for the 90%. If you're doing something serious, you need to invest in the 10%
 
7:54 PM
I/O glitches I am pulling the fibre
@Kylar yes and I had to invest but the manual was very good and it wasnt really difficult to get it stable working without any issues, I can say this for HTTP Client 4.3 which is previous stable release is really good
For example, Microsoft one is also quite good, but has a lot of quirks one needs to know
I am using it for streaming data over HTTP, it's real-time streaming with 5 hops across the globe
So I need to handle retries, various http errors, and also limit number of connections, configure routes etc
And also there's HTTP, HTTPS, and there's IpV6
 
Is there a room here on SO where they deal with google app script?
 
Huh
 
@Gemtastic no clue..
 
hmm
 
8:12 PM
@Gemtastic may be you can create one ;)
 
I could :P
But then it'd just be me...
 
Invite interested people...
 
If I knew who were interested I could go to channels they are in XD
For some reason my sheet is sending in nothing, not even null, into my function and I'm clueless as to why? :/
 
The whole thing is a figment of your imagination, and you're actually dreaming right now
 
I wish it was...
MWE works, but that specific sheet doesn't >:C
 
9:04 PM
>:(
 
00:00 - 15:0015:00 - 22:00

« first day (1671 days earlier)      last day (3256 days later) »