Laser on gun breaks all shaders

Describe the bug
Shaders work fine for the most part with only slight visual bugs here and there, but putting a laser on your gun completely breaks the shaders. I only tested a few shaders but they all had a seizure.
Reproducibility
Please try to reproduce the issue with as few other mods as possible. Then check one of the following checkboxes according to your results. To check a checkbox, replace the space between the square brackets with an x (like this [x]) or create the issue and check the checkbox by clicking on it.

[x] I reproduced this issue with as few other mods as possible installed.
[ ] I am unable to reproduce this issue consistently.

To Reproduce

Enable any shader. I used sildur's enhanced default.
Put a laser on your gun.
Turn the laser on.
Shader has a seizure.

Expected behavior
Shader should work as before turning the laser on.
Screenshots or/and videos

Logs or/and crash reports
Please use https://mclo.gs/ to upload your logs and crash reports
Versions

Modern Warfare Cubed: 0.1-Dev-7
Forge: <IP_ADDRESS>60
Java: JDK-8.0.322.6
Java JVM: Hotspot

Specification:

OS: Windows 11
CPU: AMD Ryzen 7 3700X
GPU: Geforce RTX 3070
RAM Allocated: 8GB

All of these info below are not necessary but may become necessary depending on the issue

CPU Speed: [e.g. 3.80GHz Boost around 4.25Ghz]
CPU Core: [e.g. 8 (Attention Core not logical core)]
CPU Threads: [e.g. 16 (Named Logical processors in task manager)]
RAM Size: [e.g. 32GB]
RAM Speed: [e.g. 2666MHz]
Storage Type: [HDD or SSD]
GPU VRAM: [e.g. 2GB]

Most of these information can be found in the task manager

Additional context
Edited to fix spelling error.

VMW Shaders are not supported with other shaders. It is to be expected having issues as we cannot fix this only the shader Itself can fix that just disable the shaders for now


prep for RC

Setting up OpenApi snippet generation to work for Java in preparation for Java V6 release candidate.
Related to https://github.com/microsoftgraph/msgraph-sdk-raptor/pull/2573
Microsoft Reviewers: Open in CodeFlow

@ramsessanchez Can we merge this PR?

Merging now that v6 has been released.


netty socketio version 1.7.20 #854 fix

#854 fix
Thank you for always.

the catch likely needs to be switched to a NoSuchElementException since that is what optional throws

Thanks for contribution. JDK version can be raised only in next major version. I'll apply the fix.

Fixed in https://github.com/mrniko/netty-socketio/commit/206f33006befaedfe47153a42ea2b4c7bfe301ee


[SPK] create helper methods for validating cli input

As a:
Developer
I want:
to be able to call helper that can validate input to check for empty/null/expression validity.
So that:
Describe the solution you'd like:
helper methods
Describe alternatives you've considered:
Additional context:
adopted these methods from an existing project https://github.com/serverless/serverless-azure-functions/blob/master/src/shared/guard.ts
Does this require updates to documentation?:

@mydiemho I think we're going to punt on this work since TS3.7 comes in a month and supports guard functions at the language level https://devblogs.microsoft.com/typescript/announcing-typescript-3-7-beta/


Scrollable image capture in offStage method.

The image captured in the offStage method is not scrollable. Have to figure out a way for this.

up

Is this fixed?

So it means, if the capturing widget is overflowing the screen, some part of it will be missing in the picture?

@kwarnkham
So let me add some context.
Widgets like ListView.builder, don't render items that are outside the viewport. So it was an issue to capture those widgets without having performance hit. It's been a while since I worked on this package. I'll take a look.


Key Combination Is not allowed while Remapping Keys

Description of the new feature / enhancement
Key Combination Is not allowed while Remapping Keys so please add in feature so that key combinations can also be remapped or new shortcuts can be created by user.
Scenario when this would be used?
It is extremely useful as my laptop doesn't have dedicated home , page up/dwn and End button i have to use another workarounds for using them
Supporting information
No response

What do you mean by key combinations? We currently support remapping shortcuts(e.g. Ctrl+X, Shift+Alt+Q)


None of these LLM APIs providers for ollama LLMs or Azure OpenAI LLMs or embeddings models or any other LLMs don't work at all despite those changes.

@ItzCrazyKns none of these LLM APIs providers for ollama LLMs or Azure OpenAI LLMs or embeddings models or any other LLMs don't work at all despite those changes per your docs cited there.
Originally posted by @arunkumarakvr in https://github.com/ItzCrazyKns/Perplexica/issues/10#issuecomment-2105953814

More context..

What error are you facing? How are you configuring it? share some logs, screen shots or something?

你是想要通过本地兼容openai api方式运行嘛


Not sure how to get the views

I get this - ( on a osx terminal or iterm2 terminal) when on other terminal I've lldb running and stopped at a break point -
$ voltron view stack
Traceback (most recent call last):
File "/usr/local/bin/voltron", line 5, in
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2797, in
parse_requirements(requires), Environment()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 580, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (six 1.4.1 (/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python), Requirement.parse('six>=1.9.0'))
The other terminal has the following -
frame #0: 0x0000000100000cc8 a.out`main + 56 at strrchr.c:45
42  	    char *tmp, *pch, *pfullpath;
43
44
-> 45  	     strcpy(fullpath, "test/bare/VM_10_9H/Users/Machintosh HD" );
46  	     printf("fullpath=%s\n",fullpath);
47  	     tmp = _strrchr(fullpath, '/');
48  	     if (tmp) {
I would appreciate if some home gives me the steps to get a view like the one I see on the example section with several panes ( close to Ollydbg ).
TA,
P

Looks like the six module hasn't updated. This has happened for me once but I'm not sure why. You should be able to fix it by telling pip to update it:
$ pip install six --upgrade
As for the panes, split the terminal horizontally/vertically in iTerm2 (cmd-D/cmd-shift-D) and lay them out how you like and run the views in them. You can also automate the layout with tmux: https://github.com/snare/voltron/wiki/Layout-automation https://github.com/snare/voltron/wiki/Layout-automation

On 20 Aug 2016, at 6:04 AM, prokash<EMAIL_ADDRESS>wrote:
I get this - ( on a osx terminal or iterm2 terminal) when on other terminal I've lldb running and stopped at a break point -
$ voltron view stack
Traceback (most recent call last):
File "/usr/local/bin/voltron", line 5, in
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2797, in
parse_requirements(requires), Environment()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 580, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (six 1.4.1 (/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python), Requirement.parse('six>=1.9.0'))
The other terminal has the following -
frame #0: 0x0000000100000cc8 a.out`main + 56 at strrchr.c:45
42 char *tmp, *pch, *pfullpath;
43
44
-> 45 strcpy(fullpath, "test/bare/VM_10_9H/Users/Machintosh HD" );
46 printf("fullpath=%s\n",fullpath);
47 tmp = _strrchr(fullpath, '/');
48 if (tmp) {
I would appreciate if some home gives me the steps to get a view like the one I see on the example section with several panes ( close to Ollydbg ).
TA,
P
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/snare/voltron/issues/157, or mute the thread https://github.com/notifications/unsubscribe-auth/AAey8WStHsW0tbi8UCUorAzjVVYeF5erks5qhgxTgaJpZM4JozvQ.

Or you might need to install six to your user dir if that doesn't work?
$ pip install six --user --upgrade
I'll investigate

On 20 Aug 2016, at 6:04 AM, prokash<EMAIL_ADDRESS>wrote:
I get this - ( on a osx terminal or iterm2 terminal) when on other terminal I've lldb running and stopped at a break point -
$ voltron view stack
Traceback (most recent call last):
File "/usr/local/bin/voltron", line 5, in
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2797, in
parse_requirements(requires), Environment()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 580, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (six 1.4.1 (/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python), Requirement.parse('six>=1.9.0'))
The other terminal has the following -
frame #0: 0x0000000100000cc8 a.out`main + 56 at strrchr.c:45
42 char *tmp, *pch, *pfullpath;
43
44
-> 45 strcpy(fullpath, "test/bare/VM_10_9H/Users/Machintosh HD" );
46 printf("fullpath=%s\n",fullpath);
47 tmp = _strrchr(fullpath, '/');
48 if (tmp) {
I would appreciate if some home gives me the steps to get a view like the one I see on the example section with several panes ( close to Ollydbg ).
TA,
P
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/snare/voltron/issues/157, or mute the thread https://github.com/notifications/unsubscribe-auth/AAey8WStHsW0tbi8UCUorAzjVVYeF5erks5qhgxTgaJpZM4JozvQ.

Thanks much
On 08/19/2016 06:52 PM, snare wrote:

Or you might need to install six to your user dir if that doesn't work?
$ pip install six --user --upgrade
I'll investigate

On 20 Aug 2016, at 6:04 AM, prokash<EMAIL_ADDRESS>wrote:
I get this - ( on a osx terminal or iterm2 terminal) when on other
terminal I've lldb running and stopped at a break point -
$ voltron view stack
Traceback (most recent call last):
File "/usr/local/bin/voltron", line 5, in
from pkg_resources import load_entry_point
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 2797, in
parse_requirements(requires), Environment()
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 580, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (six 1.4.1
(/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python),
Requirement.parse('six>=1.9.0'))
The other terminal has the following -
frame #0: 0x0000000100000cc8 a.out`main + 56 at strrchr.c:45
42 char *tmp, *pch, *pfullpath;
43
44
-> 45 strcpy(fullpath, "test/bare/VM_10_9H/Users/Machintosh HD" );
46 printf("fullpath=%s\n",fullpath);
47 tmp = _strrchr(fullpath, '/');
48 if (tmp) {
I would appreciate if some home gives me the steps to get a view
like the one I see on the example section with several panes ( close
to Ollydbg ).
TA,
P
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/snare/voltron/issues/157, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAey8WStHsW0tbi8UCUorAzjVVYeF5erks5qhgxTgaJpZM4JozvQ.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/snare/voltron/issues/157#issuecomment-241171270,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHTi-TFo4nwSFIQQWZVNcFBJhODgkQaoks5qhl3NgaJpZM4JozvQ.

Not sure where the problem is. I tried and it complained -
pip install six --upgrade
Collecting six
Using cached six-1.10.0-py2.py3-none-any.whl
Installing collected packages: six
Found existing installation: six 1.4.1
DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling six-1.4.1:
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/commands/install.py", line 317, in run
prefix=options.prefix_path,
File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/req/req_set.py", line 736, in install
requirement.uninstall(auto_confirm=True)
File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/req/req_install.py", line 742, in uninstall
paths_to_remove.remove(auto_confirm)
File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
renames(path, new_path)
File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/utils/init.py", line 267, in renames
shutil.move(old, new)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2
copystat(src, dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat
os.chflags(dst, st.st_flags)
OSError: [Errno 1] Operation not permitted: '/var/folders/tv/qzqptw_x2bvc1p7r5k7nf54w0000gn/T/pip-mHYb4s-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'
After that nothing changes. It does do the same thing as before …

On Aug 19, 2016, at 6:52 PM, snare<EMAIL_ADDRESS>wrote:
Or you might need to install six to your user dir if that doesn't work?
$ pip install six --user --upgrade
I'll investigate

On 20 Aug 2016, at 6:04 AM, prokash<EMAIL_ADDRESS>wrote:
I get this - ( on a osx terminal or iterm2 terminal) when on other terminal I've lldb running and stopped at a break point -
$ voltron view stack
Traceback (most recent call last):
File "/usr/local/bin/voltron", line 5, in
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2797, in
parse_requirements(requires), Environment()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 580, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (six 1.4.1 (/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python), Requirement.parse('six>=1.9.0'))
The other terminal has the following -
frame #0: 0x0000000100000cc8 a.out`main + 56 at strrchr.c:45
42 char *tmp, *pch, *pfullpath;
43
44
-> 45 strcpy(fullpath, "test/bare/VM_10_9H/Users/Machintosh HD" );
46 printf("fullpath=%s\n",fullpath);
47 tmp = _strrchr(fullpath, '/');
48 if (tmp) {
I would appreciate if some home gives me the steps to get a view like the one I see on the example section with several panes ( close to Ollydbg ).
TA,
P
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/snare/voltron/issues/157, or mute the thread https://github.com/notifications/unsubscribe-auth/AAey8WStHsW0tbi8UCUorAzjVVYeF5erks5qhgxTgaJpZM4JozvQ.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/snare/voltron/issues/157#issuecomment-241171270, or mute the thread https://github.com/notifications/unsubscribe-auth/AHTi-TFo4nwSFIQQWZVNcFBJhODgkQaoks5qhl3NgaJpZM4JozvQ.

Did you try the --user version?

Thanks, that took care of it …

On Aug 22, 2016, at 8:18 PM, snare<EMAIL_ADDRESS>wrote:
Did you try the --user version?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/snare/voltron/issues/157#issuecomment-241615694, or mute the thread https://github.com/notifications/unsubscribe-auth/AHTi-Q5K9s59L7ZvPWPFHL78kI4SwmGpks5qimZ3gaJpZM4JozvQ.


Delete Firebase Auth User

With the latest version of Firebase Auth (0.5.2), it is impossible to delete a user.
Other Firebase Auth libraries (such as the one for Web) have a user.delete() instance method, which is missing from the Flutter implementation.
I would like to do a PR, although I do not have a iOS dev enviroment setup. I'll see if I can set one up shortly, but I think this could be a pretty trivial PR for anyone else to do!

FireBase Authenticated user can be deleted : StackOverFlow,this just only deletes the user from FireBase Authentication List.

@Abhishek-kumar09 I'm not sure I understand, can you clarify what you're trying to do that isn't covered by the existing delete method?
https://pub.dev/documentation/firebase_auth/latest/firebase_auth/FirebaseUser/delete.html
If you want to open a PR for the Android side I can take a look

hey! @collinjackson I was trying to do login authentication after the user has signed up and returned to the app once again. After the user uninstalled the app and tries to install again It is giving platform exception that

PlatformException(FirebaseException, User has already been linked to the given provider., null)
thus failing to signIn again.How can I overcome this problem. any help is admired.

@Abhishek-kumar09 uninstalling the app does not delete the account; so if you are trying to recreate the account when the app is reinstalled then the error makes sense.
If you just uninstall the app then on reinstall the user should just be signed in without recreating or relinking the user with the provider.

I've run into strange cases related to this, but I might have done something wrong. In my case, the user was anonymous, then not verified, but soon after logged out, deciding not to complete the process. I called delete, but it didn't clean up things like signOut does.
So when they tried to create a user with that same email address, it all went awry.

Closing the issue, the delete method is implemented & looks to be working as expected.


Adjust passthrough as optional for DropdownMenuItem

Adds a header link for the end users guide (this PR depends on https://github.com/gravitational/teleport/pull/18055)
~Since the new header link includes /docs and our current Link component normalizes links based on the assumption that we would never link to anything but a single-depth subdir of the site, I've created a skipNormalize boolean to bypass the normalization function applied to hrefs.~
Adjusts the passthrough variable such that, instead of always being true it is true by default but can be overridden, so that links in the dropdown menu can use the NextLink component.

Rather than adding a new prop, we should utilize the passthrough prop that already exists on Link. Right now, the DropdownMenuItem is passing passthrough unconditionally but we can use that in the Menu/structure objects where you added skipNormalize.
This has a couple benefits but the biggest is: If we use NextLink instead of the a tag, this keeps the page "inside" the current next.js app (thats not correct terminology but lets roll with it) and will only have to download the needed json for the page, rather than following an external link (the a tag) and redownloading the entire package.
To be honest, to me it seems this logic is a bit backward to "passthrough" to a next link. I feel like we should be returning a next link by default and pass in some sort of externalLink flag but, that is outside the scope of this PR.

P. S. Should new menu item also be backported to the main site and blog?

The functionality should be for sure so we can use it in the future. However, we wouldn't be using passthrough={false} on the other sites version of this menu item since it actually needs to propagate to a different next app (docs).

Once https://github.com/gravitational/teleport/pull/18055 is merged I'll update the link with whatever the new guide ends up becoming, and also add it to tests as suggested.

@ptgott @avatus @hatched ready for review.

Once https://github.com/gravitational/next/pull/1667 and https://github.com/gravitational/blog/pull/311 are approved we can merge all 3


Fix the issue where cluster upgrade does not restart kubelet service

Using the upgrade.yml playbook for cluster upgrade, even though the various components updated with the new version of the executables, kubectl get nodes still shows that the cluster is on the old kube version.
Dug around the playbook, it turns out that the step install | Write kubelet systemd init file which is supposed to restart the kubelet service after it's done did not restart the kubelet service. This is due to the fact that an upgrade does not change the content of the systemd unit file and as a result, the handler was not fired.
The fix here is to write the kubernetes version as a comment in the systemd unit file, so an upgrade to a different version will rewrite this file, causing the notify handler to be executed.
This is a bit of a hack, granted. I'm open to other suggestions.

I'm not in favor of updating the systemd unit file for every update. Copying hyperkube out of the container or updating the launcher for container based deploy should be enough.
Refs:
https://github.com/kubernetes-incubator/kubespray/blob/master/roles/kubernetes/node/tasks/install_host.yml#L24
https://github.com/kubernetes-incubator/kubespray/blob/master/roles/kubernetes/node/tasks/install_docker.yml#L9
I'll verify this is an actual issue and get back to you here.


[Event Request] page 6510 "Item Tracking Lines" - Event for procedure AddReservEntriesToTempRecSet

Can we get the following event for the "Item Tracking Lines" page: OnAddReservEntriesToTempRecSet
    local procedure AddReservEntriesToTempRecSet(var ReservEntry: Record "Reservation Entry"; var TempTrackingSpecification: Record "Tracking Specification" temporary; SwapSign: Boolean; Color: Integer)
    var
        FromReservEntry: Record "Reservation Entry";
        AddTracking: Boolean;
    begin
        if ReservEntry.FindSet then
            repeat
                […]
                if ReservEntry.TrackingExists then begin
                    AddTracking := true;
                    if SecondSourceID = DATABASE::"Warehouse Shipment Line" then
                        if FromReservEntry.Get(ReservEntry."Entry No.", not ReservEntry.Positive) then
                            AddTracking := (FromReservEntry."Source Type" = DATABASE::"Assembly Header") = IsAssembleToOrder
                        else
                            AddTracking := not IsAssembleToOrder;

                    if AddTracking then begin
                        TempTrackingSpecification.TransferFields(ReservEntry);
                        // Ensure uniqueness of Entry No. by making it negative:
                        //New Start
                        OnAddReservEntriesToTempRecSet(TempTrackingSpecification, ReservEntry);
                        //New End
                        TempTrackingSpecification."Entry No." *= -1;
                        if SwapSign then
                            TempTrackingSpecification."Quantity (Base)" *= -1;

                        […]
      end;

    [IntegrationEvent(true, false)]
    local procedure OnAddReservEntriesToTempRecSet(var TempTrackingSpecification: Record "Tracking Specification" temporary; var ReservEntry: Record "Reservation Entry")
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Published datasets isn't showing file count

The attribute containing the file count was changes from a list of files to a file_count item.

Fixed attribute reference


MacOS terminal stuck due to ng completion script

Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
No
Description
I just tried creating an app with npm init and started it then, I could not use a new window of the terminal ... a workaround is to kill the process in the activity monitor.

But such a thing shouldn't happen.
I am using MacOS Venture 13.3.1 M1
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
no error, just the terminal being stuck

Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 14.2.6
Anything else?
Node: 19.4.0

I think all we do for ng completion script is delegate to Yargs. Unfortunately I don't have a Mac on hand to try to reproduce this issue.
Are you able to get a stack trace of the hanging code? Ctrl+C might print that. Otherwise you could just run the command directly and attach a debugger:
NODE_OPTIONS="--inspect-brk" ng completion script

When the debugger is attached and the program is hanging you should be able to pause it to see the stack it's stuck at.

Also it could be great if you can try this using Angulae CLI version 16+.

Unfortunately, I couldn't reproduce the issue again...
Thanks for your input!


Document the parameters used for RSASSA-PSS signatures

The current implementation uses non-default parameters for RSASSA-PSS signatures which should be specified as such to make different clients interoperable. Something like SHA256withRSA/PSS might already be sufficient.

We mention which underlying hash function is used with RSASSA-PSS signatures in the reference implementation here: https://github.com/theupdateframework/tuf/commit/cb1591e63da686842ba1e92bec652964786bc3d6
Thanks for opening this issue.


linux-5.10.17 nvidia modules build failed

Describe the bug
A clear and concise description of what the bug is.
Upgrading failed caused by a building failure of linux 5.10.17 module
To Reproduce
Steps to reproduce the behavior:
sudo nixos-rebuild boot --upgrade

Expected behavior
A clear and concise description of what you expected to happen.
nixos-rebuild command exit normally
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
Here are the error message copied from my terminal window:
/build/kernel/nvidia/nv-mmap.c:334:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  334 |             if (NV_ALLOW_CACHING(memory_type))
      |                ^
/build/kernel/nvidia/nv-mmap.c:336:9: note: here
  336 |         default:
      |         ^~~~~~~
/build/kernel/nvidia/nv-dma.c: In function 'nv_dma_is_map_resource_implemented':
/build/kernel/nvidia/nv-dma.c:631:37: error: implicit declaration of function 'get_dma_ops' [-Werror=implicit-function-declaration]
  631 |     const struct dma_map_ops *ops = get_dma_ops(dma_dev->dev);
      |                                     ^~~~~~~~~~~
/build/kernel/nvidia/nv-dma.c:631:37: warning: initialization of 'const struct dma_map_ops *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
/build/kernel/nvidia/nv-dma.c:646:16: error: dereferencing pointer to incomplete type 'const struct dma_map_ops'
  646 |     return (ops->map_resource != NULL);
      |                ^~
/build/kernel/nvidia/nv-dma.c:650:1: error: control reaches end of non-void function [-Werror=return-type]
  650 | }
      | ^

Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
- system: `"x86_64-linux"`
 - host os: `Linux 5.9.16, NixOS, 20.09.2812.f18fbc33930 (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.10`
 - channels(root): `"nixos-20.09"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Duplicate of #113963

Would be helpful if we had at least boot.kernelModules.

This also stops me from upgrading my system. What information should I post for more info?
$ nix-run nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 5.9.16, NixOS, 20.09.20210120.da3378c (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20201201_5a6ddb3`
 - channels(root): `""`
 - channels(george): `""`
 - nixpkgs: `/run/current-system/nix-channels/nixpkgs`

boot.kernelPackages = pkgs.linuxPackages_latest;
services.xserver = {
    useGlamor = true;
    videoDrivers = [ "nvidia" ];
};

If any more info is required, I'm happy to provide it.

Would be helpful if we had at least boot.kernelModules.

boot.kernelPackages = pkgs.linuxPackages_latest;
  boot.tmpOnTmpfs = true;
  boot.extraModulePackages = [ config.boot.kernelPackages.acpi_call ];
  boot.kernelModules = ["acpi_call" "coretemp" ];
  console.earlySetup = true;

I need the 5.10 Kernel for my AMD 5600 CPU (which adds support like reading out temperature).
Is there a fix around to use nvidia + latest kernel ? @astrojhgu is just downgrading his kernel version which is not what i want.

This seems specific to the 5.10 kernel. I've just built and started running the 5.11 kernel in nixpkgs-unstable and there was no build issue.

@eamsden i tried the same and nvidia also failed. but i am using the kernel from 20.09 repos, maybe i should try the unstable 5.11 :)

There have been multiple module updates since then, perhaps works now?

Yep, closing as I'm using the nvidia module on 5.13


Save filter feature

Add functionality to support save filter feature from https://github.com/fabric8-ui/fabric8-ux/issues/664
Example: Click on "Save" tab
https://rawgit.com/dlabrecq/patternfly-ng/save-filter-dist/dist-demo/#/filters
Screen shot 1:

Screen shot 2:

Recorded demo:
https://gfycat.com/gifs/detail/UnluckyUnrulyDuckbillcat

FYI, @catrobson

@dlabrecq is there any way to do more of a confirmation on the deletion of a filter?  Not sure if that gets too complex for the pattern.  It seems pretty easy to accidentally delete a filter without a "are you sure" step.
Also, can we add a label "Name your filter" on the field in the save dropdown?

Regarding the delete filter, we probably could add something. However, the user can also delete all filters by clicking on the "clear all" link. We don't have a confirmation there, either.
A label is easy. Or, we can do place holder text?

@catrobson I added a label to the save filter input. Please let me know if you want the label on top, instead?

@catrobson I wasn't able to add a confirmation popover to the remove filter button. The menu items are already wrapped in an anchor, which prevents the Angular Bootstrap popover from displaying. The remove filter icon is located within the anchor in order for the hover state to display properly.
If there is a different design you would like to consider, please let me know?

Instead of a confirmation popover, I was able to change the remove filter icon and tooltip when selected. This forces the user to confirm by clicking the new icon. We can use a different icon, but please let me know if something like this will work?
If the user selects a different filter to remove or another filter to apply, the original icon is restored.
Remove filter:

Confirm remove filter:

Label on top for the filter naming would be better.  The validation check to remove a filter doesn't follow typical standards, but presents some interesting alternatives.  How you have it with a tooltip doesn't feel quite right to me, let me try out one or two things as alternatives and post them back here.

Added Brian's slide-in design for the delete filter confirmation. May need some minor tweaks?
Example: Click on "Save" tab
https://rawgit.com/dlabrecq/patternfly-ng/save-filter-dist/dist-demo/#/filters
Trash can:

Slide-in:

Save Filter Label:

Clicking on the trash can and then having to move my mouse to the left to click the checkmark feels weird. Would it be possible to swap the checkmark and 'X', so that the user does not have to move their mouse?

Yes, I've swapped the x and the check mark. Brian mentioned the same.


maps : Add Angouleme campus

Hello !
Thank you for your contribution, however I can see some things are missing
Could you create a commit that do the following https://github.com/wow0000/friends42?tab=readme-ov-file#how-to-add-a-campus (Mostly add the campus the default refresh)
Could you also reformat your file to use only tabs? I can see that you are using mixed tabs/space that can cause issue


In map_entry use find_resource to conditionally create the automaster_entry

In map_entry use find_resource to create the automaster_entry only
if it does not exist. It may have been previously created with options
(i.e. timeout) and unconditionally creating it will cause the options
to be undone.

Is there anything else needed to get this merged?

Thanks Joe.  That's all merged and uploaded to the Supermarket.


Establish redirect from /codeofconduct to /code-of-conduct

So incoming links to /codeofconduct make it to the new page.

I'm on it!

Made PR https://github.com/girldevelopit/gdi-new-site/pull/149
@AndyLampert

:shipit:

Merged with #149


Merge v2 entities into template context instead of overriding

Pre-review checklist

[x] I've confirmed that instructions included in README.md are still correct after my changes in the codebase.
[ ] I've added or updated automated unit tests to verify correctness of my new code.
[x] I've added or updated integration tests to verify correctness of my new code.
[ ] I've confirmed that my changes are working by executing CLI's commands manually on MacOS.
[ ] I've confirmed that my changes are working by executing CLI's commands manually on Windows.
[x] I've confirmed that my changes are up-to-date with the target branch.
[ ] I've described my changes in the release notes.
[x] I've described my changes in the section below.

Changes description
When converting PDFv1 to PDFv2 in-memory, we need to keep the v1 template context available since the user could have other files with templates still using v1 references in it, but we also need to have access to the generated v2 entities since converted package scripts refer to the package identifier, so let's merge them together. The proper solution would be to convert the whole project to v2, templates included, but that's a separate issue.

Closing in favour of #1735


blog: december commit of the month

Drive link: https://docs.google.com/document/d/1O49X6OPXV1IRejbpk0xky175YDOquGysmF9mTDO1Ld4/edit?usp=sharing

When using an svg as the header image it comes out way too big at large screen sizes.

Is there an easy way to limit the size of the svg? cc @hyu @nicks . I tried messing around with different values in the image_type section in the front matter but they didn'tseem to make any difference.

Left some comments in the google doc -- lgtm!

lemme see if i can figure out how to cap the header heights, gmas

any luck @nicks ?

try this: https://github.com/windmilleng/tilt.build/pull/376


update readme to show new console_scripts

This PR updates the README to show the newly added console scripts in the package. cc @jph00

Thanks!


Wrong height of Masonry on first render

Hello!
My issue is related to Masonry layout. I'm trying to make a layout for images using react-virtualized, but get wrong height on first render. Then, when I refresh page everything is OK, but if i press Ctrl+F5 :) I get wrong height again.
Here is plunkr with example:
https://plnkr.co/edit/MqjeGd1cjZLxLNk2IaQL
You can try Stop & Run, F5 & Ctrl+F5 to catch the behaviour I described.
Thank you!

Hi @dev11235,
Masonry does not support async CellMeasurer (eg the measure param). I know this is probably an easy thing to miss or misunderstand but I tried to mention it in the Masonry docs:

Cell measurements must be synchronous. Size impacts layout and async measurements would require frequent layout invalidation. Support for this may be added in the future but for now the use of the CellMeasurer render callback's async measure parameter is not supported.

Sorry for the confusion! I'm going to close this issue as working-as-expected for now though.

Thank you very much for this explanation!

 The docs probably don't point this out in a clear enough way. My apologies!


Add functionality to download small and large example datasets

Is your feature request related to a problem? Please describe.
Currently we either use curl -OL some_url to download example data in the notebooks or we use data from the tests/test_data directory. Both are not ideal, in particular not if we want to add more datasets and also make access to some large ones easy.
Describe the solution you'd like A clear and concise description of what you
want to happen.
I suggest to add a module src/poligrain/data.py or example_data.py  or maybe datasets.py which would contain functions that could be used like this: get_example_data('AMS PWS small') or get_example_data('AMS PWS full').
As a first step, we would add very small example datasets (max. some hundred KB) to the repo that would be accessed by the function. Later we could add a separate repo for small example data.
In addition we can download full datasets directly from zenodod. Some data transformation would be required, though. There was preliminary work on this e.g. in the ragali_prototpy here (which is more or less 100% copy-paste of the same code in the OPENSENSE software sandbox, if I recall correctly). Hence, I would leave the access to full datasets for later.
Describe alternatives you've considered A clear and concise description of
any alternative solutions or features you've considered.
Just continue adding data to the repo... ;-). But since we are building a package that should serve as the basis for other packages it should not be bloated by larger binary data that is packaged into the pypi installs. If it is not package into the pypi install it does not help the user much, since our examples are not easily executable.

When the proposed implementation is done, the existing example data in the repo has to be consolidated. There is data in the tests dir and I am about to add new example data in the notebooks dir in #41 because I do not want to hardcode the paths for getting data from the tests dir.


4.0.0 release

This has a ton of changes and feature requests.
I'm betting it's a Major release, but i'd like some feedback.

Added some minor comments.  With this new lwrp, certainly seems like this could be a 4.x release, but if this new lwrp is not used in default path, it could be justified as just a minor enhancement.

With rolling in the clustering cookbook i feel justified on the 4.x release, if i can get someone other than me verify that kitchen and the specs pass i'm ready to merge this.


New update broke vsnip completion

New update broke vsnip completion, even when using compe#confirm it doesn't expand.

I can't reproduce it.
Please minimum vimrc.

Sorry, it was just wrong setting on my end.


Facebook login with shared_preferences package error

Hello:
I am using shared_preferences lib from here and everything works fine until I have added flutter_facebook_login I always get this error and shared_preferences stopped working.
E/flutter (16302): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)
when trying to run the app without shared_preferences I always got this error
E/flutter (16302): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method logIn on channel com.roughike/flutter_facebook_login)
I tried flutter clean and still exists, try to delete every package in /flutter_sdk_path/.pub-cache/hosted/pub.dartlang.org/ and install them again but still exists and  I even try to delete the flutter SDK itself and download it again and still same error.

Fix this by completing the AndroidManifest.xml
Make sure you have all the correct properties and configuration.

same issues

Fix this by completing the AndroidManifest.xml
Make sure you have all the correct properties and configuration.

I already write the properties from the documentation and nothing happened

same issue

Fix this by completing the AndroidManifest.xml
Make sure you have all the correct properties and configuration.

I already write the properties from the documentation and nothing happened

Post your AndroidManifest.xml just remove your API keys

Fix this by completing the AndroidManifest.xml
Make sure you have all the correct properties and configuration.

I already write the properties from the documentation and nothing happened

Post your AndroidManifest.xml just remove your API keys

`
<!— io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. —>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<application
    android:name="io.flutter.app.FlutterApplication"
    android:label="Afandim"
    android:hardwareAccelerated="true"
    android:icon="@mipmap/ic_launcher">

    <meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="GOOGLE_MAPS_KEY"/>

    <activity
        android:name=".MainActivity"
        android:launchMode="singleTop"
        android:theme="@style/LaunchTheme"
        android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
        android:hardwareAccelerated="true"
        android:windowSoftInputMode="adjustResize">
        <!— Specifies an Android theme to apply to this Activity as soon as
             the Android process has started. This theme is visible to the user
             while the Flutter UI initializes. After that, this theme continues
             to determine the Window background behind the Flutter UI. —>
        <meta-data
          android:name="io.flutter.embedding.android.NormalTheme"
          android:resource="@style/NormalTheme"
          />
        <!— Displays an Android View that continues showing the launch screen
             Drawable until Flutter paints its first frame, then this splash
             screen fades out. A splash screen is useful to avoid any visual
             gap between the end of Android's launch screen and the painting of
             Flutter's first frame. —>
        <meta-data
          android:name="io.flutter.embedding.android.SplashScreenDrawable"
          android:resource="@drawable/launch_background"
          />
        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>
    </activity>

    <!— Don't delete the meta-data below.
         This is used by the Flutter tool to generate GeneratedPluginRegistrant.java —>
    <meta-data
        android:name="flutterEmbedding"
        android:value="2" />

    <meta-data android:name="com.facebook.sdk.ApplicationId"
        android:value="FACEBOOK_KEY"/>

    <activity android:name="com.facebook.FacebookActivity"
        android:configChanges=
            "keyboard|keyboardHidden|screenLayout|screenSize|orientation"
        android:label="APP_NAME" />

    <activity
        android:name="com.facebook.CustomTabActivity"
        android:exported="true">
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="FACEBOOK_SCHEME" />
        </intent-filter>
    </activity>

</application>

`

Fix this by completing the AndroidManifest.xml
Make sure you have all the correct properties and configuration.

I already write the properties from the documentation and nothing happened

Post your AndroidManifest.xml just remove your API keys

Here is my file
`
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<application
    android:name="io.flutter.app.FlutterApplication"
    android:label="Afandim"
    android:hardwareAccelerated="true"
    android:icon="@mipmap/ic_launcher">

    <meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="GOOGLE_MAPS_KEY"/>

    <activity
        android:name=".MainActivity"
        android:launchMode="singleTop"
        android:theme="@style/LaunchTheme"
        android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
        android:hardwareAccelerated="true"
        android:windowSoftInputMode="adjustResize">

        <meta-data
          android:name="io.flutter.embedding.android.NormalTheme"
          android:resource="@style/NormalTheme"
          />

        <meta-data
          android:name="io.flutter.embedding.android.SplashScreenDrawable"
          android:resource="@drawable/launch_background"
          />
        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>
    </activity>

    <!— Don't delete the meta-data below.
         This is used by the Flutter tool to generate GeneratedPluginRegistrant.java —>
    <meta-data
        android:name="flutterEmbedding"
        android:value="2" />

    <meta-data android:name="com.facebook.sdk.ApplicationId"
        android:value="FACEBOOK_KEY"/>

    <activity android:name="com.facebook.FacebookActivity"
        android:configChanges=
            "keyboard|keyboardHidden|screenLayout|screenSize|orientation"
        android:label="APP_NAME" />

    <activity
        android:name="com.facebook.CustomTabActivity"
        android:exported="true">
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="FACEBOOK_SCHEME" />
        </intent-filter>
    </activity>

</application>

`

Seems good to me. Try this solution https://github.com/flutter/flutter/issues/38873#issuecomment-619355098

Still not solved 😣

I'm seeing the same error trying to run our app on Windows desktop
We're using shared_preferences but we aren't using flutter_facebook_login

same issue:(

https://programmingproalpha.blogspot.com/2020/08/how-to-make-facebook-log-in.html
Visit this site , it will help you alot in flutter facebook login

Any fix for this?


Ensuring templates are followed in the jobs category

Fixes #36.

You should remove the template command (which checks previous posts) as all previous posts already follow the template.
How extensively did you test it, make sure that it isn't too strict and doesn't come up with false positives. Make sure to ignore case sensitivity, links, weird spacing...
The massivecodeblock-ignore setting should be renamed to job-channel-ids or something similar so it doesn't cause confusion.
What is this horrendous code?

if (!_jobRegex.IsMatch(s.Content))
            {
                try
                {
                    (s.Author as IGuildUser).EnsureStaff();
                    await Task.Delay(500);
                }
                catch
                {
                    if (!s.Author.IsBot)
                        await s.Author.SendMessageAsync($"Hi, {s.Author.Username}. I've removed the message you've sent in #{s.Channel.Name} at {s.Timestamp.DateTime.ToString()} UTC, because you didn't follow the template. Please re-post it using the provided template that is pinned to that channel.");
                    await s.DeleteAsync();
                    await Task.Delay(1000);
                }
            }

Especially the try catch part. You can just use HasRole ("Staff") which returns a bool.
And what's with the Task.Delays?

That's fine. I just don't understand the "The massivecodeblock-ignore setting should be renamed to job-channel-ids or something similar so it doesn't cause confusion." comment. It would be redundant. The massivecodeblock-ignore setting has the job channels in it. It's how it was named; I didn't name it like that.

I know, so I suggested you rename it completely since now it has 2 uses.

Done.


Add scroll bar when more layers added

Description
Add scroll bar when more layers added on panel, set a max height to the layer list panel. In screen displayed layers will be maximum to 6.

Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

The unit test and e2e failed due to https://github.com/opensearch-project/OpenSearch-Dashboards/commit/de89c527dee3a997bfffc2079dbf97e4f813e54e#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R136, also found in other plugins, asked @zhongnansu for helping look into it

Did you check moving layers still works?

Did you check moving layers still works?

Yes, it works

Codecov Report

Merging #254 (3756a99) into main (816ce79) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #254   +/-   ##
=======================================
  Coverage   91.66%   91.66%
=======================================
  Files          10       10
  Lines         264      264
  Branches       34       34
=======================================
  Hits          242      242
  Misses         16       16
  Partials        6        6

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


Create a type-safe ADT for representing serverless workflows

Based on the ServerlessWorkflow Specification, create a type-safe algebraic data type that encodes workflows in a straightforward way.
The goal of this ADT is to facilitate reading and writing workflows, but not to read and write directly. Serverless workflows may be serialized into and deserialized from a variety of formats.
Separate issues will describe serialization requirements. This ticket is only to create a nice functional data model for the workflows.

/cc @ashprakasan

/cc @ashprakasan


Support variant files in mambabuild

One of the useful features of mamba is that its resolver errors are much more readable. In conda-forge PRs, we often run into problems where a resolution due to the constraints given by the global pinnings file cannot be resolved. Here it would be useful to take conda mambabuild to get a different error using conda mambabuild -m .ci_support/osx_r_base3.6target_platformosx-64.yaml recipe.

yeah that makes sense! We should copy over the argument parsing from conda build.

@beckermr was also looking at this and mentioned that we might be able to re-use conda-build's command line interface. I also think that's possible -- we just need to figure out how to call it here:
https://github.com/TheSnakePit/boa/blob/b38490674f43f53467239136789d3252ac57d987/boa/cli/mambabuild.py#L267-L281
@beckermr did you find the time to look into this?

No sorry! The cos7 stuff needed more work. Maybe in the coming week but it seems unlikely right now.

No worries. I can have a look as well.


Issue with obtaining v4 and v6 prefixes on MACOS

Hi nitefood,
Mac seems to have an issue grabbing prefixes both IPv4 and v6:
:~/repo/asn [master]% sw_vers
ProductName:		macOS
ProductVersion:		13.2.1
BuildVersion:		22D68

~/repo/asn [master]% git --no-pager log --oneline --no-decorate -1
f53ff33 IPv6 improvements (fixes #43) - improved host IPv6 detection reliability using ifconfig.co - improved host AS detection using RIPEStat for IPv6 and dual stack hosts - [server mode] switched default binding address to ::1 instead of <IP_ADDRESS> for IPv6 and dual stack hosts

~/repo/asn [master]% ./asn 5505

╭─────────────────────╮
│ ASN lookup for 5505 │
╰─────────────────────╯

 AS Number     ──> 5505
 AS Name       ──> VADAVO, ES
 Organization  ──>  (VDV-VLC-RED06 VDV-VLC-RED06 - CLIENTES TELECOM)
 Abuse contact ──><EMAIL_ADDRESS> AS Reg. date  ──> 2016-12-13 08:28:07
 Peering @IXPs ──> DE-CIX Madrid: DE-CIX Madrid Peering LAN • ESPANIX Madrid Lower LAN

╭──────────────────────────────────────────╮
│ BGP informations for AS5505 (VADAVO, ES) │
╰──────────────────────────────────────────╯

Retrieving prefix allocations and announcements for AS5505 (VADAVO, ES) (press CTRL-C to cancel)...zsh: killed     ./asn 5505

Seems to be an issue with how the connection to ripe is made, maybe?
~/repo/asn [master]% exec 85<>/dev/tcp/whois.ripe.net/43
zsh: no such file or directory: /dev/tcp/whois.ripe.net/43

~/repo/asn [master]% exec 3<>/dev/tcp/whois.ripe.net/43
zsh: no such file or directory: /dev/tcp/whois.ripe.net/43

hey @Therros2023,
this appears to be a problem similar to #40. Please see if those steps help you.

Update brew on the Mac: Exec command works in bash but not .zsh

Ok, that's to be expected since that's BASH specific (the asn script itself is a BASH script, not a ZSH one)

Retrieving prefix allocations and announcements for AS550... (press CTRL-C to caRetrieving information for IPv6 prefix 1/1 (press CTRL-C to cancel)...Killed: 9

Still cannot do prefix retrival.

Can you try running the command as bash -x asn -v 5505 &> execution.log, and afterwards attach execution.log here in order to have more insight as to what's failing?

Done.
See Attached.
execution.log

So it's indeed breaking in the exact spot where the script accesses the /dev/tcp pseudodevice (i.e. the persistent whois connection).
At this point I'm inclined to think Homebrew's BASH package has an issue with this. The possible options that I can see are two:

reinstall the BASH package, making sure nothing taints its configuration, or
install BASH using a different method, for instance with MacPorts, in the hope that the resulting shell is somehow less error prone than the one Homebrew installs.

Reinstall of homebrew bash was unsuccessful. Will try macports next.

Was looking around to see if there were traces of this error somewhere else, and this comment caught my eye. Not sure if this is really the case (furthermore they discuss ksh and not BASH), but the behavior looks consistent to what you're experiencing (and the explanation would be meaningful for BASH as well, since it suggests FD3 is "special" on MacOS). Closing FD 3 on MacOS apparently could trigger a SIGKILL, which is what you're experiencing in the end.
It's worth to test this idea by changing the code to use a FD other than 3. Please try the attached version that uses FD 6, and let me know.
asn_fd6.txt

Retrieving prefix allocations and announcements for AS550... (press CTRL-C to caRetrieving information for IPv6 prefix 1/1 (press CTRL-C to cancel)...Killed: 9

Genius, that worked prefix retrieval is working again:
Good find with that post.
`% asn 5505
╭─────────────────────╮
│ ASN lookup for 5505 │
╰─────────────────────╯
AS Number     ──> 5505
AS Name       ──> VADAVO, ES
Organization  ──> VADAVO SOLUCIONES SL (VDV-VLC-RED06 VDV-VLC-RED06 - CLIENTES TELECOM)
Abuse contact ──><EMAIL_ADDRESS>AS Reg. date  ──> 2016-12-13 08:28:07
Peering @IXPs ──> DE-CIX Madrid: DE-CIX Madrid Peering LAN • ESPANIX Madrid Lower LAN
╭──────────────────────────────────────────╮
│ BGP informations for AS5505 (VADAVO, ES) │
╰──────────────────────────────────────────╯
Retrieving prefix allocations and announcements for AS550... (press CTRL-C to ca IPv4 Prefixes  ────> 8
IPv6 Prefixes  ────> 1
BGP Neighbours ────> 39
╭──────────────────────────────────────────────╮
│ Peering informations for AS5505 (VADAVO, ES) │
╰──────────────────────────────────────────────╯
──────────────── Upstream Peers ────────────────
TWELVE99 (1299)   HURRICANE (6939)   COGENT-174 (174)   MEER-AS (34549)
CORE-BACKBONE (33891)   IP-MAX (25091)   FIBERTELECOM-AS (41327)   NEO-ASN (8218)
and more: 34927 3303 1239 35280 4455 60501 24482 13030 48348 9498 6057 8560
─────────────── Downstream Peers ───────────────
SAFORWIFI (207495)   SVINT-ASN (200509)   LUXUNIT (48952)   SCS-AS (208248)
IUKANET (205086)   S4N-AS (202054)
─────────────── Uncertain  Peers ───────────────
EDGOO (47787)   NETACTUATE (36236)   STACLAR-CARRIER (34854)   VORBOSS_AS (25160)
ONECOM-AS (51185)   NL-MLAB (41047)   Virtual-Technologies-Solutions-SA (37721)   DELTA-TELECOM-AS (29049)
and more:<PHONE_NUMBER>83 14840 39384 29680
╭─────────────────────────────────────────────────╮
│ Aggregated IP resources for AS5505 (VADAVO, ES) │
╰─────────────────────────────────────────────────╯
───── IPv4 ─────
<IP_ADDRESS>/22
<IP_ADDRESS>/24
<IP_ADDRESS>/24
<IP_ADDRESS>/24
<IP_ADDRESS>/24
<IP_ADDRESS>/24
───── IPv6 ─────
2a03:9320::/32`

Awesome, will commit this fix later today and close the issue. Thanks for reporting!

Nah, thanks for taking the time - much appreciated.


About Exactly-once and at least once feature of the raft module

In project2, do we need to implement a raft module that satisfies at-least-once feature, or are we required to implement a raft model that satisfies exactly-once feature? I noticed that al-least-once could help to pass the test. But I am a little confused about whether at least once will influence the correctness of the upper layer? Or is there any remediation in the upper layer that will help to form exactly once?

Exactly-once is not a constraint for the raft module. It depends on how the upper layer is implemented. For the raftstore model in TinyKV, it keeps the exactly-once by persisting apply index.


[Question]: Should clear=true on a task also clear the env of the task?

Describe The Bug
In our current project, we override the pre-made common tasks (Build, Test, Coverage) with our own custom tasks, setting clear = true in the task as the documentation  specifies that this deletes the existing task attributes. I personally read this as we are not extending the task, but completely overwriting it so only our task remains.
However, I'm experiencing an issue where my override of the coverage task fails when named coverage, but succeeds when named coverage2, hinting that some information from the old task remains.
Here is the task i'm referring to:
[tasks.coverage]
description = "Build and run all tests and calculate coverage."
clear = true
command = "cargo"
args = ["tarpaulin", "@@split(PACKAGE_TARGET, )", "--out", "Html", "--exclude-files", "**/tests/*", "--output-dir", "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/target"]

I performed a cargo make --print-steps coverage to see if there was any difference, which there was:
when named coverage
env: Some(
  {
      "RUSTFLAGS": Value(
          "-C link-dead-code",
      ),
  },
),

when named coverage2
env: Some(
    {
        "CARGO_MAKE_CURRENT_TASK_INITIAL_MAKEFILE": Value(
            "C:\\src\\UefiRust\\Makefile.toml",
        ),
        "CARGO_MAKE_CURRENT_TASK_INITIAL_MAKEFILE_DIRECTORY": Value(
            "C:\\src\\UefiRust",
        ),
    },
),

I don't have an argument one way or the other if clear = true fully or partially overrides, but I just wanted to raise this issue to make sure that what I'm seeing is not a bug. If it is not a bug, I do think it could be documented a bit better as to what clear = true actually does.
Thanks for your time :)

thanks @Javagedes for reporting.
clear=true sshould remove everything. if its not, i'll fix.
i'll check it out.
CARGO_MAKE_CURRENT_TASK_... env vars are pushed automatically in runtime.

@Javagedes sorry for the really really late reply.
I found the issue and i hope the fix will resolve it.
Can you please verify it in the 0.36.7 development branch

cargo-make is now released with this fix. thanks for reporting and please try it out.


changes to default C# script template

After #19251 the C# template was missing a few line breaks:
using Godot;
using System;

public class Demo : Node
{
    // Declare member variables here. Examples:
    // private int a = 2;
    // private string b = "text";

    // Called when the node enters the scene tree for the first time.    public override void _Ready()
    {
            }

//    // Called every frame. 'delta' is the elapsed time since the previous frame.//    public override void _Process(float delta)
//    {
//        //    }
}

While I was there I also changed it so it it uses the editor tabs/spaces setting, and the same placeholder tokens as template files.
The output should now look something like:
using Godot;
using System;

public class Demo : Node
{
    // Declare member variables here. Examples:
    // private int a = 2;
    // private string b = "text";

    // Called when the node enters the scene tree for the first time.
    public override void _Ready()
    {

    }

//    // Called every frame. 'delta' is the elapsed time since the previous frame.
//    public override void _Process(float delta)
//    {
//
//    }
}

We are definitely using %TS% when using the script template files, and it seems to work here during my testing.

I was told by @akien-mga to leave the indentation hard-coded to spaces.

I don't mind either way, it's up to @neikeq and C# devs. As I understood it in the C# world it's spaces or die, so I guess hardcoded spaces makes sense :)

BTW, if using spaces, the commented out _Process should have the matching number of spaces after // to stay aligned as other methods (just like your IDE would do when commenting/uncommenting a code block).

Looks good. Indeed, let's better keep hard-coded spaced for now.


Utterance bot cannot work as expect

Our utterance bot cannot file issues automatically since the fifth bot5 event.

The Utterance bot will not create issues by itself.
There must have been someone leaving a comment under the blog post so that the bot can post the comment here as a new issue.

Got it


add more connections to the Uberon common_anatomy subset

The Uberon taxon-independent common_anatomy subset is replacing the obsolete CARO ontology. It would be helpful to GO's usage of Plant Ontology terms if there were more links from PO to those Uberon terms. Could you add the following relations to PO?

plant anatomical entity SubClassOf anatomical entity
plant anatomical space SubClassOf anatomical space
plant structure SubClassOf anatomical structure
portion of plant substance SubClassOf organism substance

There might be other valid relations from PO to Uberon that I've missed. Instead of SubClassOf you may want to instead use a pattern like <po_term> EquivalentTo <uberon_term> and in_taxon some Viridiplantae if you think that makes sense. Thank you!

We will take a look at this at our next meeting

Hi @cooperl09
May I ask you when you meet? Just so we know when to expect an answer.
Thanks, Pascale


Mix things up

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Serialize Enum to underscored String by default

This picks up #9905 and introduces a stricter default serialization plus a converter for optionally using the current, number-based serialization.
The new behaviour for Enum JSON/YAML serialization:

Non-flag enums are strictly serialized to/from a string. Number is not accepted.
Flag enums are strictly serialized to/from a list of strings. Number or list of numbers are not accepted.

The new type Enum::NumberOrStringConverter implements the previous behaviour:

Both flag and non-flag enums are serialized to a number and serialize from a number or a string.

This type can be used with *::Serializable as a *::Field converter. It also provides a convenient API to use it directly (this could probably be generalized in a followup).
require "json"

class EnumStringMessage
  include JSON::Serializable

  enum Hint
    Up
    Down
  end

  @[Flags]
  enum Flag
    Left
    Right
  end

  property hint : Hint

  @[JSON::Field(converter: Enum::NumberOrStringConverter(EnumStringMessage::Hint))]
  property hint_number : Hint

  property flag : Flag

  @[JSON::Field(converter: Enum::NumberOrStringConverter(EnumStringMessage::Flag))]
  property flag_number : Flag
end

message = EnumStringMessage.from_json(%({"hint":"up", "hint_number": 1, "flag": ["left", "right"], "flag_number": "right"}))
message.hint        # => EnumStringMessage::Hint::Up
message.hint_number # => EnumStringMessage::Hint::Down
message.flag        # => EnumStringMessage::Flag::Left | EnumStringMessage::Flag::Right
message.flag_number # => EnumStringMessage::Flag::Right
message.to_json     # => %({"hint":"up","hint_number":1,"flag":["left","right"],"flag_number":2}})

# Use converter directly without JSON::Serializable:
Enum::NumberOrStringConverter(EnumStringMessage::Hint).from_json(%("down")) # => EnumStringMessage::Hint::Down
Enum::NumberOrStringConverter(EnumStringMessage::Hint).from_json(%(1))      # => EnumStringMessage::Hint::Down
Enum::NumberOrStringConverter(EnumStringMessage::Hint).to_json(:down)       # => %(1)

The example also applies to YAML serialization, using the appropriate methods and annotations.
Documentation is currently still missing, I'll add that later.

This PR also introduces two new public helper methods that I found convenient for the implementation:

JSON::PullParser.raise is the equivalent to YAML::Nodes::Node#raise and offers a simple interface for raising JSON::ParseException at the current location
YAML::Nodes::Node#type returns the name of the node type which is used in error messages to describe the actual token type (vs. the expected one).

Resolves #9905
Resolves #9881
I chose to open a new PR instead of amending the previous one in order to start a fresh review. Most of the discussion was about fleshing out the intended behaviour, which should have better been discussed in #9881.
Thanks to @caspiano for the first implementation 🙏

The two specs failures are probably caused by libyaml writing the document end marker only after some scalars. We really shouldn't be bothered by this, I'll just add an lchop("...\n") to always ignore the document end marker in the actual result.

Updating big project, quite hard to write every where converters like: Enum::ValueConverter(MyEnum) (because many of classes autogenerated by macros). Not understand why bad NumberOrStringConverter decoder, and String encoder?. Such thing Enum::ValueConverter(MyEnum) quite not good for autogenerators, because you should know type and is this type enum or not. Suggestion: add global struct/class Option:
 @[JSON::Serializable::Options(enums_as_value: true)]
 class A
    include JSON::Serializable
    @a : MyEnum?
 end

Instead of using a converter on the serializable field, you could also change the implementation of the enum types themselves. Maybe that would be easier for your use case?
You'll just need to override .new(pull : JSON::PullParser) and #to_json(json : JSON::Builder) to the value implementation.
I don't think adding a global option to JSON::Serializable would be a good idea. It would add a huge lot of complexity for a single use case.


fix: add ports to exposedPorts in proxy config

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Execute privileges for functions

By default, if a user has usage privileges in a schema he also has execute privileges on all functions in that schema because by default on function creation, execute is granted to public.
You need to issue revoke all privileges on function login(text, text) from public; for example after function creation, and later, manually grant execute to specific users.
i.e. in the users example, at the end of the doc, grant execute is useless/misleading since anon already has access to those functions.

Ouch. I'm planning on writing a trigger (some time in the future) that by default enables row level security for every table I create, since I might easily forget to enable it myself. Perhaps some common security triggers would be a useful addition to the docs?

As a side note it could be useful, but at the same time i think the examples should use explicit grant/revoke statement to make it clear what is going on.

Closing this issue here, please open this kind of thing on the new https://github.com/begriffs/postgrest-docs repo.


fix(client): Ensure temporary migration folder deletion

When client generation failed, the process exited before having a chance to delete the temporary migrations folder, leaving you with an ever increasing number of failed temporary migration folders.
They were also tracked on git by default so I added them to the starter template gitignore - not the most maintainable solution but helps keep things neat for the starter experience.

Btw, you should generate a changeset for each PR, to do so run pnpm changeset at the root of the mono repo and follow the steps of the interactive changeset tool.

Added a generic --debug flag to the generator which can be reused for maintaining more info - figured I'd move around some things to using switch statements for clarity.
Added a changeset, tried to include all changes in it so it's multiline, hope that's ok!

I see that you merged main into your branch to fix some conflicts.
We usually don't do that but solve conflicts by rebasing on top of main to keep the history linear.

@msfstef I would hold off on modifying the commands too much as #664 refactors them a lot and we will need to add any new arguments there.


Remove the boot flag from the swap partition

@sclevine Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@sclevine Thank you for signing the Contributor License Agreement!

@sclevine Thank you for signing the Contributor License Agreement!


top 50 resource movers query

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Will submit this into the production repo


Strip MITOpen cookies from requests routed to s3

What are the relevant tickets?
Closes https://github.com/mitodl/hq/issues/4840
Description (What does it do?)
Unset cookies for all mitopen requests going to s3.
Will test when deployed to QA

@pdpinch


airdos-shibuya dataset can't be downloaded

@haleqiu The original link seems down. Could you please generate an alternative link for folks to access shibuya? Thanks!

Thank you for pointing it out, we just renew the download link. Please let me know if there is any further issues. Thanks.


Log all 'watch' events

It would be useful to see in tsserver.log what file system events are happening when. CC @sheetalkamat

This is fixed now


Unable to call app when taskbar notification is clicked

hello.
The current notification is checked normally, but the app does not run when the taskbar notification is clicked
I'm handling notifications in data format, and setContentIntent doesn't seem to work.
The only difference between the currently provided firebasex and the source is the data name.
I was wondering if any developers have seen similar errors.

android 12
cordova-plugin-firebasex 14.0.0

If the server is sending "click_action": "FCM_PLUGIN_ACTIVITY" in its payload (suggested for cordova-plugin-fcm-with-dependecy-updated)
The best way of handling this add the following to your AndroidManifest.xml to keep backwards compatibility with existing or legacy apps:
<activity
         .... >
         ....
        <intent-filter>
            <action android:name="FCM_PLUGIN_ACTIVITY" />
            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
</activity>

Our app's server sends "click_action", but I cannot change the server.
So, until the click_action is removed, we changed config.xml as suggested by @metadevj as follows
<platform name="android">
    ...
    <config-file parent="/manifest/application/activity/" target="app/src/main/AndroidManifest.xml">
        <intent-filter>
            <action android:name="FCM_PLUGIN_ACTIVITY" />
            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </config-file>
</platform>

Add an intent for the string specified by click_action to MainActivity (FCM_PLUGIN_ACTIVITY in the above example).
This ensures that the activity will start regardless of the presence or absence of click_action.


Add k8s.pod.ip attribute

Area(s)
area:k8s
Is your change request related to a problem? Please describe.
The k8s.pod.ip is already used by the Collector for the association of Pod's signals with the respective Pod's metadata.
With https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/33440 the Collector will provide the option to explicitly expose this as an additional attribute as well.
Describe the solution you'd like
We would like to define a Semantic Convention to cover the k8s.pod.ip attribute.
Describe alternatives you've considered
No response
Additional context
One thing to consider here is that Pod's IP can change during Pod's existence. An interesting discussion/summary around this can be found at https://github.com/kubernetes/kubernetes/issues/108281#issuecomment-1058503524.
Having said this, the k8s.pod.ip will be mutable so it can't be a resource attribute similarly to the current status of a container discussed at https://github.com/open-telemetry/semantic-conventions/pull/997#issuecomment-2129538490.
However I wonder if this constraint is valid for all the Resource cases we want to cover in SemConv, and I think it is already violated in the k8s.pod.{label,annotation}.* case where a label or annotation can be overwritten.
(same for host's IPs, I guess)
@open-telemetry/specs-semconv-approvers I would love your thoughts here.

@open-telemetry/semconv-k8s-approvers @jsuereth @tigrannajaryan please take a look

The name and location seem right to me.  We've been using this field as a resource attribute for many many years and had no issues.

Regarding mutability we have a bunch other attributes that are mutable as you point out (host.ip being one of them). If we have host.ip, we surely can have k8s.pod.ip as well. I think the Entities SIG will have to figure mutability out, but until that happens I am in favor of using this as used in the Collector.

The concept of mutable attributes fits well with the upcoming concept of Entities. We plan to reflect this in the semconv in the future.

So is this essentially blocked by the entity initiative?

We don't need to block it. We can add it as an experimental k8s Resource attribute. We may have to change it later depending on entities SIG work, but that's expected for experimental attributes.
Resource attributes are de-facto mutable today in the data model, from recipient's perspective. The SDK says they are immutable, but that is not guaranteed or enforced in any way between SDK restarts. The current reading of the spec should be "Resource attributes don't change during the lifetime of one SDK run".

A old, and similar issue https://github.com/open-telemetry/semantic-conventions/issues/1160. I closed that in favor of this one.

@joaopgrassi I think you meant #918 :), right?

@joaopgrassi I think you meant #918 :), right?

Yes 😅 thanks!


Schedule backups - Enhancement

Love the concept of this script and it works really well. One thing I'd love to be able to do is set specific jobs up and put them on a schedule. Say if I'm going to backup x folder every week on Sunday I could set that up.

This is a good idea. Just not sure when I'll have time to dedicate to implementing it.  PRs welcome.


Sporadic errors when deploying

Hi. I have been installing/deleting the timescale-observability chart a lot in my tests.
However, when I am installing the chart, it fails 1/2 of the times. I reproduced it in version 0.1.0-alpha.2 and 0.1.0-alpha.3.
The problem is the timescaledb which stays stuck in an "non ready" state which eventually fails the install. Here are the logs:
kubectl logs test-timescaledb-0
2020-05-07 03:02:03,186 ERROR: Error creating replica using method pgbackrest: /etc/timescaledb/scripts/pgbackrest_restore.sh exited with code=1
2020-05-07 03:02:03,186 ERROR: failed to bootstrap (without leader)
2020-05-07 03:02:13,191 ERROR: Error creating replica using method pgbackrest: /etc/timescaledb/scripts/pgbackrest_restore.sh exited with code=1
2020-05-07 03:02:13,191 ERROR: failed to bootstrap (without leader)
2020-05-07 03:02:23,188 ERROR: Error creating replica using method pgbackrest: /etc/timescaledb/scripts/pgbackrest_restore.sh exited with code=1
2020-05-07 03:02:23,189 ERROR: failed to bootstrap (without leader)
2020-05-07 03:02:33,187 ERROR: Error creating replica using method pgbackrest: /etc/timescaledb/scripts/pgbackrest_restore.sh exited with code=1
2020-05-07 03:02:33,187 ERROR: failed to bootstrap (without leader)
2020-05-07 03:02:43,185 ERROR: Error creating replica using method pgbackrest: /etc/timescaledb/scripts/pgbackrest_restore.sh exited with code=1
2020-05-07 03:02:43,186 ERROR: failed to bootstrap (without leader)
2020-05-07 03:02:53,185 ERROR: Error creating replica using method pgbackrest: /etc/timescaledb/scripts/pgbackrest_restore.sh exited with code=1
2020-05-07 03:02:53,185 ERROR: failed to bootstrap (without leader)
2020-05-07 03:03:03,187 ERROR: Error creating replica using method pgbackrest: /etc/timescaledb/scripts/pgbackrest_restore.sh exited with code=1
2020-05-07 03:03:03,188 ERROR: failed to bootstrap (without leader

If I delete the botched release and try again, it works fine. I attached to this issue the minimal values.yml with which I reproduce the bug. I do not use complicated stuff like HA or backups so I am very surprised by the logs.
I also have sometimes a kubernetes service object which fails to be deleted by helm:
$ helm delete test
release "test" uninstalled
$ helm upgrade --install --wait test timescale/timescale-observability --version=0.1.0-alpha.2  -f minimal-values.yaml
Release "test" does not exist. Installing it now.
Error: rendered manifests contain a resource that already exists. Unable to continue with install: Service "test-config" in namespace "monitoring" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "test"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "monitoring"

It must be either a race condition or a resource helm failed to delete between the installs.

We have been looking into this issue but haven't found a specific solution to it just yet.
This as an issue of re-using helm release names, in a production environment you would not re-install but rather run a helm upgrade without deleting your old configuration and data, for development purposes I suggest different release names as a workaround.
That said, I will try to dig deeper into the issue and see if it can be avoided/fixed properly.


⚠ API - Lens has degraded performance

In 7e6ab9b, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 503
Response time: 334 ms

Resolved: API - Lens performance has improved in 232a5d7 after 7 minutes.


fix: wrong system path on Windows PowerShell; wrong classpath separator on Windows

Fix #8

Oh... I just found the problem, you removed the initialization for the Bash in Windows

The tests keep failing for Windows 2.0-2.1, while it used to work before (see how this run actually works --don't mind the tests failing 😄)...
I can't seem to understand why now it doesn't work...

But tests for Windows 2.0/2.1 also failed in the last run before I submitted this PR (6 months ago). I'm not sure whether it was the same reason "Could not find or load main class org.python.util.jython".

Oh... I just found the problem, you removed the initialization for the Bash in Windows
Maybe this causes some problems?

System path added by pwsh (e.g. C:\Users\runneradmin\.local\bin) should also be recognized by bash, see my test workflow. I think this shouldn't cause problems.
What's more, in the test results for this PR, nothing was printed for Windows PowerShell (although the "jython: command not found" error was fixed and the test even passed 🤔 ).

Partially fixed.
Now the only problem is that it fails because it doesn't find the javaos module, which is the same

What's more, in the test results for this PR, nothing was printed for Windows PowerShell (although the "jython: command not found" error was fixed and the test even passed 🤔 )

This is strange indeed...

But tests for Windows 2.0/2.1 also failed in the last run before I submitted this PR (6 months ago). I'm not sure whether it was the same reason "Could not find or load main class org.python.util.jython".

This is only partially true, since as you can see from the action run i posted some messages before, the action used to work on Windows with Jython 2.1 using Bash (now it doesn't).

I've rewritten shell commands for bash and pwsh separately. Now all the tests have passed (for both shells), except for version 2.0/2.1. I still get the strange error "no module named javaos", but I can't reproduce it on my PC.

I've rewritten shell commands for bash and pwsh separately. Now all the tests have passed (for both shells), except for version 2.0/2.1. I still get the strange error "no module named javaos", but I can't reproduce it on my PC.

I know, it's even more strange since it used to work onlòy on Windows and not on other runners (while running the action locally with act ubuntu worked).

Can you rerun this workflow (still using setup-jython@v3) to see whether it still works at present?

The tests are not working now

@ZZy979 For now, can you please exclude macos runners from the tests?
They are making way too much noise and the issue is actually tracked by #12..

Perfect!
It seems like the only tests that are still failing are the ones for Jy2.1 and Jy2.0 on Windows runners...
Great work @ZZy979!
If we manage to fix them too I'll merge the PR

It seems like the only tests that are still failing are the ones for Jy2.1 and Jy2.0 on Windows runners...

The purpose of this PR is to make it work on PowerShell, and now it has been achieved. Perhaps the failing tests for 2.0 and 2.1 can be tracked by another issue.

Perhaps the failing tests for 2.0 and 2.1 can be tracked by another issue.

You're actually right... I took my time to look back into what I did before and it seems like the last working test was in June 2023 right after 44e3e84.

So the latest working version as of now remains v3 and while some things happened in the meantime, it would be a breaking change to publish v4 removing support for Jython 2.0 and 2.1 on Windows. For example, I use it almost everyday in projects of mine like Jython Backport and JyCLI (which in turn are both used at work) and v4 would be incompatible.
I'll merge this request and then we (if you can contribute i'd be very grateful) can try to understand why it stopped working.

PR finally merged 🎉
Great job @ZZy979 and thank you again for taking the time to fix the problem!


rtsp url <IP_ADDRESS>:8554

Whenever I start using:
v4l2rtspserver -I /dev/video0 -P 8554

I get the following:
2017-02-07 13:56:00,029 [NOTICE] - /home/pi/v4l2rtspserver/src/main.cpp:386
        Create V4L2 Source.../dev/video0
2017-02-07 13:56:00,029 [NOTICE] - src/V4l2Device.cpp:115
        driver:bm2835 mmal 85200005
2017-02-07 13:56:00,029 [NOTICE] - src/V4l2Device.cpp:117
        /dev/video0 support read/write
2017-02-07 13:56:00,030 [NOTICE] - src/V4l2Device.cpp:119
        /dev/video0 support streaming
2017-02-07 13:56:00,031 [NOTICE] - src/V4l2Device.cpp:177
        /dev/video0:H264 size:640x480 bufferSize:307200
2017-02-07 13:56:00,031 [NOTICE] - src/V4l2Device.cpp:198
        fps:1/25
2017-02-07 13:56:00,031 [NOTICE] - src/V4l2Device.cpp:199
        nbBuffer:1
2017-02-07 13:56:00,035 [NOTICE] - src/V4l2MmapDevice.cpp:70
        Device /dev/video0 nb buffer:10
2017-02-07 13:56:00,574 [NOTICE] - /home/pi/v4l2rtspserver/src/main.cpp:407
        Create Source .../dev/video0
2017-02-07 13:56:00,574 [NOTICE] - /home/pi/v4l2rtspserver/src/V4l2DeviceSource.cpp:93
        begin thread
2017-02-07 13:56:00,576 [NOTICE] - /home/pi/v4l2rtspserver/src/H264_V4l2DeviceSource.cpp:81
        profile-level-id=640028;sprop-parameter-sets=J2QAKKwrQFAe0A8SJqA=,KO4fLA==
cannot set sample format (Invalid argument)
2017-02-07 13:56:00,582 [NOTICE] - /home/pi/v4l2rtspserver/src/main.cpp:143
        Play this stream using the URL "rtsp://<IP_ADDRESS>:8554/unicast"
2017-02-07 13:56:00,582 [NOTICE] - /home/pi/v4l2rtspserver/src/V4l2DeviceSource.cpp:93
        begin thread
2017-02-07 13:56:00,582 [NOTICE] - /home/pi/v4l2rtspserver/src/V4l2DeviceSource.cpp:202
        V4L2DeviceSource::getNextFrame errno:0 Success
2017-02-07 13:56:00,582 [ERROR ] - /home/pi/v4l2rtspserver/src/V4l2DeviceSource.cpp:107
        error:Success
2017-02-07 13:56:00,582 [NOTICE] - /home/pi/v4l2rtspserver/src/V4l2DeviceSource.cpp:118
        end thread

When I don't specify the interface it gives me an actual IP:
$ sudo v4l2rtspserver -P 8554
2017-02-07 13:56:49,450 [NOTICE] - /home/pi/v4l2rtspserver/src/main.cpp:386
        Create V4L2 Source.../dev/video0
2017-02-07 13:56:49,450 [NOTICE] - src/V4l2Device.cpp:115
        driver:bm2835 mmal 85200005
2017-02-07 13:56:49,451 [NOTICE] - src/V4l2Device.cpp:117
        /dev/video0 support read/write
2017-02-07 13:56:49,451 [NOTICE] - src/V4l2Device.cpp:119
        /dev/video0 support streaming
2017-02-07 13:56:49,452 [NOTICE] - src/V4l2Device.cpp:177
        /dev/video0:H264 size:640x480 bufferSize:307200
2017-02-07 13:56:49,453 [NOTICE] - src/V4l2Device.cpp:198
        fps:1/25
2017-02-07 13:56:49,453 [NOTICE] - src/V4l2Device.cpp:199
        nbBuffer:1
2017-02-07 13:56:49,456 [NOTICE] - src/V4l2MmapDevice.cpp:70
        Device /dev/video0 nb buffer:10
2017-02-07 13:56:49,995 [NOTICE] - /home/pi/v4l2rtspserver/src/main.cpp:407
        Create Source .../dev/video0
2017-02-07 13:56:49,996 [NOTICE] - /home/pi/v4l2rtspserver/src/V4l2DeviceSource.cpp:93
        begin thread
2017-02-07 13:56:49,996 [NOTICE] - /home/pi/v4l2rtspserver/src/H264_V4l2DeviceSource.cpp:81
        profile-level-id=640028;sprop-parameter-sets=J2QAKKwrQFAe0A8SJqA=,KO4fLA==
cannot set sample format (Invalid argument)
2017-02-07 13:56:50,003 [NOTICE] - /home/pi/v4l2rtspserver/src/V4l2DeviceSource.cpp:93
        begin thread
2017-02-07 13:56:50,003 [NOTICE] - /home/pi/v4l2rtspserver/src/main.cpp:143
        Play this stream using the URL "rtsp://<IP_ADDRESS>:8554/unicast"
2017-02-07 13:56:50,004 [NOTICE] - /home/pi/v4l2rtspserver/src/V4l2DeviceSource.cpp:202
        V4L2DeviceSource::getNextFrame errno:0 Success
2017-02-07 13:56:50,004 [ERROR ] - /home/pi/v4l2rtspserver/src/V4l2DeviceSource.cpp:107
        error:Success
2017-02-07 13:56:50,004 [NOTICE] - /home/pi/v4l2rtspserver/src/V4l2DeviceSource.cpp:118
        end thread
^CSIGINT
2017-02-07 13:56:51,861 [NOTICE] - /home/pi/v4l2rtspserver/src/main.cpp:505
        Exiting....

Also I have been trying to set a different interface using:
-I /dev/video1

It just seems to ignore that and try the default /dev/video0

Hi scramble45,
The option -I is used to specify the output network interface.
If you would like to feed from /dev/video1, you could use :
v4l2rtspserver /dev/video1

If you would like to spefify the restrict the RTSP server to local client, you could use
v4l2rtspserver -I <IP_ADDRESS>

Regards,
Michel.

Guess I didn't read the flags properly. Thanks for clearing that up. I was able to get both cameras going.

Hello ,
I managed to make the stream working , however just lost it and I am getting exactly same issue .
Would you please let me know how did you solve it ?thank you in advance

Hi,
To solve the issue you should use -I option to specify the network interface to listen to.
Regards,
Michel


Data adjustment

Hi there,
To properly adjust your historical OHLC data, you need to use a proportional adjustment. Here's the function that does just that:
def adjust_ohlc(data):
    """
    Adjust OHLC prices for splits and dividends by using
    the Adjusted column in Yahoo!.
    """
    ratio = data['AC']/data['C']
    data['UC'] = data['C']  # add an unadjusted close column
    data[['O', 'H', 'L', 'C']] *= ratio
    return data.drop(['AC'], axis=1)

Note that it does not adjust the Volume.

You are right, thanks. Fixed in v0.2 branch.


How was the Msg github page generated?

https://madprops.github.io/Msg/
Was this coded by hand? Or what plugin/framework/software you used? Thanks.

Not Msg script, but the html code for github page.

Hi, I made it by hand.

@davchana your issue inspired me to create a node tool to create documentations similar to this, but with much more features: https://madprops.github.io/Doctor/


service.selector.link doesn't work with system label io.rancher.stack_service.name

I have two services backend/backend and frontend/frontend in a separate stacks. Frontend is linked to the backend with io.rancher.service.selector.link: io.rancher.stack_service.name=backend/backend. Doesn't work.
If i define a custom label like foo: bar on the backend side, and add io.rancher.service.selector.link: foo=bar to frontend all work as expected.

To confirm that label is present:

Service selector links only look at labels at the service level and not at the container level.
In your use case, the system labels are only at the container level and not at the service level. If you added the io.rancher.stack_service.name=backend/backend when creating the service, your selector label would work.

hmm... for now i have to add custom label like service_name: backend and on the link side link: service_name in (backend, rabbit). If I use service_name: $${service_name} would this work?
Is there an ability to customize dns names for auto-linked services?

Yes, you must add a custom label. Using service_name: $${service_name} will not work.
Please read through #2628 as your use case that you've been trying to handle should work.


window offset vertically after unplugging then plugging external monitor

VSCode Version: 1.10.2
OS Version: 10.12.3 (16D32)

Using on a MacBook Pro in fullscreen on an external monitor. Unplugged the external monitor and closed the laptop. Opened the laptop again and used for a while as just a laptop. Closed the laptop again. Reattached the external monitor and opened the laptop. Switched to VS Code. Saw the attached screen shot.

I would argue this is something the OS is doing wrong because there was no restart involved. Closing.

Then why does it only happen for Slack and VS Code? Don’t they both use electron?
Sent from my iPhone

On Nov 14, 2017, at 9:31 AM, Benjamin Pasero<EMAIL_ADDRESS>wrote:
Closed #22430.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Click/Scroll bug

If you click or scroll your mouse, the bot will stop moving and won't respond anymore. It also crash Chrome. it takes around 5 seconds before agar.io close.

I have the same problem on all PCs I try the bot. I'm using 43.0.2357.132 m on Win7 on all of the PC's I tired this.

fyi: i do not have that issue at all...  on osx using safari or firefox or chrome or opera.

I'm pretty sure it's only an issue on Chrome and maybe on Opera. I believe I know how to fix this, but don't have the time to work on this yet.


do you mind if I fork this to add actions/releases?

I wanted to learn more about deployment pipelines and the dev ops toolchain. I saw in this discussion that releases can be generated by github itself though github actions. I was wondering if you would be okay with this. if it works you could just merge it back into the main repository.

Added release.yml and updated the Installation section.
No support for macOS yet.

oh okay. I was a variation of the command from @vbauerster from the forum. I also wasn't using the makefile and using crystal directly though:
 - name: create release for mac
        run: crystal build --cross-compile --target "x86_64-apple-darwin20.3.0" --release -o kcr src/cli.cr

      - name: create release for rpi64
        run: crystal build --cross-compile --target "aarch64-unknown-linux-gnu" --release -o kcr src/cli.cr

I hadn't changed the ouput directory because I wasn't sure where the output was supposed to be stored, you can see the entire thing here

I was only doing it on push, and only when given a semver tag, because I think on free accounts github limits your monthly run time for actions. I was planning on adding automatic versioning, so you could just push with some way of specifying "I want this push to be built"

on the macOS build, since after looking at the original post again I noticed it's not currently possible to cross compile for macOS, a possible workaround would be to get someone with a mac system to build it on their local system and publish that. doing so in an automated fashion seems like it would be rather hackish.

I’ve seen the use of a matrix in Install Crystal.

As you wish.  I learn the GitHub Actions as the same time as you. 😆
If you have nice solutions, I will gladly take them.

@skewballfox We have Linux and macOS releases now 🥳


fix a typo

Description
This PR fixes a typo in the hero section heading.

Good catch!

Good catch!


Closures in Querys no longer possible since 2.0.51-dev

What steps will reproduce the problem?
I have some search models in legacy code that are using closures. Worked fine until update on 2.0.51-dev
What is the expected result?
Search model contains something like
$query = User::find();
$dataProvider = new ActiveDataProvider([
            'query' => $query,
        ]);
// confederationId
 if ($this->confederationId) {
         $query->joinWith(['userProfile' => function ($q) {
                $q->andFilterWhere(['user_profiles.confed_id' => $this->confederationId]);
         }]);
 }

expected search query to be extended and search by e.g. "confederationId"
What do you get instead?
Exception
Serialization of 'Closure' is not allowed
1. in ..../releases/893/vendor/yiisoft/yii2/db/Query.php at line 1399
139013911392139313941395139613971398139914001401        ]);
    }

    /**
     * Returns the SQL representation of Query
     * @return string
     */
    public function __toString()
    {
        return serialize($this);
    }
}

Additional info
In 2.0.50
seems not to be used?

Q
A

Yii version
2.0.51-dev

PHP version
8.1.28

Operating system

\yii\db\Query::__toString() not working (

It seems that method \yii\db\Query::__toString()  has never been used.


Adds a cookbook entry covering autowiring of routes and pipeline middleware

Per discussion on zendframework/zend-expressive-skeleton#129, we need to cover how to autowire routing definitions, and, optionally, pipeline middleware, when using the programmatic approach. The solution is delegator factories.

Ping @RalfEggert

Looks great at first glance. Though I need to get my hands dirty by following your suggestions.
:+1:

@RalfEggert I just tried it on my own website codebase, and it worked exactly as expected. :smile:

@weierophinney great to hear... I will give it a try soon... :smiley: