Better HN
topnewbestaskshowjobs
Log inSign up

olq_plo

11 karma · joined Apr 14, 2019 (7y ago) · 24 submissions

Submissions

1.

My Local Coding Agent(hdembinski.github.io ↗)

1 points · by olq_plo · 2w ago · discuss

comment 4mo ago · link · parent

Dunno why people still write about Kokoro, there are better alternatives. Pocket TTS has more natural intonation and voice cloning. Supertonic 3 is another great model in the same weight class, which is the only one that can autodetect language and make a mix of different languages sound good.

comment 4mo ago · link · parent

Dumb. This is what modules are for. Also, the stdlib is extremely well designed. It considers edge cases most people never think about. Source: I am a Boost Developer.

comment 7mo ago · link · parent

That blog post is full of AI slop. Repeats the same argument a gazillion times. It's not X, it's Y. Awful to read.

comment 8mo ago · link · parent

Great, thanks for making me Google what CRM means in this context. Neither your post nor your website explains the acronym.

comment 10mo ago · link · parent

And now you can do this with polars in parallel on all your cores and the GPU, using almost the same syntax as in pyspark.

comment 1y ago · link · parent

Corollary: Doing the thing and not talking about it in a hammer tweet is also 'not doing the thing'.

comment 1y ago · link · parent

I wrote my first post about parsing webpages to structured data with a LLM in January, using local models. Now its October and I did it again with current models and libraries. Boy, what a difference.

9.

Parsing webpages with a LLM, revisited(hdembinski.github.io ↗)

2 points · by olq_plo · 1y ago · 1 comment

comment 1y ago · link · parent

The post is so painfully obviously AI written, it hurts my eyes.

The Setup

The Scoop

The Conclusion

I hate AI slop.

comment 1y ago · link · parent

Yes, bad article to omit that. It is such a cool fun fact. Gauss was unreal.

comment 1y ago · link · parent

Since you seem to know your stuff, why do LLMs need so much data anyway? Humans don't. Why can't we make models aware of their own uncertainty, e.g. feeding the variance of the next token distribution back into the model, as a foundation to guide their own learning. Maybe with that kind of signal, LLMs could develop 'curiosity' and 'rigorousness' and seek out the data that best refines them themselves. Let the AI make and test its own hypotheses, using formal mathematical systems, during training.

comment 1y ago · link · parent

IANAL, but it means the commit itself is public domain. When integrated into a code base with a more restrictive license, you can still use that isolated snippet in whatever way you want.

More interesting question is whether one could remove the GPL restrictions on public code by telling AI to rewrite the code from scratch, providing only the behavior of the code.

This could be accomplished by making AI generate a comprehensive test suite first, and then let it write the code of the app seeing only the test suite.

comment 1y ago · link · parent

Very cool idea. Can't wait for converted models on HF.

comment 5y ago · link · parent

This is not everyone, but if you've been writing scientific papers with LaTeX, you may have come across this issue.

You go to an online database (Inspire or ADS) to fetch some references for your paper. Then you have to copy/paste the entry twice, the key to your LaTeX document and the BibTeX entry to your .bib file. Doing redundant things is annoying, right? autobib removes the need to do the latter. You still have to look up the key online and cite it in your LaTeX document, but autobib downloads the entry automatically to your .bib file.

16.

Autobib v0.4.0 released: auto-download missing entries to your BibTeX file(github.com ↗)

2 points · by olq_plo · 5y ago · 1 comment

comment 5y ago · link · parent

Apart from the visible changes to the user interface, I completely swapped out the foundation. iminuit consists - at its core - of Python bindings to the Minuit2 C++ library.

We used to generate those bindings with Cython, but Cython is very bad at generating bindings for C++. It does not support all modern features and imposes restrictions on what you can wrap. It is also an external code generator that you have to install.

Cython was a real problem, so we switched to the excellent pybind11 library. It is C++ header-only library. Generating Python bindings with that is a breeze and it supports all possible C++ constructs. We lost at lot of weight and awkward complexity by switching out the foundation.

comment 5y ago · link · parent

Hi, I present the v2.0 overhaul of iminuit, the Jupyter-friendly Python interface for CERN's Minuit2 C++ library.

iminuit is a minimizer to find a minimum of a mathematical (Python) function. It is used by people who fit complicated statistical models to data. There are many other minimizers out there (like those in scipy), but iminuit can also compute uncertainty estimates for the fitted values, which almost no other package can do. If that is not of interest to you, you can stop reading here :).

iminuit has been around for a long time and is popular in the astroparticle physics community, but its roots are in the high energy physics community, where almost every publication uses Minuit in some way.

Most of CERN's software is bundled in ROOT, a large framework that can do all kinds of things. Some people, however, prefer small packages that do specific things, and for those iminuit was written.

You can easily pip install iminuit and try it on one of the tutorials, everything is heavily documented. Starting with iminuit now is the best time, because the interface has been really cleaned up in v2.0.

19.

Show HN: Iminuit v2.0 Released(iminuit.readthedocs.io ↗)

3 points · by olq_plo · 5y ago · 2 comments

20.

Things I learned about C++ exceptions from Boost(github.com ↗)

4 points · by olq_plo · 6y ago · discuss

comment 7y ago · link · parent

Thanks for the feedback, I am going to update the example in the readme. The point was that boost::histogram plays nicely with the C++ stdlib algorithms, but that seems to be distracting.

comment 7y ago · link · parent

Some Boost libraries have little or no dependency on other libraries, e.g. boost::mp11. In the past, our libraries used to be very interdependent, but we recognize that this is an issue and nowadays try to decouple the libraries so that you can install only the parts you need.

We even provide a tool to help with that: https://www.boost.org/doc/libs/1_70_0/tools/bcp/doc/html/ind...

boost::histogram currently depends directly on 8 other boost libraries, but some of those (e.g. boost::variant) pull in a huge number of other libraries, so in total it is 29. I am working on reducing the dependencies in the upcoming versions.

comment 7y ago · link · parent

Glad to hear it! What was the problem with Boost Variant exactly?

comment 7y ago · link · parent

Labels are metadata. You can attach arbitrary metadata to each axis or no metadata at all. The metadata is sometimes useful to keep track what each axis range was representing. For example, if you load a serialized histogram into your program that someone else generated.

Here is an example which demonstrates the usefulness of labels: https://raw.githubusercontent.com/boostorg/histogram/develop...

The design choice of using operator() or a fill() method was hotly debated. In the bigger picture of things, operator() is better because then 1D histogram have the same fill syntax as the accumulators from Boost::accumulators.