Model Checkpoints

Fantastic work!
Could you please tell me when the new model and checkpoints will be released? My collaborators and I are looking forward to taking advantages of this great work :)
Thank you very much if you can release them before long.

One month after CVPR DDL! With a super powerful self-supervised model weight.

Fantastic work! Could you please tell me when the new model and checkpoints will be released? My collaborators and I are looking forward to taking advantages of this great work :) Thank you very much if you can release them before long.

BTW, which model weight to your team want to use? Maybe I can check my experiments records.

Fantastic work! Could you please tell me when the new model and checkpoints will be released? My collaborators and I are looking forward to taking advantages of this great work :) Thank you very much if you can release them before long.

BTW, which model weight to your team want to use? Maybe I can check my experiments records.

Thanks for your reply! Our team want to use a pretrained model to obtain the local and global feature of an indoor scene. So we may be interested in model trained on an indoor dataset.

In this case you can first use pre-trained PTv3 with multi-dataset joint training here(https://huggingface.co/Pointcept/PointTransformerV3/tree/main).
And after cvpr, we will have a big update on the codebase, and released self-supervised pre-trained PTv3, this version is more flexible and powerful.

In this case you can first use pre-trained PTv3 with multi-dataset joint training here(https://huggingface.co/Pointcept/PointTransformerV3/tree/main).
And after cvpr, we will have a big update on the codebase, and released self-supervised pre-trained PTv3, this version is more flexible and powerful.

Thank you very much!
Could you please tell me whether the experiment records you published on the Hugging Face is corresponding to the codes in the main branch? Or another version?
My sincere thanks to you again!

Hi, I remember that it is for v1.5.1, and sorry for this inconvenience. I am just an individual contributor and don't have sufficient time to maintain these weights for different versions. I will have a big update at the end of this year with a super powerful self-supervised  PTv3.

Much appreciation for the excellent work.  I am kindly asking about when the weight of v3 will be release.


nsswitch.nix breaks internal DNS resolution for OpenVPN3

Describe the bug
In order for internal DNS resolution to work when using OpenVPN3 the nsswitch.conf hosts section should be as following:
hosts:     mymachines dns resolve files myhostname

Because nsswitch.nix " Note that "files" is always prepended, and "dns" and "myhostname" are always appended." this is impossible to achieve by using nscd configurations nor using any other NixOS method (that I'm aware of).
Right now I'm just mounting the /nix/store read-write and fixing it by hand after every nix-rebuild run...
Steps To Reproduce
Steps to reproduce the behavior:

Install OpenVPN3
Connect to a network that does have an internal resource with an existing internal DNS record.
Do a nslookup on this resource - it will work, nslookup goes straight to resolv.conf.
Try to connect to this resource using a browser, or try to ping the resource - it will NOT work and will fail with a DNS resolution error.

Expected behavior
DNS resolution to "just work" for OpenVPN3 internal resources.
Notify maintainers
@Stunkymonkey
@acid-bong
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
this path will be fetched (0.01 MiB download, 0.05 MiB unpacked):
  /nix/store/bc0as359y5y067dfp7afrq1f011m9ny3-stdenv-linux
copying path '/nix/store/bc0as359y5y067dfp7afrq1f011m9ny3-stdenv-linux' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.47, NixOS, 24.05 (Uakari), 24.05.4396.ae2fc9e0e42c`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"nixos-24.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Note
I'm available for helping testing fixes as I understand that not everyone has this use case! =)

Add a :+1: reaction to issues you find important.

Are you sure I'm the right fella? My only commit to the openvpn3 module didn't bring any functionality differences.

Maybe @jfly

Cool, got a better work-around than remount rw, find the file on /nix/store, edit it, remount read-only and then rinse and repeat on every nix-switch rebuild.
For any one out-there that could find this useful... Just:
$ sudo -i
# rm /etc/nsswitch.conf
# cat /etc/static/nsswitch.conf > /etc/nswitch.conf

Now, open /etc/nswitch.conf and edit it as you please, then:
# chattr +i /etc/nsswitch.conf

The command above will make the file immutable so new nix-switch rebuild will not overwrite it! =))


net: arp: Directly send the queued pkt

We must send the packet without queueing it. The pkt has already been queued for sending, once by net_if and second time in the ARP queue. We must not queue it twice in net_if so that the statistics of the pkt are not counted twice and the packet filter callbacks are only called once.
Fixes #62483

Nice find, the only thing I don't know if there is a potential for raise conditions by sending packets from another thread in special occasion. How do you see this?

Nice find, the only thing I don't know if there is a potential for raise conditions by sending packets from another thread in special occasion. How do you see this?

Could you elaborate a bit more what you mean, I did not quite catch the idea here?

ping @ssharks

Nice find, the only thing I don't know if there is a potential for raise conditions by sending packets from another thread in special occasion. How do you see this?

Could you elaborate a bit more what you mean, I did not quite catch the idea here?

Suppose you have a modem in PPP mode, there is a shared resource (UART) between the RX and TX channel. Under normal circumstances there is always a queue between the RX thread and the TX path. If the RX path keeps a lock, while processing the packet TX cannot happen, but under normal circumstances this is no issue and therefore will not be discovered. In this special situation, you might bypass this and might run into a deadlock. As long as you are sure it will never be called by the RX path it still should be OK.
Does this reasoning make sense?

As this is fixing an ARP issue it is only applicable for Ethernet but the question of course applies to that too. The Ethernet driver will not directly call this ARP function as there is RX thread that handles that. So there is no issue about locking here.

Thanks for clarifying


2.10.0 Release Marked Dirty

Summary
After following the release note instructions for downloading the 2.10.0 client and adding to /usr/local/bin, when running argo version, the tree state is marked as dirty.
Diagnostics
argo version
argo: v2.10.0+195c6d8.dirty
  BuildDate: 2020-08-18T23:05:49Z
  GitCommit: 195c6d8310a70b07043b9df5c988d5a62dafe00d
  GitTreeState: dirty
  GitTag: v2.10.0
  GoVersion: go1.13.4
  Compiler: gc
  Platform: linux/amd64

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Will be fixe in v2.10.1.


Typo

Thanks. Don't forget to export the notebook in the library after making a modification in futures PRs ;)


Add animated presentation detailing the Kubernetes GitHub Flow to developer docs

As suggested by/discussed with Tim Hockin.

Did you re-offer this PR?
On Wed, Mar 4, 2015 at 5:14 PM, Quinton Hoole<EMAIL_ADDRESS>wrote:

Closed #5082 https://github.com/GoogleCloudPlatform/kubernetes/pull/5082
.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/5082#event-246463593
.

Yeah, that's the branch that I subsequently deleted.
On Mar 4, 2015 22:53, "Tim Hockin"<EMAIL_ADDRESS>wrote:

Did you re-offer this PR?
On Wed, Mar 4, 2015 at 5:14 PM, Quinton Hoole<EMAIL_ADDRESS>wrote:

Closed #5082 <
https://github.com/GoogleCloudPlatform/kubernetes/pull/5082>
.
—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/pull/5082#event-246463593
.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/5082#issuecomment-77315861
.


chore: update error.rs

What is the purpose of the change
bellow -> below

Add a description of the overall background and high level changes that this PR introduces

This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added unit test that validates ...
Added integration tests for end-to-end deployment with ...
Extended integration test for ...
Manually verified the change by ...

Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

[ ] Specification (x/{module}/README.md)
[ ] Osmosis documentation site
[ ] Code comments?
[ ] N/A

Important note to contributors: We deeply value your contributions. However, due to a large influx of airdrop hunters, we are currently unable to accept small lint changes from first-time contributors. We encourage you to look for issues that offer more substantial contributions to the project or issues from the good first issue label. This helps us maintain the quality and integrity of the codebase, and provides a more meaningful experience for you as a contributor.


[Bug]: Problem opening bloons TD6 epic games

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[X] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[X] Tried restarting PC.
[ ] Was able to see the Start Screen.

Describe the issue.
I have this problem, I tried to install the loader, I even put it in a previous version to test, but it doesn't work
When starting the game (through epic games, through the game folder, through the game folder as administrator)
The loader screen appears and then it appears that the game has stopped responding
Latest.log
Did you attach your log file?

[X] Yes, I attached my log file to the text box above.
[ ] No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

Try updating MelonLoader to version 0.6.1 and also BTD6 Epic Games Mod Compat to 1.2.1

I have already updated the latest version of BTD6EpicGamesModCompat that is available
When you download 1.2.1 in the log it becomes 1.2.0....
And I also tested with the updated loader, in the log I sent it was with the old version but the new one also happens the same thing
Latest.log


Add license information

Hello!
I found link to this project from https://hackaday.com/2020/11/18/hacking-the-fpga-control-board-from-a-bitcoin-miner/
Could you please add information about license of this repository — is it allowed to copy, change and use code in any purpose?
It would be great to see any popular open source license.

A MIT License has been added. Enjoy it.

@xjtuecho , great! Thank you!


Metrics for logicalvolumes not referenced by pv

What should the feature do:
The metric should that (one or more) logicalvolumes are not associated with a pv anymore.
What is use case behind this feature:
We have a cluster with reclaimPolicy: Retain when the pvc / pv get manually deleted the logicalvolume resides on the node.
Currently we periodically check with `diff -y <(#list of lv) <(#list of pv) to determine if there are any leftovers.

We have a cluster with reclaimPolicy: Retain when the pvc / pv get manually deleted the logicalvolume resides on the node.

Could you tell me how to reproduce your situation step by step?

My storage class looks like this:
allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: ssd-local
parameters:
  csi.storage.k8s.io/fstype: ext4
  topolvm.cybozu.com/device-class: ssd
provisioner: topolvm.cybozu.com
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer

Create a deployment with PVC
Delete PVC, the PV reamins as it should according to the StorageClass
Delete PV, the Logicalvolume reamains

Do you need some details about the TopoLVM deployment?

Do you need some details about the TopoLVM deployment?

No, proably the provided information is enough. Please wait for a while.

I succeeded to reproduce your problem.
Since TopoLVM doesn't case Retain policy, topolvm keeps LogicalVolume CR as is on PVC deletion.
https://github.com/topolvm/topolvm/blob/main/docs/limitations.md#storageclass-reclaim-policy

TopoLVM does not care about Retain reclaim policy because CSI volumes can be referenced only via PersistentVolumeClaims.

The metric should that (one or more) logicalvolumes are not associated with a pv anymore.

IMO, introducing the new metrics is too much in this case. I'd like to update the limitations.md. If you'd like to watch remaining LogicalVolumes, please use the current way or implement external metrics on your own.

Ok, no problem. I'll look into implementing some sort of watcher.
Can be closed then.


 If not, how would I do so?
Also, when I do this:
what it should do: http://i.imgur.com/NTUPHRd.png
(calls static method in the default namespace from another assembly)
in code: http://i.imgur.com/fNsbefL.png
I get this error: "Error: dnlib.DotNet.Writer.ModuleWriterException: Error calculating max stack value."
Any help is greatly appreciated,
erherhh4herh.

As for the first question:
That's not implemented, it will be added later, I'm pretty busy atm. Please make a new issue with that feature request. A little workaround would be to get the methodbody and loop through the instructions and insert new instructions after reaching the point where you want to inject opcodes. Then add the other opcodes again. Create a target from that, and call .Patch() and it will overwrite it.
As for the second question:
I need more information about the issue. Can you refer me to that project?

It's adding a hook to a modding api dll i created to a script in the game Subnautica (unity engine game).  It accesses a DLL containing the entry point which is in the default namespace, so all i had to do in dnspy was add a reference to the dll and then bam, it gave me those instructions (with the methodbody C# editor). Can't really send you the scripts for legal reasons, but it shouldn't be a problem since i found another way to do things. Thank you for your help, though!

Ok, I will close this Issue then...


[QUESTION] How to use lambda triggers?

README says that TriggerFunctions is a Record<string, string>, but this string is a HTTP endpoint? File path of the handler?
Also, thanks for the project!

Hey @WandersonAlves, it's just the function name. The readme does say that but perhaps it's not clear enough.
If you also use the LambdaClient config you can get cognito-local to invoke functions on your local machine too (e.g. if you're using serverless-offline or something similar).
For example, my config is:
{
  "LambdaClient": {
    "endpoint": "http://host.docker.internal:3002"
  },
  "TriggerFunctions": {
    "CustomMessage": "cognito-custom-message",
    "PostConfirmation": "cognito-post-confirmation",
    "UserMigration": "cognito-user-migration"
  }
}

I've updated the README to include a section on how to use Lambda Triggers, hopefully that helps future users. I'm going to close this issue now, but feel free to reopen if anything is still unclear.


_redirects sorted wrong when using catch all route and dynamic routes

The change #145 "revert route/redirect sorting logic to static then dynamic" causes the _redirects file to be sorted wrong when using an optional catch all route and dynamic paths.
How to reproduce
This problem happens when we have the following routes:
pages/_app.js
pages/[[...any]].js
pages/[bar]/test.js
pages/test.js

Clone https://github.com/amuttsch/non-routes
Execute the following command
yarn install
yarn netlify

Problem
The resulting _redirects file looks like this on version ^2.8.3
# Next-on-Netlify Redirects
/_next/data/tveFS5JTA64mmnqiHIWfA/test.json  /.netlify/functions/next_test  200
/_next/data/tveFS5JTA64mmnqiHIWfA/index.json  /.netlify/functions/next_any  200
/_next/data/tveFS5JTA64mmnqiHIWfA/*  /.netlify/functions/next_any  200    <------ catches ":bar/test.json"
/api/hello  /.netlify/functions/next_api_hello  200
/test  /.netlify/functions/next_test  200
/_next/data/tveFS5JTA64mmnqiHIWfA/:bar/test.json  /.netlify/functions/next_bar_test  200
/_next/image*  url=:url w=:width q=:quality  /.netlify/functions/next_image?url=:url&w=:width&q=:quality  200
/:bar/test  /.netlify/functions/next_bar_test  200
/  /.netlify/functions/next_any  200
/_next/*  /_next/:splat  200
/*  /.netlify/functions/next_any  200

The data routes /_next/data are split into two groups. /_next/data/tveFS5JTA64mmnqiHIWfA/*  /.netlify/functions/next_any  200 catches any data route, but /_next/data/tveFS5JTA64mmnqiHIWfA/:bar/test.json  /.netlify/functions/next_bar_test  200 is below this redirect. This causes our application to fail to load data when the user does a client side transition.

Awesome, thanks for the quick fix :-) I'll check it when a new release is available! :-)

Awesome, thanks for the quick fix :-) I'll check it when a new release is available! :-)

@amuttsch hey! this was just released :)

@amuttsch hey! this was just released :)

Perfect, thanks! Our deployments look correct with 2.8.5 :tada:

Perfect, thanks! Our deployments look correct with 2.8.5 :tada:


English - Belgium not supported as culture identifier

Describe the problem
Error HTTP/500: Internal Server Error.
Culture is not supported. (Parameter 'culture')
4096 (0x1000) is an invalid culture identifier.
Bravo version
0.9.3 (0.9.8139.22766)
Tabular model
Power BI Desktop, import mode
Power BI
Power BI Desktop version March 2022
Steps to reproduce the behavior

Go to: Windows settings => Language & region
Change the Regional format into English (Belgium)
Go to: Power BI Desktop => External Tools
Click on Bravo
You get the error!!

Additional context
No response
Screenshots

Anything else ?
Trace Id: 00-434c2d5f08eb8961e9cb9087a6e8dcf3-9f8e07489e291bb8-00

I think we cannot solve this error because it is not raised by the application but by the Microsoft libraries that Bravo uses to communicate with the Power BI database server (Analysis Services). The culture "English (Belgium)" is identified by the LCID value 4096 which is LOCAL_CUSTOM_UNSPECIFIED and it is assigned to any culture that does not have complete system-provided data.
In this particular case I think the error is probably generated by trying to apply/translate into the en-BE culture another error message received from the server. Can you try to change the Windows display language to en-US? Does the application display a different error message?
Is this report a local Power BI Desktop report or is it connected to an online dataset? Can you please share a new and empty PBIX file created on your machine?

Hi Alberto,
Thanks for the fast reply.
I have changed the Windows display language to English (United States). But that did not remove the error.
The error only occurs when I use as Regional format English (Belgium), see print screen.
@.***
If I use as Regional format Dutch (Belgium) or French (Belgium), everything works fine (even in an empty file, see further).
I just installed Bravo yesterday and clicked on the Bravo button in External tools tab in Power BI Desktop.
The Power BI Desktop is completely empty, I just wanted to make sure it worked.
Doing some tests, I just noticed that if I start up Bravo in Power BI Desktop that has a model and some report pages, then I do not get the error 😊. Even with English (Belgium) as regional format.
But whenever the file is empty then I get the error.
Therefore, I would classify this as not at all urgent/important. Sorry for the disturbance.
But if you are interested to further investigate, I have attached the empty pbix files Bravo Test. This is completely empty and gives the error (probably because it is empty in combination with the English (Belgium) regional format)
Kind Regards,
Luc Appelmans
GSM: +32 473 110 150
<EMAIL_ADDRESS>From: Alberto Spelta @.>
Sent: Friday, 15 April 2022 13:47
To: sql-bi/Bravo @.>
Cc: Luc Appelmans @.>; Author @.>
Subject: Re: [sql-bi/Bravo] English - Belgium not supported as culture identifier (Issue #324)
I think we cannot solve this error because it is not raised by the application but by the Microsoft libraries that Bravo uses to communicate with the Power BI database server (Analysis Services). The culture "English (Belgium)" is identified by the LCID value 4096 which is LOCAL_CUSTOM_UNSPECIFIEDhttps://docs.microsoft.com/en-us/windows/win32/intl/locale-custom-constants and it is assigned to any culture that does not have complete system-provided data.
In this particular case I think the error is probably generated by trying to apply/translate into the en-BE culture another error message received from the server. Can you try to change the Windows display language to en-US? Does the application display a different error message?
Is this report a local Power BI Desktop report or is it connected to an online dataset? Can you please share a new and empty PBIX file created on your machine?
—
Reply to this email directly, view it on GitHubhttps://github.com/sql-bi/Bravo/issues/324#issuecomment-1100058830, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYW7E5DWGBB2C4H5Q5UK5DDVFFJJTANCNFSM5TONQNEA.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Hi @Luc-Appelmans, sorry but I'm not able to see any attachments, this is probably because replying by mail seems to get rid of any attachments. I think you have to reply through GitHub if you want to add a file to the thread. Thanks.

Hi Alberto,
Sorry for my late reply. Here is the file.
Bravo Test.zip
Though, as I mentioned, I only have the issue with an empty file.
Luc

Thanks @Luc-Appelmans! Finally managed to solve the error and the fix will be available in next release.

Fixed in version 0.9.4

This issue only affects the .NET6 version of the framework and not the .NETFX/Core3.1/5.0 versions - see https://github.com/dotnet/runtime/issues/62929
There's a config setting we can use in .NET 6.0 to obtain the same behavior as in .NETFX/Core3.1/5.0:
<ItemGroup>
  <!-- Opt-out and use NLS instead of ICU globalization APIs -->
  <RuntimeHostConfigurationOption Include="System.Globalization.UseNls" Value="true" />
</ItemGroup>


Scale factor.

On class  QuantConnect.Util.LeanData, the Scale function is using integer 10000.   A typical  FX quote would have five digits after the decimal point. I think this rounding is doping the last digit.

In LEAN master scale factors are only applied to equities, options and futures. You may have an old build which had that issue. https://github.com/QuantConnect/Lean/blob/5542e6cd9c741bb77ddf5a092fef96b67d8b0d56/Common/Util/LeanData.cs#L91


Add option to prefix delegated setters

This PR adds a prefix option to generate_delegate which adds a prefix to all the setters delegated. For example, if you have this situation:
#[derive(Setters)]
#[setters(generate_delegates(ty = "PrefixBasicDelegateField", field = "x", prefix = "with_"))]
struct BasicStruct {
    a: u32,
    b: u32,
    c: u32,
}

struct PrefixBasicDelegateField {
    x: BasicStruct,
}

Then the struct PrefixBasicDelegateField would have the setter functions with_a, with_b, and with_c.

Merged, but skipped cce7a31 because it's better to do that on release.


Cannot bundle when it includes an already bundled module

In package A I am bundling with latest browserify + babelify library code written in ES6 into its /dist/a.js file whichi is also defined in the main entry of its package.json. And it's published like that to npm along with its source code in the /src folder.
Now, in another project B, I am requiring that package A in the app code and browserify all together before running the app B. And here it fails, it cannot resolve some dependencies A is having.
Makes me wonder if it's good practice to browserify another bundle which already has been browserified?
(on a side note, it does not happen when main in package.json is pointing to the source code entry instead of the dist file. So that confirms it's a bundling issue.)

Hi,
published NPM packages should not be bundled to allow bundlers like Browserify or Webpack or NodeJS runtime consuming them. You can't require already bundled module. Packages published to NPM should be bundler agnostic.
You should publish your package with "dist" code transpiled to ES5 using Babel and optionally with ES2015+ source code.

right, i figured that out but then, found a cool solution: just bundle with the standalone option, use the derequire plugin afterwards et voila, you can put that in /dist and publish on npm. another project can require() it and browserify all over again without problems. works! standalone + derequire is the trick.


CMake Error: failed to create symolic link.

Having an issue when attempting to build. I have all of the dependencies installed I believe, and I most of the build goes smoothly until 78%. Screenshot attached.

You have a file system, which doesn't support symlinks. You can hardly have Linux distribution on such file system. You can find some examples, when this is possible in https://askubuntu.com/questions/235700/linking-error-when-trying-to-compile-on-a-shared-drive.

What file system should I run? This is an SD I’m building it on, so I can easily reformat it to whatever is needed.

You have a file system, which doesn't support symlinks. You can hardly have Linux distribution on such file system. You can find some examples, when this is possible in https://askubuntu.com/questions/235700/linking-error-when-trying-to-compile-on-a-shared-drive.

^

Use a filesystem, recommended by your OS, for example, ext4.


[Feature] Mac Support

[x] Used appropriate template for the issue type
[x] Searched both open and closed issues for duplicates of this issue
[x] Title adequately and concisely reflects the feature or the bug

Is your feature request related to a problem? Please describe.
I'm always frustrated when my pepperonis on my frozen pizza aren't aligned perfectly. On the topic of this ticket though: I know that back in the day there was a version of Better Discord that could run on macOS systems. I'm curious if that's still available, or if there are any plans to bring it back?

Describe the solution you'd like
That this would work with mac.

Describe alternatives you've considered
Not using a mac. But nah, i'm a developer.

Additional context

Are you willing and able to implement this?
Maybe? I'm completely unfamiliar with this code bank.

Not using a mac. But nah, i'm a developer.

Developers use many different systems, we thankfully aren't locked down to Mac--I myself use Windows. In fact only one of the devs of this project uses Mac.
On that note, BDv2 does actually support Mac. Installer support for Mac is to come at a later time.

Until the support is added, I found that the BandagedBD fork of https://github.com/Jiiks/BetterDiscordApp seems to work well on mac.

Yeah that's my fork of v1. V2 is still usable using the instructions in the wiki without the installer.
I'll be closing this but feel free to open it in the installer's repository. Should be JsSucks/BDInstaller


Ability to tell whether the update/mutation is dirty (has changed fields)

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡
Say i have a Payment entity with many columns.
Now i want to update the payment with some data:
update := client.Payment.Update()
if req.Description != nil {
    update.SetDescription(*req.Description)
}
if req.Source != nil {
    update.SetSource(*req.Source)
}
// ... other columns are set here

// it would be nice to have some api to know whether we changed any fields
if !update.HasChanges() {
    // do some logic here, like error out with invalid request or something
}

I was not able to find such method, maybe it would be a good addition to the update/mutation API ?
Motivation 🔦
I want to avoid running updates that do not change any fields.
Thanks for open sourcing this great project.
Many greetings,
Juraj

Hey @jbub and thanks for opening this issue.

I want to avoid running updates that do not change any fields.

I have a quick question before - currently, when you try to apply an empty update mutation, ent will not execute any UPDATE operation on the database. It works for both Update and UpdateOne:
https://github.com/ent/ent/blob/c53b45ddb02a6ac1ddc24c623d8d04f32f9ed6b8/dialect/sql/sqlgraph/graph.go#L726
https://github.com/ent/ent/blob/c53b45ddb02a6ac1ddc24c623d8d04f32f9ed6b8/dialect/sql/sqlgraph/graph.go#L664
Also, in some cases, your mutation can be dirty but don't change any row on the database. For example:
client.Pet.Create().SetName("A").SaveX(ctx)
client.Pet.Update().SetName("A").ExecX(ctx)

If you still need this API, I can help to generate it using a custom template, or you can use something as follows:
func IsDirty(m ent.Mutation) bool {
	if m.Op().Is(ent.OpCreate | ent.OpDelete | ent.OpDeleteOne) {
		return true
	}
	return len(m.Fields()) > 0 || len(m.AddedFields()) > 0 || len(m.ClearedFields()) > 0 ||
		len(m.AddedEdges()) > 0 || len(m.ClearedEdges()) > 0 || len(m.RemovedEdges()) > 0
}

Hello, thanks for the info, that is all i need, i did not know there is actually a check for this, i guess i was not looking deep enough :) Thank you, we can close this one :)

Sure, happy to help 😃
Please feel free to join our Slack channel in the Gophers Slack. Also, if you're interested to get ~monthly updates on our new releases and features, subscribe to our newsletter 🙏


improve add profile for WaitFlushLimitTime

Proposed changes
Add profile for WaitFlushLimitTime, which represents the time waited for memtable flush_running_count limit.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Attempting a native scrollbar for the virtual list view

Since I wanted to use list-view in a few projects over at anfema, I tried to wrap my head around a way to  add a native scrollbar to virtual listviews.
I thought it might be wise to discuss or gather previous attempts before I start implementing my own solution.
My idea so far is basically a reverse of the concept of Antiscroll - Make a container for just each scrollbar predicting the scrollbar size where possible, add a spacer element to get the right overflow size and listen to the scroll event to adjust the scroll position of the list-view or set scrollTop/Left when the list-view is scrolling. It might be wise to limit/throttle the scroll events, but other than that it seems like a very feasible solution.
A trade-off for this scenario would be a small amount of dead space where the scrollbars would be if the platform hides them by default (Safari, Mobile Browsers). Maybe we can use pointer-events:none to counter-act this for most cases (IE < 11 does not support the css property)
While I'm quite clear on how to add this to the component (seriously, writing code for Ember is just great), I'm not sure if the trade-off makes this solution a perfect candidate to be included by default, so should I implement it as another subclass then?
Would be nice to hear your thoughts on this.

This is very interesting.

reverse of the concept of Antiscroll
Is it reverse in what it will do or reverse in how it works?

Is the intention to allow scrolling the page and thereby scrolling the content inside of the list-view?

why not just use non-virtual?

@taras I should have clarified that: Antiscroll adds custom scrollbars to an element by wrapping the element in a container, hiding the regular scrollbars in the overflow. This way all native scrolling behaviour for the element is retained.
For the virtual-list-view, we already have simulated scrolling behaviour, so we pretty much want the opposite of Antiscroll, showing native scrollbars for virtual overflow like I described in the ticket. The scrollbars would still be with the element, not somewhere else on the page, as I just wanted to bring the virtual view on the same level as the regular one.
@stefanpenner We have a lot of users on iPhone and iPad, so preventing any lag would be preferred. If the non-virtual view no longer suffers the problems described in the first paragraphs of the README, I'll happily switch over :smile:

I believe recent iOS sorted out the main problem. It would be worth seeing how your app performs

We don't use list-view right now (doing a lot of pagination), but I'll see if can try it's current version in a branch and/or create a testcase for our scenario.
However, while iOS 8 is great (and solves at least this problem for me), I'm not so sure about Android or the behaviour found in #229 though. If you think those concerns become invalid with the latest version of list-view, feel free to close this ticket, if not, I'll give it a shot and try to extend virtual-list-view.


(GH-75) Add Node completion snippet

This commit adds a completion item for the node keyword when in the root of
a puppet manifest.  This is not applicable for Puppetfile or EPP files.
Fixed #75

@AlexisLessard Would this work for you?

Yes, this seems to work the same as when I defined it in vscode.  And I see that the module PuppetLanguageServer::Manifest::CompletionProvider is indeed only called when the file type is manifest in message_router.rb. Thank you!


Scrcpy Galaxy Tab a7

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: [e.g. Debian, Windows, macOS...]
scrcpy version: [e.g. 1.12.1]
installation method: [e.g. manual build, apt, snap, brew, Windows release...]
device model:
Android version: [e.g. 10]

Describe the bug
A clear and concise description of what the bug is.
Everytime, i want to open the Program, it does show off this screen:

and the programm closes after some seconds
When i try it with my Galaxy Tab A, it actually does work
On errors, please provide the output of the console (and adb logcat if relevant).
Please paste terminal output in a code block.

Please do not post screenshots of your terminal, just post the content as text instead.

Duplicate of #833.
(and please do not post a screenshot of text, post the text content instead between ```)

it actually isnt a duplicate, the thing is, i cannot write in the program so i cant even fix the problem

i cannot write in the program so i cant even fix the problem

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#command-line-on-windows

wich file do i have to plug in there, the whole file on scrcpy?

@rom1v
but how do i even write in the command section, everytime i want to write in there after opened the file on the command program, it does open a new section where i have to write another file name

but how do i even write in the command section, everytime i want to write in there after opened the file on the command program,

Follow the exacts steps here: https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#command-line-on-windows
At which step do you encounter a problem?

@rom1v i did open it, but after i want to write in there, but it does want to open a new file

Open a new file? What do you mean?
Copy the whole terminal content here (or post a screenshot if it involves more windows).

@rom1v i actually did open it yesterday, but today i cant do so, because i dont know how i have to write down the path, could you may help me? the path is D: then Scrcpy and then scrcpy-server

scrcpy-win64-v1.21\scrcpy-... file pushed, 0 skipped. 44.6 MB/s (40067 bytes in 0.001s)
[server] INFO: Device: samsung SM-T500 (Android 11)
[server] ERROR: Exception on thread Thread[main,5,main]
android.media.MediaCodec$CodecException: Error 0xfffffff4
at android.media.MediaCodec.native_configure(Native Method)
at android.media.MediaCodec.configure(MediaCodec.java:2127)
at android.media.MediaCodec.configure(MediaCodec.java:2043)
at com.genymobile.scrcpy.ScreenEncoder.configure(ScreenEncoder.java:233)
at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:86)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:65)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:93)
at com.genymobile.scrcpy.Server.main(Server.java:309)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:409)
INFO: Renderer: direct3d
INFO: Initial texture: 1200x2000
WARN: Device disconnected
WARN: Killing the server...

exactly this one came out there

@rom1v


Animation is triggered before DOM fully populated

My apology for the ambiguous title but I think this is basically what has happened.
In the application.hbs, we render the application DOM based on the authenticated value on loginController like the following:
{{#if controllers.login.authenticated}}
    /*sidebar that will only show when user is authenticated*/
{{/if}}
{{liquid-outlet}}

In this case, if user is not authenticated, the content of {{liquid-outlet}} will take up the whole page; When the user is authenticated, {{liquid-outlet}} will take the window.width - sidebar width. Originally the logic was put into view layer and since the controller runs before the view render, so the moment the view function is triggered, the function for certain knows whether the sidebar will be there or not. However, in liquid-fire, since the hook is on route and the animation seems triggered before the DOM is fully populated, so actually the first time when sidebar got rendered/destoryed, {{liquid-outlet}} is not aware that sidebar will toggle.
I put together a JSBin to show the idea, http://emberjs.jsbin.com/qahivi/edit?html,css,js,output
(My apology I cannot make it fully functional as it seems cannot get newView/oldView custom animation function in JSBin, but at least it helps reproduce the problem)
I currently end up using the ember run loop to defer the resize function as a complete callback of velocity animation.
complete: function(){
    Ember.run.scheduleOnce('afterRender', this, function() {
            // calculate the div width here
    });
}

This works but somehow looks ugly and may be very confusing to others. I wonder if there is a better solution in this case? Please help me out and thanks in advance!!

Hi @ef4 Did you have a chance look at it? Or could you give some clue on how liquid fire fit in the ember run loop, so that I can validate my hypothesis? Thanks!

It sounds like you'd be better off not using the automatic container element provided by liquid-outlet and instead managing the layout yourself. This would involve switching from your current {{liquid-outlet}} to something like:

{{liquid-outlet containerless=true}}

.my-container {
  position: relative;
  /* handle width & height as needed */
}
.my-container .liquid-child {
  position: absolute;
  width: 100%;
  height: 100%;
}

I will try it out today~ @ef4
Is this also applicable to liquid-modal? And I wonder if the component object is accessible in the customize animation, either in newView or newValue, or how may I get access to it?
I need to have some set-ups before the modal can be shown and that method is directly attached to the component object.
Thanks!

@ef4
I probably haven't make my problem clear enough, but positioning of the liquid fire container isn't something I am trying to tackle with, rather the problem is I try to calculate the width and height based on other elements that are not in the {{liquid-outlet}}.
After 1 week working with liquid fire, I am pretty aware that anything before return statement will not be ensured to be run after the DOM is populated. So I end up either scheduled them directly utilizing ember run loop or return them as the the promise object before/after animation.
Will is be possible to add some customize hook ups just like ember-animation did? In fact, it is not difficult just like the following and I saw people do it in other open issues as well.
import { isAnimating, finish, timeSpent, animate, stop } from "liquid-fire";
export default function fadeEnhanced(opts={}) {
  var fromRoute = this.oldValue.outlets.main? new RegExp(this.oldValue.render.name + '.+') : new RegExp(this.oldValue.render.name);
  var toRoute = this.newValue.outlets.main? new RegExp(this.newValue.render.name + '.+') : new RegExp(this.newValue.render.name);
  var targetOldView = findtargetView(this.oldView, fromRoute, 0);
  var targetNewView = findtargetView(this.newView, toRoute, 0);
  if(!targetOldView){
    fromRoute = new RegExp(this.oldValue.render.name);
    targetOldView = findtargetView(this.oldView, fromRoute, 0);
  }
  if(!targetNewView){
    toRoute = new RegExp(this.newValue.render.name);
    targetNewView = findtargetView(this.newView, toRoute, 0);
  }

  if(targetOldView){
    var willAnimate = targetOldView.get('willAnimateOut');
    if(willAnimate) {
      willAnimate.apply(targetOldView);
    }
  }
  if(targetNewView){
    var willAnimate = targetNewView.get('willAnimateIn');
    if(willAnimate){
      willAnimate.apply(targetNewView)
    }
  }
  Ember.run.scheduleOnce('afterRender', this, function() {
    if(targetNewView){
      //if you do want to have some crazy logic that can only be done after DOM tree is fully rendered.
    }
    if(targetOldView){
      //if you do want to have some crazy logic that can only be done after DOM tree is fully rendered.
    }
  });

  return this.lookup('fade').apply(this).then(function(){
    if(targetOldView){
      var didAnimateOut = targetOldView.get('didAnimateOut');
      if(didAnimateOut) {
        didAnimateOut.apply(targetOldView);
      }
    }
    if(targetNewView){
      var didAnimateIn = targetNewView.get('didAnimateIn');
      if(didAnimateIn){
        didAnimateIn.apply(targetNewView)
      }
    }
  });
}

//try to find the targetView because I didn't find a proper way to access it directly in the context
function findtargetView(currentView, targetViewName, count) {
  if(typeof targetViewName === 'undefined' || count >= 30) return false;

  if(typeof currentView.get === 'function' && targetViewName.test(currentView.get('renderedName'))) {
    return currentView;
  }

  count++;  //ususally top layer will be 5 views deep and sub will be 20 views deep, which I think it is crazy nesting.
  if(currentView._childViews) {
    for(var i = currentView._childViews.length - 1; i >= 0; i--) {
      if(!currentView._childViews[i].isAttrNode) {
        var targetView = findtargetView(currentView._childViews[i], targetViewName, count);
        if(targetView){
          return targetView;
        }
      }
    }
  }
}

If you don't mind, I can go and make a PR for you to see. Thanks!


build: add commitlint and upgrade husky

Use conventional commits in this project: https://www.conventionalcommits.org/en/v1.0.0/

Is there a npm package and/or gem to enforce the 7 rules approach?

Not that I know, but since this is a JS library it makes sense. It looks like commitlint allows to specify rules, but I think it's not worth
PS: It appears that dependabot.yml needs a change to meet commit message requirement, as per https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#commit-message


chore: bdd-sbrp-import-1582442200 to 0.0.1

chore: Promote bdd-sbrp-import-1582442200 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Endpoints ruleset file for snapshot of service folder in tests/functional/models

This data file was formerly part of https://github.com/boto/botocore/pull/2785/. Moved to separate PR because it can be released separately and later, and to make #2785 easier to review.
The folder tests/functional/model/custom-acm contains a snapshot of the folder botocore/data/acm/2015-12-08. The comments in https://github.com/boto/botocore/blob/develop/tests/functional/test_model_backcompat.py explain why this snapshot exists.
Once the new ruleset based endpoints resolver (introduced in #2785) gets enabled for all services, or in the unlikely event that we decide to specifically for custom-acm, the snapshot folder must include the endpoint-rule-set-1.json file. This PR adds this file.
In addition, this PR updates an outdated inline comment in test_model_backcompat.py.

Codecov Report
Base: 95.25% // Head: 95.20% // Decreases project coverage by -0.05% :warning:

Coverage data is based on head (75aa816) compared to base (4e67a2c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2789      +/-   ##
===========================================
- Coverage    95.25%   95.20%   -0.06%
===========================================
  Files           62       62
  Lines        12907    12907
===========================================
- Hits         12295    12288       -7
- Misses         612      619       +7

Impacted Files
Coverage Δ

botocore/compat.py
91.33% <0.00%> (-1.34%)
:arrow_down:

botocore/httpsession.py
91.43% <0.00%> (-0.39%)
:arrow_down:

botocore/utils.py
93.37% <0.00%> (-0.22%)
:arrow_down:

botocore/credentials.py
98.54% <0.00%> (-0.11%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Unable to find the MicrosoftDefaultComputerGroup query

Hello team,
I'm attempting to follow the instructions on this page to help a customer prepare for the upcoming migration to Update Manager. These  instructions show different options to what is available in the portal.
Additionally, is there a way to remove machines at scale? I expect quite a few customers will need to complete mass migration to the new solution before August 2024.
Thanks in advance,

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

ID: 9a94d637-558c-b26e-a1de-c4381aa6783c
Version Independent ID: d8c47851-0ac5-3932-e1e1-e224285e7476
Content: Remove machines from Azure Automation Update Management
Content Source: articles/automation/update-management/remove-vms.md
Service: automation
GitHub Login: @SnehaSudhirG
Microsoft Alias: sudhirsneha

@DaniMathews
Thanks for your feedback! We will investigate and update as appropriate.

@DaniMathews Thanks for reaching out. If you don't see the function, this is typically because you have selected the option - Manage Machines\Enable on all available and future machines in the Automation account that Update Management feature is enabled in. If Manage Machines option is greyed out, then this validates this option has been selected. With that configuration scenario, the function isn't created for manual management of machines for in-scope management with UM. This is explained in step 4 in the article Enable from Automation account under section - Enable machines in the workspace.
As there are no documentation changes, we will close this issue for now. For technical questions, kindly post your question in Microsoft Q & A Community Forum.


Add missing return types to Safe

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 93.551%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
8777

Relevant Lines:
9382

💛  - Coveralls

Sorry for the typo, fixed


Some tests failing on hosts with IPv6 addresses

Possibly related:
#382
Expected result:
Running main() from gtest_main.cc
[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from http_server_test
[ RUN      ] http_server_test.client_disconnection_on_timeout_from_single_threaded_server
[       OK ] http_server_test.client_disconnection_on_timeout_from_single_threaded_server (6003 ms)
[ RUN      ] http_server_test.client_multiple_requests_disconnection_on_timeout_from_single_threaded_server
[       OK ] http_server_test.client_multiple_requests_disconnection_on_timeout_from_single_threaded_server (18003 ms)
[ RUN      ] http_server_test.multiple_client_with_requests_to_multithreaded_server
[       OK ] http_server_test.multiple_client_with_requests_to_multithreaded_server (3 ms)
[ RUN      ] http_server_test.multiple_client_with_different_requests_to_multithreaded_server
[       OK ] http_server_test.multiple_client_with_different_requests_to_multithreaded_server (6001 ms)
[----------] 4 tests from http_server_test (30010 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test case ran. (30010 ms total)
[  PASSED  ] 4 tests.

Result under IPv6 enabled host:
Running main() from gtest_main.cc
[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from http_server_test
[ RUN      ] http_server_test.client_disconnection_on_timeout_from_single_threaded_server
Got exception: Could not connect: Resource temporarily unavailable
[       OK ] http_server_test.client_disconnection_on_timeout_from_single_threaded_server (6001 ms)
[ RUN      ] http_server_test.client_multiple_requests_disconnection_on_timeout_from_single_threaded_server
Got exception: Could not connect: Resource temporarily unavailable
Got exception: Could not connect: Resource temporarily unavailable
Got exception: Could not connect: Resource temporarily unavailable
[       OK ] http_server_test.client_multiple_requests_disconnection_on_timeout_from_single_threaded_server (6002 ms)
[ RUN      ] http_server_test.multiple_client_with_requests_to_multithreaded_server
Got exception: Could not connect: Resource temporarily unavailable
Got exception: Could not connect: Resource temporarily unavailable
Got exception: Could not connect: Resource temporarily unavailable
Got exception: Could not connect: Resource temporarily unavailable
Got exception: Could not connect: Resource temporarily unavailable
Got exception: Could not connect: Resource temporarily unavailableGot exception:
Could not connect: Resource temporarily unavailable
Got exception: Could not connect: Resource temporarily unavailable
Got exception: Could not connect: Resource temporarily unavailable
/home/tim/Projects/CPP-Projects/pistache/tests/http_server_test.cc:140: Failure
      Expected: res1
      Which is: 0
To be equal to: FIRST_CLIENT_REQUEST_SIZE
      Which is: 4
[  FAILED  ] http_server_test.multiple_client_with_requests_to_multithreaded_server (6002 ms)
[ RUN      ] http_server_test.multiple_client_with_different_requests_to_multithreaded_server
Got exception: Could not connect: Resource temporarily unavailable
Got exception: Could not connect: Resource temporarily unavailable
Got exception: Could not connect: Resource temporarily unavailable
/home/tim/Projects/CPP-Projects/pistache/tests/http_server_test.cc:174: Failure
      Expected: res2
      Which is: 0
To be equal to: SECOND_CLIENT_REQUEST_SIZE
      Which is: 2
[  FAILED  ] http_server_test.multiple_client_with_different_requests_to_multithreaded_server (12001 ms)
[----------] 4 tests from http_server_test (30007 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test case ran. (30007 ms total)
[  PASSED  ] 2 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] http_server_test.multiple_client_with_requests_to_multithreaded_server
[  FAILED  ] http_server_test.multiple_client_with_different_requests_to_multithreaded_server

 2 FAILED TESTS

What is actually happening is all 4 of the tests in this module are failing, but due to the way two of the tests are intended to run they are passing as false positives.
I suspect this is due to the client and server sides handling the "localhost:" address differently:
Where in the server is binding to the AF_INET (IPv4) loopback address of <IP_ADDRESS>, and the client is using the native libc library to connect -- Which then, as there is both a valid AF_INET and AF_INET6 (IPv6) address for the host, uses a technique called "happy eyeballs" to identify the faster connection and fails to make a connection over IPv6, and erroneously drops both connections.
We can fix this in any of four ways:

We can change the tests so that each test explicitly uses one of AF_INET, AF_INET6, or AF_UNIX -- not ideal as it might result in users being confused as to why their code doesn't execute as expected on dual stack systems.
We can make the server thread natively handle both AF_INET and AF_INET6 unless explicitly specified as an IPv4 or IPv6 address. Such that localhost:9088 would create two threads instead of one, where as either <IP_ADDRESS>:9088 or [::1]:9088 would create only one thread respectively.
We try to workout how to correctly handle the glibc implementation of happy eyeballs when it fails to correctly fall-back to IPv4-only after the dual-stack connection attempt fails.
We do some combination of options 2 and 3.

Any thoughts?
-Tim.

Relevant strace snippets:
socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = 8
setsockopt(8, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(8, {sa_family=AF_INET, sin_port=htons(9088), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = 0
listen(8, 128)                          = 0

...
socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP) = 27
connect(27, {sa_family=AF_INET, sin_port=htons(9088), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = 0
getsockname(27, {sa_family=AF_INET, sin_port=htons(56403), sin_addr=inet_addr("<IP_ADDRESS>")}, [28->16]) = 0
close(27)                               = 0
socket(AF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP) = 27
connect(27, {sa_family=AF_INET6, sin6_port=htons(9088), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = 0
getsockname(27, {sa_family=AF_INET6, sin6_port=htons(47162), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, [28]) = 0
close(27)                               = 0
socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP) = 27
fcntl(27, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(27, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
write(26, "\1\0\0\0\0\0\0\0", 8)        = 8
Got exception: Could not connect: Resource temporarily unavailable

1.b: We run every unit test twice, once with IPV4 and once with IPV6.  Unit tests that check parsing of addresses run on both passes.  We can probably coerce travis.yaml into making 4 (gcc+ipv4, gcc+ipv6, clang+ipv4, clang+ipv6) builds instead of 2 (gcc + clang).
We could even go as far as to add IFDEFS to conditionally add/remove IPV4 and IPV6 (and AF_UNIX someday) support at compile time.  So we can make a pure ipv4 build and a pure ipv6 build.
Thoughts?

Ah, I see.  Ok.  Go for it!

I'm actually having a bit of trouble understanding some of the design decisions behind the client section of the library. Is it actively maintained?

It looks like it was only ever intended to support IPv4, which means making it IPv6 compatible is going to be harder than expected - let alone making happy eyeballs work.
As it's not covered in the documentation I don't think many people will be using it (unless they are building from the examples or the tests).
So provided we maintain identical coverage to the way we use it in the examples and the tests, would there be any objections to a more drastic rewrite than originally planned?

I do not know if the client has much use.  I myself do not use it (I use libcurl).  Feel free to rewrite it and update the docs.  That would be wonderful!

Yeah, I was starting to wonder if we should rewrite the tests to use libcurl and slowly deprecate the client - It needs too much work before it can compete with specialist client libraries like libcurl.

libcurl is certainly easy enough to use, but the http client in pistache supports async promises.  I hesitate to remove the client for fear that it has users.


LDAP failure: No such object. (Code 32)

Hi all
I am getting the following error when running the script in debug mode:
ldap_build_search_req ATTRS: sAMAccountName distinguishedName cn mail
[error] LDAP failure: No such object. (Code 32)
What does this mean? I have tried multiple options (with userMatchAttribute and userMatchAttribute) and its always the same error.
Username and bind dn is correct as I get a different error when I put in a wrong dn or password.
Active Directory is used as LDAP Server.
Thanks for help.
Grimbi
ldap:
debug:                  true
winCompatibilityMode:   false
server:
    host:                            "DC IP"
    port:                             389
    version:                        3
    encryption:                  "none"

    bindDn:                        "CN=ldap,OU=Admins,DC=domain,DC=local"
    bindPassword:            "password"

queries:
    baseDn:                       "DC=domain,DC=local"

    userDn:                         "OU=Users,DC=domain,DC=local"
    userFilter:                     "(&(objectCategory=person)(objectClass=user))"
    userUniqueAttribute:            "sAMAccountName"
    userMatchAttribute:             "distinguishedName"
    userNameAttribute:              "cn"
    userEmailAttribute:             "mail"

    groupDn:                        "OU=Groups,DC=domain,DC=local"
    groupFilter:                    "(objectClass=group)"
    groupUniqueAttribute:           "cn"
    groupMemberAttribute:           "memberUid"

Found the issue: The userDn and groupDN field should not contain the baseDN again "DC=domain,DC=local"
So correct config would be:
userDn: "OU=Users"
groupDn: "OU=Groups"

Hi RealGrimbi,
Spot on, this tool concatenates your base DN to user & group DNs.
Thanks for sharing your results. 👍


[Feature] Lack of  RulePolicy for Crosswoz

For CrossWOZ’s dialogue policy, there are only MLE and user simulator, and the RulePolicy is only for MultiWOZ. Do you consider supplementing Crosswoz’s RulePolicy?

I'm afraid not. The RulePolicy needs many efforts but could not transfer to other datasets.


Developers DB crashing

example query: https://www.freewarelovers.com/android/developers/xiphoid-technologies

A MySQL database update a few weeks ago changed some DB default configuration, which caused this error when running some queries. After setting the right flags in the DB config the errors have stopped.


Document inspect command

Add some end-user documentation on how to use the csvcubed inspect command and discuss what the results mean.
Somewhere in the guides section: https://gss-cogs.github.io/csvcubed-docs/external/guides/

Section detailing the arguments

Section on the types of file you can push into it

Section on datacube CSV-W outputs

What you'd expect to see output and what it means.

Section on codelist CSV-W outputs

What you'd expect to see output and what it means.

Link to the errors which might occur.

csvcubed inspect errors (underneath existing errors section in documentation - with existing errors moved into build sub-section)

Follow existing style of errors, e.g. https://gss-cogs.github.io/csvcubed-docs/external/guides/errors/no-dimensions-defined/

Completed quick start and core docs. WIP error doc.


How to get the StorageSharedKeyCredential

It would be very useful for the v12 examples if you explained where the magical StorageSharedKeyCredential comes from. There doesn't seem to be any obvious way to get this from a connection string.

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

ID: 4ba8dd43-ef02-5c5c-382d-f8d653721280
Version Independent ID: 4127d388-f82a-b182-c912-879cf854c37a
Content: Create a service SAS for a container or blob with .NET - Azure Storage
Content Source: articles/storage/blobs/storage-blob-service-sas-create-dotnet.md
Service: storage
Sub-service: blobs
GitHub Login: @tamram
Microsoft Alias: tamram

@jeffw-wherethebitsroam Thanks for your comment. We will review the issue and get back to you shortly.

@jeffw-wherethebitsroam  Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.
ToSasQueryParameters(StorageSharedKeyCredential) Use an account's StorageSharedKeyCredential to sign this shared access signature values to produce the proper SAS query parameters for authenticating requests.
The details are available in the  ToSasQueryParameters to get the SAS token string.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Hi,
I believe you have misunderstood the question.
I understand how you would use the StorageSharedKeyCredential to create a Sas query.
What isn't clear is where the StorageSharedKeyCredential can be obtained from. In the example it is just passed in as a parameter to the function.
My code (and I suspect many others) looks similar to this:
var serviceClient = new BlobContainerClient(connecctionString);

@jeffw-wherethebitsroam - The StorageSharedKeyCredential class is part of the Azure.Storage.Common package in the v12 storage client library. The constructor is used in the example, and it takes the account name and key as parameters. Here's the reference for the constructor:
https://docs.microsoft.com/en-us/dotnet/api/azure.storage.storagesharedkeycredential.-ctor
I've updated the article to make this a bit more clear and to provide a link to this class. The changes should go live by tomorrow.

Hi @tamram ,
I had found that constructor as well. But does this then mean I need to manually parse the connection string to extract the account name and key? That seems a bit unnecessary since the connection string containing these is already being parsed by BlobServiceClient.
It would seem that authenticating to blob storage via a connection string is a fairly common scenario. It would be good if the example showed how to construct a SAS URL starting with a connection string. Alternatively, if another form of authentication is preferred that makes it easier to do SAS, maybe that should be mentioned.
Jeff

@jeffw-wherethebitsroam - I understand your question now. It seems that the StorageSharedKeyCredential class could have a constructor that takes a connection string, instead of just the account name/account key. I'll ask the storage team about that.

@jeffw-wherethebitsroam - Just wanted to let you know that the product team is working on an update to the library that will make it easier to create a SAS directly from the BlobServiceClient object. I don't have an ETA for when this update will be released, but I'll follow up here when it happens. We'll also update the doc accordingly.

Closing for now because the fundamental issue is not a documentation issue, although we'll update the docs when the library is updated.
#please-close

@jeffw-wherethebitsroam - The new 12.7.0 package for blobs includes methods on the client object to make it easier to generate the SAS. We'll update the examples in the docs in the near future.

@tamram Fantastic! Thanks for the update.

We've also updated the service SAS examples accordingly. Still working on the other SAS types, will be updated soon.


[WIP] Implement typescript types

Make types more precision.
TODO:

[x] Support TypeScript import() type in JSDoc comments
[ ] Add correct types definitions for unclear API such as fabric JSON Object in Material, etc.

Thanks for the pull request @onsummer!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Hi @onsummer, thanks for the effort to fix up some typing issues!
I would appreciate if you could explain in a bit more detail here what changes you are making to the tooling, and why.

@ggetz OK, poor for my English, I'll try to explain by edit above as concisely as possible

@ggetz PTAL. I found that adding additional types (eg. callback functions' type) may require a new PR, what do you think?

@onsummer, yes. I think it would be helpful for review to separate the tooling changes from the type updates. Thanks!

Thanks @onsummer!
One thing I'm still not clear on is why jsdoc-tsimport-plugin is needed. I don't see where we are using the import syntax. Could  you please explain?

@ggetz Sorry, forget to remove that. This dependency should appearance in next PR that will improve types by using import() syntax.

@jjhembd Thank you for your review. I fix some issues that you mentioned above as possible as I can found, PTAL

Hi @onsummer, thanks for those changes!
I pointed out a few small remaining things in ModelComponents and ScreenSpaceCameraController. Once those are done, this will be ready to merge.

Hi @onsummer, thanks again for this contribution. I learned something about how to write better JSDoc just by looking at your edits.
We would like to make sure future code changes follow the same pattern. We have an open issue to automate JSDoc checks in #10815. Once this PR is merged, would you be interested in contributing to that issue?

Hi @onsummer, thanks again for this contribution. I learned something about how to write better JSDoc just by looking at your edits.
We would like to make sure future code changes follow the same pattern. We have an open issue to automate JSDoc checks in #10815. Once this PR is merged, would you be interested in contributing to that issue?

That seems a pretty challenge to me, and I am interesting in contributing it.

Hi @onsummer, thanks for those changes! I pointed out a few small remaining things in ModelComponents and ScreenSpaceCameraController. Once those are done, this will be ready to merge.

:) Maybe this time will be OK to merge

Looks good, thanks a lot @onsummer! Merging now


Show Bulletin above whole Application

Checklist

[x] I've tested my changes.
[x] I've read the Contribution Guidelines.
[x] I've updated the documentation if necessary.

Motivation and Context

When showing a bulletin, it is required to know the view controller you want to present it on. In some cases, however, this is not known.
Also when the view controller underneath changes during presentation or if a UIAlertController is displayed already, the method of presenting the bulletin above a known view controller is impossible or very inconvenient.
Description

I've added a second method to present the view controller, in which you don't have to specify a view controller. Instead of presenting on top of your specified view controller, it creates a new UIWindow on top of your current windows and presents the bulletin inside this new UIWindow. This guarantees that the bulletin is at the top whatever your application shows and that it is shown at all (no UIAlertController stopping it or whatever).
The only unpleasant thing about my implementation is that it is necessary to pass UIApplication.shared. This is needed because frameworks can't access it themselves.

Nice work! Thanks for your contribution. You can see and fix my review comment, and this PR will be ready to be merged. 💯

Happy to see that you like my changes. I have fixed your suggestion.

Thanks again for the contribution. Your changes will be available in the 3.0 updates.


Is there a way to save the augmented data within the training pipeline to enable future visualization?

I am training a 3D detection model on NuScenes dataset and I have applied data augmentation in the training pipeline. I would like to know is there a way that I can somehow save the augmented data so that I can use the render_pointcloud_in_image from the nuscenes-devkit to visualize the projection of lidar points onto images after data augmentation.

Sorry for the late reply, for now, we provide the browse_dataset.py script which can visualize the augmented data in the training pipeline, more details can be seen in https://github.com/open-mmlab/mmdetection3d/blob/master/tools/misc/browse_dataset.py.  Because mmdet3d store point clouds and images in an object named DataContainer so you can take your point cloud and image after augment by: https://github.com/open-mmlab/mmdetection3d/blob/c8347b7ed933d70fcfbfb73a3541046b8c8e8f5e/tools/misc/browse_dataset.py#L110
https://github.com/open-mmlab/mmdetection3d/blob/c8347b7ed933d70fcfbfb73a3541046b8c8e8f5e/tools/misc/browse_dataset.py#L147
then continue to process convert torch to numpy and save it.


Colors required for printing

I may be missing something but could you specify the colours required to print so we can be accurate to what you have done when printing in this repo

Thank you for your feedback, @kambasana !
Documentation can be found in our main repo: https://rasqberry.org
Filament colours are listed in the "Core Components BOM": https://rasqberry.org/3d-model/bill-of-materials
Build instructions are at: https://rasqberry.org/3d-model/hardware-assembly-guide


Installation failed with Squirell: IT policies

Pre-flight checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project uses.
[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version
7.4.0
Electron version
30.0.7
Operating system
Windows 11 (22631)
Last known working Electron Forge version

Expected behavior
Installation without error messages
Actual behavior
If the executable is outside my development folder (personal computer, not enterprise) the installation fails with the message: Installation has failed. Unable to write to C:\ProgramData\username - IT policies may be restricting access to this folder
Steps to reproduce

yarn make
Move the exe to the Downloads folder
Double click or run as administrator

Additional information
Hello, I have an Electron application using Electron Forge and Vue.js3, and I'm using @electron-forge/maker-squirrel: 7.4.0 for building on Windows.
The build process completes successfully, but during installation, if I have my executable in my Downloads directory (or anywhere outside my development directory), I receive the following error:
"unable to write to c:\ProgramData/username - IT policies may be restricting access to this folder."
I followed the installation instructions on Electron Forge's documentation for Squirrel.Windows: https://www.electronforge.io/config/makers/squirrel.windows
Am I missing something in the configuration?
Thanks
package.json
{
  "name": "-",
  "productName": "-",
  "version": "0.5.1",
  "description": "-",
  "main": ".vite/build/main.js",
  "icon": "public/favicon.ico",
  "scripts": {
    "start": "electron-forge start",
    "package": "electron-forge package",
    "make": "electron-forge make",
    "publish": "electron-forge publish",
    "lint": "echo \"No linting configured\""
  },
  "devDependencies": {
    "@electron-forge/cli": "^7.4.0",
    "@electron-forge/maker-deb": "^7.4.0",
    "@electron-forge/maker-rpm": "^7.4.0",
    "@electron-forge/maker-squirrel": "^7.4.0",
    "@electron-forge/maker-zip": "^7.4.0",
    "@electron-forge/plugin-auto-unpack-natives": "^7.4.0",
    "@electron-forge/plugin-fuses": "^7.4.0",
    "@electron-forge/plugin-vite": "^7.4.0",
    "@electron/fuses": "^1.8.0",
    "@types/tar": "^6.1.13",
    "@vitejs/plugin-vue": "^5.0.4",
    "electron": "30.0.7",
    "eslint": "^9.3.0",
    "eslint-plugin-vue": "^9.26.0",
    "sass": "^1.77.2",
    "vite": "^5.2.11",
    "vite-plugin-electron-renderer": "^0.14.5"
  },
  "keywords": [],
  "author": {
    "name": "-",
    "email": "-"
  },
  "license": "-",
  "dependencies": {
    "@openid/appauth": "^1.3.2",
    "adm-zip": "^0.5.12",
    "archiver": "^7.0.1",
    "axios": "^1.7.2",
    "boxicons": "^2.1.4",
    "dayjs": "^1.11.11",
    "dotenv": "^16.4.5",
    "electron-log": "^5.1.4",
    "electron-squirrel-startup": "^1.0.1",
    "floating-vue": "^5.2.2",
    "form-data": "^4.0.0",
    "gsap": "^3.12.5",
    "pinia": "^2.1.7",
    "pinia-plugin-persistedstate": "^3.2.1",
    "primeicons": "^7.0.0",
    "primevue": "^3.52.0",
    "steam-game-path": "^2.2.3",
    "tree-kill": "^1.2.2",
    "unzipper": "^0.11.6",
    "vue": "^3.4.27",
    "vue-awesome-paginate": "^1.1.46",
    "vue-router": "4",
    "vue-sidebar-menu-akahon": "^1.0.2",
    "vue3-carousel": "^0.3.3",
    "vue3-toastify": "^0.2.1"
  }
}

forge.config.js
const { FusesPlugin } = require('@electron-forge/plugin-fuses')
const { FuseV1Options, FuseVersion } = require('@electron/fuses')
require('dotenv').config()

module.exports = {
  packagerConfig: {
    asar: true
  },
  rebuildConfig: {},
  makers: [
    {
      name: '@electron-forge/maker-squirrel',
      config: {
        loadingGif: "./public/install-gif.gif",
        setupIcon: "./public/favicon.ico",
      }
    },
    {
      name: '@electron-forge/maker-zip',
      platforms: ['darwin'],
    },
    {
      name: '@electron-forge/maker-deb',
      config: {},
    },
    {
      name: '@electron-forge/maker-rpm',
      config: {},
    },
  ],
  plugins: [
    {
      name: '@electron-forge/plugin-vite',
      config: {
        // `build` can specify multiple entry builds, which can be Main process, Preload scripts, Worker process, etc.
        // If you are familiar with Vite configuration, it will look really familiar.
        build: [
          {
            // `entry` is just an alias for `build.lib.entry` in the corresponding file of `config`.
            entry: 'src/electron/main.js',
            config: 'vite.main.config.mjs',
          },
          {
            entry: 'src/electron/preload.js',
            config: 'vite.preload.config.mjs',
          },
        ],
        renderer: [
          {
            name: 'main_window',
            config: 'vite.renderer.config.mjs',
          },
        ],
      },
    },
    // Fuses are used to enable/disable various Electron functionality
    // at package time, before code signing the application
    new FusesPlugin({
      version: FuseVersion.V1,
      [FuseV1Options.RunAsNode]: false,
      [FuseV1Options.EnableCookieEncryption]: true,
      [FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false,
      [FuseV1Options.EnableNodeCliInspectArguments]: false,
      [FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: true,
      [FuseV1Options.OnlyLoadAppFromAsar]: true,
    }),
  ],
}

It seems there's an issue with my Windows; the error doesn't occur on other Windows 11 machines.


Ukrainian translation

I've asked philologists from @LambdaBooks to make a review.

Thanks for contributing!
Published as v1.5.0!


x/tools/cmd/gotype: -a flag doesn't include XTestGoFiles

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
$ go version
go version go1.7.4 linux/amd64

$ (command cd $(go list -f '{{.Dir}}' golang.org/x/tools/cmd/gotype) && git rev-parse HEAD)
f8ed2e405fdcbb42c55233531ad98721e6d1cb3e

What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/myitcv/gostuff"
GORACE=""
GOROOT="/home/myitcv/gos"
GOTOOLDIR="/home/myitcv/gos/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build484566709=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"

What did you do?
cat <<EOD > pkg_test.go
package pkg_test

import "testing"

func TestBanana(t *testing.T) {
        x := banana.Fetch()
}
EOD
gotype -a .

What did you expect to see?
pkg_test.go:6:7: undeclared name: banana
pkg_test.go:6:2: x declared but not used

What did you see instead?
Nothing
If instead we change to use the package name:
cat <<EOD > pkg_test.go
package pkg

import "testing"

func TestBanana(t *testing.T) {
        x := banana.Fetch()
}
EOD
gotype -a .

then the output is as expected.
Is the intention that gotype be consistent with cmd/go's definition of Go files? Should therefore XTestGoFiles be considered along with TestGoFiles?
Happy to help contribute if you think this is the right fix.
cc @alandonovan

The XTestGoFiles define a different package from the GoFiles and TestGoFiles.  gotype would have to run the type-checker a second time to process these files.  The best way to do that is to use the golang.org/x/tools/go/loader package, but it seems out of scope for an undocumented diagnostic tool such as gotype.
cc: @griesemer

gotype may be an undocumented diagnostic tool, but it seems many people (myself included) use it when they want a fast answer to the question "does this typecheck?", which is not an uncommon question.

On 6 February 2017 at 15:23, Josh Bleecher Snyder<EMAIL_ADDRESS>wrote:

gotype may be an undocumented diagnostic tool, but it seems many people
(myself included) use it when they want a fast answer to the question "does
this typecheck?", which is not an uncommon question.

You could try using ssadump for that purpose; it does the right thing for
XTestGoFiles, and it also understands cgo.
I'll leave it up to Robert to decide what, if anything, to do about gotype.

@myitcv gotype is not taking into account package-external test files. As is, it can't easily do so because it requires the package to be tested to be installed first (which may not be the case). This is because external test files are not part of the package, they are a separate package. This is related to https://github.com/golang/go/issues/11415 . Without that, we cannot easily fix this one.
I'm not saying gotype shouldn't or couldn't do what you are suggesting, but the existing behavior is not a bug, it's intended.
Changed to unplanned. This is not urgent. If anybody wants to look into it, that's fine, but it's not going to be simple without #11415 (which is planned for 1.9).

@alandonovan @griesemer thanks for the comments, helped steer me in the right direction.

You could try using ssadump for that purpose

@josharian don't know about your use case, but I need gotype (or equivalent) to be very fast, hence I think this rules out ssadump (vs gotype) because it uses go/loader; at least in some rough experiments it and gotype correspond with the kind of performance @alandonovan mentioned here

As is, it can't easily do so because it requires the package to be tested to be installed first (which may not be the case)

In my case I know this will be the case. I have a little helper that aggressively ensures all transitive dependencies (test included) of a "package spec of interest" are go install-ed (helps for other things like gocode, go vet pre #11415, etc)
So what I might do for now is fork tools and modify gotype to do exactly as @alandonovan suggested above; type check the xtest package in a second "pass" after the main package itself succeeds.

I'm not saying gotype shouldn't or couldn't do what you are suggesting, but the existing behavior is not a bug, it's intended.

...

This is not urgent.

Totally agree. Thanks both for taking the time to comment in any case.

@griesemer I've just mailed https://go-review.googlesource.com/#/c/36992/
Not a perfect fix I agree given your comments about #11415, but perhaps it suffices for now?


Continuous query don't create appropriate field

Influxdb version: 0.10.0-0.beta2
OS: Ubuntu 15.10
Continuous query:
CREATE CONTINUOUS QUERY op_time ON telegraf BEGIN SELECT read_time/reads AS read_time_per_op INTO diskio FROM diskio END

> show continuous queries
name: _internal
---------------
name	query

name: telegraf
--------------
name	query
op_time	CREATE CONTINUOUS QUERY op_time ON telegraf BEGIN SELECT read_time / reads AS read_time_per_op INTO telegraf."default".diskio FROM telegraf."default".diskio END

There is no effect in diskio measurement, no additional field read_time_per_op.

@r0bj I don't think this is going to work. However, you can try to execute CQ by hand. What happens if you do?

It seems that running by hand works ok:
> SELECT read_time / reads AS read_time_per_op INTO telegraf."default".diskio FROM telegraf."default".diskio
name: result
------------
time	written
0	77028

@r0bj and have the new values been inserted/updated into diskio? What does log have to say? Did you check - [continuous_querier] and [query]? Anything there?

@zstyblik yes, new values are inserted into diskio.
In logs there is:
[continuous_querier] 2016/02/01 20:19:10 error executing query: CREATE CONTINUOUS QUERY op_time ON telegraf BEGIN SELECT read_time / reads AS read_time_per_op INTO telegraf."default".diskio FROM telegraf."default".diskio END: err = continuous queries must be aggregate queries

So it looks like it wont work anyway.
I'm looking for a way of divide two series somehow without luck.


[feature support] Enable to add affinities.

I want to set a Pod placement options in my multi-purpose K8s clusters. Especially, affinity:.
I created a patch against this issue. Could you accept and merge this ?
https://github.com/pizzafactory-bancallera/workflow-chart/commit/d2b9a43887976dfb4c638365f7578b0c1c90c4db

@monaka , I do not see issue with this. I don't think it will break anything. @kingdonb , thoughts?
If you make the PR, we can review and test it out. If it works for you with these changes it should work for all deployment type components.

@Cryptophobia Thanks for your review.
I wanna making PR based on this issue.
And, which repo should I send PRs for the workflow chart ?

@monaka , that is a good question. We need to make this as a PR to the workflow dir (but only update the values.yaml change and any of the umbrella chart helpers here). We also need to make a PR for each of the components chart/ directories. Since this is the umbrella chart we just pull all the children charts into here and compile this chart.
This is quite a bit of tedious work as it requires a PR into all the repos that have a chart with such deployment. We also need to add the affinity section to the values of each of the components value.yaml of their charts as well.
This can be scripted out for speed. For example, here is a script that can do this at a high level if you want to follow this: https://github.com/teamhephy/docker-base/blob/master/_scripts/make-prs.sh
The idea will be to do the same and only edit the *-deployment.yaml and values.yaml for each of those files in the chart/ directories.

@Cryptophobia I created PR on related projects.
And my question is not "how to pushing to multiple projects." but "Where is 'workflow' project that is maintained now?".
I guess code in this repository is not updated.

@Cryptophobia I created PR on related projects.

Thank you @monaka !

but "Where is 'workflow' project that is maintained now?". I guess code in this repository is not updated.

We have not made a new release in a while. I have some personal commitments that end this Monday (exam). And I hope to make a new release soon after that. I will notify you here when I merge all the PRs and update the charts for the new release. Likely I will stabalize one minor release and start working on new major version number.

You are right about most updated charts. The most updated chart for current release you can find at charts.teamhephy.com . There workflow or workflow-beta are the most updated charts. We only use the charts here as reference. When the main charts on the charts server above become out-of-sync, we sync them to what is in these directories here so the chart directories here should be source-of-truth.


docs: add instance not found troubleshoot to self-hosting

Definition of Ready

[ ] I am happy with the code
[ ] Short description of the feature/issue is added in the pr description
[ ] PR is linked to the corresponding user story
[ ] Acceptance criteria are met
[ ] All open todos and follow ups are defined in a new ticket and justified
[ ] Deviations from the acceptance criteria and design are agreed with the PO and documented.
[ ] No debug or dead code
[ ] My code has no repetitions
[ ] Critical parts are tested automatically
[ ] Where possible E2E tests are implemented
[ ] Documentation/examples are up-to-date
[ ] All non-functional requirements are met
[ ] Functionality of the acceptance criteria is checked manually on the dev system.

Did you by any specific reason not include the error with the macos/kantive/lb examples?

No, thats the point where I had no clue and why I asked you where it makes sense. I searched for localhost and added it where it was written. 😃 Does it make sense on all examples? Then I can add it to all of them. Would it make sense to include the whole section instance not found directly into the guides? Instead of just linking to the troubleshooting?


build: ability to run upgrade from quince

The PR adds the ability to run tutor upgrade command without having to SSH into server. This will be useful for PRs where the upgrade run is necessary,  such as https://github.com/overhangio/tutor/pull/1029.

@arbrandes Hi, this needs your review. Thanks


Camera wont open without audio permission

I've build a simple app in https://flutter.dev/docs/cookbook/plugins/picture-using-camera this site. But it asking audio permissions. when denied the audio permission, camera wont open. I used below xml code to disable audio permissions but its still not working.
<manifest ... xmlns:tools="http://schemas.android.com/tools">     ....         <uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove"/>     .... </manifest>

When initiate CameraController make sure you set enableAudio to false
CameraController(         ...         enableAudio: false,   );

It works!! Thank you very much.


FIX: compatibility with sklearn get_params

Some of the  covariance classes didn't respect the sklearn TransformerMixin syntax where the params have to be stored in attributes with the same names.
Consequently, we couldn't get_params() them, and thus cannot sklearn.base.clone(), and thus can't use the mne.decoding.GeneralizationAcrossTime class.
(Also there are a bunch of params test missing to ensure that the class params are float, int, str etc)

Also, I haven't found where phase_correction is used.

This part of the code has not been through my code review, i think most of the other classes respect this convention.
phase_correction is not used (see utils.covariance.cospectrum) so you can remove it.
Let me know when your done, i will merge.
Also, if you want to add some test for the cloning process, be my guess :)

phase_correction is not used (see utils.covariance.cospectrum) so you can remove it.

ok

Also, if you want to add some test for the cloning process, be my guest :)

From what I know, sklearn clone fully depends on get_params, so these new tests should suffice.

ready for review

Looks good to me,
If you want, you can add something in the doc/whatsnew.rst

Ok, ready on my ends


Insomnia crashes immediately on startup on Arch Linux with Hyprland window manager and rofi app laucher

Expected Behavior
I expect Insomnia to start without crashing
Actual Behavior
Upon launching from an application launcher such as rofi, Insomnia freezes and then crashes. This happens twice, after which Insomnia launches normally. Insomnia launches normally if started from the command line.
Reproduction Steps

Open app launcher (in my case rofi)
Run Insomnia (Desktop file runs /opt/Insomnia/insomnia %U --enable-features=UseOzonePlatform --ozone-platform=wayland)

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
I am running Arch Linux on Wayland, using Hyprland as my window manager.
Insomnia Version
2023.5.8
What operating system are you using?
Other Linux
Operating System Version
Linux 6.4.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000 x86_64 GNU/Linux
Installation method
Arch User Repository
Last Known Working Insomnia version
No response

Bump, Same happens with NIxOS!

same with ubuntu 23.10!

same with mac OS 14.3.1


Fixed error reporting, and a leak

Error reporting was completely broken (e.g. returnOk overwrote result after bailOnErrors set it to error).
Distinguish empty value from value not found by setting ok to false, and error to ""
Fixed memory leak in getImpl

Future considerations: get rid of RocksDBResult in favor of exceptions for rocksdb errors. Use Option[T] or alike for getting values.

returnOk overwrote result after bailOnErrors set it to error.

This part is somewhat confusing to me. bailOnErrors had a return in case there were errors, so how was it possible for returnOk to override the result? checkErrors seems a bit less pleasant to use in general, because it requires you to nest the success paths (there is no equivalent of an early return).

Oh you're right, I totally misread it. I'll redo it then.


track2 generator operationalinsights

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] MIT license headers are included in each file.

/azp run prepare-pipelines

/azp run go - armoperationalinsights - ci

/check-enforcer override


Fix index page of Japanese tutorial

Sorry for bothering you again. I just fixed some issues here.

Please come by as often as you want.


OTel Q&A with Dan Ravenstone - Create CNCF Event [October 17]

Create event on OTel EU SIG CNCF page: https://community.cncf.io/opentelemetry
Related: #62, #63, #64, #65, #66

kicked off draft https://community.cncf.io/e/mrnsm4/

CNCF Event Page created: https://community.cncf.io/j/86u3h5bahrjz4/


Have headerCheck and headerCreate work on the same files

This fixes #149.
Note that I've updated most tests to make sure:

headerCheck fails before headers are created
headerCheck succeeds after headers are created

That's the most straightforward way I could think of testing for this change, but let me know if you have a better idea or mislike me messing with your tests.

Great idea, thanks a lot. Let's see what Travis is telling us ... ;-)

Travis seems happy enough. Honestly not sure what's up with codacy, I don't use that service, so if there's anything I can do to appease it, please let me know.

Codacy probably thinks the same I did when making the changes to the "Code cleanup". The now again correct code looks a little like a C&P mistake. Anyway, merged. Thanks!

Maybe we should just kick codacy, since it seems to be too picky and we don't have the time to fine tune it. Further more we have Scalafmt which will check the code style..

Let's kick it then.


ROUTINE LOAD failed,error code: TOO_MANY_TASKS

Hi~ I tried to use ROUTINE LOAD to load message from kafka to Doris,but recently the load tasks all failed, error messages in details are like "errCode = 2, detailMessage = failed to send task: errCode = 2, detailMessage = failed to submit task. error code: TOO_MANY_TASKS".After I change the configuration in fe.conf set "max_routine_load_task_num_per_be" as 10 and "max_routine_load_job_num" as 200,and then I restart frondend node,but the routine load job still report error message. Is there any solution I could try to figure out the question?Thanks for help.

你好，请问解决了吗？我遇到了相同的问题。

https://doris.apache.org/master/zh-CN/administrator-guide/config/fe_config.html#max-routine-load-task-num-per-be

#4861 #5327  #6215 #6342 solve this problem


python310Packages.pytibber: 0.26.4 -> 0.26.5

Changelog: https://github.com/Danielhiversen/pyTibber/releases/tag/0.26.5
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

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

3 packages built:

home-assistant-component-tests.tibber
python310Packages.pytibber
python39Packages.pytibber


Fixed missing parenthesis in link in README.md

Hi,
A link in the README.md pointing to cerberus-integration is missing the '()' that translates the name wrapped in a bracket and the URL into a link markup containing. Instead they show as separate entities.  This PR adds the parenthesis and removes the empty space to enable the HTML markup to show both entities as part of the defined link.
/Jordi

Can one of the admins verify this patch?

Thanks @jordigilh!


silly error with fmriprep working dir in container

soo I used the check_output_writable function that I wrote for checking if a file could be written. it needs to be updated to work for directory inputs as well..

fixed in version 2.1.0


change tolerance check on DiagonalGate to match UnitaryGate.

Summary
This fixes a bug where it was possible to create a valid UnitaryGate which could be converted to an Isometry but would fail to decompose. The error was due to a difference in tolerances used for validating UnitaryGate and DiagonalGate.
Fixes #4369
Fixes #3842
Details and comments
In the case of UnitaryGate, numpy.allclose with atol=1e-8 and rtol=1e-5 was used while DiagonalGate used it's own implementation with a tolerance of 1e-10. This PR has DiagonalGate use numpy.allclose and references the same tolerances referenced by UnitaryGate.

can you apply this to the new location for the diagonal gate in qiskit.circuit.library? the old location will be deprecated

@kdk I added a test for #3842.

Could you add the same tolerance change to circuit.library.generalized_gates.Diagonal? We have an overlap right now with that one and the DiagonalGate class, probably latter should go at some point.
Then I think we can merge this.

Yes can you deprecate the old location. It is leading to confusion.

Yes can you deprecate the old location. It is leading to confusion.

Yeah I'll open a PR for that 👍


cleaning up more stuff in vendor

- What I did
There are still a lot of files in vendor that are not actually used. In this PR I'm removing the ones related to CIs like travis and others.
- How I did it
Added a for loop for known files and exec rming them.
- How to verify it
ran hack/vendor.sh
- Description for the changelog

Cleaning up CI files from vendor

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "cleanup-vendor" git@github.com:caarlos0/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "cleanup-vendor" git@github.com:caarlos0/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

LGTM

Thanks 👍

nice! thanks!


Area2D should not be root node of KinematicBody

Some actors such as player and npc have Area2D as the root node, and a KinematicBody representing their bodies as a child node. Because all child nodes follow the transform of their parent node, it seems unintuitive even if the Area2D is static that the KinematicBody's positioning is based on the area's. It should either be the other way round if the area needs to follow the body, or have no parent-child relationship (separate from one another).

Fixed in commit 0c75a27b8ff4fce9cd34384674363a5b823a5cbb

looks good 👍