ping to other network section not working

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
i have ping 192.168.0.xxx and all working, because kuma is installed in that section
but i want to ping 192.168.88.xxx, other section of my local network
https://drive.google.com/file/d/1hjzWq6UlV6XotvQOh3ZspyfMy8lq10wj/view?usp=drivesdk
that video show issue
👟 Reproduction steps
Pls view video;
https://drive.google.com/file/d/1hjzWq6UlV6XotvQOh3ZspyfMy8lq10wj/view?usp=drivesdk
👀 Expected behavior
ping correctly in all network sections
😓 Actual Behavior
only ping in section network of ubuntu kuma installed
🐻 Uptime-Kuma Version
Latest
💻 Operating System and Arch
Ubuntu 20
🌐 Browser
Chrome
🐋 Docker Version
Docker 20
🟩 NodeJS Version
No response
📝 Relevant log output
No response

This is Docker issue and expected, because container may not access your local network. You need some config.
Please read this:
https://github.com/louislam/uptime-kuma/issues/1748#issuecomment-1152866296

https://drive.google.com/file/d/1iLeP7yV-caW0pHSGCFG3H21r0rKDotnv/view?usp=drivesdk
not working

root@felipe:~/uptime-kuma# docker pull louislam/uptime-kuma:1
1: Pulling from louislam/uptime-kuma
c32ce6654453: Already exists
866efb834763: Already exists
3009c2701a70: Already exists
704508b5309b: Already exists
11cc6386a88d: Already exists
50694b369ddf: Already exists
d47b92313a6b: Already exists
43eee6140fa4: Already exists
e878accd8693: Already exists
080a0086763f: Pull complete
Digest: sha256:a4eab252e5a27ead9e92f04d755d6cc968be923b277aae42ac8cf633e2da3b15
Status: Downloaded newer image for louislam/uptime-kuma:1
docker.io/louislam/uptime-kuma:1
root@felipe:~/uptime-kuma# docker stop uptime-kuma
uptime-kuma
root@felipe:~/uptime-kuma# docker rm uptime-kuma
uptime-kuma
root@felipe:~/uptime-kuma# docker run --add-host=host.docker.internal:host-gateway -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
98a565aee33657fd2cee4bb237520705386cf57648c7b9245e1db47d2da26d11

pls view video
https://drive.google.com/file/d/1TDIi35eH3piCt5magXAw-3hrOJOm8yrz/view?usp=drivesdk
still not working with latest pull


Environments -> The UI allows for override of the global connection defaults, but the TF resource does not

Describe the bug
With the move to global connections, the global connections have sub-schemas for snowflake (and others) that allow setting the default values for database, role and warehouse.
But the dbtcloud_environment (Resource) doesn't allow for adding an override when configuring the environment.
However, that is supported in the UI.
As I understand it, these values follow an inheritance chain of:
global connection -> environment
Error message
N/A
Resource configuration
N/A
Expected behavior
Allow the DWH connection specific defaults to be specified and overridden by the environment resource.
Config (please complete the following information):
( the version can be retrieved running the command terraform providers )

dbt Cloud provider version [e.g. 0.3.18]

Additional context

Hey @will-sargent-dbtlabs
I am pretty sure that this is already working today and this part didn't really change with global connections.
The "overrides" mentioned are part of the credentials for the environment (not just the connection).
For Snowflake for example, we can provide a different database, role or warehouse in the dbtcloud_snowflake_credential as the ones that come from the connection.


SystemChrome does not work when usign plugin

SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]).then((_) {
    runApp(MyApp());
});

Wont work if using this plugin, and using this code wont too:
OrientationPlugin.forceOrientation(DeviceOrientation.portraitUp).then((_){
    runApp(MyApp());
});

The app always rotates no matter what.

forceOrientation just lets the screen go to the specified direction, without limiting the screen rotation.
I think you need OrientationHelper.setPreferredOrientations([DeviceOrientation.portraitUp]).

@sososdk I have used that before testing with forceOrientation, same result.

@marianoarga Do you want to lock the screen orientation? And what is you platform?

@sososdk Yes, the goal is to have the orientation locked, but listen for orientation phisical change.
I have already locked the orientation with SystemChrome.setPreferredOrientations in previous app versions, but when I add the plugin that stops working.
Android is the platform.
Btw, I have achieve my goal migrating to native_device_orientation plugin, just for you to know and maybe check it out.
Thank you.

@marianoarga If you are interested you can check out example, I think it can achieve your purpose.
Thank you.


Notebook webview DOM modification broken in VS Code - Insiders

REPRO:

Install the .NET Interactive extension ms-dotnettools.dotnet-interactive-vscode.
Ctrl+Shift+P -> ".NET Interactive: Create new blank notebook"
"Create as '.dib'"
"C#"
Set the cell's language to "HTML (.NET Interactive)" and the content to
42
 and execute.  Note the expected output.
Add a new cell and set its language to "JavaScript (.NET Interactive)" and set the content to document.getElementById("output").innerText = "43"; and execute.

EXPECTED:
The previous cell's output should change.
RESULT:
When using VS Code - Stable, the expected behavior is observed, but when using the latest Insiders build, no change occurs.

I've confirmed this is an issue with how our extension is executing JS.


[5.8] Add set/get accessors for MigrationCreator stubPath

Very straight-forward, makes the stub path mutable so we can use our own stubs. This is beneficial for those who want different schemas than the defaults with the migration commands. For one example, I want increments() over bigIncrements() (#26472) without having to change it with each migration
Example usage from a service provider:
$this->app->extend('migration.creator', function ($creator, $app) {
    return tap($creator)->setStubPath(__DIR__.'/../../database/migrations/stubs');
});

I agree that would be nice, but if you search this you'll see people have been wanting to change the stub path since Laravel 4.2. They are stuck with solutions like overriding MigrationCreator and replacing laravel's in the service container, using composer scripts to overwrite the stubs in the vendor directory, and custom artisan commands. Just to change the stub path. I hope you reconsider that this is just a small change that fulfills a simple need until a more comprehensive solution becomes available. Thanks


The activation map for fully-connected neurons in DINO

Hi, @evandez! Thanks for this outstanding work. I really appreciate your public code.
In Figure 2 and 12 of your paper, there are many activation maps for the FC layer in DINO. Could you please share more details about this generation process? Thanks a lot.

Sure thing. The process for getting those high-activation masks looks very similar to convolutional networks. The only difference is the ViT carves the image up into patches, so we get one MLP neuron activation per patch, and we threshold over those patches.
You can see how the ViT MLP features are spatialized here:
https://github.com/evandez/neuron-descriptions/blob/main/src/exemplars/transforms.py#L54
I'm not sure if this answers your question, but let me know if I can clarify further.

Thank you for this prompt reply! It solves my question nicely!


Bluetooth: GATT: Client and testing enhancements

These changes make GATT Client APIs simpler to use by making parameters to be allocated by the stack itself.
In addition to that it introduces support for loopback connection which is then used to validate the changes and creates more tests to cover more APIs, in the future this may allow qualification tests to be performed as well with a very minimal overhead/latency added to CI.

The addition of loopback is very welcome, and a nice way of detecting basic errors on the emulator, though ultimately and ideally we'd use nrf52_bsim instead, which tests the whole code path without instrumenting the code. Other than that I am OK with the changes except for some comments

It is a protocol test facility with no external dependency nothing else.


Q# SDK support for dotnet 5

Have been testing this https://docs.microsoft.com/en-gb/learn/modules/qsharp-create-first-quantum-development-kit/2-install-quantum-development-kit-code when start using Q# SDK it starts throwing error that donet 3.1 could not find while 5.0.2 is installed and detected.
The framework 'Microsoft.NETCore.App', version '3.1.0' was not found.
- The following frameworks were found:
5.0.2 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

At the moment, the QDK requires .NET Core 3.1. You can still have .NET 5 installed, but the .NET Core 3.1 SDK also needs to be installed along side it.

Duplicate of #737


Add basic seccomp profile validation

What type of PR is this?
/kind feature
What this PR does / why we need it:
We now unmarshal the profile to do a basic validation. The build will
now change to include the seccomp build tag required for the new
dependency.
I also left a TODO to consider further validation steps later on.
Which issue(s) this PR fixes:

Refers to #66
Special notes for your reviewer:
One drawback is now that we need a static libseccomp.a to build locally.
Does this PR introduce a user-facing change?

- Added basic seccomp profile validation before syncing them on disk

Rebased to resolve the conflicts.

@saschagrunert if we are only doing validation by marshaling right now does it make sense to introduce this dependency? We could alternatively just add the types here: https://github.com/seccomp/containers-golang/blob/master/types.go

Yeah I think this would make sense. How about now? I guess an e2e test would be sufficient, too :D


feat: port Algebra.Group.OrderSynonym

Tracking mathlib commit: c3019c79074b0619edb4b27553a91b2e82242395

bors d+

bors r+


Added some words to clear up the first sentence

I started to read the article and was confused by the wording of the first sentence. I added "that is" to clear it up and make it more grammatically correct. The description of the article uses "that is" similarly.

@HankiDesign : Thanks for your contribution! The author, @ggailey777, has been notified to review your proposed change.


Add format getter to DecoratorBlockNode and getSelectionFormat to playground

getSelectionFormat allows you to get the common element format of every node that inherits the format style from its parent in the selection. Additionally, the toolbar in the playground has been modified to add an active class to the alignment dropdown item when the selection matches one of the alignment presets. I have also made a few typo fixes. Tests have not been written yet, but I am waiting for your suggestions.

getSelectionFormat allows you to get the common element format of every node that inherits the format style from its parent in the selection. Additionally, the toolbar in the playground has been modified to add an active class to the alignment dropdown item when the selection matches one of the alignment presets. I have also made a few typo fixes. Tests have not been written yet, but I am waiting for your suggestions.

LGTM, thank you for iterating on this, can you look into the failing E2E tests please?

Tried looking into them, they seem to depend on other mods and would require a thorough review.

It turns out that getNearestBlockElementAncestorOrThrow was causing this to crash on a non-block DecoratorNode as it's already as the highest level. Arguably, it should be a BlockDecoratorNode in the first place but we can handle this gracefully.
There's still another issue with the Toolbar code, try playing with horizontal rule, deleting backward and you will notice it does not delete. Could you debug the code you introduce in the Toolbar to see if you can find what's causing this?
You can run the failing E2Es locally like this npm run test-e2e-chromium -- HorizontalRule.spec

I did debug it locally (with the --debug arg) earlier and I turns out it was throwing due to getNearestBlockElementAncestorOrThrow, sorry as I haven't dug deep enough into lexical's core yet, but this does seem to fix some of the e2e tests. I'll try looking into others.

Hi @zurfyx , can we move forward with this? I can see the functionality has been implemented in the toolbar: https://github.com/facebook/lexical/blob/fa68893288693cb9be0b0b5d868b3f02fee14b3b/packages/lexical-playground/src/plugins/ToolbarPlugin/index.tsx#L596C1-L600C9
      setElementFormat(
        ($isElementNode(node)
          ? node.getFormatType()
          : parent?.getFormatType()) || 'left',
      );

The issue here (I might be wrong) is that it still does not account for a selection of nodes with different formats, and it falls back to left.

Closing this PR due to staleness! If there are new updates, please reopen the PR.


operator [R] prometheus (0.14.0 0.15.0 0.22.2 0.27.0 0.32.0 0.37.0 0.47.0 0.65.1)

Thanks submitting your Operator. Please check below list before you create your Pull Request.
Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

msg: Operator 'prometheus' is in package manifest format, but contains some versions in bundle format (see above for list). Format mixing in one operator is not supported.

I guess I can either:

Bundle all the previous versions using operator-sdk pkgman-to-bundle
Un-bundle the v0.65.1 into packagemanifest format - hopefully it's as simple as mv manifests/* ., rm -rf metadata bundle.Dockerfile 🤞

Let me know how is best to proceed

@dave-tucker yes, please convert old versions to bundle format: package manifest support in the test pipeline is deprecated and will be removed soon.

/merge possible

/merge possible


Connect assistant to Archibus API

Add tool to connect the Archibus API to the assistant and enable a user to make a booking through the assistant and check their existing bookings
Update: Waiting on the Archibus API to expand to enable more functionality from the assistant

TODO: Move the server.js code to the backend api

Code was implemented on Archibus side of things to add the capability to give us a URL to load a png from blob storage.


"Settings" are not active

I can only "Pause" No coin and "Resume" no coin or add current site to whitelist. No any other features, no SETTINGS. How will I know that it is working? How can I see or redact my whitelist?

There are plans to have a settings page to manage the blacklist and whitelist. Unfortunately I'm quite busy at the moment and didn't get around it. Feel free to work on a PR if you feel like it.
For now, the way to add/remove domains to your whitelist is by visiting them.
I made a new issue for this and will close this one - see #73


Put syncAt config field in separate config file

I sync plugin's config files with git and syncAt changes couse conflicts. Consider putting it in a separate file.

interesting. I'm not sure if Logseq's APIs will let us store it somewhere else. Will have to look into this.

syncAt is the last time there was a successful sync, so next time you sync it gets all the changes between those dates. I guess its ok to not be per device since your other devices would eventually sync all the date.


Move API calls to separate files

At the moment, all API calls are stored in XcodeServer.swift. It'd be advisable to move the to separate files and make extensions from them as the number of API calls may increase in the future.
I suggest separating them by type eg. XcodeServer+Bots will store all Bot related API calls, XcodeServer+Integrations will handle Integration and so on...
I don't know what's the proper naming convention and used well know convention from Objective-C. We can stick to this or decide on different style.

This issue is blocked until #44 is completed as this one may introduce some merge conflicts.

@czechboy0 please hold with work in XcodeServer class as I'm planning to apply proposed changes in this issue. I'll probably do it today.
 I was working on Buildasaur the other day, migrating that beast to Swift 2.

Another one: #55.

Platform and Device added here: #57

Finished by #58.


Add HA Rancher installation role

The title says everything

Until then you can follow this https://docs.technotim.live/posts/rancher-ha-install/

I don't think I will add this role.  I want to keep this to be a base install of HA k3s which can be used to install rancher or anything else.


Propertie transaction_ignore_urls not working springboot version 2.3.6.RELEASE

Hi, i'm using a propertie transaction_ignore_urls in elasticapm.properties, for ignore urls with /actuator/*, look that happen only in springboot with reactor, the propertie transaction_ignore_user_agents too not working.
Steps to reproduce
Im using springboot version 2.3.6.RELEASE
springCloudVersion=Hoxton.SR8
apm-server 7.9.3
apm-agent java 1.29.0
elasticapm.properties: |
enabled=true
environment=dev
service_name=gtw-common
application_packages=cloud.package.gtw.common
server_urls=http://localhost:8200
enable_log_correlation=true
enable_experimental_instrumentations=true
metrics_interval=0s
disable_metrics=system.,jvm.
use_path_as_transaction_name=true
transaction_ignore_urls=/actuator/prometheus,/actuator/health
disable_instrumentations=micrometer,reactor
transaction_ignore_user_agents=Prometheus*,kube-probe*
Debug logs
[elastic-apm-agent] WARN WARNING: -Xverify:none and -noverify are not supported by the Elastic APM Java Agent. In an upcoming version, the agent will not start when these flags are set, unless the system property elastic.apm.disable_bootstrap_checks is set to true.
2022-03-15 09:41:07,009 [Attach Listener] INFO  co.elastic.apm.agent.util.JmxUtils - Found JVM-specific OperatingSystemMXBean interface: com.sun.management.OperatingSystemMXBean
2022-03-15 09:41:07,032 [Attach Listener] INFO  co.elastic.apm.agent.configuration.StartupInfo - Starting Elastic APM 1.29.0 as gtw-common on Java 11.0.14 Runtime version: 11.0.14+9-Ubuntu-0ubuntu2.20.04 VM version: 11.0.14+9-Ubuntu-0ubuntu2.20.04 (Ubuntu) Linux <IP_ADDRESS>-microsoft-standard-WSL2
2022-03-15 09:41:07,032 [Attach Listener] INFO  co.elastic.apm.agent.configuration.StartupInfo - service_name: 'gtw-common' (source: Attachment configuration)
2022-03-15 09:41:07,032 [Attach Listener] INFO  co.elastic.apm.agent.configuration.StartupInfo - environment: 'dev' (source: Attachment configuration)
2022-03-15 09:41:07,032 [Attach Listener] INFO  co.elastic.apm.agent.configuration.StartupInfo - disable_instrumentations: 'micrometer, reactor' (source: Attachment configuration)
2022-03-15 09:41:07,032 [Attach Listener] INFO  co.elastic.apm.agent.configuration.StartupInfo - enable_experimental_instrumentations: 'true' (source: Attachment configuration)
2022-03-15 09:41:07,033 [Attach Listener] INFO  co.elastic.apm.agent.configuration.StartupInfo - server_urls: 'http://localhost:8200'
2022-03-15 09:41:07,033 [Attach Listener] INFO  co.elastic.apm.agent.configuration.StartupInfo - metrics_interval: '0s' (source: Attachment configuration)
2022-03-15 09:41:07,033 [Attach Listener] INFO  co.elastic.apm.agent.configuration.StartupInfo - disable_metrics: 'system.,jvm.' (source: Attachment configuration)
2022-03-15 09:41:07,033 [Attach Listener] INFO  co.elastic.apm.agent.configuration.StartupInfo - application_packages: 'cloud.lyceum.gtw.common' (source: Attachment configuration)
2022-03-15 09:41:07,033 [Attach Listener] INFO  co.elastic.apm.agent.configuration.StartupInfo - enable_log_correlation: 'true'
2022-03-15 09:41:07,033 [Attach Listener] INFO  co.elastic.apm.agent.configuration.StartupInfo - transaction_ignore_urls: '/actuator/prometheus,/actuator/health' (source: Attachment configuration)
2022-03-15 09:41:07,033 [Attach Listener] INFO  co.elastic.apm.agent.configuration.StartupInfo - transaction_ignore_user_agents: 'Prometheus*,kube-probe*' (source: Attachment configuration)
2022-03-15 09:41:07,033 [Attach Listener] INFO  co.elastic.apm.agent.configuration.StartupInfo - use_path_as_transaction_name: 'true' (source: Attachment configuration)
2022-03-15 09:41:08,590 [Attach Listener] INFO  co.elastic.apm.agent.impl.ElasticApmTracer - Tracer switched to RUNNING state
2022-03-15 09:41:08,644 [elastic-apm-server-healthcheck] WARN  co.elastic.apm.agent.report.ApmServerHealthChecker - Elastic APM server http://localhost:8200/ is not available (Connection refused (Connection refused))
2022-03-15 09:41:08,990 [elastic-apm-remote-config-poller] ERROR co.elastic.apm.agent.configuration.ApmServerConfigurationSource - Connection refused (Connection refused)
Ps: ignore the part  Connection refused, im using env local at this moment.
(source: Attachment configuration)

The linked PR should fix your bug


Update rancher docs clarifying removal of node-passwd file

In latest k3s master, k3s does not write out /var/lib/rancher/k3s/server/cred/node-passwd anymore and any users relying on k3s writing it out would be affected.
We should update rancher k3s documentation outlining the new behavior change where k3s stores this as a secret right now. This is the page in question which needs to be updated ( https://rancher.com/docs/k3s/latest/en/architecture/ ).

cc @davidnuzik @erikwilson

cc @davidnuzik @erikwilson

It definitely took me way too long to find this. I see that the documentation is updated now but there are a lot of old references to node-passwd.


Speed-Up 23,976 to 25fps

Hi.
Is there any way to change the frame rate?
In my case it's 23.976 fps to 25 fps including the audio tracks and subtitles?
Unfortunately, with many BD the pitch of the German audio tracks is not correct.
If not, could this be built in?

@CaptSonic Yes, just use the --rate option described in --help more. However, it only affects the video. If the pitch of the audio is not correct, you'll have to apply some other kind of transform to the input before transcoding. Sorry about that.

@donmelton Thanks for your quick reply. Is there any chance that --rate will affect audio and subtitles soon?

@CaptSonic No. As far as I know, there's no way to do that in ffmpeg. Video frames rates don't apply to audio streams. It doesn't work that way. Sorry.

Thanks for your answer.
Could ' -filter:a "atempo=1.0427094" ' be a possibility?
1.0427094 = (24000 / 1001) / 23

@CaptSonic Interesting. Does that actually work for you in this case?

@CaptSonic I looked into the atempo filter and I believe it would clearly cause audio to be out of synchronization with video for any non-trivial duration. So I don't think this is the answer.


Add support for !avatar and !gravatar in echo.js

[X] Add support for !avatar
[x] Node tests
[X] Bugdown tests
[x] Get https://github.com/timabbott/zulip/pull/2 merged

@timabbott Please check.

Cool, this looks great, thanks @hackerkid!  I merged this after fixing some trailing whitespace.  Ideally we'd figure out a way to modify marked.js without needing to patch it, since that's definitely a maintenance liability (as a sidenote, we should probably update marked.js to a current upstream version).

@timabbott Should I follow the same approach for '!_subscribe_linkand !modal_link`. I am not sure whether we can do this without patching marked.js.

Having though about this some more, I think we're going to remove !_subscribe_link as a feature; it's not that good of an experience and we just merged code to have #**StreamName** auto-link to a stream.  And !modal_link is just used in the tutorial right now, so not important for local echo.
So I think we're good on that front.


How to add additional blog summaries to the home page?

I'm trying to figure out how to add additional blog summaries to the home page.
I copied the theme's "list.html" to my site_root/layouts/blog/list.html" and edited the line:
{{ range first 1 .Pages.ByPublishDate.Reverse }}
to {{ range first 3 .Pages.ByPublishDate.Reverse }}
My thought was that would tell hugo to loop through the first 3 posts...? But that doesn't seem to work.
Any suggestions would be appreciated.

Ok so making that change sort of emphasized the first 3 posts on the "blog" page - That's ok.
I added the same file to my layouts/home thinking that would do the trick... but nope.

Ok - So I apologize for opening this so quickly and then figuring it out on my own...
Here is what you have to do in case anyone else is curious -
create a directory
/my_site/layouts/partials/home
Add blog.html to that directory
make the edit to the range line that I listed above.
Sorry for opening an easy issue. :)

I’m glad you figured it out, Luke!
If anyone wants to submit a PR for a configurable number of blog summaries on the home page, I’d be open to that idea! 👍

I’m very new to hugo and static site generators in general but I’ll take a shot at it.


Virtual Network Connection count on Virtual Hub increments each time "Edit Virtual Hub" View is closed

Product: Azure Portal UI
Feature Area: VWAN Virtual Hub Overview Blade
Reproduction:

Navigate to a VWAN Virtual Hub
You will see a box that shows a count of Virtual network connections. For my situation the count is initially 4.
On the Overview page, click Edit Virtual Hub button and then dismiss the pop-out pane by clicking the "X"
Upon dismissing the pop-out pane the count will increment by the total number of virtual networks. For my situation the count is now 8.
Each time you click and dismiss the Edit Virtual hub view, the count will continue to increment.

Expected Behavior:

Virtual Network Connection Count should be correct regardless of how many times I visit the Edit Virtual Hub view.

@pagebrooks
Thank you for your feedback!
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an Azure support request. Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
Teams Q&A forum for technical questions about the configuration and administration of Microsoft Teams on Windows.
Microsoft Teams Community forum
Thank you for your time and patience throughout this issue.


UnityException: SetFloatImpl can only be called from the main thread.

I am getting this error AND I TRIED EVERYTHING TO FIX IT : UnityException: SetFloatImpl can only be called from the main thread.

I have the same problem

In MapGenerator, copy this line:
textureData.UpdateMeshHeights(terrainMaterial, terrainData.minHeight, terrainData.maxHeight);
And then delete it.
Paste it as the first line in the existing DrawMapInEditor() and also create a private void Awake() and put it there as well.
Should fix you right up.


Update DockingCamKURS.netkan

Updated install directory

Already done in #7167

Just wanted to ask if you both can agree on one PR 😛


Add support for user & groups

Details
As a developer using this library I would like to be able to control my thousandeyes account. So i can have my management of users and groups via code.
AC

Account Group control - Get, Delete, Update, Create
User control - Get, Delete, Update, Create

References

https://developer.thousandeyes.com/v6/admin/

https://github.com/william20111/go-thousandeyes/commit/4c8512f1f8a149cb558416db9d0ca7cd174bd0bb Closed here


YUNIKORN-462: Streamline core to shim update on allocation change

What is this PR for?
New Allocation and Release allocations events has been changed from async to synchronous communication so that shim updates its own cache immediately followed up by pod bind/delete steps. With this change, ReSyncSchedulerCache plugin doesn't have any more role to play. Hence, cleaned up the related plugin code as well.
What type of PR is it?

[ ] - Improvement

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-462
How should this be tested?
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

Please check why the linter cannot build the code. The change seems to reference a non existing field. This might be a typo or wrong version of the interface etc.

Have made changes in SI as well. If you can take a look at https://github.com/apache/incubator-yunikorn-scheduler-interface/pull/58 first before core and shim's pr, then whole changes gives us clear picture and easy for us to fix these lint issues.


DllNotFoundException: RealtimeCSG[1.556].dll with Unity 2019.2.0f1

I've noticed this has happened before and am guessing it's due to the dll having calls to either deprecated or removed functions. Just guessing.
This is on Windows but it also fails to load on Mac (can't recall the error message on Mac.)
Would it be possible to get a fix for this so we can move to 2019.2 ?
Thanks

Looks like we're dealing with abandonware here folks. Author has moved to another project. This looks like the end.

Yep, it seems like this is an issue with 2019.2; Got same one but with higher version:

DllNotFoundException: RealtimeCSG[1.542]

Looks like we're dealing with abandonware here folks. Author has moved to another project. This looks like the end.

I'm pretty sure author said that plugin support will still be served, just no new features will be added. Have patience.

Also:

Thanks for those updates. I can wait for everything but patience! It's frustrating as RealtimeCSG is such a darn good tool. Few bugs here and there but update breakers are annoying. Anyhow, stuck on 2019.1 for now.

As mentioned on the forum, a workaround has been used to fix around this unity bug.
I'm annoyed by the update breakers as well, but it's outside my control unfortunately


Setting fractional zoom levels no longer works in 1.0.0-rc.1

Here is a small example that shows my issue:
http://playground-leaflet.rhcloud.com/zum/edit?html,console,output
On previous versions it worked like that. Am I doing something wrong?

You need to set the zoomSnap and zoomDelta options. See:
http://leafletjs.com/reference-1.0.0.html#map-zoomsnap
http://playground-leaflet.rhcloud.com/cici/edit?html,output
File under "it's a feature, not a bug" ;-)

Oh sorry I didn't notice this change.
According to the documentation the zoomDelta is only for +/- Keys and the zoom controls. Is there a similar option for the mouse wheel?

Yes, yes there is.
See also the discussion at https://github.com/Leaflet/Leaflet/pull/3523


Idea: don't show cluster internal resources by default

There are quite few cluster internal resources (pods, services) that are not very interesting from kubctl user point of view. I think it would be good to not list them by default while using kubectl get command and add an optional flag that would also list them.
An alternative is to use namespaces for user resources and limit the scope of get command with --namespace flag.

I think putting them in a kubernetes.something namespace is what we planned to do. cc @satnam6502

I feel the opposite way - if you dont want to see them, you should make
your own namespace.
On Feb 6, 2015 5:55 PM, "Jeff Lowdermilk"<EMAIL_ADDRESS>wrote:

I think putting them in a kubernetes.something namespace is what we
planned to do. cc @satnam6502 https://github.com/satnam6502
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/4231#issuecomment-73344279
.

Tim, I agree with you that user should make their own namespace and I'm
happy to update some examples to expose that.
However, for getting started experience where one has a simple project with
few services and doesn't really need to use namespaces present of internal
resources is disturbing, especially when combined with the fact that
results come in random order, plus new internal resources are being added.
2015-02-06 19:08 GMT-08:00 Tim Hockin<EMAIL_ADDRESS>
I feel the opposite way - if you dont want to see them, you should make
your own namespace.
On Feb 6, 2015 5:55 PM, "Jeff Lowdermilk"<EMAIL_ADDRESS>wrote:

I think putting them in a kubernetes.something namespace is what we
planned to do. cc @satnam6502 https://github.com/satnam6502
--
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/4231#issuecomment-73344279

.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/4231#issuecomment-73347173
.

cc @bgrant0607

There was some discussion about having a "cluster-services" namespace to run this under. Do we consider that a good solution for this?

The agony that @jlowdermilk and I are discussing at #4298 is perhaps relevant.
How about for each cluster:

A distinct network for the "system" cluster level services like monitoring and logging? This would allow us to instantiate multiple clusters in the same GCE project (perhaps similar arguments for other providers?).
A separate namespace for cluster "system" services?

S

@erictune
This has been discussed before, with respect to the kubernetes service: #3293

The API now has a Namespace object.  The server currently mandates the existence of the "default" namespace.  We could mandate the existence of two namespaces "cluster-services" and "default".  I see no issue there.  I actually tend to agree with @thockin that if you just don't want to see it, create a different one.  If we create that different one by default, sure, no big deal.
One thing I would like to see is that we turn on the "namespace must exist prior to usage" across all clusters via admission control.  Right now, I think only the Vagrant provider is requiring the namespace to be created prior to sticking namespace scoped resources in it.

I think the idea that cluster stuff is in "default" is a ship that has set sail, left the harbor, and is probably well over the horizon.

@thockin - I am ok with that.  I do think if we update our examples to use a different namespace, that we need to turn on provisioning the namespace prior to usage requirement.

Will we have a mechanism for cross-namespace operations once authorization is enforced? If not, then cluster services will be out of luck, regardless which namespace they are in.

Closing in favor or #9356


Installation fails with Python 3.12+

Since distutils has been removed in Python 3.12, installing the package with it is no longer possible.
distutils has been deprecated since Python 3.10 and is superseded by setuptools. (See PEP 632)
The phasing out of distutils should be done by mid-2025 since Python 3.9 then goes end-of-life.

Thanks @fer-rum for flagging this issue. We will work on a fix to this over the coming weeks so that the model works with most recent versions of Python. In the meantime, I'd suggest using Python 3.9 (or 3.10 should also work) as a temporary fix. Thanks for patience while we work to update things.


undraftify TC39 float16array

[ ] should manually go get the caniuse identifier when not in generated draft features?
[ ] is there a group this should be part of and where to verify? (i see in the burndown? can be generated then?)
[ ] is the baseline status right? baseline value of false doesn't seem to be documented in either the draft contributor guide nor the baseline doc linked there
[ ] how to handle global obj vs ctor? group them? (the burndown has separate entries)

Hi @autonome, thanks for this PR!
My main piece of feedback here is that we've tended to avoid features that aren't supported by any browser yet, although we do have a few such high-profile features, such as Masonry and Temporal.
From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float16Array#browser_compatibility it looks like this is coming in Firefox 129. The data came from https://github.com/mdn/browser-compat-data/pull/23730 which I think we can trust. But if we wait until next week we'll be able to see that everything is as expected, and avoid having to update the feature if some part didn't ship.
For the feature ID and filename, I'd suggest just float16array. The "tc39-" prefix is just from the spec shortname, and unnecessary in name and identifier.

should manually go get the caniuse identifier when not in generated draft features?

Yes, search caniuse.com. In this case, there is no feature, so nothing to add.

is there a group this should be part of and where to verify? (i see in the burndown? can be generated then?)

Please use the typed-arrays group for this.

is the baseline status right? baseline value of false doesn't seem to be documented in either the draft contributor guide nor the baseline doc linked there

It is correct currently, because Firefox 129 hasn't been released yet. The value is documented here, and means it's not Baseline:
https://github.com/web-platform-dx/web-features/blob/ae7d920945011197f6fe23fa6cd3e482be2cc10b/types.ts#L36

how to handle global obj vs ctor? group them? (the burndown has separate entries)

Include both, and more generally anything that is a part of the feature and shipped at the same time. The reason the constructor didn't show up in the spec draft here is because the spec link in BCD is to another spec:
https://github.com/mdn/browser-compat-data/blob/b04044b8628995deac3f0fcf42e3d36e28dd9cfc/javascript/builtins/Float16Array.json#L50
That's OK, but it's still part of Float16Array.

No changes are needed here because of it, but I thought you'd be interested to know this came up in conversation on https://github.com/web-platform-dx/web-features/pull/1567#pullrequestreview-2240064747

@Elchi3 thanks! feel free to review or just fold into your ongoing JS work, i had just picked it up as an example early on.


expr: implement regular expressions

I have no idea what is wrong with Travis right now.

seems related error: failed to run custom build command for onig_sys v61.1.0``

That's the issue with AppVeyor (which I need to reboot into Windows to figure out how to fix).  I'm not sure what is going on with Travis though because it compiles everything but then fails the tests.

@Arcterus Now that I had fixed the error, could you rebase on top of this commit, so that we can see whether this can be merged?

ping @Arcterus

AFAICT, the build on Windows is still failing because of Oniguruma, although I'm not exactly sure what's wrong with it given that the Appveyor build seems to be working for rust-onig.

Do we really want to add more dependencies on C libraries?

I would rather not, but the syntax for the regexes accepted by expr is different than the syntax accepted by regex.  Because I didn't want to translate the input (which seems error-prone) or write my own regex parser, I decided that it would be best to use the rust-onig crate for the time being.

Because I didn't want to translate the input...

Posix Basic Regular Expressions (BREs) and Extended Regular Expressions (EREs) support back-references, which the regex crate doesn't support by design, so unfortunately I don't think it will be of much help. I guess the long term solution is implementing them in Rust?
So the only thing blocking this is figuring out the appveyor issue?

Yeah, this is the only short-term solution I can see right now, so once the MSVC build works I think this will be ready to go.

Rust-onig's appveyor.yaml has this line:
# Rust needs at least Visual Studio 2013 Appveyor OS for MSVC targets.
os: Visual Studio 2015

Possibly the cause? The issue must be some discrepancy between their appveyor configuration and the uutils one. In any case, this could be awkward for people trying to build uutils on msvc.

This should hopefully pass CI now if the merge conflicts are resolved.


fix header reading

made according to LunarCore

thank you for making the pr, i will close this in favor of #2 given the explanation in that pr for potentially having header data being used in the proto data


CAMEL-9737 : add an option to configure default resource to access

I'm reviewing :-)
Many thanks @lburgazzoli :-)

@lburgazzoli The PR has been merged. Can you close the PR? :-)
Many thanks :-)


Timescale function option to return nan if there are few spikes (<=2)

Hey!
I have added an option to the spike_train_timescale function to return nan if there are 2 or less spikes in the given spiketrains.
To this I have also added two tests:

Testing the error raising (which probably should have been done in the original PR)
Testing that indeed the nans are returned for spiketrains with 0, 1 or 2 spikes and that whatever is returned for spiketrains with 3 or 4 spikes is not a nan.

Please have a look and let me know if anything should be changed.
Best,
Aitor

Coverage increased (+0.04%) to 89.199% when pulling 1346c061e6409d2ccc4a5b9084e635648146330c on morales-gregorio:timescale_nan into 8ce0013dd3946ce0d3ad408ef26c1aafae0c81f3 on NeuralEnsemble:master.

Just added the warning and the other comments. If no new issues arise (hopefully the tests will pass)
Let me know if any other thing needs fixing, otherwise I am ready for merging on my side.
Thanks! Aitor

Hm, somehow this PR was out of my scope for a week. I don't see any other problems of why it should not be merged.
Your comment about warning only once per session is not addressed though. I'm not sure if it makes sense to warn only once because then all other functions in this module will warn only once, which might be actually the desired behavior since the users don't like to be flooded with warnings.
We'll discuss this particular aspect - whether or not add warnings.simplefilter('once', UserWarning) at the top of the module - next Monday.

Hey any updates on this? I would just let the user deal with filtering the warnings.

I need to look if adding warnings.simplefilter('once', UserWarning) in one module does not escalate the behavior to runtime.
If it's not the case, I'll ask you to add it there.
If it's the case, no additional changes are needed.

@morales-gregorio
There are two issues: one is on your side and the other is scipy issue.
Add the following check that the warning is triggered in test_timescale_nan:
with self.assertWarns(UserWarning):
    timescale = sc.spike_train_timescale(bst, tau_max)

followed by fixing the bug in the function itself - there is an extra , in the warning message (see the suffix). Just remove the comma.
Note that assertWarns requires py2.7 (yeah, we're still supporting it) and thus you need to wrap the test function like so
@unittest.skipUnless(python_version_major == 3, "assertWarns requires 3.2")
def test_timescale_nan(self)

I could fix these minor things for you if the pull request originated from INM-6/elephant.
If there are still questions about how to fix them, let me know.
Otherwise, once you address your part (don't bother with many warnings, it's on scipy side), I merge the PR.

Thanks @dizcza for having a closer look!
I hope everything is fine after the last commits

I meant
        for st in [st0, st1]:
            bst = conv.BinnedSpikeTrain(st, binsize)
            with self.assertWarns(UserWarning):
                timescale = sc.spike_train_timescale(bst, tau_max)
            self.assertTrue(math.isnan(timescale))

sorry
:)

Hahaha I should have realised that what I wrote made no sense ;)


I PITY THE FOOL (remove all this [T] nonsense)

There's a heavy use of type parameters across the API that don't actually restrict anything. Will go through and remove all the implementations that don't increase safety as most of them are really just [Any] types.

I think we can now close this.. :)


[WIP] Updates to use the Meshtastic 1.3 API

WIP, there are several issues:

not getting mesh connectivity status automatically, polling for it for now
not getting message receipt status

Hi @paulmandal, any progress / time-line on when atak-forwarder will be compatible with 1.3?

Hey @paulmandal any updates regarding implementing meahtastic 1.3/2.0? How can we support your efforts? PayPal?
Thanks,
Petter

Closing this because it's stale


Indicate whether each source is a government

From @aimeehan1: Government source Y/N should be noted for each source

@aimeehan1 Could You add information about where this problem occurs?

@stanislaw-zakrzewski
Government Source Y/N is added / captured for each source when entering data.

However, this information does not appear for each source when you review the case information.

We also need to number each of our sources (Source 1, Source 2, Source 3, etc.), but this is captured in a different ticket. 'Data Source URL" would say 'Source 1'


vi$ fails inside of escaped braces for displayed math

Let test.tex be
\[
  \{$\theta$\}
\]

and  .vimrc contains
  xnoremap <silent><buffer> i$ :<c-u>call latex#motion#sel_inline_math(1)<cr>

Expected: If the cursor is on $\theta$ then vi$ higlights \theta.

Interesting. The reason this breaks is because we use the current syntax element to detect whether or not we are inside a pair of $s. In particular, we identify such areas with texMathZoneX. In the given case, we are already inside a different math environment, texMathZoneW, thus the function does not do anything.
The interesting part is: Why do you use the dollars in this case? The \[ and \] designate a math environment already?

Good question. Before turning into a mininal example, I stumbled on it by
\[\{\text{ all points $x$ that ... } \}\]

Yes, but in this case it works. At least it does for
\[ \{ \text{for $\theta$ in tested} \} \]

Ok. It was my erroneous escaping then.
I simply did not expect that vi$ depended on the correct TeX syntax but only checked if the pair itself has an opening and closing marker $.

I've found the current implementation (which is adopted from LaTeX-Box) to be pretty good. I've not experienced it to fail as of yet, except in the case you mentioned in the first post. But as I argued I don't think that case is good LaTeX code anyways.


Cant close debugger pane

Hi,
I couldn't find how to close the debugger pane ?
(I'm using the 'atom-material-ui' theme with 'atom-material-syntax' - in case that makes any difference).
Currently, I need to restart atom to close the debugger pane.
Any ideas ?

Have you tried shift-F5?

How did I miss that ??
Apologies - and thanks for a great plugin!


Call to a member function load() on string

I use like this:
$this->lang->load('error', 'english');
then show:
PHP Fatal error:  Call to a member function load() on string
CI version: 3.0.4
php version 5.6.30

@zuiyangqingzhou
I simulated your code.
But the same error did not appear

@zuiyangqingzhou
Please offer more codes.
Seems like you have set $this->lang to be a string in your controller/model.

Can you reproduce this on the latest released version or the develop branch?
Sent from my Android device with K-9 Mail. Please excuse my brevity.

This is a bug tracker, and the problem you have is within your own code; you can seek help on our forums instead.

There is a error_lang.php file in the directory ‘application/language/english/’, I just load this file in this way:$this->lang->load('error', 'english');  then occurred an error: 'PHP Fatal error:  Call to a member function load() on string in my.php'.
I can't find what's causing it, I have implemented it in another way. Anyway, thank you very much


Optimize images by running gulp-imagemin

I usually have a package.json and a gulpfile.js in each of my projects and manually run 'gulp' from command line to run gulp-imagemin to optimize all images in my project. I'd love it if I could optimize images without needing to add gulp task to my project.
Basically I'd like it if the 'vscode-optimize-images' plugin bundle the necessary gulp task.

If you're interested my files look something like this:
package.json
{
  "name": "optimise-all-images-in-folder",
  "private": true,
  "devDependencies": {
    "gulp": "^3.9.1",
    "gulp-imagemin": "^4.1.0"
  }
}

gulpfile.js
var gulp = require("gulp");
var imagemin = require("gulp-imagemin");

gulp.task("default", function() {
  gulp
    .src("**/*.+(png|jpg|jpeg|gif)")
    .pipe(
      imagemin({
        progressive: true
      })
    )
    .pipe(gulp.dest(""));
});

I'd love it if I could optimize images without needing to add gulp task to my project.

You can, just configure an external app with this extension.
Bundling imagemin with the extension is an interesting idea. I should check how much bigger the extension bundle would get though. @mentAl-maZe maybe this could kind of solve our problem with the progress notification, by effectively bundling a CLI app with the extension we have better control over this.

You can, just configure an external app with this extension.

Sorry, I meant 'I'd love it if I could optimize images without needing an external app or without needing to add gulp task to my project.' :-)
I use Windows mainly and there isn't a good equivalent app like ImageOptim on Mac. I used to Use full Visual Studio - and that had a neat extension (Web Essentials) where you could right-click on an image and select optimise and it'd do it right there and I've always wanted that feature in VS Code.


licensing?

Any chance of updating the licensing info for the repository? It looks like everything is GPLv3 from a quick look through the files, but it'd be nice to be explicit. Happy to issue a pull request if you prefer that.
For reference, I'd like to submodule this repo into another repository that is MIT licensed so I wanted the license file just to make clear the distinction between the two.

Well, there is currently no licence into this repository. However, I don't know if a licence of a compiled binary must be the same than its source. I'm talking about the ELF binaries  - bash and libc which are GPL and Macho which are BSD...
Anyway, I think you can fork this repository and choose your own licence :). However, I'm interested if you have answers about my previous questions. If we can put the MIT or BSD licence go ahead and send me a pull request :)
Cheers,

Pretty sure the compiled binaries need to have a license compatible with the source. Not necessarily the same, but not incompatible. IE, can't suddenly close-source any of them, or go from GPL->MIT (though the reverse is fine).
The repository as a whole doesn't have to have a license, it just makes things a bit easier if there is some documentation instead of forcing someone to look at each binary. I'll submit a PR describing the licenses for each individual file so it's at least documented. if you want to put another license on everything, you could with GPLv3.
Of course, IANAL, so take that for what it's worth. :-)

Also, ok if I mark everything inside anti-disassembler as MIT since that looks like your code?

Le 5 juin 2016 23:45, "Jordan"<EMAIL_ADDRESS>a écrit :

Also, ok if I mark everything inside anti-disassembler as MIT since that
looks like your code?

It's not my code, cc @perror.

@psifertex
Concerning the GPLed code, it surely must remain GPL as MIT is more permissive than GPL.
Concerning the toy examples for anti-disassembly, well, I consider this code as "public domain" and it should be kept as such. If you put an MIT license upon it, it will add a copyright on it... which will just break the thing.
Anyway, what is the gain of putting a restrictive license on a program which is, at most, 10 lines long and that will probably stay like this as it is just a benchmark?
Really, I don't see your point here... You must have a lot of spare time (which is not my case, sorry).

@perror I agree about GPL/MIT -- that's exactly what I said above about GPL -> MIT couldn't happen, but MIT -> GPL could.
Might I suggest an explicit note of public domain? Unfortunately the way copyright works in the US at least, not putting any copyright notice does /not/ make it public domain by default but rather fully protected. :-(
I have very little spare time  -- I'm just very careful with licensing as I'd like to include this repository in my company's public repository and we've already seen two occasions where a repository claimed a particular license but when we double checked, found differently licensed source intermingled internally.

@psifertex Yes, we should add something stating that the code is totally free of use... The problem is that I cannot find a suitable text stating that there is no copyright on this code... or maybe I missed it.
By default, the Github policy for unlicensed code is the following:

You're under no obligation to choose a license. It's your right not to include one with your code or project, but please be aware of the implications. Generally speaking, the absence of a license means that the default copyright laws apply. This means that you retain all rights to your source code and that nobody else may reproduce, distribute, or create derivative works from your work. This might not be what you intend.

Even if this is what you intend, if you publish your source code in a public repository on GitHub, you have accepted the Terms of Service which do allow other GitHub users some rights. Specifically, you allow others to view and fork your repository within the GitHub site.

If you want others to use, copy, modify, or contribute back to your project, we strongly encourage you to include an open source license.

So, the simplest way to get out this is simply to take the default license given by Github (because I did not find any convincing text stating that the code is in public domain).
But, between you and me, yes, take this code and do what you want with it. It is small, quick and dirty, and I am not even sure that I did it all by my side without getting inspired from other codes.

There's are public domain dedications out there. Creative Commons has CC0 and there's also the unlicense (unlicense.org) specifically for software. I'll make a PR and see what you guys think. Thanks.

I'll make a PR and see what you guys think.

Thanks.

Thanks -- sorry I forgot to issue the PR. :-/
This works for me.


[Fix-9420][doc] fix url wrong in zh doc

Purpose of the pull request
fix #9420
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.

I had approve and run CI.
But it seems do not need to run CI test if just change doc files.

I had approve and run CI. But it seems do not need to run CI test if just change doc files.

There is a filter condition that does not take effect in CI. I'll fix it.

@songjianet I find UI failed to build twice today, is there any bad commit currently?

@songjianet I find UI failed to build twice today, is there any bad commit currently?

Please check https://github.com/apache/dolphinscheduler/pull/9431, It may be due to the problem of not using pnpm's package manager, because pnpm is recommended for new front-end projects, but our back-end packaging tool does not seem to support it, so we can only temporarily do compatibility processing.

@songjianet I find UI failed to build twice today, is there any bad commit currently?

Please check #9431, It may be due to the problem of not using pnpm's package manager, because pnpm is recommended for new front-end projects, but our back-end packaging tool does not seem to support it, so we can only temporarily do compatibility processing.

@songjianet Please check that PR #9431, I've migrated from npm to pnpm in the CI build

Thank @songjianet for the clarification, and @lyleshaw please rebase on branch dev after #9431 merged.

Thank @songjianet for the clarification, and @lyleshaw please rebase on branch dev after #9431 merged.

Done.
Waiting for approval to run CI~

I had approved to run ci~

@caishunfeng 🚀 so fast~


please support dark mode

Dark mode support is included in release v0.3.0. Thank you for your feature request.


[VS Code] Starting collaboration session: Object reference not set to an instance of an object.

Error:
Starting collaboration session: Object reference not set to an instance of an object.
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS

extensionVersion
1.0.614

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.36.1

platformName
MacOS

platformVersion
18.6.0

@signhuwei: thanks for reporting this issue! Can you tell us more about what you were doing when you ran into this? It would also be helpful for our investigation if you uploaded your logs here. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

Closing due to inactivity. Please re-open if this you're still encountering the issue and can share more details. Thanks!


Explicit grouping in expressions

Need to have a way to explicitly add brackets when it is meaningful. For example: k = (i+1)+j.

I guess what needs to happen for this one is that our design discussion needs to be captured, put on the wiki, and then this issue can be made to point to that.

Added a quick wiki page for this one.


Refactor layout for assignment scoped views

There are a lot of common elements in the views for assignments/:id/...
We should refactor and extract common elements for the assignments scoped url into their own layout
Specifically

[ ] Settings
[ ] Groups
[ ] Graders
[ ] Tags
[x] Submissions (browse)
[ ] Summaries

Later on, we may want to consider using this layout consistently for other more generally scoped views like /students

I'm currently looking at this

When logged in as a student, the file manager is rendered without a layout. I'll put up a fix for this shortly.

@b2simms note: the comment from last year no longer applies, so you should be working just on using the new assignment_content layout.

Reason for marking as invalid:

the work was done but this issue was not closed


918 %sql parse JSON arrow operators incorrectly

Describe your changes

Found that in %sql only, parse.magic_args() is called to parse args from a %sql line. Because the line could contain a query like %sql select '{"key": 1}'::json -> 'key', items within the query could be mistaken as an argument. In this case, -> was mistaken for an argument because it begins with -. When passed to IPython.core.magic_arguments.MagicArgumentParser it threw an error. %%sql does not experience the same issue because queries are separated from args.

Modified parse.py to add remove_json_arrows_whitespace() - this function ensures there is no whitespace between the left operand and operator when specifying JSON fields.
E.g. %sql select '{"key": 1}'::json -> 'key' becomes %sql select '{"key": 1}'::json-> 'key'. As there is no space between -> and '{"key": 1}'::json, -> is no longer considered its own argument.

remove_json_arrows_whitespace() is called in magic_args() before args are passed to IPython.core.magic_arguments.MagicArgumentParser

Issue number
Closes #918
Checklist before requesting a review

[x] Performed a self-review of my code
[x] Formatted my code with pkgmt format
[x] Added tests (when necessary).
[x] Added docstring documentation and update the changelog (when needed)

:books: Documentation preview :books:: https://jupysql--938.org.readthedocs.build/en/938/

Tested locally and functionality looks fine. I think we should also add test cases for saving these queries as snippets and performing some query on the snippets.

Tested locally and functionality looks fine. I think we should also add test cases for saving these queries as snippets and performing some query on the snippets.

Added test_json_arrow_operators_with_snippets here. This test saves json operator queries as a snippet and then queries the result

I feel like a more reasonable approach would be to modify the parser so it ignores arguments after certain keyword is found. for example, we can use SELECT and select(with leading and trailing spaces) as the keyword.
once we encounter select we should assume that anything that comes after it is not an argument but the SQL query.

@edublancas I can see why this approach is more generalizable and thorough so I will get started on this.
Does it make sense to include other possible keywords for select-like queries? Keywords like from, with, or pivot for example? Beyond that, I could see cases where json would be used with update, delete, or insert into commands. Should I include these as well?

Does it make sense to include other possible keywords for select-like queries? Keywords like from, with, or pivot for example? Beyond that, I could see cases where json would be used with update, delete, or insert into commands. Should I include these as well?

good point. we can define a list of keywords that could delimit the beginning of the SQL query and include the ones you're mentioning

I feel like a more reasonable approach would be to modify the parser so it ignores arguments after certain keyword is found. for example, we can use SELECT and select(with leading and trailing spaces) as the keyword.

@edublancas I've implemented this approach in parse.split_args_and_sql() here. Let me know what you think~
One note - I manually defined possible SQL command keywords as a global list in parse.py. Not sure if there is a better/more thorough way to do this but it works with the current implementation. Let me know if I'm missing anything.


Bump synapse version and dependency versions

$subject
Adds the changes from https://github.com/wso2/carbon-apimgt/pull/12576 to the product

The test failures will be fixed through https://github.com/wso2/product-apim/pull/13535


fixshow tablet command return wrong result when having limit and offset

What problem does this PR solve?
show tablets from t order by x limit y, z produce wrong result. The original code limit the output and then sort. The correct way is do sort first and limit the output. This pr fix it.
Check List (For Author)

Test

[x] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

The original code limits the output and then sort. The correct way is to do sort first and limit the output. This pr fix it.
=>
The original code sort the limit results, while the correct way is to limit the sorting results. This pr fix it.


chore(master): release 0.9.0

:robot: I have created a release beep boop
0.9.0 (2024-03-01)
Features

updating from newer svd2rust (#59) (b4a9334)
updating from newer svd2rust (#62) (7d60ff1)
updating from newer svd2rust (#63) (1c5e610)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/xmc-rs/xmc4700/releases/tag/v0.9.0 :sunflower:


Remove unneeded config line for AMS.

The current version of AMS, 0.10.0, no longer requires this config for rails-api apps.
New docs: https://github.com/rails-api/active_model_serializers/blob/master/docs/general/getting_started.md#rails-integration
Old docs: https://github.com/rails-api/active_model_serializers/tree/0-9-stable#use-serialization-outside-of-actioncontrollerbase

Thanks!


Error message when creating a listing.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://carbonmark.com/projects'
Click on 'Profile'
Click on Create New listing
Create listing : Quantity 1 / Single unit price: 1
Click on create listing
Click on approve
Click on Submit
The listing is created but there is an error message

Expected behavior
No error message and Listing created
Screenshots

Desktop (please complete the following information):

OS: Window
Browser Chrome
120.0.6099.71

Additional context
Only happened once and I cannot reproduce it. Maybe with a fresh account.

@jabby09 FYI

@biwano @0xemc duplicate of https://github.com/KlimaDAO/klimadao/issues/1891

Not really sure what is happening; as mentioned the error is not consistent. I assume it is related to reading data of the blockchain and transactions/processes not in sync.

Not really sure what is happening; as mentioned the error is not consistent. I assume it is related to reading data of the blockchain and transactions/processes not in sync.

@biwano @0xemc duplicate of #1891

Thanks. @jabby09 Not sure of the protocol, I close this one then?

I close this one then?

let's leave it open for @Atmosfearful to consider
while #1891 is related not sure if it's exactly the same error
atmos...any ideas what might be causing this and should we build in some better error handling/messaging?

Definitely duplicate of #1891 moving discussion there.


Add the template for content authors to easily get started with dotnet try

@brettfo Where can I see those logs ?

Click Details to the right of the 'try-ci (Windows_NT)' status check then '0 errors / 0 warnings' under the success message, and view the 'Build / Test' step.  Finally in the log there are only 4 instances of 'Successfully created package'.

https://github.com/tintoy/dotnet-template-templates. I referred this repo for adding the csproj that will include the package id and all the metadata and it seems to work well 🗡

Also the above repo installs templates that looks like

@brettfo I am not able to understand how can I download the artifacts produced by this build. I went to the artifacts section but I see only logs there. Do we need to push it to myget to be able to see it ?


Update uuid to version 3.0.0

Version 3.0.0 of uuid just got published.
Hi there,
This week a new version of the uuid module got released. The old module which was available by the name node-uuid got deprecated and will show error message upon every install of the module.
To get rid of those install errors I've created this automated pull request. I've run some checks against your code base to test whether you're using one of the deprecated apis, but this isn't the case.
Please test the changes against your code. I didn't run any tests and therefore can't guarantee that it isn't breaking. You can also just close this pr if you don't want to update your module.
In case there's already another pr open to upgrade uuid, I'm sorry for the effort I'm causing.

Thank you Marc.
This repository is deprecated and shouldn't be used. As such, we're not going to upgrade dependencies.


Storybook setup script or working example

Is your feature request related to a problem? Please describe.
I spent a lot of time in trying to setup this amazing library with storybook, but all my trying was failed.
Describe the solution you'd like
Please provide some proper solution to setup uikit with your library, e.g. storybook setup script or example.

here is an example: https://github.com/dohomi/tamagui-kitchen-sink/tree/master/apps note that vite has some issues building, but the webpack version works great!

at the moment the newest versions are not working as expected.. #172 keeps track on this


The subcommand auto-completion example doesn't work

---@class MyCmdSubcommand
---@field impl fun(args:string[], opts: table) The command implementation
---@field complete? fun(subcmd_arg_lead: string): string[] (optional) Command completions callback, taking the lead of the subcommand's arguments

---@type table<string, MyCmdSubcommand>
local subcommand_tbl = {
    update = {
        impl = function(args, opts)
          -- Implementation (args is a list of strings)
        end,
        -- This subcommand has no completions
    },
    install = {
        impl = function(args, opts)
            -- Implementation
        end,
        complete = function(subcmd_arg_lead)
            -- Simplified example
            local install_args = {
                "neorg",
                "rest.nvim",
                "rustaceanvim",
            }
            return vim.iter(install_args)
                :filter(function(install_arg)
                    -- If the user has typed `:Rocks install ne`,
                    -- this will match 'neorg'
                    return install_arg:find(subcmd_arg_lead) ~= nil
                end)
                :totable()
        end,
        -- ...
    },
}

---@param opts table :h lua-guide-commands-create
local function my_cmd(opts)
    local fargs = opts.fargs
    local subcommand_key = fargs[1]
    -- Get the subcommand's arguments, if any
    local args = #fargs > 1 and vim.list_slice(fargs, 2, #fargs) or {}
    local subcommand = subcommand_tbl[subcommand_key]
    if not subcommand then
        vim.notify("Rocks: Unknown command: " .. cmd, vim.log.levels.ERROR)
        return
    end
    -- Invoke the subcommand
    subcommand.impl(args, opts)
end

-- NOTE: the options will vary, based on your use case.
vim.api.nvim_create_user_command("Rocks", my_cmd, {
    nargs = "+",
    desc = "My awesome command with subcommand completions",
    complete = function(arg_lead, cmdline, _)
        -- Get the subcommand.
        local subcmd_key, subcmd_arg_lead = cmdline:match("^Rocks[!]*%s(%S+)%s(.*)$")
        if subcmd_key and subcmd_arg_lead and subcommand_tbl[subcmd_key] and subcommand_tbl[subcmd_key].complete then
            -- The subcommand has completions. Return them.
            return subcommand_tbl[subcmd_key].complete(subcmd_arg_lead)
        end
        -- Check if cmdline is a subcommand
        if cmdline:match("^Rocks[!]*%s+%w*$") then
            -- Filter subcommands that match
            local subcommand_keys = vim.tbl_keys(subcommand_tbl)
            return vim.iter(subcommand_keys)
                :filter(function(key)
                    return key:find(arg_lead) ~= nil
                end)
                :totable()
        end
    end,
    bang = true, -- If you want to support ! modifiers
})

Add that to some plugin/foo.lua in 'runtimepath' and type :Rocks install ne. The Neovim command-line should complete to ne to neorg but doesn't.
Also worth mentioning that there's a bug in the README.md. The snippet above as the fix listed in https://github.com/nvim-neorocks/nvim-best-practices/pull/3

Tried again just now. The issue is actually wilder.nvim. And probably this other GitHub issue is related: https://github.com/gelguy/wilder.nvim/issues/159
Since there's nothing wrong here, I'll close this issue and chat over at wilder.nvim, thank you for double-checking!


fix(applications/api): add db:reset pipeline for dev and test (BOAS-1613)

Describe your changes

Added new yaml for a pipeline to run db:reset in only DEV or TEST

BOAS-1613 Seed failed in Dev
https://pins-ds.atlassian.net/browse/BOAS-1613
Type of change 🧩

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[x] I have performed a self-review of my own code
[x] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[x] I have referenced the ticket number above
[x] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

Describe your changes

Corrected job name for pipeline to run db:reset in only DEV or TEST

BOAS-1613 Seed failed in Dev
https://pins-ds.atlassian.net/browse/BOAS-1613
Type of change 🧩

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[x] I have performed a self-review of my own code
[x] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[x] I have referenced the ticket number above
[x] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes


Custom modules when using nixos/default.nix

First, I love Home Manager.  Thank you for all the work that you've put into this project!
I'm using Home Manager as part of my NixOS system configuration and would like to write some custom modules that wouldn't be useful to the general public.  In nixos/default.nix the hmModule submodule imports all of the Home Manager modules.
How would I go about adding a custom module?  I know I can write a standard NixOS module and use home-manager.users.myusername but I'm not sure how I can use the Home Manager properties directly (e.g. services, systemd.user.services, xdg.configFile, etc.)
Thank you.

Thanks for the kind words! :blush:
If you want home manager module to recognize a new module then you could simply use the imports option. For example in #252 you see the imports section, there you could put the path to your module file and it should be picked up by Home Manager and inside it your should be able to access all the Home Manger configuration and options as if it was a bundled Home Manager module.
Note, you might run into the same problem as @uvNikita did in #252 so keep an eye on that issue to see how things progress.

Closing this since #252 is the way to go.


Couldn't follow service via 2nd news feed

INFO     2018-04-12 15:56:25,710 users.py:145] Request identity: i@foo.com:be-berlare (ios)
INFO     2018-04-12 15:56:25,711 http.py:81] Incoming HTTP call from<EMAIL_ADDRESS>INFO     2018-04-12 15:56:25,913 log_offload.py:58] [XX-OFFLOADv1]{"request_data":{"c":[{"ci":"ab17db82-8d5a-4f4d-b9a7-1159cc93ad38","av":1,"a":{"request":{"code":"service-2deae733-7ea1-4b89-afd6-f7856a94660f@rogerth.at","allow_cross_app":false}},"f":"com.mobicage.api.friends.getUserInfo","t":1523548585}],"r":[],"a":[],"av":1},"timestamp":1523548585.913504,"user":"f9287797529002bbf5fdae57631f447b:be-berlare","type":"app","response_data":{"more":false,"r":[{"ci":"ab17db82-8d5a-4f4d-b9a7-1159cc93ad38","r":{"error":{"message":"*****","action":null,"caption":null,"title":"Error"},"avatar":"*****","description":"*****","type":2,"email":"07e74246eaca1a0e415ceb68c20da1d4","profileData":null,"avatar_id":5990689103937536,"name":"Demo Handelaar","descriptionBranding":"0C2C53ADD66C629DDADA9BA4ED856236BBB1ABB9D382A5EC88F7BAB3FD676D56","qualifiedIdentifier":"c19184ecb6d5ab76a86d7ca5dbe780e1","app_id":"be-berlare"},"s":"success","av":1,"t":1523548585}],"ap":"http://<IP_ADDRESS>:8080/json-rpc","av":1,"t":1523548585}}
INFO     2018-04-12 15:56:25,914 __init__.py:111] Handling /json-rpc - main_unauthenticated - 0.223s
INFO     2018-04-12 15:56:25,937 module.py:825] default: "POST /json-rpc HTTP/1.1" 200 8424
INFO     2018-04-12 15:56:26,106 __init__.py:474] [XX-SLOGv1] {"_i":"447a230cfc0080c7d707baf6904d2edfde9b","t":1523548586.105967,"T":"Thu, 12 Apr 2018 15:56:26.105","_c":"ZZ","a":{"type_":"user"},"f":"request_identification","e":"i@foo.com:be-berlare","_dc":"us1","_t":123145328189440,"m":"Request identification"}
INFO     2018-04-12 15:56:26,106 users.py:145] Request identity: i@foo.com:be-berlare (ios)
INFO     2018-04-12 15:56:26,107 http.py:81] Incoming HTTP call from<EMAIL_ADDRESS>INFO     2018-04-12 15:56:26,186 log_offload.py:58] [XX-OFFLOADv1]{"request_data":{"c":[],"r":[],"a":["ab17db82-8d5a-4f4d-b9a7-1159cc93ad38"],"av":1},"timestamp":1523548586.186855,"user":"f9287797529002bbf5fdae57631f447b:be-berlare","type":"app","response_data":{"more":false,"ap":"http://<IP_ADDRESS>:8080/json-rpc","av":1,"t":1523548586}}
INFO     2018-04-12 15:56:26,187 __init__.py:111] Handling /json-rpc - main_unauthenticated - 0.102s
INFO     2018-04-12 15:56:26,204 module.py:825] default: "POST /json-rpc HTTP/1.1" 200 79
INFO     2018-04-12 15:56:29,269 __init__.py:474] [XX-SLOGv1] {"_i":"447a230cfc0080c7d707baf6904d2edfde9b","t":1523548589.269235,"T":"Thu, 12 Apr 2018 15:56:29.269","_c":"ZZ","a":{"type_":"user"},"f":"request_identification","e":"i@foo.com:be-berlare","_dc":"us1","_t":123145328189440,"m":"Request identification"}
INFO     2018-04-12 15:56:29,269 users.py:145] Request identity: i@foo.com:be-berlare (ios)
INFO     2018-04-12 15:56:29,269 http.py:81] Incoming HTTP call from<EMAIL_ADDRESS>DEBUG    2018-04-12 15:56:29,286 friends.py:1466] Expected app_id of invitor to be in [be-loc, rogerthat], but was be-berlare
INFO     2018-04-12 15:56:29,322 service.py:222] Starting in new context: flex.friend.invited
{"callback_name":null,"id":"10268ea6-3e6a-11e8-a849-cb1969398dc0","params":{"tag":null,"message":null,"email":"i@foo.com","service_identity":"+default+","origin":"user_invite","language":"en_US","name":"IIIIiiiii","user_details":[{"avatar_url":"http://<IP_ADDRESS>:8080/unauthenticated/mobi/cached/avatar/5218557063331840","public_keys":[],"email":"i@foo.com","public_key":null,"language":"en_US","name":"IIIIiiiii","app_id":"be-berlare"}]},"method":"friend.invited"}
INFO     2018-04-12 15:56:29,323 __init__.py:474] [XX-SLOGv1] {"_i":"447a230cfc0080c7d707baf6904d2edfde9b","t":1523548589.323258,"T":"Thu, 12 Apr 2018 15:56:29.323","_c":"ZZ","a":{"message":null,"email":"service-2deae733-7ea1-4b89-afd6-f7856a94660f@rogerth.at"},"f":"com.mobicage.api.friends.invite","e":"i@foo.com:be-berlare","_dc":"us1","_t":123145328189440,"m":"T"}
INFO     2018-04-12 15:56:29,323 __init__.py:474] [XX-SLOGv1] {"_i":"447a230cfc0080c7d707baf6904d2edfde9b","t":1523548589.323606,"T":"Thu, 12 Apr 2018 15:56:29.323","_c":"ZZ","a":{"type_":"user"},"f":"request_identification","e":"service-2deae733-7ea1-4b89-afd6-f7856a94660f@rogerth.at","_dc":"us1","_t":123145332396032,"m":"Request identification"}
INFO     2018-04-12 15:56:29,325 users.py:182] Request identity<EMAIL_ADDRESS>(WEB)
INFO     2018-04-12 15:56:29,349 __init__.py:474] [XX-SLOGv1] {"_i":"447a230cfc0080c7d707baf6904d2edfde9b","t":1523548589.349044,"T":"Thu, 12 Apr 2018 15:56:29.349","_c":"ZZ","a":{"action":"news.followed","news_ids":[77506],"app_id":"be-berlare"},"f":"fti_news","e":"i@foo.com:be-berlare","_dc":"us1","_t":123145328189440,"m":"New follower"}
INFO     2018-04-12 15:56:29,421 log_offload.py:58] [XX-OFFLOADv1]{"request_data":{"c":[{"ci":"8ed676c7-aea7-4b77-84f4-39dfdcbe2442","av":1,"a":{"request":{"message":null,"allow_cross_app":true,"email":"07e74246eaca1a0e415ceb68c20da1d4"}},"f":"com.mobicage.api.friends.invite","t":1523548588},{"ci":"675af86f-5b87-4dd0-b647-d0ca13ce2d65","av":1,"a":{"request":{"news_ids":[77506],"type":"news.followed"}},"f":"com.mobicage.api.news.saveNewsStatistics","t":1523548588}],"r":[],"a":[],"av":1},"timestamp":1523548589.421813,"user":"f9287797529002bbf5fdae57631f447b:be-berlare","type":"app","response_data":{"more":false,"r":[{"ci":"8ed676c7-aea7-4b77-84f4-39dfdcbe2442","r":null,"s":"success","av":1,"t":1523548588},{"ci":"675af86f-5b87-4dd0-b647-d0ca13ce2d65","r":{},"s":"success","av":1,"t":1523548588}],"ap":"http://<IP_ADDRESS>:8080/json-rpc","av":1,"t":1523548589}}
INFO     2018-04-12 15:56:29,425 __init__.py:111] Handling /json-rpc - main_unauthenticated - 0.166s
INFO     2018-04-12 15:56:29,426 rpc.py:307] Finalizing futures...
INFO     2018-04-12 15:56:29,426 rpc.py:318] Future is completed: <Future at 0x1133bd350 state=finished returned unicode>
INFO     2018-04-12 15:56:29,433 log_offload.py:58] [XX-OFFLOADv1]{"user":"07e74246eaca1a0e415ceb68c20da1d4","response_data":"accepted","status":true,"type":"callback_api","request_data":{"callback_name":null,"method":"friend.invited","params":{"tag":null,"message":null,"email":"f9287797529002bbf5fdae57631f447b","user_details":[{"avatar_url":"http://<IP_ADDRESS>:8080/unauthenticated/mobi/cached/avatar/5218557063331840","public_keys":[],"email":"f9287797529002bbf5fdae57631f447b","public_key":null,"language":"en_US","name":"IIIIiiiii","app_id":"be-berlare"}],"origin":"user_invite","language":"en_US","name":"IIIIiiiii","service_identity":"+default+"},"id":"10268ea6-3e6a-11e8-a849-cb1969398dc0"},"function":"friend.invited","timestamp":1523548589.432975}
INFO     2018-04-12 15:56:29,434 friends.py:484] Storing accepted friend connection from i@foo.com:be-berlare to<EMAIL_ADDRESS>
ERROR    2018-04-12 15:56:29,471 add_1_monkey_patches.py:127] Caught exception while executing start_in_new_context callback function

Traceback (most recent call last):
  File "/Users/bart/mobicage/git/oca-backend/build/rogerthat/rpc/rpc.py", line 323, in finalize
    callback_func(future.result(), *args, **kwargs)
  File "/Users/bart/mobicage/git/oca-backend/build/rogerthat/rpc/service.py", line 196, in process_result
    context=service_api_callback, result=response)
  File "/Users/bart/mobicage/git/oca-backend/build/mcfw/rpc.py", line 164, in typechecked_return
    result = f(*args, **kwargs)
  File "/Users/bart/mobicage/git/oca-backend/build/mcfw/rpc.py", line 142, in typechecked_f
    return f(**kwargs)
  File "/Users/bart/mobicage/git/oca-backend/build/rogerthat/bizz/friends.py", line 1188, in invited_response_receiver
    poke, context, message_flow_run_id, user_data)
  File "/Users/bart/mobicage/git/oca-backend/build/mcfw/rpc.py", line 142, in typechecked_f
    return f(**kwargs)
  File "/Users/bart/mobicage/git/oca-backend/build/rogerthat/bizz/friends.py", line 1198, in process_invited_response
    allow_unsupported_apps=allow_unsupported_apps)
  File "/Users/bart/mobicage/git/oca-backend/build/mcfw/rpc.py", line 164, in typechecked_return
    result = f(*args, **kwargs)
  File "/Users/bart/mobicage/git/oca-backend/build/mcfw/rpc.py", line 142, in typechecked_f
    return f(**kwargs)
  File "/Users/bart/mobicage/git/oca-backend/build/rogerthat/bizz/friends.py", line 514, in makeFriends
    runMeResult, runHimResult = go() if db.is_in_transaction() else db.run_in_transaction_options(xg_on, go)
  File "/Users/bart/mobicage/git/oca-backend/build/add_1_monkey_patches.py", line 217, in wrapped
    r = run(transaction_guid)
  File "/Users/bart/mobicage/git/oca-backend/build/add_1_monkey_patches.py", line 197, in run
    return _orig_run_in_transaction_options(options, *args, **kwargs)
  File "/Users/bart/Downloads/google-cloud-sdk/platform/google_appengine/google/appengine/api/datastore.py", line 2647, in RunInTransactionOptions
    ok, result = _DoOneTry(function, args, kwargs)
  File "/Users/bart/Downloads/google-cloud-sdk/platform/google_appengine/google/appengine/api/datastore.py", line 2667, in _DoOneTry
    result = function(*args, **kwargs)
  File "/Users/bart/mobicage/git/oca-backend/build/rogerthat/bizz/friends.py", line 502, in go
    "%s and %s can not be friends" % (invitee_profile_info.user, invitor_profile_info.user))
  File "/Users/bart/mobicage/git/oca-backend/build/rogerthat/utils/__init__.py", line 406, in bizz_check
    raise error_class(error_message)
BusinessException<EMAIL_ADDRESS>and i@foo.com:be-berlare can not be friends

As i was investigating this, it turns out the old code or makeFriends is not working properly...
my changes didn't change anything related to make friends (https://github.com/rogerthat-platform/rogerthat-backend/pull/436/files)

Shall we debug this on your machine as the code looks good though


get balances by address is not returning xcp balance

Use the /addresses/balances?addresses= endpoint to get addresses, and compare to the return of the old /addresses/{address}/balances endpoint

For example:
 curl 'https://dev.counterparty.io:14000/v2/addresses/balances?verbose=true&addresses=tb1qmlykf0ej29ane2874y38c46kezr7jywrw6jqr9' | jq
{
  "result": [
    {
      "asset": "A12445442962327434604",
      "total": 1,
      "addresses": [
        {
          "address": "tb1qmlykf0ej29ane2874y38c46kezr7jywrw6jqr9",
          "quantity": 1,
          "quantity_normalized": "0.00000001"
        }
      ],
      "asset_info": {
        "asset_longname": null,
        "description": "",
        "issuer": "tb1qmlykf0ej29ane2874y38c46kezr7jywrw6jqr9",
        "divisible": true,
        "locked": false
      },
      "total_normalized": "0.00000001"
    }
  ],
  "next_cursor": null,
  "result_count": 2
}

this endpoint is still returning result_count: 2 but not actually return the xcp balance
vs the old endpoint:
curl 'https://dev.counterparty.io:14000/v2/addresses/tb1qmlykf0ej29ane2874y38c46kezr7jywrw6jqr9/balances' | jq

{
  "result": [
    {
      "address": "tb1qmlykf0ej29ane2874y38c46kezr7jywrw6jqr9",
      "asset": "A12445442962327434604",
      "quantity": 1
    },
    {
      "address": "tb1qmlykf0ej29ane2874y38c46kezr7jywrw6jqr9",
      "asset": "XCP",
      "quantity": 43
    }
  ],
  "next_cursor": null,
  "result_count": 2
}

Fixed here https://github.com/CounterpartyXCP/counterparty-core/pull/2099/files#diff-abf647f9fe7b03233f4a9838121b066383bbd5a6521d86af81d37e478cb69966


List of optimizations/issue  for docker

List of docker issues

The mysql service initialization script may be executed multiple times, resulting in repeated data insertion, which needs to be optimized (primary key optimization + initial process optimization) #issue

install-charts.sh can still start after the image fails to load # Loading Linkis image ... ERROR: image: "linkis:dev" not present locally

Whether the ldh environment is mounted to the host directory, and ecm is shared. Related tasks depend on material packages such as spark-submit (can it be solved in a unified way in ec containerization?)

UnknownhostException problem in ldh spark on yarn task, you need to specify the parameter spark.driver.host=linkis-demo-cg-engineconnmanager-headless.linkis.svc.cluster.local or modify the hosts configuration of the ldh container, which is temporarily passed Modify the host implementation of the ldh container prepare-for-spark.sh

Whether the ldh username and password problem needs to be adjusted to configuration or random. Whether the test mode Values.linkis.featureGates.testMode is turned off

install-linkis-to-kubernetes.sh script log optimization, adding some action log information

other

ldh support for other non-default engines
Whether the image packaging considers all engine materials to be added, and whether there is a size limit, the tar material release considers the download speed and svn restrictions, and there are only four engine plug-ins by default
Environment and configuration issues for additional dependencies (spark/hive home and conf)

容器化问题列表

mysql服务 初始化脚本 可能会被执行多次，导致重复插入了数据， 需要优化(主键优化+初始流程优化) #issue

install-charts.sh  load 镜像失败后依旧可以启动 # Loading Linkis image ... ERROR: image: "linkis:dev" not present locally

ldh 环境是否挂载到宿主机目录，ecm进行共享 相关任务依赖spark-submit等物料包（可以在ec容器化是统一处理解决?）

ldh spark on yarn任务unknownhostException 问题，需要在执行时指定参数 spark.driver.host=linkis-demo-cg-engineconnmanager-headless.linkis.svc.cluster.local或则修改ldh容器的hosts配置 ，目前临时通过 修改ldh容器的host实现 prepare-for-spark.sh

ldh 用户名密码问题 是否需要调整为配置或则随机 测试模式Values.linkis.featureGates.testMode是否关闭

install-linkis-to-kubernetes.sh 脚本日志优化，补充部分动作日志信息

其他

ldh 其他非默认引擎的支持
镜像打包是否考虑所有引擎物料都加入，考虑是否有大小限制，tar的物料发布考虑下载速度和svn限制，默认只有四个引擎插件
额外依赖的环境和配置问题(spark/hive home and  conf)

improved


[PDI-19513]-Editing Field Mapping Doesn't Flag Transformation as Changed

:white_check_mark: Build finished in 16m 52s
Build command:
mvn clean verify -B -e -Daudit -amd -pl ui

:exclamation: No tests found!
:information_source:  This is an automatic message

:white_check_mark: Build finished in 15m 36s
Build command:
mvn clean verify -B -e -Daudit -amd -pl ui

:exclamation: No tests found!
:information_source:  This is an automatic message

:white_check_mark: Build finished in 15m 25s
Build command:
mvn clean verify -B -e -Daudit -amd -pl ui

:exclamation: No tests found!
:information_source:  This is an automatic message


slideToClickedSlide + centeredSlides + loop breaks the loop when sliding to clicked slide

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/p/devbox/swiper-react-infinite-loop-forked-tzdj6h?embed=1&file=%2Fsrc%2FApp.jsx
Bug description
When clicking on a slide sometimes either the left or right part of the slides glitches or sometimes show blank slides but this cannot be true as loop is set to true, on my local machine left slides work fine but when clicking on right ones only one works and the next after that is empty. It appears back if I slide or navigate to the next slide. I'm not sure what seems to be the issue or if I am doing something wrong, I've real several existing closed issues saying to use loopAdditionalSlides but I keep getting a message saying Swiper Loop Warning: The number of slides is not enough for loop mode.
EDIT: it is also not working on Core / API, here with swiper 11 you can see the issue with the slides on the right, slide to click only works for two of the slides then its blank:
https://codesandbox.io/p/sandbox/swiper-infinite-loop-forked-59yjh3?file=%2Findex.html%3A10%2C31
Expected Behavior
When clicking on a slide it takes me to the clicked slide
Actual Behavior
When clicking on a slide it breaks the loop or shows empty prev/next slides. Bug better seen if only used slideToClickedSlide and not the navigation arrows or dragging of slides.
Swiper version
10.0.0
Platform/Target and Browser Versions
macOS Chrome V 123.0.6312.124
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

hello yes i got this bug , and like this how you fix it
this because the order of .swiper-slide-prev and swiper-slide-visible and swiper-slide-next inside .slide-wrapper,
so when using the navigation button next and loop (true) the order will be

nextSlide
prevSlide
visibleSlide

and it should be always in order like the following

prevSlide
visibleSlide
nextSlide

@ilyasselharak do you mean there is a fix? Sorry, I am confused by your comment

@wagnero11 yes, there's solution i mean when click on next button navigation the order of 3 div whithin the swiper-wrapper got unorder started by .swipe-slide-next and it should be .swipe-slide-prev first then .swipe-slide-visible then .swipe-slide-visible.
the problem only when using navigation with loop,
so some how just render the three divs order .
unorder divs

and it should be like this order
order div

Add configuration:
loopAdditionalSlides=1


community[minor]: Add indexing via locality sensitive hashing to the Yellowbrick vector store

Description: Add LSH-based indexing to the Yellowbrick vector store module
Twitter handle: @markcusack

@markcusack tag me or @baskaryan when you're ready for a re-review

@eyurtsev @baskaryan -- I've made the recommended changes. Really appreciate the input. Ready for review.

@eyurtsev @baskaryan  I've improved the transaction, connection and cursor handling. I've also added support for the delete API. I'm not planning to make any extra additions to functionality, unless you suggest otherwise. Thanks!

Left a few comment -- feel free to address in a separate PR if you think they're important. Merging as soon as tests pass.


New version: WHONET.2023 version 23.12.8

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Sequence contains no elements

Hi @drs


optimize the QueryStringEncoder

Motivation:
Optimize the QueryStringEncoder for lower memory overhead and higher encode speed.
Modification:
Encode the space to + directly, and reuse the uriStringBuilder rather then create a new one.
Result:
here is my benchmark result
if there is something to encode, such as qwer!@#$
Benchmark                                           Mode  Samples   Score  Score error  Units
b.UrlEncodeBenchmark.NettyUrlEncodeBenchmark        avgt       10  22.003        1.343  ms/op
b.UrlEncodeBenchmark.optimizedUrlEncodeBenchmark    avgt       10  14.965        0.468  ms/op

if there is no thing to encode, such as qwerqwer
Benchmark                                           Mode  Samples  Score  Score error  Units
b.UrlEncodeBenchmark.NettyUrlEncodeBenchmark        avgt       10  9.023        0.106  ms/op
b.UrlEncodeBenchmark.optimizedUrlEncodeBenchmark    avgt       10  4.696        0.054  ms/op

and here is my benchmark code :
@BenchmarkMode(Mode.AverageTime)
@OutputTimeUnit(TimeUnit.MILLISECONDS)
@Measurement(iterations = 10,batchSize = 100000)
@Fork(1)
@Warmup(iterations = 5)
@Threads(1)
public class UrlEncodeBenchmark {

    private static final String s = "/hello";

    @Benchmark
    public String NettyUrlEncodeBenchmark() {
        QueryStringEncoder encoder = new QueryStringEncoder(s);
        encoder.addParam("a","qwer");
        String result = encoder.toString();
        return result;
    }

    @Benchmark
    public String optimizedUrlEncodeBenchmark() {
        OptimizedQueryStringEncoder encoder = new OptimizedQueryStringEncoder(s);
        encoder.addParam("a","qwer");
        String result = encoder.toString();
        return result;
    }
}

update :
after applying the optimization from ByteBufUtil, the benchmark result becomes :
Benchmark                                           Mode  Samples   Score  Score error  Units
b.UrlEncodeBenchmark.NettyUrlEncodeBenchmark        avgt        5  21.062        0.431  ms/op
b.UrlEncodeBenchmark.optimizedUrlEncodeBenchmark    avgt        5   7.036        0.045  ms/op

@Liyixin95 benchmark could be wrong. You need either consume the result with BalckHole or return from the method. Dead code.

@doom369 thanks, I fix the code and has run the benchmark again.The result also has been updated.

Since I'm guessing we only care about UTF-8 we could just reuse the optimization from ByteBufUtil, see:<PHONE_NUMBER>40e64bcfc1a363c1e218bfa551b1ee. This is allocation-free apart from the final String.

@njhill thanks for comment,I will optimize my code and benchmark again

@normanmaurer These requested changes has been committed.

@netty-bot test this please...
@Liyixin95 can you run the benchmark again and update the numbers here ?

@netty-bot test this please...
@Liyixin95 can you run the benchmark again and update the numbers here ?

No problems.
If there is something to encode(UTF-8), such as qwer!@#$
Benchmark                                       Mode  Cnt   Score   Error  Units
UrlEncodeBenchmark.NettyUrlEncodeBenchmark      avgt    5  21.281 ± 0.013  ms/op
UrlEncodeBenchmark.optimizedUrlEncodeBenchmark  avgt    5   7.489 ± 0.021  ms/op

If there is something to encode(non UTF-8,UTF-16 in this case), such as qwer!@#$
Benchmark                                       Mode  Cnt   Score   Error  Units
UrlEncodeBenchmark.NettyUrlEncodeBenchmark      avgt    5  34.534 ± 0.409  ms/op
UrlEncodeBenchmark.optimizedUrlEncodeBenchmark  avgt    5  25.006 ± 0.017  ms/op

if there is no thing to encode, such as qwerqwer
Benchmark                                       Mode  Cnt  Score   Error  Units
UrlEncodeBenchmark.NettyUrlEncodeBenchmark      avgt    5  9.095 ± 0.028  ms/op
UrlEncodeBenchmark.optimizedUrlEncodeBenchmark  avgt    5  4.192 ± 0.010  ms/op

@slandelle PTAL as well

@netty-bot test this please

@netty-bot test this please

@netty-bot test this please

@franz1981 any concerns ?

@Liyixin95 please do was @franz1981 suggested and then we are good to go :)

@Liyixin95 please do was @franz1981 suggested and then we are good to go :)

I am sorry...I have to run these benchmark on my personal computer when I back home.Because previous benchmark were both run on my personal computer and my computer in company can't give a stable result...

@normanmaurer  @franz1981 here is the benchmark result
Benchmark                                            Mode  Cnt  Score   Error  Units
UrlEncodeBenchmark.arrayQueryStringEncoderBenchmark  avgt   15  7.249 ± 0.066  ms/op
UrlEncodeBenchmark.optimizedUrlEncodeBenchmark       avgt   15  7.418 ± 0.130  ms/op

But the encoded String was the same in this benchmark,I will provide a random one later

@Liyixin95 Sorry, but I'm lost in the details...can you provide/write on the bench numbers the pre-PR, post-PR results?

@Liyixin95 Sorry, but I'm lost in the details...can you provide/write on the bench numbers the pre-PR, post-PR results?

you mean this?
Benchmark                                            Mode  Cnt   Score   Error  Units
UrlEncodeBenchmark.nettyQueryStringEncoderBenchmark  avgt    5  21.788 ± 0.318  ms/op
UrlEncodeBenchmark.optimizedUrlEncodeBenchmark       avgt    5   7.238 ± 0.345  ms/op

The nettyQueryStringEncoderBenchmark use the origin implementation and the optimizedUrlEncodeBenchmark  use the implementation in this PR

@Liyixin95 thanks a lot!


protocol buffer build.sh error and show “protobuf test program failed to link”

I am setting up protocal buffer in my mac(10.14.4) I step by step according to the readme When I input ./scripts/build.sh in the terminal and it tells me: ERROR: protobuf test program failed to link: perhaps you need to add -Llibdir to your LDFLAGS.
what should I do? what is mean "add -Llibdir to your LDFLAGS" and how to fix it?

I am setting up protocal buffer in my mac(10.14.4) I step by step according to the readme When I input ./scripts/build.sh in the terminal and it tells me: ERROR: protobuf test program failed to link: perhaps you need to add -Llibdir to your LDFLAGS.
what should I do? what is mean "add -Llibdir to your LDFLAGS" and how to fix it?

did you fix it?

I have the same question, how to fix it?

I have the same question, how to fix it?

Do they still support the library ????

@thatsmerahul1 I think you need this. https://github.com/apple/swift-protobuf


Hello! Do I need Gemfile.lock?

I am having an issue where my index.html is publishing.
My local repo has Gemfile.lock but I don't see the file in my GitHub.com/tanukisack.github.io repo.
I'm already up-to-date between my local and github.com when I pull and push.
I have visited your site and see you have taken care of that issue! Congrats.

I took the liberty and added the file 'Gemfile.lock' myself and it seems to publish from github with the changes i've made to my config.yml. Not really sure why my local repo did not push the 'gemfile.lock' ☺