The new library ffi-rs written by rust and napi for node.js ffi

https://github.com/zhangyuang/node-ffi-rs
Hi, there a is a module named ffi-rs written in Rust and N-API that provides FFI (Foreign Function Interface) features for Node.js
It allows developers to call functions written in other languages such as C++, C, and Rust directly from JavaScript without writing any C++ code.
This module aims to provide similar functionality to the node-ffi module, but with a completely rewritten underlying codebase. The node-ffi module has been unmaintained for several years and is no longer usable, which is why ffi-rs was developed.
const { equal } = require('assert')
const { load, RetType, ParamsType } = require('ffi-rs')
const a = 1
const b = 100

const r = load({
  library: "./libsum.so", // path to the dynamic library file
  funcName: 'sum', // the name of the function to call
  retType: RetType.I32, // the return value type
  paramsType: [ParamsType.I32, ParamsType.I32], // the parameter types
  paramsValue: [a, b] // the actual parameter values
})

equal(r, a + b)

const c = "foo"
const d = "bar"

equal(c + d, load({
  library: dynamicLib,
  funcName: 'concatenateStrings',
  retType: RetType.String,
  paramsType: [ParamsType.String, ParamsType.String],
  paramsValue: [c, d]
}))

equal(undefined, load({
  library: dynamicLib,
  funcName: 'noRet',
  retType: RetType.Void,
  paramsType: [],
  paramsValue: []
}))

牛啊，老哥


Channel button stuck ON prevents TV turn on

Love the work!
Following scenario breaks the remote control:

tv is ON
"Hey Siri, turn on channel 1" (using "channelButtons")
"Hey Siri, turn off the tv"
"Hey Siri, turn on the tv" / "Hey Siri, turn on channel 1" / "Hey Siri, turn on channel 2". At this point its stuck and all Siri / Home app commands error out. Also, Home app on iOS shows channel 1 switch as still ON (and cant turn it off). Manually turning on the TV using the LG remote fixes things.

Following scenario works just fine:

tv is ON
"Hey Siri, turn on channel 1" (using "channelButtons")
"Hey Siri, channel up". The point is that channel up command sets the "channel 1 switch" to OFF, which prevents it from getting stuck if I turn off the tv in the next step.
"Hey Siri, turn off the tv"
"Hey Siri, turn on the tv" / "Hey Siri, turn on channel 1" / "Hey Siri, turn on channel 2"

Anything I can do to help solve this? Im not too comfortable in javascript but im open to trying.

Its not 100% reproducable, just happens most of the time. I had a brief period where the first scenario also worked as expected.
I tried changing the polling interval to 1 second but I can still break it.

Can you try that in debug mode and see if there si something in the console?

sorry man I dont have my Pi right now. Ill let you know if I ever get back to this.

Closed this due to inactivity. Like you said, if you ever get back to this then post it here ;)


Add a smaller version of the GridView layout mode

I'll keep this simple, I feel Layout mode > Grid View (Small)'s icon size is still too large, even on a 1440p screen (with Windows' scaling unchanged at 100%). Grid View (Small) would be more-or-less equal to File Explorer's View > Large icons in this case, and there's no size smaller than this (I use File Explorer's View > Medium icons by default in Windows 10).
Is your feature request related to a problem? Please describe.
Even with layout mode set to Grid Mode (Small) the icons still are too large, in my opinion. It's an aesthetic type of problem, but a problem nonetheless.
Describe the solution you'd like
A new option for an even smaller Grid View, e.g. Grid View (Smaller). Grid View (Smaller)'s icons should be more-or-less equal to the size of File Explorer's View > Medium icons option.
Describe alternatives you've considered
The only alternative right now is Grid View (Small), but it leaves a lot to be desired as it's too large.
Additional context
Since this app's goal is to reach parity with File Explorer, adding this new Grid View option would make sense.

This issue should be resolved with #2550.


Cannot convert onnx from trained model

Hi, Yibin, great work there!
I run into a problem yesterday, after I trained Tusimple model from LaneATT project, I got the pth model and use laneatt_to_onnx.py for conversion. There is an error:
KeyError: 'model'
I checked the trained model and compared with the model_0100.pt which is released by the laneatt author, the keys are different:
trained model: dict_keys(['net', 'optim', 'scheduler', 'recorder', 'epoch'])
released model: dict_keys(['epoch', 'model', 'optimizer', 'scheduler'])
Even after I change the model.load_state_dict(checkpoint['model']) to "model.load_state_dict(checkpoint['net'])", bigger trouble appears like:
RuntimeError: Error(s) in loading state_dict for LaneATT:
Missing key(s) in state_dict: "feature_extractor.0.weight", "feature_extractor.1.weight", ..., "attention_layer.weight", "attention_layer.bias"
Unexpected key(s) in state_dict: "module.backbone.model.conv1.weight", ..., "module.heads.attention_layer.weight", "module.heads.attention_layer.bias"
If you have encountered this problem, can you help me out? Thank you!

Solved, close.
I used the lanedet repo, which defines the model in another way. Changing back to LaneATT repo helps!


Actions should receive API_HOST not EDGE_HOST.

Also remove legacy router.host and rename cli.api.host to api.host.
Related to #1601. Pending comments and clarification on noted issue.

pg2/779.

@domdom82 can you give this a look?

Rebased/squashed/merged as 68fccef1d12b952ba492d435fbfe00138a4fdc78


Spring MVC support

Hi,
I have added support for Spring MVC annotations following this chart). As you can see there is  (mostly) a 1:1 relation between the annotations. The implementation is fully compatible, it just checks some additional classnames. I would be very happy if you could integrate these changes to your fork. Unfortunately the tests did not work, even before making any changes to the code.
LG, Manfred

No, sadly the tests don't work.
I wasn't planning on maintaining this fork. I am just trying to get the patches upstreamed. :)
But I will take a look at your patches.

Oups, it seems that I have picked the wrong fork. I miss interpreted the readme. Sorry for that, but great thanks for the review :) Is the "rodney757" fork the right one?


[Request] PIL to contribute to this Holy chair.co

just wanted to say Readme.md was impressive 🫡 🫡

Just want to say hii... long time no see... Hope your PIL gets spproved soon :) @zeus512


Missing README ?

Could someone describe the differences between the Quattro and Armadillonium cases in the README?  It would also be nice if there was a bit more description about the competition and a list of the cases submitted for that as well to provide a bit of orientation in the archive.

@cscott thanks for raising this. It appears from an initial look that the holes for the screws are recessed in one but exposed in the other. Would you agree @cscott ?
@sqfmi is that correct?


hide next-Arrow and prev-Arrow when first/last slide is active.

how to hide arrow based on first and last images.

the buttons get a slick-disabled class whenever they can't do anything else

@eballeste  There is no slick-disabled class when i pass custom prevArrow and nextArrow

when doing a custom prevArrow nextArrow, I would try to figure out the internal state of the slider, maybe by tapping into the beforeChange method which has the following fingerprint (oldIndex, newIndex) and then compare that to the length of your slide array

you can add some css like this
.slick-disabled {
  display: none;
}

when doing a custom prevArrow nextArrow, I would try to figure out the internal state of the slider, maybe by tapping into the beforeChange method which has the following fingerprint (oldIndex, newIndex) and then compare that to the length of your slides array

in the following scenario it's not working
const beforeChange = (prev, next) => {
setSlideIndex(Math.floor(next));
}
const settings = {
    dots: false,
    infinite: false,
    arrows: true,
    speed: 500,
    slidesToShow: 4.5,
    slidesToScroll: 4.5,
    beforeChange: beforeChange
};

const next = () => {
    slider.current.slickNext();
}
const previous = () => {
    slider.current.slickPrev();
}

you can add some css like this
.slick-disabled {
  display: none;
}

Hi @akiran
I found there is display: "block" inline CSS on prev and next button props:
let prevArrowProps = {
      key: "0",
      "data-role": "none",
      className: classnames(prevClasses),
      style: { display: "block" },
      onClick: prevHandler
};

let nextArrowProps = {
      key: "1",
      "data-role": "none",
      className: classnames(nextClasses),
      style: { display: "block" },
      onClick: nextHandler
};

With inline CSS, class style has lower priority. https://codesandbox.io/s/react-slick-playground-forked-05k9j?file=/index.css

Do you think we can remove the style: { display: "block" } here?

If you are using custom arrows with react, the custom arrow function receives additional props with these properties.
className: "slick-arrow slick-prev slick-disabled"
currentSlide: 0
data-role: "none"
onClick: null
slideCount: 20
style: {display: "block"}
type: "prev"

One way is to check display=props.onClick === null ? "none" : "block"

@dalalRohit thank you for the idea to check for onClick function!

you can add some css like this
.slick-disabled {
  display: none;
}

Why it's closed?

very good

For custom arrows, it worked for me to validate when onClick is not null.
const Arrow = ({onClick}) =>  onClick && <button>click</button>;

only this worked for me as simplicity
.slick-arrow.slick-disabled {
  display: none;
}

.slick-arrow {
display: none;
}


BaseTexture#loaded event is not fired if source is loaded from memory cache

According to the doc PIXI.BaseTexture#loaded is fired

when a not-immediately-available source finishes loading.

However, if the image at imgUrl is loaded from browser memory cache, cb is not invoked.
PIXI.BaseTexture.from(imgUrl).on("loaded", cb)
Is it still considered not-immediately-available in this case? Thanks much.
Environment:
OS: MacOS 10.15.4
Chrome: 81.0.4044.122
PixiJS: 5.2.2

This thing is default logic for handling assigned textures:
https://github.com/pixijs/pixi.js/blob/c513e9287112ff8ed3f0326f700b731c204550b9/packages/sprite/src/Sprite.ts#L688-L694
Its done that way because most of the time you dont have to register the callback, and its easier to debug.
Your way looks more like Promise or something from reactive programming - yes, its fine, but no guarantee that whatever implementation of promise you use can just call cb right from this place.

Thanks @ivanpopelyshev for the pointer. I got tired last night and should have dug just a little bit deeper :).
In this case, I can check for BaseTexture.valid and resolve promise, or invoke callback immediately if true.


Wasmtime: Add support for Wasm tail calls

This adds the Config::wasm_tail_call method and --wasm-features tail-call CLI flag to enable the Wasm tail calls proposal in Wasmtime.
This PR is mostly just plumbing and enabling tests, since all the prerequisite work (Wasmtime trampoline overhauls and Cranelift tail calls) was completed in earlier pull requests.
When Wasm tail calls are enabled, Wasm code uses the tail calling convention. The tail calling convention is known to cause a 1-7% slow down for regular code that isn't using tail calls, which is why it isn't used unconditionally. This involved shepherding Tunables through to Wasm signature construction methods. The eventual plan is for the tail calling convention to be used unconditionally, but not until the performance regression is addressed. This work is tracked in
https://github.com/bytecodealliance/wasmtime/issues/6759
Additionally while our x86-64, aarch64, and riscv64 backends support tail calls, the s390x backend does not support them yet. Attempts to use tail calls on s390x will return errors. Support for s390x is tracked in https://github.com/bytecodealliance/wasmtime/issues/6530

Doing a prtest:full run with tail calls enabled by default now.

Tracked down the riscv64 failure as https://github.com/bytecodealliance/wasmtime/pull/6780

Looks like it is just s390x that is failing prtest:full now, which is expected as s390x doesn't support tail calls yet. Gonna remove the temp commit and enqueue this to merge!

Hm looks like there is actually a second riscv64 bug lurking here.


PEO-365 Setup E2E tests

PEO-365
Description
Setup E2E tests with the dummy application for each runner
Before submitting the merge request make sure the following are checked

[ ] Followed the style guidelines of this project
[ ] Performed a self-review of own code
[ ] Wrote the tests that prove that fix is effective/that feature works

modified:   lib/inquisition/fasterer/runner.rb
modified:   lib/inquisition/rubocop/rubocop_modified_runner.rb
modified:   lib/inquisition/rubocop/runner.rb
modified:   spec/fixtures/files/rubocop.yml
modified:   spec/inquisition/fasterer/runner_spec.rb
modified:   spec/inquisition/rubocop/rubocop_modified_runner_spec.rb


Fix wrong log message

Signed-off-by: yanggang<EMAIL_ADDRESS>fix logger.Infof message , the address of parameter is disorderd..

The failed ci e2e external-net may have no relevance with the pr ,I think

The failed ci e2e external-net may have no relevance with the pr ,I think

It fails sporadically.


feat(Analysis.Seminorm): remove useless assumption

This removes a chance to infer an argument, but I think that's a fairly good use case for using the new named arguments, because adding (r := _) to specify a radius feels completely right.

Great, thanks!
bors r+


vscode.commands.executeCommand('vscode.openFolder') throw error and cannot open the file dialog.

VSCode Version:  1.34.0-insider (1.34.0-insider) 67c28b3f0382cb580292655e83f9d8584eef90c2
OS Version: macOS mojave 10.14.4

Steps to Reproduce:

Call vscode.commands.executeCommand('vscode.openFolder') in activate method of any extension.
Open the developer tools.

What is expected?
Show the file dialog like following:

What is actually happening?
Following error message shown in the Developer tools.
rejected promise not handled within 1 second: TypeError: Cannot read property 'availableFileSystems' of null
extensionHostProcess.js:737
stack trace: TypeError: Cannot read property 'availableFileSystems' of null
    at Proxy.getFileSystemSchema (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3894:373)
    at Proxy.pickFolderAndOpen (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3891:933)
    at handler (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4915:693)
    at c.invokeFunction (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:1393:960)
    at Proxy._tryExecuteCommand (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3026:609)
    at r.then.i (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3026:350)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Does this issue occur when all extensions are disabled?: Yes
According to the code here: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/api/common/apiCommands.ts#L50, I think the reason is "arg.forceNewWindow is undefined", then I got null as the option of pickFolderAndOpen see here: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/services/dialogs/browser/fileDialogService.ts#L141
If you confirm this is a bug, I'd like to create a pull request to fix it.

I think I find the commit which cause the bug, see: https://github.com/Microsoft/vscode/commit/6b6c4137efa2e93d29f3b321b0feb1c9cb30b25e#diff-c5e75cde095dd0adac8c571bc5b712aeL37
Here we transform the "forceNewWindow: boolean and { forceNewWindow }" to "options: { forceNewWindow: boolean } and options", but the options is null in my case.
Since I find the cause of this bug, I feel confident to create a pull request to fix it.    : )

Yes, PR is welcome!


actually identify output by their transaction AND output index...

Issue Number

#1670
Overview

The transaction id doesn't uniquely identify an output! So, if a transaction had several output, they'd all be conflated under the same key... :facepalm:
I wonder why the state machine didn't catch that though.. because the database model was doing it correctly by using the full TxIn as a key.
Comments

Hmm I will investigate the generators for the state machine tests.

bors r+

bors r-

bors r+


Support for including code files and segments

oh wow, that was quick! Wasn't quite done for the day, also added: https://github.com/whelk-io/asciidoc-template-maven-plugin/pull/28


Revise Code block description (IPython 8.1.0)

Consider the following:

line and <cell line... are duplications.

Note: for previous versions of IPython, we might have had in <module> instead. So, we should truncate after the line number (starting with the second comma).


"Basic Data Structures: Combine Arrays with the Spread Operator": sentence structure mistake in challenge description

Describe your problem and - if possible - how to reproduce it
The "Basic Data Structures: Combine Arrays with the Spread Operator" challenge contains a sentence that seems to be grammatically incorrect, and should be two separate sentences:

We have defined a function spreadOut that returns the variable sentence, modify the function using the spread operator so that it returns the array ['learning', 'to', 'code', 'is', 'fun'].

I think this should be:

We have defined a function spreadOut that returns the variable sentence. Modify the function using the spread operator so that it returns the array ['learning', 'to', 'code', 'is', 'fun'].

Add a Link to the page with the problem
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-data-structures/combine-arrays-with-the-spread-operator
If possible, add a screenshot here

Fixed by https://github.com/freeCodeCamp/freeCodeCamp/pull/18296


MediaPlayer setupPipelineFailed createConverterElementFailed

when the equipment was kept for some time. I say ‘alexa，what's the weather ’.I got the problem below .
2017-09-05 02:23:32.547 [  9] 0 AudioInputProcessor:setState:from=IDLE,to=RECOGNIZING
2017-09-05 02:23:32.547 [  b] 0 DialogUXStateAggregator:setState:from=IDLE,to=LISTENING
2017-09-05 02:23:32.547 [  9] 0 ContextManager:updateStateLocked:action=updatedState,state={"wakeword" : "alexa"},namespace=SpeechRecognizer,name=RecognizerState
2017-09-05 02:23:32.548 [  b] E DialogUXStateAggregator:onStateChanged:enter listening1
############################
Listening...
############################
2017-09-05 02:23:32.549 [  8] 0 ContextManager:buildContextSuccessful:context={"context":[{"header":{"namespace":"AudioPlayer","name":"PlaybackState"},"payload":{"token":"","offsetInMilliseconds":0,"playerActivity":"IDLE"}},{"header":{"namespace":"SpeechSynthesizer","name":"SpeechState"},"payload":{"token":"","offsetInMilliseconds":0,"playerActivity":"FINISHED"}},{"header":{"namespace":"Alerts","name":"AlertsState"},"payload":{"allAlerts":[],"activeAlerts":[]}},{"header":{"namespace":"SpeechRecognizer","name":"RecognizerState"},"payload":{"wakeword":"alexa"}}]}
2017-09-05 02:23:32.550 [  9] 0 AudioInputProcessor:executeOnContextAvailable:jsonContext={"context":[{"header":{"namespace":"AudioPlayer","name":"PlaybackState"},"payload":{"token":"","offsetInMilliseconds":0,"playerActivity":"IDLE"}},{"header":{"namespace":"SpeechSynthesizer","name":"SpeechState"},"payload":{"token":"","offsetInMilliseconds":0,"playerActivity":"FINISHED"}},{"header":{"namespace":"Alerts","name":"AlertsState"},"payload":{"allAlerts":[],"activeAlerts":[]}},{"header":{"namespace":"SpeechRecognizer","name":"RecognizerState"},"payload":{"wakeword":"alexa"}}]}
2017-09-05 02:23:32.550 [  9] I DirectiveProcessor:setDialogRequestIdLocked:oldValue=,newValue=1a426b63-fd8b-42be-aa43-32ce4fb22bdd
2017-09-05 02:23:32.551 [  9] 0 DirectiveProcessor:scrubDialogRequestIdLocked:reason=emptyDialogRequestId
2017-09-05 02:23:32.552 [  9] 0 EventBuilder:buildJsonEventString:messageId=7c13cc19-673a-464d-b04c-e23f7b85961b,namespace=SpeechRecognizer,name=Recognize
2017-09-05 02:23:32.553 [  9] 0 AudioInputProcessor:executeOnFocusChanged:newFocus=FOREGROUND
2017-09-05 02:23:38.207 [  6] I DirectiveSequencer:onDirective:directive={"namespace:"SpeechRecognizer",name:"StopCapture",messageId:"92f9b099-e22f-47a5-b0ef-b6324d2e90e2",dialogRequestId:"1a426b63-fd8b-42be-aa43-32ce4fb22bdd"}
2017-09-05 02:23:38.207 [  6] E DialogUXStateAggregator:DialogUXStateAggregator:receive
2017-09-05 02:23:38.208 [  6] E DialogUXStateAggregator:DialogUXStateAggregator:receive:THINKING
2017-09-05 02:23:38.208 [  d] I DirectiveRouter:preHandleDirective:messageId=92f9b099-e22f-47a5-b0ef-b6324d2e90e2,action=calling
2017-09-05 02:23:38.208 [  d] 0 CapabilityAgent:addingMessageIdToMap:messageId=92f9b099-e22f-47a5-b0ef-b6324d2e90e2
2017-09-05 02:23:38.208 [  e] I DirectiveRouter:handleDirective:messageId=92f9b099-e22f-47a5-b0ef-b6324d2e90e2,action=calling
2017-09-05 02:23:38.209 [  9] 0 AudioInputProcessor:stopCapture:stopImmediately=true
2017-09-05 02:23:38.209 [  9] 0 AudioInputProcessor:setState:from=RECOGNIZING,to=BUSY
2017-09-05 02:23:38.209 [  9] 0 DirectiveProcessor:onHandlingCompeted:messageId=92f9b099-e22f-47a5-b0ef-b6324d2e90e2,directiveBeingPreHandled=(nullptr)
2017-09-05 02:23:38.210 [  9] 0 CapabilityAgent:removingMessageIdFromMap:messageId=92f9b099-e22f-47a5-b0ef-b6324d2e90e2
2017-09-05 02:23:38.210 [  b] 0 DialogUXStateAggregator:setState:from=LISTENING,to=THINKING
###########################
Thinking...
###########################
02:23:38 Send command == 3f 03 f0 0b f4 bf
len == 6, 02:23:38 Recv command == 3f 01 e1 8b 74 bf
kiwi============ enter handle_key_event
3f  01  e1  8b  74  bf
handle other cmd
[ 5620.219606@0] AO cpu stop ok.
[ 5620.220031@0] AO cpu runs ok.
[ 5620.220370@0] AO cpu stop ok.
[ 5620.223234@0] AO cpu runs ok.
2017-09-05 02:23:38.806 [ 10] I InProcessAttachmentReader:readFailed:reason=SDS is closed
2017-09-05 02:23:39.623 [ 10] 0 HTTP2Stream:receivedRequestId:value=x-amzn-requestid: 0e0391fffe99b9fc-00000606-0001dfbb-eef666213466e08f-13b98391-17
2017-09-05 02:23:41.168 [  6] I DirectiveSequencer:onDirective:directive={"namespace:"Speaker",name:"SetMute",messageId:"9af15cd9-2bf5-4428-952b-0d591741910d",dialogRequestId:"1a426b63-fd8b-42be-aa43-32ce4fb22bdd"}
2017-09-05 02:23:41.168 [  6] E DialogUXStateAggregator:DialogUXStateAggregator:receive
2017-09-05 02:23:41.169 [  d] W DirectiveRouter:preHandleDirectiveFailed:messageId=9af15cd9-2bf5-4428-952b-0d591741910d,reason=noHandlerRegistered
2017-09-05 02:23:41.169 [  6] E DialogUXStateAggregator:DialogUXStateAggregator:receive:THINKING
2017-09-05 02:23:41.169 [  d] I DirectiveSequencer:sendingExceptionEncountered:messageId=9af15cd9-2bf5-4428-952b-0d591741910d
2017-09-05 02:23:41.171 [  6] I DirectiveSequencer:onDirective:directive={"namespace:"SpeechSynthesizer",name:"Speak",messageId:"6e842d70-b280-4559-9280-b44c32c34393",dialogRequestId:"1a426b63-fd8b-42be-aa43-32ce4fb22bdd"}
2017-09-05 02:23:41.171 [  d] 0 EventBuilder:buildJsonEventString:messageId=ef351a78-ea14-48d9-88f1-f18954b7f201,namespace=System,name=ExceptionEncountered
2017-09-05 02:23:41.171 [  6] E DialogUXStateAggregator:DialogUXStateAggregator:receive
2017-09-05 02:23:41.171 [  6] E DialogUXStateAggregator:DialogUXStateAggregator:receive:THINKING
2017-09-05 02:23:41.172 [  d] I DirectiveRouter:preHandleDirective:messageId=6e842d70-b280-4559-9280-b44c32c34393,action=calling
2017-09-05 02:23:41.172 [  d] 0 CapabilityAgent:addingMessageIdToMap:messageId=6e842d70-b280-4559-9280-b44c32c34393
2017-09-05 02:23:41.173 [  d] 9 SpeechSynthesizer:preHandleDirective:messageId=6e842d70-b280-4559-9280-b44c32c34393
2017-09-05 02:23:41.173 [  a] 0 SpeechSynthesizer:executePreHandle:messageId=6e842d70-b280-4559-9280-b44c32c34393
2017-09-05 02:23:41.173 [  e] I DirectiveRouter:handleDirective:messageId=6e842d70-b280-4559-9280-b44c32c34393,action=calling
2017-09-05 02:23:41.174 [  e] 9 SpeechSynthesizer:handleDirective:messageId=6e842d70-b280-4559-9280-b44c32c34393
2017-09-05 02:23:41.190 [  a] 0 SpeechSynthesizer:executeHandle:messageId=6e842d70-b280-4559-9280-b44c32c34393
2017-09-05 02:23:41.192 [  9] 0 AudioInputProcessor:executeOnFocusChanged:newFocus=NONE
2017-09-05 02:23:41.192 [ 11] 0 SpeechSynthesizer:onFocusChanged:newFocus=FOREGROUND
2017-09-05 02:23:41.192 [  9] 0 AudioInputProcessor:executeOnFocusChanged:reason=Lost focus
2017-09-05 02:23:41.192 [  9] 0 AudioInputProcessor:setState:from=BUSY,to=IDLE
2017-09-05 02:23:41.192 [  a] 0 SpeechSynthesizer:executeStateChange:newState=PLAYING
2017-09-05 02:23:41.193 [  a] 9 SpeechSynthesizer:startPlaying
2017-09-05 02:23:41.194 [  a] 9 MediaPlayer:setSourceCalled:sourceType=AttachmentReader
2017-09-05 02:23:41.195 [  2] 0 MediaPlayer:handleSetSourceCalled
2017-09-05 02:23:41.195 [  2] 9 MediaPlayer:tearDownPipeline
2017-09-05 02:23:41.198 [  6] I DirectiveSequencer:onDirective:directive={"namespace:"TemplateRuntime",name:"RenderTemplate",messageId:"cb3a98ed-1283-437d-b595-20e771305293",dialogRequestId:"1a426b63-fd8b-42be-aa43-32ce4fb22bdd"}
(SampleApp:259): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstaudioconvert.so': /usr/lib/gstreamer-1.0/libgstaudioconvert.so: cannot open shared object file: Too many open files
2017-09-05 02:23:41.198 [  6] E DialogUXStateAggregator:DialogUXStateAggregator:receive
2017-09-05 02:23:41.198 [  d] W DirectiveRouter:preHandleDirectiveFailed:messageId=cb3a98ed-1283-437d-b595-20e771305293,reason=noHandlerRegistered
2017-09-05 02:23:41.198 [  6] E DialogUXStateAggregator:DialogUXStateAggregator:receive:THINKING
2017-09-05 02:23:41.199 [  d] I DirectiveSequencer:sendingExceptionEncountered:messageId=cb3a98ed-1283-437d-b595-20e771305293
2017-09-05 02:23:41.205 [  d] 0 EventBuilder:buildJsonEventString:messageId=af148f2a-5cfc-4df3-a809-e5c040948cef,namespace=System,name=ExceptionEncountered
2017-09-05 02:23:41.206 [  2] E MediaPlayer:setupPipelineFailed:reason=createConverterElementFailed
2017-09-05 02:23:41.206 [  2] E MediaPlayer:handleSetAttachmentReaderSourceFailed:reason=setupPipelineFailed
2017-09-05 02:23:41.207 [  a] 9 MediaPlayer:playCalled
2017-09-05 02:23:41.207 [  a] E MediaPlayer:playFailed:reason=sourceNotSet
2017-09-05 02:23:41.207 [  a] 0 SpeechSynthesizer:executePlaybackError:error=playFailed
2017-09-05 02:23:41.207 [  a] 0 SpeechSynthesizer:executeProvideState:stateRequestToken=0
2017-09-05 02:23:41.208 [  a] 0 ContextManager:updateStateLocked:action=updatedState,state={"token":"amzn1.as-ct.v1.Domain:Application:Weather#ACRI#0d1ca2cf-6134-4d8a-adca-af22617053c2#Alexa3P:1.0/2017/09/05/02/8f8af7c2d5b84bc28bbb9bf197c30bd4/23:34::TNIH_2V.9ef9a8ec-9c89-440b-bab0-e34dfb27f68eZXV/1","offsetInMilliseconds":0,"playerActivity":"FINISHED"},namespace=SpeechSynthesizer,name=SpeechState
2017-09-05 02:23:41.400 [  b] 0 DialogUXStateAggregator:transitionFromThinkingTimedOut
2017-09-05 02:23:41.542 [  a] 9 SpeechSynthesizer:releaseForegroundFocus
2017-09-05 02:23:41.542 [  b] 0 DialogUXStateAggregator:setState:from=THINKING,to=IDLE
2017-09-05 02:23:41.543 [  a] 0 EventBuilder:buildJsonEventString:messageId=e8d5384f-0568-409c-9739-504f2a118733,namespace=System,name=ExceptionEncountered
2017-09-05 02:23:41.544 [  a] 0 DirectiveProcessor:onHandlingFailed:messageId=6e842d70-b280-4559-9280-b44c32c34393,directiveBeingPreHandled=(nullptr),description=playFailed
2017-09-05 02:23:41.545 [  a] 0 DirectiveProcessor:scrubDialogRequestIdLocked:dialogRequestId=1a426b63-fd8b-42be-aa43-32ce4fb22bdd
2017-09-05 02:23:41.545 [  a] 0 CapabilityAgent:removingMessageIdFromMap:messageId=6e842d70-b280-4559-9280-b44c32c34393
2017-09-05 02:23:41.545 [  a] 0 CapabilityAgent:removingMessageIdFromMap:messageId=6e842d70-b280-4559-9280-b44c32c34393
########################################
Alexa is currently idle!
########################################
2017-09-05 02:23:43.192 [ 11] E SpeechSynthesizer:onFocusChangeFailed:reason=stateChangeTimeout,messageId=6e842d70-b280-4559-9280-b44c32c34393
2017-09-05 02:23:43.193 [ 11] 0 SpeechSynthesizer:onFocusChanged:newFocus=NONE
2017-09-05 02:23:45.159 [ 10] 0 HTTP2Stream:receivedRequestId:value=x-amzn-requestid: 0e0391fffe99b9fc-00000606-0001dfbb-eef666213466e08f-13b98391-19
2017-09-05 02:23:45.160 [ 10] 0 CurlEasyHandleWrapper:reset:responseCode=HTTP_RESPONSE_SUCCESS_NO_CONTENT
2017-09-05 02:23:45.694 [ 10] 0 HTTP2Stream:receivedRequestId:value=x-amzn-requestid: 0e0391fffe99b9fc-00000606-0001dfbb-eef666213466e08f-13b98391-21
2017-09-05 02:23:45.695 [ 10] 0 CurlEasyHandleWrapper:reset:responseCode=HTTP_RESPONSE_SUCCESS_NO_CONTENT
2017-09-05 02:23:46.181 [ 10] 0 HTTP2Stream:receivedRequestId:value=x-amzn-requestid: 0e0391fffe99b9fc-00000606-0001dfbb-eef666213466e08f-13b98391-23
2017-09-05 02:23:46.182 [ 10] 0 CurlEasyHandleWrapper:reset:responseCode=HTTP_RESPONSE_SUCCESS_NO_CONTENT
It wouldn't get ok anymore.what should we do to fix it.Please give me some suggest.

Hi sangshengjie,
The the initial error message:

(SampleApp:259): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstaudioconvert.so': /usr/lib/gstreamer-1.0/libgstaudioconvert.so: cannot open shared object file: Too many open files

...appears to be the root cause.  gstreamer can not open a plugin it needs, so the media player initialization fails and the SpeechSynthesizer can not render audio.
"Too many open files" appears to indicate that you have reached the limit of open files on your system.  Googling for "Too many open files" leads to many links for diagnosing and addressing the problem.
I hope this helps,
-SWH


Build for pyhmc conda package fails on jenkins osx

Might be for source code checkout reasons.
The output:
BUILD START: pyhmc-0.1.1-np18py27_0
Fetching package metadata: ....
Solving package specifications: .Cloning into bare repository '/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/conda-bld/git_cache/rmcgibbo_pyhmc.git'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
An unexpected error has occurred, please consider sending the
following traceback to the conda GitHub issue tracker at:

    https://github.com/conda/conda-build/issues

Include the output of the command 'conda info' in your report.

The following NEW packages will be INSTALLED:

    cython:     0.21.2-py27_0
    numpy:      1.8.2-py27_0
    openssl:    1.0.1j-4
    python:     2.7.9-1
    readline:   6.2-2
    setuptools: 7.0-py27_0
    sqlite:     <IP_ADDRESS>-0
    tk:         8.5.15-0
    zlib:       1.2.7-1

Linking packages ...
 |                                                                       |   0%
[readline-6.2-2 /Users/jenkins-slave/workspace/conda-omnia-release] |    |  11%
[sqlite-<IP_ADDRESS>-0 /Users/jenkins-slave/workspace/conda-omnia-release] |  |  22%
[zlib-1.2.7-1 /Users/jenkins-slave/workspace/conda-omnia-release] |##    |  33%
[openssl-1.0.1j-4 /Users/jenkins-slave/workspace/conda-omnia-release] |  |  44%
[tk-8.5.15-0 /Users/jenkins-slave/workspace/conda-omnia-release] |###    |  55%
[python-2.7.9-1 /Users/jenkins-slave/workspace/conda-omnia-release] |##  |  66%
[cython-0.21.2-py27_0 /Users/jenkins-slave/workspace/conda-omnia-release] ||  77%
[numpy-1.8.2-py27_0 /Users/jenkins-slave/workspace/conda-omnia-release] ||  88%
[setuptools-7.0-py27_0 /Users/jenkins-slave/workspace/conda-omnia-release] || 100%
[      COMPLETE      ] |#################################################| 100%
Removing old work directory
Traceback (most recent call last):
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/bin/conda-build", line 5, in <module>
    sys.exit(main())
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/lib/python2.7/site-packages/conda_build/main_build.py", line 110, in main
    args_func(args, p)
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/lib/python2.7/site-packages/conda_build/main_build.py", line 312, in args_func
    args.func(args, p)
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/lib/python2.7/site-packages/conda_build/main_build.py", line 272, in execute
    build.build(m, verbose=not args.quiet, post=post)
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/lib/python2.7/site-packages/conda_build/build.py", line 310, in build
    source.provide(m.path, m.get_section('source'))
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/lib/python2.7/site-packages/conda_build/source.py", line 236, in provide
    git_source(meta, recipe_dir)
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/lib/python2.7/site-packages/conda_build/source.py", line 100, in git_source
    check_call([git, 'clone', '--mirror', git_url, cache_repo_arg], cwd=recipe_dir)
  File "/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/git', 'clone', '--mirror', u'git@github.com:rmcgibbo/pyhmc.git', u'/Users/jenkins-slave/workspace/conda-omnia-release-osx-2/miniconda/conda-bld/git_cache/rmcgibbo_pyhmc.git']' returned non-zero exit status 128

Is this needed for omnia 1.0?

Nothing lists this project as a dependency. It's not required for omnia 1.0. The reason that pyhmc exists here is because it's used in a current PR for msmbuilder.
More generally, looking at the recipe directories here, we have both "omnia" projects, and projects which are included solely because they are requirements of "omnia" projects. When you run build-all, you might want to separate these.

Nothing lists this project as a dependency. It's not required for omnia 1.0. The reason that pyhmc exists here is because it's used in a current PR for msmbuilder.

Thanks!  I've marked this for omnia 2.0 then so we don't get hung up on issues for the 1.0 release.

More generally, looking at the recipe directories here, we have both "omnia" projects, and projects which are included solely because they are requirements of "omnia" projects. When you run build-all, you might want to separate these.

Why?  And how would you suggest best doing that?

Have a list of filenames, and only run cat omnia-projects.txt | xargs | conda-build-all or something.

Or whatever shell scripting you want.

Have a list of filenames, and only run cat omnia-projects.txt | xargs | conda-build-all or something.

Sure, we could do this.  But is it really necessary?
I guess it could be useful to have two lists:

projects-release.txt - all main packages to be built and pushed to the release binstar channel; dependencies will be automatically built
projects-dev.txt - all main packages to be built and pushed to the dev binstar channel; dependencies will be automatically built

Alternatively, release could be named something like omnia1.0 or something.

Whatever's easiest and get the job done is fine.

We want the release to be on the main channel, right? That way users who don't configure a custom channel will get the release versions.

That's right.  But because @kyleabeauchamp is currently building the linux stuff by hand, I'm sending the Jenkins-built stuff somewhere else (currently the jenkins channel) with the idea that we would move packages over by hand for the official 1.0 release.

I know. I was responding to your previous recommendation of the label release or omnia1.0 for the final channel name of the release version.

Or we could just run the script on the omnia 1.0 metapackage.  Wouldn't
that solve this problem automatically?
On Jan 4, 2015 10:23 PM, "Robert T. McGibbon"<EMAIL_ADDRESS>wrote:

I know. I was responding to your previous recommendation of the label
release or omnia1.0 for the final channel name of the release version.
—
Reply to this email directly or view it on GitHub
https://github.com/omnia-md/conda-recipes/issues/71#issuecomment-68664385
.

Or we could just run the script on the omnia 1.0 metapackage.  Wouldn't that solve this problem automatically?

Good idea! Trying this now.

Or we could just run the script on the omnia 1.0 metapackage. Wouldn't that solve this problem automatically?

It doesn't look like building the omnia metapackage automatically builds the dependencies:
https://jenkins.choderalab.org/job/conda-omnia-release-osx-2/10/console
My guess is that this is because the dependencies are only specified in the run: section of meta.yaml, not the build: section.


Document configuration options

Document configuration options
E.g. " ts.global.delete.folder.on.exit=false" is not documented
Look at automation options

I created a PR in a temp repository: https://github.com/jsmrcka/quarkus-test-framework-wiki/pull/1. @michalvavrik
It contains proposed changes which document missing config options.
I am not aware of a way how to make PR into a wiki, so this is a workaround. After a review, I can push identical changes directly into the TF wiki.

Sounds good @jsmrcka .

No PRs into wiki, just direct edits, but I like to have external view for the planned changes as in https://github.com/jsmrcka/quarkus-test-framework-wiki/pull/1. +1

I don't agree, PR was needed, direct edit is not a good way @rsvoboda . I made several comments, some of them might be good :-)

I checked, @jsmrcka must grant you access, I don't have rights.

I mean PR as a way to collaborate, yeah, there is no way to make PR for Wiki AFAICT

Changes from the PR https://github.com/jsmrcka/quarkus-test-framework-wiki/pull/1 have been pushed to the wiki main.
I'm leaving this issue open, as the automation options are still TODO.


Add George Icon

Description
Icons added

George Österreich/Austria (at.erstebank.george)

Sure! I'll make the changes tomorrow.

I've made the requested changes to the icon 🤠


Add containerd unit file

Signed-off-by: Michael Crosby<EMAIL_ADDRESS>

Codecov Report

Merging #1016 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1016   +/-   ##
=======================================
  Coverage   59.28%   59.28%
=======================================
  Files           5        5
  Lines         781      781
=======================================
  Hits          463      463
  Misses        204      204
  Partials      114      114

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2963f7...643840e. Read the comment docs.


The request content was malformed: Expected String as JsString, but got 4.11

curl -XPOST -H "accept: application/json" -H "content-type: application/json" -d @test.json http://localhost:65327/transform
The request content was malformed:
Expected String as JsString, but got 4.11

We've re-implemented the serving layer, using either grpc or http (spring boot).
Could you please take a look at
https://github.com/combust/mleap/tree/master/mleap-serving
https://github.com/combust/mleap/tree/master/mleap-executor
https://github.com/combust/mleap/tree/master/mleap-spring-boot (HTTP)
and let us know if there are any issues? Thanks!
Will close this issue for now, as it's related to the older serving layer, could you please reopen if you still see an issue? Thanks!


Use testnet.gateway.pokt.network instead of mainnet

After having implemented the QoS over the gateway feature, we were stuck using the mainnet endpoint through the gateway because there was no app staked for testnet.
Make sure to use a testnet endpoint for testnet deployments

Is the blocker that you need an app staked for 0002 ?


Add support for two-factor github auth

If users have enabled two factor auth in github, then basic auth will fail.  Documentation found here:
https://developer.github.com/v3/auth/#working-with-two-factor-authentication

HubPress is a JS-based blogging platform for GH which I’ve been trying out lately for my personal blog. They handle this exact problem, so might be worth checking out their solution.
The pattern is that you log in with your normal username/password, and then it bumps you back to the logon page to try again with an additional token field.
Example:

(Correct credentials but require 2FA):

A little message (not shown) briefly shows up saying 2FA is required.
Seems a reasonably nice pattern, but perhaps could be improved on.


How to reset table page to first page when I reload the data ?

I added a 'refresh' button to the toolbar, which clears the table data and count, then re-fetches the data and count. The rowsPerPage option is fixed to 50.
Expected Behavior
I'd like to be able to reset the pagination while resetting the table's data.
Current Behavior
If I go from page 1 (rows 1-50 of 29000) to page 2 (rows 51-100 of 29000) and refresh the table with the button, the fetched data corresponds to the first page, but the footer still displays 51-100 of 29000.
Your Environment

Tech
Version

Material-UI
4.11.0

MUI-datatables
3.3.1

React
16.13.1

browser
Firefox

Typescript
3.9.7

I added a 'refresh' button to the toolbar

when click refresh button

page
number

User provided page for pagination.

 page : 0

I tried to set the page option whenever I change the page or I refresh the table (and go to page 0), but it didn't work. The description is not very precise, but I think it's actually the user-provided starting page after table loading.

Starting in version 3.4.0, the page option was updated to allow it to control the page rather than simply act as a starting page (this was done to make it consistent with other parameters).

Ah ! Yes, I updated my version and it works, thank you ! (v)/


Robovac Error

Hi,
I just installed this plugin and when robovac is cleaning, I'm getting a Robovac Error.
After the error all my Homekit accessories are not available anymore.
I turned the debuglog on and this is what's going on:
Found device 78551441bcddc23bf1e4 at <IP_ADDRESS>
Connecting...
Found device 78551441bcddc23bf1e4 at <IP_ADDRESS>
Connecting...
Found device 78551441bcddc23bf1e4 at <IP_ADDRESS>
Connecting...
Found device 78551441bcddc23bf1e4 at <IP_ADDRESS>
Connecting...
Connected!
Connected!
Robovac Error {}
Disconnected!
Disconnected!
(node:24753) UnhandledPromiseRejectionWarning: Error: connection timed out
at Socket. (/usr/local/lib/node_modules/homebridge-eufy-robovac/node_modules/tuyapi/index.js:302:18)
at Object.onceWrapper (events.js:416:28)
at Socket.emit (events.js:310:20)
at Socket._onTimeout (net.js:479:8)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
(node:24753) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:24753) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Connected!
Robovac Error {}
Disconnected!
Status Updated!
Robovac Error {}
Disconnected!
Can you help me out?
Thanks,
Rob

Duplicate of #21
Looking into this and will hopefully get it fixed this weekend.


feat: support mimalloc as optional global allocator

Summary of changes

Changes introduced in this pull request:

Support mimalloc which claims to outperform jemalloc
Note that rocksdb does not support mimalloc as optional allocator so this feature only benefits paritydb

I've run paritydb stress test locally, memory usage with mimalloc is ~5% lower than with jemalloc (~240MB vs ~250MB)
git clone https://github.com/paritytech/parity-db.git
cd parity-db
cargo run -p parity-db-admin --release -- stress

Reference issue to close (if applicable)

Closes
Other information and links

Change checklist

[x] I have performed a self-review of my own code,
[x] I have made corresponding changes to the documentation,
[x] I have added tests that prove my fix is effective or that my feature works (if possible),
[x] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

Did you do some more benchmark? Like some import/validation/export? Peak memory while running a node.
I would be curious to see VSZ peak memory too.

Did you do some more benchmarks? Like some import/validation/export? Peak memory while running a node.
I would be curious to see max VSZ metric too (this is tracedk by bench.rb script but not displayed).

@elmattic Not yet, I will update the numbers soon

@elmattic the import time is kinda on par with jemalloc.  I failed with the bench.rb script, for some reason it's stuck there without importing the snapshot or crash

db
import time
db size

paritydb+jemalloc
1796s
114GB

paritydb+mimalloc
1822s
114GB


Prevent page-navigation element from shrinking

Explicitly set flex properties of page-navigation.

Reviewer: @MatApple

accidentally committed to this branch, but it's also a small change. it stops capitalizing the location in the deployments tab


Add some missing validation to property getters and setters

6c02999 shifted around where the checks for valid threads and objects were done, and a few turned out to be wrong. This resulted in either crashing within core rather than throwing an exception, or throwing an untranslated C++ exception rather than the appropriate obj-c exception.
RLMArray and RLMResults already have tests similar to the ones added here.

No, I noticed it myself while writing some other code.


Extract a Listenable base class from Animation and ChangeNotifier

Having this base class lets classes like CustomPainter and DataTableSource be
more agnostic as to what's generating the repaints.

@Hixie


[Test] gradual latent hires fix

https://github.com/s9roll7/animatediff-cli-prompt-travel/assets/118420657/bdf4c6dc-8e0c-4472-95f1-35b4c55ff3d6
prompt.json
animatediff generate -c config/prompts/prompt.json -L 160 -W 768 -H 1280

Thank you!

Hey @s9roll7, noob question what images did you put as conditioning images for the qr code monster v2?

THX  animatediff stylize create-region PATH_TO_STYLIZE_DIR

sample_gradual_latent_hires_fix_1.mp4
prompt.json
animatediff generate -c config/prompts/prompt.json -L 160 -W 768 -H 1280

Hey @s9roll7 , why does the generated video content only reflect the descriptions from the 1st to the 5th and the last prompts? The descriptions from the 6th to the 9th prompts seem to be skipped over


Messenger stoped working

Dark mode in Facebook Messenger, is not working anymore... Only search bar is dark.

Same, happens on Big Sur and Windows 10 for me.

Fixed in the new version. Please check.

Is occuring again #45


fixed the exception caused by trying to enter next level while datalist is empty

If I trying to enter next level of menu while datalist is empty, it caused an exception. For example, in the search menu and choose any of them except "歌曲", for example, I choose "网易精选集"
and then, i just press enter,  nothing found, but as a result, the datatype became "top_playlists" and datalist became empty, base on the code
if idx == 0:
    # 搜索结果可以用top_playlists处理
    self.datatype = 'top_playlists'
    self.datalist = ui.build_search('search_playlist')
    self.title = '精选歌单搜索列表'

if I press enter in this ui, it will cause an exception when try to access datalist[0]['playlist_id']

because code is as following,
 elif datatype == 'top_playlists':
    log.debug(datalist)
    playlist_id = datalist[idx]['playlist_id']
    songs = netease.playlist_detail(playlist_id)
    self.datatype = 'songs'
    self.datalist = netease.dig_info(songs, 'songs')
    self.title += ' > ' + datalist[idx]['playlists_name']

so I think it is necessary to make sure datalist is not empty before call dispatch_enter(idx)
 elif key == ord('l') or key == 10:
    if self.datatype == 'songs' or self.datatype == 'djchannels' or self.datatype == 'help' or len(self.datalist) <= 0:
        continue
    self.START = time.time()
    self.ui.build_loading()
    self.dispatch_enter(idx)
    self.index = 0
    self.offset = 0

And I also noticed that the order of top songs is not the same as that in official app, I found in the songs_detail method, the order of songs in returned data is not the same as the params that we passed at the url. I think this is the problem.
 # song ids --> song urls ( details )
    def songs_detail(self, ids, offset=0):
        tmpids = ids[offset:]
        tmpids = tmpids[0:100]
        tmpids = map(str, tmpids)
        action = 'http://music.163.com/api/song/detail?ids=[' + (',').join(tmpids) + ']'
        try:
            data = self.httpRequest('GET', action)
            return data['songs']

So I just sort the data['songs'] based on tmpids data["songs"].sort(key=lambda song: tmpids.index(str(song["id"]))) and it works. The order of top songs is exactly the same as the official app now. Hope to be merged. :)

Thx! Merged


Updated rebalancing set token with internal audit fixes. Added furthe…

…r testing for fee distribution.

Pull Request Test Coverage Report for Build 2777

12 of 15 (80.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.9%) to 99.14%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

contracts/core/RebalancingSetToken.sol
12
15
80.0%

Files with Coverage Reduction
New Missed Lines
%

contracts/core/RebalancingSetToken.sol
1
97.0%

Totals

Change from base Build 2763:
-0.9%

Covered Lines:
578

Relevant Lines:
582

💛  - Coveralls


feat: add support for all translation modules in package

This is a simple change to enable support for all functions in the package.
The config that was being defined by each function was extracted into a defaults const & the TranslateConfig object became an optional argument that defaults to our new shared config.
If no config is passed, we use the same config object we were using before so there is no breaking change.
If a config is passed, the package functions can use the other translation options outside of the google default.

Thank you for your contribution @zoobzio!
Great way to handle it. Will be available next version of jsontt

While using the package, TranslationModules should be exported to usage in the package. Are you willing to fix it @zoobzio, otherwise I can handle it later.


Bug (or new behavior) introduced to "aio app deploy" in 9.4.0

Expected Behaviour
"aio app deploy" completes successfully
Actual Behaviour
"aio app deploy" finishes deploying actions but then fails due to
›   Error: @adobe/aio-cli-plugin-events : No project found, skipping event
›   registration in post-deploy-event-reg hook
This causes an error response that fails the CI/CD pipeline that it is incorporated in.
Reproduce Scenario (including but not limited to)
Run "aio app deploy" without authenticating to IMS but with valid AIO runtime auth information in the .env
Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem

Closed via https://github.com/adobe/aio-cli-plugin-events/pull/88

Please reinstall the cli: npm install -g @adobe/aio-cli (this will pick up the fix at https://github.com/adobe/aio-cli-plugin-events/releases/tag/3.3.3). The cli should be version 9.4.1 now.

Thanks everyone! That fixed the issue.


Why is there an export here?

https://github.com/source-academy/cadet-frontend/blob/c93fb65f26159d702e012632347cfc01f752b777/public/externalLibs/list.js#L352

No idea.

This is probably not needed.

Fixed by: https://github.com/source-academy/cadet-frontend/pull/621


Add disclaimer usage to title page

Hi guys!

I would like to  add this now
Please revise and use it.
Can be set where on the title page it shall appear.
Also added example in the default theme.
Yours sincerely,
Martin Gyurko
enGYneer.at

Hi Dan,
Thanks, for pointing me there.
Is there any plan in future to make a similar converter for doing asciidoctor to docx conversion directly? Currently I am doing it with pandoc docbook middleware and that somehow works but is not as good as this pdf generating tool.
Unfortunately many companies still use docx and engineers hate writing in MS word, but their colleagues need the possibility to edit a document further.
best regards,
Martin
enGYneer.at
November 30, 2023 10:08 AM, "Dan Allen" @.*** @.@.>)> wrote:
We're not going to add an element to the title page to support a one-off use case. However, you can accomplish this using an extended converter. In fact, you can find an example of this exact customization on the use cases page. See https://docs.asciidoctor.org/pdf-converter/latest/extend/use-cases/#custom-title-page (https://docs.asciidoctor.org/pdf-converter/latest/extend/use-cases/#custom-title-page)
It would look something like this:

class PDFConverterCustomTitlePage < (Asciidoctor::Converter.for 'pdf') register_for 'pdf' def ink_title_page doc super @y = page_height * 0.2 theme_font :title_page_disclaimer do layout_prose (doc.attr 'disclaimer'), align<EMAIL_ADDRESS>|| @theme.title_page_align || :left).to_sym, margin: 0, normalize: false end end end

There's also an example of how to insert a license/copyright page. See https://docs.asciidoctor.org/pdf-converter/latest/extend/use-cases/#license-page (https://docs.asciidoctor.org/pdf-converter/latest/extend/use-cases/#license-page)

—

Reply to this email directly, view it on GitHub (https://github.com/asciidoctor/asciidoctor-pdf/pull/2466#issuecomment-1833363969), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AAPPRDGK4AL4RXTO6QE2UY3YHBEJLAVCNFSM6AAAAAA77UH32KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGM3DGOJWHE).
You are receiving this because you authored the thread.Message ID: @.***>


Named Graphs/Pipelines

Moved from https://github.com/dask/dask/issues/3322#issuecomment-375944629

One thing I would like is to be able to label a particular dask graph so I can understand what tasks belong to what job.
I submit multiple jobs (dask graphs) to my distributed cluster where each job represents a pipeline of work. It would be useful for me to be able to see what tasks running on the cluster belong to what jobs.

Possibly also related to #3318?

I agree that this would be valuable.  Unfortunately Dask doesn't currently
have any notion of a job, so I don't know how this would be implemented
currently
On Tue, Mar 27, 2018 at 10:56 PM, Dave Hirschfeld<EMAIL_ADDRESS>wrote:

Possibly also related to #3318 https://github.com/dask/dask/issues/3318?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/3344#issuecomment-376744114, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszHdcvtd3T3E6FpMtggHhz4ocPA0nks5tivvAgaJpZM4S98EI
.

Related to https://github.com/dask/distributed/pull/1559

Currently out of scope.


Document #364 in README.md

Sum up #364 in README.md as suggested.

@iago-lito thank you, I've merged it, and added some additional infos


yt-dlp Says a Video is Private Even Though it is Not

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.07.18 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
I tried to download the video https://www.youtube.com/watch?v=M7mKMWjAxG8 by running the command yt-dlp "https://www.youtube.com/watch?v=M7mKMWjAxG8" but it gave me the following error:
[youtube] M7mKMWjAxG8: Downloading webpage
[youtube] M7mKMWjAxG8: Downloading android player API JSON
ERROR: [youtube] M7mKMWjAxG8: Private video. Sign in if you've been granted access to this video

I tried signing in by using the --cookies option and it gave me a different error:
[youtube] M7mKMWjAxG8: Downloading webpage
[youtube] M7mKMWjAxG8: Downloading android player API JSON
ERROR: [youtube] M7mKMWjAxG8: Video unavailable. This video is private

The video is not private, I can view it in my web browser whether I am signed in or not.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://www.youtube.com/watch?v=M7mKMWjAxG8']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.07.18 [135f05e] (zip)
[debug] Python 3.8.10 (CPython 64bit) - Linux-5.4.0-120-generic-x86_64-with-glibc2.29 (glibc 2.31)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.6.1, certifi-2019.11.28, mutagen-1.44.0, pyxattr-0.6.1, secretstorage-2.3.1, sqlite3-2.6.0, websockets-8.1
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.07.18, Current version: 2022.07.18
yt-dlp is up to date (2022.07.18)
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=M7mKMWjAxG8
[youtube] M7mKMWjAxG8: Downloading webpage
[youtube] M7mKMWjAxG8: Downloading android player API JSON
ERROR: [youtube] M7mKMWjAxG8: Private video. Sign in if you've been granted access to this video
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 644, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/youtube.py", line 3486, in _real_extract
    self.raise_no_formats(reason, expected=True)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 1126, in raise_no_formats
    raise ExtractorError(msg, expected=expected, video_id=video_id)

YouTube shows the video as private in my browser. But if you can really watch it, you could try --cookies-from-browser BROWSER (instead of just --cookies).

The video was private when I first opened it in my browser. But you're right, the video is indeed private now. I should have double-checked by refreshing my browser tab, my bad.


Play again last played stream does not work

The documentation says
"Play again last played stream: just set chromecast.0..status.playing to true".

Command does not work. When setting "playing" to true, the speaker stays silent after an annoucement.
The role of correponding object "playing" is set to status and not to command.

Tested on Adapter Version: 1.4.1

When you set playing to true the resukt is that the value of url2play will be played. If the last thing was an announcement then the save announcement will be played again. For announcements the asked should resume automatically assuming it has being playing before something that can be resumed: if you were streaming from an all such as Spotify it dies not work.
I am not sure I understand what you mean by playing bring set to status... When you set playing to true it will get acknowledged if it was able to play. If this did not work out will tending true but without acknowledge. The problem will be displayed in the log.

What I meant with "playing is set to status": If I am looking at the column "role" in the objects tab of the administrator it says "status". This normal indicates that this object im meant for reading and not for writing thus becoming a "command". Maybe this is just a matter of wrong documentation and not really an issue. Since there is practically no documentation I am always looking at the column to find out whether it may have effect and normally "status" cannot be used as a command.
What would be desired is that if user is  e.g. streaming a radio, playing a music file or whatever, this media should resume after the announcement.
One additional question: When should "playing" be set to "true" before the announcement or after?

The object status.playing is defines as writable to reflect that you can write it from ioBroker. So it is an status and command in one. I implemented this way so I can use simple vis widgets to show and set the status of the chromecast:

Playing the announcement should resume the radio afterwards without having to to set playing to true. If for any reason this would not work (bug) then setting playing to true will play again url2play.

Playing the announcement should resume the radio afterwards without having to to set playing to true.

Exactly this is NOT working and was the original issue I have reported.

Do you refer #30 ? The log there does not show that the adapter was playing when sayit was used.
I released a fix to the castv2-player library that should help to resume playing. I released yesterday to git a new version of the chromecast adapter (1.4.3) that uses the new version. Could you please test with it? If it does not work please attach a log that includes when you started the streaming with url2play, played the announcement and then the adapter failed to resume.

I am currently traveling and will not be home soon please do not expect fast feedback, sorry.


feat: add append_receipts function

Closes #8466

@mattsse @shekhirin ready for your feedback. ci failure issue seems to be related to https://github.com/paradigmxyz/reth/issues/8166.

Some suggestions

if we return an Option, we'll have to do the error handling, so I have i have suggestion, if the receipts are empty, we can simply return the last TxNumber in the statis file, in this way, we also don't return an error and as you said receipts can be empty. wdyt? I have implemented all the suggestions and logic and removed the error ProviderError::EmptyReceipts. lmk wdyt of this approach.

@mattsse PTAL


Harbor Ops Manager Tile re-branding

Given: Alan (PRE) has a Harbor tile & Ops Manager
When: Harbor tile is configured
Then: Harbor Tile should be labels "VMware Harbor Registry"
Acceptance Criteria:

Rename Tile string to "VMware Harbor Registry"
Set Tile Version == to current release of Harbor (assume 1.3.0)

Rebrand to "VMware Harbor Registry"
Version changed to "1.3.0", but with pre suffix "rc". Once it's ready for release, the version can be changed to 1.3.0

Latest tile build is : https://storage.cloud.google.com/harbor-ci-pipeline-store/tile-releases/harbor-tile-1.3.0-rc.2.pivotal?authuser=2&_ga=2.54310376.-1192896719.1510815040

Work done, close it


[WIP] Mocap support

This PR adds support to ATT_POS_MOCAP msg and replaces the support to VICON_POSITION_ESTIMATE. Main purpose is to feed the data into the estimators, starting with position_estimator_inav and attitude_estimator_ekf.
@jgoppert can you merge this PR on your LPE PR and replace the messages on the module?
@moskytoo here's the thing you need! Wait until I add support on INAV so you can test.

This is giving an error on travis CI saying:
/home/travis/build/PX4/Firmware/src/modules/mavlink/mavlink_receiver.h:61:39: fatal error: uORB/topics/att_pos_mocap.h: No such file or directory
 #include <uORB/topics/att_pos_mocap.h

But this is an autogenerated header from msg. Is there a way to counter this?

@moskytoo you are free to test this PR now as I add support for the msg in the estimators.

@moskytoo you are free to test this PR now as I add support for the msg in the estimators. Please leave here some results and graphs from FlightPlot. A video is welcomed :D

As far as I can see it I just need an application on my companion computer which sends mavlink_msg_att_pos_mocap messages?
I still got problems connecting to my PixHawk with nsh, will I need it? Or do I need something else to test it?

Try using mavros: https://github.com/mavlink/mavros which is straight forward. We already have support for both vicon or optitrack messages: https://github.com/mavlink/mavros/blob/master/mavros_extras/src/plugins/mocap_pose_estimate.cpp. You just have to use one of the ROS apps, depending on the mocap used:
http://wiki.ros.org/vicon_bridge
http://wiki.ros.org/mocap_optitrack

Or you will have to write your one wrapper that sends the Mavlink msg with the mocap data (as the mavros plugin already does).

I won't use mavros, because of the project specifications of my master project. But I already have a programm which sends out mavlink vicon_position_estimate msgs, so I only would need some configurations.

vicon_position_estimate msgs, so I only would need some configurations.

You will have to change to att_pos_mocap msg then, which is the currently supported one. Should be straight forward also (just have to send a quaternion instead of euler angles).

@LorenzMeier I can't seem to find why Travis is failling.

You're confusing the MAVLink message with the uORB topic. You either need to back out some of your changes or rename the uORB topic as well.

But can't the uORB topic name be equal to the MAVlink msg name?

All position and attitude uORB messages start with the prefix "vehicle_..."
Why not stick to this?

position_setpoint_triplet.msg doesn't start with vehicle, so it is not essentially true. But then, I seem to find topics with the same name as the mavlink msg, so I can't understand what is the problem.

From Travis: /home/travis/build/PX4/Firmware/Build/posix_default.build/home/travis/build/PX4/Firmware/src/systemcmds/topic_listener/topic_listener.cpp:1148: undefined reference to `__orb_vehicle_vicon_position' /home/travis/build/PX4/Firmware/Build/posix_default.build/home/travis/build/PX4/Firmware/src/systemcmds/topic_listener/topic_listener.cpp:1157: undefined reference to `__orb_vehicle_vicon_position'
Please search the codebase for vehicle_vicon_position and make sure you have not forgotten any instances. You can do that in Github effectively.

So that's the problem. Thanks @LorenzMeier

Hmm but seatching my repo for any vicon reference didn't find anything.

Did you rebase onto master? If you don't do that then it might be only the master merge which fails.

Do I need to do a coordinate tranformation from Vicon to NED?
Because Vicon coordinate system is aligned to the room and not north/east. For x,y,z it is no a problem, but for the quaternions it would mean some work.

Do I need to do a coordinate tranformation from Vicon to NED?

Yes you have. Check what is done in https://github.com/mavlink/mavros/blob/master/mavros_extras/src/plugins/mocap_pose_estimate.cpp

I've never worked with quaternions, so I hope this makes sense: roll, pitch and yaw are also in NED or only yaw and roll and pitch is bodyfixed?

it's all in NED

@LorenzMeier I found the problem: forgot to remove the vehicle_vicon_position.msg file.

@moskytoo any updates on testing?

I'm still working on the programm for the companion computer sending the mavlink mocap messages. And I also havn't assembled my copters yet, so I think you have to be patient. I will post my updates as soon as I have some kind of results.
Also this is my first time  working with PX4. Will I just upload the firmware and use it like a user, or will I need a connection with nsh via serial etc.?

Check this: https://pixhawk.org/dev/offboard_control and this: https://pixhawk.org/dev/direct-uart-offboard-control

I shrewd the PR!!! @congleetea do you have the original files you can send me? Thanks!

@moskytoo not needed. I reformulated the PR. Moved to #2361

Hey @TSC21 I would be interested in testing this. I currently have ROS indigo on a Raspberry Pi 2 with ubuntu/Odroid XU4 and a pixhawk. We have an optitrack system and get the position data from vrpn_client_ros or our own ROS node getting data with UDP block in simulink Simulink.
As I understand ROS operates in ENU, but this takes the position in NED. Will it be required to have NED in line with north? As our motion capture system is currently aligned with the walls in the room.
Do I need to send angles?
What sort of testing specifically are you after?
It looks like I would modify the subscription to the position to fit my setup, ensuring it is NED (maybe transforming to point North). Connect to run mocap_pose_estimate.ccp, check position with rostopic echo and a ground station. Try altitude hold and loiter flights. Try off board control.


[FXX] add support

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.05.10. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.05.10

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2016.05.10
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: http://www.fxnetworks.com/video/678325827950
Single video: http://www.fxnetworks.com/video/664163395617

Description of your issue, suggested solution and other information
I am requesting site-support for FXX.com. As far as I can see, all the videos are georestricted to the US, and you do have to log in. But the first time you visit the site, you get a hour long preview-pass, i.e. you have free access (except georestriction) for one hour.

The site is using ThePlatform but most of the content requires an auth token (which you get by logging in or getting a preview pass). It's relatively to sniff out the request for the SMIL playlist, which contains the auth token, but it's harder to automate the process as I've yet to find exactly from where the request is sent and how it's created.

I've yet to find exactly from where the request is sent and how it's created.

i think it uses Adobe Pass to get the auth query param that will be passed in ThePlatform SMIL url(other sites use the same like natgeo,fox,ae network sites...).

@remitamine thanks for that info 😄


[bug] Focused View side-nav doesn't work for routes with {} in them

Example: https://mrin9.github.io/RapiDoc/examples/focused-mode.html
For example, the left side-nav doesn't work when clicking on "Find Pet by Id" which should show "GET /pet/{petId}" and instead always shows the first route in the document (which in this case is "GET /pet" without {petId}").

(used to work in 8.2)

thanks ... wil fix this asap


how to use time_features properly in DeepAR

Please help, is there any code example about how to configure time_features parameters and how to use base, holiday, and lag features. If I have list of special day that need to considered (like day of promotion) or manual holiday (specific holiday from other country) how to set the features and pass into the model. there is also FEAT_TIME in ListDataSet which I don't understand to use it. I have tried but not success yet.
thank you

Have a look here (#469)


moveItem() for the first visible item cause scrolling

Hi @davideas! Seems like I found the issue in moving item. Steps to reproduce:

Scroll to some item (make it first but not fully visible)
Call moveItem(firstVisibleItemPosition, anyPosition)
Item moved to proper position and scrolled to it (but excepted to be moved only)

In my original code I try to move item when some property changed. So anyPosition is calculated.
        updateItem(itemVM,null);
        int oldPosition = getGlobalPositionOf(itemVM);
        int newPosition = calculatePositionFor(itemVM);
        if (oldPosition != newPosition){
            moveItem(oldPosition,newPosition,null);
        }

Here is log when I moveItem():
V/FlexibleAdapter: moveItem fromPosition=1 toPosition=4
V/FlexibleAdapter: onViewBound    Holder=ItemViewHolder position=4 itemId=-1 layoutPosition=4
V/FlexibleAdapter: onViewBound    Holder=ItemViewHolder position=16 itemId=-1 layoutPosition=16
V/FlexibleAdapter: onViewBound    Holder=ItemViewHolder position=17 itemId=-1 layoutPosition=17
V/AnimatorAdapter: Clear notified for scrolling Animations

Please checkout an example https://github.com/yamelkaya/FlexibleAdapterMoveItem.

@yamelkaya, sadly I can't fix that behavior because is not caused by my implementation :-(
Please read this original issue: https://code.google.com/p/android/issues/detail?id=99047.
Try to add recyclerView.scrollToPosition(fromPosition); but that is only for the fromPosition as first visible position, it doesn't occur if you move another position.

@davideas, I see now... Thanks a lot for reply anyway. I am closing the issue.


Fixes fullscreen crash on AMD GPUs

There's a bug in AMD drivers that causes the examples in this project to crash in fullscreen. Normally, they run fine in windowed mode but as soon as you add this line of code, they crash:
windows.get_primary_window().unwrap().set_fullscreen(Some(winit::window::Fullscreen::Borderless(None)));

See more here: https://github.com/vulkano-rs/vulkano/pull/2218

Thanks! I’ve had some reports of a crash on amd gpus on my projects, perhaps this helps with those too.


[10.x] Ignore global scopes when incrementing/decrementing an existing model

To close https://github.com/laravel/framework/issues/47620 To reproduce, you can follow the set up that @levu42 provided in the original issue.
Previously, a new query was built from Model@newQueryWithoutRelationships(), which applies global scopes. If the client code already has the model, applying global scopes could potentially make the update query not see the row in the DB. To remedy this, we apply Builder@newQueryWithoutScopes().
Note: I'm unsure if Model@newQueryWithoutRelationships() is actually needed when calling increment/decrement when the model doesn't exist. That could possibly be changed to newQueryWithoutScopes() as well. 🤷

@cosmastech Thank you for fixing this so quickly!


Adding before_disconnect hook

This is useful with some extensions like cr-sqlite that require a cleanup setup before disconnect/close, which is not un-common.
I thought maybe this would work in db_connection but I don't know if its general enough for ALL db connections and ahh touching that state machine is the worst.

<3 for prompt feedback

@jeregrine I'll be cutting a release for this soon.

This will be released under v0.17.0


PP-4280 Reorganise Cardtypes, Tokens & Reports

WHAT

Organised card type related classes into cardtype package and sub packages
Organised token related classes into token package and sub packages
Organised performance report related classes into report package and sub packages
Organised transaction summary into dashboard package

Doesn't include

Any changes to existing functionality

Nice. The only change I would make is that I think the dashboard package imports UI concepts into connector. I would prefer it if the dashboard stuff went under report

Thanks @mrlumbu, agree and updated.


[feat]provide option for z-wave logs to be written to /store instead of /usr/src/app/bin

Is your feature request related to a problem? Please describe.
attaching to the docker containers console to look at zwave logs is a minor annoyance
Describe the solution you'd like
let me write logs to /store - this means logs are persistent over time even if destroy the container, also means it is more transparent if logs are bloating vs hidden in the container (i connect to the docker host all the time)
Describe alternatives you've considered
installing SSH in the container image to fetch the log files
considered mapping /usr/src/app/bin to the host but that seems silly, now if the default location was somepath/logs then i could map that as a volume - that would be ok alterative rather than a UI based option.
Additional context
none

I second this though if you aren't on the dev image it looks like there are committed logging changes. In any event you can map just the log file instead of the directory in docker compose.

@blhoward2 i looked at the log and it had a -1 at the end, i assumed (maybe incorrectly) that this indicated rolling logs where that number changes?  if not they yes i can map the log file as a bind mount.

@scyto there is an open pr for this, I was waiting zwavejs 6 to be released as it needs configurable logging options that was not available right now in zeavejs

@scyto there is an open pr for this, I was waiting zwavejs 6 to be released as it needs configurable logging options that was not available right now in zeavejs

Agreed this would be great.  Looking forward to zwavejs 6.

Agreed this would be great.  Looking forward to zwavejs 6.

once these are merged whats the lag / process to the docker being updated (for example i see the dev docker was 5 days ago and the latest one 12 days ago).  is dev docker generally safe to use for external testing by folks like ourselves or should we wait for :latest to be updated.
PS didn't  realize how new this project is! I literally had not used this or the predecessor before 2 weeks ago!  Thanks for leading it.

once these are merged whats the lag / process to the docker being updated (for example i see the dev docker was 5 days ago and the latest one 12 days ago).  is dev docker generally safe to use for external testing by folks like ourselves or should we wait for :latest to be updated.
PS didn't  realize how new this project is! I literally had not used this or the predecessor before 2 weeks ago!  Thanks for leading it.

You can build your own image easily. The directions are at the bottom. https://github.com/zwave-js/zwavejs2mqtt/tree/master/docker

You can build your own image easily. The directions are at the bottom. https://github.com/zwave-js/zwavejs2mqtt/tree/master/docker

Ya, I'm new to it as well, but I've been using the dev containers from the start as they contain a couple of key fixes I need.
It's been working great, other than an occasional hiccup - usually due a mistake I've made.

Ya, I'm new to it as well, but I've been using the dev containers from the start as they contain a couple of key fixes I need.
It's been working great, other than an occasional hiccup - usually due a mistake I've made.

It's almost always safe to use dev

It's almost always safe to use dev


Add link to latest release for Deb package

it closes #1299
Description
case, define a dep package, see more
short description: on this screen, we are catching only AppImage for Linux if using os.platform() === 'linux' plus process.env.APPIMAGE, which exists only for APPIMAGE ( not only windows, but windows store also as example , didn't check , but if u ll check the link above, there an assumption about it )

How to test
Check app with no updates

prepare networks json as in the video
log in
click check updates
see the link to the latest release , for linux dep packages only

Check app with an update

prepare networks json as in the video
log in
click check updates
see update

https://github.com/spacemeshos/smapp/assets/54288612/6b68f25f-eb3f-4e14-aa04-1da8542a8f93
TO-DO:

[x] Add AppImage to env, to exclude cases with the working package on the Linux.
Research result:  We have an app image variable, which we can use to define the Linux dep package.

[x] Check case when there is no really update from discovery, what will be
Research result: For dep packages, updateInfo is always empty. In this case, we are always showing the link. Only if the package version from networks and app version are equal. No updates text are found should be.

[x] Add AppImage to genEnvInfo

"latestSmappRelease": "1.0.15-pr.1431" shows no new updates, no link - ok
"latestSmappRelease": "1.0.16" shows the link to the latest release - currently 1.0.18, the config value ignored - expected?
"minSmappRelease": "1.0.10" doesn't show the used version as not supported by the network, the config value ignored -expected?

"latestSmappRelease": "1.0.15-pr.1431" shows no new updates, no link - ok "latestSmappRelease": "1.0.16" shows the link to the latest release - currently 1.0.18, the config value ignored - expected? "minSmappRelease": "1.0.10" doesn't show the used version as not supported by the network, the config value ignored -expected?

1.ok
2. yes, but I thought about it as feature, reference to the latest version. But we really have a case , when tag released , and network has different version released.  Made changes for this scenario.
3. We can calculate it, as we are doing for macOS and Windows. Made changes for this scenario too.

In case
    "minSmappRelease": "1.0.10",
    "latestSmappRelease": ""1.0.18-pr.1431"",

I get the info "this network supports only...". only the min is taken into account, in this configuration I should probably get "no new updates"


add feature: remove-zenhub-repo-switcher

Before

After

I'm not the one to decide this, but I think this is probably out of scope for Refined GitHub as it aims to improve the user experience on GitHub, not ZenHub. Also this seems like a problem that could be solved with a CSS-only solution.

Refined GitHub is only for changing vanilla GitHub.com, not other GH extensions.
You can use https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en with some CSS overrides to achieve this.


How to load multi MAV

Hi, I try to load two MAV using:
./sitl_multiple_run.sh 2^C
./jmavsim_run.sh -p 4560 -l
./jmavsim_run.sh -p 4561 -l
how can I use the system() to control different MAV using the port

No idea what you're trying to do. Can you give a bit more context? Versions? What instructions are you following? What is the goal? What doesn't work? What did you try, etc.


Error when changing Minimal ion quantifications

Describe the bug
If you scroll the Minimal ion quantifications slider 2 times before the page refreshes the following error occurs:

This was reproduced locally and on the server.
To Reproduce
Steps to reproduce the behavior:

Go to DDA Quant Ion Level -BETA-

Click on Additional parameters

Scroll down to Minimal ion quantifications (# samples)

Slide the slider back and forth (e.g., from 3 to 4 and then back to 3).

The mentioned error should occur

Expected behavior
The slider should work without errors.
Desktop (please complete the following information):

OS: Mac OS
Browser: Google Chrome

Found it! Problem is located here:
#294
Problem is that this function gets a call with empty all datapoints.

Commit 0b4510764fa40f52f741724fab22d3cdeb00f2a3 addresses the error.
However, I can see that the figures "Log2 Fold Change distributions by species" and "Coefficient of variation distribution in Groups A and B" are not always updated when the sliders are moved.
The updates work when going from 3 -> 6. However, they are unchanged after moving the slider back to a lower number.

Hi!
I am not sure that this is related, but I see this error when I use the main locally:

Go to DDA Quant Ion Level -BETA-
upload a MQ evidence file (unknown from ProteoBench)
press parse and bench
Returns:
no new point in the plot, and n_prec = 0 in the table.
When I move the slide Minimal ion quantifications (# samples), the error is corrected.

Hi! I am not sure that this is related, but I see this error when I use the main locally:

Go to DDA Quant Ion Level -BETA-
upload a MQ evidence file (unknown from ProteoBench)
press parse and bench
Returns:
no new point in the plot, and n_prec = 0 in the table.
When I move the slide Minimal ion quantifications (# samples), the error is corrected.

Number of precursors is 0. That is likely part of the issue.

Well, I should have said that the number of precursors in the evidence table is > 30 K. Sorry. 😅

Here are the other plots, which are correctly plotted above the main plot:

Here is a trimmed file that you can use to test if you'd like (Only the top rows of the file that I used to generate the figures)
evidence_test_20240508.txt.zip

And I just noticed this message, which appears just after plots are loaded. It is located after the description of the intermediate table in the module page:

Issue is that for the first submission we do call the part that plots, but not that puts the nr_prec there. I will try to fix this now.

See #296


Add tritonserver testcase

添加tritonserver测试用例，去掉压测和无关参数，自测通过。
https://github.com/zhulinJulia24/lmdeploy/actions/runs/8996881691/job/24714307356

Thank you for this pull request. We intend to remove the C++ Triton Backend at https://github.com/InternLM/lmdeploy/pull/1986. If you wish to use the Triton Server, you can utilize the Python Backend instead. I will close this pull request for now. Thanks.


Delay/Pause Windows Update by Setting Maximum Days Possible.

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Add an option to the Updates section that delays windows update by setting the maximum days possible(Usually a month ~35 days). Add also an undo option next to it that resumes updates immediately(Default behaviour after resuming updates).
This option is currently under Settings > Windows Update > Advanced options > Pause Updates. Also documented on this support page for both Win10 and Win11.

Describe alternatives you've considered
N/A or Don't currently know any other solution.
Additional context
Add any other context or screenshots about the feature request here.
In the previous Windows Toolbox and also in this tool there is an option to delay feature updates (Up to 365 days) and only install ones related to security, However, there is NO option to delay all windows update for a time frame.

I visualize the option being added below the Security (Recommended) Settings and above the Disable ALL Updates (NOT RECOMMENDED) options.

The recommended settings actually do this. I'll relabel it so it makes more sense.

Sorry @ChrisTitusTech this simply doesn't happen. I'm currently updating several machines after Patch Tuesday today and after this I usually run your tool to debloat the system.
Clicking on Security (Recommended) Settings does not apply Pause Updates under Advanced Options. Today is the 18th and I have to manually the maximum day which is  23rd Oct ~ 35 days of #Windows not seeking out updates.

Well that was my original request. I deliberately want to avoid auto-updates by delay-ing them.
I follow security happenings closely and If there's an emergency before the ~35 days are up I will step in and ensure they are installed.

Well that was my original request. I deliberately want to avoid auto-updates by delay-ing them.
I follow security happenings closely and If there's an emergency before the ~35 days are up I will step in and ensure they are installed.

Then just disable all updates and you won't get any.


Add password authentication request validation

This adds a password-based authentication mechanism under the option --authentication-password-request-url, which functions similarly to --authentication-key-request-url, but takes a password instead of a public key.
Closes #322

This seems to work on my sish instance, with a simple verification server that checks for a single password and returns 200. I've used a command like this one for testing (which then prompts me for the password):
ssh -o PubkeyAuthentication=no -o PreferredAuthentications=password -R test:80:localhost:8080 tuns.sh

I haven't tested the timeout, however since this is basically a copy-pasted version of  --authentication-key-request-url, it should work the same.

Thanks for the awesome contribution @EpicEric!


enum redux redux

fix https://github.com/dart-lang/vm_service_drivers/issues/99
moved back to using Dart enums
changed from optional positional params to optional named params
better toStrings()

@danrubel

LGTM


[Core] Support Lora lineage and base model metadata management

Address https://github.com/vllm-project/vllm/issues/6274

Leverage root and parent field in the ModelCard to demonstrate the lora adapter lineage. Lora command supports json format and user can specify the base model explicitly.
Introduce BaseModelPath and use base mode info instead of served_model_names.

After the PR, /v1/models return below metadata
{
  "object": "list",
  "data": [
    {
      "id": "meta-llama/Llama-2-7b-hf",
      "object": "model",
      "created":<PHONE_NUMBER>,
      "owned_by": "vllm",
      "root": "~/.cache/huggingface/hub/models--meta-llama--Llama-2-7b-hf/snapshots/01c7f73d771dfac7d292323805ebc428287df4f9/",
      "parent": null,
      "permission": [
        {
          .....
        }
      ]
    },
    {
      "id": "sql-lora",
      "object": "model",
      "created":<PHONE_NUMBER>,
      "owned_by": "vllm",
      "root": "~/.cache/huggingface/hub/models--yard1--llama-2-7b-sql-lora-test/snapshots/0dfa347e8877a4d4ed19ee56c140fa518470028c/",
      "parent": meta-llama/Llama-2-7b-hf,
      "permission": [
        {
          ....
        }
      ]
    }
  ]
}

BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

/cc @Yard1 @simon-mo Please help review the change

@jeejeelee @simon-mo @njhill Please help review this change. It is mainly used to expose the right root and parent information in the model card.

@simon-mo @jeejeelee  Could you please review this change when you get a chance? Both serving_xx and api_server.py are frequently updated, and I've had to rebase several times to resolve conflicts. While the change itself isn't too large, it does affect multiple files. It would be helpful to have it reviewed and approved as soon as possible to avoid further conflicts.

@simon-mo suggestion accepted and please take another look