Kubernetes deployment failure for custom windows image

Is this a request for help?:
Yes
Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
What version of acs-engine?:
v0.19.1
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Orchestrator: Kubernetes
Version: 1.8.13
What happened:

I am trying to deploy k8s cluster with custom image with the example under https://github.com/Azure/acs-engine/blob/master/examples/windows/kubernetes-custom-image.json .
I have custom image accessible under https://ashvinstorageblob.blob.core.windows.net/blob1/17711.1000.amd64fre.rs_prerelease.180703-1539_server_serverdatacenteracore_en-us_vl.vhd
Deployment fails with error -

Deployment failed. Correlation ID: bb07115e-33c1-4355-b40a-849313c1adea. {
"error": {
"code": "NotFound",
"message": "The Image '/subscriptions/099b416e-89be-463a-967c-ad4bdec5370e/resourceGroups/ashvincluster15/providers/Microsoft.Compute/images/windowspool2CustomWindowsImage' cannot be found."
}
}
What you expected to happen:
Deployment success
How to reproduce it (as minimally and precisely as possible):

upload a custom windows image under azure storage blob and use it in the example template provided by acs-engine to deploy k8s cluster

@ashvindeodhar is your image located in the ashvincluster15 RG with name windowspool2CustomWindowsImage and in the same region? I had the same error earlier today but realized my image was in a different region and changing the region of the deployment to the same region fixed it.

Hi Cecil, why is the deployment process searching the image in the cluster that I am trying to deploy. The example says it can be a custom link (https://custom/link/to/windows/image.vhd).
I retried again by creating a storage blob under the cluster. ( ashvincluster19 ) and in the same region.
I see different error now with OperationNotAllowed
Deployment failed. Correlation ID: 9424c279-d592-427d-8b60-ece87c586517. {
"error": {
"code": "OperationNotAllowed",
"message": "The resource '13618k8s9000' cannot be created from Image '/subscriptions/099b416e-89be-463a-967c-ad4bdec5370e/resourceGroups/ashvincluster19/providers/Microsoft.Compute/images/windowspool2CustomWindowsImage' until Image has been successfully created."
}
}
I have the image accessible under https://ashvincluster19blob.blob.core.windows.net/blob1/17711.1000.amd64fre.rs_prerelease.180703-1539_server_serverdatacenteracore_en-us_vl.vhd

Hmm it's unclear where '/subscriptions/099b416e-89be-463a-967c-ad4bdec5370e/resourceGroups/ashvincluster19/providers/Microsoft.Compute/images/windowspool2CustomWindowsImage' is coming from... Assuming your windowsProfile in your apimodel looks like:     "windowsProfile": {       "adminUsername": "azureuser",       "adminPassword": "replacepassword1234$",       "WindowsImageSourceUrl": "https://ashvincluster19blob.blob.core.windows.net/blob1/17711.1000.amd64fre.rs_prerelease.180703-1539_server_serverdatacenteracore_en-us_vl.vhd"     },  ?

So it looks like this was actually never implemented from k8s... https://github.com/Azure/acs-engine/pull/2004. I'm working on something in parallel for using custom VHDs with Linux + k8s, it should be easy to add to Windows + k8s as well.


Picker: Query API for multiple parts simultaneously

Fetches candidate components simultaneously for all modules under consideration, using new multi-query API endpoint.
Sample ato build times:
Before: 1m22s
After: 1m54s

FBRK_PICKER_API_URL=http://localhost:8000 python ./test/runtest.py  -k test_very_compl
> Backend query took 2.495 seconds

python ./test/runtest.py  -k test_very_compl
> Backend query took 9.440 seconds


oui-ui-core: why not use cgi-io upstream package

Environment: x86_64, APU3, OpenWrt master
Description:
@zhaojh329 Is there a reason why you have forked cgi-io into oui-io-util?
I think it is better to use the upstream project here and not just make a fork.
Of course there are advantages and disadvantages but I think the advantages outweigh the disadvantages here. The Upstream project is much further along and has already fixed bugs and added new features.
If this is OK I will prepare a pull request to remove this and use the upstream project from openwrt core. I do have to to some additional test on my environment.
The following commits are not added.

So do we need them?
Or are they already applied upstream?

https://github.com/zhaojh329/oui/commit/c7131d5c4ca748a192e9270b7de6bd3c7d5c276a#diff-81c7acce021b0b593a0b1aec6d2f5a0c
https://github.com/zhaojh329/oui/commit/28e26319514a1ab4f5383c8c3006b504b242e88e#diff-81c7acce021b0b593a0b1aec6d2f5a0c

The reason is that I hope oui can be used on older OpenWrt.

This package is included in the following branches

master
openwrt-19.07 (current stable)
openwrt-18.06 (EOL)
lede-17.01 (EOL)
for-15.05 (EOL)

So the only branch that is not supported is for-14.07 which is also EOL.
So correct me if I'm wrong but I think the advantage for building on older OpenWrt is not  given.

https://github.com/openwrt/packages/pull/9105/files

Maybe I don't need to consider the old version of openwrt.

Maybe I don't need to consider the old version of openwrt.

When someone develops (me as well) in openwrt, he actually always takes the master or the latest stable (for now openwrt-19.07) for development. A new feature is actually never added to the EOL branches only bugfixes. If you want to support old version. Then you can make branches and change the API to  cgi-download vs. cgi-backup.
I have compiled with the upstream cgi-io and changed vue calles. After my tests tomorrow I will open a pullrequest with my requested changes. Thanks for you feedback :-)
By the way nice work :+1:

I have added a pullrequest https://github.com/zhaojh329/oui/pull/52 for this.


weird type variables displayed

see the signature for `fold_left2`

Fixed in https://github.com/rescript-lang/rescript-editor-support/pull/39.


[BUG, Android, GoodID] Need to apply style fixes to GoodID flow

[BUG, Android, GoodID] Need to apply style fixes to GoodID flow
There are a lot of empty spaces between elements in GoodID flow.
There is no "Next" button after submitting a video selfie.
Steps:

download the latest android dev apk
navigate to goodid flow
pay attention to the styling components

verified on dev


Failed to run example from documentation

Hello,
I am trying to build the example from documentation here http://www.php-cpp.com/documentation/functions.
For phpcpp library "make" and "make install" worked without any problems. Also I was able to compile an example function from documentation into .so file. But when I tried to execute myFunction() from php it throws me error:
$php test.php

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/my_extension.so' - /usr/lib/libphpcpp.so: undefined symbol: zend_next_free_module in Unknown on line 0
PHP Fatal error:  Call to undefined function myFunction() in /var/PHP-CPP/test.php on line 3

test.php file looks like this: <?php myFunction();
I would appreciate any help, because I really love the idea of php-cpp extension and want to contribute several performance improvements for php frameworks.

When I was trying to run tests, all 44 tests were skipped. See header of test execution:

mkdir -p ./tests/include/zts/phpcpp
cd tests && ./test.sh -p "/usr/bin/php"
Compile the test extension
make[1]: Entering directory /var/PHP-CPP/PHP-CPP-stable/tests/cpp' rm -f extfortest.so main.o make[1]: Leaving directory /var/PHP-CPP/PHP-CPP-stable/tests/cpp'
make[1]: Entering directory /var/PHP-CPP/PHP-CPP-stable/tests/cpp' g++ -Wall -c -O2 -std=c++11 -fpic -I"/var/PHP-CPP/PHP-CPP-stable/tests/include/lib" -I"/var/PHP-CPP/PHP-CPP-stable/tests/include/zts" -o main.o main.cpp g++ -shared -L"/var/PHP-CPP/PHP-CPP-stable" -o extfortest.so main.o -lphpcpp make[1]: Leaving directory /var/PHP-CPP/PHP-CPP-stable/tests/cpp'
/var/PHP-CPP/PHP-CPP-stable:
PHP Warning:  PHP Startup: Unable to load dynamic library '/var/PHP-CPP/PHP-CPP-stable/tests/ext_dir/extfortest.so' - /var/PHP-CPP/PHP-CPP-stable/libphpcpp.so: undefined symbol: zend_next_free_module in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/var/PHP-CPP/PHP-CPP-stable/tests/ext_dir/extfortest.so' - /var/PHP-CPP/PHP-CPP-stable/libphpcpp.so: undefined symbol: zend_next_free_module in Unknown on line 0

So the same error happens in both cases:

/var/PHP-CPP/PHP-CPP-stable/libphpcpp.so: undefined symbol: zend_next_free_module in Unknown on line 0

At first glance, you are using a different version of php to compile PHP-CPP and run your example.
Could you tell which version of php do use.
Also, it may be your example was not installed correctly.
According to the data that you have provided, it is difficult to diagnose the cause.
Try uninstall your example extension and run tests after.
If some error occurs then, run following:
cd /path/to/PHP-CPP/tests
./test.sh -p /usr/bin/php -s /tmp/tests-out

and share file /tmp/tests-out for us, please.
It contains all debugging information about why tests were broken.
PS file /tmp/tests-out will be large. So don't put it here. You can use https://gist.github.com/, for example, or any other.

At first glance, you are using a different version of php to compile PHP-CPP and run your example
That is very unlikely, because I've installed php only once, and built extension and trying to execute it with the same php cli.

Could you tell which version of php do you use?
PHP 5.4.36-0+deb7u3
Zend Engine v.2.4.0

Also, it may be your example was not installed correctly.
Well, I just added my_extension.ini with extension=my_extension.so to conf folder. So even the error above confirms that php sees extension, but can't execute because some issue: It writes that unable to load extension, but not that the extension doesn't exist.

and share file /tmp/tests-out for us, please
Here we go https://gist.github.com/spleshka/c803eefedd0189c5ae84

Your extension fails to load because it cannot find the symbol 'zend_next_free_module'. That's strange, because that symbol is defined in the Zend engine, so it must be there.
Are you sure that the PHP header files do match the PHP version that is installed on your system? Sometimes we see that someone uses the php installation that comes from the repository of the operating system, but download the headers directly from www.php.net. This causes a conflict.
Please check the output of php-config --libs, and try to add these flags to the linker when compiling PHP-CPP and your extension. It might work.

Currently I have an idea that it can be the problem with line endings. Wait a bit, I'll recompile both extensions with correct line endings and let you know if it helps.

Unfortunately it is not line endings issue. Trying to follow your suggestion with php-config --libs.

Well, you had a good idea - somehow not all libraries from php-config --libs can be found during compilation of extension, see https://gist.github.com/spleshka/04fb2be6e759ed7a22f1. Trying to understand how this issue can be solved.

Btw, it might be a good idea to add a php-config --libs to LINKER_DEPENDENCIES variable from makefile.

Okay, turns out that php-config tells me that I have php 5.4.4 while php -v shows  me ````php 5.4.36```. You was absolutely right, somehow I have different php versions.

Yes, that was exactly the issue. There is a version difference between your PHP development environment, and the PHP runtime environment on your system.
I don't think that the missing linker flags were the real problem, it was just an easy attempt to fix things.

I agree, missing linker flags were not a problem. But I think it might be a good indicator that something goes wrong - it may save a lot of time for devs who will run into the same issue.

Most of the linker options are not at all necessary -- yes, i may help developers to set up their system, but in reality it does not make any sense to link either an extension or php-cpp with flags like -lbz2 or -lcrypto, because those libs are not used by PHP-CPP or your extension.

Agree, it makes sense.
Thanks indeed for your help with this issue.


Customize the Jekyll homepage with my personal info.

Need to add a link to my Github at the bottom.


Multiple test env

We should be able to mock the requests and also if we specify, run all the tests directly into stripe. So that way we're going to be able to use Travis CI.

Thought about that - the problem is that it's all arm-waving unless we hit the API.

So, the repo is not running tests any way haha You will be able to still run the tests using API as I said locally. But for Travis, it will keep the interface and expected basic behaviors to work.

@pragmaticivan can you elaborate a bit? I think we're already doing exactly what you've suggested: we're mocking using API responses, recorded with ExVCR.
To run all tests against live Stripe API:
STRIPE_SECRET_KEY=qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw mix test test/stripe/subscription_test.exs

To run all tests recorded Stripe API responses:
STRIPE_SECRET_KEY=non_empty_secret_key_string mix test test/stripe/subscription_test.exs

There's a caveat with running tests against live Stripe API though: you must remove all cassette files first, as ExVCR will try to match API calls to cassettes first.

Closing this as I don't think there are any actionable items in this issue.


Listing Tile - relative path

if i set a 'Location' criteria as 'relative path' in listing block, nothing changes in results, and the cypress test fails

the results dont change in 'absolute path' and 'navigation path' either. the whole path criteria is not working properly.

This is still valid for relative path search with latest commit in #747 ('listing-tile' branch). Absolute path works now.

Fixed in branch 'listing-tile' (see #747 )


Client unable to connect

Uncaught TypeError: Cannot read property 'length' of undefined
    at Object.module.exports (parse.js:66)
    at Object.main (bundle.js:3)
    at main (si.js:71)
    at ret (si.js:71)
    at Object.invokePartial (sk.js:104)
    at Object.invokePartialWrapper [as invokePartial] (se.js:31)
    at Object.main (options.js:14)
    at main (si.js:71)
    at Object.ret [as kick] (si.js:71)
    at buildChatMessage (socket.js:16)

No clue what I did to cause it. Client hangs at logging in or rendering (if already logged in).

Is this on master?

Yes

Can you get a stacktrace with sourcemaps loaded? Otherwise there's not much we can do.

If I can repro I'll get more info

Will re-open if I repro/get more info.


Fixed $interactionReply description (not a feature)

Type

[ ] Bug Fix
[ ] Functions: <Function Name>
[ ] Callbacks: <Callback Name>
[ ] Handlers: <Handler Type>
[x ] Others: parser

Description
Just a little bug fix in the $interactionReply description

can you like change the branch from master to dev?


Files crashes sometimes when double-clicking group or user names in properties' security tab

Description
The program crashed when I hit cancel on the properties window of my dropbox folder.  Happens also with other "Cloud Drive" folders. This bug appears not consistently, but frequent enough to be reproducable.
Steps To Reproduce

Open Files
Righ-Click on a Folder showing in the Cloud Drive side bar
Click on Properties
Go to Security
Double-click a group or username (system, administrators, etc...)
Click Cancel

Expected behavior
no crash
Files Version
v.2.0.13
Windows Version
Windows 10 Pro Version	21H1 (build 19043.1237)
Relevant Assets
From the debug.log:
2021-09-24 16:40:36.0508|ERROR|AppUnhandledException|Unspecified error
Unspecified error
System.Exception: Unspecified error

Unspecified error
2021-09-24 16:40:39.9265|INFO|OnLaunched|App launched. Prelaunch: False
2021-09-24 16:40:40.0625|WARN|TryLoadThemeAsync|Error loading theme: Standard
System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at Files.Helpers.ExternalResourcesHelper.d__17.MoveNext() + 0x16f
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at Files.Helpers.ExternalResourcesHelper.d__16.MoveNext() + 0x9c

@Crwmy thanks for the report. Could you post the full log files?

@gave92 sure!
debug_crwmy_6226.log
debug_fulltrust_crwmy_6226.log

Seems to be fixed since version 2.1
Thanks!


Virtual Terminal enviornment

Hi,
I am no profession or experienced, but I did use to work on Linux when I was younger so I am not a complete newbie.
So to make things quick, I install Cloudready Chromium OS on an old desktop machine of mine out of curiosity and because I am considering buying a Pixel & Chromebox for my new apartment instead of keeping my old desktop.
This desktop has nVidia 520 graphics card, however, installing the supported distro's install the nouveau drivers and I am trying to do some graphic intensive stuff. The drivers don't work well with OpenGL.
So I tried to update my drivers doing the usual
sudo apt-get install nvidia-current
and so on...
However, whatever I do, even when I blacklist nouveau drivers the drivers won't run.
So, I wanted to do a complete purge of the drivers, which means I need to exit graphic environment and work in a virtual terminal and run the nVidia driver install.
However, Ctrl+Alt+F1 obviously doesn't work because its overriden by Chromium.
Is there any work around this?

In Chrome OS, you can get to VT2 using: CTRL+ALT+F2
When logged into your account, you can open a crosh terminal session by using: CTRL+ALT+t, then entering shell.
I haven't used Chromium in a while so I'm not sure if it supports those key combos.

Hi,
I know both of those, however, that isn't what I am asking to.
The VT2 relates to Chromium and not to the installed via crouton linuxes. If it does work for the latter I have no idea how to log in on the specific machine without X.

@gstoykov88 Just use sudo enter-chroot to get just to the terminal of your chroot.

Sorry @gstoykov88, I did misunderstand you.
Just do what @divx118 recommended for a non-gui environment.

Looks like I can't install the drivers even with entering via chroot
sudo apt-get --purge remove xserver-xorg-video-nouveau
says no nouveau drivers are install
killing Xorg also doesn't work
sudo service lightdm stop
says service lightdm isn't present
think this is linked to the way crouton works...I suppose the drivers used in Ubuntu for graphics are the one used in ChromeOS or something like that
When I did
sudo enter-chroot -n ubuntu sudo killall X
My ChromeOS X died...I am going to give it one more go, but I think it just cant happen
Has anyone of you had success with installing Nvidia drivers on their linuxes?

You will probably need kernel support to use the nvidia drivers. This involves building the kernel modules for the Chromium OS kernel.
Doable, but will require some amount of work...

Duping to #1787.


Simulating with synthetic data

This is great, and makes sense as a simple first approach to simulation. In order to generate physically meaningful 3D simulation input however (i.e. videos) we'll want to improve and use the Unity simulation framework.

Hey @matt-ashman I have tried to create a big of a mechanism that makes it fairly simple to run some basic tests on various frame sizes etc. Would you take a look and let me know what you think.


vimPlugins.neotest-gradle: add plenary-nvim dependency

Description of changes
Add the required plenary-nvim dependency for neotest-gradle.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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

1 package built:

vimPlugins.neotest-gradle


Format: url doesn't validate urls containing double dashes

What version of Ajv are you using? Does the issue happen if you use the latest version?
6.5.4
Ajv options object

{
        format: 'full',
        removeAdditional: 'all',
        coerceTypes: true
}

JSON Schema

{
"type": "object",
"properties": {
    "url": { "type": "string", "format": "url" }
 }
}

Sample data

{ "url": "https://g--t.com" }

Your code

Validation result, data AFTER validation, error messages
            {
                "keyword": "format",
                "dataPath": ".url",
                "schemaPath": "#/properties/url/format",
                "params": {
                    "format": "url"
                },
                "message": "should match format \"url\""
            }

What results did you expect?
Valid URL
Are you going to resolve the issue?
No, sorry.

@vlamic "url" format is not part of JSON schema spec, you could use "uri" instead, it passes: https://runkit.com/esp/5bff85e6b9b5eb001267e991
According to these test cases double-dash is supposed to fail - not quite sure why. @gajus?

https://stackoverflow.com/questions/16468309/can-domain-name-have-two-continuous-hyphens

<IP_ADDRESS>. Hyphen Restrictions
The Unicode string MUST NOT contain "--" (two consecutive hyphens) in the third and fourth character positions and MUST NOT start or end with a "-" (hyphen).

However, it seems that you are able to register domain names such as http://a--a.com/
https://twitter.com/kuizinas/status/1068112490557595648

BTW: The validator fails not only with double dashes in the domain name, but also in a subdomain.

@epoberezkin This shouldn't be closed, though.
http://b--b.com/ is a valid domain name.

Why it is marked as invalid in the test cases then I wonder?...

On 29 Nov 2018, at 18:11, Gajus Kuizinas<EMAIL_ADDRESS>wrote:
@epoberezkin This shouldn't be closed, though.
http://b--b.com/ is a valid domain name.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Why it is marked as invalid in the test cases then I wonder?...

I think it is mistake. Let's see what Mathias replies to that tweet that I have shared.

https://github.com/epoberezkin/ajv/issues/898#issuecomment-447596417, #907


Find definitions/references

It would be nice if emacs-tree-sitter supported finding definitions and references of the symbol at point. It won't be as accurate as what language servers provide, but it should be faster. Finding references quickly would also enable highlighting of all references to the symbol at point.
I know that nvim-treesitter has a module that does this, but I'm hesitant to copy them since that would likely preclude inclusion of this package in GNU ELPA.
I could try implementing this myself if someone could direct me to the appropriate tree-sitter APIs. I'm guessing there's a better solution than naively traversing through the tree and checking identifiers. Upstream, HighlightConfiguration seems to have knowledge of local references, but if I'm not mistaken, I don't see any Emacs Lisp or Rust using it here in this package.

that seems to work only for the current buffer, i.e.: if a reference is defined on another file and that file is not visited by Emacs then the implementation will move you to the first reference of that symbol in the same file.
Let me ask you something: do we really want such feature? (if we don't want it, you can always write a package and publish it) I see you are part of emacs-lsp, which makes me wonder what is wrong with lsp-mode that having such feature with help of emacs-tree-sitter seems so attractive?

Let me ask you something: do we really want such feature? (if we don't want it, you can always write a package and publish it) I see you are part of emacs-lsp, which makes me wonder what is wrong with lsp-mode that having such feature with help of emacs-tree-sitter seems so attractive?

There are a couple of things I like about tree-sitter here:

I would expect tree-sitter-based symbol-at-point-highlighting to be faster than what we do in lsp-mode, which is to make a textDocument/documentHighlight request.
I would also expect a tree-sitter-based function that goes to the next occurrence in the buffer of the symbol at point to be faster than lsp-ui-find-next-reference, which makes a new textDocument/references request each time we call it.

that seems to work only for the current buffer, i.e.: if a reference is defined on another file and that file is not visited by Emacs then the implementation will move you to the first reference of that symbol in the same file.

xref is expected to support falling back on different backends someday. So having tree-sitter-based definition-jumping should be worth it if/when that day comes.

Why should copying our implementation be a problem for GNU MELPA? Isn't the actual problem for you the implementation in Lua? Our implementation could be improved regarding speed (better caching and look-in by hash tables) for using it for semantic highlighting. It's never the less very fast. We also helper with the draft of sidekick https://github.com/ElPiloto/sidekick.nvim which might be worth to look at.
The feature is handy for smart rename for languages that don't have a language server.

Why should copying our implementation be a problem for GNU MELPA?

I've asked the #emacs and #fsf IRC channels about whether code released under a GPL-compatible license such as nvim-tree-sitter's Apache 2.0 license can be copied and included as part of Emacs without further steps (I think ELPA qualifies as "part of Emacs"). I did not receive an answer from anyone with any legal training, but some of the other people there who had contributed to Emacs speculated that for the code to be included, the people who originally wrote the copied code would need to sign papers -- presumably authorizing the FSF to redistribute the code under GPL 3+ or something.
Thanks for the implementation hints. If I ever get an affirmative answer on the whole copyrighting issue, I'll study your guys' code.

@leungbk we know all the contributers and could ask them about dual licensing if this is an issue.


MSBuild 16 / VS2019 not supported

The msbuildVersionOption does not have 16 available as an option.
The MSBuild and Visual Studio Build tasks have been updated already.

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

ID: 17217289-b764-14a7-e3d9-862d1d9cf503
Version Independent ID: e1dd6942-3210-a148-b971-af869272c9a3
Content: Xamarin.Android build and release task - Azure Pipelines
Content Source: docs/pipelines/tasks/build/xamarin-android.md
Product: devops
Technology: devops-cicd
GitHub Login: @DavidStaheli
Microsoft Alias: dastahel

If you set the pool name to Hosted Windows 2019 with VS2019 it will try running on VS15, not find it, and fall back to 16.

@Thorocaine that's fine if you are not using your own build servers which have both installed.

Thanks for reporting this. We're going to move this issue to this repo:
https://github.com/Microsoft/azure-pipelines-tasks
/move to Microsoft/azure-pipelines-tasks


Modifying a record

Hey AnatolyI,
Our next task we wanted to add was the ability to modify a Record. what I was thinking on how to implement this was to have the ability to be able to add, modify, or remove a field / subfield at first. When you would do this, you would have to change the directory based on these modifications and then change the length of the record which is stored in the leader.
If you have any other suggestions on how it should be implemented, feel free to respond.
~ Benjamin

Record modification is a tricky topic for me.
Current modification-related primitives (RecordBuilder::filter_fields, RecordBuilder::filter_subfields and FieldRepr::filter_subfields) was implemented because i faced a concrete task earlier.
I was needed to remove every 979$a fields in a record and add one concrete 979$a field but MARC allows records to have any amount of fields with same tag and any amount of subfields with same identifier and i saw such combinations in records provided for this task.
So i come up with mentioned methods as a convenient way to remove every XXX or XXX$y in a record which hides the actual field-subfield layout complexity.
I did not really see a task related to record modification or record creation that requires something bigger than current RecordBuilder and FieldRepr API so i have nothing to tell about the topic.
If your case reveals some problems with convenience or functionality of current API and you will come up with a solution - it will be great.


failed to mine new blocks currently

this started on the 16th/8th/2021.  this should be fixed shortly

Should be fixed i will leave this as unsolved for the next week just incase

This should be solved


Testing is causing the github API to blackhole agent due to excessive query rate

Testing is currently failing do tho the high rate of API queries for the list of remote version. Implementing a cache to reduce the mostly unnecessary repetitive query should help fix this.

Basic caching was implemented to alleviate the issue.


user tool to extract point or polygon

This is a key requirement and should allow python and/or R users to extract by layer and time period (days)
Polygons
The code:

https://github.com/cardat/DatSci_bushfire_specific_pm25_for_sa1_2016_2001_2020_v1_3

does only SA1s but could be used for many ABS polygons

Points
Here is a snippet that could be useful:
  # NOTE there can be a number of files at once using terra and it will understand how the time dimension is split across years
  fs <- dir("~/cloudstor/Shared/Bushfire_specific_PM25_Aus_2001_2020_v1_3/data_derived", full.names = T)
  r1 <- terra::rast(fs, subds="pm25_pred")
  r2 <- terra::rast(fs, subds="trimmed_smoke_2SD_v1_3")
  xy <- cbind(1545315, -3954140) # this is canberra
  pm25_pred <- extract(r1, as.matrix(xy))

@truth-quark
This is the best polygons to test extraction: https://github.com/swish-climate-impact-assessment/biomass_smoke_events_db/tree/master/static/data_provided = study_slas_01.shp

NB: swish-climate-impact-assessment/biomass_smoke_events_db/blob/master/databases/storage.sqlite has verified bushfire events for testing against.

Idea: convert WGS84 coord(s) into Albers coords for extraction (with hyperslabbing?).
Can NetCDF tools correctly extract or hyperslab if given Albers coords?
Do the CDO tools have anything with the required functionality?

R package terra is very good for this.
See these
https://github.com/cardat/ResPrj_bushfire_pm25_v1_3_biomass_smoke_events_db_validation/blob/main/R/do_dat_bushfire_smoke_study_locations.R
which can be easily extracted with this
https://github.com/cardat/ResPrj_bushfire_pm25_v1_3_biomass_smoke_events_db_validation/blob/main/R/do_dat_extract_bushfire_pred_at_db_locns.R

Note for reference from https://gdal.org/drivers/raster/netcdf.html:
"This driver is intended only for importing remote sensing and geospatial datasets in form of raster images. If you want explore all data contained in NetCDF file you should use another tools."
For a python extractor, GDAL can only be part of a solution.

Reference note for nctoolkit:
https://nctoolkit.readthedocs.io/en/latest/supported.html
"Most operations in nctoolkit rely on Climate Data Operators (CDO) to perform the heavy lifting. CDO requires that files have at most 4 dimensions, which should be longitude and latitude, and time and depth/height.".
Based on this, I'm excluding nctoolkit on these grounds:

Sept/Oct 2023 bushfire smoke NetCDFs use Albers
nctoolkit 1.1.2's python library requires CDO 2.0.5, but Ubuntu 22.04 supplies 2.0.4

nctoolkit has a runtime error during import if the CDO version is < 2.0.5. Users either need to use a non LTS Ubuntu (e.g. 23.04) or compile CDO locally. Both options have drawbacks.


Bug: index.hpp leaks memory

Describe the bug
the simple c++ db (index.hpp) leaks. I ran it with asan, and got the following output:
=================================================================
==884330==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 1024 byte(s) in 1 object(s) allocated from:
    #0 0x7f8e43669587 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:104
    #1 0x559417f9d685 in unum::usearch::index_gt<unum::usearch::cos_gt<float, float>, unsigned long, unsigned int, std::allocator<char>, std::allocator<char> >::search_to_find_in_base_(unsigned int, unum::usearch::span_gt<float const>, unsigned long, unum::usearch::index_gt<unum::usearch::cos_gt<float, float>, unsigned long, unsigned int, std::allocator<char>, std::allocator<char> >::context_t&) const (/home/green/workspace/clip.cpp/build/bin/image-search+0x46685)
    #2 0x559417fa1883 in unum::usearch::index_gt<unum::usearch::cos_gt<float, float>, unsigned long, unsigned int, std::allocator<char>, std::allocator<char> >::search(unum::usearch::span_gt<float const>, unsigned long, unum::usearch::search_config_t) const (/home/green/workspace/clip.cpp/build/bin/image-search+0x4a883)
    #3 0x559417fa4053 in main (/home/green/workspace/clip.cpp/build/bin/image-search+0x4d053)
    #4 0x7f8e4301d082 in __libc_start_main ../csu/libc-start.c:308

Direct leak of 960 byte(s) in 24 object(s) allocated from:
    #0 0x7f8e43669587 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:104
    #1 0x559417f99b1e in unum::usearch::index_gt<unum::usearch::cos_gt<float, float>, unsigned long, unsigned int, std::allocator<char>, std::allocator<char> >::view(char const*) (/home/green/workspace/clip.cpp/build/bin/image-search+0x42b1e)
    #2 0x559417fa3820 in main (/home/green/workspace/clip.cpp/build/bin/image-search+0x4c820)
    #3 0x7f8e4301d082 in __libc_start_main ../csu/libc-start.c:308

Direct leak of 512 byte(s) in 1 object(s) allocated from:
    #0 0x7f8e43669587 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:104
    #1 0x559417fa0099 in unum::usearch::index_gt<unum::usearch::cos_gt<float, float>, unsigned long, unsigned int, std::allocator<char>, std::allocator<char> >::search(unum::usearch::span_gt<float const>, unsigned long, unum::usearch::search_config_t) const (/home/green/workspace/clip.cpp/build/bin/image-search+0x49099)
    #2 0x559417fa4053 in main (/home/green/workspace/clip.cpp/build/bin/image-search+0x4d053)
    #3 0x7f8e4301d082 in __libc_start_main ../csu/libc-start.c:308

SUMMARY: AddressSanitizer: 2496 byte(s) leaked in 26 allocation(s).

Steps to reproduce
checkout this pr https://github.com/monatis/clip.cpp/pull/5 (or main if merged)
Expected behavior
no leakage :)
USearch version
v0.19.3
Operating System
ubuntu 20.04
Hardware architecture
x86
Which interface are you using?
C++ implementation
Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

[X] I agree to follow this project's Code of Conduct

why do you default bugs with the invalid tag?

@Green-Sky thank you for opening the issue! We pre-set the invalid tag, cause its often easier to disable the ones that you don't need, rather than search for the tags that apply. As for the issue, @DarvinHarutyunyan and @davvard can you please check this?

@gurgenyegoryan Can you please enable ASAN in our CI unit tests?

@ashvardanian  Yes, no problem, I'll add it now.

@Green-Sky please let us know if v0.20 fixes the leaks 🤗

can confirm, memory leak is fixed :)
also, you never removed the invalid tag :P

Perfect, @Green-Sky!
Our work interests seemingly intersect, and we would happily explore more collaboration opportunities over time.
Some of the other projects that immediately pop into mind are:

UForm - improving over CLIP,
UCall - to serve efficient AI models,
SimSIMD - for hardware-accelerated metrics,

But there is even more in corporate and personal repos of our team-mates 🤗


Make a package

Currently it is necessary to copy the sdk file to software using this lib. It would be great if it would be a package, so we can just install it with pip and set it as requirement.
EDIT: I can help creating packages if needed, just did it with intelmq.

Added instructions for installation with pip.  We will publish this to pypi shortly for easier access

Any updates on this?


Use the sync Span field

We are currently not utilizing the Span sync flag, which enables labelling spans as being executed synchronously or asynchronously.
A label will be shown for either sync == true or sync == false, so the scope of this issue is only about setting sync == false wherever applicable.
In the future, we may want to also denote blocking spans within asynchronous frameworks.

Does it means that sync span value reflects whether or not it's blocking or not or is it something else ?
From my understanding:

sync=true means that span is executed in a blocking way, calling code actively waits for it's termination, thus in the same thread.
sync=false means that span is executed asynchronously from the code that triggered it, thus in another thread.

After checking with the APM UI team, there are 3 cases for the span.sync field:

if not set (or null), then we assume it's using the "platform default" which is platform/agent dependent, in this case not badge is shown in the UI
if set to true, then a blocking badge is shown in the UI
if set to false, then an async badge is shown in the UI.

So in practice it means the values effectively used are platform-specific, but having an explicit value true or false means a badge is shown, which could definitely clutter the UI.

in Java, it's either empty / null or false as the most common in java is blocking, we only show badges when it's async.
with RUM, it is either empty / null or true, in this case we only show badges when it is blocking.

I have opened https://github.com/elastic/apm/pull/802 as an attempt to clarify this.
If we stick to this definition, then the only thing we have to do is to ensure that we set sync=false whenever it's applicable, by reviewing and modifying all asynchronous frameworks instrumentation that should create such spans (currently only a few AWS ones do that).

Closing for now as most plugins are now covered with #3164 , follow-up for the not-yet-covered ones in #3168


Exception when visiting non-existing page

Happens because LocaleContext uses async/await which is not supported for client component yet.


Replace NestedFooSerializer and brief=True pattern with DRF built-in Meta.depth

Proposed Changes
The proposed change is:

Remove all nested_serializers modules and NestedFooSerializer classes
Remove all code to process them along with the concept of ?brief=True and setting self.brief on viewsets
Remove all overloaded foo = NestedFooSerializer() fields on API serializers and allow them to fall back to the default field from the model
Leverage the built-in nested serialization feature in DRF e.g. depth=0 is default (showing PKs), depth=1 shows first-level objects nested representations, etc.
Find a way to provide desired nested depth using request query parameters (e.g. /api/dcim/sites/?depth=1)

Justification
This bespoke implementation is hindering our ability to leverage existing community extensions to Django for things like JSON schema generation, API import/export using CSV, among others. Additionally it is extra boilerplate code that must be written for each new model, and is custom code that must continue to be maintained and tested.
We will be better off in the long run 1.) using existing features of DRF, 2.) leveraging community resources where reasonably possible.

What is the impact to plugins and integrators to the schemas as well as things like pynautobot?

https://www.linkedin.com/pulse/friday-quick-tip-dynamic-depth-serialization-django-rest-neidinger is probably relevant as far as dynamic depth based on request query parameters.
One thing we might lose in making this change (and should seek to preserve) is the ability to identify related objects by natural keys or otherwise by properties other than PK, e.g.:
POST api/dcim/devices/

{
    "name": "MyNewDevice",
    "rack": {
        "site": {
            "name": "Equinix DC6"
        },
        "name": "R204"
    },
    ...
}

instead of requiring:
POST /api/dcim/devices/

{
    "name": "MyNewDevice",
    "rack": "7f3ca431-8103-45cc-a9ce-b94c1f784a1d",
    ...
}

https://www.linkedin.com/pulse/friday-quick-tip-dynamic-depth-serialization-django-rest-neidinger is probably relevant as far as dynamic depth based on request query parameters.
One thing we might lose in making this change (and should seek to preserve) is the ability to identify related objects by natural keys or otherwise by properties other than PK, e.g.:
POST api/dcim/devices/

{
    "name": "MyNewDevice",
    "rack": {
        "site": {
            "name": "Equinix DC6"
        },
        "name": "R204"
    },
    ...
}

instead of requiring:
POST /api/dcim/devices/

{
    "name": "MyNewDevice",
    "rack": "7f3ca431-8103-45cc-a9ce-b94c1f784a1d",
    ...
}

This is writable nested serialization, which I think could still be supported. See: https://www.django-rest-framework.org/api-guide/serializers/#writable-nested-representations

What is the impact to plugins and integrators to the schemas as well as things like pynautobot?

I think we should still marry this with other work to provide PK or Natural Key across the board as best we can. There are some other options here to consider as well. See:

https://github.com/AltSchool/dynamic-rest
https://github.com/rsinger86/drf-flex-fields
https://github.com/dbrgn/drf-dynamic-fields
https://github.com/miki725/django-url-filter

https://www.linkedin.com/pulse/friday-quick-tip-dynamic-depth-serialization-django-rest-neidinger is probably relevant as far as dynamic depth based on request query parameters.
One thing we might lose in making this change (and should seek to preserve) is the ability to identify related objects by natural keys or otherwise by properties other than PK, e.g.:
POST api/dcim/devices/

{
    "name": "MyNewDevice",
    "rack": {
        "site": {
            "name": "Equinix DC6"
        },
        "name": "R204"
    },
    ...
}

instead of requiring:
POST /api/dcim/devices/

{
    "name": "MyNewDevice",
    "rack": "7f3ca431-8103-45cc-a9ce-b94c1f784a1d",
    ...
}

This is writable nested serialization, which I think could still be supported. See: https://www.django-rest-framework.org/api-guide/serializers/#writable-nested-representations

I may be misunderstanding but that seems different - that seems to be about e.g. creating the nested-serialized objects when creating the base object (although that's also a cool idea!), whereas what we have currently is the ability to reference existing nested-serialized objects by their natural key(s).

https://www.linkedin.com/pulse/friday-quick-tip-dynamic-depth-serialization-django-rest-neidinger is probably relevant as far as dynamic depth based on request query parameters.
One thing we might lose in making this change (and should seek to preserve) is the ability to identify related objects by natural keys or otherwise by properties other than PK, e.g.:
POST api/dcim/devices/

{
    "name": "MyNewDevice",
    "rack": {
        "site": {
            "name": "Equinix DC6"
        },
        "name": "R204"
    },
    ...
}

instead of requiring:
POST /api/dcim/devices/

{
    "name": "MyNewDevice",
    "rack": "7f3ca431-8103-45cc-a9ce-b94c1f784a1d",
    ...
}

This is writable nested serialization, which I think could still be supported. See: https://www.django-rest-framework.org/api-guide/serializers/#writable-nested-representations

I may be misunderstanding but that seems different - that seems to be about e.g. creating the nested-serialized objects when creating the base object (although that's also a cool idea!), whereas what we have currently is the ability to reference existing nested-serialized objects by their natural key(s).

We can do both in fact. Being able to support nested retrieval and updates using either primary keys, natural keys, or nested representations.

Done with #3500


Added '$ npm test' to package.json that runs vows against the test directory.

Convenience method.  Small edit...

I approve! For bonus points, make it vows --spec test.js for rspec-style output.

I think you can still do that, the arguments are still passed along.

Yeah, a lot of our projects do this. This one was just overlooked, presumably.

What are you guys talking about? We already have test script in package.json
See the diff.

Oh snap, I missed that! I just looked at the diff, not the full file. Good eye.

Ha, sorry guys... Not sure how I missed that

Happens to the best of us, no worries.


I like these changes ! Thank you very much for PR :)
documentation will be updated http://dderevjanik.github.io/agescx/formatscx/


Make website responsive in mobile phone

Site not responsive in phone, needs some changes maybe

I'll assign you this issue when the contribution period starts from 10th June, then you can start working on this issue.

Sir, I am a participant of LGMSOC-2021.
Could you please assign this issue to me.

@SLPoojitha I'll assign you this issue when the contribution period starts from 10th June, then you can start working on this issue.
Since many contributors are willing to resolve this issue, I will accept only the first PR which will completely resolve this issue.

I would like to work on it plzz assingn to me lgm SoC participant

I would like to work on it plz assign to me LGM SoC participant

@nitishapiplani  I'll assign you this issue when the contribution period starts from 10th June, then you can start working on this issue.
Since many contributors are willing to resolve this issue, I will accept only the first PR which will completely resolve this issue.

I would like to work on this issue !!

I would like to work on this issue !!

Go ahead.
But remember, since many contributors are willing to resolve this issue, I will accept only the first PR which will completely resolve this issue.

Sir @QAZIMAAZARSHAD I would also like to work on it please assign me this task if possible!

@Kartikey0205 I'll assign you this issue when the contribution period starts from 10th June, then you can start working on this issue.
Since many contributors are willing to resolve this issue, I will accept only the first PR which will completely resolve this issue.


Make UDP server possible with Helidon Nima

Recently Helidon became even more attractive with the introduction of virtual threads through Project Nima.
As for now, it supports only TCP-based protocols at the same time there a huge area where's the UDP is much more appreciated than the TCP (with the delivery guarantee), for instance - gaming, F1 simulator in particular (see https://answers.ea.com/t5/General-Discussion/F1-22-UDP-Specification/td-p/11551274?attachment-id=607611). This game, like possibly many others use UDP sockets to push the data (telemetry) with a considerable frequency (from 120 to 200RPS or even more). So, virtual threads (alongside the ZGC) could make it possible to handle that workload coming from the UDP.
So, it would be great if Project Nima can be reused in the context of the UDP within Helidon.

@denismakogon In an attempt to initiate some discussion about UDP in Helidon Nima, I created a simple UDP API and wrote a couple of examples. I'd be interested in getting some feedback from your or others you may know that have experience in this area, from which we can then collect a more definitive list of requirements to explore this idea further.
Examples

Non-declarative:
https://github.com/spericas/helidon/blob/udp-brainstorm/examples/nima/udp/src/main/java/io/helidon/examples/nima/udp/JsonUdpEndpoint1.java
Declarative:
https://github.com/spericas/helidon/blob/udp-brainstorm/examples/nima/udp/src/main/java/io/helidon/examples/nima/udp/JsonUdpEndpoint2.java

API

https://github.com/spericas/helidon/tree/udp-brainstorm/examples/nima/udp/src/main/java/io/helidon/examples/nima/udp

Hey! Thank you so much for moving this forward! Based on the given implementation, I only have one thing to bring: the UDP interface. After spending a lot of time working with Netty and Apache Mina, I realized that Apache Mina has probably the best interface - https://nightlies.apache.org/mina/mina/2.0.21/apidocs/org/apache/mina/core/service/IoHandlerAdapter.html
I guess it's fine to have onError and onMessage methods to accomplish minimal use cases, but ideally, I'd like to have a bit more control over request handling at every stage of the request.

I would also add C++ Boost-based framework https://github.com/chronoxor/CppServer#example-udp-echo-server, it has an interface similar to Mina which means it's totally fine to have similar one in Helidon.

@denismakogon I didn't know about any APIs like that, let me take a look at Mina in more detail and provide a new iteration over this.

@denismakogon IoHandlerAdapter is a bit more generic than what is required by UDP, which makes sense since Mina seems to be a more generic network library. There are two concepts there not covered by the proposal:

the notion of a session and
async sending of messages.

(1) seems more for connection oriented protocols like TCP where connections are potentially longer lived. (2) is easily added to the proposal.
Perhaps you can outline some use cases to better understand what is missing in the proposal.

API proposal updated with async support and a notion of multiple clients (multicast via unicast)

@trentjeff The high-level use cases are the traditional ones for UDP, including any service that can tolerate packet losses and requires low latency: gaming, voice, video, stock tickers, etc. The only ideas and code at this time is what is linked in my first post above.

@denismakogon Hi, could you review the latest comments?

In my opinion all of the async methods should be removed, as that should be the responsibility of a higher level of abstraction over the base, blocking send methods - ideally provided by the developer and not by Helidon.

Thank you for making it possible, that's more than I could've expected to see. The only thing I have is the performance. Have you tried to generate some load against one of the examples shared above?

@trentjeff Perhaps, but often we find that there's need to propagate context and asking the user to handle that is too much. I think they belong to the core --as in other similar APIs like Web Sockets.
@denismakogon There's no implementation of the API, just a sketch :) Obviously, performance is crucial for this API to be of any real use.

Closing to continue discussion in #5629.


#10352: delete matmul dead code and run clang-format

Ticket
Link to Github Issue https://github.com/tenstorrent/tt-metal/issues/10352
Problem description

there's some dead code in matmul
some of the formatting could be better

What's changed

delete dead code
run clang-format

Checklist

[ ] Post commit CI passes
[ ] Model regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

The clang command used is
clang-format -i *.cpp *.hpp in various directories.
I created two commits, one for the deletion one for the clang-format, for this PR to make reviewing easier.


get_cloest_lane_index becomes bottleneck when the map is large

import time

from pgdrive import PGDriveEnv

if __name__ == '__main__':
    env = PGDriveEnv(dict(environment_num=10, map=7, traffic_density=0.2))
    obs = env.reset()
    start = time.time()
    action = [0.0, 0.1]
    for s in range(10000):
        o, r, d, i = env.step(action)
        if d:
            env.reset()
        if (s + 1) % 100 == 0:
            print(
                "Finish {}/10000 simulation steps. Time elapse: {:.4f}. Average FPS: {:.4f}".format(
                    s + 1,
                    time.time() - start, (s + 1) / (time.time() - start)
                )
            )
    print(f"Total Time Elapse: {time.time() - start}")

Suppose we use large map to profile, the FPS becomes half of 3-block case.
The most time-consuming operation is the get_cloest_lane_index.
Here is the profile result:

I think we should, at the end, optimize this issue.

I have an idea about it by using rayCastTest() to query the lane index. I will try this when we need to optimize it

You mean a laser ray that shots to the ground? That's excellent idea!

Yes, after doing this the efficiency will not be affected by the number of lanes and the area of map. Then the bottleneck will be the traffic system,  so we have to rewrite a new traffic system for PGDrive by using BulletVehicle....

This would be a critical issue in future.
You can see that the 3, 5, 7 blocks environments take 75k, 100k, 122k seconds to train, respectively.
This will limit future extension and scalability of PGDrive.

This would be a critical issue in future.
You can see that the 3, 5, 7 blocks environments take 75k, 100k, 122k seconds to train, respectively.
This will limit future extension and scalability of PGDrive.

This will be solved soon by adding virtual body for lane, and use RayCaset to query the lane information

This will be solved soon by adding virtual body for lane, and use RayCaset to query the lane information

This will be solved soon by adding virtual body for lane, and use RayCaset to query the lane information

No..
I turn my point now. I think a ray caset to the road is not a good practice. This will cause chaos when you are in a 3D world.
My suggestion is to maintain a 3D world-coordinate bounding box system. Each movable element should register its location to the bounding box manager. So the bounding box manager can maintain a mapping between element id to the bounding box id. Only the elements in the same bounding box can interactive with each other.
(BTW, do we have a movable element id system? It seems that we just maintain everything in seperated list in the scene manager. I think a general way is to maintain the "element list", instead of treating different element differently, like some are in traffic_vehicles list and some are in other list.)

This will be solved soon by adding virtual body for lane, and use RayCaset to query the lane information

No..
I turn my point now. I think a ray caset to the road is not a good practice. This will cause chaos when you are in a 3D world.
My suggestion is to maintain a 3D world-coordinate bounding box system. Each movable element should register its location to the bounding box manager. So the bounding box manager can maintain a mapping between element id to the bounding box id. Only the elements in the same bounding box can interactive with each other.
(BTW, do we have a movable element id system? It seems that we just maintain everything in seperated list in the scene manager. I think a general way is to maintain the "element list", instead of treating different element differently, like some are in traffic_vehicles list and some are in other list.)

@lqy0057 Does your latest PR can also consider what I have say here? We need to think about how to scale up in future.

@lqy0057 Does your latest PR can also consider what I have say here? We need to think about how to scale up in future.

resolved in #237

resolved in #237

#237 Mergerd, close

#237 Mergerd, close


Add global/local palette information to GIFDRAW

Hi,
Thank you for this library!
I just thought I'd add a small change to the library to indicate whether the palette that's being passed to the drawing callback function is a global palette or a local one. The reason is that I have an application where I want to manipulate the palette every few frames, and I need to differentiate between the two types of palette. I couldn't find an obvious way to do it other than to add a flag to GIFDRAW to say it's one or the other.
I hope you find this minor change useful.
Cheers,
welshcoder

Thanks for your merge request. Can I ask you to please change one thing? The variable type 'bool' does not exist in C. This is why the other members of that structure are uint8_t. Can you please make that change so that it will compile as C code and then I'll merge it.

Good point! I've made the change. Thanks!


Fix tinyxml2 export and changes to rclcpp

Connects to ros2/ros2#436

My approval still stands :+1:
checking the other PRs now


Embeddings for my dataset

I was running the code on my own dataset. Do I have to get the embeddings myself? How do I get them with the scripts you guys provide? When running the download and then running the SVM training, it raises the following error:
FileNotFoundError: [Errno 2] No such file or directory: 'data/embedding/project.csv'

Did you find out how to resolve your problem?

Hi Bruno, can you please try to create the data/embedding/ folder manually?

Hello guys,
I closed the issue before because I tried what @pasqLisena said and it worked. You might want to add it on the documentation.
I also found the following issue:

Now, I finally have the predictions.csv and trackers.csv, do you guys have any script to visualize on the video the predictions? Just like painting the different bounding boxes on the video? In case not, and knowing that I will have to write it anyways, I will fork the repo and create one.

There is a visualized app in the repo. You can experience it at http://facerec.eurecom.fr/visualizer/


Can't install extension because it is not compatible with the current version of Visual Studio Code (version 1.72.0)

Verify it's not a duplicate bug report

[X] I searched for similar bugs reported on GitHub and nobody has reported a similar issue. Search all issuees.
[X] I read Troubleshooting guide on Readme and there is not a guide on how to solve my problem.

Describe the Bug
Can't install extension because it is not compatible with the current version of Visual Studio Code (version 1.72.0)
Please tell us if you have customized any of the extension settings or whether you are using the defaults.
default
Additional context
No response

The lowest vscode version this extension requires is 1.73.0. Which is relatively still old, please consider upgrading your vscode.


Remove bundler's cache files that are Git origin

For https://github.com/fluent-plugins-nursery/td-agent-builder/pull/248#issuecomment-771270276

I've rerun CentOS 7 jobs, to confirm.


📦 NEW: Add Git Commands App

Linked to GIT Commands app cross-platform, provides quick access to the main GIT commands, direct links to the documentation.

This branch has conflicts that must be resolved
Conflicting files
README.md


Mising IP addresses

IPs in 144 range are missing from this list. Microsoft teams communicates to these addresses.
<IP_ADDRESS>
<IP_ADDRESS>

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

ID: 077406d8-bff1-496e-3ea2-b38558fd9355
Version Independent ID: 57db3dec-2250-2dee-fd1a-ec6656911798
Content: Office 365 URLs and IP address ranges
Content Source: Enterprise/urls-and-ip-address-ranges.md
Service: o365-administration
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

@Clickbaitcake The address block starting with 52.114 is included in the <IP_ADDRESS>/14 block that is listed. Thanks for you question.


Calico unable to auto-detect IPv4 address by connecting to IPv6 address

Summary

I have 2 Microk8s nodes in a cluster. Both have their calico pods with an IPv4 pod address. But on the second node, the calico pod is in a CrashLoop. The Calico code fails to find it's own IPv4 address?
What Should Happen Instead?

Everything should be in state "Running".
Logs
Calico tries to find its IPv4 address by connecting to an IPv6 address. Not sure if this is sane?
Here is the output of kubectl logs calico-node-xxx -n kube-system
[INFO][9] startup/startup.go 425: Early log level set to info
[INFO][9] startup/utils.go 127: Using NODENAME environment for node name doce
[INFO][9] startup/utils.go 139: Determined node name: doce
[INFO][9] startup/startup.go 94: Starting node doce with version v3.23.3
[INFO][9] startup/startup.go 430: Checking datastore connection
[INFO][9] startup/startup.go 454: Datastore connection verified
[INFO][9] startup/startup.go 104: Datastore is ready
[INFO][9] startup/startup.go 483: Initialize BGP data
[WARNING][9] startup/autodetection_methods.go 140: Unable to auto-detect IPv4 address by connecting to 2a01:4f8:242:3ce9::2: dial udp4: address 2a01:4f8:242:3ce9::2: no suitable address found
[WARNING][9] startup/startup.go 505: Couldn't autodetect an IPv4 address. If auto-detecting, choose a different autodetection method. Otherwise provide an explicit address.
[INFO][9] startup/startup.go 389: Clearing out-of-date IPv4 address from this node IP=""
[WARNING][9] startup/utils.go 49: Terminating
Calico node failed to start

I would set the IP manually as a solution, but I don't know where to do that and the YAML file is huge!

So it now seems like the reason for this is a previous, unsuccessful attempt at joining the cluster via IPv6, previous to the successful join via IPv4. I then uninstalled microk8s entirely and started over, Calico seems to be working now. 🤞


Implementation of the debug_goTrace and debug_printBlock methods

Description
Implementation of the debug_goTrace and debug_printBlock methods
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes
Checklist

[x] I have assigned this PR to myself
[x] I have added at least 1 reviewer
[ ] I have added the relevant labels
[ ] I have updated the official documentation
[ ] I have added sufficient documentation in code

Testing

[ ] I have tested this code with the official test suite
[x] I have tested this code manually

Manual tests
Documentation update
Additional comments

Since you are using spew, an indirect dependency, please do go mod tidy command on the repo, to turn it to direct dependency in go.mod file.


Tag request: inventory.full, inventory.can_fit, inventory.empty

Original idea / inspiration thanks to @Fortifier42
<player.inventory.full> whether the player has at least one item in every slot.
<player.inventory.can_fit[stick]> whether the player's inventory has room for a stick item to be added.
<player.inventory.can_fit[stick].qty[32]> whether the player's inventory has room for 32 stick items to be added.
<player.inventory.empty> whether the player's inventory is entirely devoid of items.

Oh also <player.inventory.list_contents.include_item[stick].qty[32]> adds 32 sticks to the list, in the most appropriate place (adding to stack sizes, before adding a new stack)

@Morphan1 ?

<EMAIL_ADDRESS>-> [https://github.com/Fortifier42/Denizen/commit/d7ce795152198ab170b4dd2581d27b08406fddb1]

Actually... full and empty could easily be replicated using a bit of list_contents magic. So... yeah. Can_fit is all that's needed, and Fort added it :D

I was uh, just adding is_empty

Doesn't hurt, but I'm considering this issue solved whenever your code is pulled.

It is in my PR.... Also, did you want me to put the code anywhere in particular? Bottom/top/alphabetical?

<EMAIL_ADDRESS>-> https://github.com/Fortifier42/Denizen/commit/6d987299868d11fb3abc5761b49fb5a08cefdfb2

<EMAIL_ADDRESS>-> https://github.com/Fortifier42/Denizen/commit/ff8afa59cd6a667dd33308cc5566f0144af79b3d


optnet.removeOptimization(net) not working

Hi, I have this network, which is already optimized by optnet:
celeba_24_G.t7.zip
And I want to remove the optimization in order to perform a backward pass.
When I do so, this happens:
optnet/init.lua:358: attempt to index local 'info' (a nil value)
stack traceback:
lua/5.1/optnet/init.lua:358: in function 'callback'
lua/5.1/nn/Module.lua:318: in function 'apply'
lua/5.1/nn/Module.lua:322: in function 'apply'
lua/5.1/optnet/init.lua:353: in function 'addGradParams'
lua/5.1/optnet/init.lua:444: in function 'removeOptimization'

This is a simplifcation of the code I run:
require 'image'
require 'nn'
require 'cudnn'
optnet = require 'optnet'
torch.setdefaulttensortype('torch.FloatTensor')

-- This network is already optimized
net = torch.load('celeba_24_G.t7')

optnet.removeOptimization(net)

-- Perform backpropagation stuff
net:updateGradInput(...)

How can I solve this?
Thanks.

Hi,
For some reason, the tensor pointers that were saved in the network changed after the optimization was done, probably because there was a cuda or float conversion that happened after the optimization was performed.
The following snippet should allow you to recover you network without optimization:
https://gist.github.com/fmassa/e44159d86340a8a4ee7adfbc0fba60ed
If for some reason it doesn't work, here is a simplified version that supposes that there is no sharing of the gradParameters of the network that were made during construction:
local optnet = require 'optnet'
local net = torch.load('celeba_24_G.t7')

-- simply restore the gradParams to have
-- the same size as the parameters
local p, gp = net:parameters()
for k, v in ipairs(p) do
  gp[k]:resizeAs(v)
end

-- remove the extra things added by optnet
net.__gradParamsInfo = nil
net:apply(function(m)
  m.getParameters = nil
end)

optnet.removeOptimization(net)

The snippet solved the issue. Thank you very much!


Portainer does't show containers if you are logged in by LDAP

Bug description
If I logged in as admin I see all containers and volumes, but if I log in as ldap user and team member - I see only images on endpoints.
Expected behavior
If I am a member of team(ldap group) and the team has permissions to use the endpoint - I expect to see conainers in dashboard and other views.
Steps to reproduce the issue:

log in as Ldap user
At 'Home' page you will see all accessible endpoints and count of container ant other their resources.

Click to one of endpoints and see only images count, no containers, no networks, no volumes.

Log out and Log in as admin
See all endpoint and all containers, everything works correctly.

Technical details:

Portainer version: 1.22.0
Docker version (managed by Portainer): 19.03.1
Platform (windows/linux): Centos7 Linux
Command used to start Portainer:

portainer:
image: portainer/portainer
volumes:
- $PWD/portainer/data:/data
- /var/run/docker.sock:/var/run/docker.sock
networks:
- backend
ports:
- 9000:9000
restart: unless-stopped

Browser: Chrome

Additional context
I see no any errors in GUI and see on error in portainer logs, but it is not in the moment of reproducing the issue.
http error: Invalid JWT token (err=Invalid JWT token) (code=401)
Thank you!

Hi there,
I believe this is because you haven't set ownership of each of the resources to the LDAP team. In Portainer, all resources are owned by administrators by default (except images) which is why you can see them all when logged in as an admin. You can change this by going to each resource and changing ownership to be restricted to your LDAP team.
In my example below I am setting ownership of a container to an LDAP team called test

Alternatively, you can purchase the Role Based Access Control Extension which allows you to set users to have different permissions against an endpoint/endpoint group & all resources contained within, rather than doing it on a per-resource basis.

Hi there,
I believe this is because you haven't set ownership of each of the resources to the LDAP team. In Portainer, all resources are owned by administrators by default (except images) which is why you can see them all when logged in as an admin. You can change this by going to each resource and changing ownership to be restricted to your LDAP team.
In my example below I am setting ownership of a container to an LDAP team called test

Alternatively, you can purchase the Role Based Access Control Extension which allows you to set users to have different permissions against an endpoint/endpoint group & all resources contained within, rather than doing it on a per-resource basis.
Let me know if this works for you 👍

Thank you a lot for such fast reply! But I still can't found the menu with button as on your example, which version do you use there? Could you describe how can I go to the menu?

Note: Giving a user/team access to an endpoint is different to giving them ownership of the resources within that endpoint.
After giving a user/team access to the endpoint, you then need to change the ownership of each resource within the endpoint that you want these users/teams to manage (e.g. a container called container1 or a stack called stack17) otherwise they won't see them.
For each resource:
Step 1: Go to the view that contains the resource you wish to change ownership of, e.g containers.
Step 2: Click on the specific resource you wish to change ownership of (in my example I clicked the container called gifted_pare)
Step 3: Look for the Access control widget and click on the Change ownership link

Step 4: Click on the Restricted tab if you want to make the resouce available only to specific users or teams
Step 5: Select the users and/or teams you wish to have access to the resource then click Update ownership

If you want all users to be able to view and manage the resource, click on the Public tab at Step 4 instead then click the Update ownership button

@kpbll I will now close this as it is not a bug.


Git history should not be required if using a remote source

If we are using a remote source, we can use the REST API to create tags and do not require git history and git to be available.

In addition to support the argument --commit-sha argument to not force the use of the git history to get the closest tag, the GitHub source now uses the environment variable GITHUB_SHA automatically if no commit is given so the GitHub source does not use the git history.
The tag creation process is still pending, this issue will be closed when it is done.

Tags creation process in remote sources does not require git anymore.


Fix mutability issues after no RefCell update

@cszach you need to run cargo fmt to make the ci happy.

@cszach you need to run cargo fmt to make the ci happy.

Thank you! Just did. Hopefully it passes this time.


API returns 'false' for Fire 7 tablet

Unable to run API commands. Status works fine but commands do not work.
To Reproduce
Steps to reproduce the behavior:

Run command
 curl -XPOST <IP_ADDRESS>:2971/api/command -d '{"reload": true}' {"result":false}

Expected behavior
Expected page to reload
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):

Device: 2017 Fire 7 Tablet
OS: Lineage OS
Browser: stock browser

Additional context
Add any other context about the problem here.

I tried the post with Postman and it worked fine, I think it's your curl command.


alluxio-1.8.2 directory hang

Alluxio Version:
1.8.2
Describe the bug
1. Spark read hive table, partitionBy and write to Alluxio
2. due to run over 10 mins, i killed job
3. file in Alluxio didn't delete
4. "alluxio fs ls /" hang
5. restart master and worker didn't work
6. alluxio master can work after one night
7. replay 1-3，alluxio fs ls / worked，but target directory hang, and export
Failed after 1 attempts: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out

8. alluxio fs rm -R /pass hang, export
Failed after 1 attempts: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
9. alluxio fs checkConsistency -r -t 32 /pass export
Failed after 1 attempts: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
10. wait 2 hours，target path deleted

Additional context
I found the key scene when the bug appear：

spark be killed when not all files moved out temporary dir
user try to overwrite this dir
then the dir can be hang

@JySongWithZhangCe do you happen to have any of the master or worker logs from when you saw this error occur?

please help upload the jstack thread dump and master logs when the master hangs, which will be very helpful for us to identify the issue  @JySongWithZhangCe

@JySongWithZhangCe do you happen to have any of the master or worker logs from when you saw this error occur?

in debug level, there was no ERROR information, i will provide logs and jstack thread

please help upload the jstack thread dump and master logs when the master hangs, which will be very helpful for us to identify the issue @JySongWithZhangCe

sure

please help upload the jstack thread dump and master logs when the master hangs, which will be very helpful for us to identify the issue @JySongWithZhangCe

i open a github project and push logs here
https://github.com/JySongWithZhangCe/AlluxioBugAnalysis/tree/master/alluxio-1.8.2-2019-11-19


Pre-calculate Pseudo-labels for the CLIP Guidance Loss

Hi, I’m encountering a similar CUDA out-of-memory (OOM) issue as described in #10 while running on TITAN XP GPUs to run the pascal voc experiment with 92 labels. It occurred during the ASPP stage. To troubleshoot, I reduced the batch size to 1 and scaled down the decoder channels. Specifically, I made the following adjustments to the deocoder header:

channels: 128 -> 16
text_channels: 128 -> 16
up_channels: (64, 32) -> (8, 4)
skip_channels: (32, 16) -> (4, 2)
Hardcoded the GroupNorm layer size in the decoder to 1
These changes allowed me to pass the ASPP stage, but it OOMed again during the upscaling step.

Due to my limited VRAM, I would like to try out pre-calculating pseudo-labels for the CLIP guidance loss as suggested in the other thread. My question is how to do it? I’ve identified the forward_maskclip function in model/vlm.py as a potential candidate, but it appears to process weakly augmented images, which vary per iteration. I’m unsure how best to handle this variability when pre-calculating the labels.
Thanks for your help!

Was able to conduct the experiment with 1/2 channel size and 2 a6000s. Closing this thread for now.


Drop custom brotli decompression

While 128be61fe30ec9039192c6dda91c714ef03051e7 didn't affect the “Brotli Compressed Subtitles” test, as it turns out it causes issues with more complex brotli-compressed subs like the Railgun S or SnK openings. The former only renders the first karaoke line and nothing afterwards, the latter only shows the colour blobs of the first karaoke line and nothing else. Sorry for not noticing earlier. As a – hopefully temporary – hotfix I reverted the change.
@WeebDataHoarder: do you want to look into this and try to find a fix so it can be reapplied?

I believe I have a patch ready for this, but it involves bringing along custom TextDecoder polyfill (which is what brotli.js did on their own).

Great! Needing one more polyfill for old engines seems unproblematic. considering we basically already have this and a license-compatible polyfill is available.
Can you explain though what the problem is and why we need to deal with text encodings for brotli subs? The compressed version is opaque binary data and given libass never receives an encoding parameter from JSO, the uncompressed version must always be UTF-8 to be understood.

@WeebDataHoarder: Looking at the wip(?) commit you pushed to the “lazy font” PR, there's a not about “future emscripten versions” adding the required polyfill on their own. Did you notice emscripten was updated to 3.1.15 (back then the most recent version, now it’s 3.1.17) before this issue was opened or is this about intended/post-3.1.15 emscripten changes?

This was an update done mainly on my side to see how the new versions behaved, haven't checked recent updates lately.
------- Original Message -------
On Friday, July 29th, 2022 at 11:23 PM, TheOneric @.***> wrote:

@.***(https://github.com/WeebDataHoarder): Looking at the wip(?) commit you pushed to the “lazy font” PR, there's a not about “future emscripten versions” adding the required polyfill on their own. Did you notice emscripten was updated to 3.1.15 (back then the most recent version, now it’s 3.1.17) before this issue was opened or is this about intended/post-3.1.15 emscripten changes?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

fyi, I just tested master + 128be61fe30ec9039192c6dda91c714ef03051e7 + https://github.com/WeebDataHoarder/JavascriptSubtitlesOctopus/commit/35a92168cd1acb30ca1fc9330f6fa81934305265 and the same issue as before still persists. It appears TextDecoder wasn't the only problem.

I tentatively deprecated in-house brotli decompression in e459c8e6ffa83f2244f9745f54c39a19edd9684f recommending transparent (de)compression via Content-Encoding to be used instead. If no one complains that Content-Encoding was unusable on some platform, it'll eventually be removed completely and the issues with moving to WASM-brotli will be obsolete.

After the release, manual decompression was now dropped in c975a29e69655a05e3e8f1de05d3725a00e61d33.
If this should prove problematic this can be reverted, otherwise the manual decompression headaches and confusions are now gone for good and it won't interfere with the more flexible Content-Encoding: anymore.

For those who came here in search what to use instead, here’s the relevant bit from 4.1.0’s README:
Brotli Compressed Subtitles (DEPRECATED)
Manual support for brotli-compressed subtitles is tentatively deprecated
and may be removed with the next release.
Instead use HTTP's Content-Encoding: header to transmit files compressed and
let the browser handle decompression before it reaches JSO. This supports more
compression algorithms and is likely faster.
Do not use a .br file extension if you use Content-Ecoding: as this will
conflict with the still existing manual support which tries to decompress any data
with a .br extension.


Use auth headers in ImageBackground to get a FallbackAvatarURL.

As discussed yesterday, around here.

Thanks again! Merged, with a useSelector type-wrapper added on top.


add(libraries): Tailkits

Name
Link

Tailkits
https://tailkits.com/

Curated Tailwind CSS components, templates, UI kits, resources, tools & more.

[x] My item is in the right category
[x] My item is logically grouped below similar items
[x] My item's name and description respects the conventions of the list
[x] My item is awesome
[x] My item is in line with the Tailwind brand usage guidelines
[x] I have read and followed the contribution guidelines

Thanks!


Connect two MT4 terminals

Would it be possible to send commands from python to two MT4 terminals connected simultaneously?

Hi @ildeb ,
Yes this is indeed possible.
You would need to create two instances of the DWX_ZeroMQ_Connector object in your Python implementation, with unique port combinations (these being what you've configured your EAs in MetaTrader to have).
Each MetaTrader terminal must have different PUSH/PULL ports configured.
For market data, if one of the terminals is publishing data then that should be enough for subscribing applications to receive data.
You could technically dedicate one terminal specifically as the "price publisher".


Prediction_local = sum (feature_weight*scaled_feature_value) + intercept

I found the following solution from a early solved issue.
"""Prediction_local is intercept + weights * features.
Sorry, this is poorly documented, but the weights are actually relative to the scaled data, so your feature_value column should be scaled. You can get the scaled values by running:
(data_to_explain - explainer.scaler.mean_) / explainer.scaler.scale_
Or you can believe that I did it right when computing prediction_local : )"""
But I tried this formula to compare the prediction_local with the manual calculated prediction using the feature weights. But unfortunately they are different. (In my case "discretize_continuous" to false.)
Has the Prediction_local = sum (feature_weight*scaled_feature_value) + intercept formula been changed now?

https://github.com/marcotcr/lime/issues/210


Add createSessionAtom

Much like createQueryAtom however it stores the value in sessionStorage instead of the query string.
const A = createSessionAtom({
  key: 'a',
  default: 0,
});

A.set(3);

// Reload page

A.get(); // 3

Put on ice due to me not wanting to work on cache invalidation logic...

I might not even need a cache. There's an event for when a storage is updated in another tab. https://developer.mozilla.org/en-US/docs/Web/API/Window/storage_event


Fix unit test imports

As @SanketD92 mentioned this PR is encapsulated in PR https://github.com/awslabs/service-workbench-on-aws/pull/148
Closing this PR in favor of #148


Fix circular import issue for SDKPythonTestRunnerHooks

What Changed
Fix the circular import issue for SDKPythonTestRunnerHooks by refactoring some folder structure. The python_testing_hooks_proxy.py was moved to a new utils folder.
Related Issue
https://github.com/project-chip/certification-tool/issues/483

Closing this PR since, https://github.com/project-chip/certification-tool-backend/pull/166 was reverted. It was the root cause for https://github.com/project-chip/certification-tool/issues/483


Atom Helper using 101% of CPU on macOS

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Atom Helper is using more than 100%of CPU. I don't have a GitHub repository.
I opened a subdirectory of a mercurial repository which only contains .md files as it is used for documentation. Atom Helper always runs with high CPU usage.
Steps to Reproduce

Open Atom
Open Activity Monitor
Verify CPU usage

Expected behavior: Atom Helper uses low CPU percentage
Actual behavior: Atom Helper uses high CPU percentage
Reproduces how often: Always
Versions
Atom    : 1.34.0
Electron: 2.0.16
Chrome  : 61.0.3163.100
Node    : 8.9.3
apm  2.1.3
npm  6.2.0
node 8.9.3 x64
atom 1.34.0
python 2.7.10
git 2.17.2
macOS Mojave 10.14.2

Thanks for the report!

I don't have a GitHub repository.

Do you mean that you've already checked if you have a .git/ directory in your home directory or just that you're not working with a Git repository when you see the high CPU usage?

I opened a subdirectory of a mercurial repository which only contains .md files as it is used for documentation. Atom Helper always runs with high CPU usage.

Just to clarify, do you only see the high CPU usage when you work with this project or do you see it with any project?
Lastly, when you tried in safe mode was the behavior exactly the same?

Do you mean that you've already checked if you have a .git/ directory in your home directory or just that you're not working with a Git repository when you see the high CPU usage?

It is not a git repository, hence there's no .git/ folder. I mentioned it because others reported a similar issue while working with git.

Just to clarify, do you only see the high CPU usage when you work with this project or do you see it with any project?

I followed the classic have you turned it off and on again? and after restart the CPU usage went down to 0.2%
I have been working since and everything seems normal, so there was no need to try the safe mode.

It is not a git repository, hence there's no .git/ folder. I mentioned it because others reported a similar issue while working with git.

Thanks but I was also wondering if you checked for a .git/ directory in your home directory?  We've seen reports where people have done that accidentally and that can cause problems.

I followed the classic have you turned it off and on again? and after restart the CPU usage went down to 0.2%
I have been working since and everything seems normal, so there was no need to try the safe mode.

Ahh ok so just to clarify, you can no longer reproduce the high CPU usage?

Thanks but I was also wondering if you checked for a .git/ directory in your home directory? We've seen reports where people have done that accidentally and that can cause problems.

No, I don't have it. Doubled checked.

Ahh ok so just to clarify, you can no longer reproduce the high CPU usage?

Fortunately (or unfortunately) not. Maybe it was a one-time issue. So far CPU usage has been under 1%.

Fortunately (or unfortunately) not. Maybe it was a one-time issue. So far CPU usage has been under 1%.

Thanks for confirming :+1:  Since it's not reproducible right now, we'll go ahead and close but we can always reopen if you see this again and have steps to reproduce the high CPU usage.

I have the same issues stated here.  Atom is unusable on OSX 10.14.3 for me- I disabled all Git related plugins as well.  Hmmm.  Any ideas?

Go ahead and open a new issue and fill out the issue template @Jesssullivan and we'll take a look with you.


MGMT: Saml2 Groovy attribute release

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

Coverage increased (+0.006%) to 43.043% when pulling b43e4d5f94d8188a71b2afbf5f5ac19be77e1e4b on Unicon:mgmt-saml-groovy into a55bd714817281c199bea6a6363a0d8122443450 on apereo:master.

Coverage increased (+0.01%) to 43.052% when pulling 76f28efc7cc925719ee728cb673b0f965da651b0 on Unicon:mgmt-saml-groovy into a55bd714817281c199bea6a6363a0d8122443450 on apereo:master.


from dtreeviz.trees import *  Import necessary libraries

from dtreeviz.trees import *
Import necessary libraries
import dtreeviz # Visualize the decision tree using dtreeviz
viz = dtreeviz(model,
X,
y,
target_name='class',
feature_names=iris.feature_names,
class_names=iris.target_names.tolist())
NameError: name 'dtreeviz' is not defined

Please see https://github.com/parrt/dtreeviz. I think from dtreeviz.trees import * is wrong and other stuff. please use latest version as well :)


Instancing Staticbody3D within a thread which contains a CollisionShape3d causes an error

Godot version
v4.1.2.stable.official [399c9dc39]
System information
Godot v4.1.2.stable - Linux Mint 21.2 (Victoria) - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 Ti (nvidia; 535.86.05) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)
Issue description
Instancing a Staticbody3D that contains a CollisionShape3D results in an error that says
 <C++ Error>    Condition "!is_readable_from_caller_thread()" is true. Returning: (Transform3D())
 <C++ Source>   scene/3d/node_3d.cpp:314 @ get_transform()```.

Deleting the child CollisionShape3D from StaticBody3D fixes the offending issue.

### Steps to reproduce

1. Create a Staticbody3D that contains a Collisionshape3D
2. Create a function that instances said Staticbody3D
3. Run said to function in a new thread

### Minimal reproduction project

[bug.zip](https://github.com/godotengine/godot/files/12887964/bug.zip)

In that specific case it is likely the CollisionShape3D that gets a (re)parented notification, which makes it update the physics shapes, which requires the transform updated, which is only available from the SceneTree, so it runs into the SceneTree thread guards because the SceneTree is not thread-safe.

Probably similar issue as https://github.com/godotengine/godot/issues/81472, the workaround I mentioned there (call Thread.set_thread_safety_checks_enabled(false)) should work in this situation, too.


Add post: Accepting the grant conditions before accessing the service [DRAFT]

 Users agree to the grant conditions


This check was cancelled

This simply does not work.
I've created a fairly simple workflow:
name: Show Me the S3cr3tz
on: [push]

jobs:
  debug:
    name: Debug
    runs-on: ubuntu-latest

    steps:
      - name: Check out code
        uses: actions/checkout@v2

      - name: Set up secret file
        env:
          MY_SECRET: ${{ secrets.MY_SECRET }}
        run: |
          echo $MY_SECRET >> secrets.txt

      - name: Run tmate
        uses: mxschmitt/action-tmate@v3

However, I can never see the tmate link because it is canceled automatically and immediately after leaving the queue:

Am I simply doing something wrong?

So, never mind about this. I guess GitHub Actions was just having a bad day because it's working now.
¯_(ツ)_/¯


feat: support milvus vector db

Description

support milvus vector db
have fully tested

@taprosoft or anyone could please help to take a review? thanks a lot


got: 0.92 -> 0.93

add meta.changelog
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Thanks for the review @wahjava and thanks for merging @fabianhjr.
I see the backport for release-23.05 failed; being unfamiliar with the process is there anything I should to in order to move forward with the backport?

Hi, yes there is a section on the contributing guideline: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#manually-backporting-changes
Additionally it is likely 23.05 is missing previous version updates but I didn't look into the automatic backport failure.

Thanks for the reply, @fabianhjr, I'll l👀k into it.

@fabianhjr I went ahead and created #256403 to manually backport got 0.93 to 23.05; hopefully I've done everything correctly, if not any comments and feedback on #256403 is greatly appreciated.


[Bug]: The table with change permission failed to execute multi database changes

ODC version
odc431
OB version

What happened?

What did you expect to happen?
Execution successful
How can we reproduce it (as minimally and precisely as possible)?

Apply for table change permissions for two tables with the same table name in different databases
Select these two databases in the multi database change, enter the change statement, and execute

Anything else we need to know?
No response

It is expected that users without database change permission cannot create the database change ticket.

pass


Do not display a URL twice when expanding failed.

Noticed this on ow.ly URLs, they do not change on expand:

http://api.longurl.org/v2/expand?format=json&url=http://ow.ly/i/a0ceC

{"long-url":"http://ow.ly/i/a0ceC"}

This patch makes sure the status bar doesn’t show the same information twice by omitting the long url when it matches the short url.

Great, thanks!


Load the ContactSequence from Locomote, and convert inputs into CubicSplines. closes #92 - [merged]

In GitLab by @proyan on Feb 4, 2019, 20:47
Merges muscodwalkin -> devel

In GitLab by @proyan on Feb 4, 2019, 20:49
changed target branch from master to devel

In GitLab by @proyan on Feb 4, 2019, 20:53
This PR officially adds the dependency with https://gepgitlab.laas.fr/loco-3d/multicontact-api
Please install the master branch of this repo before running merging this PR.

It creates the centroidalPhi class, (defined in section IV.B, Algorithm 1 of https://hal.laas.fr/hal-01875031/document).

It loads the contact sequence from xml file, and converts it to centroidalPhi.

In GitLab by @proyan on Feb 4, 2019, 20:54
Partially deals with https://gepgitlab.laas.fr/loco-3d/crocoddyl/issues/72

In GitLab by @proyan on Feb 5, 2019, 15:13
added 1 commit
c8273468 - [muscodwalking][unittest] check output trajectories against original
Compare with previous version

In GitLab by @proyan on Feb 5, 2019, 16:37
added 1 commit
56edda29 - [muscodwalking] The order of forces in muscod is RF, LF, RH, LH.
Compare with previous version

In GitLab by @nmansard on Feb 5, 2019, 21:04
I am going to merge directly this one, as it is not impacting the main tree of crocoddyl.
I believe we should not have it in the main folder. It is maybe time to introduce subfolders, maybe crocoddyl/locomotion, where we put dedicated locomotion devs.

In GitLab by @nmansard on Feb 5, 2019, 21:04
merged

In GitLab by @nmansard on Feb 5, 2019, 21:04
mentioned in commit 60d58f4c67a59f7d05d723c1f01b182c0fe40af8

In GitLab by @cmastalli on Feb 6, 2019, 00:00
@rbudhira crocoddyl/centroidal_utils.py is missing. Do you forget to push it?

In GitLab by @proyan on Feb 6, 2019, 09:07
It is in crocoddyl/locomotion

In GitLab by @cmastalli on Feb 6, 2019, 15:49
Great! I see you removed it from the crocoddyl/init.py
Is there any reason of having a locomotion folder?
If we want to share these functionalities we might put those files inside crocoddyl. Another solution is to put them inside apps. Let's discuss it in a meeting!


add pre-operation to add the missing column

New column added to the event table, adding update script to add the column to existing event table.

I suggest creating a separate backfill script for the new column, perhaps in the new "backfill" or "migration" folder, what the customers will need to run as a one-off script. Mention that script in the comment.


Access Violation

I have successfully used this client for transferring a bin file to a device.
But when I tried for another model, from the same vendor, I got Access Violation.
TFTPClient.Upload(New IPEndPoint(IPAddress.Parse("<IP_ADDRESS>"), 69), System.IO.Directory.GetCurrentDirectory() & "\" & path, "/tmp/temp/fw_1200.bin")
Why am I getting this error? it maybe something with the server?

Hi,
If you copy-paste the exception + stack-trace that occurred, that'll show if the error happened on the client or server.

Server Error Access Violation: Access Violation
at CodePlex.JPMikkers.TFTP.Client.TFTPClient.HandleError(TFTPPacket_Error p) in c:\Users\z003mh7c\Downloads\TFTPClient-master\TFTPClient\Library\TFTPClient.cs:line 504
at CodePlex.JPMikkers.TFTP.Client.TFTPClient.DoUpload(TFTPPacket packet) in c:\Users\z003mh7c\Downloads\TFTPClient-master\TFTPClient\Library\TFTPClient.cs:line 425
at CodePlex.JPMikkers.TFTP.Client.TFTPClient.FilterPacket(TFTPPacket packet, Func2 step) in c:\Users\z003mh7c\Downloads\TFTPClient-master\TFTPClient\Library\TFTPClient.cs:line 222    at CodePlex.JPMikkers.TFTP.Client.TFTPClient.<Upload>b__38_0(TFTPPacket p) in c:\Users\z003mh7c\Downloads\TFTPClient-master\TFTPClient\Library\TFTPClient.cs:line 310    at CodePlex.JPMikkers.TFTP.Client.TFTPClient.PumpPackets(Func2 step) in c:\Users\z003mh7c\Downloads\TFTPClient-master\TFTPClient\Library\TFTPClient.cs:line 164
at CodePlex.JPMikkers.TFTP.Client.TFTPClient.Upload(String filename, Stream stream) in c:\Users\z003mh7c\Downloads\TFTPClient-master\TFTPClient\Library\TFTPClient.cs:line 310
at CodePlex.JPMikkers.TFTP.Client.TFTPClient.Upload(IPEndPoint serverEndPoint, Stream localStream, String remoteFilename, Settings settings) in c:\Users\z003mh7c\Downloads\TFTPClient-master\TFTPClient\Library\TFTPClient.cs:line 542
at CodePlex.JPMikkers.TFTP.Client.TFTPClient.Upload(IPEndPoint serverEndPoint, String localFilename, String remoteFilename, Settings settings) in c:\Users\z003mh7c\Downloads\TFTPClient-master\TFTPClient\Library\TFTPClient.cs:line 534
at SiwarexTest.WP2XXObject.PerformFirmwareUpdateAndRestartDevice(String path, Boolean waitForEth, Int32 waitAfterRestart)

Right, this is TFTP error code 2, sent by the server. It means you don't have write permissions in the directory you're trying to upload to.


plugin to get the complete frontend from kite

hi,
i make a browser based editor (node-mirror) that is by definition accessable from other computers than where your code is actually saved.
if i have kite running on my server computer, is there a way to forward the gui / frontend via browser?
or access text base information from the frontend so i can just display it?

Hi @soliton4, unfortunately we don't support this use case currently.  Closing for now.