About

Welcome to the personal website of Eric Obermühlner.

I will use it to publish my own applications, information about software development and other things I think might be of interest.

9 Responses to About

  1. Charles C. says:

    Hey Man,
    Happy New Year!
    I’ve been looking at your Wiki-SpiderWeb on GitHub; I was curious if you could shoot me an email on how you were able to get the links from the current Wiki page to pull the same values of the original or at least point me into the right direction…but more of how you got the links to have the the clicked on pages links have the same properties. I’m fairly new to Java and can’t seem to find it. I’ve tried Ajax, Json…everything. Yours is easily the best I can find on what I’m trying to do.
    Great App! Cheers.

    • admin says:

      Hi Charles

      I have also tried several approaches to find the links as fast and reliable as possible.
      In the end I decided to do a very simple regular-expression based scan over the HTML source.
      WebPageWikiData.java

  2. self says:

    I have noticed that in your Java BigDecimalMath class that you
    have implemented the tan function as its equality to sin/cos.

    Won’t this be less inefficient in memory maintaining two sets
    of terms and not one, unless I’m mistaken?

    Do you plan to change this via what you have shared on GitHub?

    • admin says:

      I am not sure whether I understand your idea, but I am interested.
      Can you please explain more?

  3. Petar Vuković says:

    I would like to thank you. Your big-math repository was of great help with my final project on academic studies. I made a web application for numeric integration.

    Kind regards,
    Petar Vuković student of electrical engineering from University in Belgrade

  4. Java Developer says:

    At the moment, BigDecimalMath requires you to submit a java.math.MathContext
    every single time. Is it possible for you to add the option to omit that,
    or have the situation so that users might submit or overwrite a MAthContext
    once at the beginning, and include only the number parameters for the functions
    inside BigDecimalMath?

    • admin says:

      I agree it is annoying 😉

      There would be two possibilities:
      1) Have a static setter for a default MathContext.
      While this would be fairly simple it is also very ugly because the class beomes stateful (Imagine the race conditions if 2 threads set the MathContext differently).
      2) Create a context class where every instance has a MathContext and provides the math functions using this MathContext.
      Much better than 1) because the state is in a specific instance.
      Also a bit harder to use, because now you need to pass around this context instance (or keep a global instance).
      The BigFloat class in the big-math library was an experimental attempt to provide such a context, but I am not sure how good it holds up to reality…
      You can easily write this context class yourself for your project.
      I will think about it (just added an issue to github https://github.com/eobermuhlner/big-math/issues/12 )
      and might add such a context to big-math.

      • admin says:

        On second thought I think that if a particular project needs calculations always to a specific precision the best solution would be to write your own little wrapper with static methods that call BigDecimalMath with a constant MathContext.
        Stable, threadsafe, simple.

Leave a Reply to admin Cancel reply

Your email address will not be published. Required fields are marked *