Support Chart.js 2.5.0

I am getting: npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
I have 2.5.0 installed.
Why is <=2.4.* required? Why not ^2.4.0 which would allow upgrading until 3.0.0 ?

Since I haven't tested the module on later versions of chart.js -- I don't
know if it will work. Especially after a major version change (apis can
change and so forth.) You're welcome to submit a PR if you've tested on 3.0
and can validate that.
Otherwise I'll look into doing that later next week.
El El sáb, feb. 11, 2017 a las 1:30 PM, Jordan Feldstein <
<EMAIL_ADDRESS>escribió:

I am getting: npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
I have 2.5.0 installed.
Why is <=2.4.* required? Why not ^2.4.0 which would allow upgrading until
3.0.0 ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vmpowerio/chartjs-node/issues/17, or mute the thread
https://github.com/notifications/unsubscribe-auth/AC6Wz1hD3ojoznpRRlLOJch29llmGsheks5rbihjgaJpZM4L-Tag
.

Closed via https://github.com/vmpowerio/chartjs-node/pull/18. You can get<EMAIL_ADDRESS>on npm.


The deployed app doesn't work

I can see the payload going as bus and the returned token is passed to successive get calls to fetch the list of collections.
But every output is null

My Bad.. It took almost 5 mins to generate a bus. Closing this

Thanks for following up!


Contrib builds actually excluding skipped targets

Commit Message: Contrib builds excluding skipped targets
Additional Description: Previously the contrib static binary did not exclude targets that were tagged for skipping, which seems like it was a mistake.
This also adds a target skip for boringssl=fips configuration, because the qatzip extension currently breaks the FIPS build.
This is imperfect, in that an aarch64 build with boringssl=fips will still not work, but should repair the majority of currently surprise-broken cases.
Fixes #31874
Risk Level: Small risk of surprising aarch64 and ppc builds by actually excluding extensions that were nominally excluded all along.
Testing: bazel build --define boringssl=fips //contrib/exe:envoy-static in the devcontainer works after and does not work before.
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

cc @giantcroc


Adding a document (missing example)

Maybe I'm missing something, but the readme is really missing a simple example on how to add a document in the correct data format. In issues here and at stack overflow, I've read multiple threads of people confused about this.
In documentation there is the GeoCollection.add method (which I assume is the best way to go about it) but the information on its data object structure is missing.
https://geofirestore.com/modules/_geofirestoretypes_.geofirestoretypes.html#documentdata
I have to dig way down into typescript definition to figure out it's just a wrapper for a GeoPoint: https://github.com/geofirestore/geofirestore-js/blob/aa80c71/src/GeoFirestoreTypes.ts#L13
So for something so basic to the function of this library, this feels inadequate.
Thanks for your consideration.

Noted, and thank you for the feedback. I'd say, if you wanted to open a PR and add it to the readme that would be awesome! (If not I'll try to get to it this week, I've been traveling a lot and just moved so it's been difficult)


porposal: introduce Commitment method on share.Blob

In the node, we have a Blob type that has the commitment cached on the Blob struct as a field. With all the type unification efforts, this seems to be the missing piece to fully migrate over go-square types.
Besides the node needs, it is generally handy to have a method that will lazily compute and cache the proof on the blob, and users won't need to lookup inclusion pkg for the most common usecase.

cc @vgonkivs, @cmwaters, @rootulp

Makes sense

Agree with @Wondertan. Can start working on this issue once migration to v2 is done.


Support for SPDM Responder to send/receive application data

After secure session establishment, SPDM Spec allows either Requester pr Responder to send/receive application data.
In libspdm there is a support for Responder to register the receive function callback. However, in SPDM Responder library we dont have send capability.
Is there any plans in developing that ?
Thanks,
Prithvi A Pai

Is there any plans in developing that ?

There can be. Presumably libspdm_send_data and libspdm_receive_data would move to common_lib.


Add integration tests for the endpoints that deal with old claims.

The ledger allows old claims and receipts to be enumerated and retrieved. At one point (before the open source release) this code path was actually broken and subsequently fixed, but I had never added the integration tests.

CI is failing for test_enumerate_claims. The enumeration seems to contain a lot more claims from the start (of other tests in this case), but the end of the list is cut off in the log output, so I'm not sure if that's correct either.

Seems like the start parameter isn't working correctly, I'll look into it.

The reason turned out to be that the endpoint expects integer sequence numbers, rather than a transaction ID (which is two number separated with a dot), but was silently ignoring ill-formed values and treating them as if they were missing.
I've changed the C++ code to be a bit stricter, and return an error in these cases.


activeClassName does not work when the links are in sub-components

main.js
ReactDOM.render((
    <Router>
        <Provider store={store} >
            <App />
        </Provider>
    </Router>
), document.getElementById('app'));

components.js
const App = () => (

        <Content />

)

const Nav = () => (

        <Link to="/overview" className="item" activeClassName="active blue">Overview</Link>
        <Link to="/logs" className="item" activeClassName="active blue">Logs</Link>

)

const Content = () => (

        <Match pattern="/overview" component={Overview} />
        <Match pattern="/logs" component={Logs} />

)

const Overview = () =>
overview

const Logs = () =>
logs

With the new router, how are routing informations passed down the tree?
The Links inside the Nav component change the url, but won't indicate which route is active, it doesn't seem to apply the active classes.
The Matches don't work at all.
Both links and matches work once, at page refresh, but then no more. If everything is directly inside the Router component it works as well. Or is this because of Redux?

If you have some of those components run through connect(), they may be getting short circuited by some of react-redux's optimizations. Make sure your Match's are outside of connect.

More discussion (still an issue but not sure what the fix is yet): #3935

fixed in v4.0.0-alpha.4


Bad parsing of korean date

>>> parse("2013년 08월 14일", languages=["ko"])

Should be parsed as 2013-08-14.
>>> parse("2013.08.14 23시 54분", languages=["ko"])
datetime.datetime(2019, 11, 11, 11, 7, 49, 750793)

Should be parsed as 2013-08-14 23:54. It seems to be finding some sort of relative time.

Here's some data on various datetimes I can parse but dateparser fails at.
ko-kr-examples.txt


Order of entries in Quick View

VSCode Version: 1.42
OS Version: Kubuntu 19.10

Steps to Reproduce:

Open Quick View (command palette "View: Quick Open View")

Previously that menu was ordered in a different way than after update 1.42 (same applies to current Insiders build), now extensions' entries are placed above the default ones (Explorer, Search, Source control etc.). Is there any way to use previous sorting or customize the order?
Previous version (1.41.1):

Current version (1.42):

Does this issue occur when all extensions are disabled?: No (but that's not the solution)

@sbatten I think this might be related to the new view work. Also note that it looks like hidden views also show up in that list.

fyi @sandy081 not sure how you feel about this for the recovery. not functionally broken, but it is a regression from expected behavior.

Agreed regression but not important to be a candidate for recovery.
Regarding sorting agreed that undefined should go at the end and panels should also be consistent.
https://github.com/microsoft/vscode/blob/7ecb3a3703202041353a72593ba502394bb38ac5/src/vs/workbench/browser/parts/panel/panelPart.ts#L398
https://github.com/microsoft/vscode/blob/7ecb3a3703202041353a72593ba502394bb38ac5/src/vs/workbench/browser/parts/sidebar/sidebarPart.ts#L224
@bpasero @isidorn  FYI

@sandy081 I foresee this regression annoying users whose muscle-memory is trained to use Ctrl+Q followed by a specific number of extra Q presses (while Ctrl is held down) to navigate the UI.
What is the risk of including the fix in the recovery?

I see your point and will add the candidate tag which can be discussed in the team.

@sandy081 I foresee this regression annoying users whose muscle-memory is trained to use Ctrl+Q followed by a specific number of extra Q presses (while Ctrl is held down) to navigate the UI.
What is the risk of including the fix in the recovery?

That's exactly my case :) and because of this I'll just stick with 1.41 for now.

Accepted for recovery.


00-anomaly-detection-tutorial: Container fails to start on ACI

Tutorial: 00-anomaly-detection-tutorial
Step: 5: Test model on Azure Container Instance
Issue: Container failed to start on ACI. Error log:
2020-06-28T11:55:11,852765769+00:00 - rsyslog/run
2020-06-28T11:55:11,852562969+00:00 - iot-server/run
2020-06-28T11:55:11,864671678+00:00 - nginx/run
2020-06-28T11:55:11,865188479+00:00 - gunicorn/run
EdgeHubConnectionString and IOTEDGE_IOTHUBHOSTNAME are not set. Exiting...
2020-06-28T11:55:12,130239579+00:00 - iot-server/finish 1 0
2020-06-28T11:55:12,135812284+00:00 - Exit code 1 is normal. Not restarting iot-server.
Starting gunicorn 19.9.0
Listening at: http://<IP_ADDRESS>:31311 (11)
Using worker: sync
worker timeout is set to 300
Booting worker with pid: 43
Exception in worker process
Traceback (most recent call last):
File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
worker.init_process()
File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/workers/base.py", line 129, in init_process
self.load_wsgi()
File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi
self.wsgi = self.app.wsgi()
File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 52, in load
return self.load_wsgiapp()
File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp
return util.import_app(self.app_uri)
File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/util.py", line 350, in import_app
import(module)
File "/var/azureml-server/wsgi.py", line 1, in
import create_app
File "/var/azureml-server/create_app.py", line 3, in
from app import main
File "/var/azureml-server/app.py", line 31, in
import main as user_main
File "/var/azureml-app/main.py", line 18, in
driver_module_spec.loader.exec_module(driver_module)
File "iot_score.py", line 8, in
from sklearn.externals import joblib
ImportError: cannot import name 'joblib'
Worker exiting (pid: 43)
Shutting down: Master
Reason: Worker failed to boot.
2020-06-28T11:55:15,652639446+00:00 - gunicorn/finish 3 0
2020-06-28T11:55:15,653865147+00:00 - Exit code 3 is not normal. Killing image.

Referencing joblib from top level helped me to solve this issue

I am also facing this issue. https://stackoverflow.com/a/61895560/1180117

Hi so using print(ws.webservices['mysvc'].get_logs())
I get the same error
2020-09-01T13:06:56,682182228+00:00 - iot-server/run
2020-09-01T13:06:56,683466724+00:00 - rsyslog/run
2020-09-01T13:06:56,713681736+00:00 - gunicorn/run
2020-09-01T13:06:56,721711113+00:00 - nginx/run
EdgeHubConnectionString and IOTEDGE_IOTHUBHOSTNAME are not set. Exiting...
2020-09-01T13:06:56,996583013+00:00 - iot-server/finish 1 0
2020-09-01T13:06:57,004199091+00:00 - Exit code 1 is normal. Not restarting iot-server. Starting gunicorn 19.9.0
Listening at: http://<IP_ADDRESS>:31311 (13)
Using worker: sync
worker timeout is set to 300
Booting worker with pid: 45
Exception in worker process
Traceback (most recent call last): File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker worker.init_process() File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/workers/base.py", line 129, in init_process self.load_wsgi() File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi self.wsgi = self.app.wsgi() File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 52, in load return self.load_wsgiapp() File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp return util.import_app(self.app_uri) File "/opt/miniconda/lib/python3.6/site-packages/gunicorn/util.py", line 350, in import_app import(module) File "/var/azureml-server/wsgi.py", line 1, in  import create_app File "/var/azureml-server/create_app.py", line 3, in  from app import main File "/var/azureml-server/app.py", line 31, in  import main as user_main File "/var/azureml-app/main.py", line 12, in  driver_module_spec.loader.exec_module(driver_module) File "/var/azureml-app/iot_score.py", line 10, in  from azureml.core.model import Model File "/opt/miniconda/lib/python3.6/site-packages/azureml/core/init.py", line 13, in  from .workspace import Workspace File "/opt/miniconda/lib/python3.6/site-packages/azureml/core/workspace.py", line 34, in  from azureml.core.image import Image File "/opt/miniconda/lib/python3.6/site-packages/azureml/core/image/init.py", line 28, in  from .image import Image File "/opt/miniconda/lib/python3.6/site-packages/azureml/core/image/image.py", line 19, in  from azureml.core.model import Model File "/opt/miniconda/lib/python3.6/site-packages/azureml/core/model.py", line 39, in  from azureml.core.environment import Environment File "/opt/miniconda/lib/python3.6/site-packages/azureml/core/environment.py", line 31, in  from azureml.core.conda_dependencies import CondaDependencies, PYTHON_DEFAULT_VERSION File "/opt/miniconda/lib/python3.6/site-packages/azureml/core/conda_dependencies.py", line 11, in  import ruamel.yaml ModuleNotFoundError: No module named 'ruamel' Worker exiting (pid: 45) Shutting down: Master Reason: Worker failed to boot. 2020-09-01T13:07:01,788170279+00:00 - gunicorn/finish 3 0 2020-09-01T13:07:01,789377376+00:00 - Exit code 3 is not normal. Killing image.

I am also getting the same error ModuleNotFoundError: No module named 'ruamel' after deploying the ACI webservice. From a quick internet search, I found that this is a known issue (https://docs.microsoft.com/en-us/azure/machine-learning/resource-known-issues#installation-and-import):

However, it is not clear how we can apply the suggested fix to the anomaly-detection-tutorial notebook.

@kawo123 yes same issue
Output log shows -
import ruamel.yaml ModuleNotFoundError: No module named 'ruamel' Worker exiting (pid: 45) Shutting down: Master Reason: Worker failed to boot. 2020-09-10T06:55:03,932157139+00:00 - gunicorn/finish 3 0 2020-09-10T06:55:03,933713250+00:00 - Exit code 3 is not normal. Killing image.
So pip install --upgrade azureml-sdk[notebooks,automl] --ignore-installed PyYAML needs to be added as requirement to the docker build set.

Included ruamel & ruamel.yaml as CondaDependencies  while creating the docker image like below:
This specifies the dependencies to include in the environment
from azureml.core.conda_dependencies import CondaDependencies
myenv = CondaDependencies.create(conda_packages=['pandas', 'scikit-learn', 'numpy','ruamel','ruamel.yaml'])
with open("myenv.yml","w") as f:
f.write(myenv.serialize_to_string())
This fixed the issue for me with deploying the ACI web service with the created image.


Enable plugin_test_linux

Enables the new end-to-end Linux desktop plugin tests.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

@godofredoc do you have any pointers on the
[plugin_test_linux] [STDOUT] stderr: [        ]     error: downloading 'https://github.com/google/googletest/archive/release-1.11.0.zip' failed
[plugin_test_linux] [STDOUT] stderr: [        ]          status_code: 1
[plugin_test_linux] [STDOUT] stderr: [        ]          status_string: "Unsupported protocol"
[plugin_test_linux] [STDOUT] stderr: [        ]          log:
[plugin_test_linux] [STDOUT] stderr: [        ]          --- LOG BEGIN ---
[plugin_test_linux] [STDOUT] stderr: [        ]          Protocol "https" not supported or disabled in libcurl

error here? Do I just need to add the curl dependency in .ci.yaml for this task that I see in some other tasks?

@godofredoc Ping on the question above; is a config change all that's needed to make curl work?

@godofredoc It's still failing with the same error, unfortunately: https://ci.chromium.org/ui/p/flutter/builders/try/Linux plugin_test_linux/2/overview
Any idea how we can make this work? I haven't seen a failure like this outside of LUCI.

@keyonghan FYI

Will take a look after a P0 issue.

I can verify that the curl package is installed correctly. Tried curling the referenced url directly as a separate step, it works. See step 8.
https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/4d04910bc7cde441d0cb17572fd7ffe0a52eff4755ef68cc86c90eac33598208/+/build.proto?server=chromium-swarm.appspot.com
@stuartmorgan Do you know how the curl command is executed from the test? By searching around, the Unsupported protocol error happens when things like inappropriate quotes exist.

It's run by CMake as part of the build; see https://github.com/flutter/flutter/blob/master/packages/flutter_tools/templates/plugin/linux.tmpl/CMakeLists.txt.tmpl#L65-L69
Looking around a bit more online now that I know it's only happening with CMake, I found some discussion suggesting that it may have to do with how the installed version of CMake was build and what libcurl it links to. Is this a version we built ourselves?

We are using the cmake package maintained by chromium team. Seems the current version is super old. We should point to the 3pp one: https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/cmake/linux-amd64/+/M7y24vz-2AFPcsa2WqyEYipISw_SZVSmWMoZQQHsRw4C
Ran an led with latest version from 3pp, it passed the curl error, though the test still fails.
https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/4bf72876ffb69b24ff5c8b2d49227969d6bfaaab4a662b9e4af43bff7ccb8586/+/build.proto?server=chromium-swarm.appspot.com
I will land some quick fixes.

That's just a path mistake in the test code; I can update this PR to fix that tomorrow. Thanks for tracking down the curl problem!

cmake was bundle updated in https://github.com/flutter/flutter/pull/122147. A rebase should green the CI.

Thanks for all the help with resolving the blocker!


WSL Distro missing after updating to windows 11 preview

Windows Build Number
Microsoft Windows [Version 10.0.22000.51]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
?
Distro Version
Ubuntu latest (windows store without version number)
Other Software
No response
Repro Steps
Update to windows 11 preview??
Expected Behavior
I expect my wsl to be exactly like I left it
Actual Behavior
No distro's were available.
After starting docker for desktop, docker distro's were available. However the ubuntu distro is still gone.
I can still find the folder and vhdx for Ubuntu in %LocalAppData%
Diagnostic Logs
No response

What is the output of wsl.exe -l -v.

What is the output of wsl.exe -l -v.

Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore
I am having the same issue and I have not been able to resolve it.

What is the output of wsl.exe -l -v.

Before starting docker the output was as @tunsco2010 says. After starting docker the output is as follows:
PS C:\WINDOWS\system32> wsl -l -v
  NAME                   STATE           VERSION
* docker-desktop         Stopped         2
  docker-desktop-data    Stopped         2

So it looks like the docker distro's were also deleted and are recreated when I started docker for desktop.
The microsoft store does list Ubuntu as installed but I am hesitant to start Ubuntu through the windows store as I have read in another issue that this might cause a fresh install and thus data loss. Currently the vhdx still exists so I would prefer to avoid that.

Same issue, I ran ubuntu as from the store and it seems to have wiped itself.
wsl.exe -l -v shows both of my installations but both appear to be fresh installations.

@therealkenc anything I can do?

Probably it was deleted. Reinstall the distribution.

The vhdx is right there still..

I am not sure if this is a good idea but this is what I would do as workaround in that situation:

Move that vhdx to a different path in that same drive.
Re-install/re-register that same distribution in that same path.
Shutdown wsl.
Move the old vhdx to the new vhdx path.

@rouke-broersma do you know what Windows build you upgrade from to this version? That would help us determine what could be going on here.
As well, could you please collect feedback via Feedback Hub and post the link here? (Your repro steps can just be you starting up WSL).
As for an immediate work around, I would recommend copying the vhdx's that you have to somewhere where you can access them and then it is possible to mount them into WSL to copy off any key info.

@craigloewen-msft thank you, I actually did already check the vhdx and it includes all my files. I am currently trying to reinstall but I get this error:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070050
Error: 0x80070050 The file exists

I also can't delete the existing Ubuntu filesystem because it's locked by System even if I shutdown wsl with wsl --shutdown.
I upgraded from the latest Dev channel build available to me but I do not know which version that was. Can I find that anywhere?
I submitted the feeback hub item here: https://aka.ms/AAd4j4j

Filing the feedback hub item will help us check if we can see what build you upgraded from, so thanks for doing that!
As for getting you unblocked, I would recommend creating a copy of the VHD somewhere on your file system to make sure your files are safe.
 Running wsl --unregister <DistroName> will completely delete your distro and all of its contents. As well if the files still persist then uninstalling and reinstalling the store app should help remove them completely. From there you should be able to reinstall, mount your old VHD and retrieve your files.

I don't see the distro in wsl and I tried uninstalling from the store page but I couldn't find any way to do that. I'll try to uninstall through programs later, thank you for the suggestion.

@rouke-broersma thanks for the feedback item. I was able to confirm that your device upgraded from 21390. WSL keeps its distro registrations under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss, but during the upgrade, there was nothing found under this key for your user. So that's at least the cause of this behavior- but, I can't immediately tell why there was no data observed there originally.

Can I fix that?

Having the exact same issue here, just to be clear, @craigloewen-msft  your official recommendation is to back-up the .vhdx, then to --unregister, re-install and remount ?
Is there another more elegant solution ?
This is my version history :

@adrastogi based on your hints with the registry keys I recreated the registry items (by guessing) for my distro and it gets recognized by wsl and windows terminal now!

It's complaining that the vhdx is in use though. Which is also why I cannot delete or reinstall this distro, as the filesystem is in use by 'System'.

I recreated the registry like this:

It's complaining that the vhdx is in use though.

Run wsl --shutdown or wsl --terminate <Distro> to release that file usage.

@Biswa96 it was still in use by System even after shutdown of wsl. I said that somewhere above.
What I did do was: Mark vhdx as read-only and restart system. On restart unmark as read-only and voila! I am now in my wsl distro!
It's a bit broken though...
I login straight to root instead of to my configured user and I get this message:
An error occurred mounting one of your file systems. Please run 'dmesg' for more details.
Running dmesg gives me these errors:
[   30.541974] 9pnet_virtio: no channels available for device drvfs
[   32.337053] 9pnet_virtio: no channels available for device drvfsa

I can however switch to my normal user so I think something is not entirely correct in my registry settings. Probably need to set some default user in there.

Just to reiterate on this thread, please be careful accessing and modify files in AppData or in the registry. Modifying these files can lead to data loss or putting your WSL into a bad state!
I will also reiterate our official guidance here if you find yourself in a state where you still have a VHD in the AppData folder but it isn't being recognized:

Copy your VHD file to a safe place on your OS

This will save your files and conserve your data that's inside of your WSL distro

Remove the VHD file and uninstall your WSL distros using wsl --unregister and uninstalling the WSL distro applications

Warning make sure your files are backed up by following the tests above, using the --unregister command *will delete all of your files and data inside of the WSL distro

Now that you are in a clean state, install a WSL distro and ensure that it works
Use wsl --mount to mount the saved VHD into WSL and retrieve your files

This approach minimizes the amount of 'surgery' you have to do here, such as swapping out live VHDs, or changing registry values.

In case someone has the same issue, I ended-up rolling back to windows 10, and redid the update to 11 some days after, and it worked this time (no WSL issue whatsoever).

@rouke-broersma and @Hebilicious  When did you install the WSL2 before you download and install Windows 11 update, hours or days?
one suspicious is that Windows update was happening in the backend, and you were installing WSL distro at the that time too. Those data is lost if the distro is created after windows update migrated the reg keys.

@licanhua months before

Thanks to confirm that.

I also have the same problem.
C:\WINDOWS\system32>wsl -l -v
Windows Subsystem for Linux has no installed distributions.

Here is my feedback: https://aka.ms/AAevw7q
It's a brand new laptop, which updated to Windows 11 after activation. It's fresh system, and the only command that I run was wsl --install. App store shows Ubuntu is installed, but it cannot be launched:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070050
Error: 0x80070050 The file exists.

Press any key to continue...

I had the same issue on Windows 11.
Steps that helped me fix the issue:

Restart the LxssManager Service (Windows + R => Services.msc => LxssManager => restart)
Go to "Add or remove programs" and uninstall the Linux distribution you have issues with.
Follow the manual steps here

bash seems to work

I'm having the same issue in Windows Terminal:
WslRegisterDistribution failed with error: 0x80070050
Error: 0x80070050 The file exists.
I notice that I can get to the instance by running Powershell, then
wsl -d
So this seems to be a windows terminal issue

Here's what I did to to get rid of this error.

I downloaded WinDirStat to see where the ext4 was stored, for me it was in  C:\Users\{USERNAME}\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgsc\LocalState. I looked at what folder had the highest storage size usage.
I saved that file in an external hard drive
I removed WSL from "Add or remove programs"
I reinstalled in again by typing wsl --install -d Ubuntu-20.04
I shutdown wsl after seeing that wsl is working by typing wsl --shutdown
I moved the backup ext4 back to the original folder


A single * matches files in sub directories

> minimatch("a\\b", "*")
false
> minimatch("a", "*")
true

But this library produces true in both cases.

Currently this is the intended behavior. If you use an expression that does not include a path separator then it is assumed that you only want to verify against the file name.
See: https://github.com/kthompson/glob/blob/master/src/Glob/Glob.cs#L49
This would probably be something that would be nice as an option.

The intention is to include just the top level files, are there any other syntax that could achieve that?

To match any file in any folder you would want to use a pattern like **/*. Using any pattern without multiple directory segments would match only on the filename. Ie *.ba? would only match on file name and not on the full path of file. But something like **/*.ba? would match in any folder for a file with that pattern.
Let me know if that doesn't make sense

So if I had a file structure like this:
a
b
c
folder1/d
folder2/e

a, b, c d, e are files, folder1 and folder2 are folders

and I would like to match just files at the top level: a, b, c but not d and e. I thought * could achieve that but it seems * matches all the files (a, b, c, d, e). I guess my question is:

Is there a glob that let me match just a, b, c?
minimatch matches just a, b, c with * in this case, does it make sense to you that we could have an option that toggles https://github.com/kthompson/glob/blob/master/src/Glob/Glob.cs#L49

I don't think there is a way to only match a/b/c in this case. Let me look into adding an option.

I just pushed a new version with the requested option GlobOptions.MatchFullPath in version 1.1.0 Let me know if that works for you.

Thank you Kevin, works like a charm 👍 👍 👍

@kthompson , there is a bug with how flags are handled and it is causing our tests failing on linux.
To make enum flags work correctly, you need to manually assign a value of power of 2 like described here.

Ah yea... Let me push a new build.

Ok new build has been pushed as 1.1.1 you can review changes here: https://github.com/kthompson/glob/compare/1.1.0...1.1.1

Problem fixed. Thank you for the swift response, as always 👍


Ability to open yuzu without first checking and updating

Title says it. I had to rummage through AppData to find the downloaded yuzu.exe and manually create a shortcut. It could somehow be made easier if updater prompts before downloading or something along those lines.

I'm looking into that.

Implementing in #21


Update bazel-gazelle (to allow + in repo names) (for bazel 8)

This is required for bazel 8 compatibility.
Currently hitting failed to parse cquery result: label parse error: repository has invalid characters: "@@rules_python++python+python_3_11_x86_64-unknown-linux-gnu//:python_runtimes".
This should be fixed by https://github.com/bazel-contrib/bazel-gazelle/pull/1856.

Thanks for the contribution! I agree with the goal, but unfortunately the update seems to be failing on CI... I pushed a couple of commits trying to fix things, but no joy! If you can get things green, I'm happy to merge!

Tests are passing now @illicitonion. It took some time to debug a strange regression (I think) caused by https://github.com/bazel-contrib/bazel-gazelle/pull/1911 (mainly in vendor/github.com/bazelbuild/buildtools/labels/labels.go).
I know the work-around isn't the cleanest but it's all that I have time to do right now.


Node 21 support

Any reason not to support Node v21?
Currently I'm getting the error:
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm<EMAIL_ADDRESS>npm ERR! notsup Not compatible with your version of node/npm<EMAIL_ADDRESS>npm ERR! notsup Required: {"node":"^16.17.0 || ^18.3.0 || ^20.0.0"}
npm ERR! notsup Actual:   {"npm":"10.2.3","node":"v21.2.0"}

Hi @et1975 the typespec-validation is a tool for the spec repo which is there and is not part of this repo, can you refile the issue in the correct repo https://github.com/Azure/azure-rest-api-specs/blob/main/eng/tools/typespec-validation/package.json
Typespec packages themself do not have this restriction they are only specifying >=18.0.0


Address #165: "npm run twill-build fails on clean installation"

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.5 out of 6 committers have signed the CLA.:white_check_mark: mrdoinel:white_check_mark: yanhao-li:white_check_mark: frixxx:white_check_mark: ifox:white_check_mark: laurensvanheems:x: heisianYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi @heisian thanks a lot for contributing!
Check out our 1.2.1 release that includes a fix and some proposition for the same issue.
For next time, you should most likely be submitting your PR to the 1.2 branch (or current stable at the time of reading this) instead of the master branch, unless it is a breaking change for 1.3. You can read more about it in our contribution guidelines.


fix asset hash with its own

Looks good to me!

I’ll push a release tomorrow.

This has been published in v2.2.5!


It didnt work - visual studio 2019

Hello, I have downloaded the project tried to run on Visual Studio 2019, but it didn't work.

You need SQL Server installed

Ok, Tks.


FLAME EMOJI

Song Name
FLAME EMOJI!
Artist Name
JPEGMAFIA
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=VnK5aBXhmfk
Direct File Link
No response
Song ID
1340151
Start Offset [ms]
No response
Extra
No response

reject
unrelated nong


Adding FAQs for Sub-pages

Adds FAQs for Sub-pages
Changes

Added  _includes/macros/faqs.html' to generate FAQ markup.
Updated  'src/static/css/pages/sub-pages.less' to add style for FAQs.
Updated  'sub-pages/_single.html'  to add logic to include FAQs.

Test

Visit 'http://localhost:7000/sub-pages/frequently-asked-questions/'

Screenshots

Review
@jimmynotjim
@anselmbradford
@KimberlyMunoz
@kurtw

Looks great to me :+1:
One thing though, the answer to "When should I reach out to the Ombudsman?" has different formatting than the rest of the text. I don't know if that's something intended for the scope of this PR.

It doesn't quite match what we have in Capital Framework. Can the title be in the format below and remove the spacing between questions.

Ok, will make that change Kim.

I sent over an email to @sarahsimpson09 on that "When should I reach out to the Ombudsman?" issue that Kurt brought up. It's out of scope for this PR.

I re-entered the text on Content and re-RAMPed the page. There seemed to be some funky formatting that was copied with it, but it looks like that's removed now. Hopefully that took care of it!

I've refactored the macro to be a general purpose expandable macro. Let me know if this is what you expected @duelj @KimberlyMunoz

LGTM :+1:


Make CSV reading work in Python 3

See:
http://stackoverflow.com/a/5181085/1209004

Done: https://github.com/KBNLresearch/omSipCreator/commit/fb1bf242e46c9782efa862e7ce6ec609fe4c733b


OSX processes fail to shut down on close

In both dev and packaged builds, closing the macOS application window kills the Host process but leaves the inner application process running as a high-cpu-consuming zombie that needs to be manually killed via the Activity Monitor.

This can happen if you use invisible windows (for background processes) and don't close them out or an error occurs before they close. I was experiencing the same thing on Windows until I added a try-catch-finally where the finally called the close all windows method.
Might try that and see if it helps.

@yoDon do you try out the newest version of API and CLI (0.0.9)?

Two things: 1) I am still seeing this issue on Mac OSX for sure. Electron window will close, but background process remains relentlessly. And 2) I do not see a CloseAllWindows method anywhere - is there one? I have confirmed in the WillQuit event that there is only 1 window in my application, yet when closed, background process remains.
Additionally, the .Quit() function says "It is possible that a window cancels the quitting by returning false in the beforeunload event handler." however, there is no BeforeUnload event handler on Electron.App. Is there supposed to be?


5.7.16: Unresolvable dependency

Laravel Version: 5.7.16
PHP Version: 7.2

Description:
I have a project that produces this error after upgrading to 5.7.16 with composer update:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover

In Container.php line 960:

  Unresolvable dependency resolving [Parameter #0 [ <required> $app ]] in class Illuminate\Support\Manager

Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

When i downgrade to 5.7.15 everything works. What could that be?
It seems to be only that project. Others work on 5.7.16.

Can you first please try one of the following support channels? If you can actually identify this as a bug, feel free to report back.

Laracasts Forums
Laravel.io Forums
Discord
Larachat
IRC
StackOverflow

I have the same problem with one of my projects...

I just managed to update a project this way. This is probably related to something specific for your project. Perhaps an external package you use?

Found the problem:
I was missing Illuminate\Notifications\NotificationServiceProvider::class, in my app.php config file. Problaby because this project is quite old and in earlier versions this provider was not required there.
I think changes to standard config files should be documented in the changelog.

@m-lotze it was: https://laravel.com/docs/5.3/upgrade

Yep, saw that now. Edited my comment.

Changes to laravel/laravel between versions, are documented in the upgrade guides.

@m-lotze awesome! that fixed it for me!

This may be common knowledge but just in case someone runs into the same issue I had, you may need to delete your cached config after updating in app/bootstrap/cache/config.php as artisan broke when I didn't previously have the NotificationServiceProvider in my config/app.php.

I had to delete my bootstrap/cache/* files to get past this error

Happened to me as well. Worked just fine for everyone on the team, but one member came across this issue. In the end we blamed the local git repository being corrupted.
We set up (cloned) the repo from scratch and then it was working just fine.
Just something to try for anyone to whom other solutions didn't work.

Can you first please try one of the following support channels? If you can actually identify this as a bug, feel free to report back.

Laracasts Forums
Laravel.io Forums
Discord
Larachat
IRC
StackOverflow

dalal admi agar batana hai to batao nahi to warna chup raho

I had the exact same issue:
Unresolvable dependency resolving [Parameter #0 [ <required> $app ]] in class Illuminate\Support\Manager

I solved it just by changing the method prototype from this:
public function __construct($app)
{
    $this->app = $app;
}

to this:
public function __construct(\Illuminate\Foundation\Application $app)
{
    $this->app = $app;
}

But in fact the origin was that I was missing the following provider:
Illuminate\Notifications\NotificationServiceProvider::class

What remains mysterious to me is why my kludge was perfectly working and why do I need the NotificationServiceProvider if I am not using it?

This is the perfect solution for this problems thanks for resolving it means a lot


Question: Merkle-Trees

Hello,
just came across your github while trying to implement a merkle-tree and hope you can help me get on the right track.
here is the tree how it SHOULD look like
                                                                       ROOT
                                                F                                                  F
                                   F                         F                       71                        F
                         13             80         54       38            99       27           65    87

i have no idea how the get the 71 from the 99 and the 27.
i need to calculate the root only from this nowing decimals. i believe the final thing is a SHA256 hash, but i'm not pretty sure.
so whats next, i'm  trying to build an implemention (based on yours) with the following features:

set the level of deep for the tree, for my example its 4 levels, with same number of leaves of each site (no uplifting)

select the hashing (MD5, SHA1, SHA256, whatever)

input the base data (for me its 13,80 for the first, 54,48 for the second, 99,27 for the third, 65,87 for the last.

calculate the tree

if you have any snippets for that it would help me really.
thanks in advance
hheileeeee

Hi.
If you are looking for general info about Merkle trees and how they are constructed I might recommend:

https://en.wikipedia.org/wiki/Merkle_tree
http://www.emsec.rub.de/media/crypto/attachments/files/2011/04/becker_1.pdf
https://brilliant.org/wiki/merkle-tree/

And of course our own merkle-tools implementation in Javascript might help.
https://github.com/tierion/merkle-tools
Thanks for reaching out and I hope you find those links helpful. I will close this as there doesn't seem to be a question or issue with this implementation.


Bug: When a Word Has a Hyphen in It the Second Word is not Capitalized when Capitalize Each Word is Used

Describe the Bug
When a compound word like "Floating-point" is in a header it does not capitalize point when it is set to capitalize each word in the header.
How to Reproduce
Run Linter on
# Floating-point Types

Expected Behavior
Expected output if applicable:
# Floating-Point Types

Device

[ ] Desktop
[ ] Mobile

Additional Context
This was reported by @pinto on Obsidian discord channel.

This is not a bug. This is actually a feature request since there is no set standard on this. You can choose to capitalize any word after the hyphen or leave it as is.
See https://english.stackexchange.com/questions/460/do-you-capitalize-both-parts-of-a-hyphenated-word-in-a-title


Migrating Extending Health Check docs

Details

Migrated from https://our.umbraco.com/documentation/Extending/Health-Check/ article
Added Data Integrity category under Built-in checks section
Excluded Built-in checks that were webconfig and framework specific things
Applied the alphabetical order of the bullet points in Live environment - this is also the order used in the backoffice
Uppercased some of the names, so they reflect their representation in the backoffice
Updated links for github to point to the netcore branch
Updated code examples to reflect netcore changes

Note:

Category Data Integrity is missing in the v8 article - it was added in the netcore version
In Configuring and scheduling checks section, there is a link that should be fixed later

as well as add a link for Configure SMTP settings

v8 code example for General checks needs to be updated as shown in the (first) comment below
in v8 there is a little repetition in sentence: "Again, for further details on implementing this on this please refer the existing notification methods within the core code base."
in v8, section Custom health check notifications needs a sentence fix to reflect the new changes in the implementation:
"Each notification method needs to implement the core interface IHealthCheckNotificationMethod and, for ease of creation, can inherit from the base class NotificationMethodBase, which itself implements the IHealthCheckNotificationMethod interface. "

and the code example should be update as shown in the (second) comment below.

Fixed code example for v8 version of the article - General checks section:
using System;
using System.Collections.Generic;
using System.IO;
using System.Web;
using System.Web.Hosting;
using Umbraco.Core.Composing;
using Umbraco.Core.Services;
using Umbraco.Web.HealthCheck;

namespace Umbraco.Web.HealthCheck.Checks.SEO
{
    [HealthCheck("3A482719-3D90-4BC1-B9F8-910CD9CF5B32", "Robots.txt",
    Description = "Create a robots.txt file to block access to system folders.",
    Group = "SEO")]
    public class RobotsTxt : HealthCheck.HealthCheck
    {
        private readonly ILocalizedTextService _textService;

        public RobotsTxt(ILocalizedTextService textService)
        {
            _textService = textService;
        }

        public override IEnumerable<HealthCheckStatus> GetStatus()
        {
            return new[] { CheckForRobotsTxtFile() };
        }

        public override HealthCheckStatus ExecuteAction(HealthCheckAction action)
        {
            switch (action.Alias)
            {
                case "addDefaultRobotsTxtFile":
                    return AddDefaultRobotsTxtFile();
                default:
                    throw new ArgumentOutOfRangeException();
            }
        }

        private HealthCheckStatus CheckForRobotsTxtFile()
        {
            var success = File.Exists(HttpContext.Current.Server.MapPath("~/robots.txt"));
            var message = success
                ? _textService.Localize("healthcheck/seoRobotsCheckSuccess")
                : _textService.Localize("healthcheck/seoRobotsCheckFailed");

            var actions = new List<HealthCheckAction>();

            if (success == false)
                actions.Add(new HealthCheckAction("addDefaultRobotsTxtFile", Id)
                // Override the "Rectify" button name and describe what this action will do
                {
                    Name = _textService.Localize("healthcheck/seoRobotsRectifyButtonName"),
                    Description = _textService.Localize("healthcheck/seoRobotsRectifyDescription")
                });

            return
                new HealthCheckStatus(message)
                {
                    ResultType = success ? StatusResultType.Success : StatusResultType.Error,
                    Actions = actions
                };
        }

        private HealthCheckStatus AddDefaultRobotsTxtFile()
        {
            var success = false;
            var message = string.Empty;
            const string content = @"# robots.txt for Umbraco
User-agent: *
Disallow: /umbraco/";

            try
            {
                File.WriteAllText(HostingEnvironment.MapPath("~/robots.txt"), content);
                success = true;
            }
            catch (Exception exception)
            {
                Current.Logger.Error(typeof(RobotsTxt), exception, "Could not write robots.txt to the root of the site");
            }

            return
                new HealthCheckStatus(message)
                {
                    ResultType = success ? StatusResultType.Success : StatusResultType.Error,
                    Actions = new List<HealthCheckAction>()
                };
        }
    }
}

Another fixed code example for v8 version of the article - Custom health check notifications section: /cc @sofietoft
using System;
using System.Net.Mail;
using System.Threading;
using System.Threading.Tasks;
using Umbraco.Core;
using Umbraco.Core.Composing;
using Umbraco.Core.Logging;
using Umbraco.Core.Services;

namespace Umbraco.Web.HealthCheck.NotificationMethods
{
    [HealthCheckNotificationMethod("email")]
    public class EmailNotificationMethod : NotificationMethodBase
    {
        private readonly ILocalizedTextService _textService;
        private readonly IRuntimeState _runtimeState;
        private readonly ILogger _logger;

        public EmailNotificationMethod(ILocalizedTextService textService, IRuntimeState runtimeState, ILogger logger)
        {
            var recipientEmail = Settings?["recipientEmail"]?.Value;
            if (string.IsNullOrWhiteSpace(recipientEmail))
            {
                Enabled = false;
                return;
            }

            RecipientEmail = recipientEmail;

            _textService = textService ?? throw new ArgumentNullException(nameof(textService));
            _runtimeState = runtimeState;
            _logger = logger;
        }

        public string RecipientEmail { get; }

        public override async Task SendAsync(HealthCheckResults results, CancellationToken token)
        {
            if (ShouldSend(results) == false)
            {
                return;
            }

            if (string.IsNullOrEmpty(RecipientEmail))
            {
                return;
            }

            var message = _textService.Localize("healthcheck/scheduledHealthCheckEmailBody", new[]
            {
                DateTime.Now.ToShortDateString(),
                DateTime.Now.ToShortTimeString(),
                results.ResultsAsHtml(Verbosity)
            });

            // Include the umbraco Application URL host in the message subject so that
            // you can identify the site that these results are for.
            var host = _runtimeState.ApplicationUrl;

            var subject = _textService.Localize("healthcheck/scheduledHealthCheckEmailSubject", new[] { host.ToString() });

            var mailSender = new EmailSender();
            using (var mailMessage = CreateMailMessage(subject, message))
            {
                await mailSender.SendAsync(mailMessage);
            }
        }

        private MailMessage CreateMailMessage(string subject, string message)
        {
            var to = Current.Configs.Settings().Content.NotificationEmailAddress;

            if (string.IsNullOrWhiteSpace(subject))
                subject = "Umbraco Health Check Status";

            return new MailMessage(to, RecipientEmail, subject, message)
            {
                IsBodyHtml = message.IsNullOrWhiteSpace() == false && message.Contains("<") && message.Contains("</")
            };
        }
    }
}

Thanks for updating and adding this @elit0451 !
I'll make sure that the v8 version of the article is updated based on your comments here.
And, that this PR gets reviewed as soon as possible!

Oh! And how about adding a link to these guides on the healthchecks, that Bjarke already made: https://github.com/umbraco/UmbracoCMSDocs/tree/main/Articles/HealthChecks/Guides
Not sure it it makes sense - what do you think? 🤔


Newest Update broke our pipelines

Since dependabot updated change-case to newest version, we get the following error in the pipeline:
$ npx cdk synth
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /home/runner/work/node_modules/change-case/package.json
at new NodeError (node:internal/errors:405:5)
at exportsNotFound (node:internal/modules/esm/resolve:362:10)
at packageExportsResolve (node:internal/modules/esm/resolve:642:13)
at resolveExports (node:internal/modules/cjs/loader:567:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:636:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/home/runner/work/shoen_eks_platform/shoen_eks_platform/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
at Function.Module._load (node:internal/modules/cjs/loader:922:27)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
Subprocess exited with error 1

Duplicate: https://github.com/blakeembrey/change-case/issues/311


error on login: SES_UNHANDLED_REJECTION: TypeError: relays[url] is undefined

SES_UNHANDLED_REJECTION: TypeError: relays[url] is undefined

		console.log('nostr login');

		const nip07signer = new NDKNip07Signer();
		const ndk = new NDK({
			signer: nip07signer,
			explicitRelayUrls: ['wss://relay.damus.io', 'wss://relay.nostr.band']
		});

		await ndk.connect();

    const user = await nip07signer.user();
    console.log('user:', user);
		const user2 = ndk.getUser({
			npub: user.npub,
		});
    console.log('user2:', user2);
		const profile = await user.fetchProfile();
    console.log('profile:',profile);

using getalby to connect

this is fixed but the version on npm is still broken @erskingardner can we cut a new release soon? I'm blocked.

@ralyodio I pinged @pablof7z about cutting a new version. I think he's going to do it shortly.

It already went out 😅


make a button on the right navbar

Hey,
Well I tried to make the hamburger icon on the right navbar but when i add:
renderLeftButton={NavItems.hamburgerButton} renderRightButton={NavItems.hamburgerButton}
I get the hamburger below it and not on the right side.

hey @Talkwondo if you want to add icon on the right hand side of navbar you have to edit App/Navigation/NavButton.js and add this code in my case i am adding search icon
searchButton (onPressFunction) {
    return (
        <TouchableOpacity onPress={onPressFunction}>
          <Icon name='md-search'
            size={Metrics.icons.medium}
            color={Colors.snow}
            style={styles.navButtonRight}
            />
        </TouchableOpacity>
    )
  },

and edit NavigationBarRouteMapper.js
CreateButton (buttonId, navigator) {
    switch (buttonId) {
      .......
      case 'SEARCH':
        return NavButtons.searchButton(navigator.state.tapSearch)
      case 'CLOSE':
        return NavButtons.crossButton(this.crossButton.bind(this, navigator))
      default:
        return (<Text>Needs Button</Text>)
    }
  },

add some styles in App/Navigation/Styles/NavigationStyles.js so that it gets aligned on right side
navButtonRight: {
    margin: Metrics.baseMargin,
    alignSelf: 'flex-end'
  },

hope i answered your question any doubts are welcome.

Hello,
Thank you very much for your help.
I don't have you file names as you have..  also if you can help me with another issue. I want the action of opening the camera for a QR code identifier. can you help me with that?
Thanks,

Check this out: https://github.com/moaazsidat/react-native-qrcode-scanner
You can look for other plugins here https://js.coach/all/react-native-qrcode-scanner?search=qr code


Add Middleware to verify Slack tokens.

I created a config file where all tokens can be pulled from env files and merged the config file in the service provider.
I also created a method to register the middleware from in the service provider.
And last but not least a middleware class to verify the slack tokens.
This middleware is used to make sure that the calls to your application are coming from the correct Slack team and or command.
If you want me to add some additions or if something is not valid please let me know and I will update the code.
Note: I used the skeleton namespace for the moment so make sure to change this one, once you have chosen the final package name.

Hi Joren,
thank you for this. Probably I'm going to merge this in, but it is useful example code that 'll help me go forward. 👍

Hi Freek,
Glad I could help. I will watch the repo and I hope I can make some helpful PR's in the future. It's a package I will definitely use. And since I have lots of relevant code over here it would be a waste not sharing it.


feat: update listed email in footer

Changes
Fixes issue of new Hack email.
Type of change

[X] Content Update (non-breaking change which updates the content of the website)

Related Issues
#390

It looks like the old acm email is in some other places too

FAQ section
code-of-conduct.md

Can you please update the email there too? Thanks!


Python program to find the gcd of two numbers

💥 Proposal
(A clear and concise description of what the proposal is.)
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)

Proposal
GCD of two numbers is the largest number that can divide both numbers. In python, I can find the GCD of two numbers using recursion.
Have you read the Contributing Guidelines on Pull Requests?
Yes

Proposal
GCD of two numbers is the largest number that can divide both numbers. In python, I can find the GCD of two numbers using recursion.
Have you read the Contributing Guidelines on Pull Requests?
Yes

I would like to work on this issue in python under DWoC . Kindly assign this to me.

I would like to work on this issue in python under DWoC . Kindly assign this to me.

May I implement the same in Java?

May I implement the same in Java?

Can I contribute??

Can I contribute??

I am DWOC Participant. I would like to work on this issue. Please assign it to me

I am DWOC Participant. I would like to work on this issue. Please assign it to me

@HarshCasper Could you please add a level tag to this issue under DWoC

@HarshCasper Could you please add a level tag to this issue under DWoC

Hey! May I implement this in javascript?

@HarshCasper  Please add the dwoc and level tag to this

I am GSSoC'21 Participant. I would like to work on this issue. Please assign it to me. I will solve it in python


Feature/delivery alerts

What's new

[x]  delivery_alerts backend
[x] frontend

Assumptions

When a delivery alert has tier error, there are no recover modes for that task, and this feature assumes it has been cancelled before emitting this alert.

How it looks like
Pardon the long video, here it displays triggering the delivery alerts using the API server,

warning on a task
error on the same task, overwrites the warning (warning disappears)
refreshing the dashboard still retrieves the current unresolved delivery alert
closing an error delivery alert is considered resolving it (won't show up anymore)
different action buttons to change the action field, before the alert is allowed to be closed

https://github.com/open-rmf/rmf-web/assets/5383623/228b9fbe-c9ce-466e-9daf-861e0a260417
Self-checks

[ ] I have prototyped this new feature (if necessary) on Figma
[ ] I'm familiar with and follow this Typescript guideline
[ ] I added unit-tests for new components
[ ] I tried testing edge cases
[ ] I tested the behavior of the components that interact with the backend, with an e2e test

Thanks for the review @Angatupyry! I've further simplified the implementation, https://github.com/open-rmf/rmf-web/pull/768/commits/b082bdfc4792d06faa629806cda9fb82791b4ae1, as we are generating delivery alert IDs using timestamps, we can find out which ones are the newest.
This resolves a bug that I found, where newer warnings don't overwrite older warnings if they are not resolved.

Some comments/questions after testing onsite:

Should Cancel delivery remain as an option? It is currently blacked out

There shouldn't be an Override option for Missing carts.

Probably not related to this PR, but once I've selected System Overview, I can't select other tabs anymore

@xiyuoh per DM, since updating action and cancelling task is in the same try except scope, the action is not updated if the task cancellation fails, while the button still becomes disabled. Disabling the button should come from feedback on whether the action has been updated instead.

Merging this to keep the diff small, will apply fixes if needed afterwards.


How do I use a different Python version for my custom promptflow runtime on AML?

I am trying to build a environment on AML and want to use different python version for this custom runtime. Is there a way I can customize promptflow runtime image to use a different python version from the Dockerfile or via any other method?

Please follow the steps below:

Build your own image following this doc: https://pypi.org/project/promptflow-python-bundle/
Specify the image in flow.dag.yaml:
···
environment：
image:
···
Add "flight=PFMultiContainer" in the url. For example:
https://ml.azure.com/prompts/flow/bb99fa90-4815-4dcb-b9bd-ece6974528be/1db17e33-b6a6-42d1-a092-fb81a4c5a6bd/details?wsid=/subscriptions/96aede12-2f73-41cb-b983-6d11a904839b/resourcegroups/dacai-daily-eastus/providers/Microsoft.MachineLearningServices/workspaces/dacai-daily-ws**&flight=PFMultiContainer**&tid=72f988bf-86f1-41af-91ab-2d7cd011db47
Start session.

Thank you! @Bowen-Guo
I am able to build the env in AML but, It isn't working when I start the compute session with error being "container not ready in time".
When I debugged, I found that process inside the container says "temporary node failure".
I also want to understand what role flight=PFMultiContainer plays. Could you link back to any official doc?

@Bowen-Guo : this works for us in the  Web UI. However, when triggering runs with the Python SDK, we see below error again. Do we have to apply flight=PFMuliContainer through the SDK as well and if yes, how to do so ? Thanks!
(Run status is 'NotStarted', continue streaming...)
(Run status is 'NotStarted', continue streaming...)
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/vsts/work/1/s/llmops/common/prompt_pipeline.py", line 427, in <module>
    main()
  File "/home/vsts/work/1/s/llmops/common/prompt_pipeline.py", line 414, in main
    prepare_and_execute(
  File "/home/vsts/work/1/s/llmops/common/prompt_pipeline.py", line 271, in prepare_and_execute
    pf.runs.stream(base_run)
  File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/promptflow/_sdk/_telemetry/activity.py", line 265, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/promptflow/azure/operations/_run_operations.py", line 693, in stream
    raise InvalidRunStatusError(error_message)
promptflow._sdk._errors.InvalidRunStatusError: Failed to submit bulk run due to Automatic runtime is not ready in a fixed timespan, error: Container not started

Hi @berndku , yes you can set environment variable PF_ENABLE_MULTI_CONTAINER="true" before submitting bulk run.

Hi @sparse-coder, we are currently in the process of onboarding a new internal feature: multi-container runtime. To put it in a nutshell, the automatic runtime will have multiple docker containers, instead of a single container. This feature can help customer easily use their own images.
This is an ongoing feature and has not been fully on line. So there is no official doc yet.
Set flight "flight=PFMultiContainer" in the uri will enable this feature in the backend.

This solution gives me the following error: Session status messages: Automatic runtime is not ready in a fixed timespan, error: Container not started


Fix URI parser

The default URI parser on ruby 2.2 conforms rfc3986
ref https://github.com/rack/rack/commit/f467f1b8c21127473b9e6277608d06f9e81e101e

@namusyaka I am currently working on implementing pending PRs and issues.
Could you please tell me the motivation for this change?

@junaruga @perlun I gave this PR a look and after the first intuition that it looks like a reasonable change, I really wonder how much we should really do in env_for. We are calling Rack::MockRequest.env_for at the end anyway. IMO we should try to reduce our version to the minimum and then call env_for from rack. This way we no longer have to stay in sync and rack mock-request can do the hard work for us.
What do you think?

@scepticulous Makes sense. You can close this PR if you like.


OTP form issues

I have identified three issues with the OTP form:

The number of tries is incorrectly displayed as "{0}" in case user submits incorrect code.
User can submit an incorrect code more times than the specified value set for "Max Retries".
The label "<< Back to Login" should be revised to something like "Resend Email", as it triggers the email resend action instead of restarting the login process (like pressing on the icon "Restart login" above on the right side of user's email).

Tested with Keycloak versions 22.0.5 and 24.0.3 with the following "Authentication steps".

@kotnikd3 thanks for the report and documentation!
Happy to review a PR if you want to send it my way. Otherwise, you'll probably have to sit tight for a bit.
I think the UI I'd like to see would be a "Resend Code" in addition to a more obvious "Restart Login" button. Both of those should probably appear below the submit button and be plain hyperlinks or something.

@jspizziri Can  give me permissions to create a PR in your repository or should I fork it?

@kotnikd3 , please fork and submit a PR from your fork.

@jspizziri Done in https://github.com/5-stones/keycloak-email-otp/pull/7


Package.swift: bump swift-tools-version to 5.5

This allows us to use executableTarget for tibs, which may help resolve issues when building IndexStoreDB with SourceKit-LSP, as the latter also needs swift-tools-version to be updated to 5.5. None of the CI nodes seem to be running anything older than Swift 5.5 for a long time already.

@swift-ci test


Use CRT library to map handles to fds

Resolves: #287
Resolves: #523
Resolves: #514
Signed-off-by: Alan Jowett<EMAIL_ADDRESS>

What about EBPF_OPERATION_CLOSE_HANDLE and ebpf_api_close_handle ? Are they not needed either?

What about EBPF_OPERATION_CLOSE_HANDLE and ebpf_api_close_handle ? Are they not needed either?

Those are tracked by existing issue #383.


Feature/simple filter

What
Hard coded html structure for the filter list. Includes meta data element.
There is a related pull request for the changes made to the sixteens repo - https://github.com/ONSdigital/sixteens/pull/32
How to review

To view you need to pull the corresponding "feature/simple-filter" branch from sixteens repo.

View the template in browser via - http://localhost:20001/datasets/1/editions/2/versions/3

Click the start button to view the filter list.

Click the meta data element and it reveals hidden content.

Click the select/deselect elements. Checkboxes should check/uncheck.

Click checkboxes individually.

Check against design/alpha.

Test mobile for layout.

Cross browser test for layout functionality.

Accessibility test.

Who can review
Front end, UX

Looks good, only a few minor things:

I think the 'de/select all' toolbar has the attribute id="checkboxes-0" that is a duplication of the checkboxes id.
When tabbing through the page the focus seems to disappear when going between the 'de/select all' toolbar and the checkboxes. I think it's perhaps going to the 'deselect all' even though it's not selectable - perhaps we can disable/aria-hide it if deselecting isn't available?
The 'de/select all' toolbar options are always stated as selected in a screen reader, even when they're not.

Looks good - just make sure you remove the reference to .DS_Store file in templates.go and also the .orig file needs to be removed completely

Should be ok now.


Fix doc links

Point the doc links in the README to the correct locations.

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


Crash on view table data

Description
Crash on clicking the data tab for any table. Select statements to the same tables work fine.

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007e09d955aee5, pid=762116, tid=762117
#
# JRE version: OpenJDK Runtime Environment (21.0.4+7) (build 21.0.4+7-Ubuntu-1ubuntu224.04)
# Java VM: OpenJDK 64-Bit Server VM (21.0.4+7-Ubuntu-1ubuntu224.04, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libgtk-3.so.0+0x35aee5]  gtk_widget_is_sensitive+0x25

DBeaver Version
Community Edition 24.2.1
Operating System
Linux Mint 22
Database and driver
Reproduced with two different MariaDB databases:
10.6.12-MariaDB-0ubuntu<IP_ADDRESS>
10.6.18-MariaDB-0ubuntu<IP_ADDRESS>
Reproduced with the following drivers:
MariaDB JDBC driver
MySQL com.mysql.cj.jdbc.Driver
Steps to reproduce
Connect to db, doubleclick to open any table, click the data tab. This causes a crash.
Additional context
Reproduced with and without SSH tunnel
Reproduced in OpenJDK Temurin-17.0.6+10 and build 21.0.4+7-Ubuntu-1ubuntu224.04

Please send us log files. You can collect them to archive automatically with Help->Collect Diagnostic Info

Unfortunately this output seems to contain information I cannot post in public. Is there something more specific I can provide from it?

Could you check if there are Java fatal logs? https://dbeaver.com/docs/dbeaver/Log-files/#java-fatal-logs

There is
hs_err_pid762116.log

Thank you

I could see my username on the system I was on, the servername I was connecting to, database name, name of connection and other things. Not all of it necessarily sensitive but made me unsure what else there could be and it was too much text to check through it all. For a production system you need to consider both security and legal perspectives of publishing info like this.

I see, thanks

Could you try export NO_AT_BRIDGE=1 before running DBeaver?
https://github.com/eclipse-platform/eclipse.platform.swt/issues/670#issuecomment-1561560684

The issue looks similar to #19709

I am now on <IP_ADDRESS>410061621
Tried export NO_AT_BRIDGE=1, did not make any difference.

Unfortunately I tried to reproduce it in Cinnamon, and I didn't get the mentioned error.

Also having the same issue.
My system specs are:
Kernel: 6.8.0-49-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0 clocksource: tsc
Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: LightDM v: 1.30.0
Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble
uname output:
Linux P50 6.8.0-49-generic #49-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov  4 02:06:24 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
java -version output:
openjdk version "21.0.4" 2024-07-16 LTS
OpenJDK Runtime Environment Zulu21.36+17-CA (build 21.0.4+7-LTS)
OpenJDK 64-Bit Server VM Zulu21.36+17-CA (build 21.0.4+7-LTS, mixed mode, sharing)
My error log:
hs_err_pid28914.log
Here is a video of what happens:
https://github.com/user-attachments/assets/38f65fd6-a1aa-4e66-bc05-14922304c2bf


Problems with version 1.0.0 and Brighter 7.3.15

I have a project where I was using
Paramore.Brighter.AspNetCore 1.0.0-RC2
Paramore.Brighter 7.1.5
After upgrading nuget packages to
Paramore.Brighter.AspNetCore 1.0.0
Paramore.Brighter 7.3.15
I am now having following error reported by AddBrighter extension method
System.IO.FileLoadException: Could not load file or assembly 'Paramore.Brighter, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I tried restoring packages several times, deleting obj and bin folders as well as trying to locate where version <IP_ADDRESS> could be referenced, but without success.
Any idea what could be causing this problem and how to solve it?

Looks like you'll need to do a BindingsRedirect  for Brighter

I'll push an update for this lib

Also, a brief explanation on BindingsRedirect would be welcome 😁

@DejanMilicic I've done the pull request which brings it up to the latest version. So you won't have dll hell, I thought dotnet core projects worked this out for you, seems it  doesn't :/

https://www.nuget.org/packages/Paramore.Brighter.AspNetCore/1.0.11

Thanks @dstockhammer!


Propose SIG-dynamic-languages

This SIG aims to help bring together stakeholders interested in running dynamic languages in Wasm.
I have individually received permission from each listed supporting member to be included in this proposal.
rendered

Posing the question, does it make sense to reframe the scope to be Guest Languages?
Although interpreted and dynamic languages have common struggles targeting Wasm, some of those same struggles (bindings, interfaces, etc) are also shared with other compiled languages. Also, sometimes the line between compiled and interpreted is blurred depending the approach taken to target Wasm.

The advantage in my eyes is that scoping to dynamic languages gives us a tighter focus and the shared foundational problems that are faced by specifically dynamic languages are clearer. Interest in dynamic languages is very high and I want to channel that through this group.
That said, the group could focus more broadly on guest languages. This would head off the need for a hypothetical compiled languages group and the question of where a given language should participate if it has some aspects of both.
What do other people think?

That said, the group could focus more broadly on guest languages. This would head off the need for a hypothetical compiled languages group and the question of where a given language should participate if it has some aspects of both.
What do other people think?

My concern is scope creep. If you want to redefine this for interpreted languages I think that still captures the original point of this SIG. But if your language is compiled, you simply have different concerns and tooling opportunities compared to an interpreted language. For instance, interfaces and bindings are going to be handled differently by languages that are static/compiled simply due to the fact that you can generate everything AOT and have it just work. Compare that to a dynamic/interpreted language where you don't know everything upfront and you end up with different issues. If we try to deal with everybody, then that's going to be a huge group where it's naturally going to split along dynamic/interpreted and static/compiled anyway.

Thanks Brett, I tend to agree that keeping the scope limited and focused is a good idea.
Does anyone else want to weigh in?
TSC?
@tschneidereit @ricochet @fitzgen

Thanks for the feedback @fitzgen and the rest of the TSC. I've revised the proposal clarifying the goals/deliverables of the group and explicitly incorporating these guidelines/rules for projects. Let me know if there are any other changes that need to be made.

Happy to announce that the TSC has accepted this proposed SIG! Thank you all.
On behalf of the TSC,
Nick Fitzgerald
@bytecodealliance/tsc

If you need a SIG-dynamic-languages repository, we can create one for you. Otherwise, if you are fine with just meeting minutes for the meantime, that is alright as well.

Also, can you send a PR to https://github.com/bytecodealliance/meetings detailing the meeting times, creating a directory for meeting notes, and advertising how to join and participate? Thank you.


Data File should be Pipe separated

Data file should be a pipe separated CSV zipped file.
Comments
What are the file format we need to support?
[SV] - Support for JSON file as well

This problem will be addressed in cQube v5.0.

json file supported


点击顶部菜单分类，下面什么都不显示

Expected behavior (预期行为)
Actual behavior (实际行为)
新建一个文章，然后在md下添加categories：笔记，侧边栏显示分类数目为2，点击之后的页面为空，并没有显示笔记
Steps to reproduce the behavior (重现步骤)
NexT Informations
Add the  ✔  sign before an item which is affected by this behavior.
NexT Version:

Master
Latest Release
Old version -

NexT Scheme:

All schemes
Muse
Mist
Pisces

Other Informations (Like Browser, System, Screenshots)

you must add type on categories page.
title: 分类
date: 2014-12-22 12:39:04
type: "categories"
---

like this : https://neveryu.github.io/guestbook/


add @noDerivative to isReducedPrecision declaration

I don't think differentiating .isReducedPrecision has a use so is it okay to flag it with @noDerivative to avoid using withoutDerivative frequently in differentiable functions?
I also removed the withoutDerivative(at: input) for both .isReducedPrecision and Tensor(... , deviceAndPrecisionLike: input) calls in layers/normalizing.swift since they are no longer needed.
I can also remove withoutDerivative use in #962.

Looks good, just waiting for CI results.


add/fix video stream features

Fix ffmpegcv VideoWriter instantiation (new version changed function signature).
Add decimation to video_source, annotate_video, and predict_stream. It isn't "perfect", e.g. I set fps=30, I will get ~27 FPS. Is there a better way to do this? Seems like it will change based on the CPU load.
Ignore DASH/HLS format youtube videos for lower resolution videos and resort to best format if a lower resolution "normal mp4" doesn't exist. We can probably get this to work but it seems too involved to be worth it. I tried to open the DASH manifest directly with FFMPEG (which supports dash demuxer) but YouTube refuses the request even with the same HTTP headers used to retrieve from pafy.

The decimation by time works well for camera feeds but when using a file as a source, you can retrieve frames faster than desired FPS, so it makes sense to decimate by frame count instead of time.
I am not sure if the way I decimate by frames is optimal, both in how I choose which frames to drop and the API interface.


Netbox create vm

Hello! I recently started using api netbox and as it seems to me I found an error in the post method /virtualization/virtual-machines/. (request body {}) I'm trying to create a new machine, but get 500 error.
Here api request and response:
url: api/virtualization/virtual-machines/
request body: { "name": "vm-3"}
answer:
The complete exception is provided below:
<class 'django.db.utils.IntegrityError'>
null value in column "cluster_id" violates not-null constraint
DETAIL:  Failing row contains (7, 2018-09-20, 2018-09-20 10:23:44.119076+00, vm-3, null, null, null, , null, null, null, null, null, 1, null).
Environment

Python version:   3.5.4
NetBox version:   2.4.3

The "cluster_id" is a required field, hence your API call fails. You can always look in the /api/docs or the GUI to find the required fields on a create action.

Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using the template provided here. For general discussion, questions, or assistance with installation issues, please post to our mailing list.


As a tutor who likes a clear overview, I can view a list of all students

... so that I can have a clear view of all students.

AB-3 has list command, can be closed.


how use .vue

@eeolqy Parcel team is working adding support for .vue single file components but as of now its not supported. So, we have to use render method or template strings. https://github.com/parcel-bundler/parcel/issues/5


Feature: #241 Anonymous authentication

Pull Request (PR) description
This is an attempt of implementing the ability to configure credentials for anonymous authentication.
I added AnonymousCredentials parameter for xWebsite module. I've started adding UT but I've got stuck with this weird error related to CIM objects. Can anybody review my current changes and help me with this issue? Error message that I get from UT:
    [-] Error occurred in Context block 335ms
      ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
      Parameter name: className
" to type "Microsoft.Management.Infrastructure.CimInstance". Error: "Specified argument was out of the range of valid values.
      Parameter name: className"
" to type "Microsoft.Management.Infrastructure.CimInstance". Error: "Specified argument was out of the range of valid values.
      Parameter name: className"
" to type "Microsoft.Management.Infrastructure.CimInstance". Error: "Specified argument was out of the range of valid values.als'. Cannot convert value "MSFT_xWebAnonymousAuthenticationCredentials
      Parameter name: className"
      at <ScriptBlock>, C:\Repositories\current\xWebAdministration\Tests\Unit\MSFT_xWebsite.Tests.ps1: line 557
      at DescribeImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\4.3.1\Functions\Describe.ps1: line 161

This Pull Request (PR) fixes the following issues #241

Fixes #241:

Task list

[ ] Added an entry under the Unreleased section of the change log in the README.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[x] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[ ] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

@cezarypiatek Please see comments in the issue #241. Tag me here if that was not the cause of the problem and I can dig in further.
You can also debug the build worker by connecting to it by RDP if it helps. You could re-run the integration tests manually and test the code.


cadvisor + influxdb + grafana: first commit

Tutorial for installation and configuration of the three packages for the DC/OS monitoring use case. First commit.

@mhausenblas Corresponding Universe PRs:
https://github.com/mesosphere/universe/pull/811
https://github.com/mesosphere/universe/pull/814
https://github.com/mesosphere/universe/pull/815

@mhausenblas @ryadav88 is this ready to be merged or do we need any additional test other than the one I performed? thanks!

Thanks, LGTM!


Add "MOVE VERTEX" Command

Fix typo (Section 7.18)
Add MOVE VERTEX command (Section 8.2)
Change heading (Section 8)

Thanks!!


Potential improvement to compilation size on rust spin image

If the rust spin image is compiled with symbol stripping the size can be decreased from 1.9MB to 132KB, using the command:
RUSTFLAGS='-C link-arg=-s' cargo build --target wasm32-wasi --release

this can also be done in the Cargo.toml file so that compiling in release mode strips symbols by default:
[profile.release]
strip = true

I tested to make sure it would work with the spin framework using spin up and it was functional.

Thanks! I like it a lot. That's an interesting idea.

It seems that using cargo wasi build --release together with strip=true further reduces the size of the wasm binary. This is probably due to the fact that cargo wasi uses wasm-opt by default.

Closed by #59


[Eloquent][Proposal] BelongsToManySymmetrical

The motivating problem can be found at issue #2673 .
I've made a long comment there. Since the comment got bigger and bigger, and because the topic is very old, I felt motivated to open a new issue better describing my ideas here.
On that new issue I summarize what a described there.
Motivation
Add/remove friends/followers in an eloquent manner from both ways (either as the follower or as the followed).
Description of problem
For those situations, we have a many-to-many relationship similar to this:

user_id
friend_id

1
2

1
3

2
3

2
5

The following methods would be reasonable.
 public function friends(){
   return $this->belongsToMany('App\User', 'user_friend', 'user_id', 'friend_id');
 }

 public function add_friend(User $user) {
   $this->friends()->attach($user);
   return $this;
 }

 public function remove_friend(User $user) {
   $this->friends()->detach($user);
   return $this;
 }

When user 1 wants to add a friend, we could have
 $user1->add_friend($user2);

The problem comes when user 2 wants to remove that person.
 $user2->remove_friend($user1)

The above code would not work for laravel would look up the user_friends table looking for user_id as 2 and friend_id as 1. That does not exist, but the reverse exists, i.e, user_id as 1 and friend_id as 2.
Long story short, belongsToMany would see user 1 as friend with user 2, but not that user 2 is friend with user_1 based on the database table below.

user_id
friend_id

1
2

1
3

2
3

2
5

Tried solution
I have tried doing something like the following
/**
* @return App\User[]
*/
public function friends(){
  $query_1 = $this->belongsToMany('App\User', 'user_friend', 'user_id', 'friend_id')->getBaseQuery();
  $query_2 = $this->belongsToMany('App\User', 'user_friend', 'friend_id', 'user_id')->getBaseQuery();

 return $query_1->union($query_2)->get();
}

The problem is that I lose the convenience of function such as add_friend($user) and remove_friend($user) described before.
The query union will generate the following SQL
 (select * from `user` inner join `user_friend` on `user`.`id` = `user_friend`.`friend_id` where `user_friend`.`user_id` = ?)
union
 (select * from `user` inner join `user_friend` on `user`.`id` = `user_friend`.`user_id` where `user_friend`.`friend_id` = ?)
 union
 (select * from `user` inner join `user_friend` on `user`.`id` = `user_friend`.`user_id` where `user_friend`.`friend_id` = ?)

Suggestion
For select the related models, what about generating a SQL something like the following?
select user.id from `user` where `user`.`user_id` IN
(
 select * from (
  (select friend_id from user_friend WHERE user_id = 1)
  union
  (select user_id from user_friend WHERE friend_id = 1)
 ) AS subquery -- it is important that this query has a name
)

As eloquent method, something like that:
 public function friends(){
   return $this->belongsToManySymmetrical('App\User', 'user_friends', 'user_id', 'friend_id');
 }

 public function add_friend(User $user) {
   $this->friends()->attach($user); //Would look up for both user_id and friend_id columns to operate
   return $this;
 }

 public function remove_friend(User $user) {
   $this->friends()->detach($user); //Would look up for both user_id and friend_id columns to operate
   return $this;
 }

:+1:

This kinda scenarios make me regret using frameworks :) There are so many of them, and they are such brain drainers.
+1

+1

I think you should not mix meaning of relation. It's a 2 kind of tables(friends_requests, friends_list).
Table friends_requests (id, user_from, user_to, approved_at, declined_at, created_at, updated_at, deleted_at)
I JAST WANT to be a friend of someone.
->myfriendrequest() //SELECT * FROM friends_requests WHERE user_from = {my.user_id}
Someone JUST WANT to be my friends
->wanttobemyfriends() //SELECT * FROM friends_requests WHERE user_to = {my.user_id}
And on Approved_at you must have observer(trigger in DB or ORM observer), when getDirty['approved_at'] == STATUS_APPROVED in saving, insert in friend_list new row, on deleting friend, delete friend_request rows and delete row from friends_list.
Table friends_list(id, user_id, friend_id)
->friends() // SELECT * FROM friends_list WHERE user_id = {my.user_id}

+1 :+1:

I dont like this idea,

+1 had to find ways around to implement this precise situation on my project

So $user1 calls $user2 a friend, but $user2 does not call $user1 a friend?
It would make sense that $user2->remove_friend($user1) does not do anything in that case, since $user2 cannot change who $user1 calls "friend". This seems more like the "follower" model that Twitter uses.
If the relationship goes both ways, imo that should be reflected in the database:

user_id
friend_id

1
2

2
1

@codefocus If $user2 can or cannot break this relationship will be up to your business logic.
In some situations, like mine, whenever one breaks the friendship, this will be broken in both directions.

Thanks for the report, but we don't process feature requests. We are, however, open to PRs.

Did you found any solution for this scenario? @rulrok

@brian2694 Back then, to simplify matters for our project, we had decided that the friendship concept wouldn't exist. Rather, users could follow and be followed by other users.
https://github.com/PanoPla/panopla/blob/develop/app/User.php
I know, it doesn't fix the problem, but it simplifies the project. =p

I'll analyze it. Thank you.
And I've found this.
https://github.com/AbdullahGhanem/friendship


Add .last_build_id to gitignore

Description
Add build-created file https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/build_system/build_system.dart#L575 to .gitignore template.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

DBC
Generally, when we update templates, we should evaluate whether files in the repo generated from the template(s) also need to be updated.


why only 3 zookeeper servers ?

I have some issues on setting up,

Can you provide more infomation around the issue?
Basically we have 3 zookeepers & 4 kafkas


Fix deadlock between conn and session

Read and discard any errant frames send to the session when the mux is
unwinding.  This prevents the conn mux from being blocked which can lead
to a deadlock.

Fixes https://github.com/Azure/go-amqp/issues/87