Re: [commons-text] Additional CaseUtils type functionality that can handle snake, kebab, camel, pascal, and others

2023-08-09 Thread Hasan Diwan
[content inline] On Wed, 9 Aug 2023 at 15:47, Elliotte Rusty Harold wrote: > Checked exception is almost certainly wrong. But I'm not sure we need > any exception at all here. I don't think these methods need any > exceptions at all aside from NullPointerException for null inputs. > Otherwise, e

Re: [commons-text] Additional CaseUtils type functionality that can handle snake, kebab, camel, pascal, and others

2023-08-09 Thread Hasan Diwan
[content inline] On Wed, 9 Aug 2023 at 15:08, Elliotte Rusty Harold wrote: > What happens when a token contains an unpermitted character? > Three possibilities: 1. null -- favoured by Square's HTTP implementation. 2. a checked Exception --preferred by the JDK. 3. an unchecked Exception -- lever

[commons-math] Three Concerns

2023-08-04 Thread Hasan Diwan
I'm trying to migrate an internal service for interpolation to commons-math 3.6.1, using org.apache.commons.math3.fitting.GaussianCurveFitter. My thoughts on this method: - The fit() function returns a double[], what the numbers mean is missing from the javadoc. I can write the doc, but just need

Re: [lang] Considering a new String utility class

2023-03-16 Thread Hasan Diwan
Looking through StringUtils[1]m most of the methods have an "IgnoreCase" variant, so I don't think one needs to DO anything to achieve this. If you want to fold the ignoreCase variants, add something like: private static boolean disregardCase = false; /** * Sets case-insensitivity in

Re: [lang] Considering a new String utility class

2023-03-15 Thread Hasan Diwan
On Wed, 15 Mar 2023 at 20:55, Matt Benson wrote: > > > > > Any thoughts? > Something like: > StringUtils2.ignoreCase() /* makes the next functions case insensitive */.respectCase(). * back to case-sensitive */ ? -- H -- OpenPGP: https://hasan.d8u.us/openpgp.asc If you wish to request my time

Re: [lang] Considering a new String utility class

2023-03-15 Thread Hasan Diwan
+1 On Wed, 15 Mar 2023 at 05:58, Gary Gregory wrote: > PRs and issues like "[LANG-1682] Adding new startsWithAnyIgnoreCase > method and tests cases" keep popping up from time to time. > > My preference is to stop adding APIs that are variations of other APIs > based on case sensitivity (and Char

Re: Creating a Kotlin Commons Lang Package

2020-08-17 Thread Hasan Diwan
Couldn't you follow the directions at https://kotlinlang.org/docs/reference/java-interop.html to call the Java methods from Kotlin? Or am I missing something? -- H On Mon, 17 Aug 2020 at 17:45, Miguel Muñoz wrote: > I'd be happy to join you. > > On Mon, Aug 17, 2020 at 5:24 AM Adwait Kumar Sing

Re: Release Announcement: General Availability of Java 14 / JDK 14

2020-03-18 Thread Hasan Diwan
Congrats to all of you who were involved with this project! -- H On Wed, 18 Mar 2020 at 01:47, Rory O'Donnell wrote: >Hi Benedikt, > > > **Release Announcement: General Availability of Java 14 / JDK 14 [1] * * > > * JDK 14, the reference implementation of Java 14, is now Generally > A

Re: [ANNOUNCE] Welcome Matt Juntunen to Apache Commons

2020-03-10 Thread Hasan Diwan
Congratulations, kind sir! -- H On Tue, 10 Mar 2020 at 08:12, Matt Juntunen wrote: > Thank you! It's a great honor. > -Matt > > From: Rob Tompkins > Sent: Tuesday, March 10, 2020 9:02 AM > To: Commons Developers List > Subject: Re: [ANNOUNCE] Welcome Matt Juntu

Re: [VFS] Is there any documentation on creating a new provider?

2018-03-05 Thread Hasan Diwan
Otto, On 5 March 2018 at 07:53, Otto Fowler wrote: > Is there any documentation on what is required for creating support for a > new filesystem? > Perhaps https://commons.apache.org/proper/commons-vfs/api.html may be useful? > Or would anyone recommend an existing one in common or sandbox tha

Re: [Signing] New component for code signing

2018-01-24 Thread Hasan Diwan
+1 On 22 January 2018 at 22:33, Mark Thomas wrote: > All, > > As you may know, the ASF has been using a code signing service for a > number of years provided by Symantec. We use it to sign Commons Daemon > Windows binaries. > > The code signing service has a web based GUI and a SOAP based API. >

Re: [PROPOSAL] Apache Commons JUnit

2017-11-04 Thread Hasan Diwan
How about "Apache Commons Testing"? -- H On 4 November 2017 at 09:10, Gary Gregory wrote: > On Sat, Nov 4, 2017 at 9:32 AM, Pascal Schumacher < > pascalschumac...@gmx.net> > wrote: > > > JUnit 5 is not backwards compatible (Package/Annotation-Names have > > changed, Rules were replaced by a new

Re: [ANNOUNCE] Apache Commons BCEL 6.1 released!

2017-09-19 Thread Hasan Diwan
Congrats to all involved in making this happen! -- H On 19 September 2017 at 10:51, sebb wrote: > Well done, and thanks for doing this. > > On 19 September 2017 at 09:37, Benedikt Ritter wrote: > > Hello, > > > > the Apache Commons Community is happy to announce the release of Apache > Commons

Re: [OT] Job offer

2017-07-29 Thread Hasan Diwan
Perhaps an English-translation here? German's far from my first language, after all. -- H On 29 July 2017 at 12:56, Oliver Heger wrote: > Hi all, > > my apologies in advance if this is considered spam, but as some of my > colleagues know that I am involved in an open source project, they asked >

Re: [RESULT][math] [POLL] new TLP name

2016-02-04 Thread Hasan Diwan
I'm indifferent. -- H On 4 February 2016 at 11:39, Phil Steitz wrote: > It looks like just plain "math" is the quantitative winner. Here is > the full tally: > > Among PMC volunteers: > > math 4 (Phil, Gary, Thomas, Otmar) > Epsilon 1 (Luc) > aJama 1 (Gilles) > > Other votes: > math 9 (James,

Re: [math] Name of the new TLP

2016-01-25 Thread Hasan Diwan
Megginson is a Souix mathematician , so perhaps Meggison.apache.org ? -- H On 24 January 2016 at 23:52, Benedikt Ritter wrote: > Hi, > > I very much like the idea of taking the name of a famous mathematician. > If it has to be some thing more descriptive: Apache Commons HttpClient went > to Apac

Re: [math] Name of the new TLP

2016-01-24 Thread Hasan Diwan
If we are to choose a famous person's name, why not a famous native American mathematician? I'm not aware of any, but it would be keeping with the traditions of Apache, being a native American tribe, Geronimo being a native American chief, as well as a few others. -- H On 24 January 2016 at 13:51,

Re: [VOTE] Form a separate TLP based on [math]

2016-01-16 Thread Hasan Diwan
+0 I am OK with this. What benefits does being a TLP get over a commons-subproject? -- H On 16 January 2016 at 09:49, Thomas Vandahl wrote: > On 16.01.16 16:18, Phil Steitz wrote: > > [ ] +1 I am in favor of this action > > [X] +0 I am OK with this > > [ ] -0 OK, but... > > [ ] -1 I oppose this

Re: [Math] Utilitzation of SLF4J?

2015-09-25 Thread Hasan Diwan
On 25 September 2015 at 16:47, Gilles wrote: > On Fri, 25 Sep 2015 17:30:33 +0200, Thomas Neidhart wrote: > >> On Fri, Sep 25, 2015 at 5:09 PM, Gilles >> wrote: >> >> On Fri, 25 Sep 2015 07:28:48 -0700, Phil Steitz wrote: >>> >>> On 9/25/15 7:03 AM, Gilles wrote: On Fri, 25 Sep 2015 15

Re: [Math] Utilitzation of SLF4J?

2015-09-25 Thread Hasan Diwan
Oughtn't there be an option to have logging for developers? If you'd like to use it, feel free; if not, don't. Including log4j (or slf or commons-logging, so on) doesn't add too much weight to the jar -- one file, a small properties file, and 4-lines in the pom file. If there is interest, I can sub

Re: request for an article.

2014-12-25 Thread Hasan Diwan
https://commons.apache.org/proper/commons-collections/userguide.html The users' guide seems to have the data you're looking for. I'm sure, were you to design a visualisation, the powers-that-be would not be opposed to including it. -- H On 25 December 2014 at 00:06, Thomas Neidhart wrote: > On

Re: [CSV] ASCII Delimited Text – Not CSV or TAB delimited text

2014-03-27 Thread Hasan Diwan
r direction, I'll keep my views to myself. -- H On 27 March 2014 09:43, Gary Gregory wrote: > On Thu, Mar 27, 2014 at 11:58 AM, Hasan Diwan > wrote: > > > Python (at least, maybe Ruby/perl as well) has a csv class whose > > constructor takes a delimiter, defaulting to

Re: [CSV] ASCII Delimited Text – Not CSV or TAB delimited text

2014-03-27 Thread Hasan Diwan
Python (at least, maybe Ruby/perl as well) has a csv class whose constructor takes a delimiter, defaulting to ","; R accomplishes the same using read.table's sep parameter. OpenCSV, a Java class for manipulating CSVs, also has a notion of a separator. It's not too difficult to add, I'd be willing t

Re: [OT] Anyone going to JavaOne?

2013-09-19 Thread Hasan Diwan
Not going, though I do seem to manage to get myself into the afterparties/happy hours every year. -- H On 19 September 2013 13:53, Ted Dunning wrote: > I am not going, but we have a ton of guys there. > > Drop by the MapR booth and say hi! > > > > > On Thu, Sep 19, 2013 at 12:50 PM, James Carma

Re: [ALL] Moving from Incubator to Commons?

2012-11-07 Thread Hasan Diwan
+1 on nutch -- H

Re: Git support?

2012-05-20 Thread Hasan Diwan
Gents, Maven does have git support[1]. So, it would be only a matter of updating your poms to reflect the new scm type. -- H On 20 May 2012 13:20, Christian Grobmeier wrote: > On Sun, May 20, 2012 at 12:43 AM, James Carman > wrote: > > Perhaps classscan? :) > > makes perfect sense to me :-) >

Re: [dbutils]

2011-12-19 Thread Hasan Diwan
On 19 December 2011 01:03, aris2world wrote: > I don't have a generic order for keys, my order is the same of the fields > in select list: > select , , ..., from ... > when the resultset of this query is mapped, values in the map are inserted > in this order , , ..., . > I'd like that map.keySet(

Re: [dbutils]

2011-12-18 Thread Hasan Diwan
On 18 December 2011 10:31, aris2world wrote: > I've a question about CaseInsensitiveHashMap in BasicRowProcessor: it > extends HashMap but if it will extend LinkedHashMap I think the resulting > Map could seem more consistent with the executed query to a client > perspective. > I mean: when the me

Re: [lang] Working on issue LANG - 583 Was: Need to start the work

2010-02-02 Thread Hasan Diwan
Sir: On 2 February 2010 00:30, Chandra Shekar wrote: > ok i can download the code, But how can i asssign the issue to myself in > jira, I dont see any option for assign You don't assign yourself a particular issue. You publish the patch to the issue, then some comitter evaluates it for inclusion

Re: [lang] ArrayUtils issues

2009-11-14 Thread Hasan Diwan
2009/11/14 Henri Yandell : > LANG-470        Add containsAll(Object[], Object[]) methods to ArrayUtils public static containsAll(Object[] first, Object[] second) { for (Object o : first) { if (ArrayUtils.contains(second, o) == false) return false; } return ArrayUtils.getLength(first) ==

Re: [email] Some hands are needed for field testing commons-email ...

2009-01-10 Thread Hasan Diwan
2009/1/10 Siegfried Goeschl : > +) your name (so I can mention your help on the project website) Hasan Diwan > +) your mail client of choice GMail on Firefox > +) you OS and OS version if you are not using a webmail client Mac OS X 10.5.8 -- Cheers, Ha

Re: [all] Junit 3.8.2 jar is not Java 1.3 compatible

2008-03-06 Thread Hasan Diwan
deprecated as of 1.6. I can't seem to make heads from tail of the junit site, else I'd submit a patch. -- Cheers, Hasan Diwan <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [configuration] DatabaseConfiguration - should it escape SQL?

2008-01-19 Thread Hasan Diwan
On 19/01/2008, Oliver Heger <[EMAIL PROTECTED]> wrote: > I created a ticket for this issue [1], so that it won't get lost. I've actually submitted a patch to fix the "problem". -- Cheers, Hasan Diwan <[EMAIL PROTECTED]> -

[Collections] Fixes posted

2008-01-08 Thread Hasan Diwan
I have posted patches for COLLECTIONS-227 and COLLECTIONS-265. it may be doing unnecessary work, I was just looking for the most straightforward approach to solve both. Any comments are appreciated! -- Cheers, Hasan Diwan <[EMAIL PROTEC

[OpenPGP] Encryption

2008-01-01 Thread Hasan Diwan
I've just created a JIRA issue with a patch attached dealing with Commons-openPGP and encryption. Any advice as to how to go about unit testing this code is appreciated. -- Cheers, Hasan Diwan <[EMAIL PROTECTED]> -

Re: [LANG] StringUtils.reverseSplit

2007-12-27 Thread Hasan Diwan
NG-387 Patch attached for your review. -- Cheers, Hasan Diwan <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[LANG] StringUtils.reverseSplit

2007-12-25 Thread Hasan Diwan
If anyone isn't working on this, I'll do it and have an issue up in a few hours with a test included. -- Cheers, Hasan Diwan <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional