Honestly I think not supporting empty literals is just as big a limitation
as not supporting single quotes, so IMO we'd just be trading one limitation
for another. i.e. if someone were to need empty literals, the things they
would have to do to use them are the same things they'd have to do to
supp
Stephan,
On that note, I worked on the initial implementation for PR 450, and had to
pause for work but am planning to resume soon, but definitely contribute
and/or provide any thoughts as it's definitely a big change from the
current CaseUtils.
Regards,
Dan
On Wed, Apr 10, 2024, 9:20 PM Stephan
One comment about the collection comparison...
For any collection that actually implements List, equality should *include*
order, not attempt to ignore it, right? The contract of a list is that the
order is consistent, and two lists with the same items in different order,
should not be considered
Does it make sense for the EventListenerSupport class to have a separate
method to fire an event "quietly" i.e. without throwing exceptions to the
caller?
I've needed to implement it locally to guarantee that all listeners receive
the event, whereas the standard fire() terminates on the first exce
Fri, Aug 11, 2023 at 11:31 AM Daniel Watson wrote:
> If no instance of Thing1Case can be reconfigured, then that holds true,
> right? The fact that it extends something like DelimitedCase doesn't break
> the spec I wouldn't think?
>
>
>
> On Fri, Aug 11, 2023,
and one thing only...
> hence this specification exercise 😉
>
> Gary
>
> On Wed, Aug 9, 2023, 9:52 PM Daniel Watson wrote:
>
> > I would think it's possible to hide that "configuration" from the user
> such
> > that the implementation can only be r
.org/en/jsr/detail?id=363
>
> Gary
>
> On Thu, Aug 10, 2023, 10:56 AM Daniel Watson wrote:
>
> > I brought this up in commons-math and it was determined that that
> probably
> > wasn't a good place for it, as that lib focuses on computational
> functions.
> &
I brought this up in commons-math and it was determined that that probably
wasn't a good place for it, as that lib focuses on computational functions.
It was also mentioned that commons-numbers was not a great place for the
static util method either.
Essentially the need for this relates to scient
I had my pitchfork ready, but I suppose a ban is more civil.
Thanks!
On Thu, Aug 10, 2023 at 9:41 AM Mark Thomas wrote:
> Got them.
>
> The idiot concerned has won themselves a lifetime subscription to the
> deny list for commons-dev and the handful of other ASF lists they are
> subscribed to.
r the discussion!
On Wed, Aug 9, 2023 at 3:00 PM Daniel Watson wrote:
> I believe the convention is to take the *least* precise term and apply
> that precision (here "precision" != "sigfigs" - Ive been using both terms
> to mean sigfigs, but for these purposes prec
r to enable it?
On Wed, Aug 9, 2023, 9:14 PM Elliotte Rusty Harold
wrote:
> On Wed, Aug 9, 2023 at 11:36 PM Daniel Watson
> wrote:
> >
> > Meant to add...
> >
> > The reason I would favor exceptions is that the underlying implementation
> > can be ea
gt; MySnakeCase(){
> super().
> this.alphanuneric = false;
> }
> }
>
>
> On Wed, Aug 9, 2023, 7:29 PM Daniel Watson wrote:
>
>> Currently I'm planning a set of exceptions that are thrown for various
>> reasons. I created multiple classes to allow for clear
hen a token contains an unpermitted character?
>>
>> On Wed, Aug 9, 2023 at 8:30 PM Daniel Watson
>> wrote:
>> >
>> > Here's my stab at a spec. Wanted to clarify some parts of the Case
>> > interface first before jumping into the implementations. Wonde
#x27;m not looking at the code
right this moment but I'm fairly certain about the need for the above 3.
On Wed, Aug 9, 2023, 6:08 PM Elliotte Rusty Harold
wrote:
> What happens when a token contains an unpermitted character?
>
> On Wed, Aug 9, 2023 at 8:30 PM Daniel Watson wrote:
&
l string)
must be a lowercase alpha character (rather than the uppercase requirement
of PascalCase). All other restrictions of PascalCase apply.
On Tue, Aug 8, 2023 at 8:55 PM Daniel Watson wrote:
> Kebab case is extremely common for web identifiers, eg html element ids,
> classes, attribu
d
with a few more examples, but I think that's the logic at a high level.
Dan
On Wed, Aug 9, 2023 at 2:08 PM Alex Herbert
wrote:
> On Wed, 9 Aug 2023 at 17:13, Daniel Watson wrote:
>
> > BigSigFig result = new BigSigFig("1.1").multiply(new BigSigFig("2"))
The wrinkle is the tracking aspect, where we
need to dynamically reduce the sigfigs based on other operations. That's
where a wrapper class I think comes in handy.
Dan
On Wed, Aug 9, 2023 at 11:23 AM Alex Herbert
wrote:
> On Wed, 9 Aug 2023 at 15:43, Daniel Watson wrote:
> >
&g
to derive them from pure numbers doesn't apply.
Hope that answers more questions than it creates!
Dan
On Wed, Aug 9, 2023 at 8:48 AM Alex Herbert
wrote:
> Hi,
>
> On Wed, 9 Aug 2023 at 12:27, Daniel Watson wrote:
>
> > This feature is necessary when working with scientif
I noticed there is not (or I could not find) a function within commons-math
to count the number of significant figures in a number string. I wrote a
function to do it and want to make sure I'm not missing something within
commons-math before submitting a PR.
This feature is necessary when working
;
> I've never heard of kebab cases before. Is that a common name? I'd
> also like to rename Pascal case. How many programmers under 40 have
> even heard of Pascal, much less are familiar with its case
> conventions?
>
> Long story short - a PR is premature until ther
I have a bit of code that adds the ability to parse and format strings into
various case patterns. Wanted to check if it's of worth and in-scope for
commons-text...
Its a bit broader than the existing CaseUtils.toCamelCase(...) method.
Rather than simply formatting tokens into the case, this API a
Does anyone else get gitlab error messages in response to emails sent to
this list (coming from supp...@cons3rt.com) ? The messages have no
information as to the cause or resolution. Can't find any documentation
about it on mailing list page.
>
> >>>> Worth adding adding function(Function)? Seems low cost to add it
> >>>> FailableFunction.
> >>>>
> >>>> Gary
> >>>>
> >>>> On Fri, Aug 4, 2023, 2:04 PM Rob Spoor wrote:
> >>>>
> >
Name);
> >>
> >> You want a default value? Almost just as easy:
> >>
> >> someFrameworkThing.setProperty(function(ParentBean::getChild)
> >> .andThen(ChildBean::getName)
> >> .andThen(Optional::ofNullable)
> >
etName)
> .andThen(Optional::ofNullable)
> .andThen(o -> o.orElse("defaultName"));
>
>
> On 04/08/2023 16:04, Daniel Watson wrote:
> > Asking for comments and thoughts on a potential new feature. Already
> > developed in a commons-li
Asking for comments and thoughts on a potential new feature. Already
developed in a commons-like style, but dont want to submit PR without
discussion as it may be considered out of scope or too use case specific.
Justification and details...
I've run into a scenario a few times where nested lamba
26 matches
Mail list logo