Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
edefazio
@edefazio
I'm just thinking of switching for maven/ editor purposes
Danny van Bruggen
@matozoid
Could be nice for my old laptop too
Danny van Bruggen
@matozoid
So much interesting stuff here: https://futureofcoding.org/catalog/
edefazio
@edefazio
Danny van Bruggen
@matozoid
edefazio
@edefazio
(too much reading, I want my computer to talk to me cuz lazy)
Danny van Bruggen
@matozoid
Man, everything is going wrong with this release!
edefazio
@edefazio
(issues w/ textblocks?)
Danny van Bruggen
@matozoid
It started with a test failing. Okay, fixed that. Now it fails on the release tag already existing. Oh, how do I delete a remote tag again? let's go to sleep. Rerun release, tag already exists of course. Change repositories from https to ssh so I can push/delete tags there. Rerun, oh it exist in three repositories and I only deleted two.
Finally I get to the upload to bintray (which is awesome) and it complains there is a conflict.
The files were already uploaded?!?
Deleted that release, now running again.
Textblocks are fine, I hope everyone out there is enjoying the textblocks
(Actually, it mostly takes half a year or longer for issues to come in for the latest Java features :-) )
edefazio
@edefazio
yeah, all this build stuff is not my forte...I interviewed at Amazon years ago... and like once a month they ask about "an exciting devops opportunity" (no thanks)
Danny van Bruggen
@matozoid
Sonatype is such a pain in the ass to use. A magic issue tracker, lots of file signing (oops, forgot password) and lots of delays.
I'll do devops if I can open a cloud admin page and understand everything on the screen at once :-)
Danny van Bruggen
@matozoid
Can anybody help out here? javaparser/javaparser#2367
Simon
@SimonBaars
I will look into it this evening
Simon
@SimonBaars
(I've been out of the running for a bit while switching positions, but am motivated to try to help out with symbol solver related issues outside of work)
Danny van Bruggen
@matozoid
Cool, thanks!
Simon
@SimonBaars
Issue javaparser/javaparser#2367, just created a test that resolves a private field, test succeeds so this is not true for any private field
I will request more information + reproducible case
Simon
@SimonBaars
I think I solved javaparser/javaparser#2366. Only took me 1.5hrs of debugging to find he had a trivial error in his code. :see_no_evil:
Not too bad though, I'm learning the internals of the symbol solver in the meanwhile :)
Simon
@SimonBaars
Issue javaparser/javaparser#2362 should be solved by my PR. Just a switch missing a case.
Danny van Bruggen
@matozoid
Aaaargh, user errors! :-D
I'll go check it out tomorrow!
Simon
@SimonBaars
:)
Jan Bessai
@JanBessai
does Javaparser provide anything for name mangling?
and, similarly, is there something to escape a string so that it can be inserted into a comment?
Danny van Bruggen
@matozoid
@SimonBaars - did you you check if the operator list is complete for that PR I just merged? Otherwise we'll just get another bug report for another operator some day :-)
@JanBessai how would you like to mangle your name?
There is a lot of stuff for escaping and unescaping in all kinds of ways.
Jan Bessai
@JanBessai
@matozoid basically turning any string into a ast.expr.SimpleName, escaping strings like "class", "if", ... in whatever way is reasonable
right now I try to parse the string as a SimpleName and on error I replace it by "_" separated decimal representations of its utf8-byte content
and I add a comment /* $originalString */ in front of it
that is of course inefficient, looks ugly and breaks if the original string contains things disallowed in block comments (e.g. */)
Jan Bessai
@JanBessai
(+ it assumes things are utf-8 but that can be easily parameterized and is not a concern for now)
Simon
@SimonBaars
@matozoid Yes, I checked the list :-D all are there except for this one
Simon
@SimonBaars
I added the YAML parser output to the PR: javaparser/javaparser#2371
Danny van Bruggen
@matozoid
@JanBessai There's nothing for avoiding keywords and other invalid characters. That would be kind of useful to have in CodeGenerationUtils or so...
Well, you've just proved that escaping for use in comments is also a useful feature, so that would be useful too :-)
Danny van Bruggen
@matozoid
It's like I'm only running into philosophical issues lately, instead of fixing stuff: javaparser/javaparser#2376
edefazio
@edefazio
you must be an INTJ personality type... "that depends" is strong in our vocabulary
https://www.reddit.com/r/intj/comments/9s3fcl/that_depends/
Danny van Bruggen
@matozoid
Eek! I think that's actually correct
Danny van Bruggen
@matozoid
For those who are contributing to the project: if you want some acknowledgement, you can always add yourself in the pom.xml file, mention yourself in changelog.md, or I can give a shout out on Twitter or so.
Danny van Bruggen
@matozoid
Retweet this one if you like, by the way: https://twitter.com/matozoid/status/1175503394510966785
I'm really curious what the point of that construct is.
It needs to make its way into Java puzzlers everywhere :-)