download youtube embed video can't exit normally

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2020.09.20
[x] I've checked that all provided URLs are alive and playable in a browser
[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 bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

>>> [youtube] wtTk6KzmhDM: Downloading webpage
[youtube] wtTk6KzmhDM: Looking for automatic captions
[youtube] wtTk6KzmhDM: Downloading MPD manifest
[info] Writing video subtitles to: Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.en.vtt
[info] Writing video description metadata as JSON to: Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.info.json
[dashsegments] Total fragments: 175
[download] Destination: Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.f137.mp4
[download] 100% of 283.86MiB in 04:30
[dashsegments] Total fragments: 187
[download] Destination: Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.f140.m4a
[download] 100% of 14.09MiB in 01:20
[ffmpeg] Merging formats into "Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.mp4"
Deleting original file Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.f137.mp4 (pass -k to keep)
Deleting original file Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.f140.m4a (pass -k to keep)
[ffmpeg] Converting subtitles
Deleting original file Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.en.vtt (pass -k to keep)

Description
url1 = 'https://www.youtube.com/embed/wtTk6KzmhDM?feature=oembed&hd=1'
url2 = 'https://www.youtube.com/embed/W-b2n5cUVYU?feature=oembed&hd=1'
url3 = 'https://www.youtube.com/embed/NjhSgxsOOlU?feature=oembed&hd=1'

url11 = 'https://www.youtube.com/watch?v=wtTk6KzmhDM'
url22 = 'https://www.youtube.com/watch?v=W-b2n5cUVYU'
url33 = 'https://www.youtube.com/watch?v=NjhSgxsOOlU'

import os
url = u1

cmd1 = f"""youtube-dl -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" --write-auto-sub --write-info-json --sub-lang en --convert-subs srt {url}"""
msg = f"cmd1: {cmd1}"
print(msg)
os.system(cmd1)

The url1 to url3  are youtube embedded  links, which crawled from  tag  in a website.
When I run the code using url1,  at the end,  the srt subtitle, video and info json has been download successful, but the process didn't exit normally,  just stop there.
But the same video_id, when I run the code with url11, it do download and  exit normally.
WHY?
I wonder if the youtube-dl  has a bug when downloading  the youtube embedded url.
Looking forward to your reply.

The log indicates no issues.

The log indicates no issues.

The log ensure no problem, but process didn't  exit, just stop there!!!

When I download the youtube url without embed, it's OK, exit normally.

You must provide clear evidence of that.

This is the code, you should run it,  then you'll believe me.
url1 = 'https://www.youtube.com/embed/wtTk6KzmhDM?feature=oembed&hd=1'
url2 = 'https://www.youtube.com/embed/W-b2n5cUVYU?feature=oembed&hd=1'
url3 = 'https://www.youtube.com/embed/NjhSgxsOOlU?feature=oembed&hd=1'

url11 = 'https://www.youtube.com/watch?v=wtTk6KzmhDM'
url22 = 'https://www.youtube.com/watch?v=W-b2n5cUVYU'
url33 = 'https://www.youtube.com/watch?v=NjhSgxsOOlU'

import os
url = url1

cmd = f"""youtube-dl -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" --write-auto-sub --write-info-json --sub-lang en --convert-subs srt {url}"""
msg = f"cmd1: {cmd1}"
print(msg)
os.system(cmd)

No one cares about your code.
> py -3.7 .\youtube_dl\__main__.py -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" --write-auto-sub --write-info-json --sub-lang en --convert-subs srt "https://www.youtube.com/embed/wtTk6KzmhDM?feature=oembed&hd=1"
[youtube] wtTk6KzmhDM: Downloading webpage
[youtube] wtTk6KzmhDM: Looking for automatic captions
[youtube] wtTk6KzmhDM: Downloading MPD manifest
[info] Writing video subtitles to: Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.en.vtt
[info] Writing video description metadata as JSON to: Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.info.json
[dashsegments] Total fragments: 175
[download] Destination: Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.f137.mp4
[download] 100% of 283.86MiB in 03:05
[dashsegments] Total fragments: 187
[download] Destination: Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.f140.m4a
[download] 100% of 14.09MiB in 00:12
[ffmpeg] Merging formats into "Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.mp4"
Deleting original file Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.f137.mp4 (pass -k to keep)
Deleting original file Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.f140.m4a (pass -k to keep)
[ffmpeg] Converting subtitles
Deleting original file Q&A - Bioweapons... for Dummies Evaluating the Threat of Rogue Biohacking-wtTk6KzmhDM.en.vtt (pass -k to keep)

>echo %ERRORLEVEL%
0

that proves youtube-dl exits normally.


cherry-pick fix bitmap value copy operator not call reset (#26451)

cherry-pick from master https://github.com/apache/doris/pull/26451
when a empty bitmap assign to other bitmap
the other bitmap should reset self firstly, and then set empty type.
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


.github/workflows/RunConverterOnAllGuides.yml not work

Supposedly, when create a PR for the GuideConverter, the .github/workflows/RunConverterOnAllGuides.yml will be called to generate a staging PR to confirm that the converter can convert the guides correctly. It seems not work.

Converter repo PR triggers the action but no changes in any of the guides.


Fix for iOS sharing action

viewDidLoad function should not be used, the way it's being used in the example, but instead didSelectPostshould be used for the same purpose, because, viewDidLoad would immediately start to deal with the data passed in, whereas the data should only be
processed/acted on, when the user selects Post.
Without this change, no share action is shown as per below, but the user is immediately redirected to the main app.

Also, if you merge this in, the gif of the iOS sharing should be re-recorded.
This one:
https://github.com/ajith-ab/react-native-receive-sharing-intent/blob/master/doc/ios.gif
Because that gif actually shows you the bug, you don't see the share action as per my screenshot above.

I've also reverted the changes from: dcb648c3b52e9faae14b9d1d47705551d9242a1f

Thanks for merging this in!


CU-3cr16nu - Add a new field on each type-value object on JSON manife…

…st file generation to better describe the specific type/format of that field.
Summary or solution description
Added more types to better indicate what sort of parameters the smart contract has.
Now, when compiling a smart contract, if the user wants to they can use one of the added types to hint the type on the manifest.
Lists and dicts also have a hint indicating the items types.
Using Optional now adds a nullable on the parameter or return on the manifest.
How to Reproduce
https://github.com/CityOfZion/neo3-boa/blob/d43c0a3cdb1db11e80093d8da8b30441384ba213/boa3_test/test_sc/generation_test/ManifestTypeHintFromStrToAddress.py#L1-L7
Tests
https://github.com/CityOfZion/neo3-boa/blob/d43c0a3cdb1db11e80093d8da8b30441384ba213/boa3_test/tests/compiler_tests/test_file_generation.py#L780-L1096
Platform:

OS: Windows 10 x64
Python version: Python 3.7

(Optional) Additional context
Tring to use the method to_script_hash() on strings that when turned into bytes doesn't have length 20 or is not an Address, will end up in a runtime error. An issue will be created to verify this behaviour and fix this if needed.

Task linked: CU-3cr16nu Add a new field on each type-value object on JSON manifest file generation to better describe the specific type/format of that field.


Set @layout null

Currently it's not possible to set a component's layout to null
In Razor we used to do something like this:
@{
Layout = null
}

In Blazor we should be able to do something like this:
@layout null
The workaround is to create an EmptyLayout component which is used.

Thanks for the suggestion. Added this to the tracking issue #138


C# -- A call to EditorInterface.Singleton.MarkSceneAsUnsaved() does not work

Godot version
v4.2.beta2.mono.official [f8818f85e]
System information
Godot v4.2.beta2.mono - Windows 10.0.19045 - GLES3 (Compatibility) - Quadro 2000M () - Intel(R) Core(TM) i7-2860QM CPU @ 2.50GHz (8 Threads)
Issue description
In a custom editor tool or plugin, using C#, calling the "EditorInterface.Singleton.MarkSceneAsUnsaved()" does not mark the current scene as unsaved.
Usually, there is an asterisk "*" in the file tab to indicate that the file is unsaved, but it doesn't show up when calling this method.
Steps to reproduce

Create a simple basic editor tool or plugin in C#
Open up a simple scene
Call the method "EditorInterface.Singleton.MarkSceneAsUnsaved();" in the editor tool or plugin
Calling the method has no affect

Minimal reproduction project
N/A

The method does have an effect, attempting to close the project after calling it results in the following dialog:

The Godot window title also changes to add the (*). The only issue is that the scene tabs don't update automatically after calling the method, but doing anything that triggers an update (like opening a new scene) will update the tabs and show the (*).
Also, this is issue is not exclusive to C#, here's an MRP that uses GDScript:
MRP-83769.zip

Thank you for explaining the details of the (*).
Yes, I ran the example GDScript project that you attached and can see when the (*) gets triggered as you have explained.  I also confirm this same behavior with C#, now that I know what to expect.  I can now also see, that the scene was affected, because when trying to close the tab or project, that a dialog popup box is triggered, asking "Save Before Closing".
All this time, I had not even realized that the (*) also shows in the Godot window title, thus I am now aware.
Thank you so much for the quick response, help, and attaching an MRP!


feat: get single file api

API Route: /{stage}/domain/study/{filename}.

In AWS Lambda, additional packages cannot be installed in a single function or application. However, there are two ways to use additional packages in a Lambda function:

Package the library as an AWS Lambda Layer, and use the layer in the function.
Install the library in a custom folder for importing.


For Loops

Not highly related to the article but https://seiya.me/blog/reading-linux-v0.01 made me realize some stuff I forgot about:

loop traverses the list backwards which is not surprising but how to traverse is interesting:

i = NR_TASKS;
p = &task[NR_TASKS];
while (--i) {
    if (!*--p)
        continue;

this is weird because I don't see a comma often:

if ((*p)->state == TASK_RUNNING && (*p)->counter > c)
    c = (*p)->counter, next = i;

This is interesting because they are doing two things in one statement. I've seen people use && statements to do two things at once so maybe a similar idea

I forgot you could do this even though it's so obvious, traverse pointers using for loops instead of just integers

for(p = &LAST_TASK ; p > &FIRST_TASK ; --p)

Comma operator I did see for initialization but nowhere else before:
https://en.wikipedia.org/wiki/Comma_operator


Validate application name on submit

Fixes

https://issues.redhat.com/browse/HAC-1948

Description

The application name was being validated onBlur which is why on first click it would validate and enable the next button. On next click it would change the step.
Updated the validation to validate on submit instead of onBlur.

Type of change

[ ] Feature
[x] Bugfix

Screen shots / Gifs for design review

https://user-images.githubusercontent.com/6041994/181507977-2373e7a2-fd1f-464e-af65-8b7e98e21125.mov
Browser conformance:

[x] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

/retest

/retest

CI passing locally on this branch.


Fixed formatting of examples

Fixed markdown and lint warnings in examples

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks!


Help

I have no idea how to do this, please explain step by step.
I'm new to this

same ive apparently had it installed for months but it wont load my themes and now im stuck using a theme unless i delete it

Go to User settings -> Theme Toggler and switch your themes on and off.
You can also use the .theme [ enable, disable ] [ theme ID ] command.
If your themes don't load make sure that they are under the powercord/src/Powercord/themes folder. You should also check if they are Powercord themes and not for another mod like BetterDiscord.

If you still need help go to the Powercord discord server and ask for help in #plugin-support.


Issue with example

Hello,
Thank you very much for the winderful library.
I am reading this  example from your Docs but the code is not running because you are using:
daily_rest_helper = DailyRESTHelper(     os.getenv("DAILY_API_KEY", ""),     os.getenv("DAILY_API_URL", 'https://api.daily.co/v1'))
but DailyRESTHelper constructor takes an additional argument which is aiohttp_session of type aiohttp.ClientSession
so your code isnt running using pipecat version 0.0.39 not 0.0.41
the below code uses FastAPI and receives http post requests so an aiohttp.ClientSession isnt available, how to run this code? thanks
MAX_SESSION_TIME = 5 * 60  # 5 minutes
List of require env vars our bot requires
REQUIRED_ENV_VARS = [
'DAILY_API_KEY',
'OPENAI_API_KEY',
'ELEVENLABS_API_KEY',
'ELEVENLABS_VOICE_ID']
daily_rest_helper = DailyRESTHelper(
os.getenv("DAILY_API_KEY", ""),
os.getenv("DAILY_API_URL", 'https://api.daily.co/v1'))
----------------- API -----------------
app = FastAPI()
app.add_middleware(
CORSMiddleware,
allow_origins=[""],
allow_credentials=True,
allow_methods=[""],
allow_headers=["*"]
)
----------------- Main -----------------
@app.post("/start_bot")
async def start_bot(request: Request) -> JSONResponse:
try:
# Grab any data included in the post request
data = await request.json()
except Exception as e:
pass
# Create a new Daily WebRTC room for the session to take place in
try:
    params = DailyRoomParams(
        properties=DailyRoomProperties()
    )
    room: DailyRoomObject = daily_rest_helper.create_room(params=params)
except Exception as e:
    raise HTTPException(
        status_code=500,
        detail=f"Unable to provision room {e}")

Hi @sadimoodi, could you try adding this line back to the demo and re-running it? Looks like there's a small bug in the demo.

@sadimoodi did @jamsea's suggestion work?

0.0.41

@sadimoodi did @jamsea's suggestion work?

version 0.0.41 fixes this problem

Thanks for confirming @sadimoodi. Closing this issue.


Get the latest spigot download version/getting the download link

This would be lovely to add, as you can simply make a lot of automatic downloads for loads of resources. This would be so beneficial.

duplicated of #7

Do you know when it’s going to be introduced?

@Olzie-12 please continue discussion and provide a +1 and rationale of your intended use over at #7
thank you


Feature Idea: salve_ipc.proper

Feature report:
Many of the functions that the server uses could be far more optimized but I don't want to mess with the main module because in the future I may rewrite it in Mojo (for fun and because I like the language, not for the speed claims) which is similar to Python and keeping a Python implementation wouldn't hurt. More than just that though, I really like the state of it and I'm proud of the work I've done and the progress I've made making the tools all on my own. That being said, speed is an option I want available to users. I therefore think that #16, #28 and this can all be pushed into one overarching plan to have a submodule that utilizes the proper tools for the job.

To summarize #16 and #28 (will be closed in favor of this issue):

Support tree sitter highlighting but require the user to provide the highlighter and simply make a nicer interface
Support LSP's with sansio_lsp_client borrowing from @Akuli's (soft ping) Porcupine plugin and modifying for ease of use by user. Again, the user will provide the file path for the LSP and this will simply be a nicer interface.

What this will not be:

A repository of LSP and tree sitter files/binaries that centralizes them for convenience. The convenience this provides will be with regard to interfacing these tools, but some assembly is required.

With regards to tree sitter, the library py-tree-sittermay or may not be used. @Akuli (slightly harder ping) has stated apprehensions regarding the library to me and I value his insights so only time will tell how I actually implement this. Also, this will be the main cherry on the v1.0.0 cake so do not be surprised if this takes a long time to actually have implemented.

To any future observers, the milestone was removed from all three issues and then added back to this one to prevent it saying it has been 66% finished when in reality I haven't even begun.

speed is an option I want available

You don't need a fancy new tool like Mojo to get more speed. There are many existing tools that speed up Python a lot. For example: cython, numba, mypyc.
Also, you don't need to speed up all your code. Measure what's slow and work mostly on the bottlenecks. (They are usually not where you expect them to be.)

I'm not saying I want Mojo for speed, I just like the language in that regard. The tree-sitter/LSP support is for speed. I'm fine with the speed of the current parts of Salve but I imagine that it wouldn't be ideal in some situations and I also want to try this challenge, its just proving to be significantly harder than I'd've liked (closer to panic zone than challenge zone).

IDEA:
pygls is a protocol that makes implementing your own Language Server incredibly easy. salve_ipc.proper plans to offer an LSP and Tree-Sitter alternative with a simple API similar to what is already offered. Currently Salve offers the following commands:

autocompletions
replacements
syntax highlighting
editorconfig info
definitions

For some of these commands most of the inputs are already covered by the Language Server Protocol, some not. Salve IPC will already have two different kinds of servers running on the backend (the front end will remain the same no matter what info you are wanting, you will just change a command string from one to another and modify your inputs accordingly) for tree sitter and the client protocol for LSP. The tree-sitter server will likely be based on the existing communication protocol existing and I propose we move, when the tree sitter and LSP sections are stable, the default autocompletions, editorconfig info, and definitions code to that server and then move the replacements and autocompletions functions to a special language agnostic Language Server that acts as a default. After that, we drop the proper and in the backend we are left with two protocols: the custom multiprocessing communications and the LSP communications. Both running from the same frontend that wrangles the backends into shape to give the user an amazing experience.
Detailing this out a bit deeper with regards to the default syntax highlighter and definitions currently in use: these are fall backs when a proper tree sitter syntax highlighter or LSP is not provided by the user. The burden of using nice tools like good LSP's and tree-sitter highlighters falls to them to provide the command line tools that salve interfaces with. Salve is not a repository/hive/hub of tree-sitter highlighters or LSP's, it is a (much) nicer interface to the messy problems presented to people out there right now. It does, however, provide its own defaults if they cannot manage to provide their own solutions.
from salve_ipc import IPC

def main() -> None:
    context = IPC()

    # If none is provided we always default to the basic one of file type "all".
    # NOTE: it will not allow two servers for the same file type and won't open new ones when
    # the same command is provided
    context.add_lsp("ruff server", "python")

    # NOTE: .set_root_folder() and .set_open_file() will become mandatory regardless of if the user
    # specifies a custom/alternative LSP
    # NOTE: if the root folder is changed most state of the context will be lost
    # This means all files are closed and all LSP's closed (preventing UB)
    context.set_root_folder("/path/to/project")

    # NOTE: LSP reads the on its own but the current multiprocessing implementation requires a
    # string so code snippets outside of files can be used.
    # NOTE: Internally context will handle the LSP file opened, file edited, file
    # saved parts
    # The first file added will be set as the current file open by default until a second one
    # is specified manually
    # If we try to add aa file without setting a root folder we set the root folder to be at
    # the same folder of the file added
    context.update_file("some/local.file", open("some/local.file", "r+").read())

    # To maintain LSP compatibility we need to have an open file set before we can request stuff
    # NOTE: setting the open file to one not added will cause all open files to close and all
    # LSP's to be closed before returning an Exception (I would've liked there to be a more
    # graceful alternative but I want to prevent UB and this is the only way to safely warn the
    #  user (I technically could use a logger but I'm not going to force the user to use
    # them)). No open files? We just return the Exception!
    context.set_open_file("some/local.file")

    # The two highlighter options are str ("default") | py_tree_sitter.Parser |
    # py_tree_sitter.Language
    # If the user requests a language not yet added and doesn't choose the default highlighter
    # theres two routes of errors that could be tried: fail silently, return a response
    # labelled cancelled, or throw an error. In the current implementation the server returns a
    # cancelled response but the server could forge one on its own. Failing silently is not
    # something I want to do though. Between throwing an error or the fake cancellation,
    # I'll choose the fake cancellation
    context.request(
        "highlight",
        "some_obscure_language", # Can also be set to "file autodetect" to
        # use whatever language pygments suggests
        highlighter="default",
        text_range=(1, 30)
    )

    # Type 1 of 2:
    # Chooses to request without a specified language (which bypasses the LSP)
    # Because of this the user is required to provide fallback builtin keywords
    context.request("autocompletions", language=None, builtin_keywords=["from", "import", "print"])

    # Type 2 of 2:
    # Chooses to request a specified language which has provided an LSP
    # The fake cancellation deal is the same as before if the language is not a previously given
    # LSP. In the case that the users requests the same thing twice we allow both to proceed to the
    # server and the server will probably cancel it but if the LSP chooses to give both responses
    # we let the user deal with all the responses
    context.request("autocompletions", language="python")

    # We close files to ensure the LSP doesn't waste memory holding the file
    # Double closing does nothing as the server will just return early if its not in the list of
    # files
    context.close_file("some/local.file")

    # We can manually close LSP's
    # Double closing LSP's also does nothing and if its not there it also does nothing like
    # with files
    context.close_lsp("python")

    # Will kill all LSP's and close all files. This is registered with atexit in case the user
    # doesn't do it manually but its always better that the user does it anyway
    # Running the kill ipc a second time will just return and not throw an error as theres nothing
    # to kill
    context.kill_ipc()

if __name__ == "__main__":
    main()

This isn't fully mapped out yet but I think the vision is definitely there and its a promising idea. It would certainly make for a v1.0.0 release. Remember that without all these comments it also fits into this small example:
from salve_ipc import IPC

def main() -> None:
    context = IPC()
    context.add_lsp("ruff server", "python")
    context.set_root_folder("/path/to/project")
    context.update_file("some/local.file", open("some/local.file", "r+").read())
    context.set_open_file("some/local.file")
    context.request(
        "highlight",
        "some_obscure_language", # Can also be set to "file autodetect" to
        # use whatever language pygments suggests
        highlighter="default",
        text_range=(1, 30)
    )
    context.request("autocompletions", language=None, builtin_keywords=["from", "import", "print"])
    context.request("autocompletions", language="python")
    context.close_file("some/local.file")
    context.close_lsp("python")
    context.kill_ipc()

if __name__ == "__main__":
    main()

Which in can sometimes be shortened to just:
from salve_ipc import IPC

def main() -> None:
    context = IPC()
    context.set_root_folder("/path/to/project")
    context.update_file("some/local.file", open("some/local.file", "r+").read())
    context.request("autocompletions", language=None, builtin_keywords=["from", "import", "print"])
    context.kill_ipc()

if __name__ == "__main__":
    main()

Not definitive on this idea but it seems nicer the longer I think about it :D. I get to keep all my custom-made tools and also introduce nicer tools that people generally want all with a very nice interface easily embeddable into editors!

Alternatively, we could keep the custom functions in a the server and keep the new API for the Client side of LSP handling

Crazy idea, but instead of trying to cram all of this into one tool, I can make four separate but similar tools. The three tools would be as follows:

salve (the basic tools but not much customization needed. It "Just Works" and makes everything super simple)
simple-tree-sitter (a nice wrapper around tree-sitter that makes the job easier (combined with the salve-dependency-hub)
py-simple-lsp (a good lsp client that makes the job easy but still requires some work from the user)
py-PEG (a good PEG library thats easy to use and has some builtin grammars)

Then, I can wrap this all under one organization named Salve which mainly prioritizes the development of the Salve package but also maintains the other three.
@leycec, @Akuli, you both have more experience in this domain than I, what do you think of something like this?

I have created and reserved the organization name salve-org as the name Salve is taken by another user. Won't transfer repository until a discussion on this occurs.

Going to go ahead with this as I'm a little impatient and want to keep progress going

#73 is a part of this.

Going to make this part of a salve-org discussion on future plans and remove the stuff albero now covers from the v1.0.0 branch. #74 Will be part of v1.0.0

Closing in favor of Salve Organization Discussion #1


Xcode 14.3 compatibility needed to resolve error: libarclite_iphonesimulator.a file not found

Kronos is a dependency of our SDK we distribute via CocoaPods. When we build an XCFramework using xcodebuild from the 14.3 command line tools and run pod lib lint it fails with the following error:
    Ld /Users/Jordan/Library/Developer/Xcode/DerivedData/App-gskrprtpdpsrsqehhmzigzstrfhu/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/Kronos.build/Objects-normal/x86_64/Binary/Kronos normal x86_64 (in target 'Kronos' from project 'Pods')
        cd /var/folders/4t/7g326jh57pg0k71lf8fbhmf80000gn/T/CocoaPods-Lint-20230615-27046-inia4k-OurFrameworkName/Pods
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target x86_64-apple-ios8.0-simulator -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk -L/Users/Jordan/Library/Developer/Xcode/DerivedData/App-gskrprtpdpsrsqehhmzigzstrfhu/Build/Intermediates.noindex/EagerLinkingTBDs/Release-iphonesimulator -L/Users/Jordan/Library/Developer/Xcode/DerivedData/App-gskrprtpdpsrsqehhmzigzstrfhu/Build/Products/Release-iphonesimulator/Kronos -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/lib/swift -F/Users/Jordan/Library/Developer/Xcode/DerivedData/App-gskrprtpdpsrsqehhmzigzstrfhu/Build/Intermediates.noindex/EagerLinkingTBDs/Release-iphonesimulator -F/Users/Jordan/Library/Developer/Xcode/DerivedData/App-gskrprtpdpsrsqehhmzigzstrfhu/Build/Products/Release-iphonesimulator/Kronos -filelist /Users/Jordan/Library/Developer/Xcode/DerivedData/App-gskrprtpdpsrsqehhmzigzstrfhu/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/Kronos.build/Objects-normal/x86_64/Kronos.LinkFileList -install_name @rpath/Kronos.framework/Kronos -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/Jordan/Library/Developer/Xcode/DerivedData/App-gskrprtpdpsrsqehhmzigzstrfhu/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/Kronos.build/Objects-normal/x86_64/Kronos_lto.o -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/Jordan/Library/Developer/Xcode/DerivedData/App-gskrprtpdpsrsqehhmzigzstrfhu/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/Kronos.build/Objects-normal/x86_64/Kronos.swiftmodule -framework Foundation -Xlinker -no_adhoc_codesign -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/Jordan/Library/Developer/Xcode/DerivedData/App-gskrprtpdpsrsqehhmzigzstrfhu/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/Kronos.build/Objects-normal/x86_64/Kronos_dependency_info.dat -o /Users/Jordan/Library/Developer/Xcode/DerivedData/App-gskrprtpdpsrsqehhmzigzstrfhu/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/Kronos.build/Objects-normal/x86_64/Binary/Kronos
    ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    /var/folders/4t/7g326jh57pg0k71lf8fbhmf80000gn/T/CocoaPods-Lint-20230615-27046-inia4k-OurFrameworkName/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Kronos' from project 'Pods')
    Testing with `xcodebuild`.
 -> OurFrameworkName (5.0.0)
    - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code.
    - NOTE  | [iOS] xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Kronos' from project 'Pods')

Flutter had this same error (issue) and fixed it (pull request) by updating transitive dependencies to a minimum version of at least iOS 9. It seems Kronos needs to do the same. Explained in that PR, it happens because:

Xcode 14.3 (released March 30, 2023) stopped building automatic reference counted (ARC) code targeting < iOS 9 or < macOS 10.11 by removing a libarclite_* library from the toolchain that was needed to link for these older targets.

I also recommend filing issues with any pods you see hitting this to suggest they updated to a minimum of at least iOS 9 and macOS 10.11. For example https://github.com/openid/AppAuth-iOS/pull/761

Thanks for the report, I pushed 4.2.2 with the fixes!


document the grafana queries

hey, this tool looks really cool, so it would be good to get some more info on the setup from the video.

run grafana container
docker run -d -p 3000:3000 --name=grafana grafana/grafana-enterprise
create network
docker network create ga
add both the clickhouse and grafana containers to the network
docker network connect ga trench-clickhouse-1
docker network connect ga grafana
add the clickhouse plugin
host: trench-clickhouse-1
port: 8123
protocol: http
username: user
password: password
add some data for the $pageview event

curl --location 'http://localhost:4000/events' \
--header 'Authorization: Bearer public-d613be4e-di03-4b02-9058-70aa4j04ff28' \
--header 'Content-Type: application/json' \
--data '{
  "events": [
    {
      "userId": "550e8400-e29b-41d4-a716-4466554400",
      "type": "track",
      "event": "$pageview",
      "properties": {
        "totalAccounts": 4,
        "country": "Denmark"
      }
    }]
}'

query is

SELECT
toStartOfHour(timestamp) as time,
count(DISTINCT user_id) as unique_pageviews
FROM "default"."events"
where event = '$pageview'
GROUP BY time
order by time

or the dashboard can be imported as
{
  "__inputs": [
    {
      "name": "DS_GRAFANA-CLICKHOUSE-DATASOURCE",
      "label": "grafana-clickhouse-datasource",
      "description": "",
      "type": "datasource",
      "pluginId": "grafana-clickhouse-datasource",
      "pluginName": "ClickHouse"
    }
  ],
  "__elements": {},
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "11.4.0"
    },
    {
      "type": "datasource",
      "id": "grafana-clickhouse-datasource",
      "name": "ClickHouse",
      "version": "4.5.1"
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "grafana",
          "uid": "-- Grafana --"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "panels": [
    {
      "datasource": {
        "type": "grafana-clickhouse-datasource",
        "uid": "${DS_GRAFANA-CLICKHOUSE-DATASOURCE}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "barWidthFactor": 0.6,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 0
      },
      "id": 1,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "pluginVersion": "11.4.0",
      "targets": [
        {
          "builderOptions": {
            "aggregates": [],
            "columns": [
              {
                "alias": "user_id",
                "custom": false,
                "name": "user_id",
                "type": "String"
              }
            ],
            "database": "default",
            "filters": [],
            "groupBy": [
              "user_id"
            ],
            "limit": 1000,
            "meta": {},
            "mode": "aggregate",
            "orderBy": [],
            "queryType": "table",
            "table": "events"
          },
          "datasource": {
            "type": "grafana-clickhouse-datasource",
            "uid": "${DS_GRAFANA-CLICKHOUSE-DATASOURCE}"
          },
          "editorType": "sql",
          "format": 1,
          "meta": {
            "builderOptions": {
              "aggregates": [],
              "columns": [
                {
                  "alias": "user_id",
                  "custom": false,
                  "name": "user_id",
                  "type": "String"
                }
              ],
              "database": "default",
              "filters": [],
              "groupBy": [
                "user_id"
              ],
              "limit": 1000,
              "meta": {},
              "mode": "aggregate",
              "orderBy": [],
              "queryType": "table",
              "table": "events"
            }
          },
          "pluginVersion": "4.5.1",
          "queryType": "table",
          "rawSql": "SELECT \ntoStartOfHour(timestamp) as time,\ncount(DISTINCT user_id) as unique_pageviews\nFROM \"default\".\"events\" \nwhere event = '$pageview'\nGROUP BY time\norder by time",
          "refId": "A"
        }
      ],
      "title": "Panel Title",
      "type": "timeseries"
    }
  ],
  "schemaVersion": 40,
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "browser",
  "title": "New dashboard",
  "uid": "ee6c3vm4x4dtsb",
  "version": 2,
  "weekStart": ""
}

testing trench.postman_collection.json

This is excellent documentation! Would you mind writing it up on a page in the official docs via a PR? If not I should have some time later this week to do so.

Where in the docs is it best to place it?

@SSmale let's create a new section called "Guides" -- you can create a subfolder with it and add it to the menu via mint.json. Thanks!

@SSmale @christianmat let me know if I could be of any help

@SSmale let us know if you intend to write the docs for this, otherwise @tuminzee can pick it up.

@christianmat happy either way, with the holidays it's a busy time.

@SSmale I can give it a shot. I will prepare a draft of my idea soon. I will need your guidance on this one

I’ve successfully set up Grafana with a simple dashboard for ClickHouse, and it seems to be working fine. As per the linked issue, should I prepare a guide as part of the README, or would a video demo be more appropriate? And where should this be added?
I couldn’t find @SSmale on Slack, so should I ask these clarifications directly here on GitHub, or would it be better to discuss elsewhere? Would continuing the conversation here risk confusing other contributors, or could it provide helpful context about the project?
I’m flexible with how we communicate—just let me know what works best.
attaching ss of grafana dashboard

There is already a video in the readme, that is where I got the steps from. The work for this issue is:

[ ] Create a new section in the docs called 'Guides'
[ ] Create a page for Grafana dashboard
[ ] Copy the original post text
[ ] Format and make it flow as a guide
[ ] Add screenshots
[ ] Add links to the postman collection

@SSmale this is of great help. thanks.
I'll get to it.


[Group] Add chip-tool group command support

Problem
Partial fix of #1818
Change overview
Added chip-tool support to parse user group commands.
KNOWN ISSUE********
Chip-tool can only send group command to group that are already set within his own GroupDataProvider instance.
GroupId must be in NodeId form.
Chip-tool commands to configure itself will come in a following PR.
For now two hardcoded groups exist and can be use for testing purposes.
e.g.
For commands
./out/debug/chip-tool onoff on 0xffffffffffff0101 1
./out/debug/chip-tool onoff on 0xffffffffffff0102 1
For attribute write
/out/debug/chip-tool onoff write on-time 0 0xffffffffffff0101 1
/out/debug/chip-tool onoff write on-time 0 0xffffffffffff0102 1
Testing
Chip-tool running on Darwin with wireshark to sniff outgoing multicast messages.

Looks like Persistent storage is failing in the test build. Looking for a fix


it's bad ! how to include files to work

so sad!
I need include many files and file path is not clean

This script automatically loads language files it requires. You don't need to manually include anything. Can you explain in a bit more detail what's going on?

I'm closing this issue. Feel free to open it if you can provide more feedback.


Aggregate Row

Hi ratiw! Thanks for making and continuing to support vue-table.
Is it possible to have one row at the top of the table that calculates aggregate data from the other rows?
Let's say I had a table for students that had a column for name and another for the number of classes that student is taking.
Could I have my first row use the name column to populate the total number of students and the classes column to show how many classes the average student takes (e.g. 4 students taking 18 classes total, so the first row would show 4.5 in the classes column).
I'm using an external API so I can't incorporate that functionality on the server side without creating an intermediate layer.

@isaacmillercodes Sorry, it is not possible.


feat: remove type annotation for context param in meltano_install op

The OpExecutionContext type annotation in meltano_install is raising errors like that when running with dagster >=1.5.0

This is expected as 1.5.0 introduces some breaking changes in that area. See release notes:

https://github.com/dagster-io/dagster/releases/tag/1.5.0

When type hint is remove, dagster loads fine.

please review that PR

Published a new version!

I'm still getting that error, i suppose we should also remove that type annotation. Thus it worked in my local


phobos on ruby 3.1

I'm seeing the following error:
/Users/me/.rvm/rubies/ruby-3.1.0/lib/ruby/3.1.0/psych.rb:323:in `safe_load': wrong number of arguments (given 4, expected 1) (ArgumentError)
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/gems/phobos-2.1.0/lib/phobos.rb:117:in `read_configuration'
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/gems/phobos-2.1.0/lib/phobos.rb:111:in `fetch_configuration'
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/gems/phobos-2.1.0/lib/phobos.rb:57:in `configure'
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/gems/phobos-2.1.0/lib/phobos/cli/start.rb:20:in `execute'
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/gems/phobos-2.1.0/lib/phobos/cli.rb:61:in `start'
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/gems/phobos-2.1.0/bin/phobos:10:in `<top (required)>'
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/bin/phobos:25:in `load'
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/bin/phobos:25:in `<main>'
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/bin/ruby_executable_hooks:22:in `eval'
	from /Users/sdahlbacka/.rvm/gems/ruby-3.1.0/bin/ruby_executable_hooks:22:in `<main>'

As far as I can tell, the issue is that signature for YAML.safe_load has changed between 3.0 and 3.1 from:
https://ruby-doc.org/stdlib-3.0.0/libdoc/psych/rdoc/Psych.html#method-c-safe_load
to
https://ruby-doc.org/stdlib-3.1.0/libdoc/psych/rdoc/Psych.html#method-c-safe_load

Ouchie! Thanks for the heads up. PRs are welcome, not sure if I'll have time to fix in the immediate term.

Likely not - earlier Rubies should just interpret the keyword arguments as an option hash and pass it correctly to the method. But we'd have to experiment to make sure.

Unfortunately it does not look to be that simple.
I tested with the following diff on 2.5.1
index 558ca1a..d4694d8 100644
--- a/lib/phobos.rb
+++ b/lib/phobos.rb
@@ -90,9 +90,9 @@ module Phobos
         ERB.new(
           File.read(File.expand_path(configuration))
         ).result,
-        [Symbol],
-        [],
-        true
+        permitted_classes: [Symbol],
+        permitted_symbols: [],
+        aliases: true
       )
     end

All tests fail with:

   Failure/Error:
     YAML.safe_load(
       ERB.new(
         File.read(File.expand_path(configuration))
       ).result,
       permitted_classes: [Symbol],
       permitted_symbols: [],
       aliases: true
     )

   ArgumentError:
     unknown keywords: permitted_classes, permitted_symbols, aliases
   # ./lib/phobos.rb:89:in `read_configuration'
   # ./lib/phobos.rb:83:in `fetch_configuration'
   # ./lib/phobos.rb:40:in `configure'
   # ./spec/spec_helper.rb:49:in `block (2 levels) in <top (required)>'

Yeah looks like we're going to have to check the version of the Psych gem to get this working correctly.

Confirmed that these parameters were added in Psych 3.1.0. So anything older than that will crash. I'll put in a PR to fix this.


add name/email/affilation timed relation extraction to notebook, see …

This PR addresses #25 and #367
Currently just an implementation in a notebook, but it can be moved to the library if it looks more generally useful.
The main insight here is with respect to the data format for this relational data as per #367
The IETF attendance data is mined for three tables data, with the following columns:

(A) full_name, affiliation, min_date, max_date
(B) email, affiliation, min_date, max_date
(C) full_name, email, min_date, max_date

Table B can then be used directly to solve issue #25 : for each email/timestamp in the email data, look up up the email on table B for its affiliation. If there is more than one row, find the row with the best matching time duration.
[Writing this matching script is another TODO for this PR]
Of course, a similar analysis could be done using (A) and matching on full names, though this is likely to have more noise than the free text name entry. The other data is extracted for completeness and to support further downstream entity resolution on names, email addresses, and affinities.
If this approach gets approval, then there are a few remaining issues for this PR:

[ ] The matching script from table B to a mailing list
[ ] Work in (optional?) entity resolution on affiliations
[ ] Move these functions into the library
[ ] Automated tests?

Codecov Report

Merging #536 (915e0bc) into main (359efa5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #536   +/-   ##
=======================================
  Coverage   74.83%   74.83%
=======================================
  Files          22       22
  Lines        3052     3052
=======================================
  Hits         2284     2284
  Misses        768      768

Flag
Coverage Δ

unittests
74.83% <ø> (ø)

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

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 359efa5...915e0bc. Read the comment docs.

I think this is great work and we should follow this approach.
And the inference from the available data points to dates that are not explicitly represented in the data  that is implemented is fine for now, until we see that we need to improve it...

I'm not sure how to go about automated tests for functionality that wraps the IETF DataTracker, as that pings an external service and can run rather slowly.

Tests are passing.
As I mentioned, I'm not sure the best way to proceed with testing of fucntionality that wraps the Glasgow IETF datatracker tool...
The notebook shows how to use the IETF attendance data to fill in affiliations for an archive.
It has some functions in it that could potentially be moved to the library.
For now, I'll request a review of this current work.

Automated test for merging affiliation into Archive data is in. Request review from @Christovis


KISS, DRY, YAGNI

Keep it Simple, Stupid
This code block is unnecessary https://github.com/forLoop94/To-do-list/blob/2b2546823ab36c7c213f2ac210c9f370685715dd/src/index.js#L48
The conditions for checkbox.checked have been efficiently handled by the change function

YAGNI
You Aren't Gonna Need It. Don't add anything you don't strictly need.
https://github.com/forLoop94/To-do-list/blob/2b2546823ab36c7c213f2ac210c9f370685715dd/src/styles.css#L131


feat: Report proxy settings

Report presence of proxy settings to project:open telemetry.

:tada: This PR is included in version 0.125.0 :tada:
The release is available on:

v0.125.0
v0.125.0
GitHub release

Your semantic-release bot :package::rocket:


v3.8.0 release

Summary
We're going to release v3.8.0 soon.
The release note draft:
* New features / improvements:
  * Fix #759 #1109 #1110 by adding custom properties in ReceiverEvent and Context objects (#1177) - Thanks @seratch!
  * Fix #860 Enable developers to customize the built-in receivers more (#1183) - Thanks @seratch!
  * Fix #1181 Add port property to installerOptions in the HTTPReceiver (#1184) - Thanks @seratch @M1kep!
  * Add port property to installerOptions in the HTTPReceiver (#1181) - Thanks @srajiang!
  * Add context to global error handler (#525) - Thanks @raycharius!
  * Fix #1098 next() is optional in middleware in TypeScript (#1099) - Thanks @seratch!
  * Fix #1148 - Adjust the app.message listener interface in TypeScript to compile the examples in documents (#1185) - Thanks @M1kep!
  * BlockAction interface does not include state despite state being present in actual object (#1141 #1144) - Thanks @seratch @Richard-PTT!
  * Add more information to unhandled incoming request logging (#1143) - Thanks @misscoded!
  * Bump axios version to 0.21.2 or higher for better security (#1162) - Thanks @xmariopereira!
* Document updates:
  * Japanese document updates (#1047 #1152 #1131 #1154 #1165 #1163 #1166 #1169 #1175) - Thanks @wongjas!
  * Fix the logging example so that it is valid JS (#1172 #1174) - Thanks @filmaj!
  * Fix documentation about state verification option (#1168) - Thanks @stophecom!
  * Fix call in AWS handler to match example (and be correct) (#1190) - Thanks @sirctseb!
  * using directMention() documentation doesn't seem to be correct in docs (#1148) - Thanks @O-Mutt!
  * Clarify /slack/events path requirement (#1153) - Thanks @mars!
  * Update Japanese docs to apply token rotation (#1009) changes (#1014) - Thanks @misscoded!
  * Update slugs in document pages (#1161) - Thanks @srajiang!
  * Japanese document updates (#1067 #1137) - Thanks @seratch!
  * Minor updates related to #1046 (#1047) - Thanks @seratch!

Here is the list of all the issues / pull requests included in the release: https://github.com/slackapi/bolt-js/milestone/15?closed=1

Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

@srajiang Thanks for the correction of the release note! As for the mocha update, it affects only bolt-js's tests, not the user side. Thus, we don't need to mention it in the release notes.


Remove ErrorWrapper

What problem does this feature solve?
ErrorWrapper is returned only in wrapper.find. I think there is no benefit of using it over returning null.
What does the proposed API look like?
wrapper.find returns null (or undefined) when no item is found, similarly to #Array.prototype.find

The benefit of an ErrorWrapper is to handle errors where find or findAll are unsuccessful, so that users get clear error messages, instead of type errors.
There is already a way to check that an element doesn't exist, using the exists method
I don't see the benefit of returning null, when we can handle the error for users instead.

The benefit is the error handling. It's the difference between:
Uncaught TypeError: Cannot read property 'trigger' of null
and:
find did not return .some-class, cannot call trigger() on empty Wrapper

I've found it difficult to agree with this. Let's say you have spec:
it('should have correct title', () => {
    expect(wrapper.find('.item').text()).to.equal('Example title');
});

When this spec fails, you'll get output like for example:
some-component
    should have correct title
       Error: [vue-test-utils]: find did not return .item, cannot call text() on empty Wrapper
         at components/some-component.spec.js:25:15

After remove ErrorWrapper it would be:
it('should have correct title', () => {
    expect(wrapper.find('.item').text()).to.equal('Example title');
});
------------------------------------------------------------------------------
some-component
    should have correct title
       Error: Uncaught TypeError: Cannot read property 'text' of null
         at components/some-component.spec.js:25:15

I don't see why find did not return .item, cannot call text() on empty Wrapper message may be helpful for developer to debug why spec fails.

Works for me:
const DOM = wrapper.find("#id");
expect(DOM.exists()).toBe(false);


Request: A6000 Disabling flash in Manual mode while open (for Diving)

When shooting the A6000 underwater in a housing, in order to get back to ambient light photography, the flash needs to be disabled to force the camera to shoot in ambient light. Right now there is no way to do this because obviously cannot manually push back the flash when using an underwater case.
While the flash is open the option is there to disable it, but its greyed out/ not available.
Is there any solution for this?
Thanks for your time.

This would be really useful and turn the a6x00 series from meh to very good for budget uv photography.


Ipad pro is showing "desktop" version

I have a customer that uses the iPad pro, he has an issue when selecting selectric will cause the keyboard to show up.
He shared a screenshot with us, but I can see it is showing the "desktop" selectric and does not use the native select.

I came across the same issue. Setting .selectric-input to readonly prevents the keyboard from popping up, and it doesn't seem to cause any issues on other platforms so far. I added this right after initializing selectric.
$('input.selectric-input').attr('readonly', true);


Create template for challenge Github issue post

I imagine this will look a little different than the project template!
I think we should ask participants to title the Github issue as their "how might we statement"?
And then have some metadata (project/challenge, issue area, region—if the problem statement is regional-specific)
Then, to give some context around the problem - what exactly do they mean, what is some context around how the problem arise or why it feels relevant to them so folks start on the same page.

cover in #10 ?

here's the form for submitting challenges: https://docs.google.com/forms/d/e/1FAIpQLScliEFPRWlvtn0LoK6-1OejaYLz6OwKMd00jFdsMjQRQTlM1A/viewform

I think we should ask participants to title the Github issue as their "how might we statement"?

Yes, this is in
And then have some metadata (project/challenge, issue area, region—if the problem statement is regional-specific)

This is in the issue template as is

Then, to give some context around the problem - what exactly do they mean, what is some context around how the problem arise or why it feels relevant to them so folks start on the same page.

This is now part of the template's suggested things to talk about.
Generally, I don't think we've quite cracked this yet, in the current template it feels like there could be space for misunderstanding and duplication but at the same time I think we need to see how it's used before we'll really know.
I'm going to close for now, I think it's good enough for feedback, and we'll discuss and move forwards with some info from users in hand.


feat(startup): add commandline params support

required for heroku

Is this a WIP or ready for merge?

it's ready for merge

Wait a second. Probably, it isn't required.

Nope. Sems like it's required.


test

please disregard

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

ID: 45daf2f0-bb22-338f-062b-a9fabcb71a92
Version Independent ID: b6e909fe-15d9-c1cf-c018-d4f6f36ff31f
Content: Download SQL Server Management Studio (SSMS) - SQL Server
Content Source: docs/ssms/download-sql-server-management-studio-ssms.md
Product: sql
Technology: ssms
GitHub Login: @dnethi
Microsoft Alias: dinethi

@almostrealchris Please comment below if you have any issues.


Update using-signalr-performance-counters-in-an-azure-web-role.md

@guardrex  can't use character entity references in bold, it confuses the MT (machine translation).
part of #5348

@guardrex  closing. I like all your suggestions but I'll let you fix this one :) Probably easier to start over.

@Rick-Anderson I'll make a note and square it away.


Display memory used (estimate) in script/transaction logs

Description
Adding this information to the logs, is a good first step in allowing Flow builders to gain some insight on profiling metrics of their contracts/scripts/transactions.

For contributor use:

[x] Targeted PR against master branch
[x] Linked to GitHub issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the GitHub PR explorer
[x] Added appropriate labels

The output will be something like this:

Codecov Report

Merging #366 (fd1f552) into master (f5a1a31) will increase coverage by 0.45%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #366      +/-   ##
==========================================
+ Coverage   47.08%   47.54%   +0.45%
==========================================
  Files          26       26
  Lines        3396     3418      +22
==========================================
+ Hits         1599     1625      +26
+ Misses       1665     1662       -3
+ Partials      132      131       -1

Flag
Coverage Δ

unittests
47.54% <71.42%> (+0.45%)
:arrow_up:

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

Impacted Files
Coverage Δ

types/result.go
29.62% <ø> (ø)

server/backend/backend.go
45.92% <50.00%> (+0.03%)
:arrow_up:

blockchain.go
68.13% <100.00%> (+1.04%)
:arrow_up:

convert/vm.go
80.00% <100.00%> (+1.05%)
:arrow_up:

... and 4 files with indirect coverage changes


ImportError: cannot import name 'Model'

When running dnn.py
I'm getting an error as follows:
Using TensorFlow backend.
Traceback (most recent call last):
File "dnn.py", line 11, in
from . import Model
ImportError: cannot import name 'Model'

how to fix this problem?

Install the package and try running the example again.


Can't delete object in array in angular meteor object

Hello,
I've built an application that makes heavy use of the angular meteor object.  I have run into a situtation, however, that is not good at all.  I have a model such that each angular-meteor object is composed of a couple fields, one of which is an array of objects.  When I add objects to that array, then save, I have no issue.  When I try to delete one of them, however, there is an error:
Cannot update 'customFields.4' and 'customFields' at the same time [409]

In the above example, customFields is the name of my array of objects that is contained in the main angular-meteor object.  I opened up the Websocket, and found the query that was running below:
[
"{"msg":"method","method":"/mainCategory/update","params":[{"_id":"PwFekmRzdWX9jvhy6"},{"$unset":{"customFields.4":true},"$pull":{"customFields":null}},{}],"id":"3"}"
]

It looks like it is correctly trying to remove the 4th object in the customFields array, yet for some reason is also trying to run a $pull as well.  Any idea why this might be happening, and what I can do to fix it?

Looks like this is addressed here:
https://github.com/Urigo/angular-meteor/issues/763


Add Atomic::new(value) ?

Currently Atomic::null() exists, but it'd also be nice to have Atomic::new(value) when it exists.

Fixed by #35

This can be closed.


How can I get index of the current card

function onSwipeLeft, onSwipeRight only provide Card parameter to pass. How to get the current card index though? I don't know how to leverage this function. Thank you

Hello @nferdazel, thank you for opening this issue! You are correct that currently onSwipeLeft and onSwipeRight only take in the Card as a parameter. If you want to get the index of the current card in those functions, I recommend creating a class that extends the Card class and adds an index property that you set when the cards are created. Then you can access this property of the Card parameter in those functions. There might be other ways to accomplish this, but this is the first one I could think of. I'm also open to adding the index as a parameter for those functions, I can see how that would be useful. If you want, you can open a pull request with the change required to do that, otherwise I can look into it.

@jushutch Thank you for providing the workaround regarding my question. I'm quite new into this field and not yet confident to open any pull request, but I will try to implement the solution. Once again, thank you

Hi @nferdazel, I just published pre-release v2.0.0-dev.0 which resolves this issue! To read about the new feature, checkout out Pull Request #26. You can use the new cardsSwiped parameter in the onSwipe callback functions, which can be used to determine the current index of the deck. Let me know if you have any questions about this change! To use the pre-release version with this feature, just change your pubspec.yaml to:
swiping_card_deck: 2.0.0-dev.0

Feel free to leave feedback on this change and let me know if you have any suggestions before I release it in v2.0.0. Thank you again for opening this issue!

Hi @nferdazel, I just published pre-release v2.0.0-dev.0 which resolves this issue! To read about the new feature, checkout out Pull Request #26. You can use the new cardsSwiped parameter in the onSwipe callback functions, which can be used to determine the current index of the deck. Let me know if you have any questions about this change! To use the pre-release version with this feature, just change your pubspec.yaml to:
swiping_card_deck: 2.0.0-dev.0

Feel free to leave feedback on this change and let me know if you have any suggestions before I release it in v2.0.0. Thank you again for opening this issue!

Hello, this is awesome! Thank you very much for updating the package, I will try this ASAP and give you feedback.

Hi @nferdazel, I just published pre-release v2.0.0-dev.0 which resolves this issue! To read about the new feature, checkout out Pull Request #26. You can use the new cardsSwiped parameter in the onSwipe callback functions, which can be used to determine the current index of the deck. Let me know if you have any questions about this change! To use the pre-release version with this feature, just change your pubspec.yaml to:
swiping_card_deck: 2.0.0-dev.0

Feel free to leave feedback on this change and let me know if you have any suggestions before I release it in v2.0.0. Thank you again for opening this issue!

Hi @jushutch, I hope you great day. I just want to confirm/follow up that the index parameter works well for me. Thank you for the hard work, and sorry for the late response. I just have the chance to try the changes today.


feat: fixed for the issue (#9)

1. Description

1.1. Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[x] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[x] I have updated/added relevant examples in examples.

1.2. Breaking Change

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

1.3. Related Issues

bors merge

Codecov Report

Merging #105 (57ff33c) into main (2976cc4) will increase coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #105      +/-   ##
==========================================
+ Coverage   69.88%   70.01%   +0.12%
==========================================
  Files          97       97
  Lines         943      947       +4
==========================================
+ Hits          659      663       +4
  Misses        284      284

Impacted Files
Coverage Δ

...b/src/service/v1/accounts/accounts_v1_service.dart
97.80% <100.00%> (+0.04%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


MSOutput: perform custodial data placement

Impact of the new feature
ReqMgr2MS
Is your feature request related to a problem? Please describe.
MSOutput needs to have the ability to make custodial data placement as well, which means, make transfer requests against MSS/Tape endpoints.
Describe the solution you'd like
This development depends on:
https://github.com/dmwm/WMCore/issues/9841
then we should resume the data placement implementation and adapt whatever is needed to subscribe data against the long term storage (MSS/Tape).
For DDM data transfers, it seem we need to find out the final location in the MSOutput, thus requesting DDM to move data under a specific location.
For Rucio data transfers, it could be that we just need to provide a Tape expression, and let Rucio handle the final location. Needs to be discussed and investigated though.
The general policy we discussed during the Rucio transition meeting was as follows:
a. Use the API / Eric’s logic to pick the tape RSE in MSOutput as  mentioned in this issue: https://github.com/dmwm/WMCore/issues/9842#issuecomment-672194619 . The MSOutput should decide where the final destination (the site to which the tape request is made) for the dataset based on the quota and usage for all those.
b. Create the Rucio rule / DDM transfer request for the output datasets (rucio container) before the workflow gets announced (thus, when it's in closed-out state).
c. The Rucio rule should be deleted manually (eventually by Nick)
Describe alternatives you've considered
none
Additional context
To be worked once this one has been implemented: https://github.com/dmwm/WMCore/issues/9841

I believe there will remain a need for a per-campaign custodial RSE expression in Rucio, the motivation being HI campaigns which often are to be only archived at FNAL. A default custodial RSE expression could be simply type=TAPE, letting Rucio balance the data as appropriate.
As @ericvaandering pointed out, the approval mechanism may create obstacles for using simple RSE expressions to match all tape sites.

Today we decided that the best way to do this would be to write a little function to select a Tier1 for us based on the the quota. Here is a little piece of code which implements the algorithm. If you tell me where you want it and which API you want to call it with, I will make a PR for @todor-ivanov
It does need quotas as inputs which don't exist on Tape right now (and probably wants available space instead of quota), but that should be simple to adapt to. But the basics should be there.
https://github.com/ericvaandering/CMSRucio/blob/weighted_rucio_choice/src/pick_rse.py

One item that still needs to be decided is, whether we pick one Tape RSE per workflow or one Tape RSE per output dataset.
Nick/Eric, please let us know if you have any preference here.

I have no opinion on this

Let's go with the current behavior, namely per-workflow tape destination.

For the tape locking, we likely want to check whether a rule against tape already exists (be it the same Tape or any other tape endpoint).. If it does, then we should definitely not make another one.


Activating extension fails

Issue Type: Bug
I have fairly new installation of Garuda Linux (KDE Plasma DE) and wanted to use LiveShare today for the first time on it. After installing the extension, the usual LiveShare icon did not show up on the bottom bar.
When trying to initiate any LiveShare operation from the menu (like starting normal or readonly session, or joining, etc.) I get an error, that the given command does not exists:
"Command 'Live Share: Start Collaboration Session (Share)' resulted in an error (command 'liveshare.start' not found)"
Reinstalling or using the "Repair Installation" option does not solve the issue.
Log from Extension Host:
[2022-05-15 14:57:04.147] [exthost] [error] Activating extension ms-vsliveshare.vsliveshare failed due to an error:
[2022-05-15 14:57:04.147] [exthost] [error] Error: Agent terminated with exit code: 0 and signal null: Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
at System.Environment.FailFast(System.String)at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
at System.Globalization.GlobalizationMode..cctor()
at System.Globalization.CultureData.CreateCultureWithInvariantData()
at System.Globalization.CultureData.get_Invariant()
at System.Globalization.CultureInfo..cctor()
at System.String.ToLowerInvariant()
at System.Text.EncodingHelper.GetCharset()
at System.Text.EncodingHelper.GetEncodingFromCharset()
at System.ConsolePal.GetConsoleEncoding()
at System.Console+<>c.<get_OutputEncoding>b__19_0()
at System.Threading.LazyInitializer.EnsureInitializedCore[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func1<System.__Canon>)    at System.Threading.LazyInitializer.EnsureInitialized[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func1<System.__Canon>)
at System.Console.get_OutputEncoding()
at System.Console.CreateOutputWriter(System.IO.Stream)
at System.Console+<>c.<get_Out>b__26_0()
at System.Threading.LazyInitializer.EnsureInitializedCore[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func1<System.__Canon>)    at System.Threading.LazyInitializer.EnsureInitialized[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func1<System.__Canon>)
at System.Console.get_Out()
at Microsoft.Extensions.CommandLineUtils.CommandLineApplication..ctor(Boolean)
at Microsoft.Cascade.Agent.Program..ctor()
at Microsoft.Cascade.Agent.Program.Main(System.String[])
at ChildProcess. (/home/pusztai/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.5561/src/abstractions/node/agent.ts:303:32)
at ChildProcess.emit (node:events:402:35)
at maybeClose (node:internal/child_process:1064:16)
at Socket. (node:internal/child_process:450:11)
at Socket.emit (node:events:390:28)
at Pipe. (node:net:687:12)
Extension version: 1.0.5561
VS Code version: Code 1.67.1 (da15b6fd3ef856477bf6f4fb29ba1b7af717770d, 2022-05-06T12:39:22.915Z)
OS version: Linux x64 5.17.5-zen1-1-zen
Restricted Mode: No

System Info

Item
Value

CPUs
AMD Ryzen 5 1600X Six-Core Processor (12 x 3600)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
0, 1, 1

Memory (System)
15.64GB (0.41GB free)

Process Argv
--unity-launch --crash-reporter-id 3681a375-c08e-4acf-adad-2f0571e0913d

Screen Reader
no

VM
0%

DESKTOP_SESSION
plasma

XDG_CURRENT_DESKTOP
KDE

XDG_SESSION_DESKTOP
KDE

XDG_SESSION_TYPE
x11

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebugcf:30475217
vsclangdf:30486550

I'm seeing this as well.

The same error popped up for me several days ago. Live share worked prior to this.
Activating extension 'ms-vsliveshare.vsliveshare' failed: Agent terminated with exit code: 0 and signal null: Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
   at System.Environment.FailFast(System.String)at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
   at System.Globalization.GlobalizationMode..cctor()
   at System.Globalization.CultureData.CreateCultureWithInvariantData()
   at System.Globalization.CultureData.get_Invariant()
   at System.Globalization.CultureInfo..cctor()
   at System.String.ToLowerInvariant()
   at System.Text.EncodingHelper.GetCharset()
   at System.Text.EncodingHelper.GetEncodingFromCharset()
   at System.ConsolePal.GetConsoleEncoding()
   at System.Console+<>c.<get_OutputEncoding>b__19_0()
   at System.Threading.LazyInitializer.EnsureInitializedCore[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Threading.LazyInitializer.EnsureInitialized[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Console.get_OutputEncoding()
   at System.Console.CreateOutputWriter(System.IO.Stream)
   at System.Console+<>c.<get_Out>b__26_0()
   at System.Threading.LazyInitializer.EnsureInitializedCore[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Threading.LazyInitializer.EnsureInitialized[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Console.get_Out()
   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication..ctor(Boolean)
   at Microsoft.Cascade.Agent.Program..ctor()
   at Microsoft.Cascade.Agent.Program.Main(System.String[]).

On Linux, this seems to be an issue regarding a missing library libicu**. Some have reported that on Ubuntu it will be:
$ sudo apt update && sudo apt install libicu63 # version 63 might not be your distro's default

On Arch, I did a paru libicu and ended up installing libicu50-50.2-1 from the AUR and it worked fine after that.

On Linux, this seems to be an issue regarding a missing library libicu**. Some have reported that on Ubuntu it will be:
$ sudo apt update && sudo apt install libicu63 # version 63 might not be your distro's default

On Arch, I did a paru libicu and ended up installing libicu50-50.2-1 from the AUR and it worked fine after that.

Can confirm, this is a working solution for me as well

We’ve made improvements in this area since this issue was filed (i.e. the vsls-agent process and associated .NET/Linux dependencies have been removed). We believe this may have improved your experience and are closing this issue. If this issue still persists for you, please comment on the issue and let us know. Thank you.


TypeError: Cannot assign to read only property totalFilled of object [object Array]

orderStatus is readonly for some reason and because of that can't buy nft on polygon

Could you show code to reproduce it (maybe on codesandbox)?

https://gist.github.com/sk1122/42405d40ecd072b3e80cc7cb723a3da9
you can try this gist, order.buy function is failing

best solution is to change this from const to let

@sk1122 my question is how do you get a "orderId" to pass to createNftBuyOrder function in the first place?
as in the SDK page mentioned you can use order.buy after you call findOrderById(orderId) on line 3 and let the user directly complete the transaction.

That is internal orderId and that function is also internal

@ex1st0r could you mention the framework you're using and past the exact code you coded for the "buy nft on polygon"

+1, Did someone try how to solve this problem ?

Does anyone experience this?
We don't see these exceptions anymore in our logs
Closing the issue. Feel free to reopen if you experience this issue


Error for the distance matrix

Hello,
I am trying to use the distance matrix to get the estimated distance between 2 addresses.
My Composer looks like this:
    "egeloen/google-map-bundle": "~2.2",
    "willdurand/geocoder": "*",
    "widop/http-adapter-bundle": "1.1.*",
    "widop/http-adapter": "~1.0.0"

I am receiving the following error:
FatalErrorException: Error: Call to a member function getStatusCode() on a non-object in /var/www/.../vendor/egeloen/google-map/src/Services/AbstractService.php line 259
The config file looks like this:
distance_matrix:
    # Enable the service
    enabled: true

    # Your own directions class
    #class: "My\Fucking\DistanceMatrix"

    # The http adapter
    adapter: "widop_http_adapter.curl"

    # The Directions API URL
    url: "http://maps.googleapis.com/maps/api/distancematrix"

    # TRUE if the service uses HTTPS else FALSE
    https: false

    # The format used (json or xml)
    format: "json"

distance_matrix_request:
    # Your own distance matrix request class
    #class: "My\Fucking\DirectionsRequest"

    # TRUE if the distance matrix should avoid highways else FALSE
    # By default there is no avoid highways.
    avoid_highways: false

    # TRUE if the distance matrix should avoid tolls else FALSE
    # By default there is no avoid tolls.
    avoid_tolls: false

    # The region used to filter the distance matrix results.
    # By default there is no region.
    region: "us"

    # The language used for this request.
    # By default there is no language.
    language: "en"

    # The travel mode used to filter distance matrix results.
    # By default there is no travel mode.
    travel_mode: "DRIVING"

    # The unit system used.
    # By default there is no unit system.
    unit_system: "IMPERIAL"

    # Indicates whether or not the directions request comes from a device with a location sensor
    # By default, the sensor is false
    sensor: false

Any Ideas?

This has been fixed in #159 but will only be part of the 3.x version of the bundle.


Sort complaint about expecting a BSON object in some environments

In some environments, sort is perfectly happy with an array like this:
@db[:requests].find(@criteria, :sort => [{'updatedat': -1}])
In some other environments, sort complains that it can only accept a BSON object, so we have to change it to this:
@db[:requests].find(@criteria, :sort => {'updatedat': -1})

This commit https://github.com/redknitin/Helpdesk/commit/52b77e5d8f90e9ef13944e9e3bb771265785971e uses a BSON object so it ought to work in all environments


Support extendability for UI components in My Account

Is your suggestion related to an experience ? Please describe.

Currently, the extendability for UI components is supported by the Console app, but it's not supported in the My Account app.
Describe the improvement

The below extensions should be supported in My Account

[ ] extending menu items
[ ] extending components (widgets)
[ ] overriding components
[ ] show/hide components

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Update friction parameters for skid steer example

🦟 Bug fix
Fixes #2174
Summary
As shown in #2174, the vehicle seems to rotate around the center of the rear axle instead of the center of the vehicle. The new friction parameters, which I copied from the examples/worlds/diff_drive.sdf, seem to fix the issue.
@jasiex01  can you give this a try?
Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.
🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

Everything works as expected now, closing the issue


Crash when used with more layers

Dynamic trees works well on it's own and so does more layers. But when used together Minecraft crashes on start up. Here is the crash:
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 5/10/18 8:55 AM
Description: Initializing game
java.lang.ExceptionInInitializerError
at com.ferreusveritas.dynamictrees.DynamicTrees$RegistrationHandler.newRegistry(DynamicTrees.java:128)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4_RegistrationHandler_newRegistry_NewRegistry.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.registries.GameData.fireCreateRegistryEvents(GameData.java:714)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:633)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:270)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:466)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:377)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.NullPointerException
at morelayers.networking.KeybindProvider.(KeybindProvider.java:15)
at morelayers.EventHandler.attachCapability(EventHandler.java:130)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_13_EventHandler_attachCapability_AttachCapabilitiesEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.event.ForgeEventFactory.gatherCapabilities(ForgeEventFactory.java:657)
at net.minecraftforge.event.ForgeEventFactory.gatherCapabilities(ForgeEventFactory.java:639)
at net.minecraft.item.ItemStack.forgeInit(ItemStack.java:1216)
at net.minecraft.item.ItemStack.(ItemStack.java:112)
at net.minecraft.item.ItemStack.(ItemStack.java:98)
at net.minecraft.item.ItemStack.(ItemStack.java:95)
at net.minecraft.item.ItemStack.(ItemStack.java:90)
at com.ferreusveritas.dynamictrees.trees.Species.(Species.java:127)
at com.ferreusveritas.dynamictrees.trees.Species$1.(Species.java:70)
at com.ferreusveritas.dynamictrees.trees.Species.(Species.java:70)
... 16 more
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Client thread
Stacktrace:
at com.ferreusveritas.dynamictrees.DynamicTrees$RegistrationHandler.newRegistry(DynamicTrees.java:128)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4_RegistrationHandler_newRegistry_NewRegistry.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.registries.GameData.fireCreateRegistryEvents(GameData.java:714)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:633)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:270)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:466)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:377)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 191034024 bytes (182 MB) / 369098752 bytes (352 MB) up to<PHONE_NUMBER> bytes (1024 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge <IP_ADDRESS>80 7 mods loaded, 7 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
| State | ID           | Version      | Source                        | Signature                                |
|:----- |:------------ |:------------ |:----------------------------- |:---------------------------------------- |
| UC    | minecraft    | 1.12.2       | minecraft.jar                 | None                                     |
| UC    | mcp          | 9.42         | minecraft.jar                 | None                                     |
| UC    | FML          | <IP_ADDRESS>    | forge-1.12.2-<IP_ADDRESS>80.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UC    | forge        | <IP_ADDRESS>80 | forge-1.12.2-<IP_ADDRESS>80.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UC    | dynamictrees | 1.12.2-0.7.6 | DynamicTrees-1.12.2-0.7.6.jar | None                                     |
| UC    | geolosys     | 1.9.1        | Geolosys-1.12.2-1.9.1.jar     | None                                     |
| UC    | morelayers   | 1.2.0        | More+Layers+1.2+(1.12.2).jar  | None                                     |

Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build <IP_ADDRESS>42' Renderer: 'Intel(R) HD Graphics 4400'
Launched Version: 1.12.2-forge1.12.2-<IP_ADDRESS>80
LWJGL: 2.9.4
OpenGL: Intel(R) HD Graphics 4400 GL version 4.3.0 - Build <IP_ADDRESS>42, Intel
GL Caps: Using GL 1.3 multitexturing.

Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs:
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 4x Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz

I'm the creator of More Layers so if I need to update my mod I will but I think the problem is from your side as my mod works on it's own.

Where's your source code?

Uploaded it now: https://github.com/MCrafterzz/morelayers

Thank you for that.  Can you do me a favor and test it with Dynamic Trees 0.7.7c?  I've done a lot of changes recently and it would make the crashlog much more relevant.

So I'm not sure what's going on here.  The crash is coming from more layers running a member function in "capability" which is null.  This is causing a NPE which makes my static initialization of my ItemStack fail.    The point is that it's null when it's run and that's a problem for you.  I moved some of my statically initialized itemstack member objects into specific constructors and managed to make it not crash with Dynamic Trees.  Instead it crashed for the same reason with CoFHCore.  I imagine it will cause a great number of mods to crash.  In fact, any mod that has an ItemStack that was constructed either directly or from a chain of calls that originated in a static initialization.
The forge capabities for ItemStacks seem to be added when an ItemStack is constructed.  forgeInit() is called from ItemStacks's contructor.  If it's constructed statically then you can't gaurantee that other mods won't have ItemStacks that are constructed before you set your capability object.
As a test you can run your mod with CoFHCore and watch it crash.    It seems to be the problem here.

My whole source code is up so do you have any suggestions on how to change it? I don't understand networking much, to even get it working I had to create a thread on the forge forums with over 20 replies. So I don't really know what to change so some help would be appriciated!

I can probably help you but a few things first.

Can I have a link to that forum so I can see what was suggested there and the reasoning behind it?
I don't understand why a mod that simply adds layered blocks like needs complicated network code and "capabilities".  I think I'm missing something.  What's going on with that?
Can you put a fully formed project on github with the gradle build script and everything so it can be properly built and imported without having to make all of that stuff just to test it?

Okay.  So here's what I did: I moved my ItemStacks that are potentially initialized inside of a static call to inside the constructor and modified my default instance objects to compensate.  This is a workaround so that my mod is unaffected by (as far as I can tell) your bug.  This will prevent the crash in your mod.  I want to be clear that I don't think your problem is solved because I believe you will encounter this issue repeatedly with other mods who create ItemStacks somewhere in static code.  Namely CoFHCore is just one example as I witnessed it crash with that mod.  I recommend you test compatibility with them as well for a deeper understanding of what is happening.  If it turns out that you're the only one doing it right and everybody that crashes is doing it wrong then so be it.  Although it's not very pragmatic to be the guy who's right and his stuff doesn't work with anybody else's stuff.

Thanks for your efforts. Yes it crashes with other mods as well :c.To answer your questions:

Here is the tutorial I followed: https://www.planetminecraft.com/blog/forge-tutorial-capability-system/ That's where I got the most of my code from. The forge post isn't so relevant it was mostly do this! And I like what??? But here it is anyways, I've linked to comment where the discussion about networking started: http://www.minecraftforge.net/forum/topic/64075-1122solved-capabilities-and-networking/?tab=comments#comment-302625
I didn't think I would need something this advanced either. The only thing I wanted you to be able to place 4 layers at a time when pressing CTRL. This required sending the data over to the server and then storing it in a capability to then get that value from the itemblocks placement methoud...
Sure, should be up in a few minutes
I willl look into it

Just an update and FYI.  Your code doesn't just crash with mods using statically initialized ItemStacks.  It can also crash during their pre-init phase if they load before your mod does.


DOM_Ajax_Multiple_1.10

Hi,
I am using DOM_Ajax_Multiple_1.10. I don't want to Search, Show entries, pagination and entry count below. How to remove it. Please suggest asap

You should ask your Q in the datatables forum
This repo/issues are related to yadcf plugin only (for bug/new features request only)


Full-cell sampling for mc_cell

LFP use cases look like they will want to sample membrane voltage or current at the same spatial resolution as the simulation. Setting up probes one for each compartment will comprise a lot of redundant data and make for very long sampler event queues.
Proposed solution:

Extend mc_cell probe address to also admit a cell-wide 'vector' sampling.
Provide a new sample representation for vector samples that contain the multiple values per time-point.
Provide a mechanism for associating the indexed values in the returned vectors with morphological locations (segment index, normalized position) — one option is to have this be supplied directly in the sample representation provided to sampler callbacks.
Implement wide-sampling for cpu and gpu back-ends.

I think the only unclear bit is part 3. As we're trying to keep separate the mechanics of the FVM discretization from the morphology specification, we're faced with a trade-off:

Do we bake in knowledge of the discretization into the mc_cell class, allowing this information to be queried from the user code when recipes construct them, for later reference by samplers? This is unattractive from a design point of view, as it increases both coupling in arbor and complexity in user code.
Do we add sample location information to the information passed to the sampler from mc_cell_group? A slightly more generic approach could replace the tag data sent to samplers with a pointer/reference to probe meta-data, comprising per-probe constant data including the tag and per-cell-group metadata such as cell gid and morphology info in the mc_cell case, wrapped in an arb::any.

I'm currently leaning towards the second option, especially as it would simplify sampler usage from the user side (they would no longer have to maintain per-probe metadata themselves for the benefit of samplers).

I agree that baking knowledge of the discretization in the mc_cell would create discretization-specific coupling.
At some point in the nearish future we need to nail down our morphology representation.

Okie doke. Going with option b.

Pausing development on this for a bit: turns out our current measurements don't actually capture the trans-membrane currents. Fixing some of the numerical stability issues will also change how we recover the currents, so let's leave this until after that.


feat(p2p): add native libp2p debug metrics

Overview
This PR introduces libp2p metrics. The metrics that are introduced in this PR are plentiful, and it's sufficient to list the libp2p components they cover:

Resource Manager
AutoNat
Identify
EventBus
Swarm

(check the following link)
Usage
Run your node with flag:
$ celestia light start ... --metrics --metrics.endpoint ... --p2p.metrics

Results
Dashboards:

Checklist

[x] New and updated code has appropriate documentation
[x] New and updated code has new and/or updated testing
[x] Required CI checks are passing
[x] Visual proof for any user facing features like CLI or documentation updates
[x] Linked issues closed with keywords

@Wondertan I've checked on https://github.com/libp2p/go-libp2p/pull/2232 and nothing seems to be new. We should good.


Ansatz search

add a new matrix->ansatz function

This commit adds a new function MATRIX->ANSATZ useful for finding
matrices in a given form. It just boils down to a Nelder-Mead which is
particularly effective in many cases. This function can be used to
build compilers for relatively exotic gate sets, provided you've
discovered a function which can represent them.

whoops, didn't mean to include the other stuff

I’ll address these comments.

@kilimanjaro I can't add you to re-review with the G U I, but maybe you'd like to do a second-over again.

ping @notmgsk


[Doc] Distributed Save Load documentation

@PKUFlyingPig It'd be good to document the usage of save and load interfaces for the PR #437
Consider adding an page "API" here

Sure, but how to build the documentation offline to check my progress?

https://github.com/alpa-projects/alpa/blob/main/docs/README.md

I think the API is not stable yet. It will be refactored by https://github.com/alpa-projects/alpa/issues/439.
We can put off the documentation

OK. Also, I think the "parallel options API" refactored by #451 should be mentioned in the "API" page in documentation.


Solo instrument play

Seems like audiocraft does not recognize prompts for solo instrument track - it always adds some other instruments. I can add an instrument using prompt, but not exclude it. This feature is very needed, especially when used in musicgen-melody model

I think you will need to finetune the model on solo instrumentals to achieve this. @BufferOverflowx86