License

Hi,
I want to base my project on your library, but I noticed you have not specified any kind of license for your project, and since your project is library this acitvely forbids any derivative projects based on your library.
I would suggest adding some kind of license (like MIT or Apache) to make your project more accessible.
According to Github's documentation

You're under no obligation to choose a license. However, without a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work. If you're creating an open source project, we strongly encourage you to include an open source license.

Thanks, I didn't realize the license was missing. Solved in #4.


Bug: Update problem

HI,
i pull the new version on release branch
From https://github.com/OneUptime/oneuptime
b1bd44be59..6ca43a4c93  release          -> origin/release

[new tag]               7.0.657          -> 7.0.657
[new tag]               build-number-657 -> build-number-657
Updating b1bd44be59..6ca43a4c93
Fast-forward
CommonServer/API/VersionAPI.ts             |   2 +-
CommonServer/Config.ts                     |   1 -
CommonUI/src/Components/Footer/Footer.tsx  |  15 ++++++++++++---
Dashboard/src/Components/Footer/Footer.tsx | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
Nginx/Dockerfile.tpl                       |   6 ++++++
5 files changed, 127 insertions(+), 16 deletions(-)

Ok but, after startup with command line
export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -d
Nothing in the footer ! No version

Is there a cache that should be empty?
I have the impression that it does update data from git but that Docker loads old versions!
What command can I pass to make sure it loads the latest versions of files?
Thanks in advance

and also, the legal link is incirrect. I load a 404 on oneuptime.com !
https://oneuptime.com/legal

Whats your APP_TAG in config.env. Is should be set to release

export $(grep -v '^#' config.env | xargs) && docker compose pull
Please run this to fetch newer images

Legal has been fixed here: https://github.com/OneUptime/oneuptime/commit/25669abb4085f16b2e08bc2f0017b6097f0b4457
Deploy EOD today. Ty for reporting.


Feature request: fix email regex check

use the new regex  "^[_a-z0-9-]+(.[_a-z0-9-]+)@[a-z0-9-]+(.[a-z0-9-]+)(.[a-z]{2,})$"  to check email

very good pr, thx!
@millionfor , please review this pr !


Unhandled Rejection (TypeError): easyinvoice is not a constructor

has a issue in react  ts file,
Unhandled Rejection (TypeError): easyinvoice is not a constructor

I had changed impor like this,
import easyinvoice from 'easyinvoice/src/lib/easyinvoice';
and then
console.log(easyinvoice);
const result = await easyinvoice.createInvoice(data);
report
Unhandled Rejection (TypeError): easyinvoice.createInvoice is not a function
  "easyinvoice": "^3.0.4",

Thank you for letting us know. We will try to fix this in the next 24 hours.

Fixed now in 3.0.5. Please let me know if this fixed your issue. Thank you in advance! Have a nice day.

It seems NPM has some issues making the latest publishes available. The version should be available soon thought.

NPM is back up, package is available.


Distributed training raises this error："only support contiguous for now"

Hi,
I cannot understand that error
cumm/include/tensorview/tensor.h(1458)
contiguous_ assert faild. only support contiguous for now
thanks.

could you provide full traceback of this error?

fixed in spconv 2.2.3, you need to wait for this build task finish and update spconv.


[CLIENT] TileManager "error: Not Tile Owner" when placing building

Refreshing the page fixes it

fixed by #1188


chat-api "finish_reason": "length" [Bug]

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.

Describe the bug
chat api output overflow, max_tokens does no effect
Reproduction
curl -X 'POST' \
  'url/v1/chat/completions' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "internlm-chat-20b",
  "messages": [{"role": "user", "content": "你好， 我是小明，今天天气真不错啊"}],
  "temperature": 0.7,
  "top_p": 1,
  "n": 1,
  "max_tokens": 512,
  "stop": false,
  "stream": false,
  "presence_penalty": 0,
  "frequency_penalty": 0,
  "user": "string",
  "repetition_penalty": 1,
  "renew_session": false,
  "ignore_eos": false
}'

Error traceback
{
  "id": "61169018",
  "object": "chat.completion",
  "created":<PHONE_NUMBER>,
  "model": "internlm-chat-20b",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": ""
      },
      "finish_reason": "length"
    }
  ],
  "usage": {
    "prompt_tokens": 23,
    "total_tokens": 8223,
    "completion_tokens": 0
  }
}

Session length is reached. Please renew the session.

hi @AllentDan
it means that if renew_session=false，the completions will keep History？
so how to keep id between different call？

Yes.
Determined by request ip address. The interactive mode for openai API is gonna deprecate since we've received too many complaints about this feature. Only the generate API supports interactive mode later.

I think that openai interactive mode does not matter，only remove renew_session  will be ok！keeping message format.
Users decides whether to upload history or not.

What should a user do when the session length limit is reached? Only removing renew_session is not the proper way. Chatgpt does not support interactive mode either.

what I mean is that renew_session should always be true，namely no session. session is not useful in actually job workflow， but the param messages  is worth stay.
I understand your reply，thanks


MKL internal representation for BSR

First of all, thank you all for the really awesome work here.
What does it take to support BSR format?

I don't think there should be any problem supporting BSR. There used to be a couple of MKL functions that didn't work with BSR, but I think most of those have been resolved in 2020. I'll give it a shot and see how it goes.

@asistradition Thanks, looking forward to that. I had a quick try yesterday and for my particular problem at hand which involves blocked sub-matrices (block size roughly 100), BSR really offers the best speed when it comes to matrix-vector multiplication as compared to CSC/CSR formats. Also it beats Scipy's Cython implementation by an order of magnitude.

@asistradition actually would be eager to try your implementation. The one I've implemented seems to be bugged, can't find out the part where I did wrongly, but half of my output array of matrix-vector operation seems to be filled with zeros ...

Never mind me regarding the bug mentioned above, I was too careless with int32 vs int64

Aight I have a working implementation for BSR 48db2b430d333831188304b79328d3bf6b8e75d1
The BSR matrix must have a square block size, and only BSR (dot) BSR works - MKL doesn't support BSR multiplied against anything else. Also, I'm not getting the right results out of sparse_syrk when I give it a BSR, and I'm not sure why yet.
I'm going to write some more tests and try to fix whatever's wrong with sparse_syrk before I package this.

Aight I think I got everything - I couldn't figure out why mkl_sparse_syrk doesn't give correct results so gram_matrix_mkl doesn't support BSR matrices. The dot product function should be fine though.
I packaged everything and released it as v0.7.0

Any plan to report this to Intel?

Not currently. I'd need a working example of the problem written in C before I could be confident it's an MKL problem and not an error with the python wrapper. It's also a function that's a bit redundant - you can get the same result from just calling mkl_sparse_spmm (syrk is just modestly faster because it's specialized).


App allows creation of a User even if passwords don't match

If you try to create a user and enter mismatched passwords, the app still allows the user to be created.

Thanks!

Can be closed.


Paperspigot does not download correctly for 1.8.8

There's an error when trying to use paperspigot on 1.8.8
ERROR: failed to download from https://papermc.io/ci/job/Paper/443/artifact/paperclip.jar (status=0)
the correct url should have a capital "P" in "Paperclip.jar"
reported by @Zinidia

EULA true
TYPE PAPER
VERSION 1.8.8
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin
LANG C.UTF-8
JAVA_HOME /usr/lib/jvm/java-1.8-openjdk/jre
JAVA_VERSION 8u171
JAVA_ALPINE_VERSION 8.171.11-r0
UID 1000
GID 1000
JVM_XX_OPTS -XX:+UseG1GC
MEMORY 1G
FORGEVERSION RECOMMENDED
SPONGEBRANCH STABLE
LEVEL world
PVP false
DIFFICULTY easy
ENABLE_RCON true
RCON_PORT 25575
RCON_PASSWORD 8Prq7v9t3kYwURZpm
LEVEL_TYPE DEFAULT
SERVER_PORT 25566
ONLINE_MODE FALSE
CONSOLE true
SERVER_NAME Hub Server
REPLACE_ENV_VARIABLES false
ENV_VARIABLE_PREFIX CFG_
WORLD world
PAPER_DOWNLOAD_URL
https://papermc.io/ci/job/Paper/443/artifact/Paperclip.jar
These settings work now
On Sun, Apr 7, 2019 at 1:21 PM Geoff Bourne<EMAIL_ADDRESS>wrote:

There's an error when trying to use paperspigot on 1.8.8
ERROR: failed to download from
https://papermc.io/ci/job/Paper/443/artifact/paperclip.jar (status=0)
the correct url should have a capital "P" in "Paperclip.jar"
reported by @Zinidia https://github.com/Zinidia
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/itzg/dockerfiles/issues/305, or mute the thread
https://github.com/notifications/unsubscribe-auth/AgHp6OOsEyKhLM4QIpGlRfDE2gacrBVhks5vejcZgaJpZM4cg6sN
.

I had forgotten about the PAPER_DOWNLOAD_URL option; however, I'll have it fix up the URL for the 1.8.8 version.

This fix is now available on Docker Hub.


Build Error: 'git_error_clear' Not Declared in 'git2::Exception::Exception()'

Hello,
I've encountered a build error while compiling the latest version of Poac (also I tried 0.9.2). I got this:
g++ -std=c++20 -fdiagnostics-color -pedantic-errors -Wall -Wextra -Wpedantic -g -O0 -DDEBUG -MMD -DPOAC_PKG_VERSION='"0.9.2"' -DPOAC_COMMIT_HASH='""' -DPOAC_COMMIT_SHORT_HASH='""' -DPOAC_COMMIT_DATE='""' -isystem build-out/DEPS/toml11    -c src/Git2/Exception.cc -o build-out/Git2/Exception.o
src/Git2/Exception.cc: In constructor ‘git2::Exception::Exception()’:
src/Git2/Exception.cc:28:5: error: ‘git_error_clear’ was not declared in this scope; did you mean ‘git_error_last’?
   28 |     git_error_clear();
      |     ^~~~~~~~~~~~~~~
      |     git_error_last
make: *** [Makefile:53: build-out/Git2/Exception.o] Error 1

Steps to Reproduce:

Clone the latest version of Poac from the repository.
Run the build command: make.

Solution
I renamed 'git_error_clear' to 'git_error_last' and the build was successful, but I don't think it was the right way to solve that problem.

It seems libgit2 suddenly moved git_error_clear's declaration to another header in version 1.8 https://github.com/libgit2/libgit2/commit/f78ae89bf1800444257160ad6ca48a0cd95384ba and this causes the error.

Looks like dropping the later versions support would be better, as they don't follow SemVer.

I believe this issue has been resolved. Please feel free to reopen it if it persists.


fix: iframe matomo event

fix: iframe matomo event
fix: iframe matomo event

:tada: This PR is included in version 1.5.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Abstract component test boilerplate

The angular boilerplate for a component unit test can be abstracted into an importable function to clean up spec files.
eg. spec.ts
/* beautify ignore:start */
import {it, inject, beforeEachProviders} from '@angular/core/testing';
import {TestComponentBuilder} from '@angular/compiler/testing';
import {SomeComponent} from './index';
import {Type} from '@angular/compiler/src/facade/lang';
/* beautify ignore:end */

// TODO : Should import this from somewhere rather than define it here
function itAsync<T>(name : string, type : Type, fn : (component : T, element : any) => void)
{
    return it(name, inject( [TestComponentBuilder], (testComponentBuilder : TestComponentBuilder) =>
    {
        return testComponentBuilder.createAsync(type).then(fixture =>
        {
            fixture.detectChanges();
            fn(fixture.debugElement.componentInstance, fixture.debugElement.nativeElement);
        });
    }));
}

describe('Component : Component', () =>
{
    beforeEachProviders(() => []);

    itAsync<SomeComponent>('should be defined', SomeComponent, (component, element) =>
    {
        expect(component).toBeDefined();
        expect(element).toBeDefined();
    });
});

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34335275-abstract-component-test-boilerplate?utm_campaign=plugin&utm_content=tracker%2F32095848&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F32095848&utm_medium=issues&utm_source=github).

This makes sense to me. Need to get CI working on this build so these types of enhancements can be approved more or less automatically if a PR is issued.

Definitely. This issue probably needs some revision before a PR though. For example, I'm needing to do things like the code below, because in rc1, you have to overrideProviders on TestComponentBuilder, because it won't pick up any beforeEachProvider provide's, and solution I posted before doesn't address the problem.
let assert = new Assert<SomeComponent>(SomeComponentt, [ provide(Api, { useClass : MockApi }) ]);

describe('SomeComponent', () =>
{
    assert.it('should be defined', (component, element) =>
    {
        expect(component).toBeDefined();
        expect(element).toBeDefined();
        expect(component.api.isBusy).toEqual(true);
    });
    ...
});

export class Assert<TComponent>
{
    constructor(private type : Type, private providers : any[] = [])
    {

    }

    public it(name : string, fn : (component : TComponent, element : any, fixture : ComponentFixture<TComponent>) => void)
    {
        return it(name, inject( [TestComponentBuilder], (testComponentBuilder : TestComponentBuilder) =>
        {
            return testComponentBuilder
                .overrideProviders(this.type, this.providers)
                .createAsync(this.type).then(fixture =>
                {
                    fn(fixture.debugElement.componentInstance, fixture.debugElement.nativeElement, fixture);
                });
        }));
    }
}

This issue is partially addressed by https://github.com/cmelion/generator-ng2-webpack/pull/43
Leaving open pending propagation of abstraction to sub-generators.


[Question]: Different results from local ollama console output and RAG integration

Describe your problem
I was able to follow this guide to connect RAGflow to a local ollama docker instance.
https://github.com/infiniflow/ragflow/blob/main/docs/guides/deploy_local_llm.md
I have a small (one pdf) knowledgebase and created an assistant for it just for basic testing.
If I start a console on the ollama instance and ask "What is 1+1?" I get a correct response "The sum of 1 and 1 is 2".
But when I ask the same question of the RAGflow assistant using the ollama LLM it gives me the 'empty response' if I have one set, but if I don't it searches forever and never gives a response.
What logs can I check to see what's going on behind the curtain?

To accomplish this, following the steps:

Set the empty response blank in dialog setting.
Modify the prompt: If there's no relevent information in the following, please give a correct answer with your own knowledge.


How to maintain original ordering of elements?

If I have a form like:
product[59][someKey] = 1
product[14][someKey] = 3
product[15][someKey] = 5
and
product[59][otherKey] = 2
product[14][otherKey] = 4
product[15][otherKey] = 6
I'd like it to be passed as object keeping the order of the products as it is on the form, is there any way to PREVENT this script from resorting the form objects as
{ product : 14 : {someKey: 1, otherKey: 2}, 15: {someKey: 3, otherKey: 4}, 59: {someKey: 5, otherKey6 } } ??
and keep it as: { product: 59: {}, 14: {}, 15: {} } ?

I suppose adding product[][x][y] would keep the order as requested.. Gonna test it now.


Getting JsonParsing error when upgraded to 7.0

I upgraded to 7.0 and I am receiving exceptions when compiling with
shrinkResources true
minifyEnabled true
What are the proguard rules that need to be added. Once I compile with Proguard, it throws json parsing exception.
This did not happen with 6.4.0

@rshibley please use the issue template when filing issues, what you've posted is not nearly enough to help you.  What JSON error do you get? When do you get it? How can I reproduce it?


        When :meth:`wait_closed` returns, all TCP connections are closed and
        all connection handlers have returned.

        To ensure a fast shutdown, a connection handler should always be
        awaiting at least one of:

        * :meth:`~ServerConnection.recv`: when the connection is closed,
          it raises :exc:`~websockets.exceptions.ConnectionClosedOK`;
        * :meth:`~ServerConnection.wait_closed`: when the connection is
          closed, it returns.

After add those tree units to --deselect list ne units popped oud so looks like there are some dependencies between units (probably it would be good to test test suite using https://github.com/mrbean-bremen/pytest-find-dependencies/).
I was able to pass pytest only with below list of deselected units
        --deselect tests/asyncio/test_client.py::ClientTests::test_keepalive_is_enabled \
        --deselect tests/asyncio/test_connection.py::ClientConnectionTests::test_close_waits_for_close_frame \
        --deselect tests/asyncio/test_connection.py::ClientConnectionTests::test_close_waits_for_connection_closed \
        --deselect tests/asyncio/test_connection.py::ServerConnectionTests::test_close_waits_for_close_frame \
        --deselect tests/asyncio/test_server.py::ServerTests::test_close_server_keeps_handlers_running \

run pytest with $PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>

☝ Just skip this step — it doesn't serve a purpose.

Probably you're taking this step because you believe that it serves a purpose. We can disagree on this.
As consequence of this disagreement, I'm choosing not to invest my time into debugging this problem.
Perhaps you have constraints like "if a git repository related to the library contains various test suites, you must pick at least one of them and run it, although it doesn't matter very much which one you choose". (There are three test suites in the repo.) If you have that kind of constraint, then the test suite that you chose is the easiest to run, so stick with that one, even if it's completely inadequate to the environment where you're running it.
You may re-run until you get a non-flaky run. You may or may not get one eventually depending on your environment. You may try setting the WEBSOCKETS_TESTS_TIMEOUT_FACTOR to 100. I just pushed a change that will do this automatically from the next version onwards.

looks like there are some dependencies between units

I don't think that's the problem. The problem is that I'm using extremely short timings for testing in order to keep the test suite fast; obviously that makes it flaky if you run it in a slower or less stable environment. All failing tests that you observe involve timings or timeouts.

I've tested with WEBSOCKETS_TESTS_TIMEOUT_FACTOR=100 and pytest os OK.
In other words it is issue with to short timeout.


Preview Pane for "All" should show links to resource previews

The Preview Pane for "All" should show a list of links to all available endpoints. Instead, it's currently showing a misleading error "No resource found at /preview."
Aidan Steele flagged this issue in K8s #tilt channel on 2019-08-15:

i might have missed this in the docs somewhere (though i did check a few pages!). when i click preview, i get No resource found at /preview - what do i need to do in order to get something to render? my app's logs indicate that it's not even receiving a request to /preview

Page should look like this:

hmmm this feels like it broke recently


fix: Copied nozaq/lambda-auto-package into this repo as an external module

Once the following PR is merged, we should remove the copy of this module.
https://github.com/nozaq/terraform-aws-lambda-auto-package/pull/30

Still waiting for PR merge.

Repo has been changed to use a different module, no longer an issue


add the ability to add authentiction information

Hello,
I'm started writing our own schema merger and stoped after finding your project.
Currently the only problem with your implemenation is, that nobody can add authentication information to a http call.
I know, that you are using the dereference method from swagger-parser and swagger-parser hasn't the ability to add authentication information.
But swagger-parser also accepts JSON objects, so you can preload it.
I think the best solution and the easiest for you is to add a new option parameter like resolveUrl and allows user specific resolving functions.
swaggerCombine.middleware('docs/swagger.json', { format: 'yaml', resolveUrl: resolveFn }
SwaggerParser.dereference(this.opts.resolveUrl ? this.opts.resolveUrl(api.url) : api.url, this.opts)
After this enhancments is impemented, I will validate you project again.
Thx

Yes, this is indeed an issue which needs to be addressed. Thanks for pointing this out.
The problem with your proposed solution is that there would be one resolve function for all APIs, which means that if there are multiple API sources which all require different authentications the resolve function would have to handle all of them. This seems kind of complex and moves configuration logic from the config file to the swaggerCombine function call.
I would propose a different solution where all authentications can be configured in the config file, e.g.:
{
  "swagger": "2.0",
  "info": {
    "title": "Swagger Combine Authentication Example",
    "version": "1.0.0"
  },
  "apis": [
    {
      "url": "http://petstore.swagger.io/v2/swagger.json",
      "auth": {
        "username": "admin",
        "password": "secret123"
      }
    },
    {
      "url": "https://api.apis.guru/v2/specs/medium.com/1.0.0/swagger.yaml",
      "headers": {
      	"Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6ImFkbWluIiwiYWRtaW4iOnRydWV9.44lJS0jlltzcglq7vgjXMXYRTecBxseN3Dec_LO_osI"
      }
    },
    {
      "url": "https://api.apis.guru/v2/specs/deutschebahn.com/betriebsstellen/v1/swagger.json",
      "headers": {
      	"Authorization": "Basic YWRtaW46c2VjcmV0MTIz"
      }
    }
  ]
}

This solution would allow Basic Auth and oAuth to be used and also other request headers can be added.

That's correct.
I had my single point of view.
Do you have a roadmap for this enhancement?

We can start the implementation this week so maybe it will be finished next week.


Correct the capitalization of Xcode in README

This pull request corrects the capitalization of Xcode :sweat_smile:
https://developer.apple.com/xcode/
Created with xcode-readme.

Thanks! Can you sign our CLA please: https://github.com/snowplow/snowplow/wiki/CLA

@alexanderdean signed

Thanks @ReadmeCritic - unfortunately the GitHub handle you entered doesn't match this one.

Hm, let's try again

Signed again


SOLR-17201 Make Http2SolrClients not experimental

https://issues.apache.org/jira/browse/SOLR-17201
Also, undeprecate Krb5HttpClientBuilder and PreemptiveBasicAuthClientBuilderFactory.

Both Krb5HttpClientBuilder and PreemptiveBasicAuthClientBuilderFactory ought to lose their deprecated status. You marked them as such but these classes support Apache HttpClient & Jetty HttpClient APIs simultaneously.

Ok, I un-deprecated them in this PR and updated CHANGES. Sorry for the confusion.


Dump of Mysqli object resulting in all nulls

I seem to be having difficulty with getting Kint to output the correct values of Mysqli result objects.
I've attempted with and without enabling the Mysqli plug; however, I get the same results either way.
Attached is a screen grab that shows the result object with all nulls in kint.  Below it is the var_dump of the same object showing the actual values.
It is very possible I am doing something incorrectly, though Kint seems to be working fine for other objects.

I did just find this thread which seems to be the same issue.
https://github.com/kint-php/kint/issues/290

@S-P-33 Yes that's correct. There's a plugin you can enable to handle mysqli objects, but it doesn't handle mysqli_result. You could remove mysqli_result from the IteratorPlugin::$blacklist if you wanted, but then you couldn't use the result after dumping it (Hence the blacklist)
I'm noticing it seems to be showing the contents of all 3 tabs at once. Is that a new CSS bug or have you been tweaking the CSS yourself?

Thanks for the reply.
No, I've not touched any styles for Kint.
I did just download the newest version today in an attempt to resolve the mysqli result dump anomaly.   Prior to that I was using a release that I downloaded this past February.
I just confirmed, the version from February 2021 does not display all tabs at once.
Thanks again.
On Thursday, June 24, 2021, 1:18:04 PM EDT, Jonathan Vollebregt<EMAIL_ADDRESS>wrote:

@S-P-33 Yes that's correct. There's a plugin you can enable to handle mysqli objects, but it doesn't handle mysqli_result. You could remove mysqli_result from the IteratorPlugin::$blacklist if you wanted, but then you couldn't use the result after dumping it (Hence the blacklist)
I'm noticing it seems to be showing the contents of all 3 tabs at once. Is that a new CSS bug or have you been tweaking the CSS yourself?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@S-P-33 Can't reproduce on my own. It looks like it was dumped inside something. What tags are surrounding it? I'm guessing something you dumped it in is breaking the dl

The first screen I posted was inside a basic div structure with minimal css.
Below is a screen capture of the same behavior with isolated output.
I've also attached the source for the page.
Firefox 89.0.1 (64bit) on Win 7.
Code was downloaded today... I don't see any kind of versioning listed in the phar file.
On a side note, I saw comments in the other related issue on GH that the PDO library is suggested for PHP DB communications.
I am just getting back into PhP after about 15 years in other environments
Is there a benefit to using PDO instead of Mysqli ... other than it supports multiple DBs?  I was going to port over to it just so I could provide support for both MySQL and Oracle.
Let me know if you need anything else related to the CSS.
On Thursday, June 24, 2021, 2:35:13 PM EDT, Jonathan Vollebregt<EMAIL_ADDRESS>wrote:

@S-P-33 Can't reproduce on my own. It looks like it was dumped inside something. What tags are surrounding it? I'm guessing something you dumped it in is breaking the dl
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
[DB CONN]: Connected successfully⧉⌕$qry_res mysqli_result (5)Properties (5)Available methods (14)Iterator⇄public current_field -> null$qry_res->current_field⇄public field_count -> null$qry_res->field_count⇄public lengths -> null$qry_res->lengths⇄public num_rows -> null$qry_res->num_rows⇄public type -> null$qry_res->type⇄public __construct()new \mysqli_result()⇄public close()$qry_res->close()⇄public free()$qry_res->free()⇄public data_seek($offset)$qry_res->data_seek($offset)⇄public fetch_field()$qry_res->fetch_field()⇄public fetch_fields()$qry_res->fetch_fields()⇄public fetch_field_direct($field_nr)$qry_res->fetch_field_direct($field_nr)⇄public fetch_all($result_type)$qry_res->fetch_all($result_type)⇄public fetch_array($result_type)$qry_res->fetch_array($result_type)⇄public fetch_assoc()$qry_res->fetch_assoc()⇄public fetch_object($class_name, array $params)$qry_res->fetch_object($class_name, array $params)⇄public fetch_row()$qry_res->fetch_row()⇄public field_seek($field_nr)$qry_res->field_seek($field_nr)⇄public free_result()$qry_res->free_result()⇄⧉mysqli_result Iterator Contents Blacklistediterator_to_array($qry_res, true)⧉ Called from <ROOT>/test.php:129 [Kint\Kint::dump()]

Is there a benefit to using PDO instead of Mysqli ... other than it supports multiple DBs?

Well besides it being a universal interface it also heavily emphasizes prepared statements (Which prevents SQLi and is generally superior)
If you're moving to PDO anyway, take a look at the doctrine/dbal layer (Not the ORM. Never use ORMs) - it's essentially a usability wrapper around PDO that turns multiple lines of msqli or pdo code into oneliners.
Anyway, back on track, it looks like you have new CSS and JS, and old HTML output. I have no idea why. Can you give me a checksum of the file you're using? md5, sha1, whatever

Thanks!!  I'll have to read up on that.
Here are the md5 checksums of the kint.phar files I have.
On Thursday, June 24, 2021, 3:40:43 PM EDT, Jonathan Vollebregt<EMAIL_ADDRESS>wrote:

Is there a benefit to using PDO instead of Mysqli ... other than it supports multiple DBs?
Well besides it being a universal interface it also heavily emphasizes prepared statements (Which prevents SQLi and is generally superior)
If you're moving to PDO anyway, take a look at the doctrine/dbal layer (Not the ORM. Never use ORMs) - it's essentially a usability wrapper around PDO that turns multiple lines of msqli or pdo code into oneliners.
Anyway, back on track, it looks like you have new CSS and JS, and old HTML output. I have no idea why. Can you give me a checksum of the file you're using? md5, sha1, whatever
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I managed to reproduce it while switching between versions, but nothing I changed would fix it until I restarted my server. I'm guessing this is a caching issue (Maybe it doesn't cache-bust correctly for phar files) and you can safely download the newest version if you restart your server or rename/move the file


Custom lexer + TypeScript = "Cannot find name" errors when compiling to JS

node -v: 7.10.0
npm -v: 5.0.1
nearleyc -v:  2.9.2 checked out from #234 (b530e99)

Problem description
Nearley compiles %foo into TypeScript lexer.has("foo") ? {type: "foo"} : foo, and that foo at the end is not a known name. So when I compile TS to JS, I get this error: error TS2304: Cannot find name 'foo'.
I'm using Moo lexer and it provides the tokens, so lexer.has(...) is true.
TS does get compiled to JS, but the errors lead to failed CI builds. I could try and disable all errors for this one file, but obviously it's better to have this resolved upstream.
Minimal example

example.ne
example.ts - compiled from .ne
example.js - compiled from .ts
package.json

Proposed solution
I realize that there's no easy fix for this because it's not possible to infer at compile time which custom tokens will be defined at run time and which will be provided by a lexer.
The best backwards-compatible path is to add declare var foo: any at the top for every custom token name. This will silence the errors, even though they are kinda valid.
I can submit a PR if this is an acceptable solution.

Ah, I hadn't realised TS wouldn't like that :-) Can you explain your fix? I'm not sure I understand what you're suggesting! But it sounds like a PR which includes those lines (just for TS!) would be quite welcome, thank you!
Minor point: moo supports lexer.has now. I should update that example...

Thanks for your time!
More explicitly about the solution:

Get a list of all used custom tokens: ["foo", "bar"].
Output this before the rules:

declare var foo: any
declare var bar: any

TypeScript allows to "declare" which variables are guaranteed to be defined but are not in this file. In our case, we tell it to shut up about all usages of foo and bar and that they can be of any type.
This will not affect JS in any way, it's just for the happiness of the TS compiler.

Sounds great! A PR adding this would be welcome. :-)
I suppose you'll just need to modify generate.typescript to output your declare var... lines for each token. Finding all the used tokens is a bit of a pain; you'll need to iterate over all the rules and look for symbols with a token property. Ideally you'd only do this if the @lexer option was in use, but I'm not sure how to detect that (and the has() bits themselves actually come from compile.js which is kinda ew and all this needs refactoring but there we go). :-)


[Runtime Bug]: Max Payne 1 Fire Glitch

Describe the bug
Fire is drawn through character models.
Windows 11 27695
i9 13900kf @5.8ghz all cores
NVIDIA RTX 4090 | 560.94
How do you reproduce the bug?
Stand infront of the fireplace.
What is the expected behavior?
Fire not rendered through characters body.
Version
0.5.4
Logs
[00:51:56.589] info:  No default config found for: C:\Program Files (x86)\Steam\steamapps\common\Max Payne\maxpayne.exe
[00:51:56.589] info:  Trying to open config file: C:\Program Files (x86)\Steam\steamapps\common\Max Payne.trex\bridge.conf
[00:51:56.589] info:  ==================
[00:51:56.589] info:  NVIDIA RTX Remix Bridge Client
[00:51:56.589] info:  ==================
[00:51:56.589] info:  Version: remix-0.5.4+2d8aa921
[00:51:56.589] info:  Loaded d3d9.dll from C:\Program Files (x86)\Steam\steamapps\common\Max Payne\maxpayne.exe
[00:51:56.591] warn:  Injected DirectInput8Create proc detected!
[00:51:56.745] info:  DirectInput8 hook attached.
[00:51:56.745] warn:  Injected DirectInputCreate proc detected!
[00:51:56.751] info:  DirectInput hook attached.
[00:51:56.751] info:  Initializing new shared memory object.
[00:51:56.753] info:  Initializing new shared memory object.
[00:51:56.753] info:  Initializing new shared memory object.
[00:51:56.787] info:  Initializing new shared memory object.
[00:51:56.816] info:  Launching server with GUID 5d5b6344-17b9-4974-b8ec-0482a2a1d2a0
[00:51:56.822] info:  Process set as DPI aware
[00:51:56.822] info:  Sending SYN command, waiting for ACK from server...
[00:51:57.103] info:  Ack received! Handshake completed! Telling server to continue waiting for commands...
[00:52:33.056] warn:  Window extent != backbuffer extent in fullscreen mode. Forcing window extent to backbuffer size (3840x2160).
[00:52:33.056] info:  Creating a NON thread-safe D3D9 device.
[00:52:35.239] info:  Message channel UWM_REMIX_BRIDGE_REGISTER_THREADPROC_MSG handshake complete.
[00:52:36.135] info:  DirectInput keyboard acquired
[00:52:36.135] info:  DirectInput mouse acquired
[00:52:36.656] info:  Remix UI deactivated.
[00:52:36.656] info:  Remix UI deactivated.
[00:52:39.844] info:  DirectInput keyboard unacquired
[00:52:39.844] info:  DirectInput keyboard acquired
[00:52:41.954] warn:  Non-exclusive DirectInput keyboard message skipped.
[01:08:07.581] info:  DirectInput keyboard unacquired
[01:08:07.581] info:  DirectInput mouse unacquired
[01:08:07.607] info:  Client window became inactive, disabling timeouts for bridge client...
[01:08:07.623] info:  About to unload bridge client.
[01:08:07.623] info:  Sending Terminate command to server...
[01:08:09.436] info:  Server notified that it has cleanly terminated. Cleaning up.
[01:08:09.583] info:  Most recent Device Queue commands sent from Client
[01:08:09.583] info:  Command sent: Terminate
[01:08:09.583] info:  Command sent: IDirect3DDevice9Ex_Destroy
[01:08:09.583] info:  Command sent: IDirect3DSurface9_Destroy
[01:08:09.583] info:  Command sent: IDirect3DIndexBuffer9_Destroy
[01:08:09.583] info:  Command sent: IDirect3DVertexBuffer9_Destroy
[01:08:09.583] info:  Command sent: IDirect3DSurface9_Destroy
[01:08:09.583] info:  Command sent: Bridge_UnlinkResource
[01:08:09.583] info:  Command sent: IDirect3DSwapChain9_Destroy
[01:08:09.583] info:  Command sent: IDirect3DDevice9Ex_SetTexture
[01:08:09.583] info:  Command sent: IDirect3DDevice9Ex_SetTexture
[01:08:09.583] info:  Most recent Device Queue commands received by Server
[01:08:09.583] info:  Command received: Terminate
[01:08:09.583] info:  Command received: IDirect3DDevice9Ex_Destroy
[01:08:09.583] info:  Command received: IDirect3DSurface9_Destroy
[01:08:09.583] info:  Command received: IDirect3DIndexBuffer9_Destroy
[01:08:09.583] info:  Command received: IDirect3DVertexBuffer9_Destroy
[01:08:09.583] info:  Command received: IDirect3DSurface9_Destroy
[01:08:09.583] info:  Command received: Bridge_UnlinkResource
[01:08:09.583] info:  Command received: IDirect3DSwapChain9_Destroy
[01:08:09.583] info:  Command received: IDirect3DDevice9Ex_SetTexture
[01:08:09.583] info:  Command received: IDirect3DDevice9Ex_SetTexture
[01:08:09.583] info:  Most recent Module Queue commands sent from Client
[01:08:09.583] info:  Command sent: IDirect3D9Ex_Destroy
[01:08:09.583] info:  Command sent: IDirect3D9Ex_CreateDevice
[01:08:09.583] info:  Command sent: IDirect3D9Ex_CheckDeviceMultiSampleType
[01:08:09.583] info:  Command sent: IDirect3D9Ex_CheckDeviceMultiSampleType
[01:08:09.583] info:  Command sent: IDirect3D9Ex_Destroy
[01:08:09.583] info:  Most recent Module Queue commands received by Server
[01:08:09.583] info:  Command received: IDirect3D9Ex_Destroy
[01:08:09.583] info:  Command received: IDirect3D9Ex_CreateDevice
[01:08:09.583] info:  Command received: IDirect3D9Ex_CheckDeviceMultiSampleType
[01:08:09.583] info:  Command received: IDirect3D9Ex_CheckDeviceMultiSampleType
[01:08:09.583] info:  Command received: IDirect3D9Ex_Destroy
[01:08:09.583] info:  Shutdown cleanup successful, exiting now!
[01:08:09.583] info:  DirectInput8 hook detached.
[01:08:09.583] info:  DirectInput hook detached.
[01:08:09.586] info:  [Uptime]: 972s
Crash dumps
No response
Media
https://youtu.be/8kMHJklvjzE?si=ued_KLd0JxuaZzSj

@shoober420 Hi shoober! This happens due to improperly tagged textures. You have probably something tagged as UI that shouldn't be.
My advice to you, which also goes for the white texture problem: Reset your Remix settings, and properly tag the UI textures again. Particle effects like fire, rain, snow, etc should be tagged as Particle. And blood stains, blood splatters, dirt decals, bullet holes, wall graffiti, etc should be tagged as Decal.
Also keep in mind that the aiming reticle doesn't currently work in this game when using Remix, so better just disable that, it's the plain white square texture.


NTR: diphthine methyl ester synthase (EC:<IP_ADDRESS>4)

diphthine synthase activity (GO:0004164) currently has EC:<IP_ADDRESS> as an xref, which is specific for the archaeal enzyme.  Please add EC:<IP_ADDRESS>4/RHEA:42652, which is for the eukaryotic enzyme.
EC:<IP_ADDRESS>
Name: diphthine synthase
Reaction: 2-[(3S)-amino-3-carboxypropyl]-L-histidyl-[translation elongation factor 2] + 3 S-adenosyl-L-methionine <=> diphthine-[translation elongation factor 2] + 3 H(+) + 3 S-adenosyl-L-homocysteine
Comments: This archaeal enzyme produces the trimethylated product diphthine, which is converted into diphthamide by EC <IP_ADDRESS>.  Different from the eukaryotic enzyme, which produces diphthine methyl ester (cf. EC <IP_ADDRESS>4).
EC:<IP_ADDRESS>4
Name: diphthine methyl ester synthase
Alt_name: diphthine methyltransferase
Reaction: 2-[(3S)-amino-3-carboxypropyl]-L-histidyl-[translation elongation factor 2] + 4 S-adenosyl-L-methionine <=> diphthine methyl ester-[translation elongation factor 2] + 3 H(+) + 4 S-adenosyl-L-homocysteine
Comments: This eukaryotic enzyme is part of the biosynthetic pathway of diphthamide.Different from the archaeal enzyme, which performs only 3 methylations, producing diphthine (cf. EC <IP_ADDRESS>).
id: GO:0004164
name: diphthine synthase activity
namespace: molecular_function
def: "Catalysis of the reaction: S-adenosyl-L-methionine + 2-(3-carboxy-3-aminopropyl)-L-histidine = S-adenosyl-L-homocysteine + 2-(3-carboxy-3-(methylammonio)propyl)-L-histidine." [PMID:15485916, PMID:20873788, PMID:3042777]
synonym: "diphthine methyltransferase activity" RELATED [EC:<IP_ADDRESS>]
synonym: "S-adenosyl-L-methionine:2-(3-carboxy-3-aminopropyl)-L-histidine methyltransferase activity" RELATED [EC:<IP_ADDRESS>]
synonym: "S-adenosyl-L-methionine:elongation factor 2 methyltransferase activity" RELATED [EC:<IP_ADDRESS>]
xref: EC:<IP_ADDRESS>
xref: MetaCyc:RXN-11370
xref: RHEA:36415
is_a: GO:0008757 ! S-adenosylmethionine-dependent methyltransferase activity

Hmmm.
2 of the 3 current refs on the GO term are for yeast, and the other one is for an archeaon, so it seems to attempt to cover both enzymes/reactions.
Only 4 EXP annotations to the term: 3 to eukaryotes (human and yeast), one to an archeaon.
So, I guess we either keep a single GO term with a generic definition and have two narrow EC xrefs, or else we make the current GO term a general parent (no EC xrefs) and create two new specific child terms for each EC?

Thinking some more about this one, I would prefer two separate GO terms, one for each EC.
Not sure if we want/need a grouping parent term for these two or not.

Hi @pgaudet Can we proceed with this one? Thanks!

Hi @pgaudet
Could we make the new term for "diphthine methyl ester synthase (EC:<IP_ADDRESS>4)"?
Name: diphthine methyl ester synthase activity
Synonyms: diphthine methyltransferase [EC:<IP_ADDRESS>4]
Def: Catalysis of the reaction: 2-[(3S)-amino-3-carboxypropyl]-L-histidyl-[translation elongation factor 2] + 4 S-adenosyl-L-methionine = diphthine methyl ester-[translation elongation factor 2] + 3 H+ + 4 S-adenosyl-L-homocysteine
Comment: The eukaryotic enzyme is different from the archaeal enzyme, which performs only 3 methylations, producing diphthine. See GO:0004164.
xrefs: EC:<IP_ADDRESS>4, RHEA:42652, MetaCyc:RXN-15775
Also be good to add the EC:<IP_ADDRESS> comment to GO:0004164 to clarifying things.
3 current manual annotations to GO:0004164 (the archaeal version) will need to be reviewed - two from SGD, one from reactome - they should use the NTR.

Thanks for the reminder!
+[Term]
+id: GO:0141133
+name: diphthine methyl ester synthase activity
+namespace: Catalysis of the reaction: 2-[(3S)-amino-3-carboxypropyl]-L-histidyl-[translation elongation factor 2] + 4 S-adenosyl-L-methionine = diphthine methyl ester-[translation elongation factor 2] + 3 H+ + 4 S-adenosyl-L-homocysteine. {xref="RHEA:42652"}
+namespace: molecular_function
+comment: This is present in eukaryotes and is part of the biosynthetic pathway of diphthamide. Note that this is different from the archaeal enzyme, diphthine synthase activity ; GO:0004164 (EC:<IP_ADDRESS>), which performs only 3 methylations, producing diphthine.
+xref: EC:<IP_ADDRESS>4
+xref: RHEA:42652
+is_a: GO:0008757 ! S-adenosylmethionine-dependent methyltransferase activity
+property_value: term_tracker_item "https://github.com/geneontology/go-ontology/issues/25281" xsd:anyURI
+created_by: pg
+creation_date: 2023-12-20T09:06:24Z
+

Thanks!
Sorry, meant to say that both these GO terms should have ''GO:0008276 protein methyltransferase activity" added as an additional parent.

[ ] add taxon constraints

Also added comment to GO:0004164 diphthine synthase activity

This activity is present in archae and produces the trimethylated product diphthine, which is converted into diphthamide by diphthine-ammonia ligase activity ; GO:0017178 (EC:<IP_ADDRESS>). Note tha this is different from the eukaryotic enzyme diphthine methyl ester synthase activity ; GO:0141133 (EC:<IP_ADDRESS>4), which produces diphthine methyl ester.


ServerSideStyles not working with webpack 2

Can't get styled-components to render on the server with ServerSideStyles.js mentioned in the docs. Have tried with multiple versions of webpack and styled-components.
I use these versions:
webpack 2.2.1
styled-components 1.4.4
Get this message in console when running npm run build:
`node_modules/styled-components/lib/vendor/glamor/sheet.js:196
return this.sheet.cssRules;
^
TypeError:
Cannot read property 'cssRules' of undefined
at StyleSheet.rules (node_modules/styled-components/lib/vendor/glamor/sheet.js:196:1)
at StyleSheet.rules (node_modules/styled-components/lib/models/StyleSheet.js:54:1)
at ServerSideStyles (webpack:/src/components/ServerSideStyles.js:7:29)
at ReactCompositeComponentWrapper._constructComponentWithoutOwner (node_modules/react-dom/lib/ReactCompositeComponent.js:309:1)
at ReactCompositeComponentWrapper._constructComponent (node_modules/react-dom/lib/ReactCompositeComponent.js:285:1)
at ReactCompositeComponentWrapper.mountComponent (node_modules/react-dom/lib/ReactCompositeComponent.js:188:1)
at Object.mountComponent (node_modules/react-dom/lib/ReactReconciler.js:46:1)
at ReactDOMComponent.mountChildren (node_modules/react-dom/lib/ReactMultiChild.js:238:1)
at ReactDOMComponent._createContentMarkup (node_modules/react-dom/lib/ReactDOMComponent.js:653:1)
at ReactDOMComponent.mountComponent (node_modules/react-dom/lib/ReactDOMComponent.js:520:1)
at Object.mountComponent (node_modules/react-dom/lib/ReactReconciler.js:46:1)
at ReactCompositeComponentWrapper.performInitialMount (node_modules/react-dom/lib/ReactCompositeComponent.js:371:1)
at ReactCompositeComponentWrapper.mountComponent (node_modules/react-dom/lib/ReactCompositeComponent.js:258:1)
at Object.mountComponent (node_modules/react-dom/lib/ReactReconciler.js:46:1)
at ReactCompositeComponentWrapper.performInitialMount (node_modules/react-dom/lib/ReactCompositeComponent.js:371:1)
at ReactCompositeComponentWrapper.mountComponent (node_modules/react-dom/lib/ReactCompositeComponent.js:258:1)

error Command failed with exit code 1.`
Any clues?

poke @raygesualdo (I never used styled-components yet)

Hey @jesnil01, is the code you're working on public? Or can you provide code snippets of your implementation?

@mxstbr Do you maybe have an idea about this?

@raygesualdo Unfortunatly it's not public but I stripped some code for debugging purposes and published here: https://github.com/jesnil01/phenomic-styled-components
Any thoughts? :)

Alright @jesnil01, it took a bit but I figured it out 😃 Based on this SSR thread, I added an entry to the resolve section of your webpack config. Here is what the resolve section should look like:
resolve: {
  extensions: [ ".js", ".json" ],
  alias: { "styled-components": "styled-components/lib" }
}

Give that a shot and let me know!

Keep in mind that all of this will be much simpler with the imminent release of styled-components v2. An API was added to streamline the SSR process.

@raygesualdo That seems to work.

So is our doc incorrect?

The docs are technically correct. There is a bug with SSR, styled-components and webpack v2 that could be more thoroughly documented. I can put together a PR today/tomorrow to get the note added in.

Additionally, when styled-components v2 comes out, I'm going to PR an SSR integration (similar to Aphrodite and Glamor) such that manual steps - and this bug - are obsolete.


bug: Kotlin type in custom type mapping can not be a Kotlin type #704

build.gradle.kts
tasks {
    generateJava {
        schemaPaths = mutableListOf("${projectDir}/src/main/resources/schema") // List of directories containing schema files
        packageName = "com.something" // The package name to use to generate sources
        generateClient = true // Enable generating the type safe query API
        language = "kotlin"
        typeMapping = mutableMapOf("JSON" to "kotlin.String")
    }
}

schema.graphqls
"""A JSON formated string."""
scalar JSON

type ColumnValue {
    """The column value's additional information."""
    additional_info: JSON
}

Expected behavior
everything is compiled
Actual behavior
kotlin.String is not found during compiling .java class and if I change it to java.lang.String then it shows me that I should use kotlin.String
> Task :compileJava
D:\projects\others\tgbot\build\generated\com\...\client\Change_column_valueGraphQLQuery.java:16: error: cannot find symbol
      kotlin.String value, Boolean create_labels_if_missing, Set<String> fieldsSet) {
            ^
  symbol:   class String
  location: package kotlin

Steps to reproduce

Compile the configuration above.

@evser  for the primitive type (nonspecific to the language)  you can use
typeMapping = mutableMapOf("JSON" to "String")

@evser  I believe it was fixed as part of 5.1.10. I've fixed it in PR https://github.com/Netflix/dgs-codegen/pull/293 which is part of the release.
Can you please try with dgs-codegen plugin version 5.1.10?

@npwork I have tried, but still have "import String" generated in .kt files:

@evser you are right, reproduced it. Will fix it and come back to you.

@evser meanwhile can you try to:
typeMapping = mutableMapOf("JSON" to "kotlin.String")

Fix is available in PR: https://github.com/Netflix/dgs-codegen/pull/303

@npwork ("JSON" to "kotlin.String") does not work, as Queries are generated in .java files

Closing this issue, it was fixed a long time ago but the issue was never closed.


Octarine logo image missing in adapter table

Description
The table listing adapters is missing the Octarine logo. It has a broken link.
Expected Behavior
The adapter logo should be displayed.

// @thehh1974


Update BaseHtml.php

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?
yes

Usage example:
View

                     ID Item
                     Description

         <?php foreach($items as $item): ?>

                <?= Html::activeCheckbox($modelForm, 'array_id_item', [
                                        'label' => false,
                                        'value' => $item->id_item,
                       ]) ?>
                Description....

         <?php endforeach; ?>

Modelform
class ItemModelForm extends Model {
        /* this attribute is used to save all ids selecteds in view array checkbox. */
        public $array_id_item;

        function rules(){
               return [['array_id_item'], 'safe'];
        }
}

try to use https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1665

@dmirogin this not working for me, because i need show several informations in columns for each line.
Example: https://imgur.com/KoTxSxs

This will result multiple checkboxes with the same name - it will not work correctly, since on form submit last checkbox will replace all previous checkboxes.

@rob006 Actually, I just let this happen.
I solved my problem by passing in the option of activeCheckbox 'uncheck' => false  so that it does not send unselected values, and attribute 'array_id_item['.$item->id_item.']'.
Thanks.


Example notebooks

First of all thanks for this amazing library and it's great to see many people actively working on this!
I have two questions regarding the example notebook CLV Quickstart.

While estimating the CLV, one of the arguments of the expected_customer_lifetime_value method is time. The comment in this line says you are predicting for 12 months while the units of time in the rest of the notebook are in weeks. In addition, if I check the API documentation of this method, the default value for freq is "D" (days). So if you are predicting for months, freq should equal "M", right?
How did you define "Customer Lifetime Value" in your package because if we speak about the lifetime of a customer, that also includes the time before the prediction. I believe the method is calculating the value a customer creates after time T, where the period up to T is used to fit the model.

An example: Customer X makes its first purchase at 20-04-2022 (DD-MM-YYYY). We fit a model today (20-04-2023) and predict the number of purchases and their average monetary value for one year in the future (up untill 20-04-2024). The CLV is then the value that the customer generated from 20-04-2022 untill 20-04-2024, right? Is this also what we are computing when we use this package? Or do we estimate the value that the customer will generate in the period today untill 20-04-2024 (so for the future only)?

Thanks for the questions.

In addition, if I check the API documentation of this method, the default value for freq is "D" (days). So if you are predicting for months, freq should equal "M", right?

I could be mistaken, but I think freq is just about the granularity (number of steps) at which you estimate the lifetime value. The value is always in terms of months, but you can integrate over hourly, daily, weekly or monthly steps. I will double check to be sure.

I believe the method is calculating the value a customer creates after time T, where the period up to T is used to fit the model.

Yes that's what it is doing. You already observed the value of the customer until today, so there's no uncertainty there.


Minizinc transformation needed

We need a small minizinc transformation, to fix the following bugs:
IV==false (make IV == 0, similar to simplify_boolexpr but smaller)
In this transformation we can then check the bounds of expressions. The minizinc bounds problem was only partly fixed because it get's checked when an auxiliary variable is made, but this is not always the case.
i.e.   x * y == 450000 with x and y having upper bound 504100

found a way to solve these bugs in the convert_expression function #317


support serialization of custom types

Hello,
This is a great library! Thanks for your work.
We have some custom types that ecto_dev_logger was not really digging.
A Postgrex.Range was making the telemetry handler error out and detach.
Instead of trying to keep up with an endless amount of parameters to support, or even just simply inspecting unsupported parameter types, I added support for plugging in a custom ParameterSerializer.
The application config is parsed when invoking DevLogger.install and passed down to all stringify_ecto_params as opts. When we can not find a match to serialize a known parameter, we reach out to the ParameterSerializer in configuration -- or ParameterSerializer.Default as a fallback -- to serialize unknown parameters.
The ParameterSerializer.Default will simply raise an exception. This matches to the current behaviour but in a nicer fashion. A ParameterSerializer.Error instead of a FunctionClauseError.

Hi @trbngr
I'd like to properly understand the problem you're trying to solve.

We have some custom types that ecto_dev_logger was not really digging.

Which custom types are you talking about? Are they Ecto types? Or you're using custom extensions of Postgrex https://github.com/elixir-ecto/postgrex#extensions ?
The changes you're proposing solve the issue that is present only with custom Postgrex extensions.
If you have only Ecto types, then they are eventually dumped into Postgrex types. So, the number of types is not endless and theoretically, we can (and want to) support all or almost all the default types.
Now, about the implementation. The system you've made is basically a hand-rolled implementation of Elixir protocols, and I'd rather use the latter.
But the protocol has to be wisely designed to support complex data types, like an array of binaries.
I'd be happy if you implement casting to string using protocol, or if you simply add a support for Postgrex.Range instead :)
I appreciate your efforts, but, currently, I can't accept this PR.

That's understandable.
If you look at the test file, you'll see that I'm using a custom ecto type.
After reading your comment, it's pretty obvious, in hindsight, that a protocol would work. I'll give it another go with a protocol when I get a chance.


Cromwell WES Adapter does not set the run_log

Describe the Bug
When retrieving the information from the /ga4gh/wes/v1/runs/{run_id} endpoint for a cromwell context, the response body is missing the run_log. This information is important as it typically contains the start_time and end_time of the entire run, not just each individual task. It also provides a mechanism to communicate the stderr and stdout at the run level back to the user
Looking at the code, it appears that building the run_log was just omitted when constructing the rest of the RunLog response object
Steps to Reproduce

deploy a cromwell context
submit a run and retrieve the `run_id
using the WES api, retrieve the RunLog GET /ga4gh/wes/v1/runs/{run_id}

Expected Behavior
I would expect there there to be a run_log key present in the response object, containing information on the start and stop time of the whole workflow and any logs / error logs that may be available
Actual Behavior
The run_log key is entirely omitted
Screenshots
Additional Context
Operating System:
AGC Version: Current version in github

See: #347


Address compilation failures due to -Wall and -Werror, support building on RHEL/Fedora

Greetings,
My colleague @samhurst has been working on getting mod_h2 to build on CentOS.
As part of this work he has identified some issues and addressed them. I will let the commit comments and changes speak for themselves but as an overview they fit into two categories:

Address compilation failures encountered by pedantic flags (-Wall and -Werror). Required in our build environment
Modify the install script to support RHEL/Fedora flavour distros.

Please review and provide feedback. We are happy to consider modification to the changes as long as they solve the build failure issues.
Regards
Lucas

Thanks a lot! I added "--enable-werror" to the configure and have now quite a lot of diagnostics during development. Should make your life much easier. Will release this in v0.6.0, most likely today.

Thank you for merging these changes in such a timely manner. Enabling -Werror will help us a lot in our ongoing work, reducing the maintenance work that we might have had to do. This will allow us to focus on the other activities we had planned.
We look forward to the new release.


Documenting audit annotation to transforming response object

Documenting audit annotations which records latency in transforming response object

apiserver.latency.k8s.io/transform-response-object
apiserver.latency.k8s.io/serialize-response-object
apiserver.latency.k8s.io/response-write

Partially Fixes: https://github.com/kubernetes/website/issues/29479

/sig  docs
/sig auth
/kind feature

Reference taken from audit.go and webhook.go

/sig api-machinery
/remove-sig auth

Any update on this?

Waiting for the reviews for this one. Is there any changes i need to make?


GenerateFullPaths property?

Would it make sense to add a property to Project definitions to enable the GenerateFullPaths flag for csproj files?
I'm interested in this as I have some tooling that reads the logs of a build and would be much more simple to just have the full path for errors and things.
I am able to do this using XSLT as below:
< xsl:if test="/Input/Properties/GenerateFullPaths = 'True'">
< PropertyGroup>
< GenerateFullPaths>True< /GenerateFullPaths>
</ PropertyGroup>
</ xsl:if>
Wasn't sure if it made sense to include this in protobuild itself. I could try send a PR if it seems useful.

Ehn, nevermind I finally figured out how to set it from the commandline with xbuild via /p:GenerateFullPaths=true


Merge release-1.0 into master

Signed-off-by: Shriram Rajagopalan<EMAIL_ADDRESS>cc @nmittler

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rshriram
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [rshriram]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hklai, rshriram
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [hklai,rshriram]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rshriram: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth.sh
f2f5d1ea0bfe230cfc451db426bf2da85ccfec85
link
/test e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

New changes are detected. LGTM label has been removed.

@rshriram: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth.sh
f2f5d1ea0bfe230cfc451db426bf2da85ccfec85
link
/test e2e-mixer-no_auth

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
f8a583a67c426137fd67db9976604b6e140a5541
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-e2e-envoyv2-v1alpha3

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hklai, nmittler, rshriram
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [hklai,rshriram]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add if statement to check if removed snippet is currently being edited

Fixes #47. The if statement checks it the removed snippet is currently being edited. If it is, then and only then will it close the editor.

Thanks!


Questions about IPMB

Hi @rainlinWW,
We have some questions about IPMB design.

In function ipmb_send_response() and ipmb_send_request(), the waiting time to put message into queue is K_forever.
Should it set a appropriate timeout value?
The queue size of ipmb_txqueue and ipmb_rxqueue is 1 and 2.
Is there any reason to set this size?
In ipmb_read(), the mutex lock and mutex unlock function doesn't check the return value.

Thanks,
Yi-Shum

Hi @Yi-Shum

We will have a discuss about the timeout value.
The tx and rx queue are for message passing between threads only and tx thread polling frequency should be fast enough to handle messages in time. Due to memory size limit in BIC, we would like to save memory size as possible.
DO you think or meet any issue cause by not enough queue size?
Yes, there should be a mutex status check.

Thanks,
Rain

Hi @rainlinWW,
Thanks for your reply.
The rx queue only be get in function ipmb_read(). Because it would be purge before get, should the size of rx queue also be 1?
There is another question about ipmb_read().
In ipmb_read(), the mutex(mutex_read) used for all IPMB bus is same. Is it expected?
Thanks,
Yi-Shum


Random phantom light error

I keep receiving this error every few hours give or take a hour.  I've looked through my devices, and i do not have a sensor named None.  No buttons i created trigger this error, im at a loss. Any suggestions would be greatly appreciated.
Alarm.com Error
Your Alarm.com user does not have permission to turn on the light, None. Please log in to Alarm.com to grant the appropriate permissions to your account.

Upgrade to v0.2.18. I added more details to the error prompt and fixed a bug. You should now see the entity name and entity ID in the error. That should help track down the issue. Please report back with an update!

Thanks, Have not seen the issue in a few days now.  Im suspecting it may have been a entity that i removed from the alarm panel and replaced, and never refreshed the integration.  But if i do see the error again, ill post here.


Fix non gdb_compatible builds

The exact cause is non obvious, more research has to be done on what gdb_compatible actually does

This is high priority since gdb_compatible is PAL only

After a hacky fix, non gdb-compatible builds can log online, but crash on the voting screen (in frooms), can't send track votes (in wws), and almost certainly have other impacts. SP shifts the rel closer to the dol, but this change isn't present in gdb compatible. Since the payload patches addresses, the shift causes the payload patches to break. A fix would be to translate the hooked addresses.


@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/ansible-feedstock#9.


windows 10 python3.9 standlone mode and console disabled print Chinease got UnicodeEncodeError

full err log
Traceback (most recent call last):
  File "F:\print_chinese.dist\print_chinese.py", line 3, in <module>
UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-7: ordinal not in range(128)

my nutika version: at frist i use 0.6.19rc7, then i tried 0.7.7, 0.8.3, and factory version 0.9rc4, both of them has the same error as above
python -m nuitka --version
0.8.3
Commercial: None
Python: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
Flavor: Unknown
Executable: D:\softwares\py39\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10

build script
nuitka --standalone --mingw64 --windows-disable-console --windows-force-stdout-spec=F:\print_chinese.log --windows-force-stderr-spec=F:\print_chinese_err.log print_chinese.py
example code:
l = [('扫描时间：2022年06月02日 11:42\n操作员：user1', None, 1)]
print(l)

this error only shown in standlone mode and console disabled by --windows-disable-console , it works well while console is opened, setting PYTHONIOENCODING as this issue said didn't work for me, i guess it has been set in python 3.9 already

We open these files without specifying an encoding, which is definitely a weakness, that will cause this. Can you try if setting utf8_mode when executing compilation fixes the issue for you. The workaround you are talking about is deemed unnecessary with 3.9 or higher, since there the needed encoding is available during program startup.

When we disable the console, the sys.stdout and friends become empty. There is no access to the encoding, that it would have, my first idea was to copy the encoding value simply, but that is not an option.
Strangely, default encoding of the created file is cp1252 on my Windows, while sys.stdout has utf-8. That is without the UTF-8 mode.

With 3.5 the standard out encoding was mbcs. Afterwards it was utf-8. So it feels safe to do it for all Python3 I guess.

Fixed on factory branch. https://nuitka.net/doc/factory.html

Part of the current pre-release.

Part of the 0.9 release that I just made.


Creating batches of tokenized text

How do you go about stacking unequal lengths of tokenized text to create batches of text for training?

@achen353 Hi Andrew, thanks for your interest! I'll be instrumenting the full training script this weekend :) stay tuned..

@lucidrains Thanks Phil that would be great. My GPU doesn't have PyTorch support yet so I'm working to implementing the model on TF. One idea I had was to create a fixed-length batch, fill the unused tail length of each sequence with 0 and make sure that their corresponding masks are "False".

Yup, that is the right way to go about it! I'll create all the necessary tools for training end to end without much coding, soon


Make buildable on Windows

add missing functions from List module

changes to be able to run tests (5 fails as of now)

Thanks for that!


Make basic-auth password optional when using static authed user

How would the site access the api? With the static authed user?

How would the site access the api? With the static authed user?

If there is a static authed user in the api the site is not required to authenticate at all. In production mode there is not static authed user, so the api is required to define a basic-auth password which the site uses to authenticate.


new embryonic/larval glial terms

New terms for embryonic/larval equivalents of ensheathing neuropil associated glial cell and reticular neuropil associated glial cell
See FBrf0239943 for descriptions of these cell types in larvae

FBrf0229106 contains relevant descriptions of glial cell development and differences between larval and adult forms


Remove Password Login Discontinuation Configuration

Once passwords logins are disabled for all users and not just those on a whitelist, we should make sure we tidy up the configuration file in /Content and all code related to it.

we will always need to keep those around for functional tests. Closing.


Cannot debug Python unit test

This issue has been moved from a ticket on Developer Community.

I've got a Python project with unit tests (via the standard unittest framework). Previously I was able to debug unit tests using the default Python 3.9 installed via VS2022. But it stopped working. When I stat debugging a test from the Test Explorer, the Output window shows :
Building Test Projects
========== Starting test run ==========
cd C:\Projects\KOOP\STOP\Ontwikkeling-STOP-Speeltuin\STOP\speeltuin\
set PYTHONPATH=C:\Projects\KOOP\STOP\Ontwikkeling-STOP-Speeltuin\STOP\speeltuin;C:\Projects\KOOP\STOP\Ontwikkeling-STOP-Speeltuin\STOP\speeltuin\
"C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\python.exe" "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\ENTERPRISE\COMMON7\IDE\EXTENSIONS\MICROSOFT\PYTHON\CORE\visualstudio_py_testlauncher.py" -t test_proces_consolidatie.Test_proces_consolideren.test_Fout_Tijdreis_Array -r 58154
Connected to socket
Connection event fired
========== Test run finished: 1 Tests (0 Passed, 1 Failed, 0 Skipped) run in 1.8 sec ==========

but the debugger does not stop at any breakpoint. If I choose not to debug but run the test from the Test Explorer, the python code is executed correctly.
Restarting VS2022 or deleting pycache does not help in any way. There must be a problem with VS2022. This is extremely annoying as the test fails and I have modern tools to find out what's happening.

Original Comments
Feedback Bot on 6/5/2022, 08:02 PM:
(private comment, text removed)

Original Solutions
(no solutions)

Dupe of https://github.com/microsoft/PTVS/issues/6796


Multiple series: error while trying to scroll the chart

Lightweight Charts Version: 2.0.0
Steps/code to reproduce:
Try to scroll example chart with multiple series to the past
Actual behavior:
Type Error: Cannot read property 'x' of undefined
Expected behavior:
No throw
CodeSandbox/JSFiddle/etc link:
https://codesandbox.io/s/tender-golick-lj8tb

Hi! Any fix?

@kuamatzin We'll fix it soon (in 3.0).


Checking what is supported as GUI shows otherwise

The document states that:
"For Azure Cloud Solution Providers (CSP) subscriptions, changing the Azure AD directory for the subscription isn't supported."
However, when I check my CSP Azure subscription, I can see that the option to change directories is there (pretty sure it wasn't in the past:

Is this a new feature that it is now supported and the document is now incorrect or will running through that process above just error out?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 9afab524-67c2-2e76-fd7a-46238cb9d249
Version Independent ID: ae2da577-6026-f322-1c09-dbcc6068c01a
Content: Transfer an Azure subscription to a different Azure AD directory
Content Source: articles/role-based-access-control/transfer-subscription.md
Service: role-based-access-control
GitHub Login: @rolyon
Microsoft Alias: rolyon

@drew010
Thanks for your feedback! We will investigate and update as appropriate.

@drew010
I'm going to assign this to the document author so they can take a look at it accordingly.

Hi @drew010
Thanks for your feedback. I checked with the team. They indicated that the statement about CSP subscriptions in the docs is still accurate. For additional information, see the Transfer Azure subscriptions between subscribers and CSPs doc:
https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/transfer-subscriptions-subscribers-csp
Let us know if you have any additional feedback.
thanks

#please-close


Fix doc: (1) use StaticFunction to replace old name StaticLayer; (2) …

…Fix code indentation;

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.liym27 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.liym27 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Remove "EnsureLabelsDeleted" phase to speed up migration process

Closes #608
Removing deleteLabels() and leaving this migrated-by label in place will:

Speed up migration by ~33% according to tracing figures
Lead to each resource that is restored to have a migrated-by=<migmigration_uid> label leftover, which may be useful for debugging purposes.

I am not aware of a need/driver at present that prohibits us from leaving the label.
Change makes sense to me, agree could be an advantage for debugging.
Would like to ensure we test the concern @sseago raised, ensure we can migrate A->B, then again B->C and the controller updates label as needed.

Can it be a feature that's disabled by default in case someone objects to the labels? In that they can enable it if it bothers them enough to take a 33% performance hit?

@jmontleon Yes, I had just suggested this in slack. I don't know whether we want to make the "optional, disabled by default" change now or whether we would just consider re-adding it like this in the future if someone complains about the labels, though. It would be analogous to the feature we added which allows for automatically deleting and cleaning up resources on failure. It's an option, but it's disabled by default because doing this prevents debugging, as well as deleting migrated resources in cases where the failure is a "false positive" -- i.e. something non-fatal triggered the error but the migration was essentially completed.

Can it be a feature that's disabled by default in case someone objects to the labels? In that case they can enable it if it bothers them enough to take a 33% performance hit?

I acknowledge that it's possible folks will want this, but given:

how slow the deleteLabels function is for real-world migrations
compounding slowness on large migrations: if a single update request fails with a ConflictError for instance, this routine will start over entirely without consideration of what work is already done

I'm leaning towards removal for now and prioritization of other performance work. If we decide we want to make this optional in the future, we would need to:

Add a settings switch to turn this feature on/off
Document the settings switch and the downsides of enabling this
Improve the function to allow better error handling (ConflictError should trigger retries instead of total restart)

Because of the additional work associated with keeping deleteLabels() available behind a switch, I strongly feel we should punt this until requested by users and continue to prioritize perf enhancement work in the meantime.

@djwhatle That approach seems fine to me. I'm not certain that the "starting over" aspect is as bad as you suggest, since on retry it queries everything again, but only those labeled resources are returned, so any resources that we succeeded in removing labels for won't show up again. But the overall performance concerns are valid, and I don't know that there's a real customer need to offer this option right now.

I'm not certain that the "starting over" aspect is as bad as you suggest, since on retry it queries everything again, but only those labeled resources are returned, so any resources that we succeeded in removing labels for won't show up again.

You're completely right, I overlooked this before. Now that you've pointed this out, I don't think it's possible that this step will ever stall forever, but it will still potentially waste a lot of time due to lack of retries (still have to query every NS -> every GVK)

\test

Tested manually and worked. Merging.
See https://github.com/konveyor/mig-controller/issues/619 for future improvement ideas on adding deleteLabels() back if deemed important to users.


addSubkey() ignores key flags

PGPainless ignores the user set key flags when adding a subkey like follows:
        secretKey = PGPainless.modifyKeyRing(secretKey)
                .addSubKey(
                        KeySpec.getBuilder(KeyType.ECDH(EllipticCurve._BRAINPOOLP512R1))
                                .withKeyFlags(KeyFlag.ENCRYPT_COMMS, KeyFlag.ENCRYPT_STORAGE)
                                .withDefaultAlgorithms(),
                        subkeyPassphrase,
                        protector)
                .done();

Instead of ENCRYPT_COMMS, ENCRYPT_STORAGE, the subkey is carrying the flag CERTIFY_OTHER, as it erroneously inherits the key flags from the primary key.
This is a problem with the API.

This is fixed in security release 0.2.2


Elasticsearch service failing post upgrading to 1.3.0

Hi Team,
I have recently upgraded the opendistroleasticsearch from 1.2.0 to 1.30 and post upgrade the service not getting up and keeps on failing.
Find the logs below -
Feb 07 07:44:39 testlogmgr01.netcracker.com elasticsearch[4195]: ^
Feb 07 07:44:39 testlogmgr01.netcracker.com elasticsearch[4195]: expected , but found Key
Feb 07 07:44:39 testlogmgr01.netcracker.com elasticsearch[4195]: in 'reader', line 118, column 4:
Feb 07 07:44:39 testlogmgr01.netcracker.com elasticsearch[4195]: path.data: /opt/elasticsearch
Feb 07 07:44:39 testlogmgr01.netcracker.com elasticsearch[4195]: ^
Feb 07 07:44:39 testlogmgr01.netcracker.com elasticsearch[4195]: at [Source: sun.nio.ch.ChannelInputStream@5e3f861; line: 117, column: 9]]; nested: ParserException[while parsing a block collection
Feb 07 07:44:39 testlogmgr01.netcracker.com elasticsearch[4195]: in 'reader', line 117, column 4:
Feb 07 07:44:39 testlogmgr01.netcracker.com systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Feb 07 07:44:39 testlogmgr01.netcracker.com systemd[1]: Unit elasticsearch.service entered failed state.
Feb 07 07:44:39 testlogmgr01.netcracker.com systemd[1]: elasticsearch.service failed.

Hey @devildev2018, not much to go off of here. Can you provide any obvious exceptions from the end of elasticsearch.log?

Hi @aetter, Thank you so much for the support. I have managed to fix the issue.
The issue was there in the elasticsearch.yml file which was causing the application not to start. Now my elk stack is up and running.


feat: update TaintNodesByCondition in feature gates table

/assign @k82cn
/assign @cody-clark
ref: https://github.com/kubernetes/enhancements/issues/382

/assign @cody-clark

/lgtm
/approve

/milestone 1.17

/cc @daminisatya

Page preview:
https://deploy-preview-17377--kubernetes-io-vnext-staging.netlify.com/docs/reference/command-line-tools-reference/feature-gates/
/lgtm

/approve

/lgtm
/approve


[SPARK-37573][SQL] IsolatedClientLoader should fallback to related version, not always hadoop-2.7.4

What changes were proposed in this pull request?
When profile is hadoop-3, and when test with our internal hadoop version, it failed to download and forback to hadoop-2.7.4, then throw such exception.
[info] org.apache.spark.sql.hive.client.VersionsSuite *** ABORTED *** (31 seconds, 320 milliseconds)
[info]   java.lang.ClassFormatError: Truncated class file
[info]   at java.lang.ClassLoader.defineClass1(Native Method)
[info]   at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
[info]   at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
[info]   at org.apache.spark.sql.hive.client.IsolatedClientLoader$$anon$1.doLoadClass(IsolatedClientLoader.scala:266)
[info]   at org.apache.spark.sql.hive.client.IsolatedClientLoader$$anon$1.loadClass(IsolatedClientLoader.scala:258)
[info]   at java.lang.ClassLoader.loadClass(ClassLoader.java:405)
[info]   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
[info]   at org.apache.spark.sql.hive.client.IsolatedClientLoader.createClient(IsolatedClientLoader.scala:313)
[info]   at org.apache.spark.sql.hive.client.HiveClientBuilder$.buildClient(HiveClientBuilder.scala:50)
[info]   at org.apache.spark.sql.hive.client.VersionsSuite.$anonfun$new$2(VersionsSuite.scala:82)
[info]   at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
[info]   at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
[info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
[info]   at org.scalatest.Transformer.apply(Transformer.scala:22)
[info]   at org.scalatest.Transformer.apply(Transformer.scala:20)
[info]   at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226)
[info]   at org.apache.spark.SparkFunSuite.withFixture(SparkFunSuite.scala:190)
[info]   at org.scalatest.funsuite.AnyFunSuiteLike.invokeWithFixture$1(AnyFunSuiteLike.scala:224)
[info]   at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTest$1(AnyFunSuiteLike.scala:236)
[info]   at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
[info]   at org.scalatest.funsuite.AnyFunSuiteLike.runTest(AnyFunSuiteLike.scala:236)
[info]   at org.scalatest.funsuite.AnyFunSuiteLike.runTest$(AnyFunSuiteLike.scala:218)
[info]   at org.apache.spark.SparkFunSuite.org$scalatest$BeforeAndAfterEach$$super$runTest(SparkFunSuite.scala:62)
[info]   at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:234)
[info]   at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:227)
[info]   at org.apache.spark.SparkFunSuite.runTest(SparkFunSuite.scala:62)
[info]   at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTests$1(AnyFunSuiteLike.scala:269)
[info]   at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
[info]   at scala.collection.immutable.List.foreach(List.scala:431)
[info]   at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
[info]   at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
[info]   at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
[info]   at org.scalatest.funsuite.AnyFunSuiteLike.runTests(AnyFunSuiteLike.scala:269)
[info]   at org.scalatest.funsuite.AnyFunSuiteLike.runTests$(AnyFunSuiteLike.scala:268)
[info]   at org.scalatest.funsuite.AnyFunSuite.runTests(AnyFunSuite.scala:1563)
[info]   at org.scalatest.Suite.run(Suite.scala:1112)
[info]   at org.scalatest.Suite.run$(Suite.scala:1094)
[

In this pr, we fallback to related version according to dependency hadoop version
Why are the changes needed?
When build Hive Metastore, if resolve build hadoop version have problem, we should fallback to corresponding hadoop version and respect the hadoop profile
Does this PR introduce any user-facing change?
No
How was this patch tested?
Not need

ping @sunchao

Test build #145993 has started for PR 34830 at commit fc40324.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50469/

@AngersZhuuuu Can you describe how to reproduce this issue in pr  description?

Test build #145993 has finished for PR 34830 at commit fc40324.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50469/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145993/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50469/

retest this please

@AngersZhuuuu Can you describe how to reproduce this issue in pr description?

When change to our internal hadoop version and failed to donwload the hadoop version, then fallback to 2.7.4.
Hmm here may should be when hadoop version start with 3, fallback to hadoop-3.3.1 when hadoop verison start with 2, fallback to hadoop-2.7.4?

Test build #145999 has started for PR 34830 at commit fc40324.

When change to our internal hadoop version and failed to donwload the hadoop version, then fallback to 2.7.4.
Hmm here may should be when hadoop version start with 3, fallback to hadoop-3.3.1 when hadoop verison start with 2, fallback to hadoop-2.7.4?

Gentle ping @cloud-fan

When change to our internal hadoop version and failed to donwload the hadoop version, then fallback to 2.7.4.
Hmm here may should be when hadoop version start with 3, fallback to hadoop-3.3.1 when hadoop verison start with 2, fallback to hadoop-2.7.4?

It's the same scene we're facing, haha ~  agree with you

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50475/

Test build #146003 has started for PR 34830 at commit fc86e5d.

Test build #146003 has finished for PR 34830 at commit fc86e5d.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146003/

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50479/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50479/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50475/

When change to our internal hadoop version and failed to donwload the hadoop version, then fallback to 2.7.4.
Hmm here may should be when hadoop version start with 3, fallback to hadoop-3.3.1 when hadoop verison start with 2, fallback to hadoop-2.7.4?

It's the same scene we're facing, haha ~ agree with you

How about current?

Test build #145999 has finished for PR 34830 at commit fc40324.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50475/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145999/

Test build #146006 has started for PR 34830 at commit 184de1a.

How about current?

I change the hadoop version of the case in our internal version....

How about current?

I change the hadoop version of the case in our internal version....

Hmmm.....

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50482/

Hmmm.....

HaHaHaHaHa

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50482/

Test build #146006 has finished for PR 34830 at commit 184de1a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146006/

Could you describe a bit more on the use case @AngersZhuuuu ? This code path is only invoked when spark.sql.hive.metastore.jars is maven which is very slow comparing to other options.

I know, but for such case that we use a spark built with hadoop-3.3 and hive-2.3 and set spark.sql.hive.metastore.jars to maven, it should download hadoop3.3 related jar, if it failed to download, it will fallback to hadoop-2.7.4 for current code path. Then will have exception I show in the pr desc.
In our case, we change the buildin hadoop version  to our internal version and have a problem to download it. it fallback to hadoop-2.7.4. It's not correct, it should fallback to hadoop-3.3.1.

Test build #146020 has started for PR 34830 at commit 6f12ea1.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50496/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50496/

Test build #146020 has finished for PR 34830 at commit 6f12ea1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50496/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146020/

Test build #146054 has started for PR 34830 at commit 3e88216.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50529/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50529/

Test build #146054 has finished for PR 34830 at commit 3e88216.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged, thanks!

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146054/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50529/


⚠ Bofrost.de has degraded performance

In 83bac35, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1094 ms

Resolved: Bofrost.de performance has improved in f9c86d9.


Support image being stored in DataCache as bytes

Description:

Fixes #172
This has been tested locally and it seems to work.
Also, fix the tests of the image parser, using the sample_file's URI directly in the config.
Type of change:

[ ] Bug fix.
[ ] New feature.
[ ] Documentation update.

Checklist for the reviewer:

This checklist should be used as a help for the reviewer.

[ ] Is the change limited to one issue?
[ ] Does this PR close the issue?
[ ] Is the code easy to read and understand, including clearly named variables?
[ ] Do all new feature have an accompanying new test?
[ ] Has the documentation been updated as necessary?

Codecov Report
Patch coverage: 85.50% and project coverage change: +18.92% :tada:

Comparison is base (e10eaf2) 68.13% compared to head (875dd9e) 87.05%.
Report is 24 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #173       +/-   ##
===========================================
+ Coverage   68.13%   87.05%   +18.92%
===========================================
  Files          15       15
  Lines         408      425       +17
===========================================
+ Hits          278      370       +92
+ Misses        130       55       -75

Flag
Coverage Δ

linux
87.05% <85.50%> (+18.92%)
:arrow_up:

windows
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

oteapi_dlite/utils/utils.py
69.81% <0.00%> (ø)

oteapi_dlite/strategies/generate.py
78.43% <50.00%> (ø)

oteapi_dlite/strategies/parse_image.py
93.18% <66.66%> (-4.19%)
:arrow_down:

oteapi_dlite/strategies/parse.py
89.13% <71.42%> (+89.13%)
:arrow_up:

oteapi_dlite/strategies/convert.py
92.15% <92.15%> (ø)

oteapi_dlite/strategies/mapping.py
100.00% <100.00%> (ø)

oteapi_dlite/strategies/parse_excel.py
89.85% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Diabetic Retinopathy Detection

I was recently included to be a contributor in auto_vaidya. As this issue is open, can I work on it or should I wait for tasks to be assigned to me.

I was recently included to be a contributor in auto_vaidya. As this issue is open, can I work on it or should I wait for tasks to be assigned to me.

You can go ahead with this


Search Page for full query results

After merging #678, we should create a page that's dedicated to search results.
This way we can display more to the user if what they see isn't in the modal. The other benefit is that we can share a URL with search results if need be.

Heyy old friend @dayhaysoos !! Want some OSS help here? 👀

this is done, right? can we close?


Pattern: Leadspace - block design & design specs provided by Reboot designers

Notes

The Reboot team is responsible for creating the visual designs and design specs for most of the patterns included in the Solutions page.  This issue is to track the transition of the Reboot design work to the DDS design & engineering team members.

Additional Information

Visual Designs & Design Specs Box folder
Links to the visual designs and design specs will be updated once received and reviewed by the Reboot designers.

Acceptance Criteria

[ ] Visual designs and specs received from Reboot designers
[ ]  A pdf file is created and placed in the Box folder with the updated Sketch file
[ ] Meetings conducted with DDS team members to review the designs

5/5/2020: designs reviewed with the DDS designers and engineers as well as the Drupal team members. Links to specs needed from Lila

@RobertaJHahn Visual design specs (sketch and PDF) are posted:
https://ibm.ent.box.com/folder/111803008955

5/5/2020:  Reviewed with the DDS engineers.


Can't parse DataTime type in response when send POST request to create workflow in Java

I implemented Java code to send POST request to create a workflow. However, I got the following error,
Expected BEGIN_OBJECT but was STRING at line1 column 201 path $.meta.creationTimestamp
I checked source code and found it doesn't register org.joda.time.DateTime type when create gson in JSON class. And  org.joda.time.DateTime is the type of meta.creationTimestamp. Can someone help me to fix it?

No. This version(https://github.com/argoproj-labs/argo-java-client) works. It registers DateTime type when initialize Gson instance in JSON class.

@jjjjoooo Do you like to fix this and submit  PR?

@jjjjoooo Do you like to fix this and submit PR?

I‘d like to help but I can't find source code of ApiClient.java and I am not familiar with Go.

The new Java JAR uses Java8 date time, not JODA. Can you please try a Java 8 date time.

Can I ask you some questions about creating workflow using java?


Documented the --platform flag for okteto build

Fixes:#397
After the changes:

Update: This PR is ready for the next set of review.


Added User-Agent header to all GET request, due to cbrf limitations

added default User-Agent header  in const #5
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0

Well done @lamak


Exception thrown on language detection

System.NullReferenceException: 'Object reference not set to an instance of an object.'

Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8f57e416-a37f-e719-4a3e-58a4e6390818
Version Independent ID: dbb3821b-5793-b41b-9601-559b00e4096a
Content: Quickstart: Text Analytics client library - Azure Cognitive Services
Content Source: articles/cognitive-services/text-analytics/quickstarts/text-analytics-sdk.md
Service: cognitive-services
Sub-service: text-analytics
GitHub Login: @aahill
Microsoft Alias: aahi

@salmanmkc
Thanks for the feedback! We are currently investigating and will update you shortly.

No problem, thanks, I'm using this for a serverless code challenge set by MSFT Cloud Advocates

This is the repository if you want to debug on the master branch https://github.com/salmanmkc/5thdayserverlesschallenge

@salmanmkc Hi Salman, are you following the sample exactly? I would highly recommend you to check this post and have a try: https://stackoverflow.com/questions/4660142/what-is-a-nullreferenceexception-and-how-do-i-fix-it This post should contain all the information you need, if you have more questions, I would highly recommend you to post your issue in Stack Overflow for technical help. This forum is mainly for document issues. Thanks.


Update pvoutput.py

Description:
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

This addition could be usefull when working with the template sensor using the data of this sensor.

Thank you for your work!