Patch cannot be applied in a Windows build

When applying the patch in a windows build, the git throws errors that the patch does not apply:
git apply modules/godex/patches/add_custom_iterator.patch
error: patch failed: SConstruct:543
error: SConstruct: patch does not apply
error: patch failed: core/config/engine.h:88
error: core/config/engine.h: patch does not apply
error: patch failed: main/main.cpp:1284
error: main/main.cpp: patch does not apply
error: patch failed: main/main.h:54
error: main/main.h: patch does not apply
I think this might due to linespacing formatting issues between unix and windows systems.
The following command successfully applied the patch with no errors:
git apply --ignore-space-change --ignore-whitespace modules/godex/patches/add_custom_iterator.patch
BUT will not allow it to build successfully:
C:\Users\Carlos\Documents\Godot\godot\modules\godex\iterators\../storage/storage.h(206): error C2663: 'MeshComponent::set': 2 overloads have no legal conversion for 'this' pointer
C:\Users\Carlos\Documents\Godot\godot\modules\godex\iterators\../storage/storage.h(201): note: while compiling class template member  function 'void Storage<const C>::insert_dynamic(EntityID,const Dictionary &)'         with         [             C=MeshComponent         ]
C:\Users\Carlos\Documents\Godot\godot\modules\godex\systems\../iterators/query.h(201): note: see reference to class template instantiation 'Storage<const C>' being compiled         with         [             C=MeshComponent         ]
C:\Users\Carlos\Documents\Godot\godot\modules\godex\systems\../iterators/query.h(195): note: while compiling class template member function 'bool QueryStorage<const MeshComponent,const TransformComponent>::has_data(EntityID) const'
C:\Users\Carlos\Documents\Godot\godot\modules\godex\systems\../iterators/query.h(263): note: see reference to function template instantiation 'bool QueryStorage<const MeshComponent,const TransformComponent>::has_data(EntityID) const' being compiled
C:\Users\Carlos\Documents\Godot\godot\modules\godex\systems\../iterators/query.h(230): note: see reference to class template instantiation 'QueryStorage<const MeshComponent,const TransformComponent>' being compiled
C:\Users\Carlos\Documents\Godot\godot\modules\godex\systems/system_builder.h(87): note: see reference to class template instantiation 'Query<const MeshComponent,const TransformComponent>' being compiled
C:\Users\Carlos\Documents\Godot\godot\modules\godex\systems\system_exe_funcs.gen.h(12): note: see reference to class template instantiation 'SystemBuilder::DataFetcher<P1>' being compiled         with         [             P1=Query<const MeshComponent,const TransformComponent> &         ] modules\godex\register_types.cpp(113): note: see reference to function template instantiation 'void SystemBuilder::system_exec_func<RenderingServerDatabag*,Query<const MeshComponent,const TransformComponent>&>(World *,void (__cdecl *)(P0,P1))' being compiled                 with         [             P0=RenderingServerDatabag *,             P1=Query<const MeshComponent,const TransformComponent> &         ]
scons: *** [modules\godex\register_types.windows.tools.64.obj] Error 2
scons: building terminated because of errors.

After comparing files to both linux and windows builds, I noticed they are identical.
The patch was successfully applied.
I think this is more of a scons linking issue.
I see similar reported issues like this in Godot's repo:
https://github.com/godotengine/godot/issues/5182
I will look more into how to compile

I've just updated the wiki adding --ignore-space-change --ignore-whitespace.

Just adding some notes before I forget,
I still have not managed to compile on Windows correctly.
Attempted

Compiling it under Visual Studio 2019 Command Prompt
Compiling it in x32 and x64
Trying different scons parameters, verbose was of no help
Moving the module externally and trying to compile using custom_modules
Cleaning scons and try to compile after a clean
Running scons as administrator
Reinstalled requirements to latest, ie. python, scons, VS 2019 (with C++ support)
Restarting the system

Need to Test

mingw compilation with yasm
Downgrading scons version
Actually trying to fix the compiler error

The reason why I haven't looked to deep into the code is that I find it crazy the scons on linux doesn't throw anything, yet windows throws a fit -.-
Regarding the Error
The compiler error is due to running insert_dynamic() inside storage.h. The compiler uses the template to attempt to create the function for const MeshComponent but fails due to 2 overloads have no legal conversion for 'this' pointer. I can only guess this might have to do with using the const keyword somewhere here.
Again I haven't looked too much into the code, nor do I know if this is truly why it doesn't compile on Windows

This issue should be already fixed, can you please confirm it please?

I just had what looks like this same error when compiling on windows.
I used git submodule add https://github.com/GodotECS/godex.git modules/godex and git apply modules/godex/patches/add_custom_iterator.patch --reject --ignore-space-change --ignore-whitespace.

That's weird, however you can directly pull this branch https://github.com/GodotECS/godot/tree/godex_version. It's the godot commit ae6b2d6edc76de347ccb11c4608b6e8174e1884f with the patch already applied. The CI is using that godot version.

I can confirm working using ae6b2d6edc76de347ccb11c4608b6e8174e1884f and applying patch.
Also working with https://github.com/GodotECS/godot/tree/godex_version , which is the same thing.
I can confirm NOT Working with Godot latest main branch, which at the time of writing is d4d753552495dda0eefcdd69228eb4ed4ddc5447
Scons Error:
C:\Users\Carlos\Documents\Godot\godot\modules\godex\godot/editor_plugins/editor_world_ecs.h(137): error C3668: 'EditorWorldECS::_changed_callback': method with override specifier 'override' did not override any base class methods
C:\Users\Carlos\Documents\Godot\godot\modules\godex\godot/editor_plugins/entity_editor_plugin.h(42): error C3668: 'EntityEditor::_changed_callback': method with override specifier 'override' did not override any base class methods
scons: *** [modules\godex\register_types.windows.tools.64.obj] Error 2
scons: building terminated because of errors.
@bitmammoth Is the cause of your errors because you used godot's latest as well?

I can confirm working using ae6b2d6edc76de347ccb11c4608b6e8174e1884f and applying patch.
Also working with https://github.com/GodotECS/godot/tree/godex_version , which is the same thing.
I can confirm NOT Working with Godot latest main branch, which at the time of writing is d4d753552495dda0eefcdd69228eb4ed4ddc5447
Scons Error:
C:\Users\Carlos\Documents\Godot\godot\modules\godex\godot/editor_plugins/editor_world_ecs.h(137): error C3668: 'EditorWorldECS::_changed_callback': method with override specifier 'override' did not override any base class methods
C:\Users\Carlos\Documents\Godot\godot\modules\godex\godot/editor_plugins/entity_editor_plugin.h(42): error C3668: 'EntityEditor::_changed_callback': method with override specifier 'override' did not override any base class methods
scons: *** [modules\godex\register_types.windows.tools.64.obj] Error 2
scons: building terminated because of errors.
@bitmammoth Is the cause of your errors because you used godot's latest as well?

Yes, I believe so, I will try to compile from an earlier version as well to try and confirm.

Closing because patch can be applied successfully and latest Godex can build with tested Godot master branch ae6b2d6edc76de347ccb11c4608b6e8174e1884f . We can wait for the patch to be synced with current Godot master branch in a few weeks, #90
"Godex aims to be use in the Godot master. If it doesn't compile with the current master it's fine. I plan to re-sync it in few weeks."


{CI} Support multiple parameters check

Description

For example PR title contain multiple parameters.
Previously, we need to add ` around every parameter.
Now we can choose to add ` around every parameter or add once around the related part.
[Storage] Add --blob-endpoint/--file-endpoint/--table-endpoint/--queue-endpoint for data service commands to support customized service endpoint #21782

[x]  [Storage] Add --blob-endpoint/--file-endpoint/--table-endpoint/--queue-endpoint for data service commands to support customized service endpoint
[x] [Storage] Add --blob-endpoint/--file-endpoint/--table-endpoint/--queue-endpoint for data service commands to support customized service endpoint

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

CI


[2.0] Bump Mesos to nightly 1.9.x e98ced1

High-level description
This is a routine bump to the latest Mesos and mesos-modules.
Related JIRA Issues
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Changelog:
https://github.com/apache/mesos/compare/802a50f4902f1f5ca3829dca4a472d8a582f7b9b...e98ced1e93751b78c3248221115fcf4db8a39b29

[ ] Test Results: [link to CI job test results for component]

[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot label Ready For Review


[Feature]: Compressed Dripstone

Feature Details
Title, surprised this one didn't have it's own compressed variant already.

Has since been added.


Target List: Paginator is not displayed in big monitor, user needs to scroll down to see it

In Target List, paginator is not displayed in big monitor, user needs to scroll down to see it.
Scrollable content will be the inner content. Top menu, side menu and paginator will be fixed in their positions

Working as expected


[ci] run node tests in CI

currently we run only browsers tests in the CI, we should also run the node tests for tools

we do run test:ci so if you want the ci to run your node tests just add a "test:ci": "npm run test"
https://github.com/open-wc/open-wc/blob/master/.circleci/config.yml#L33

I think that's more for specific tests that should run 'only' in the CI. Ideally the CI just runs yarn test so that you can also do this locally, right? currently yarn test only runs the browser tests.

The idea is to have yarn test:ci for node and yarn test for karma.
you can run both of them locally 👍

what about yarn test:node and yarn test:browser, and yarn:test which runs both browser and node? that's also how we have linting and format

sure we can change that 🤗 it will mean to release every package we have (for the package.json change)
let's do it after the release of all the open stuff? rollup plugin, import maps stuff

Yeah, sure.


Handling 'unseen' flag

Hello!
With the mail from yandex.ru server comes flag "Unseen" and function crash.

Useful fix -- cheers 🍻 @anoskov !
This'll be included in release 0.4.1, and if you have no objection I'll add you to the contributors list.

@jtmoulia Nice! I'll be glad 🍻


Feature Request: Please bring back the ZIP files

Context
I am using the w64devkit in some GitHub actions that run on windows-2022 using the pre-installed powershell. In general, I love it, it's great. Thank you!
Problem
When trying to set up a windows-2022 native powershell environment for fortran development, the .exe from your version 2.0.0 does not work at the command line. It is unclear whether it runs at all, but regardless, I am unable to then find the compiler and put it in my path.
Potential Solution
The previous versions that used a .zip file (up to 1.23.0) worked great.
Could you add a .zip asset to your 2.0.0 release and all subsequent releases?

Despite the EXE extension, it's equally a 7z archive that can be accessed
using any 7z-capable software. The self-extract executable attached to the
archive is, by necessity of its GUI, a windows subsystem program which is
why it doesn't play well with console programs. It's not possible to be a
console subsystem program at the same time.
The first point is your solution. The 7-Zip "Download" page has "7zr.exe"
(last item), a command line program to manipulate 7z archives. Put this in
your build environment on your $PATH, then you can extract w64dk the same
way you handled ZIP.
https://www.7-zip.org/download.html
Use the "x" option, as in:
7zr x w64devkit-x64-2.0.0.exe
This completely ignores the self-extract part, and when it completes
everything works just like before with ZIP.

@skeeto Thank you for the detailed explanation.
I will try your suggestion with 7zr and report back, but as stated in #158 the self-extracting archive is also causing some false security issues, hence perhaps not a bad thing to have both the self-extractor and the zip files... although I do understand this does result in some additional work and some duplication.
In any case, thanks again!

The zip also caused numerous "false security issues" too. So nothing really regressed.

@Peter0x44 Fair enough...

Yup, as @Peter0x44 said, ZIP has the same problems (#79) but worse since
it's multiplied by a hundred EXEs in the distribution, any of which can
set off false alarms. The self-extracting archive should be a slight
improvement because it's a single point of contention for "security"
scanners, and when extracting it doesn't propagate the Mark of the Web
into the installation.

@skeeto I have tried the 7zip option you proposed and can confirm that it works both locally in in GitHub actions.  As far as I am concerned, this issue can be closed: you have resolved my problem.
Thanks!

Thanks for following up, @praynaud! I really appreciate it.


How to add a reconnect method :question

How to add a reconnect method
if the server is reset or other error occurs ?

got it working by adding a method to UnityWebsocket.cs
public bool IsAlive() {
  return (_ws == null) ? false : _ws.IsOpen();
}

and having a Coroutine UnityWebSocketScript.cs running from start checking every 15 secs
private IEnumerator ReconnectWS() {
 while (true) {
   yield return new WaitForSeconds(15);
   if (!IsAlive()) {
     Debug.Log("[UnityWebSocketScript] try reconnecting");
     Connect();
   }
 }
}

Good enough ? or any recommendations


Add checks for lp#1996230

Check juju error log and give pointer to knowledge base article with the scripts used to solve this issue.

now that tox is fixed on main ill rebase+merge


Details method for Bing provider

Following the documentation I've implemented the guidelines for "Find a location by address" in the Bing documentation to complement the already implemented "Search a location by query". Documentation is updated and a small test is added.
An approach similar to OSM was followed by creating a new details method.

👍 Thanks @avanderm

Published under v1.37.0


Error: At least one project reference required to create an endpoint.

Using AzurePowerShell 2., 3., or 4.* if I choose an Azure Subscription and try to Authorize, I get:
Error: At least one project reference required to create an endpoint.

It looks like the issue was also raised here and they were given a workaround but the issue was not fixed.
Can someone take a look? Thanks!

@20shivangi Could you take a look at this?

@stephenmichaelf Can you please tell me what pipeline are you using or can you give sample Yaml?

@20shivangi

Currently, it doesn't work in the Set Azure Firewall Rule step but the bug appears to happen no matter where I add the task.
Are you able to recreate it?

@stephenmichaelf  thanks for details, @ankitk94 to check this issue

@stephenmichaelf : can to try the scenario again after clearing the cache?
If you again face same issue then to unblock yourself, you can go to service connections hub and create required service connection for your azure subscription and use it in your release definition.
let me know if you face the same issue again and not able to unblock yourself.

Clearing the cache worked, thanks!


PDF parser not working

I tried the PDF download/parsing example here:
http://www.clips.ua.ac.be/pages/pattern-web#pdf
But ran into this issue:
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from pattern.web import URL, PDF
url = URL('http://www.clips.ua.ac.be/sites/default/files/ctrs-002_0.pdf')
pdf = PDF(url.download())
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/Pattern-2.6-py2.7.egg/pattern/web/init.py", line 3775, in init
self.content = self._parse(path, format=output)
File "/usr/local/lib/python2.7/dist-packages/Pattern-2.6-py2.7.egg/pattern/web/init.py", line 3790, in _parse
raise PDFError(str(e))
pattern.web.PDFError: must be encoded string without NULL bytes, not str

Using latest version from Git under Ubuntu 14.04.
Cheers,
Tim

Oh. It worked for me after I made unicode=True. No idea what would be the issue then.

Hi, i get the same problem whit pdf, but the error is the next:
"must be encoded string without NULL bytes, not unicode"


Keep editing history after switching to a different part

Related to #9. When you switch to a different part, the editing history is completely cleared. The only way around this would be to have a multi-tab interface with each part having its own tab and editor, as most IDEs would do. However, this would change the entire View - ViewModel relationships, so it would need a lot of testing.

Fixed by #58


[UserDefaults] Remove delayed synchronization

Testing this out. IIUC, I don't think the delay is needed anymore.
context: b/129719759

CI fixed in 411b6c2


Api version

Allows for version 1.0 or 2.0 of the API to be used, with the correct keys and result multiplicity.
Also introduces EmpowerResponse, which makes the code in EmpowerHandler a bit easier to read.

Also closes #169 : Token is now not sent if not there, so if login is needed, the user will get the appropriate HTTP response.


When enabeling --useDateType send the correct information to @hey-api/openapi-ts

Is your feature request related to a problem? Please describe.
  types: {
    dates: 'types+transform',
  },

in the configuration to @hey-api/openapi-ts currently i think it sends true but I'm not 100% sure, it seems it is done here https://github.com/7nohe/openapi-react-query-codegen/blob/34f561abcda3c9c947aed6befe6150952898e124/src/common.mts#L150
Documentation about the feature can be found here
Describe the solution you'd like
When this is done correctly both the typescript defintion should use the type Date and also the result should be Date.

I'm not 100% sure but I think #136 needs to be merged before this can be fixed.


Lost connection to LND block epoch stream: rpc error: code = Unimplemented desc = unknown service chainrpc.ChainNotifier

help
Lost connection to LND block epoch stream: rpc error: code = Unimplemented desc = unknown service chainrpc.ChainNotifier
lnd version 0.16.2-beta
boltzd version v1.2.7-488c3ce

help Lost connection to LND block epoch stream: rpc error: code = Unimplemented desc = unknown service chainrpc.ChainNotifier lnd version 0.16.2-beta boltzd version v1.2.7-488c3ce
Resolved, chainrpc is missing when make


mi_usable_size: invalid (unaligned) pointer on MacOS Ventura.

Good day.
Have problems on MacOS Ventura with mimalloc:  "(unaligned) pointer" warning in Debug and segfault in Release.
It seems that mi_usable_size gets pointer not allocated by mimalloc.
Sample code:
app.m
#include <Cocoa/Cocoa.h>

@interface MyApplication : NSApplication
@end

@implementation MyApplication
@end

void
Cocoa_RegisterApp(void)
{
    @autoreleasepool
    {
        if (NSApp == nil)
        {
            [MyApplication sharedApplication];
            {
            }
        }
    }
}

int main()
{
    Cocoa_RegisterApp();
	return 0;
}

CMakeLists.txt
cmake_minimum_required(VERSION 3.16)
project(test_package)
find_package(mimalloc)

add_executable(test_package app.m)
target_link_libraries(test_package PRIVATE mimalloc::mimalloc)

find_library(COCOA_LIBRARY Cocoa ONLY)
target_link_libraries(test_package PRIVATE ${COCOA_LIBRARY})

Debug output:
mimalloc: error: mi_usable_size: invalid (unaligned) pointer: 0x97f86e598e2153a3
mimalloc: error: mi_usable_size: invalid (unaligned) pointer: 0xa0cfe8d603a959b3
mimalloc: warning: mi_usable_size: pointer might not point to a valid heap region: 0x20d54b5b0
(this may still be a valid very large allocation (over 64MiB))
mimalloc: error: mi_usable_size: pointer does not point to a valid heap space: 0x20d54b5b0

I think this is fixed now in the latest dev/dev-slice branches. Let me know how it goes

I've checked dev-slice on my project and haven't got problems now. Thank you


Store: Refactor run group to errgroup

Signed-off-by: Povilas Versockas<EMAIL_ADDRESS>Changes
Changes bucket functions to use errgroup instead of run.Group
run.Group concurrently runs all of the goroutines, waits until the first actor exits, invokes the interrupt functions, and finally returns control to the caller only once all actors have returned.
This makes it that if first goroutine returns nil, and other goroutine returns an error, we won't receive it, as it gets thrown away:
https://github.com/oklog/run/blob/master/group.go#L51-L53
On the other hand errgroup - blocks until all function calls from the Go method have returned, then returns the first non-nil error (if any) from them.
This will return us an error if any of the goroutines fail
Verification

Should we rebase and merge? (:  @povilasv


React Native技术被苹果应用市场限制了嘛

Description
React Native技术被苹果应用市场限制了嘛
Steps to reproduce
React Native技术被苹果应用市场限制了嘛
React Native Version
21
Affected Platforms
Runtime - iOS
Output of npx react-native info
React Native技术被苹果应用市场限制了嘛

Stacktrace or Logs
React Native技术被苹果应用市场限制了嘛

Reproducer
React Native技术被苹果应用市场限制了嘛
Screenshots and Videos
React Native技术被苹果应用市场限制了嘛

Hi,
In this issue tracker we accept only issues that are in English.
I'm closing this for now, please consider translating it to English and reopening it.
Thanks.


Fix spelling -- change recieved to received

[ ] Tests passed (for all non-documentation changes)

Just fix a spelling error in two error messages.

Thanks @brian-rose !


IOS error: The text parameter is missing

The application using nativescript-toast compile correctly on iOS, but as soon a i try to use the toast plugin, application closes and in my tns console i have this:
file:///app/tns_modules/nativescript-toast/toast.js:6:60: JS ERROR Error: The text parameter is missing
I use toast in this way:

var toast = Toast.makeText(msg);
    toast.show();

My fault, found the error, sorry


Not able to use GPT4 model with AzureOpenAI from from langchain.llms

Discussed in https://github.com/hwchase17/langchain/discussions/3132

Originally posted by srithedesigner April 19, 2023
We used to use AzureOpenAI llm from langchain.llms with the text-davinci-003 model but after deploying GPT4 in Azure when trying to use GPT4, this error is being thrown:
Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.chat_completion.ChatCompletion'>
This is how we are initializing the model:
model = AzureOpenAI(
        streaming=streaming,
        client=openai.ChatCompletion(),
        callback_manager=callback,
        deployment_name= "gpt4",
        model_name="gpt-4-32k",
        openai_api_key=env.cloud.openai_api_key,
        temperature=temperature,
        max_tokens=max_tokens,
        verbose=verbose,
    )

How do we use GPT4 withe the AzureOpenAI chain? Is it currently being supported? or are we initializing it wrong?

Did you set?
openai.api_version = "2022-12-01"
openai.api_base = "https://your-domain.openai.azure.com"
openai.api_type = "azure"

Yes, @itaim, We did set the following,
    openai.api_base = our_openai_api_base
    openai.api_type = "azure"
    openai.api_version = "2023-03-15-preview"

Have you tried with curl? Could indicate whether the issue is with the deployment or API usage.
url https://example.openai.azure.com/openai/deployments/gpt-4/completions\?api-version\=2023-03-15-preview\\n  -H "Content-Type: application/json" \\n  -H "api-key: your_api_key" \\n  -d "{\n  \"prompt\": \"hello GPT\"\n}"\n

It is throwing this error
{
  "error": {
    "code": "OperationNotSupported",
    "message": "The completion operation does not work with the specified model, gpt-4-32k. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993."
  }
}

But using the openai.chatCompletion() is working on the GPT4 model.
This works with the GPT3 deployment, but GPT4 is throwing this error. I should reach out to Azure support I guess, I don't think is an issue with langchain now.

chatgpt-3.5 on Azure supported the prompt argument regular text completions but could be that gpt4 requires the messages argument of chat endpoints:
Try:
curl https://example.openai.azure.com/openai/deployments/gpt-4-32k/completions?api-version=2023-03-15-preview \
  -H "Content-Type: application/json" \
  -H "api-key: your_api_key" \
  -d '{
  "messages": [
    {"role": "system", "content": "Assistant is a large language model trained by OpenAI."},
    {"role": "user", "content": "What's the difference between garbanzo beans and chickpeas?"}
  ]
}'

Is gpt-4-32k model available yet?

@MakikoNomuraJTP yes when I use AzureChatOpenAI, it is working fine. Thanks for the suggestion.

Instead of using deployment_name parameter, change it to deployment_id
i.e. AzureOpenAI(deployment_id="######", model_name="gpt-4-32k", temperature=0)
and put there your deployment name value.
If you have the 8k model put model_name="gpt-4"

With Version: 0.0.165 and AzureChatOpenAI the minimal call that works for me is:
    llm = AzureChatOpenAI(
        deployment_name=os.getenv("DEPLOYMENT_ID_CHAT"),
        temperature=0,
    )

with a properly configured .env and load_dotenv(). temperature is obviously for user preference.
OPENAI_API_BASE="...."
OPENAI_API_TYPE="azure"
OPENAI_API_VERSION="2023-03-15-preview"
OPENAI_API_KEY="...."
DEPLOYMENT_ID_CHAT="...."
DEPLOYMENT_ID_EMBEDDING="...."

Replace ... with your appropriate base url, key and deployment ids.

With version 0.0.315 this works for me:
llm = AzureOpenAI(
    model_name="gpt-4",
    engine="gpt4",

)


Is there a way to query or get the document recorded?

Hi!
After I run the test I want to see the document created.
Is there a way to do that?
I'm accessing https://localhost:3000 and I'm getting {} as a response.

You can do it just like you do always.
This server is empty when it booted, so you need to create databases, containers, and items at first.
Ensure to not verify SSL certificate, since it uses self-signed one.

@nkzawa Thank you!


Use cached grpc ssl credential for ObjC library

gRPC ObjC library had been reading the default pem file's contents and feed them into grpc_ssl_credential_create, caused multiple apps to crash due to excessive memory usage. This PR changes the usage of grpc_ssl_credential_create to use the cached credentials which is more preferable and avoid further crashes.

Thanks much @muxi for quick fix!


Fixed sass line height calc bug same as commit 3bf4a8e1

There's another spot where this is needed.
https://github.com/PredixDev/px-buttons-design/commit/3bf4a8e1c8bc80985a6ea319c69370c0b0574015

Thank you for your PR


Generate barcode on Angular2 project

Hi.
I want to use generate a barcode using typeScript and angular2 project.
I've already run npm install jsbarbode --save  . After that, I added the reference to the script in angular-cli.json
"scripts": [         "../node_modules/jsbarcode/dist/JsBarcode.all.js"       ],
When I add the module in app.module.ts the following error is shown

app.module.ts code:

Does anyone know how to solve it?
Thanks.

Check out ngx-barcode...  built against angular4 but should work with 2 as well.

@yobryon That's very nice. Now there exist wrappers for all major frontend frameworks, angular1, angular2, react and vue. Will probably add them all to the readme soon 😄

Anyone found a solution for that issue, because  ngx-barcode is not compatible with angular2 :(

import * as JsBarcode from 'jsbarcode'; doesn't work?

how can i use it once i do the import?

@sarn3792 , you can do this by the below code. It is working for me.
declare let JsBarcode: any;
it should be declared before the @Component or export class .
then you can call the JsBarcode like below,
JsBarcode("#barcode", "Hello");
Good luck


aws: Add support for AWS profiles

We enable the --profile flag to all commands, which then authenticates
against AWS using that profile from the configuration.

/lgtm


update addons for cubefs 2.4 to not use cubefs csi

Ⅰ. Describe what this PR does
update addons for cubefs 2.4 to not use cubefs csi
Ⅱ. Does this pull request fix one issue?

fixes #XXXX
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/ok-to-test

/lgtm
/approve

/lgtm
/approve


If I add a driver that I previously deleted, I see the removed and new one at same time

Rancher Version: master 6/14
Steps to Reproduce:

Delete the ubiquity machine driver (refresh page to see it actually removed)
Add the ubiquity machine driver back

Results: See both the removed driver and the new added one.  If I refresh the removed one goes away.

Expected: Removed machine driver should not show back up

Version - v1.2.0-pre4-rc2
Closing this in favor of one refresh bug. #6184


[ASK] Questions about Building and Running with Docker

Description

After I built and ran with docker according to this instruction,

I open the Jupyter Notebook at  http://localhost:8888 to run an example "dkn_deep_dive" but receive the following error:
.

Should I install the "recommenders" module on my own using "pip" after running with docker?

In my case, it was helpful to do a manual pip install independent of docker.
Probably same problem as #1519.
(It is assumed that pip install fails during docker image build process)
try this:
pip install git+https://github.com/microsoft/recommenders.git


replace the duplicate synthetic task

Replace synthetic:weight_3_function_9 since synthetic:weight_3_function_8 and synthetic:weight_3_function_9 have the exact same solution.

@kensens


Ignore anything that has ChromeOnly extended attribute

Context: ChromeOnly is for things that are only exposed to priveleged code in Firefox (where we have been getting our WebIDL sources from). These items aren't exposed to the Web, so we don't want to generate bindings to them.
I'm imagining a is_chrome_only function that takes extended attributes and returns bool. Then we would check the extended attributes on interfaces, attributes, dictionaries, and operations with this function. If it returns true, and is ChromeOnly, then we would skip the item and not emit imports to it.

I’d like to pick this issue up! 😊

Awesome! Let me know if you have any questions. The WebIDL frontend lives in crates/webidl, and you can run its tests via cargo test within that directory, see crates/webidl/tests/*.

Just to clarify, when you said "takes extended attributes", did you mean one function for each of these *ExtendedAttribute structs?

Yeah, for example: https://github.com/rustwasm/wasm-bindgen/blob/master/crates/webidl/tests/fixtures/Event.webidl#L45

Fixed by #303.


ZWave setup with integration defaults the USB stick path as /zwaveusbstick

Having just setup and Discussed on Discord. If you setup ZWave using the integrations menu is uses /zwaveusbstick as the stick path.
This setting is not configurable in the Control Panel (as of 0.86.3) and the only hint is in the logs as below.
Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/openzwave/option.py", line 78, in __init__ raise ZWaveException(u"Can't find device %s : %s" % (device, traceback.format_exception(*sys.exc_info()))) openzwave.object.ZWaveException: "Zwave Generic Exception : Can't find device /zwaveusbstick : ['NoneType: None\\n']"
Using docker and remapping from /dev/ttyACM0:/dev/ttyACM0 to /dev/ttyACM0:/zwaveusbstick has worked around the issue in this case.

The  .storage/core.config_entries file could be edited from /zwaveusbstick to anything too.
I have it remapped to /zwave instead.

When you create the integration you should get a box to enter a path to the USB stick. Is it ignoring what you enter into that field?

Is this still an issue you are experiencing? Can you please try upgrading to the latest version of Home Assistant (0.90) and report back if this is still a problem? Thanks!


Скласти інтро

Скласти інтро (вступ), де в 2-4 реченнях описати, що замовник робить, що подобається робити, що хочеться робити краще, що важливо робити, тощо.

h1> Resume

― I'm the most successful person ever to run for the presidency, by far. Nobody's ever been more successful than me. I'm the most successful person ever to run. Ross Perot isn't successful like me. Romney ― I have a Gucci store that's worth more than Romney. Sorry losers and haters, but my IQ is one of the highest ― and you all know it!


Problem installing and starting the new pydiaid   version 0.0.30

was looking forward for the new release :) great tool. However I'm facing a big problem now. I couldn't install the latest release, the message error was about that there was a css folder exist already, so I thought because I had the last version installed, I uninstalled the old version (0.0.23), and when I tried to install the new version, I have now an error message (below). I have administrator right on the PC I'm using (W10 entr.).
appreciate the effort you are making for such great collection of tools.
Best.
Traceback (most recent call last):
File "pydiaid_pyinstaller.py", line 3, in
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "pydiaid\gui.py", line 15, in
from pydiaid.synchropasef.gui_synchropasef import SynchroCardWidget
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "pydiaid\synchropasef\gui_synchropasef.py", line 19, in
import pydiaid.synchropasef.method_creator as method_creator
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "pydiaid\synchropasef\method_creator.py", line 9, in
import pydiaid.synchropasef.method_evaluator as method_evaluator
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "pydiaid\synchropasef\method_evaluator.py", line 1, in
from pydiaid.synchropasef import plots
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "pydiaid\synchropasef\plots.py", line 6, in
from scipy.stats import kde
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "scipy\stats_init_.py", line 485, in
from .stats_py import *
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "scipy\stats_stats_py.py", line 39, in
from scipy.spatial.distance import cdist
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "scipy\spatial_init.py", line 105, in
from ._kdtree import *
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "scipy\spatial_kdtree.py", line 4, in
from ._ckdtree import cKDTree, cKDTreeNode
File "ckdtree.pyx", line 10, in init scipy.spatial.ckdtree
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "scipy\sparse_init.py", line 283, in
from . import csgraph
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "scipy\sparse\csgraph_init.py", line 185, in
from .laplacian import laplacian
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "scipy\sparse\csgraph_laplacian.py", line 7, in
from scipy.sparse.linalg import LinearOperator
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "scipy\sparse\linalg_init.py", line 120, in
from .isolve import *
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "scipy\sparse\linalg_isolve_init.py", line 4, in
from .iterative import *
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "scipy\sparse\linalg_isolve\iterative.py", line 9, in
from . import _iterative
ImportError: DLL load failed while importing _iterative: The specified module could not be found.
Something went wrong, press any key to continue...

Hello, I have the same problem (win 10 Pro). Thanks

Good afternoon, I've also had the same issue, and downgrading all the way to version 0.0.27 returned the same error. I fortunately had a much older version, 0.0.23, installed on another computer, and it appears to work. Downloading and installing a fresh new 0.0.23 works as well, so until this problem is resolved, 0.0.23 still works.


Undraft the bylaws: CF Council [due: 7 May]

Just the CF Council (and Extended Governance Committee) bylaws this time.
I know I have a concern about electronic/digital participation in lieu of meetings. At the moment (as written) our electronic participation threshold (quorum) is everyone. Not sure how that will scale as we add more projects.
I think Gavin also noticed that it wasn't necessarily clear if procedures were the same or different for bylaws vs. policies.
voting group: @commonhaus/cf-egc
Do one of the following:

Approve the PR or react with 👍 (:+1:) if it looks good to you
Review with Comments or react with 👀 (:eyes:) if you're "ok" with it (it may not be your favorite)
If you think it needs discussion or revision

Create a review, add your comments and require changes
Use the +- button to make a suggestion (instead of just adding a comment).

I'm approving, but it seems to me there's a real problem with the structure of this document: IMO it fails to sufficiently-clearly separate the roles of and processes followed by the CFC vs the EGC.

Open a discussion so we can chase what should be clarified?
What I will add:

You don't want to over-specify processes in the bylaws. The general process is the same for the CFC and the EGC.
The essential part for this section is Council (board) composition and how foundation leadership decisions are made, specifically: what can be done electronically vs. what must be done in a meeting, and what threshold of participation (quorum) and of consensus applies to which types of decisions.

Open a discussion so we can chase what should be clarified?

sure, we can figure it out next week. no need to block this PR.


OLS-721: Bump-up Uvicorn in order to create build requirements

Description
Bump-up Uvicorn in order to create build requirements
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[x] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)

Related Tickets & Documents

Related Issue #OLS-721
Closes #

/lgtm

/approve


Method to skip installing Chromium

Problem
As it is, every Puppeteer install will pull its own internal Chromium copy. Whether or not it is actually used. This can end up using a lot of extra space, at 92Mb per copy currently, on peoples drives. Primarily locally where you may have multiple projects all using the tool.
Action
There should be some mechanism for skipping this download when installing dependencies if you intend to use an already existing copy of Chrome/Chromium.

Maybe it is worth to use one  environment variable (like PUPPETEER_EXECUTABLE_PATH) for two goals: to prevent installing Chromium and to eliminate the need of setting executablePath in the puppeteer.launch() every time?

@vsemozhetbyt It's good idea, If PUPPETEER_EXECUTABLE_PATH is set, will use that path for launch and also skipping installing Chromium. When it's not set will Install and after it set the installation directory to PUPPETEER_EXECUTABLE_PATH.

@brutalcrozt there's already a way to skip Chromium download with PUPPETEER_SKIP_CHROMIUM_DOWNLOAD env variable.

@aslushnikov what is the value for the PUPPETEER_SKIP_CHROMIUM_DOWNLOAD?
do I need to set up in PATH variable?

@shmdhussain you can set it to anything. It just needs to be defined in env. PUPPETEER_SKIP_CHROMIUM_DOWNLOAD = true for example

Thanks ...I updated the same as you mentioned in bash.profile...now working good without installing chromium....testing screenshot comparison of element based on the example from Monica dinculescu

@ebidel what's env ??

As of v1.7.0 the recommended way to get Puppeteer without downloading Chromium instance is  puppeteer-core - see details in puppeteer vs puppeteer-core.

I have a question: what If my puppeteer script only works 100% on its own chromium instance? I've tried with local chrome, local chromium, but at some point, doing hard work, the script brokes, not finding some classes on page.

Does any one knows a way to disable export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
I tried:
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=false
npm config delete PUPPETEER_SKIP_CHROMIUM_DOWNLOAD
unset PUPPETEER_SKIP_CHROMIUM_DOWNLOAD
But still npm install puppeteer will refuse to download chromium

use unset to disable env variables. eg: unset PUPPETEER_SKIP_CHROMIUM_DOWNLOAD

@doenikoe - @albanx already mentioned that using unset did not work for them.
@albanx If you have a non-default shell (e.g. zsh) then try using unset after switching to bash.

As of v1.7.0 the recommended way to get Puppeteer without downloading Chromium instance is puppeteer-core - see details in puppeteer vs puppeteer-core.

I have a helper (TypeScript) Library, which depends on puppeteer.
People using that lib can use let page = await Lib.NewPrivatePage(browser), and that browser is of type puppeteer.Browser
Is it possible to modify my Lib to work with both puppeteer.Browser and puppeteer-core.Browser? or I have to change to NewPrivatePage(browser: any)

@lockevn That's a question for whomever maintains that typescript library. It should be possible though as they'd just need to do and "or" against the types. But, afaik the typescript library isn't maintained here.

can't puppeteer just be smart enough to look in node_modules/puppeteeer/chromeeeeeem and then mv the file out, not reinstall it, and then mv it back?  Or something

The solution provided

You can install puppeteer with npm install --ignore-scripts. It also skips install scripts for puppeteer dependencies, but it works fine for now.

This solution worked for me.


SSDP Client doesn't find Server advertise

I've implemented a server/client implementation of node-ssdp using the examples provided. Everything "appears" to work but my client does not pick up the server's packet. I get a lot of different payloads from different devices/locations but not the payload from my node-ssdp server.
I'm running on the same machine and I'm running on OSX. I have two separate node projects: one for my client and one for my server.
I've also verified that the server is actually broadcasting by running:
sudo tcpdump -i en0 -s 0 -B 524288 -w ~/Desktop/DumpFile01.pcap
and then reading the info by
tcpdump -s 0 -n -e -x -vvv -r ~/Desktop/DumpFile01.pcap
Any suggestions? Is it possible that I can't run the server and client on the same machine?
Here are my implementations just in case I messed something up:
Server
var SSDP = require('node-ssdp').Server
  , server = new SSDP({
    //unicastHost: '<IP_ADDRESS>',
    location: 'http://' + require('ip').address() + ':33333',
    ssdpPort: 33333
  })
console.log(require('ip').address())
server.addUSN('upnp:rootdevice')
server.addUSN('urn:schemas-upnp-org:device:MediaServer:1')
server.addUSN('urn:schemas-upnp-org:service:ContentDirectory:1')
server.addUSN('urn:schemas-upnp-org:service:ConnectionManager:1')

server.on('advertise-alive', function (heads) {
  console.log('advertise-alive', heads)
  // Expire old devices from your cache.
  // Register advertising device somewhere (as designated in http headers heads)
})

server.on('advertise-bye', function (heads) {
  console.log('advertise-bye', heads)
  // Remove specified device from cache.
})

// start server on all interfaces
console.log('starting ssdp server')
server.start()

Client
var ssdp = require('node-ssdp').Client
  , client = new ssdp({
//    unicastHost: '<IP_ADDRESS>'
  })

client.on('notify', function () {
  //console.log('Got a notification.')
})

client.on('response', function inResponse(headers, code, rinfo) {
  console.log('Got a response to an m-search:\n%d\n%s\n%s', code, JSON.stringify(headers, null, '  '), JSON.stringify(rinfo, null, '  '))
})

client.search('ssdp:all')

// Or maybe if you want to scour for everything after 5 seconds
/*setTimeout(function() {
  client.search('ssdp:all')
}, 5000)*/

// And after 10 seconds, you want to stop
setTimeout(function () {
  client.stop()
}, 10000)

I tried running the server on one machine and the client on another. This also did not work. I also confirmed that the packets were being sent via Wireshark on the client machine. It is sending a NOTIFY header with all of the rest of the info from the server.

I tried running the server on one machine and the client on another. This also did not work. I also confirmed that the packets were being sent via Wireshark on the client machine. It is sending a NOTIFY header with all of the rest of the info from the server.

Hi @johnmurphy01! Could you try removing ssdpPort: 33333 from your server constructor and see if that helps?

@diversario thanks for the response! I removed ssdpPort: 33333 from the server's constructor but that didn't seem to make a difference.
It's very confusing to me because I've since gotten a UDP multicast solution up and running using dgram for the broadcaster and a .NET C# solution for the client. I was under the impression that SSDP is essentially UDP multicast but maybe I'm mistaken.

No, it is UDP multicast, you're correct. There is likely a bug in the server part of this module because this has came up multiple times.
Could you try this, please:
var SSDP = require('node-ssdp').Server
  , server = new SSDP({
    location: 'http://' + require('ip').address() + ':33333',
    sourcePort: 1900
  })

Adding sourcePort to options seems to fix the problem. Thanks! been trying for a solution =D

I've defaulted sourcePort to the correct 1900 in v3.3.0 – it really should've been 1900 for the server all along by default.


rez-env fails when supplying inclusion filter

]$ rez-env foo --include foo
File "/tools/share/venvs/rez/2.0.rc1.16/local/lib/python2.7/site-packages/rez-2.0.rc1.16-py2.7.egg/rez/package_filter.py", line 245, in add_inclusion
self.filters = [(x + f) for x in self.filters]
TypeError: unsupported operand type(s) for +: 'PackageFilter' and 'PackageFilter'

I think this bug has changed since it was originally reported.  rez env no longer fails when supplying the inclusion filter:
rez env foo --include "range(foo-1.0.2)" -c "echo foo"
foo

However the filter has no effect unless there is an existing exclusion filter.  As add_inclusion is operating on the existing self.filters attribute of PackageFilterList, if there are no filters the inclusion is not added.
With an exclusion filter I am then able to get the same traceback as reported here:
rez env --exclude "after(1403596365)" foo --include "range(foo-1.0.2)" -c "echo foo"
Traceback (most recent call last):
  File "/home/users/markst/packages/rez/2.0.rc1.16.0/CentOS-6.2_thru_7/python-2.7/bin/rez/rez", line 4, in <module>
    run()
  File "/fast/markst/packages/rez/2.0.rc1.16.0/CentOS-6.2_thru_7/python-2.7/lib/python2.7/site-packages/rez-2.0.rc1.16.0-py2.7.egg/rez/cli/_main.py", line 120, in run
    returncode = run_cmd()
  File "/fast/markst/packages/rez/2.0.rc1.16.0/CentOS-6.2_thru_7/python-2.7/lib/python2.7/site-packages/rez-2.0.rc1.16.0-py2.7.egg/rez/cli/_main.py", line 112, in run_cmd
    return opts.func(opts, opts.parser, arg_groups[1:])
  File "/fast/markst/packages/rez/2.0.rc1.16.0/CentOS-6.2_thru_7/python-2.7/lib/python2.7/site-packages/rez-2.0.rc1.16.0-py2.7.egg/rez/cli/env.py", line 185, in command
    package_filter.add_inclusion(rule)
  File "/fast/markst/packages/rez/2.0.rc1.16.0/CentOS-6.2_thru_7/python-2.7/lib/python2.7/site-packages/rez-2.0.rc1.16.0-py2.7.egg/rez/package_filter.py", line 245, in add_inclusion
    self.filters = [(x + f) for x in self.filters]
TypeError: unsupported operand type(s) for +: 'PackageFilter' and 'PackageFilter'

Should it be possible to supply an inclusion filter without an exclusion filter?  Some of the code seems to concern itself only with exclusions which would prohibit this (e.g. this line in the solver):
rule = self.package_filter.excludes(package)
if rule:
    if config.debug_package_exclusions:
        print_debug("Package '%s' was excluded by rule '%s'" % (package.qualified_name, str(rule)))
    continue

Hey Mark,
An inclusion filter only makes sense when added to an exclusion. I didn't think it very useful to support a whitelist on its own.
In other words, the behavior is always a blacklist, which then allows some packages back again in the whitelist. So, all beta packages are excluded for eg, except foo, because an inclusion for foo is added. An inclusion on its own is valid, but has no effect.
Hth
A
Sent from my iPhone

On Jul 9, 2015, at 7:33 PM, Mark Streatfield<EMAIL_ADDRESS>wrote:
I think this bug has changed since it was originally reported. rez env no longer fails when supplying the inclusion filter:
rez env foo --include "range(foo-1.0.2)" -c "echo foo"
foo
However the filter has no effect unless there is an existing exclusion filter. As add_inclusion is operating on the existing self.filters attribute of PackageFilterList, if there are no filters the inclusion is not added.
With an exclusion filter I am then able to get the same traceback as reported here:
rez env --exclude "after(1403596365)" foo --include "range(foo-1.0.2)" -c "echo foo"
Traceback (most recent call last):
File "/home/users/markst/packages/rez/2.0.rc1.16.0/CentOS-6.2_thru_7/python-2.7/bin/rez/rez", line 4, in
run()
File "/fast/markst/packages/rez/2.0.rc1.16.0/CentOS-6.2_thru_7/python-2.7/lib/python2.7/site-packages/rez-2.0.rc1.16.0-py2.7.egg/rez/cli/_main.py", line 120, in run
returncode = run_cmd()
File "/fast/markst/packages/rez/2.0.rc1.16.0/CentOS-6.2_thru_7/python-2.7/lib/python2.7/site-packages/rez-2.0.rc1.16.0-py2.7.egg/rez/cli/_main.py", line 112, in run_cmd
return opts.func(opts, opts.parser, arg_groups[1:])
File "/fast/markst/packages/rez/2.0.rc1.16.0/CentOS-6.2_thru_7/python-2.7/lib/python2.7/site-packages/rez-2.0.rc1.16.0-py2.7.egg/rez/cli/env.py", line 185, in command
package_filter.add_inclusion(rule)
File "/fast/markst/packages/rez/2.0.rc1.16.0/CentOS-6.2_thru_7/python-2.7/lib/python2.7/site-packages/rez-2.0.rc1.16.0-py2.7.egg/rez/package_filter.py", line 245, in add_inclusion
self.filters = [(x + f) for x in self.filters]
TypeError: unsupported operand type(s) for +: 'PackageFilter' and 'PackageFilter'
Should it be possible to supply an inclusion filter without an exclusion filter? Some of the code seems to concern itself only with exclusions which would prohibit this (e.g. this line in the solver):
rule = self.package_filter.excludes(package)
if rule:
if config.debug_package_exclusions:
print_debug("Package '%s' was excluded by rule '%s'" % (package.qualified_name, str(rule)))
continue
—
Reply to this email directly or view it on GitHub.

Ok, I see.
With hindsight I also wonder if you have an exclusion filter configured in rezconfig and this is why we are getting different examples of the same problem, i.e you have a configured exclusion filter which is the same as my second example of specifying it on the command line.  In which case the bug hasn't changed, I just found a different way of triggering it...

Yup that explanation sounds right. Yes we do have a default exclusion filters, ours is configured to exclude *.dev files.
I've since merged your recent PR fixing this, so closing.


Feature: Start Erigon and Lighthouse

This PR features support for starting erigon+lighthouse clients. IMPORTANT: please keep in mind that there is no support for lighthouse validator yet!

CU-863gevaza


fix(ast): correct code comment

Comment showing macro expansion did not match the actual macro output.

#5004  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite

Just changes a comment, so merging without review.


I-21 UI improvements

UI Improvements for all the pages

The navbar is still messed up in 13 inch screens.

Also can this table component be centered in the page, doesn't look nice left aligned.


vraptor maturity level.

actually long time , i am using JSF. Now i want to use vraptor. is vraptor4 is ready for large scale
financial application development ?

Hi @masumcse1, TLDR yes it is :) There is several projects using VRaptor, including GUJ and Alura, both maintained from the same educational company that maintains this framework. The company is called Caelum, a famous training company in Brazil, visible on https://www.caelum.com.br/ (pt_BR only, sorry, and actually this site is also running on VRaptor). If you're going to create a large scale app, we strongly recommend the usage of an application server, such as WildFly (my favorite choice) or Glassfish (RI impl). The CDI usage brings to VRaptor a convenient capability to integrate really well with other Java EE specs, such as JPA, BeanValidation, EJB, JMS and many others. Besides that, we have an amazing, friendly and helpful community, and a fast support. Best regards

I think we have a lot of successful use cases of VRaptor. VivaReal
http://vivareal.com.br, for example, is the largest real state market
place from Brazil and uses VRaptor for several internal services,
responding millions of requests each day.
On Thu, Sep 10, 2015 at 8:19 AM Rodrigo Turini<EMAIL_ADDRESS>wrote:

Hi @masumcse1 https://github.com/masumcse1, TLDR yes it is :) There is
several projects using VRaptor, including GUJ http://www.guj.com.br/
and Alura https://www.alura.com.br/, both maintained from the same
educational company that maintains this framework. The company is called
Caelum, a famous training company in Brazil, visible on
https://www.caelum.com.br/ (pt_BR only, sorry, and actually this site is
also running on VRaptor). If you're going to create a large scale app, we
strongly recommend the usage of an application server, such as WildFly (my
favorite choice) or Glassfish (RI impl). The CDI usage brings to VRaptor a
convenient capability to integrate really well with other Java EE specs,
such as JPA, BeanValidation, EJB, JMS and many others. Besides that, we
have an amazing, friendly and helpful community, and a fast support. Best
regards
—
Reply to this email directly or view it on GitHub
https://github.com/caelum/vraptor4/issues/1028#issuecomment-139207858.

yes , also my best choice is wildfly 10.
I interested to know that is there any open source web application built using vraptor 4 ?

AFAIK there is Mamute.
This is a open source question and answers engine: http://www.mamute.org/.

closing here. thanx for bringing this out, @masumcse1


Is troubleshoot flag still working?

Apologize if there is an issue about that, but, according to my experiments --troubleshoot command-line argument or troubleshoot configuration option does not change the log level since<EMAIL_ADDRESS>(works in 3.2.1 but does not in 3.3.0 and 4)
Could you please confirm if this is a bug, or am I missing something? Thanks so much!

I think we've introduced a problem while migrating launcher.js to launcher.ts - see how we called log.set(config) in launcher.js and missing it launcher.ts.

Thanks for spotting that! I think you're right. We're about to do a release - I'll try to squeeze the fix for this in.

@mgiambalvo thanks so much for a quick fix!


Table sorted alphabetical but should be numerical

@pingustar is this something you recognise?

yes, taking this on.

I have a fix for most columns in the table in commit d92e2fb using a check for isBigNumber but for more complex table we probably need a similar approach to the custom filter prop.
When the selected column has an object with multiple properties, we need to pass a custom sorting function into the data table component.

this particular issue is fixed. There are more edgecases that I might not be aware of, please reopen if you find anything else not working as it should.


Add a texture packer gui.

A texture packer gui, make it easy to pack images.
This time I don't change unnecessary files.
I post here: http://www.badlogicgames.com/forum/viewtopic.php?f=15&t=21122

I am not sure if we can/should add miglayout as jar to the repo. It should be probably added as a maven dependency.
Also, wouldn't this be better off as a standalone project, outside of the libGDX? If we add this, we will have to maintain it when texturepacker changes.

I'd rather you maintain as a third party extension, as I'd rather not maintain a gui.
In any case, we should avoid adding new jars to the repo unless absolutely necessary (and I don't think miglayout is absolutely necessary).

I agree with @MobiDevelop, this is a much better fit as a third party extension, but thanks for your contribution!

I personally don't feel a texture packer needs a UI. For what? To visualize the output? The output of the texture packer is already images! Is it to visualize the settings? If so, is a form really much different than a JSON file?
Still, if you put your UI somewhere, we can link it from the wiki. The Spine trial can also save a settings JSON file:
http://esotericsoftware.com/spine-texture-packer


fix: export of LayoutContextType

Rexport LayoutContextType explitly as type to work with tsconfig isolatedModules.

I was to slow :D. Already fixed by community ❤ https://github.com/livekit/components-js/pull/491


Start the informers so the get and list functions work

This fixes Issue #653
The informers weren't being started.
In testing, after the GET operation worked, it returned incorrect output so I fixed that as well.

jenkins rebuild manager/presubmit

@sebastienvas can we disable bazel caching for now? the problem with non-hermetic genfiles is frustrating. whenever someone changes istio/api protos and updates the files, it pollutes the caches and nothing builds on that node.

@kyessenov I created #660 to track the creation of tests for apiserver and istioctl + apiserver.  I could probably create e2e tests for these.  To be more agile I would like to be able to run these tests independent of the other tests.  I didn't see anything like go test --run <pattern> for test/integration/driver.go.  Am I missing something?  If not may I add it?

Yes, I just comment out tests i don't need, but using flags to specify which tests to run sounds fine. They are designed to be self-contained now.

test/integration/driver.go isn't a proper golang test (yet?). It it were we could restructure sub-tests as separate TestXXX() functions and then you'd be able to use go test -run TestXXX.

Yeah, e2e is a main program, not a go test. I don't know if there is value in converting it to a regular go test (esp. dealing with bazel again), but feel free to do that.

Jenkins job manager/presubmit passed

jenkins rebuild manager/e2e-smoketest

jenkins rebuild manager/e2e-smoketest

jenkins rebuild manager/e2e-smoketest

jenkins rebuild manager/e2e-smoketest

Jenkins job manager/e2e-smoketest passed


BindInfo status cannot be set to Initialized

/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
BindInfo status always empty, cannot be Initialized
What did you expect to happen:
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:

ODLM version:
Minikube/KIND/OCP version:
Kubernetes version: (use kubectl version):
OS (e.g. from /etc/os-release):

Close it because #347 has been merged.


feat(core): store mediator id in connection record

Signed-off-by: Timo Glastra<EMAIL_ADDRESS>

Codecov Report

Merging #503 (2ba656d) into main (e5aedd0) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #503   +/-   ##
=======================================
  Coverage   86.31%   86.31%
=======================================
  Files         266      266
  Lines        5749     5750    +1
  Branches      923      924    +1
=======================================
+ Hits         4962     4963    +1
  Misses        786      786
  Partials        1        1

Impacted Files
Coverage Δ

...modules/connections/repository/ConnectionRecord.ts
98.43% <100.00%> (+0.02%)
:arrow_up:

.../modules/connections/services/ConnectionService.ts
95.78% <100.00%> (ø)

...ules/routing/services/MediationRecipientService.ts
77.77% <100.00%> (ø)

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 e5aedd0...2ba656d. Read the comment docs.


Add option to filter requeuing by dummyId

paired with @bracki
cc: @Jimdo/platform

paired with @bracki


promise doesn't need an additional nextTick.

Coverage remained the same at 100.0% when pulling c761dadc135b896b9219be14521c1c57d857dc30 on graingert:patch-2 into 18ee20b27ca3dd29ed48e6c0cddf8252fca29e75 on stream-utils:master.

Coverage remained the same at 100.0% when pulling c761dadc135b896b9219be14521c1c57d857dc30 on graingert:patch-2 into 18ee20b27ca3dd29ed48e6c0cddf8252fca29e75 on stream-utils:master.


CMD window needs to be hidden

Doesn't provide functionality to the user. Needs to be hidden.
Add to build for windows:
-ldflags -H=windowsgui

fixed in build 72


Add option to only edit flowsettings

Is your feature request related to a problem? Please describe.
When trying to add a impicit exit, the adding doesnt work because a gebuild of the flow is triggerd by the model.
Describe the solution you'd like
Only trigger the flow rebuild when changing flowsettings

You could make a function that only returns the flowSettings. In that function, you could check each setting to see if it's an instanceOf FlowSettings of if the Keys of the class include the setting


Use address shapefile download for City of Huntsville, AL

I think data-pls had a glitch, it has no error log and the only change was adding a typo to a field name.

Can you use https://maps.huntsvilleal.gov/server/rest/services/Addresses/AddressPoints/MapServer/0 instead? Rest services tend to be updated more frequently?


Provider-agnostic jsonl file?

Currently, when generating the OPTIMADE jsonl file, custom/provider properties automatically get the mcloudarchive prefix by default, or a different prefix if changed via the MC_OPTIMADE_PROVIDER_PREFIX env variable.
I am still thinking whether it might make sense to keep jsonl file provider-agnostic (e.g. using a placeholder prefix like _custom or _provider). Possible reasons:

you don't need to know the provider when generating the jsonl file.
cleaner to serve the same jsonl from different providers.
easier to distinguish between provider vs the future namespace prefixes (e.g. is _stability a provider?)

Although I understand that there is value in having the jsonl file exactly mirror the underlying data (mongoDB in our case) and the API responses. So actually, maybe it's good to keep it as it is now.
thoughts, @ml-evs?

Just to document here: one possible idea we discussed during the optimade workshop is to use the _optimake prefix for all custom properties in jsonl files made by optimake.


Breaking: Allow -- as args separators (fixes #188)

This implements a change that allows -- to indicate arguments to be passed to make targets. Basically, you can do this:
target.foo = function(args) {

};

And args will be everything after the -- on the command line, so for example:
$ node Makefile.js foo -- bar baz

args in the previous code will be ['bar', 'baz'].
I noticed there's a force argument for targets, but I couldn't find anywhere it's documented or used. So, I moved it to be the second argument as it seems mostly unused at the moment.
Other caveats:

It appears there aren't any tests for make.js, so I didn't know if it's okay to just make changes. I did test it locally with an example file and it worked
npm test fails for me (I'm on Windows using Git Bash) and I couldn't figure out how to get it to run, so I'm not really sure about this change.

@arturadib let me know if this is okay or if you'd like other changes.

OK, so it just occurred to me that some folks (including one of our largest users, PDF.js) pass arguments directly to targets from within the script itself, see e.g. https://github.com/mozilla/pdf.js/blob/master/make.js#L473.
I don't think this would break things for them unless they started using the new -- feature, but just wanted to give a heads-up in case I'm missing something. /cc @yurydelendik @brendandahl
If the PDF.js folks are OK with this let's :sheep: it!

It would break right now because I'm always passing an empty array if -- isn't used. If instead I passed undefined, then it seems like it would be backwards compatible.

That's not how it works. The -- is separate, such as:
$ node Makefile.js test -- tests/lib/too.js tests/lib/bar.js

If instead I passed undefined, then it seems like it would be backwards compatible.

Cool, can we try that?

Updated.

Merging this in. @brendandahl @yurydelendik please let me know if this breaks the build for PDF.js!

this is now in<EMAIL_ADDRESS>

Yay, thanks!


SQL: NVL does not work with empty strings as documentation states it would

Affected Version
0.16.0 and 0.17.0
Description
NVL does NOT work with empty strings
SELECT
   NVL('something', 'fallback') AS tst1,
   NVL(null, 'fallback') AS tst2,
   NVL('', 'fallback') AS tst3

this yields
"something", "fallback", ""
According to the documentation, the third projection should also yield the output "fallback"

NVL(expr,expr-for-null) | Returns 'expr-for-null' if 'expr' is null (or empty string for string type).

I would petition to not change the documentation but the behaviour of the function because it is useful to also deal with empty strings.
Other functions like COALESCE have the same issue. Also a missed LOOKUP() should result in a null value but instead produces an empty string. This means that long combinations of CASE, NVL, NULLIF, COALESCE and LOOKUP need to be used just to implement something in SQL that is equivalent to the plywood function fallback()

I'd make a similar comment about this as https://github.com/apache/druid/issues/9416#issuecomment-591673574.


Allow optionally passing spec object into init to override it.

When using this in dev vs prod, we override the spec at build time with a different host and securityDefinition.
The spec object becomes a new optional param to init here.

@johnsusek could please also update service.ts.template with the same changes?

🎉 thanks @johnsusek

done! let me know if I should change anything, I'm not very familiar with typescript


[docs] Generate Cloudprober config documentation from protobufs

I've some ideas and preliminary code working.

I wrote a tool :smile: : https://github.com/manugarg/protodoc
Here is the generated documentation: https://manugarg.github.io/protodoc/
Now I am working on integrating this documentation into the cloudprober website.

This is done: #486. Docs are here:
https://cloudprober.org/docs/config/overview
As you can probably tell by the PR description, I am quite excited about it :smile:.


[GLUTEN-3559][VL] Fix TPCDS Plan Suite

What changes were proposed in this pull request?
As part of this change https://github.com/apache/spark/pull/38151 in spark 3.4 a new config was introduced spark.sql.readSideCharPadding which adds extra expression in project list expression. Due to this Suite fails with this error:
Unable to convert the expression staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, sm_type#106, 30, true, false, true)
java.lang.UnsupportedOperationException: Unable to convert the expression staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, sm_type#106, 30, true, false, true)
at io.substrait.spark.expression.ToSubstraitExpression.default(ToSubstraitExpression.scala:46)
at io.substrait.spark.expression.ToSubstraitExpression.translateUp(ToSubstraitExpression.scala:145)
at io.substrait.spark.expression.ToSubstraitExpression.translateUp(ToSubstraitExpression.scala:136)
at io.substrait.spark.expression.ToSubstraitExpression.convert(ToSubstraitExpression.scala:57)
at io.substrait.spark.expression.ToSubstraitExpression.apply(ToSubstraitExpression.scala:50)
at io.substrait.spark.logical.ToSubstraitRel.toExpression(ToSubstraitRel.scala:260)
at io.substrait.spark.logical.ToSubstraitRel.$anonfun$visitProject$1(ToSubstraitRel.scala:230)
at scala.collection.immutable.List.map(List.scala:297)
at io.substrait.spark.logical.ToSubstraitRel.visitProject(ToSubstraitRel.scala:230)
at io.substrait.spark.logical.ToSubstraitRel.visitProject(ToSubstraitRel.scala:45)
at org.apache.spark.sql.catalyst.plans.logical.LogicalPlanVisitor.visit(LogicalPlanVisitor.scala:38)
at org.apache.spark.sql.catalyst.plans.logical.LogicalPlanVisitor.visit$(LogicalPlanVisitor.scala:25)
To fix the suite I have disabled this config in suite.
(Fixes: #3559)
How was this patch tested?
Ran in local

@JkSelf I see only 5 checks are starting for this, gluten-clickhouse CI is not getting triggered.

@ayushi-agarwal We disable the tests related with substrait-java. Can you help to enable the tests here?

@ayushi-agarwal We disable the tests related with substrait-java. Can you help to enable the tests here?

Thank @JkSelf for pointing this out. I have enabled it and will see if all the checks pass.

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4298_time.csv
log/native_master_01_08_2024_b81ecdef1_time.csv
difference
percentage

q1
33.14
33.20
0.058
100.17%

q2
25.76
25.74
-0.019
99.93%

q3
38.23
38.04
-0.195
99.49%

q4
37.65
39.01
1.363
103.62%

q5
70.37
71.87
1.501
102.13%

q6
7.17
8.18
1.004
114.01%

q7
87.11
85.51
-1.604
98.16%

q8
87.90
85.98
-1.923
97.81%

q9
127.94
122.63
-5.314
95.85%

q10
43.97
43.71
-0.257
99.41%

q11
19.65
20.14
0.488
102.48%

q12
27.62
27.54
-0.080
99.71%

q13
49.48
46.35
-3.127
93.68%

q14
20.54
18.04
-2.505
87.81%

q15
29.99
28.07
-1.919
93.60%

q16
15.40
15.33
-0.073
99.52%

q17
158.59
157.40
-1.187
99.25%

q18
195.82
196.16
0.345
100.18%

q19
16.68
16.55
-0.126
99.25%

q20
29.23
29.10
-0.130
99.55%

q21
224.21
226.46
2.254
101.01%

q22
13.91
14.01
0.102
100.74%

total
1360.35
1349.01
-11.343
99.17%


Draft: Damask alpha5

In damask alpha5, some spatial averaging function is missing. I have implemented them in our damask job.

The plots in the notebooks seems odd with current changes. I guess there is some error in the averaging.


Corrupted files in FMA Large

I didn't double check, but I couldn't open files with these indices on linux/ffmpeg/librosa. Just wanted to share so that others would get some hints.
2624,
3284,
8669,
10116,
11583,
12838,
13529,
14116,
14180,
20814,
22554,
23429,
23430,
23431,
25173,
25174,
25175,
25176,
25180,
29345,
29346,
29352,
29356,
33411,
33413,
33414,
33417,
33418,
33419,
33425,
35725,
39363,
41745,
42986,
43753,
50594,
50782,
53668,
54569,
54582,
61480,
61822,
63422,
63997,
72656,
72980,
73510,
80553,
82699,
84503,
84504,
84522,
84524,
86656,
86659,
86661,
86664,
87057,
90244,
90245,
90247,
90248,
90250,
90252,
90253,
90442,
90445,
91206,
92479,
94052,
94234,
95253,
96203,
96207,
96210,
98105,
98562,
101265,
101272,
101275,
102241,
102243,
102247,
102249,
102289,
106409,
106412,
106415,
106628,
108920,
109266,
110236,
115610,
117441,
127928,
129207,
129800,
130328,
130748,
130751,
131545,
133641,
133647,
134887,
140449,
140450,
140451,
140452,
140453,
140454,
140455,
140456,
140457,
140458,
140459,
140460,
140461,
140462,
140463,
140464,
140465,
140466,
140467,
140468,
140469,
140470,
140471,
140472,
142614,
144518,
144619,
145056,
146056,
147419,
147424,
148786,
148787,
148788,
148789,
148790,
148791,
148792,
148793,
148794,
148795,
151920,
155051,

Thanks for reporting. I've checked some (002/002624.mp3, 084/084522.mp3, 101/101265.mp3, 140/140449.mp3, 148/148795.mp3) and could open them with librosa (v0.8.0) and ffmpeg (v4.3.1), and listen to them with mpv (v0.32.0), also on Linux. What did you try exactly?
Do also check that your local copy isn't corrupted. You can get a checksum of an audio file as sha1sum 002/002624.mp3 then check that it corresponds to what is recorded in the checksums file. Or check them all with sha1sum -c checksums.

Also, when I created the dataset, I did extract features (with librosa) from all tracks in fma_full.

Hm, this is interesting. I can't really figure it out and ended up ignoring those files. Anyway..
$ sha1sum 002/002624.mp3
5e421474f0cbcf35648753fe1fd3cc22788d1bbe  002/002624.mp3
fma_large $ grep 002/002624.mp3 checksums
5e421474f0cbcf35648753fe1fd3cc22788d1bbe  002/002624.mp3

So the file is correct.
$ ffmpeg
ffmpeg version 4.1.6-1~deb10u1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --prefix=/usr --extra-version='1~deb10u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

ffmpeg is installed
$ ls -l 002/002624.mp3
-r--r--r-- 1 <REDACTED> 1563 Apr  1  2017 002/002624.mp3

1563 Byte seems very small...
And it's the error in Python.
$ python3
Python 3.7.3 (default, Apr  3 2019, 05:39:12)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import librosa
>>> _ = librosa.load('002/002624.mp3')
[REDACTED]/python3.7/site-packages/librosa/core/audio.py:162: UserWarning: PySoundFile failed. Trying audioread instead.
  warnings.warn("PySoundFile failed. Trying audioread instead.")
Traceback (most recent call last):
  File "[REDACTED]/python3.7/site-packages/librosa/core/audio.py", line 146, in load
    with sf.SoundFile(path) as sf_desc:
  File "[REDACTED]/python3.7/site-packages/soundfile.py", line 629, in __init__
    self._file = self._open(file, mode_int, closefd)
  File "[REDACTED]/python3.7/site-packages/soundfile.py", line 1184, in _open
    "Error opening {0!r}: ".format(self.name))
  File "[REDACTED]/python3.7/site-packages/soundfile.py", line 1357, in _error_check
    raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace'))
RuntimeError: Error opening '002/002624.mp3': File contains data in an unknown format.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "[REDACTED]/python3.7/site-packages/librosa/core/audio.py", line 163, in load
    y, sr_native = __audioread_load(path, offset, duration, dtype)
  File "[REDACTED]/python3.7/site-packages/librosa/core/audio.py", line 187, in __audioread_load
    with audioread.audio_open(path) as input_file:
  File "[REDACTED]/python3.7/site-packages/audioread/__init__.py", line 116, in audio_open
    raise NoBackendError()
audioread.exceptions.NoBackendError

FYI, I have libsndfile1 installed in the machine.

My bad, I was checking fma_full instead of fma_large... I can reproduce. It's a known issue, but we didn't have a list for fma_large yet. I've added yours. Thanks!
I think the list is however incomplete, as it should be a superset of the fma_small and fma_medium lists. For example, I get the same issue with 099/099134.mp3 which is not in your list. Don't you?

no problem! and you’re right, I only included the files that only exist in FMA Large. I assumed all the files in FMA small and medium are in FMA large so in my code, I ignore all the corrupted files in FMA small, medium, and large.

I see, so we now have complete lists for the three subsets. Thanks!

Does the list also contains tracks that are shorter than 30s but load fine?

It probably doesn't contain those files. The list contains files that I had error when trying to load the audio file.

Ok, thanks for confirming.


Unable to edit last output line

I want to create a progress bar for the terminal, but the only way I could do this is to directly edit the last div in the terminal-output. But whenever the window is resized, I lose everything. There should be a way to clear just the last line, not just the entire console.

Found this old issue the library now have update function that allow to change content of the line. If you use term.update(-1, "=") it will update last line.


db - Connection is not available

Hello,
As i found while doing some researchs, there is still permission or ressource issue when you install a package already (or not) build from this project.
I install the lastest version of cerebro for CentOS7 with the latest .rpm available.
After the installation i pimped out the configuration file and modify the .service file to change the IP and the PORT on which the service will be listening.
But after that the service can't create the .db file.
The workaround i found in the 0.8.3 version was to mouve out the temporary files created by cerebro with add this line in the .service file :
ExecStart=/home/user/cerebro-0.8.3/bin/cerebro \
                                          -Djava.io.tmpdir=/home/user/cerebro-0.8.3 \
                                          -Dhttp.port=${PORT} \
                                          -Dhttp.address=${HOST}

In this version, the configuration file for the service are installed to /usr/share/cerebro/conf with a symbolic link to /etc/cerebro.
Even if there is full permission on the /etc/cerebro directory, java can't still create the database.
It would be great if in the future, the installation take care about this issue that is mostly annoying when you are installed the service every 3 or 4 weeks. I always forget what are the steps to follow and pass around this issue.
Maybe that's not a permission problem or something like that, let's investigate

Hello,
Almost the same problem here ; on Debian 9.11.
I installed the package downloaded here and openjdk, then systemclt start cerebro
Logs :
java.sql.SQLTransientConnectionException: db - Connection is not available, request timed out after 30001ms.
[...]
Caused by: java.sql.SQLException: opening db: './cerebro.db': Permission denied

Found in /lib/systemd/system/cerebro.service:
WorkingDirectory=/usr/share/cerebro
User=cerebro

But this dir is only writable by root.
Workaround:
Just open /etc/cerebro/application.conf , comment out line 18 and uncomment line 17 :

17 data.path: "/var/lib/cerebro/cerebro.db"
18 #data.path = "./cerebro.db"

Then systemctl start cerebro

So, far the only solution is exactly what @sznicolas said. I guess the .deb should have the data.path property configured in a different way to avoid manual intervention.

One comment: I found that setting the data.path: in /etc/cerebro/application.conf does the charme for me. I even used the suggested but commented path /var/lib/cerebro/cerebro.db. So in my opinion it should suffice to set this value by default.

you don't need to change the systemd service file to deal with the db write access.  You can tweak /etc/default/cerebro.
I created two subdirs in /usr/share/cerebro (db and tmp) both owned by cerebro.   Then tweaked the application.conf 'data.path: "/usr/share/cerebro/db/cerebro.db"and addedJAVA_OPTS="-Djava.io.tmpdir=/usr/share/cerebro/tmp"` to /etc/default/cerebro


Video files (mp4) not being attached

What happened?
Here's my markdown:
<!-- Parent: Reference application -->
<!-- Layout: plain -->
<!-- Type: page -->
<!-- Content-Appearance: full-width -->

<!-- Attachment: img/ES_Slide1.JPG -->
<!-- Attachment: img/ES_Slide2.JPG -->
<!-- Attachment: img/ES_Slide3.JPG -->
<!-- Attachment: img/ES_Slide4.JPG -->
<!-- Attachment: img/ES_Slide5.JPG -->
<!-- Attachment: img/ES_Slide6.JPG -->
<!-- Attachment: img/ES_Slide7.JPG -->
<!-- Attachment: img/ES_Slide8.JPG -->
<!-- Attachment: img/ES_Slide9.JPG -->
<!-- Attachment: img/EventStorming.mp4 -->
<!-- Include: ../../../disclaimer.md -->

What did you expect to happen?
See the mp4 file attached to the page
How can we reproduce the behavior you experienced?
Steps to reproduce the behavior:

Add an mp4 to the folder
Use <!-- Attachment: img/....mp4 -->

In case this is related to specific markdown, please provide a minimal markdown example here.
Further Information (please complete the following information)

Mark Version (mark --version): [e.g. v9.1.4]

Mark Parameters:     mark -p $PERSONAL_ACCESS_TOKEN -b https://***.org --h1_title --drop-h1 --ci --space EDPC --parents "nnn/nnn" -f $file --debug || exit 1;

Confluence Hosting: Datacenter

Confluence Version: v8.5.14 (confluence-0: 4316361a

Environment specific Information: GitLab runner

Logs or other output

Sync ./learn/ref-app/1-design/3-service-templates.md
2024-09-06 15:35:18.192 DEBUG config:
2024-09-06 15:35:18.192 DEBUG                files: ./learn/ref-app/1-design/3-service-templates.md
2024-09-06 15:35:18.192 DEBUG         compile-only: false
2024-09-06 15:35:18.192 DEBUG              dry-run: false
2024-09-06 15:35:18.192 DEBUG            edit-lock: false
2024-09-06 15:35:18.192 DEBUG              drop-h1: true
2024-09-06 15:35:18.192 DEBUG     strip-linebreaks: false
2024-09-06 15:35:18.192 DEBUG        title-from-h1: true
2024-09-06 15:35:18.192 DEBUG           minor-edit: false
2024-09-06 15:35:18.192 DEBUG      version-message:
2024-09-06 15:35:18.192 DEBUG                color: auto
2024-09-06 15:35:18.192 DEBUG                debug: true
2024-09-06 15:35:18.192 DEBUG                trace: false
2024-09-06 15:35:18.192 DEBUG             username:
2024-09-06 15:35:18.192 DEBUG             password: ******
2024-09-06 15:35:18.192 DEBUG           target-url:
2024-09-06 15:35:18.192 DEBUG             base-url: https://.org
2024-09-06 15:35:18.192 DEBUG               config: /root/.config/mark
2024-09-06 15:35:18.192 DEBUG                   ci: true
2024-09-06 15:35:18.192 DEBUG                space: EDPC
2024-09-06 15:35:18.192 DEBUG              parents: nnn/nnn
2024-09-06 15:35:18.193 DEBUG    parents-delimiter: /
2024-09-06 15:35:18.193 DEBUG     mermaid-provider: cloudscript
2024-09-06 15:35:18.193 DEBUG        mermaid-scale: 1
2024-09-06 15:35:18.193 DEBUG         include-path:
2024-09-06 15:35:18.193 DEBUG                 help: false
2024-09-06 15:35:18.193 DEBUG              version: false
2024-09-06 15:35:18.193 INFO  processing learn/ref-app/1-design/3-service-templates.md
2024-09-06 15:35:18.305 DEBUG resolving page path: ??? > Welcome to EDP > Test importing markdown > Reference application > Service templates
2024-09-06 15:35:18.322 DEBUG parent page "Welcome to EDP" exists: /display/EDPC/Welcome+to+EDP
2024-09-06 15:35:18.340 DEBUG parent page "Test importing markdown" exists: /display/EDPC/Test+importing+markdown
2024-09-06 15:35:18.356 DEBUG parent page "Reference application" exists: /display/EDPC/Reference+application
2024-09-06 15:35:18.356 INFO  page will be stored under path: Welcome to EDP > Test importing markdown > Reference application > Service templates
2024-09-06 15:35:18.381 INFO  the leading H1 heading will be excluded from the Confluence output
2024-09-06 15:35:18.415 INFO  creating attachment: "img/ST_Slide2.JPG"
2024-09-06 15:35:18.623 INFO  creating attachment: "img/ST_Slide3.JPG"
2024-09-06 15:35:18.844 INFO  creating attachment: "img/ST_Slide4.JPG"
2024-09-06 15:35:19.066 INFO  creating attachment: "img/ST_Slide5.JPG"
2024-09-06 15:35:19.275 INFO  creating attachment: "img/ServiceTemplate.light.drawio.svg"
2024-09-06 15:35:20.248 DEBUG Page Labels:
2024-09-06 15:35:20.248 DEBUG []
2024-09-06 15:35:20.248 DEBUG Meta Labels:
2024-09-06 15:35:20.248 DEBUG []
2024-09-06 15:35:20.248 DEBUG Del Labels:
2024-09-06 15:35:20.248 DEBUG []
2024-09-06 15:35:20.248 DEBUG Add Labels:
2024-09-06 15:35:20.248 DEBUG []
2024-09-06 15:35:20.248 INFO  page successfully updated: https://.org/display/EDPC/Service+templates
https://***.org/display/EDPC/Service+templates

Additional context
If anyone could tell me how to also make the macro:
<ac:structured-macro ac:name="multimedia" ac:schema-version="1" ac:macro-id="d7e1234">
<ac:parameter ac:name="file">EventStorming.mp4</ac:parameter>
<ac:parameter ac:name="width">100%</ac:parameter>
<ac:parameter ac:name="autoplay">true</ac:parameter>
</ac:structured-macro>
Work too and ignore the include markdown - ../../../disclaimer.md .

What's the size of the video? Maybe it fails due to that?

fwiw, the ac:multimedia macro is available in mark 11.0.0

It's 14.5 MB - I've tried it on it's own and it still fails. I managed to use inline macro:
<ac:structured-macro ac:name="multimedia">
<ac:parameter ac:name="name"><ri:attachment ri:filename="EventStorming.mp4"/></ac:parameter>
<ac:parameter ac:name="autostart">true</ac:parameter>
<ac:parameter ac:name="width">100%</ac:parameter>
</ac:structured-macro>
To get video to work, but having it built in would be great. Thanks for the help.

Can you try with a minimized example that only includes this and share the output of mark with --debug --trace here?
<!-- Title: Foo -->
<!-- Attachment: img/EventStorming.mp4 -->

<!-- Include: ac:multimedia
       Name: EventStorming.mp4  -->

2024-09-12 07:35:05.895 TRACE including template "ac:multimedia"
├─ path: ac:multimedia
└─ var Name: EventStorming.mp4
2024-09-12 07:35:05.895 FATAL unable to execute template
├─ template: ac:multimedia:1:227: executing "ac:multimedia" at <.AutoPlay>: AutoPlay is not a method but has arguments
├─ path: ac:multimedia
└─ var Name: EventStorming.mp4
Looks like a bug in the macro? I'm using the docker image via CI CD

Yes, there was a bug in the macro, I fixed it in 11.0.1. Please test again with that version.
If you want to exclude the file, the best is do to it in your for loop above that you use to feed into mark.


为何在pod上搜不到

[!] Unable to find a pod with name, author, summary, or description matching PGDatePicker

看一下cocoapods版本是多少？


Auto-push to chipsalliance/homebrew-verible from CI

We have a https://github.com/chipsalliance/homebrew-verible repository ( #758 ) that contains a MacOS installable package description.
Right now, it is only updated manually, but since we have all information in our verible CI, we should be able to automatically commit to the homebrew-verible repository with the updated version number and hash.
This would be a typical change.
This will probably require some bot accounts and/or auth tokens.

Assigning to Tom to triage.

I think the easiest way would be to convert https://github.com/chipsalliance/homebrew-verible/blob/835ce1c0f6f1348559d86c211d9ec5b54e983881/Formula/verible.rb to a template (e.g. jinja2 template).
The fields can be filled with the output of:
git describe (currently returns v0.0-3255-gfe86b47d)
and
git rev-parse $(git describe) (currently returns fe86b47d3fed81d3ba252c1e7c4c7571f65f3fb6).
The last part would be to configure push access to the homebrew-verible repository, we don't necessarily need any dedicated bot accounts, we can configure deploy keys - we can add the private key here as a github secret and then authorize the public key in the homebrew-verible repo. This should be sufficient and will probably be the simplest solution as we won't need any extra github accounts.


Add nicholaspatrick.md

Add Nicholas Patrick's PPP skeleton

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@626cdbb). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #28   +/-   ##
=========================================
  Coverage          ?   72.15%
  Complexity        ?      399
=========================================
  Files             ?       70
  Lines             ?     1232
  Branches          ?      125
=========================================
  Hits              ?      889
  Misses            ?      311
  Partials          ?       32

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


failing on OEL linux

Hi
for a week we have been trying to use this module on OEL linux 7.4 and can't seem to get past this puppet failure. tried many different configurations including installing mysql separately first but to no avail
puppet settings:-
classes

powerdns

powerdns::db_root_password: 'Password1'
#backend_install: false
powerdns::backend_install: true
powerdns::db_username: 'pdns'
powerdns::db_password: 'Password1'
powerdns::recursor: true
powerdns::custom_repo: false
powerdns::recursor::package_ensure: 'latest'
powerdns::authoritative::package_ensure: 'latest'
powerdns::auth::config:
gmysql-dnssec:
value: ''
local-address:
value: '<IP_ADDRESS>'
api:
value: 'yes'
powerdns::auth::config:
local-address-auth:
setting: 'local-address'
value: '<IP_ADDRESS>'
powerdns::recursor::config:
local-address-recursor:
setting: 'local-address'
value: '<IP_ADDRESS>'
failure output
puppet agent -t
Info: Using configured environment 'dev'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for server1
Info: Applying configuration version '1543425800'
Notice: /Stage[main]/Autofs/Exec[autofs on]/returns: executed successfully
Info: /Stage[main]/Autofs/Exec[autofs on]: Scheduling refresh of Exec[autofs rc3 kill last]
Info: /Stage[main]/Autofs/Exec[autofs on]: Scheduling refresh of Exec[autofs rc5 kill last]
Notice: /Stage[main]/Autofs/Exec[autofs rc3 kill last]: Triggered 'refresh' from 1 event
Notice: /Stage[main]/Autofs/Exec[autofs rc5 kill last]: Triggered 'refresh' from 1 event
Notice: /Stage[main]/Mysql::Server::Service/Service[mysqld]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Mysql::Server::Service/Service[mysqld]: Unscheduling refresh on Service[mysqld]
Error: Failed to apply catalog: Execution of '/bin/mysql -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

If you want to install MySQL yourself (or from a different manifest) you need to set $::powerdns::backend_install to false. Otherwise you will get errors.
The following error:
Error: Failed to apply catalog: Execution of '/bin/mysql -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Seems as if the MySQL server has been installed prior to running Puppet. Or perhaps OEL installs it using a default username and password, although I don't think it does.
I'll try to find some time to test this using Vagrant. There is a 7.5 box available on https://yum.oracle.com/boxes.
In the meantime could you try installing MySQL manually and use the before mentioned parameters?

FWIW, I'm seeing this on a clean install with a correct root password (tested by calling mysql -u root -p) on CentOS 7.
MySQL (actually mariadb) was already installed by a different puppet module, so I'm yet unsure if that's got something to do with it.

FWIW, I'm seeing this on a clean install with a correct root password (tested by calling mysql -u root -p) on CentOS 7.
MySQL (actually mariadb) was already installed by a different puppet module, so I'm yet unsure if that's got something to do with it.


ERROR: Command timed out: gem list -ra '^neovim$'   - ERROR: Failed to run: gem list -ra ^neovim$

Version confirmation

[X] Confirm

Following prerequisites

[X] Confirm

Neovim version
NVIM v0.8.3
Operating system/version
macOS 13.2.1
Terminal name/version
iterm2 Build 3.4.19
$TERM environment variable
No response
Branch info
main (Default/Latest)
Fetch Preferences
SSH (use_ssh = true)
How to reproduce the issue
Ruby provider (optional)

INFO: Ruby: ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin22]
INFO: Host: /usr/local/bin/neovim-ruby-host
ERROR: Command timed out: gem list -ra '^neovim$'
ERROR: Failed to run: gem list -ra ^neovim$

ADVICE:

Make sure you're connected to the internet.
Are you behind a firewall or proxy?

Expected behavior

Actual behavior
No response
Additional information
No response

ruby is not required to use the whole function normally.

I didn't report this error before.

ruby is not required to use the whole function normally.
I can't use the command key on macOS on neovim. Can this be solved?