Move table component to a separate file

What would you like to share?
We can see an inline table component on line 6 of the component components/mdx/ComponentStyles.js

Changes Requested
Please move this inline Component to a separate file components/mdx/Table.js and import it in the ComponentStyles.js component.
Additional information
No response

Hey anyone working on this issue , I would be happy to work on it .

Hey anyone working on this issue , I would be happy to work on it .

Hey @anupamthe99, please refrain from spamming on issues that don't have the "ready for dev" tag.

Hey anyone working on this issue , I would be happy to work on it .

@anupamthe99 you have already been explained the contributing guidelines on multiple issues in the last few days with a link to the contributing guidelines, which you have acknowledged, plus you already have an issue assigned to you

https://github.com/EddieHubCommunity/LinkFree/issues/5972#issuecomment-1502577877
https://github.com/EddieHubCommunity/LinkFree/issues/5926#issuecomment-1504409947

Hi , @ChinmayMhatre , i would like to take on this issue if it’s not yet taken.Thanks.

@ajaxbo360 I have assigned the issue to you


WOW.js will only show animation one time on scrolling past it

When you scroll past a animation and scroll back up past it, it will not do a animation again, when you scroll up past it.
I would like it so every time, you scroll past the animation, it does the animation.

+1

Hey, have same issue then try MervelousM approach but failed because when init again wow it's reset every wow class element on my page. I need selective reset so made some changes. If you need something like that, here you are :blush:
I created a addBox function, it's helps push new element WOW boxes array.
    WOW.prototype.addBox = function(element){
        this.boxes.push(element);
    };

Then I used jquery and scrollspy plugin detect which element is out off view and then push WOW.
    $('.wow').on('scrollSpy:exit',function(){
        var element = $(this);
        element.css({
            'visibility' : 'hidden',
            'animation-name' : 'none'
        }).removeClass('animated');
        wow.addBox(this);
    });

Algo anda mal marca el siguiente error: ReferenceError: wow is not defined

I got you fam
function isElementInViewport(elem) {
var $elem = $(elem);
// Get the scroll position of the page.
var scrollElem = ((navigator.userAgent.toLowerCase().indexOf('webkit') != -1) ? 'body' : 'html');
var viewportTop = $(scrollElem).scrollTop();
var viewportBottom = viewportTop + $(window).height();

// Get the position of the element on the page.
var elemTop = Math.round( $elem.offset().top );
var elemBottom = elemTop + $elem.height();

return ((elemTop < viewportBottom) && (elemBottom > viewportTop));

}
function checkAnimation() {
var $elem = $('.wow .glyphicon-chevron-left');
// If the animation has already been started
if ($elem.hasClass('wow')) return;

if (isElementInViewport($elem)) {
    // Start the animation
    new WOW().init();
}

}
// Capture scroll events
$(window).scroll(function(){
checkAnimation();
});

I got you fam
` function isElementInViewport(elem) {
var $elem = $(elem);
// Get the scroll position of the page.
var scrollElem = ((navigator.userAgent.toLowerCase().indexOf('webkit') != -1) ? 'body' : 'html');
var viewportTop = $(scrollElem).scrollTop();
var viewportBottom = viewportTop + $(window).height();

// Get the position of the element on the page.
var elemTop = Math.round( $elem.offset().top );
var elemBottom = elemTop + $elem.height();

return ((elemTop < viewportBottom) && (elemBottom > viewportTop));

}
function checkAnimation() {
var $elem = $('.wow .glyphicon-chevron-left');
// If the animation has already been started
if ($elem.hasClass('wow')) return;

if (isElementInViewport($elem)) {
    // Start the animation
    new WOW().init();
}

}
// Capture scroll events
$(window).scroll(function(){
checkAnimation();
});
`

I am getting wow is not defined .. please help me to solve this issue.

You need to modify WOW object after wow.js loaded. @rjsnh1522
So, please check is that javascript file or script block which is placed these modifications loaded after wow.js file.
btw, created a working example here https://jsfiddle.net/ugurerkan/53641ovn/

Hi,
Thanks it worked.
Regards...
pawan chaurasia
<EMAIL_ADDRESS>7737295416
On Fri, May 5, 2017 at 1:42 AM, Uğur Erkan<EMAIL_ADDRESS>wrote:

You need to modify WOW object after wow.js loaded. @rjsnh1522
https://github.com/rjsnh1522
So, please check is that javascript file or script block which is placed
these modifications loaded after wow.js file.
btw, created a working example here https://jsfiddle.net/
ugurerkan/53641ovn/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/matthieua/WOW/issues/46#issuecomment-299295834, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHFYxRts7pooUBOwjd9bMOGQZCw7DHABks5r2jFCgaJpZM4BiGiQ
.

try to add this
window.addEventListener('scroll', function(e) {
            if( $(window).scrollTop() <= 50) {
                $('.wow').removeClass('animated');
                $('.wow').removeAttr('style');
                new WOW().init();
            }

});

it's working thanks Ali-Alzantot 💯 % working

Thanks Ali-Alzantot...this is a really simple drop-in.

window.addEventListener('scroll', function(e) {
        if( $(window).scrollTop() <= 50) {
            $('.wow').removeClass('animated');
            $('.wow').removeAttr('style');
            new WOW().init();
        }
});

i want to show animation for list and problem is all my list contained in viewport.
Now when i load the page, all items animate at once, but i want the items to animate one after the other.
Note: need animation of items one after the other without depending on scroll.

for users of Bootstrap carousel…
.on( 'slide.bs.carousel' , function() {             if( $( '.my-wow-element' ).hasClass( 'wow' ) ) {                 $( this ).removeAttr( 'style' );                 new WOW().init();             }             // end         } )

If you want to explicitly trigger an animation for a certain element again:
var triggerAnimation = function(selector, animation) {
  var $element = $(selector);
  var element = $element[0];
  var newone = element.cloneNode(true);
  element.parentNode.replaceChild(newone, element);

  $element = $(selector);
  $element.addClass('wow ' + animation + ' animated');
  $element.attr('style', 'visibility: visible; animation-name: ' + animation + ';');
};

triggerAnimation('.your_selector, 'zoomIn'); // element to reanimate and animation

If you want to use the reset of your animations without the jQuery

Hey, have same issue then try MervelousM approach but failed because when init again wow it's reset every wow class element on my page. I need selective reset, so made some changes.
If you need something like that, here you are 😊
I created a addBox function, it's helps push new element WOW boxes array.
    WOW.prototype.addBox = function(element){
        this.boxes.push(element);
    };

Then I used jquery and scrollspy plugin detect which element is out off view and then push WOW.
    $('.wow').on('scrollSpy:exit',function(){
        $(this).css({
            'visibility' : 'hidden',
            'animation-name' : 'none'
        }).removeClass('animated');
        wow.addBox(this);
    });

Here is the working example 🤗
https://jsfiddle.net/ugurerkan/53641ovn/

If you need a solution without the necessity of scrollSpy and the scrollSpy:exit event. Here is my solution which is quite similar:
var checkOnReset = function() {
  var resetWOWJsAnimation = function() {
		var $that = $(this);

    // only reset animation when no long in viewport and already animated
    if (!isInViewport($that, 0) && $that.css('animation-name') != 'none') {
       $that.css({'visibility' : 'hidden', 'animation-name' : 'none'}).removeClass('animated');
			wow.addBox(this);
    }
  };
  $('.wow').each(resetWOWJsAnimation); // check if reset is necessary for any element
};
$(window).on('resize scroll', checkOnReset);


Helm chart support - Bugs

Trim empty lines in rendered output
Use "in-" as helm release name
Use Adler-32 checksum (sprig supports this)
Append template type to go template name for debugging templates

Bug: HCPCFS-2577

Pull Request Test Coverage Report for Build 3553

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 89.714%

Files with Coverage Reduction
New Missed Lines
%

data-access-layer/db/DBManager/DBManager.js
1
98.48%

Totals

Change from base Build 3550:
-0.01%

Covered Lines:
9412

Relevant Lines:
10138

💛  - Coveralls


Getting issue while building

Getting issue while building

To better assist you, could you please provide the versions you're using for Gradle, Kotlin, and Flutter?


[Bug] [docker latest] "Request error Network Error" on webpage

Search before asking

[X] I had searched in the issues and found no similar issues.

Operating system information
Windows
Python version information

=3.11

DB-GPT version
latest release
Related scenes

[ ] Chat Data
[ ] Chat Excel
[X] Chat DB
[ ] Chat Knowledge
[ ] Model Management
[ ] Dashboard
[ ] Plugins

Installation Information

[ ] Installation From Source

[X] Docker Installation

[ ] Docker Compose Installation

[ ] Cluster Installation

[ ] AutoDL Image

[ ] Other

Device information
GPU count: 1 RTX4080
GPU memory: 16GB
Models information
LLM: vicuna-13b-v1.5
Embedding model:text2vec-large-chinese
What happened
/prompt/list params:  chat_scene=None sub_chat_scene=None prompt_type='common' content=None user_name=None sys_code=None prompt_name=None
INFO:     <IP_ADDRESS>:57044 - "POST /api/v1/chat/mode/params/list?chat_mode=chat_with_db_qa HTTP/1.1" 500 Internal Server Error
Loading checkpoint shards:  33%|███▎      | 1/3 [00:37<01:14, 37.46s/it]ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 108, in call
response = await self.dispatch_func(request, call_next)
File "/app/dbgpt/util/tracer/tracer_middleware.py", line 44, in dispatch
response = await call_next(request)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 84, in call_next
raise app_exc
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 70, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 91, in call
await self.simple_response(scope, receive, send, request_headers=headers)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 146, in simple_response
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
raise e
File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 66, in app
response = await func(request)
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 241, in app
raw_response = await run_endpoint_function(
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 167, in run_endpoint_function
return await dependant.call(**values)
File "/app/dbgpt/app/openapi/api_v1/api_v1.py", line 279, in params_list
return Result.succ(get_db_list())
File "/app/dbgpt/app/openapi/api_v1/api_v1.py", line 77, in get_db_list
dbs = CFG.LOCAL_DB_MANAGE.get_db_list()
AttributeError: 'NoneType' object has no attribute 'get_db_list'
During handling of the above exception, another exception occurred:

Exception Group Traceback (most recent call last):
|   File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi
|     result = await app(  # type: ignore[func-returns-value]
|   File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
|     return await self.app(scope, receive, send)
|   File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 284, in call
|     await super().call(scope, receive, send)
|   File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 122, in call
|     await self.middleware_stack(scope, receive, send)
|   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 184, in call
|     raise exc
|   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 162, in call
|     await self.app(scope, receive, _send)
|   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 106, in call
|     async with anyio.create_task_group() as task_group:
|   File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 658, in aexit
|     raise BaseExceptionGroup(
| exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
|   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 78, in call_next
|     message = await recv_stream.receive()
|   File "/usr/local/lib/python3.10/dist-packages/anyio/streams/memory.py", line 97, in receive
|     return self.receive_nowait()
|   File "/usr/local/lib/python3.10/dist-packages/anyio/streams/memory.py", line 90, in receive_nowait
|     raise EndOfStream
| anyio.EndOfStream
|
| During handling of the above exception, another exception occurred:
|
| Traceback (most recent call last):
|   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 108, in call
|     response = await self.dispatch_func(request, call_next)
|   File "/app/dbgpt/util/tracer/tracer_middleware.py", line 44, in dispatch
|     response = await call_next(request)
|   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 84, in call_next
|     raise app_exc
|   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 70, in coro
|     await self.app(scope, receive_or_disconnect, send_no_error)
|   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 91, in call
|     await self.simple_response(scope, receive, send, request_headers=headers)
|   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 146, in simple_response
|     await self.app(scope, receive, send)
|   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 79, in call
|     raise exc
|   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 68, in call
|     await self.app(scope, receive, sender)
|   File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
|     raise e
|   File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
|     await self.app(scope, receive, send)
|   File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 718, in call
|     await route.handle(scope, receive, send)
|   File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 276, in handle
|     await self.app(scope, receive, send)
|   File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 66, in app
|     response = await func(request)
|   File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 241, in app
|     raw_response = await run_endpoint_function(
|   File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 167, in run_endpoint_function
|     return await dependant.call(**values)
|   File "/app/dbgpt/app/openapi/api_v1/api_v1.py", line 279, in params_list
|     return Result.succ(get_db_list())
|   File "/app/dbgpt/app/openapi/api_v1/api_v1.py", line 77, in get_db_list
|     dbs = CFG.LOCAL_DB_MANAGE.get_db_list()
| AttributeError: 'NoneType' object has no attribute 'get_db_list'
+------------------------------------

What you expected to happen
There should be no Request error or Network Error
How to reproduce
LLM: vicuna-13b-v1.5
Embedding model:text2vec-large-chinese
docker run command: docker run --ipc host --gpus all -d -p 5000:5000 -e LOCAL_DB_TYPE=sqlite -e LOCAL_DB_PATH=data/default_sqlite.db -e LLM_MODEL=vicuna-13b-v1.5 -e LANGUAGE=zh -v /d/models:/app/models --name dbgpt eosphorosai/dbgpt
Accessing localhost:5000 would get error on page like:

While the DB-GPT docker would break down with error report in docker logs:
    |   File "/app/dbgpt/app/openapi/api_v1/api_v1.py", line 77, in get_db_list     |     dbs = CFG.LOCAL_DB_MANAGE.get_db_list()     | AttributeError: 'NoneType' object has no attribute 'get_db_list'
Additional context
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

port looks to hardcoded in .js file..
you can replace all the places in 5000 with your docker port default 8000
(vs code search option)

邮件已收到，本回复为自动回复，我将尽快与您取得联系，谢谢！

邮件已收到，本回复为自动回复，我将尽快与您取得联系，谢谢！


Incorrect shell variable used in objective 5

The shell variable HEADER_PAYLOAD is declared, but TEST_HEADER is used, resulting in a 401 (failed authorization).

closed by #4


I want to enable/disable an accessory by posting e.g.
{
    "characteristicType": "On",
    "value": "true"
}

onto
http://<IP_ADDRESS>:8581/api/accessories/ee18d5b232fb195a61373fded762c8e1b9f7086222758088cf08c03f4e2275d0

using headers
accept: */*
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwibmFtZSI6IkFkbWluaXN0cmF0b3IiLCJhZG1pbiI6dHJ1ZSwiaW5zdGFuY2VJZCI6IjAwMGQ4ZDAxMTEyNTUwNjdlM2I2YzNlNWYzNzdmMjA4OWRiY2IyODIwMTVkMmRkNmNmN2I3ZGE1NjAyNDc5ZTMiLCJpYXQiOjE2MTA4OTY0NDIsImV4cCI6MTYxMjE5MjQ0Mn0.1e20pifNsJ42RFvgpWEAuUpKOgBbmHqNjtDFdTPdU04

I know this must work somehow because when i do it on
http://<IP_ADDRESS>:8581/swagger/static/index.html

it works and the resulting request is
curl -X PUT "http://<IP_ADDRESS>:8581/api/accessories/ee18d5b232fb195a61373fded762c8e1b9f7086222758088cf08c03f4e2275d0" -H "accept: */*" -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwibmFtZSI6IkFkbWluaXN0cmF0b3IiLCJhZG1pbiI6dHJ1ZSwiaW5zdGFuY2VJZCI6IjAwMGQ4ZDAxMTEyNTUwNjdlM2I2YzNlNWYzNzdmMjA4OWRiY2IyODIwMTVkMmRkNmNmN2I3ZGE1NjAyNDc5ZTMiLCJpYXQiOjE2MTA4OTI5MDYsImV4cCI6MTYxMjE4ODkwNn0.7Xr9GjiOZDnYdEGtU2o7BJQ4FHiWL3OgShkRZ-2QAvw" -H "Content-Type: application/json" -d "{\"characteristicType\":\"On\",\"value\":\"true\"}"

I am trying this in the application Postman and also in js code. In Postman i get the answer
{
    "error": "Bad Request",
    "message": "Client Error",
    "statusCode": 400
}

and in my quick and dirty code which looks as the following
function setSpeaker(value, token) {
    return new Promise(function (resolve, reject) {
        const options = {
            url: 'http://<IP_ADDRESS>:8581/api/accessories/ee18d5b232fb195a61373fded762c8e1b9f7086222758088cf08c03f4e2275d0',
            method: 'POST',
            headers: {
                'Accept': '*\/*',
                'Authorization': 'Bearer ' + token,
                'Content-Type': 'application\/json'
            },
            json: true,
            body: {
                'characteristicType': 'On',
                'value': '' + value
            }
        }

        request(options, function (err, res, body) {
            console.log(err)
            console.log(res)
            console.log(body)
            resolve(body);
        });
    });
}

the resulting answer is 'Not Found' as if the accessory does not exist (but it does...)
What am i missing here?
Thanks for your time!
Best regards,
Lukas

method: 'POST',

method is PUT

'Content-Type': 'application/json'

should be  'application/json'

'Accept': '/',

This is also incorrectly escaped. Just remove this header - it's not required.

method: 'POST',

method is PUT

'Content-Type': 'application/json'

should be  'application/json'

'Accept': '/',

This is also incorrectly escaped. Just remove this header - it's not required.

Thanks for answering.
My god i knew this must have been some very obvious thing but i just didn't see it...
Thanks so much.
It was the PUT (the headers work like they are). I copy pasted the code from where i do the auth stuff and there it is a POST...so copy paste bug...never noticed in swagger that there are PUT methods, too :D!
Ok so it works now in the code (which is the important thing) but in Postman it still does not work. That's pretty strange since i just enter the body, set it to JSON, enter the auth token and all the headers are actually created automatically. Triple checked URL and token and PUT method ;) and still i get the Bad Request answer.
But that's not so important!
Thanks again!

Thanks for answering.
My god i knew this must have been some very obvious thing but i just didn't see it...
Thanks so much.
It was the PUT (the headers work like they are). I copy pasted the code from where i do the auth stuff and there it is a POST...so copy paste bug...never noticed in swagger that there are PUT methods, too :D!
Ok so it works now in the code (which is the important thing) but in Postman it still does not work. That's pretty strange since i just enter the body, set it to JSON, enter the auth token and all the headers are actually created automatically. Triple checked URL and token and PUT method ;) and still i get the Bad Request answer.
But that's not so important!
Thanks again!

btw:
the curl created by postman is
curl -X PUT 'http://<IP_ADDRESS>:8581/api/accessories/ee18d5b232fb195a61373fded762c8e1b9f7086222758088cf08c03f4e2275d0' -H 'accept: */*' -H 'Content-Type: application/json' -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwibmFtZSI6IkFkbWluaXN0cmF0b3IiLCJhZG1pbiI6dHJ1ZSwiaW5zdGFuY2VJZCI6IjAwMGQ4ZDAxMTEyNTUwNjdlM2I2YzNlNWYzNzdmMjA4OWRiY2IyODIwMTVkMmRkNmNmN2I3ZGE1NjAyNDc5ZTMiLCJpYXQiOjE2MTA5OTE3NzksImV4cCI6MTYxMjI4Nzc3OX0.dlM8ocWWMa0AizA68_KCzmHvD-YlxM6a6ZyffZQeJD8' --data-raw '{\"characteristicType\":\"On\",\"value\":\"false\"}'

the curl created in swagger is
curl -X PUT "http://<IP_ADDRESS>:8581/api/accessories/ee18d5b232fb195a61373fded762c8e1b9f7086222758088cf08c03f4e2275d0" -H "accept: */*" -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwibmFtZSI6IkFkbWluaXN0cmF0b3IiLCJhZG1pbiI6dHJ1ZSwiaW5zdGFuY2VJZCI6IjAwMGQ4ZDAxMTEyNTUwNjdlM2I2YzNlNWYzNzdmMjA4OWRiY2IyODIwMTVkMmRkNmNmN2I3ZGE1NjAyNDc5ZTMiLCJpYXQiOjE2MTA5OTE3NDcsImV4cCI6MTYxMjI4Nzc0N30.wOzHCjApjNrkQhF_ven9BTAac9OgCIlZ6qFyYRZlUws" -H "Content-Type: application/json" -d "{\"characteristicType\":\"On\",\"value\":\"false\"}"

seems pretty much the same except for the --data-raw vs -d. You think this is the problem? Couldn't find any setting in postman that changes that.
Postman still gives me
{
    "error": "Bad Request",
    "message": "Client Error",
    "statusCode": 400
}

Strange...

btw:
the curl created by postman is
curl -X PUT 'http://<IP_ADDRESS>:8581/api/accessories/ee18d5b232fb195a61373fded762c8e1b9f7086222758088cf08c03f4e2275d0' -H 'accept: */*' -H 'Content-Type: application/json' -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwibmFtZSI6IkFkbWluaXN0cmF0b3IiLCJhZG1pbiI6dHJ1ZSwiaW5zdGFuY2VJZCI6IjAwMGQ4ZDAxMTEyNTUwNjdlM2I2YzNlNWYzNzdmMjA4OWRiY2IyODIwMTVkMmRkNmNmN2I3ZGE1NjAyNDc5ZTMiLCJpYXQiOjE2MTA5OTE3NzksImV4cCI6MTYxMjI4Nzc3OX0.dlM8ocWWMa0AizA68_KCzmHvD-YlxM6a6ZyffZQeJD8' --data-raw '{\"characteristicType\":\"On\",\"value\":\"false\"}'

the curl created in swagger is
curl -X PUT "http://<IP_ADDRESS>:8581/api/accessories/ee18d5b232fb195a61373fded762c8e1b9f7086222758088cf08c03f4e2275d0" -H "accept: */*" -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwibmFtZSI6IkFkbWluaXN0cmF0b3IiLCJhZG1pbiI6dHJ1ZSwiaW5zdGFuY2VJZCI6IjAwMGQ4ZDAxMTEyNTUwNjdlM2I2YzNlNWYzNzdmMjA4OWRiY2IyODIwMTVkMmRkNmNmN2I3ZGE1NjAyNDc5ZTMiLCJpYXQiOjE2MTA5OTE3NDcsImV4cCI6MTYxMjI4Nzc0N30.wOzHCjApjNrkQhF_ven9BTAac9OgCIlZ6qFyYRZlUws" -H "Content-Type: application/json" -d "{\"characteristicType\":\"On\",\"value\":\"false\"}"

seems pretty much the same except for the --data-raw vs -d. You think this is the problem? Couldn't find any setting in postman that changes that.
Postman still gives me
{
    "error": "Bad Request",
    "message": "Client Error",
    "statusCode": 400
}

Strange...


DaemonSet and StatefulSet better status display

loki example - DaemonSet and StatefulSet better status display
Right now we don't show good status for those.

What is the expectation here?
This is what I see currently

DaemonSet and StatefulSet are in theory similar to Deployment object. It would be good to display more relevant status information for those, if possible.
For now, we have to do quite dirty juggling around status of objects, to make most sense in UI.
The conclusion could also be that DaemonSet and StatefulSet are not possible to improve wrt status display.


#86drpndk1 - Change how to add a method to the permissions

Summary or solution description
This issue changes the add_permission function from NeoMetadata to accept methods in the form of lists and tuples, including handling of wildcard when present in such iterables.

Task linked: CU-86drpndk1 Change how to add a method to the permissions

coverage: 91.942%. remained the same
when pulling 769c9fab52430b8a36681fb5ba9a0328aea14923 on CU-86drpndk1
into 7b1359f25ccccb89b130ab1650500b3a132d9d0b on development.


feat(FormlyConfig) setType can accept array of options

Current coverage is 62.58% (diff: 86.36%)

Merging #216 into master will increase coverage by 0.28%

@@             master       #216   diff @@
==========================================
  Files            17         17
  Lines           833        842     +9
  Methods         187        190     +3
  Messages          0          0
  Branches        258        263     +5
==========================================
+ Hits            519        527     +8
- Misses          314        315     +1
  Partials          0          0

Powered by Codecov. Last update 5b5938e...8417692


Bot instance management

Check instances.py for the latest updates to the API and how to deploy bots

Just need to fix the startup process with Hummingbot ^^


Missing thumbnail of the Channel: SAMHSA

The Channel SAMHSA is missing the thumbnail on the card.
Test version: Ladybird 6.31-379

I've created the thumbnail and the app custom presentation request issue: https://github.com/endlessm/kolibri-explore-plugin/issues/742

duplicate of #742


BUG - alias not working

Are you a current Fivetran customer?
Yes.
Mark Hansen
Consultant
Edcura
Describe the bug
alias fails to rename the hubspot__contact fields 'first_name' and ''last_name' to 'firstname' and 'lastname'
Steps to reproduce

Add the following code to dbt_project.yml

hubspot__contact_pass_through_columns:
    - name: "first_name"
      alias: "firstname"
    - name: "last_name"
      alias: "lastname"

Run dbt -m hubspot --full-refresh
Example the table hubspot__contacts
You will see the table has columns 'first_name' and 'last_name' rather than 'firstname' and 'lastname'

Expected behavior
The column 'first_name' should have become 'firstname' and the column 'last_name' should have become 'lastname'
Project variables configuration

name: 'hubspot'
version: '0.3.3'
config-version: 2
require-dbt-version: [">=0.18.0", "<0.20.0"]

vars:
  hubspot:
    contact: "{{ ref('stg_hubspot__contact') }}"
    contact_list: "{{ ref('stg_hubspot__contact_list') }}"
    contact_list_member: "{{ ref('stg_hubspot__contact_list_member') }}"
    contact_property_history: "{{ ref('stg_hubspot__contact_property_history') }}"

    company: "{{ ref('stg_hubspot__company') }}"
    company_property_history: "{{ ref('stg_hubspot__company_property_history') }}"

    deal: "{{ ref('stg_hubspot__deal') }}"
    deal_stage: "{{ ref('stg_hubspot__deal_stage') }}"
    deal_company: "{{ ref('stg_hubspot__deal_company') }}"
    deal_pipeline: "{{ ref('stg_hubspot__deal_pipeline') }}"
    deal_pipeline_stage: "{{ ref('stg_hubspot__deal_pipeline_stage') }}"
    deal_property_history: "{{ ref('stg_hubspot__deal_property_history') }}"

    owner: "{{ ref('stg_hubspot__owner') }}"

    email_event_bounce: "{{ ref('stg_hubspot__email_event_bounce') }}"
    email_event_click: "{{ ref('stg_hubspot__email_event_click') }}"
    email_event_deferred: "{{ ref('stg_hubspot__email_event_deferred') }}"
    email_event_delivered: "{{ ref('stg_hubspot__email_event_delivered') }}"
    email_event_dropped: "{{ ref('stg_hubspot__email_event_dropped') }}"
    email_event_forward: "{{ ref('stg_hubspot__email_event_forward') }}"
    email_event_open: "{{ ref('stg_hubspot__email_event_open') }}"
    email_event_print: "{{ ref('stg_hubspot__email_event_print') }}"
    email_event_sent: "{{ ref('stg_hubspot__email_event_sent') }}"
    email_event_spam_report: "{{ ref('stg_hubspot__email_event_spam_report') }}"
    email_event_status_change: "{{ ref('stg_hubspot__email_event_status_change') }}"
    email_event: "{{ ref('stg_hubspot__email_event') }}"

    engagement: "{{ ref('stg_hubspot__engagement') }}"
    engagement_call: "{{ ref('stg_hubspot__engagement_call') }}"
    engagement_company: "{{ ref('stg_hubspot__engagement_company') }}"
    engagement_contact: "{{ ref('stg_hubspot__engagement_contact') }}"
    engagement_deal: "{{ ref('stg_hubspot__engagement_deal') }}"
    engagement_email_cc: "{{ ref('stg_hubspot__engagement_email_cc') }}"
    engagement_email_to: "{{ ref('stg_hubspot__engagement_email_to') }}"
    engagement_email: "{{ ref('stg_hubspot__engagement_email') }}"
    engagement_meeting: "{{ ref('stg_hubspot__engagement_meeting') }}"
    engagement_note: "{{ ref('stg_hubspot__engagement_note') }}"
    engagement_task: "{{ ref('stg_hubspot__engagement_task') }}"

    email_metrics: [
                    'bounces',
                    'clicks',
                    'deferrals',
                    'deliveries',
                    'drops',
                    'forwards',
                    'opens',
                    'prints',
                    'spam_reports',
                    'unsubscribes'
                    ]
  hubspot__contact_pass_through_columns:
    - name: "first_name"
      alias: "firstname"
    - name: "last_name"
      alias: "lastname"

models:
  hubspot:
    +materialized: table
    +schema: hubspot
    marketing:
      intermediate:
        +materialized: ephemeral
    sales:
      intermediate:
        +materialized: ephemeral

Package Version

packages:
  - package: fivetran/hubspot_source
    version: [">=0.3.0", "<0.4.0"]

Warehouse

[x] BigQuery
[ ] Redshift
[ ] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (provide details below)

Additional context

Screenshots

Please indicate the level of urgency
Urgent. Dashboarding is broken since upgrading to latest version of fivetran/hubspot_source
Are you interested in contributing to this package?

[ ] Yes, I can do this and open a PR for your review.
[x] Possibly, but I'm not quite sure how to do this. I'd be happy to do a live coding session with someone to get this fixed.
[ ] No, I'd prefer if someone else fixed this.  I don't have the time and/or don't know what the root cause of the problem is.

mistake is mine. putting hubspot__contact_pass_through_columns in the wrong place ...


Daniel current

Main Points
This PR refactors our current property (for world and stack) to be an id, as opposed to an index.
The reasons to do this now and now later are the following:

issue #3 outline race condition with delete
adding order related commands and properties (for example `moveTo "first/last") to be able to re-order parts would be coupled with indexing of the current stack or card. For example, moving the current card to another place in the stack would force us to update both its order as a subpart, and DOM element child, but also the current property, making things unnecessarily complicated and prone to error.  This was actually what I wanted to do first, but then ended up refactoring as in this PR.
the longer we wait the more painful it will be update the examples (this is a breaking change)

The one notable change is that now if you have a single-card stack, or a single-stack world, that card/stack will be current. We more or less go away with this b/c the current property was set to default 0 index, but there was a looming bug when importing new worlds which has now been fixed.
I've updated the examples which I think the ones being used. If there is some I missed let me know, or open up the document and update the current prop manually.

I've played around with this a bit and am not seeing any issues really.
I tried importing various examples like the mandate, layout examples, and paddle and they all have issues, but I assume that is not due to this?

I've played around with this a bit and am not seeing any issues really.
I tried importing various examples like the mandate, layout examples, and paddle and they all have issues, but I assume that is not due to this?
@ApproximateIdentity
hmm those should all work. Did you hard-refresh? I need to do this with every examples (and make sure you actually running the version committed here)

fixing tests and a nasty bug


Auto-Label Workflow

Description:
I would like to request the addition of an auto-label workflow in this repository to automatically label pull requests with "gssoc-ext" and "hacktoberfest-accepted" during relevant events such as GSSoC (GirlScript Summer of Code) and Hacktoberfest.
Key Features:

Auto-label on PR Creation:

Automatically apply the "gssoc-ext" label for any pull requests submitted as part of GSSoC.
Automatically apply the "hacktoberfest-accepted" label for pull requests during the Hacktoberfest period, or when contributors indicate Hacktoberfest participation.

Workflow Automation:

Use GitHub Actions to create a workflow that triggers upon pull request creation, checking the event or time period, and assigning the appropriate label automatically.

Custom Conditions:

Allow maintainers to manually override the labels if necessary.
Include a check to ensure only valid PRs contributing to the project are labeled with "hacktoberfest-accepted", following Hacktoberfest rules.

Benefits:

Efficiency: Automating this process will save time for maintainers by reducing manual labeling.
Transparency: Ensures that contributors clearly know when their pull request has been accepted for relevant events.
Compliance: Helps in staying aligned with the official rules for Hacktoberfest, where labels like "hacktoberfest-accepted" are required to validate contributions.

Suggested Implementation:

Add a GitHub Actions workflow file in .github/workflows that triggers on pull request events and applies the labels based on specific conditions.

Please @jahnvisahni31 assign me this issue with labels "gssoc-ext" , "hacktoberfest-accepted" and "level3".

but we cant auto label we need to verify level of it,whether we need that feature or its duplicate

@powerstone666 labels like "level" will be given by the project admin
only "gssoc-ext" and "hacktoberfest" will be automated


Ubuntu VMs offline due to full disks

Is your issue related to a Jumpstart scenario, ArcBox, or HCIBox?

ArcBox for ITPros
Describe the bug

The environment came online without issues, but after a few days I noticed that the two Ubuntu VMs was Offline/Disconnected from Arc in the Azure portal.
After logging on to the VM console via Hyper-V Manager, I discovered that they are out of disk space:

To Reproduce

Provision an ArcBox instance and let it run for a few days.
Observe disk space usage

Expected behavior

VMs should not run out of disk space within a few days.
Consider creating larger VM disks, such as 30 or 40 GB instead of 20 GB as the current size is.
Environment summary

Azure CLI version 2.44
Have you looked at the Troubleshooting and Logs section?

Yes
Screenshots

Screenshots provided in the description above.
Additional context

No actions was performed against the Linux VMs besides turning them off and on once since initial deployment a couple of weeks ago.
In order to manually resolve the issue for my environment, I shutdown the two ubuntu VMs, resized the VHDX to 40 GB and ran the following within the guest OS:
sudo apt-get clean // free up space in order to run the expansion commands, if no space available it fails
sudo cfdisk
pvresize /dev/sda3
lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv

It looks good, thank you


[WebToolsE2E][Aspire] Run the aspire project, select a project resource on the console page, and restart this project resource successfully on the resource page, but some errors appear in the CMD dialog box

INSTALL STEPS
Clean machine: Win11 x64 23h2 ENU
Run preinstall
Install Dev17.12 Preview 3 FB
Install Aspire 9.0.0-rc.1.24511.1
REPRO STEPS

File > New project > .NET Aspire Starter App > create
Build and run
On the daskboard, navigate to console page and select apiservice resource
Navigate to Resources page, click 'Restart' option behind the apiservice resource

Note: If only F5 to run and then click 'Restart', there is no error
ACTUAL
Restart succeeded, but some errors occurred in CMD dialogimage

fail: Aspire.Hosting.Dcp.dcpctrl.ExecutableReconciler[0]
could not remove process's standard output file {"Executable": {"name":"apiservice-pwvnzjwk"}, "Reconciliation": 24, "path": "C:\Users\v-xxx\AppData\Local\Temp\aspire.grwrxwhu.0xn\apiservice-pwvnzjwk_out_152e1834-0940-46ad-b6ea-643e79995b10", "error": "remove C:\Users\v-xxx\AppData\Local\Temp\aspire.grwrxwhu.0xn\apiservice-pwvnzjwk_out_152e1834-0940-46ad-b6ea-643e79995b10: The process cannot access the file because it is being used by another process."}
fail: Aspire.Hosting.Dcp.dcpctrl.ExecutableReconciler[0]
could not remove process's standard error file {"Executable": {"name":"apiservice-pwvnzjwk"}, "Reconciliation": 24, "path": "C:\Users\v-xxx\AppData\Local\Temp\aspire.grwrxwhu.0xn\apiservice-pwvnzjwk_err_152e1834-0940-46ad-b6ea-643e79995b10", "error": "remove C:\Users\v-xxx\AppData\Local\Temp\aspire.grwrxwhu.0xn\apiservice-pwvnzjwk_err_152e1834-0940-46ad-b6ea-643e79995b10: The process cannot access the file because it is being used by another process."}
fail: Aspire.Hosting.Dcp.dcpctrl.ExecutableReconciler[0]
could not remove process's standard output file {"Executable": {"name":"apiservice-pwvnzjwk"}, "Reconciliation": 25, "path": "C:\Users\v-xxx\AppData\Local\Temp\aspire.grwrxwhu.0xn\apiservice-pwvnzjwk_out_152e1834-0940-46ad-b6ea-643e79995b10", "error": "remove C:\Users\v-xxx\AppData\Local\Temp\aspire.grwrxwhu.0xn\apiservice-pwvnzjwk_out_152e1834-0940-46ad-b6ea-643e79995b10: The process cannot access the file because it is being used by another process."}
fail: Aspire.Hosting.Dcp.dcpctrl.ExecutableReconciler[0]
could not remove process's standard error file {"Executable": {"name":"apiservice-pwvnzjwk"}, "Reconciliation": 25, "path": "C:\Users\v-xxx\AppData\Local\Temp\aspire.grwrxwhu.0xn\apiservice-pwvnzjwk_err_152e1834-0940-46ad-b6ea-643e79995b10", "error": "remove C:\Users\v-xxx\AppData\Local\Temp\aspire.grwrxwhu.0xn\apiservice-pwvnzjwk_err_152e1834-0940-46ad-b6ea-643e79995b10: The process cannot access the file because it is being used by another process."}
EXPECTED
Restart succeeded and no error occur

There is a similar bug here: https://github.com/dotnet/aspire/issues/5853, and it have been fixed.

@dbreshears will follow up here to see if this can be reproduced. If the feature is completely broken then this might be an RC1 blocker.

This looks to be a timing issue between stopping log streaming when deletion is requested for a resource and deleting the logs for said resource.


Status of repo

Hey all!
Was curious on the status of this toolkit. I'd love to utilize it for all my current and future CD tasks, however; a few deprecation warnings, and some gaps in the current documentation seem to indicate a sunset repo. @lukasoppermann has brought up some issues I've encountered myself, such as #227, #276, and #275. Regardless of the status, love the functionality & wide range of use-cases it supports! Hope to hear back 😀

Hello @DanielTamkin, the project is stable but stale. I don't have time to work on it, there is no active maintainer. I think Shipit usage is very reduced as of today. Things have change a lot since I released it initially.

Hello @DanielTamkin, the project is stable but stale. I don't have time to work on it, there is no active maintainer. I think Shipit usage is very reduced as of today. Things have change a lot since I released it initially.


feat(oxc_linter): implement eslint(for-direction)

Implement ESLint's for-direction rule.

Awesome! Thank you!


Cutscene in Quest "The Hand in the Sand" not rendering properly

Cutscene in Quest "The Hand in the Sand" not rendering properly.
At the "Give Zavistic Rarve 5 earth runes and a backet of sand" step,
See attached image for description
I have just realized issue does not occur on full screen, just when resized to just fill the far left side of my screen, see second attachment
I'm running a crappy Alienware laptop from 2014, Windows, Runelite V 1.8.5, Launcher V 2.1.3
Completed Cutscene with no further issues

I should add I switched 117 off and it rendered properly

This should be fixed as of the latest runelite update. :)


pkg/operator: Requeue a Report that has reached its expiration date during the op.runReport method.

More follow-up changes introduced in #1298.
We should be checking whether the Report we're currently processing in the op.runReport method has reached its expiration date and requeueing that object such that op.syncReport will properly manage it.
This produces the following output in the reporting-operator container logs:
time="2020-08-01T17:22:08Z" level=info msg="syncing Report tflannag/node-cpu-capacity-now" app=metering component=reportWorker logID=7ygCr5kB0Q
time="2020-08-01T17:22:08Z" level=info msg="deleted Report: node-cpu-capacity-now in the Namespace: tflannag because it reached the expiration time" app=metering
time="2020-08-01T17:22:08Z" level=info msg="requeueing report that has reached its expiration date during the op.runReport method" app=metering component=reportWorker logID=7ygCr5kB0Q namespace=tflannag report=node-cpu-capacity-now
time="2020-08-01T17:22:08Z" level=info msg="successfully synced Report \"tflannag/node-cpu-capacity-now\"" Report=tflannag/node-cpu-capacity-now app=metering component=reportWorker logID=7ygCr5kB0Q
time="2020-08-01T17:22:08Z" level=info msg="syncing Report tflannag/node-cpu-capacity-now" app=metering component=reportWorker logID=aChSoIlXus
time="2020-08-01T17:22:08Z" level=info msg="report tflannag/node-cpu-capacity-now does not exist anymore, stopping and removing any running jobs for Report" app=metering component=reportWorker logID=aChSoIlXus namespace=tflannag report=node-cpu-capacity-now
time="2020-08-01T17:22:08Z" level=info msg="successfully synced Report \"tflannag/node-cpu-capacity-now\"" Report=tflannag/node-cpu-capacity-now app=metering component=reportWorker logID=aChSoIlXus

/retest

/override ci/prow/metering-e2e-aws


Patch gh to fix CVE-2024-54132

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

Patch gh to fix CVE-2024-54132
Change Log

CVE-2024-54132

Does this affect the toolchain?

NO
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2024-54132

Test Methodology

Pipeline build id: [695183](https://dev.azure.com/mariner-org/mariner/_build/results?buildId=695183&view=results

The patch you added, i.e Patch3, is not applied in the spec.

Let me check this. Thanks.

The patch you added, i.e Patch3, is not applied in the spec.

Let me check this. Thanks.

Sorry, I assumed we are doing autosetup in all packages. Let me apply the patch3.

Auto cherry-pick results:

main :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/11655

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=696614&view=results


Skeleton code for statistical graph.

Use this skeleton snippet for fetching the data in real time via an API and use it to refresh the data with low latency. Please consider this as part of contribution towards hacktober-fest 2022 and do merge this if you think its of some help to you. Regards & Thanks.

It worked. Thanks


WIP : For testing :  DONT MERGE CI: Add a couple of jobs using ovn-fake-multinode.

This patch adds a couple of jobs using ovn-fake-multinode. It first builds 2 ovn-fake-multinode container images

one with OVN 22.03
one with present main.

The first job deploys ovn-fake-multinode with the main OVN and runs simple tests provided by ovn-fake-multinode [1].
The second job deploys ovn-fake-multinode setup with the central image using OVN 22.03 and chassis image using main OVN. This job tests the scenario

ovn-northd and OVN dbs are running the most recent LTS.
ovn-controller is running the latest commit from the branch.

[1] - https://github.com/ovn-org/ovn-fake-multinode/blob/main/.ci/test_basic.sh

The failing ovn-kubernetes job is because of a bug in ovn-kubernetes.  This recently got fixed so I triggered a re-test.


Add StaggeredMotion

I don't think it's that useful but hey, it's so fancy

What does StaggeredMotion mean exactly? Do the values animate in discrete steps? Or do different values start their animation at different times?
If it's the latter, this might necessitate extracting the animation code itself into a separate class, create multiple animations, then start them at the appropriate time.

It's this:http://chenglou.github.io/react-motion/demos/demo1-chat-heads/
It's a list of values where each one is following the precedent except for the first one which is following the target value. I honestly don't think this functionality is worth yet because I haven't found a common use case for it

An animated fly-out menu is one I can think of. It's quite neat but I agree there probably isn't a common use case for it.


Version 4.0.0

This is an issue post to gather all information about Version 4.0.0.
Current changes:

New caching system
Dependency injection
Part factories
REST client will be passed around instead of using static methods

@aequasi since everything will be non-static, what do you think about having drivers for the REST client so that we can use the ReactPHP HTTP Client for async requests and use Guzzle when not using the WebSocket?

I think that's a really good idea.

@aequasi what do you think about having promises everywhere? There are some things that don't need promises but should we still use promises so that it is consistent?

I haven't converted these methods yet as they don't use HTTP requests:
- Channel::getOverwritesAttribute()
- Guild::getRolesAttribute()

being consistent is generally a good idea, i'd say lets put them everywhere

Version 4 being released.


Why does the TCK run tests that require EJBs?

What's the reason for there being tests requiring a container to implement EJB functionality when it's not a requirement for MicroProfile?

I guess it has to do with the Optional EJB container integration where a few requirements are defined for EJB container.
In the same section there is also mentioning about Servlet requirements although MP does not include servlets.

If that's the case, then the tests for anything "optional" should be in a separate TCK module/artifact

Going to close as there is a specific suite file to run them without EJBs


Youtube download fails sometimes

I know there is another issue with this error but I think this is possibly a different situation.
This might be a weird case but occasionally when using through PHP exec the download will fail. I am not entirely sure why. The error is: ERROR: unable to download video
However it does actually download the video in full. The file is all there. There seems there is only one quality of video for this particular video because it will download the same video with worst or best format set.
Furthermore, it does not always fail. Sometimes it works. It really makes no sense to me. Other videos will work.
The command it uses is:
youtube-dl --retries 5 --ignore-errors --rate-limit 100k --no-progress --no-part --title --no-continue --format best "http://youtube.com/watch?v=JRwSk4phPLA"

This issue is very old without response. Should it be closed?


python312Packages.types-markdown: <IP_ADDRESS>40316 -> <IP_ADDRESS>40822

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 340462 run on x86_64-linux 1

4 packages built:

python311Packages.types-markdown
python311Packages.types-markdown.dist
python312Packages.types-markdown
python312Packages.types-markdown.dist


Intellisense causing performance issues

From @alexandretperez on December 19, 2015 19:56
I just update to the latest version, and now when I'm writing something like element.addEventListener("input", handler, false), the intellisense causes an increase of at least 12% on the CPU, causing lags when typing.
I do not experienced this issue on the previous version.
Copied from original issue: Microsoft/vscode#1488

From @irakliy81 on December 20, 2015 2:25
+1
Intellisense is noticeably slower for me as well - it was fine before the upgrade to the latest version. I'm working with TypeScript projects.

0.10.6 ships with a new version of the tsserver (e.g. 1.7.5). The last VSCode version ship 1.6.x. Moving to the TypeScript team to investigate.

@alexandretperez, @irakliy81 can you share projects that repro the issue so we can make sure that problem is addressed?

Since there was no activity on this issue and we were not able to reproduce it locally I'm closing it. Feel free to re-open it or create a new one with more details if you still experience the problem.


Better error message when failing on unknown targets

Based on feedback in https://github.com/rust-lang/cc-rs/pull/1312.
This assumes that the dev guide will be updated as well, haven't submitted a PR for that yet though.
CC @flba-eb, wdyt?

Hmm, actually, I'm not sure what to update the rustc dev guide with? It already has a section on patching crates, and that section mentions both libc and cc?
What would you suggest? Just make it more prominent? Or does it not really matter if we have this error message in cc-rs?

The proposed error text looks great, and would have bypassed the ~90 minutes of debugging I had to do working on a new target.

This is fantastic, thank you very much! ❤


bug: unknown field checkpoint_interval_ms in meta node

Hi team! I was trying to set up a Risingwave cluster on my Mac following the instructions in README. However, I found the meta node panicked on an internal error:
launching meta node
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: internal error: parse error unknown field `checkpoint_interval_ms`, expected one of `barrier_interval_ms`, `in_flight_barrier_nums`, `checkpoint_frequency`, `minimal_scheduling`, `worker_node_parallelism`, `actor_runtime_worker_threads_num`, `total_memory_available_bytes`, `developer` for key `streaming` at line 7 column 1
disabled backtrace', src/meta/src/lib.rs:161:74
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2022-10-13T04:21:06.558734Z  INFO risingwave_rt: setting tokio worker threads to 1

Is there anything wrong?

Hey, thanks for the reporting! It is a know issue #228 and fixed by #227. It is still affecting the currently released versions of the operator, and I'm going to release a new version soon to fix that completely.

Ok thanks!

It should be fixed now. I'm closing it.


fixed BoxContent elements visibility on right side

issue no:- #212
the right side elements inside the BoxContent class wass getting hide, and also not aligned in the middle.

can you see this PR @sanmarg


Filter times only for dates in a given range?

I am using the latest version (3.4.1). Is there a way to filter the selectable times only for certain dates? For example, I have an object as such:
const filterDates = {
  startDate: '2021-01-29T08:00:00',
  endDate: '2021-02-04T08:00:00',
}

For any date that occurs on the same day as the start or end date, I want to limit the times the user can choose. For example, if the day is 2021-01-29, the user should be able to choose times before 8AM. Likewise, if the day is 2021-02-04, the user should be able to choose times after 8AM. I am already able to filter out any dates between those two with the filterDate prop. I tried to pass a function to the filterTime prop to accomplish the same thing for times - however, everytime that function was invoked, the param passed was always the same date and wasn't the date I clicked on. I'm not sure what the intended behavior is.
I can't figure out whether or not filterTime is the prop that I should be using. Any help would be appreciated!

You can use something like below:
<DatePicker               selected={ this.state.startDate }               onChange={ this.handleChange }               minDate={new Date()}               maxDate={addDays(new Date(), 30)}           />


Order subordinates alphabetically

Hi!
Is it possible to have the org chart order subordinates alphabetically? Does the array it gets data from need to be ordered?

To be honest, I don't know if it retains order (I think it will), array most certainly will need to be ordered

To be honest, I don't know if it retains order (I think it will), the array most certainly will need to be ordered

Sorted the array and it layed it out in the correct order :)


SIGSEV in safe_read_bool

We've migrated from using the C++ Protobuf implementation to nanopb for the middleware eCAL on our master branch.
So far we haven't had any problems on our dev platforms, but now users reported a SIGSEV thrown in the safe_read_bool function.
We're currently using nanopb 0.4.8 (but upgrade would be no problem).
However, we're really at loss, if this is a potential nanopb bug, or if we're doing something wrong trying to encode the protobuf messages.
The call stack goes through safe_read_bool, pb_enc_bool, encode_basic_field encode_field and pb_encode, which is called from our encoding function.
What could we be doing wrong that may cause the segmentation fault? Thanks for the help.

That seems quite surprising considering that the message being encoded there doesn't have any bool fields.
There was a recent bug in Firebase with very similar backtrace, but I think it was very Xcode-specific and was caused by corruption of the _fields array.
I do think that corruption of the _fields array is the only way pb_enc_bool could get called for a message that does not contain it. The type index for bool is 0x00, so if the fields array is accidentally zeroed out, it will end up calling pb_enc_bool.
If you are able to add logging that would hex dump eCAL_pb_LogMessage_fields that could give some clues.
Also if you have more details on the backtrace, such as function arguments or SIGSEGV pointer value, that is helpful.

Thanks for your quick answer.
I think it must be some kind of data races, I guess anything else doesn't make sense.
And I am wondering if the nanopb libray itself is threadsafe. Are there any internal states? (in pb_encode / pb_decode)? Do I need to make sure that I don't encode / decode different objects at the same time?

I cannot see any multithreading issue that could cause these symptoms. For pb_enc_bool() to get called for that message, the fields array must have been corrupted in some way.
But encoding/decoding different objects is perfectly safe, there is no shared state inside the library.

At last we found the issue.
The application that was using our library was also using nanopb, but a much older version.
Hence we had duplicated symbols, in the application and ecal.so, which lead to a corrupt pb_field_iter_t in pb_encode, returned by an older version of pb_field_iter_begin.
Sorry for bothering you!

No problem, it's interesting to hear about these failure modes.


No -ms- prefix for transform

Autoprefixer doesn't add an -ms- prefix to transforms even though it is needed for IE9.
Config:
options: {
    browsers: ['last 3 versions', 'ie > 8']
}

Ok my bad, I used 3d transforms and their support is different.


[nvidia_plugin] Remove host tensor dependency

Update nvidia plugin to build without errors after HostTensor removal.
openvinotoolkit/openvino#22146

jankins_build


[DA_INDEXER] Celestia blobs indexer

This PR introduces a simple indexer for Celestia blobs and a service to fetch blobs without the necessity to know a namespace beforehand. The Celestia indexer runs on top of the Celestia light node.
The name da-indexer was chosen because this service might potentially be extended to support other DA solutions (Avail, Eigen DA, etc.).
There are two potential use cases for this service:

This service might be useful for indexing Optimism-like rollups that use Celestia as a DA layer. The L1 transactions for this kind of rollup will include the height and commitment of the blob on Celestia. https://github.com/celestiaorg/optimism/blob/0ce4f69ef4fd113fae6f3ea0c99ea99a1dfc9c67/op-batcher/batcher/driver.go#L510
This service can also be used on UI to display the data of the batches in rollup settlement transactions on L1.

I've tested the indexer on the Celestia mainnet, and it seems to be working properly.

Imo, looks great
Should we merge it?

Hi, @rimrakhimov! Thank you for the review!
The current state of the indexer should be sufficient to cover the first Blockscout-Celenium use case, so I guess we can merge it.


frontend: Login, logout, and account creation

Adds new pages for login, register, and logout
When the backend has authentication enabled, users will be required to create an account and log in before using the app

Dependencies: #163
AI Description

This PR introduces a new authentication system for the Coral Web interface. It adds support for user registration, login, and logout, along with Google and GitHub SSO (Single Sign-On) options.

New Dependencies: js-cookie, jwt-decode, react-hook-form, @types/js-cookie
New Components: AuthLink, CellBackground, GithubSSOButton, GoogleSSOButton, Navigation, NavigationUserMenu
New Hooks: useAuthConfig, useGithubAuthRoute, useGoogleAuthRoute, useServerAuthStrategies, useSession
New Utils: getQueryString, simpleEmailValidation

package.json and pnpm-lock.yaml
The following new dependencies have been added:

js-cookie
jwt-decode
react-hook-form
@types/js-cookie

cohere-client/client.ts
The CohereClient class has been updated to include authentication-related methods:

login: Authenticates a user with their email and password.
logout: Logs out the current user.
getAuthStrategies: Retrieves the authentication methods supported by the server.
createUser: Creates a new user with their name, email, and password.

components/AuthLink.tsx
A new component, AuthLink, has been added to handle navigation for different authentication actions: login, register, and logout. It uses the useAuthConfig hook to determine the appropriate URLs.
components/NavigationUserMenu.tsx
A new component, NavigationUserMenu, has been added to display a popover menu with the user's email and a logout button when logged in. When logged out, it shows a login button. It uses the AuthLink component for the login and logout actions.
components/Welcome/CellBackground.tsx
A new component, CellBackground, has been introduced to render the background for the welcome pages. It displays a video on desktop and a static image on other devices.
components/Welcome/GithubSSOButton.tsx
A new component, GithubSSOButton, has been added to handle GitHub sign-up and login. It uses the BasicButton component and includes styling to match the Google SSO button.
components/Welcome/GoogleSSOButton.tsx
A new component, GoogleSSOButton, has been added to handle Google sign-up and login. It uses the BasicButton component and includes styling to match the Google SSO design.
components/Welcome/Navigation.tsx
A new component, Navigation, has been introduced to handle navigation for the registration, login, and onboarding flow. It includes a logo and can display children components.
components/WelcomePage.tsx
A new component, WelcomePage, serves as a container for the welcome pages. It includes the CellBackground component, a navigation bar, and a content area. It can display the NavigationUserMenu component when the user is logged in or an AuthLink when they are not.
hooks/authConfig.ts
A new hook, useAuthConfig, has been added to provide the URLs for login, registration, and logout.
hooks/authStrategies.ts
A new hook, useServerAuthStrategies, retrieves the authentication methods supported by the server using the useCohereClient hook.
hooks/githubAuthRoute.ts
A new hook, useGithubAuthRoute, redirects to the GitHub login or registration page. It uses the Cookies library to handle the OAuth state and opens the appropriate GitHub URL.
hooks/googleAuthRoute.ts
A new hook, useGoogleAuthRoute, redirects to the Google login or registration page. Similar to useGithubAuthRoute, it manages the OAuth state and opens the Google authentication URL.
hooks/session.ts
A new hook, useSession, manages the user session. It includes mutations for login, logout, and user registration. It uses jwtDecode to extract the user session data from the auth token.
pages/_app.tsx
The makeCohereClient function now accepts an <co

Codecov Report
Attention: Patch coverage is 59.29204% with 46 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@338a9fa). Learn more about missing BASE report.

:exclamation: Current head 8e92154 differs from pull request most recent head f5937c1
Please upload reports for the commit f5937c1 to get more accurate results.

Files
Patch %
Lines

...c/backend/services/auth/strategies/google_oauth.py
51.85%
13 Missing :warning:

src/backend/services/auth/strategies/oidc.py
53.57%
13 Missing :warning:

src/backend/services/auth/strategies/base.py
61.11%
7 Missing :warning:

src/backend/routers/auth.py
66.66%
5 Missing :warning:

src/backend/config/auth.py
25.00%
3 Missing :warning:

src/backend/main.py
72.72%
3 Missing :warning:

src/backend/services/auth/utils.py
33.33%
2 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #179   +/-   ##
=======================================
  Coverage        ?   87.85%
=======================================
  Files           ?      148
  Lines           ?     5436
  Branches        ?        0
=======================================
  Hits            ?     4776
  Misses          ?      660
  Partials        ?        0

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


Use document noun

Changes in this PR:
Trello card / Rollbar error (etc)
Screenshots of UI changes:
Before
After

[ ] Requires env variable(s) to be updated

Whilst the tests pass, smoketests have a failure due to custom-api-client quirks. Fixing...


Update traverse and sequence Errors to signal for Apply and not Applicative

The Times are a Changin'

Because we are not implementing the fantasy-land methods for the public traverse and sequence methods, we only need to constrain to Apply and not as strict as Applicative as Apply returning functions are all that are needed.
So we should report that 🌽striant properly in our Errors. That, my friends, is all this PR does.

Coverage remained the same at 100.0% when pulling 700ca6a9f231201f05ef0155c2c6f5f2f90cc6b2 on update-traverse-errors into 36bb58ae4a107b507e915cc66101903d2466d5a9 on master.


Add api endpoints

Add endpoints for assignment and section data.
Create tests for api views
Refs TK-29

@JsseL Hope all is fixed now


Click on actions (reevaluate/block etc) sometimes jumps back into the focused code block

Environment

Operating system: Mac OS Ventura (13.2.1)
Browser: Safari 16.3 shows the issue, Chrome doesn't
LiveBook v0.10.0

Current behavior
Showing with a video, where I click 2 times on re-evaluate, 1 time on block, each time the focus goes back to the code editor.
Ultimately I click outside in a white area, and re-evaluate will work as expected:
https://github.com/livebook-dev/livebook/assets/10141/0cfbb89a-bf08-403f-b099-f37cd7e2e928
Expected behavior
I would expect the click to execute the related action.

Almost certain this is a duplicate of #2003. I opened an issue upstream, though no updates so far.


Hyper.js on Windows cannot open when disconnect network

[ ] My hyper.js was downloaded from the https://hyper.is

OS version and name: Windows 10 1809 Update
Hyper.app version: 2.0.0

Issue

I cannot open hyper.js when my PC disconnected network. I could find hyper.js in background from Task Manager, but it didn't show in foreground.

I have the same issue. Does Hyper work with internet connection only?


[WIP] Trigger prototype

I would like to introduce the Trigger primitive to use in place of RwSignal<()>, simply to avoid unnecessary allocations and overhead in cases where many hundreds or thousands of them may be present.
Rc<RefCell<dyn Any>> will allocate 8-16 bytes (32-bit/64-bit) on the Rust heap even if the value stored is a unit type, while Option<Rc<Refcell<dyn Any>> will not allocate if None, and thanks to null-pointer optimization of Option will not increase the size of ReactiveNode at all. It also avoids the overhead of regular signal functionality.
If not used by an application, this only adds about 200 bytes to the compiled WASM.
TODO:

[x] Documentation
[x] Testing

Which I'll likely get to tomorrow. Submitting this as a draft for early feedback.
My later plan is to use triggers inside a reactive Store structure generated by proc-macros to emulate Proxies in Rust.

Apologies, I couldn't help but do some additional cleanup. Doc links (within leptos_reactive) to types and functions have been wrapped in backticks for markdown formatting. Also mark_dirty has been tweaked a bit more.


Release 2.0.5

Descriptive summary
DMR Version 2.0.5
Release Manager: @VivianChu
Product Owner: @gamontoya
Operations: @jhriv

@gamontoya - DMR release has been deployed to staging.  It's ready for review.  Could you review it?  For example,
https://librarytest.ucsd.edu/dmr/courses/101/Fall/2017/test_course_video

@VivianChu What is my test case for the above URL? The Report a bug link or am I testing my being able to access the test_course_video URL?

@gamontoya - The above url is for course list access control.  I though you already test the report a bug link before.

@VivianChu If the test is that I can access the URL after AD login, then it's working for me. However, I need to test it somehow to ensure it fails if I'm not a part of the group who has permission to access.
And yes, I did already test the report a bug link.

@VivianChu Approved for release to prod
[Noting that John and Longshou who are not in the group were not able to access the link]

@jhriv - The release branch has been merged into the master branch.  Could you please deploy it and the new dmr environment variables at your earliest convenient?  Thanks

Deployed; env-variables pushed.

Thanks @jhriv
@gamontoya -  The report url works fine for me.
For example - https://library.ucsd.edu/dmr/courses/605/Summer/2017/cgs_102

And fails for me


In the new UI, the color of the relevant buttons running in the upper right corner is very striking.

In the new UI, the color of the relevant buttons running in the upper right corner is very striking. I hope to optimize it.

It looks like the color of the icons will not be able to control, I did not find such an opportunity, only to replace them with others.
Maybe the Aton Material Icons plugin will solve your problem?


Fix selected tab indicator tap animation

Also change the duration of the tab change animation from 200ms to 300ms to match Android native.
Fixes: https://github.com/flutter/flutter/issues/7479

 but missing a test

LGTM
We should move this into flutter_test at some point.


How do I add NOT NULL Constraint to Column?

I use requery in Android app.
io.requery.Column dose not have NOT NULL Constraint attribute.
How do I add NOT NULL Constraint to Column?

By default the nullability is determined by the type used in the model (for instance if you had int, it would be NOT NULL, but Integer it would not be. But I think there should be a nullable attribute in the @Column annotation as well. would that work for you? Thanks for the feedback!

Yes. Thank you.

Hi you can use gradle build --refresh-dependencies to get the latest snapshot version with the changes. Thanks!

@npurushe
I confirmed this enhancement  in latest version.
Thanks.


Babili no longer working with webpack 3.0.0

As of webpack 3 this appears to no longer work.  I thought it was a few other things but I have narrowed it down to babili breaking arg spreading.
I have updated everything to the latest.
const r = Object.keys(selected).reduce((...args) => {
    console.log(args.length); // 4
    handleProcessReduction(selected, ...args);
  }, {});

function handleProcessReduction(selected, ...args) {
  console.log('p: ', args.length); // 1
}

I can see it is not doing the right thing:
return Object.keys(e).reduce(function() {
            for (var r = arguments.length, t = Array(r), n = 0; n < r; n++)
              t[n] = arguments[n];
            console.log(t.length), u.apply(void 0, [e, t]); // [e, t] not [e].concat(t)?
          }, {});

My babel config is just default
babel: {
    plugins: ['transform-class-properties'],
    presets: [
      'stage-0',
      [
        'env',
        {
          modules: false,
        },
      ],
    ],
    env: {
      production: {
        presets: ['babili'],
      },
      test: {
        plugins: ['istanbul'],
        sourceMaps: 'inline',
      },
    },
  },

It works perfectly in the reply which adds to the annoyance here haha
I'm sure it's something stupid I am doing but I can't imagine what - this is an extremely simple setup.

Yeah, this one has been biting a lot of people—it's fixed on master by #578, but not yet released!

Released new version https://github.com/babel/babili/releases/tag/babili%400.1.4


watch TLS cert file

What this PR does / why we need it:
This watches the certificate file on the webhook, restarting whenever a certificate has changed. This makes sure that we're always going to have a valid certificate
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged):
fixes #1340
Release note:

NONE

Stat should give us the info of the file being pointed to. Lstat is the one that would give you info about the symbolic link

🎉
/lgtm
/approve


[WIP] Syntax Highlighting

WIP for #4, requiring some changes to tree-sitter: https://github.com/tree-sitter/tree-sitter/pull/443.

Closing, since there's now a better approach https://github.com/tree-sitter/tree-sitter/pull/444.


Question on Replication back to Primary

We have two racks, rack01 and rack02. rack01 is our primary and rack02 is our another dc(logical) and replica of rack01. When any node in primary rack goes down the client will route the read and writes to corresponding token node in rack02. When all working all writes to rack1 node is replayed on rack2 but when rack1 goes down all writes go to rack2.
So far the HA or fallback works great, when rack1 comes back the client connects back to the local rack which is rack1 here but the writes played to rack2 node is not replicated back to rack1 node. Is that expected?

@balajivenki Are you using Dynomite-manager to manage these racks? If you are, when rack01 comes back up, the dynomite-manager sidecar process will forklift data from the rack02 replica back to rack01. The data you may miss is the in flight writes that are happening during the forklift.
To fix this, we're currently working on a repair process. The first draft of repairs (currently unsupported) is here, which happens on the read path:
https://github.com/Netflix/dynomite/pull/653
Once we're confident that it works well with no bugs, we'll start supporting it.


Media library: styles are clearly not all there

Some CSS classes are not scoped correctly

Closing duplicate #362


Deprecated node12

Hello,
I have been a happy user of your Github Action on several projects!
I have noticed some time ago that my workflows started emitting an warning related to the deprecation of the node12:

Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, <EMAIL_ADDRESS>For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

I am super familiar with javascript and typescript, but I could take a look at the issue.
Could you give me some hints where should I start looking?
I can see that action.yaml specifies node12, but there are also packages in the pacakge.json file that probably need to be updated.

I have forked the repo, updated node12 to node16 in actions.yml and ran the action from my test repo.
The warning disappeared.
From outside it seem that this is all that needs to be done, but I believe that probably some more work is needed.

Is there any progress on this?

I have forked the repo, updated node12 to node16 in actions.yml and ran the action from my test repo.
The warning disappeared.

A PR needs to be created that makes this change.

@thomaseizinger A PR was created.

You should be able to reference the action now using the latest hash from master. If everything works as expected, I am happy to make a release after.

Hi @thomaseizinger, I have tested the commit, everything works as expected. You can make a release :)

Hi @thomaseizinger, I have tested the commit, everything works as expected. You can make a release :)

Sorry for the excessively long wait. This is now released as v2.


Update app-service-key-vault-references.md

A small note for those who are looking for a way to reference Key Vaults from Azure Function App with user-assigned identities.

@VanDng : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

Thank you for submitting the PR. However, this feature is supported, so we cannot add the note. I was able to confirm the feature working as intended using the steps captured immediately below the proposed changes.
That said, I did hit an issue in my first attempt which perhaps affected your testing - I had loading the configuration screen in the portal before running the CLI command, and then I added the app setting. The problem is, when I hit save, it replayed the old default value, not the one I had set using the CLI. This can occasionally happen when crossing between clients, and the "Refresh" action on the configuration screen is meant to help with this by pulling in the latest context. Trying it again with reloading that page, the value set in the CLI was able to take effect.
If you continue to experience any issue with the feature, please open a support ticket.
#please-close

@mattchenderson
You're right. I managed to make it work now.
Thank you so much for your information.


[Table Extension] Escaped pipe character in code is shown

Hi,
We now have a issue that when escaped pipe in code appear in table. Markdig have different behavior with github. I test on babelmark and here is the example:
|  Category |   Expression      |  Description  |
|-----------|-------------------|---------------|
| D         | `x \| y`          |   Description |
| C         | *x \| y*          |   Description |
| B         |  x \| y           |   Description |
| A         | `x  | y`          |   Description |

Markdig result:

        Category

        Expression

        Description

        D

x \| y

        Description

        C

x | y

        Description

        B

        x | y

        Description

        A

x | y

        Description

Github result:

        Category

        Expression

        Description

        D

x | y

        Description

        C

x | y

        Description

        B

        x | y

        Description

        A

        `x

        y`

Is it possible for markdig to keep the same behavior with github in this case?

To me it is actually the GitHub version that is incorrect. Anything inside `` should be verbatim.
Maybe raise a similar issue in the GitHub repository (linking to that one) and let's see what they think of it.

This is a known issue. The previous implementation of tables in Markdown at GitHub was performing a split on the final HTML in order to create the table (!), so they have simply replicated this poor behavior. Unfortunately, they will unlikely change this because they have now a legacy to be compatible with...
This is one question I asked a while ago while implementing tables for markdig, I came with the solution of doing it more properly using the parser information instead of going through text/character split.  The GitHub developer behind the new implementation (cmark fork), gave some insights about how they implemented the pipe table
We should probably have an option for GitHub pipe table parser... that would trigger a completely different parser (instead of trying to adapt the current which I would like to kept as it is, as it is more accurate)

Thanks @xoofx , very useful information. I will keep the markdig behavior for now. I think it's more clear too.


Correct install.php

Hi,
thank you for this project, that I'm trying to install (on PHP5.6).
I think that there are some issues with the dbDriver selection during the installation:

the default value should be pdo_mysql (but is probably useless, see next point)
the Illuminate\Console\Command already manages the default argument, so the askQuestion can be simplified.

Actually, the pdo_ part should be removed from the drivers

(oups, let me do it on develop instead)


v0.0.8

Add req.path
Add route() method

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 9 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 92.275%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
165

Relevant Lines:
165

💛  - Coveralls


BZ1323272 - DB: Process Instances history for process variables does …

…not work for all Oracle DB

+1 thanks @nmirasch


Support sending memoryview objects in DATA frames.

Encountered this as part of working on Twisted's HTTP/2 client.
When writing large amounts of data in a non-prioritised way (like a client would!), it's entirely possible that a stack will want to send > SETTINGS_MAX_FRAME_SIZE data in one go. This will require that the stack split the write up into multiple chunks. For large single writes or small values of SETTINGS_MAX_FRAME_SIZE this represents quite a lot of copying, which is substantially less than ideal.
It would be better, then, if we could support memoryview objects in DATA frames for as long as possible before concretizing to bytes. This may require some additional support in hyperframe, as ideally we'd only concretize the memoryview when we serialize the frame.
An alternative is to allow the send_data call to automatically chunkify your writes. That would let the memoryview use be entirely internal. I'm inclined not to want to do that, but it's worth noting that the option exists.

I am interested in this and looking at the code seems like this is still outstanding.  I'll start looking into this.

To avoid this unnecessary copying, it seems the the DataFrame would need to have a member variable which was a memoryview object. However, it seems that that runs counter to statement you made above in terms of delaying the conversion to the memoryview until the frame is serialized:

This may require some additional support in hyperframe, as ideally we'd only concretize the memoryview when we serialize the frame.

@Lukasa also you mention that you would prefer memoryview use to be external rather than internal; however, why not both?  I understand your preference for internal over external.  If a memoryview instance is passed in, then great, the user is handling it as they should; however, would you not also want the ability to do some buffering internally converting a bytes object to a memoryview then creating as many DataFrame s as necessary?

No, sorry: "concretize" means "convert to bytes". We're in agreement.
As to the other stuff: it may be worth doing. But memoryview objects aren't free to create, so we may not be able to come up with a good heuristic for when to use them and when not to. Hard to be sure. So my instinct is to solve one problem at a time.

Ok, I misread and am on the same page now; keep things as a memoryview as long as possible.
In terms of the cost of a memoryview, I don't follow.  I understand they are not free; however, they certainly are cheaper than the repeated copying of bytes.

Yes, but for small numbers of copies not by much. And they're more than not copying at all, which can happen if the data chunk is appropriately sized for the connection.

Ok, the necessary hyperframe work has been merged.


[#1350] Minimum Roll for skills, abilities and attacks

Allows the global attack, ability or skills to have minimum roll modifier defined and applied.
https://user-images.githubusercontent.com/19979839/174321154-5a558619-a0b6-41bd-ac28-d1521ae580aa.mp4
Resolves #1350

Thank you for the hard work, this will be a nice feature to have.
In addition to the review feedback I've posted, I had a higher-level suggestion too. Currently, we have special-case handling for the reliableTalent flag. However, in this PR we have introduced the concept of a skill that can have a minimum value. Using this, we should be able to instead handle Reliable Talent as part of actor data preparation.
In Actor5e#_prepareSkills we can derive the skl.minimum based on the configured skill minimum plus the reliableTalent flag. That would allow us to remove any special-case handling for reliableTalent in our d20Roll workflow, and instead rely on the standard minimum handling.

It could be done, but when I was working on this, I didn't feel comfortable removing parts of the already written code, so I built on top of it. The logic could be moved from d20Roll#configureModifiers to Actor5e#_prepareSkills. The only downside I see is a small regression - potentially losing the logic for reliableTalent in d20Roll#toMessage

It could be done, but when I was working on this, I didn't feel comfortable removing parts of the already written code, so I built on top of it. The logic could be moved from d20Roll#configureModifiers to Actor5e#_prepareSkills. The only downside I see is a small regression - potentially losing the logic for reliableTalent in d20Roll#toMessage

I think it's fine to deprecate the reliableTalent option and replace it with the minimum option that we've added here. It's probably best done as part of this MR, but I can add a commit myself if you prefer.

I think it's fine to deprecate the reliableTalent option and replace it with the minimum option that we've added here. It's probably best done as part of this MR, but I can add a commit myself if you prefer.

I would really appreciate if You could add that commit!

Is this something which could be added in the 2.5.0 milestone maybe?

Is this something which could be added in the 2.5.0 milestone maybe?

It's currently blocked on the roll refactor.

So the roll refactor is complete in 4.1 and the system will support minimums on skill checks, concentration, and initiative. Currently there isn't support for minimums on generic ability checks or saves. If you wish to revamp this in light of the new changes then go ahead, but it might be a big job given the extent of recent changes.


OP-598 ~ Removes dependency on kahadb used by FitNesse.

All is well.

 All committers of the pull request should sign our Contributor License Agreement in order to get your pull request merged.1 out of 2 committers have signed the CLA.:white_check_mark: kevinsmeets:x: MartijnSipsCGI

All is well.


Broken link in the makecert hlp file

Describe
I wanted to go to the "new" New-SelfSignedCertificate link stated at the top (Note) but I get a 404 page
To Reproduce
Go to https://docs.microsoft.com/en-us/windows/desktop/seccrypto/makecert
There's a Note at the very top stating that makecert is deprecated and that you should go to the New-SelfSignedCertificate page (and there's supposed to be a link there)
Click on that link and you'll see a 404 page.
Expected behavior
I guess we should be going to this page instead https://docs.microsoft.com/en-us/powershell/module/pkiclient/new-selfsignedcertificate?view=win10-ps
Desktop (please complete the following information):

OS: Windows 10
Browser: Edge
Version: 18298

@ginami Can you take a look at this issue?


Add files via upload

Restoring PATH to original system PATH since the script changes it.

After discussing with the team, we all decided this was not needed.
Thanks a lot for the PR, though! Please make others :)


Update platformio.md

https://github.com/prebid/Prebid.js/pull/4965

Is this the correct key name:
skipppable
It has 3 p's.

oh, thanks. fix it

released with 3.14


[gh-pages] Add ignite version info to supported interpreters table

What is this PR for?
As described in ignite docs, to use Scala code with Ignite interpreter, the user should use the Ignite version same as Zeppelin provides. So the below info should be provided in somewhere.
Zeppelin-0.5.5: Ignite-1.4.0
Zeppelin-0.5.6: Ignite-1.5.0.final
Zeppelin-0.6.0: Ignite-1.6.0
Zeppelin-0.6.1&0.6.2: Ignite-1.7.0

What type of PR is it?
Documentation
What is the Jira issue?
no Jira issue for this
Screenshots (if appropriate)

Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

LGTM

@felixcheung @prabhjyotsingh Thanks for the review!
Will merge into gh-pages branch if there are no more discussions.


Export filtered flight log

Ability to export only flights filtered by date and search bar from the main table.

will be implemented in new UI - https://github.com/vsimakhin/web-logbook/pull/270/commits/5ba2ffc631e91b715a231ff867bec75d711129f4


Build Failing - Arch Linux

I'm getting the following error when trying to use rbenv/ruby-build.
`$ rbenv install 2.1.2
Downloading ruby-2.1.2.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.bz2
Installing ruby-2.1.2...
BUILD FAILED (ManjaroLinux 15.12 using ruby-build 20160330)
Inspect or clean up the working tree at /tmp/ruby-build.20160403133552.9913
Results logged to /tmp/ruby-build.20160403133552.9913.log
Last 10 log lines:
installing default ripper libraries
linking shared-object racc/cparse.so
make[2]: Leaving directory '/tmp/ruby-build.20160403133552.9913/ruby-2.1.2/ext/racc/cparse'
linking shared-object readline.so
make[2]: Leaving directory '/tmp/ruby-build.20160403133552.9913/ruby-2.1.2/ext/readline'
linking shared-object ripper.so
make[2]: Leaving directory '/tmp/ruby-build.20160403133552.9913/ruby-2.1.2/ext/ripper'
make[1]: Leaving directory '/tmp/ruby-build.20160403133552.9913/ruby-2.1.2'
uncommon.mk:180: recipe for target 'build-ext' failed
make: *** [build-ext] Error 2
`
I've tried a patched methofr for 2.1.1 i found on here and got similar issues.
`$ rbenv install 2.1.2
Downloading ruby-2.1.2.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.bz2
Installing ruby-2.1.2...
BUILD FAILED (ManjaroLinux 15.12 using ruby-build 20160330)
Inspect or clean up the working tree at /tmp/ruby-build.20160403133552.9913
Results logged to /tmp/ruby-build.20160403133552.9913.log
Last 10 log lines:
installing default ripper libraries
linking shared-object racc/cparse.so
make[2]: Leaving directory '/tmp/ruby-build.20160403133552.9913/ruby-2.1.2/ext/racc/cparse'
linking shared-object readline.so
make[2]: Leaving directory '/tmp/ruby-build.20160403133552.9913/ruby-2.1.2/ext/readline'
linking shared-object ripper.so
make[2]: Leaving directory '/tmp/ruby-build.20160403133552.9913/ruby-2.1.2/ext/ripper'
make[1]: Leaving directory '/tmp/ruby-build.20160403133552.9913/ruby-2.1.2'
uncommon.mk:180: recipe for target 'build-ext' failed
make: *** [build-ext] Error 2
`

Can you try with Ruby 2.1.10? 2.1.2 is obsoleted version.

I'm also currently running into a build failure when trying with 2.2.0. I'm running <IP_ADDRESS> - Arch.

2.1.6 fails in Arch for me. 2.1.10 builds and should be fine for me.

2.1.6 fails in Arch for me. 2.1.10 builds and should be fine for me.

Sorry to open such a old thread but I had the same issues with ruby-build on arch linux with ruby versions < 2.4.x
I tried 2.3.x , 2.2.x and 2.1.10 but all failed
One of the failed log message
BUILD FAILED (Arch Linux using ruby-build 20170405-2-g3b15693)
Last 10 log lines:
make[2]: Leaving directory '/tmp/tmp.G9RDBWY5so/ruby-build.20170510223041.26434/ruby-2.3.4/ext/openssl'
make[1]: *** [exts.mk:209: ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/tmp.G9RDBWY5so/ruby-build.20170510223041.26434/ruby-2.3.4/ext/objspace'
linking shared-object json/ext/generator.so
make[2]: Leaving directory '/tmp/tmp.G9RDBWY5so/ruby-build.20170510223041.26434/ruby-2.3.4/ext/json/generator'
linking shared-object nkf.so
make[2]: Leaving directory '/tmp/tmp.G9RDBWY5so/ruby-build.20170510223041.26434/ruby-2.3.4/ext/nkf'
make[1]: Leaving directory '/tmp/tmp.G9RDBWY5so/ruby-build.20170510223041.26434/ruby-2.3.4'
make: *** [uncommon.mk:203: build-ext] Error 2

I would be glad to assist in any way possible and close this issue.

Had the same issue, here is my proposed workaround.
I caught onto this issue for debian, and just adjusted the solution for an arch environment:
# install the openssl-1.0 package
sudo pacman -S openssl-1.0

# download v1.0.2.k of the openssl package
wget https://archive.archlinux.org/packages/o/openssl/openssl-1.0.2.k-1-x86_64.pkg.tar.xz

# extract a copy of the package (for compilation purposes) somewhere temporary
mkdir /tmp/openssl-1.0.2.k
tar -xf openssl-1.0.2.k-1-x86_64.pkg.tar.xz -C /tmp/openssl-1.0.2.k

# build + install ruby with openssl-1.0.2.k
RUBY_CONFIGURE_OPTS=--with-openssl-dir=/tmp/openssl-1.0.2.k/usr rbenv install 2.3.1
# > Installing ruby-2.3.1...
# > Installed ruby-2.3.1 to /home/user/.rbenv/versions/2.3.1

Also to note, there were two other issues to resolve before the package would compile for me.

I had to install some dependencies.

sudo pacman -S --needed base-devel libffi libyaml openssl zlib

I had to downgrade gcc and gcc-libs

wget https://archive.archlinux.org/packages/g/gcc/gcc-6.3.1-2-x86_64.pkg.tar.xz
wget https://archive.archlinux.org/packages/g/gcc-libs/gcc-libs-6.3.1-2-x86_64.pkg.tar.xz
sudo pacman -U gcc-6.3.1-2-x86_64.pkg.tar.xz gcc-libs-6.3.1-2-x86_64.pkg.tar.xz

@alecdwm 's solution work as well. There is also another solution proposed by @piotrdz on another issue thread https://github.com/rbenv/ruby-build/issues/834#issuecomment-301689257

@jatindhankhar @alecdwm This solution works for 2.3.x but does not seem to work with ruby 2.2.x - Can you verify this?

@henvo Did you get the OpenSSL “SSLv3_method undeclared” error when installing 2.2.0? If so, a workaround exists here.

I tried everything  @jatindhankhar @alecdwm and @henvo suggested.
I tried multiple older versions of openssl, gcc-7, gcc63, gcc-5, it wont compile.
Below the end of the log, any suggestions?
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
 EVP_MD_CTX *EVP_MD_CTX_create(void);
                                   ^
In file included from /usr/include/openssl/x509.h:23:0,
                 from /usr/include/openssl/x509v3.h:14,
                 from ossl.h:59,
                 from ossl_x509name.c:11:
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
 void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
      ^
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
 void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
      ^
compiling psych.c
ossl_x509name.c: In function ‘ossl_x509name_to_a’:
ossl_x509name.c:294:58: error: dereferencing pointer to incomplete type ‘X509_NAME_ENTRY {aka struct X509_name_entry_st}’
  if (!i2t_ASN1_OBJECT(long_name, sizeof(long_name), entry->object)) {
                                                          ^
make[2]: *** [Makefile:293: ossl_x509name.o] Error 1
make[2]: Leaving directory '/tmp/ruby-build.20170714130802.31169/ruby-2.2.3/ext/openssl'
make[1]: *** [exts.mk:201: ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
compiling psych_to_ruby.c
linking shared-object objspace.so
make[2]: Leaving directory '/tmp/ruby-build.20170714130802.31169/ruby-2.2.3/ext/objspace'
linking shared-object json/ext/generator.so
linking shared-object psych.so
installing default psych libraries
make[2]: Leaving directory '/tmp/ruby-build.20170714130802.31169/ruby-2.2.3/ext/json/generator'
make[2]: Leaving directory '/tmp/ruby-build.20170714130802.31169/ruby-2.2.3/ext/psych'
linking shared-object pathname.so
make[2]: Leaving directory '/tmp/ruby-build.20170714130802.31169/ruby-2.2.3/ext/pathname'
linking shared-object bigdecimal.so
make[2]: Leaving directory '/tmp/ruby-build.20170714130802.31169/ruby-2.2.3/ext/bigdecimal'
linking shared-object date_core.so
make[2]: Leaving directory '/tmp/ruby-build.20170714130802.31169/ruby-2.2.3/ext/date'
linking shared-object nkf.so
make[2]: Leaving directory '/tmp/ruby-build.20170714130802.31169/ruby-2.2.3/ext/nkf'
make[1]: Leaving directory '/tmp/ruby-build.20170714130802.31169/ruby-2.2.3'
make: *** [uncommon.mk:189: build-ext] Error 2

Hey @abieler I was having the same problem on Arch and I solved it by both, using openssl-1.0 + specifying the PKG_CONFIG path and applying the "SSLv3_method" patch.
With the following command:  curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig rbenv install --patch 1.9.3-p551
If you are installing a higher version you would need the other patch mentioned here: sslv3_patch
Hope this works for you!
It was definitely a hassle for me, I'll try to make a PR request so at least the docs are right for other people running into the same issue.

You gave me back hope! Had to additionally point to gcc-5, but then it finally worked for 2.2.3 on Arch with the following line:
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-5 rbenv install --patch 2.2.3

Installing gcc5 community package
sudo pacman -S openssl-1.0
and doing:
CC=gcc-5 PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig RUBY_EXTRA_CONFIGURE_OPTIONS="--with-openssl-dir=/usr/lib/openssl-1.0" rbenv install 2.2.5
worked for me!

For building on Manjaro Linux the following seems to do the trick for both ruby-2.3.5 and ruby-2.2.8:

Remove/uncomment gem: --user-install from /etc/gemrc
sudo pacman -S gcc6 openssl-1.0
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig CC=/usr/bin/gcc-6 rbenv install 2.3.5

Should probably work on Arch Linux as well. The full(?) list of dependencies for rbenv in general, with older gcc and ssl added: sudo pacman -S gcc6 base-devel libffi libyaml openssl zlib openssl-1.0.

I just installed a fresh version of Arch yesterday which comes with gcc 7.  What @e12e worked for me for installing ruby 2.3.0 using rbenv on Arch Linux with the exception that I didn't need to touch /etc/gemrc (there is no such file on Arch).
For anyone else that's curious, yes I tried installing ruby 2.3.0 with just gcc 7 and that failed to work, unfortunately. So, yes, you do need to use a version of gcc less than 7.


Fix overscroll

What does this PR do and why?
Closes #853. I went with the simple solution applied to the CSS body globally, but let me know if i should prefer an alternative
Screenshots or screen recordings
Acceptance checklist

[ x ] I have evaluated the Approval Guidelines for this PR.
[ x ] I have tested this PR in all supported browsers.

I rate it! Thanks @jmilldotdev
For future you only need to assign 1 reviewer at a time, as outlined here: https://discord.com/channels/939317843059679252/939705688563810304/971170784200523806
Merging 🚀