« first day (3624 days earlier)      last day (1319 days later) » 

4:18 AM
dreams of electric sheep
 
 
3 hours later…
7:13 AM
Anyone know the conditions for which an existing interface using jax-ws might break?
would a call fail if a request was made that was missing a new optional field?
or similarly, would parsing of the response of a request fail if it was missing a new optional response field?
Because I'm using axis now, and definitely the second scenario is true
but I was hoping that if I switched from axis to jax-ws, at least I could say that new optional fields would just be ignored
 
7:30 AM
how would a request fail if an optional field is missing? ๐Ÿคจ
axis is a relic tho
lol screw that
just discovered that jax-ws does not support optional fields
(if using WSDL) -> stackoverflow.com/a/21181974
meh, give me Spring.
 
7:44 AM
had to work on a funny glitch/bug
a customer found out that the old service they still have access to does not perform strict validation and provided some years from 19th century in the data sample
the bug is this (see image), so I replied the ticket with "it's by design"
I want to see his reaction ๐Ÿ˜
 
How do I replace an asterix with a dot asterix?
StringUtils.replace("abc*", "\\*", "\\\\.*")
Doesn't work
Removing all \ worked
 
@TheCoder that really depends which library you are using
you could have checked the documentations. The apache common-lang one clearly shows that it searches by exact matches, not by regex
 
8:07 AM
@KarelG not gonna switch to jax-ws just because axis is a relic though
 
I just pointed out that it's a relic
did not comment on its usage :P
 
and I would agree with you :D
 
"legacy code" is a thing.
 
unfortunately, I can't just download and use whatever library I want, I have to pick from a subset
 
picking the least worse option? :D
 
8:08 AM
yep, that sums it up nicely
I'm calling a service and they fucking updated the fields in this service without telling anyone
 
I just shoved in Spring framework in the CRM because I can do that without asking for permission. Perks of being team lead.
 
so now my part doesn't work
wish I could do that
 
@Neil no documentation?
such changes should be documented IMO
 
well it may be documented, but that doesn't change the fact that anyone calling the service as of a few days ago suddenly no longer can
or maybe they can because they use jax-ws.. again I don't know how tolerate it is
that's why I was asking mostly
if I updated, maybe I could avoid problems like this in the future
 
8:26 AM
well, if wsdl is in play, you cannot (see above)
 
9:06 AM
yeah, that's what I feared
not sure how I can bring it up without sounding like an asshole
that updates to the interface need to be communicated to everyone who uses it, or at the very least, me
 
get some sweets with you :D
 
also, here's a jelly bean ;)
 
just go to them and inform that you have a problem that is partially caused by their recent changes
 
can't really go to them, with the whole covid thing
I am working from home afterall
but I can message them personally I suppose
 
video call ?
or that
mail is ok as well
but chat is more informal, which helps a bit
 
9:08 AM
I don't like throwing people under the bus. If shit doesn't get done, and that's a last resort, that's what I'll do, but I'm not the type of person who throws their boss in an e-mail for every communication to absolve themselves from wrongdoing
most people are reasonable I find
 
I just inform and propose any solutions to prevent it in the future. Just say that you aren't unable to find a good solution for the current problem and for the future, it would be useful if they documented these changes
so that you can anticipate on it
@Neil I like to tackle people down verbally ๐Ÿ˜
I just don't beat around the bush
 
yep, I can totally see that
 
 
5 hours later…
1:58 PM
morn
 
morn
 
so guys, a little of topic but I had my annual talk with my boss yesterday and I was offered to do a PhD if I would like to do so (accumulated not monographic). What do you think? :D
the accumulated version is about publishing 3-5 papers in journals about a topic
then you defend and get your phd as in monographic you write one huge thesis and defend that
 
2:21 PM
Anyone know any good daily coding challenges
 
Zoe
codingame is pretty good
 
3:01 PM
@motaa Wow, are they paying for it?
 
3:16 PM
@Michael I am working at a big research facility and publishing papers is part of my job. So yes it is paid since it is part of my job.
 
@motaa Dang nice! :D
 
I would be publishing stuff for the phd that I am currently working on.
the problem is that when I publish for my phd I need to pollish more :P
 
You mean, the papers have to be of better quality?
 
well better quality is a bit broad... You write more text and go more in depth
usuallly I would write, in my case for example, that I put people behaviour in mealy automata without going deep into the topic of mealy machines being an abstract mathematical model and explaining everything
so the reader needs to know what a mealy machine is
 
Do you have to attend classes?
 
3:24 PM
no
nobody needs to attend classes in a phd
 
3:36 PM
That's cool
 
I am still debating with myself if I should or should not... on one side I think it is a great opportunity and I think "Dr. Ing motaa" could be a cool James Bond enemy character ;). On the other side it means more stress and less time for my wife
plus are chances really better for higher level jobs with a phd in the pocket?
 
hi ๐Ÿ‘‹ Is anyone here good with Spring and JWT? I'm not sure if what I want to do is possible. I just want to build a JWT token one it's own, as string.
 
How can I build a JWT as a string?
I think this package will help me... org.springframework.security:spring-security-jwt:1.0.2.RELEASE
 
 
6 hours later…
9:59 PM
dreams of electric sheep
 

« first day (3624 days earlier)      last day (1319 days later) »