Kenn Ejima

Results 20 issues of Kenn Ejima

It is not scalable when you have millions of records. An array with millions of elements would go out of memory, and moreover it's prohibitively slow on the DB as...

This will replace #14 and adds all methods from internal `Hash`. This PR is on top of and includes changes from #15

This change will add a bunch of [Enumerable methods](http://ruby-doc.org/core-2.5.0/Enumerable.html) such as `map`, `select`, `any?`, etc.

This change will unify `@table` and `@table_with_original_keys` into one `@table` to: * Keep original keys (string or symbol) * Mutate contents with original keys * Or if original key doesn't...

I've been getting the following error lately (koala 1.10.1): ``` Koala::Facebook::ClientError: type: OAuthException, code: 2, message: An unexpected error has occurred. Please retry your request later. [HTTP 500] ``` Notice...

Showing the same error in three different ways seems redundant. Is it possible to collapse into one? The second one looks most relevant. ``` cap aborted! SSHKit::Runner::ExecuteError: Exception while executing...

new feature

From https://github.com/capistrano/sshkit/issues/348#issuecomment-220160838 > AFAIK nested on blocks were never considered in the design. The fact that it works at all is really just coincidence, due to how the SSHKit DSL...

enhancement
discuss!
help wanted

I'm getting `AssertionError` in `get_embeddings` — `list_of_text` seems to be larger than 2048. ```py Traceback (most recent call last): File "/proj/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 382, in __call__ result = fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^...

bug

### Describe the bug When `openai.Embedding.acreate` gets called many times, it prints a lot to STDERR, like so: ``` INFO:openai:message='OpenAI API response' path=https://api.openai.com/v1/engines/text-embedding-ada-002/embeddings processing_ms=350 request_id=681e326f4d3241ef9427e95c9eede485 response_code=200 INFO:openai:message='OpenAI API response' path=https://api.openai.com/v1/engines/text-embedding-ada-002/embeddings...

bug

### Describe the bug and the expected behavior With a typical server-side validation in [Post/Redirect/Get](https://en.wikipedia.org/wiki/Post/Redirect/Get) pattern, but I'm getting the stale error message after redirectWithSuccess (to the same URL with...