Add multi-board and initial_state support for PiFace Digital2 board

Breaking Change:
Because of a multi-board support the structure of piface switch's and binary_sensor's configuration is changing from:
  - platform: rpi_pfio
    ports:
      0:

to:
  - platform: rpi_pfio
    boards:
      0:
        ports:
          0:

Description:
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#9160
Example entry for configuration.yaml (if applicable):
switch:
 - platform: rpi_pfio
    boards:
      0:
        ports:
          0:
            name: Garage door
            invert_logic: true
            initial_state: off

binary_sensor:
  - platform: rpi_pfio
    boards:
      0:
        ports:
          7:
            name: Garage door
            settle_time: 63
            invert_logic: true

Checklist:

[X] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[X] Documentation added/updated in home-assistant.io

Hi @szimszon,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Hi @szimszon,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Hi @szimszon,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Hi @szimszon,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Hi,
I signed the CLA... ;)

I'm wondering if this pull request could be accepted in the coming releases?

Ping? ;)

Since most people probably have 1, can we still support just specifying ports, so it won't be a breaking change?

I use two ;)
But right now I need to polish a bit...

7:06 keltezéssel, Paulus Schoutsen írta:

Since most people probably have 1, can we still support just
specifying ports, so it won't be a breaking change?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/pull/22801?email_source=notifications&email_token=AAFWARUFE57CHS7AGSABDFLP3BUOHA5CNFSM4HEAWW72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX5GFNQ#issuecomment-502948534,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFWARTWQJTPNCIWCOQG32TP3BUOHANCNFSM4HEAWW7Q.

--
Üdvözlettel:
Gyuris Szabolcs
E-mail<EMAIL_ADDRESS>Chat.... : @szimszon:oregpreshaz.eu [matrix] (https://about.riot.im/ like Signal, Slack)
FileShare<EMAIL_ADDRESS>[nextcloud] (https://nextcloud.com/ like OneDrive)
Öregprés-ház
Web..... : http://oregpreshaz.eu
FB...... : https://www.facebook.com/oregpreshazpince
Twitter. : https://twitter.com/oregpreshaz
G+...... : https://plus.google.com/101294094345126934261


Feature request: Search google if not found

I have a bad habit of always pressing Cmd+t to open new tab and searching for what again even if I may have several tabs open with that page already, periodically I'll close the window to start fresh.
I thought maybe this extension would help me to reuse tabs rather than reusing new ones... but it seems to have one flaw -- if the page I'm looking for isn't already open I can't find it.  Ideally, I would always use Cmd+e instead of Cmd+t, if the page isn't open the top result should be "Search with Google" (and this should always be an option, but perhaps at end of list). Instead I need to search tabs and if it doesn't come up, revert to my prior workflow and I quickly find myself forgetting I have the extension installed.

As of now, you can press Ctrl + Enter to search Google.


Moving pipelines to github

This PR recreates the CI pipelines inside github actions, this helps centralizing resources and keeping all related resources on the same repository.

closing to retrigger pipelines


What differentiates this from slimv?

Sorry, I haven't installed it yet because I haven't installed Vim 8 yet.
What features differentiate this from slimv?

Slimv is really good at what it does, but it had some limitations.
When comparing to Slimv:

Vlime doesn't have Python dependency while Slimv does. Vlime needs Quicklisp though.
Vlime supports multiple SWANK connections, while Slimv doesn't.
Vlime supports remote SWANK connections through SSH tunnels, while Slimv doesn't.
Vlime uses the new channel & JSON APIs in Vim, which is faster than Slimv I believe. But there's no benchmark at the moment.
Vlime has a rather different REPL implementation, which enables swank-presentations, that means you can copy & paste most of the values returned by the REPL, like you can in Emacs. Slimv cannot do this AFAIK.
Vlime tries to be extendable. I think it's source code is better organized.

But Vlime has it's own limitations too:

Vlime doesn't come with paredit mode, you'll need to install the paredit plugin, or other plugin of your choice, by yourself.
Vlime is asynchronous. you can operate Vim when the server is processing a request. This may cause something weird if the request needs a long time to finish.

There's a tutorial if you're interested: :help vlime-tutor

Thank you for that detailed response!


module not found

i have installed all the required dependencies , but when i run
heroku run app.py
it is showing "no module found numpy " error to me

Do you have all the libraries listed here?


Failing on node.js 11.x and higher

node --expose-gc test/avoid-memory-leak.js ............ 0/1 1s
  no memory leak when loading multiple times
  not ok We expect less than 2MB difference, but 25MB is still claimed.
    at:
      line: 20
      column: 15
      file: test/avoid-memory-leak.js
      type: global
      function: importFreshGracefulFs
    stack: |
      importFreshGracefulFs (test/avoid-memory-leak.js:20:15)
      process.nextTick (test/avoid-memory-leak.js:14:36)
    source: >
      t.ok(memoryUsageMB < 2, 'We expect less than 2MB difference, but ' +
      memoryUsageMB + 'MB is still claimed.');

@isaacs is there any fix for this in sight any time soon? We skip graceful-fs from Node.js v11 on and it would be good to get this back in.

I just tested this against node.js 11.15.0 and 12.7.0 on Linux.  I experienced the error on node.js 11 only, node.js 12 did not have any error.  @BridgeAR @MylesBorins are you seeing the same?


module 'mintapi' has no attribute 'DateFilter' using latest GitHub version

Describe the bug
Traceback (most recent call last):
File "/home/gabe_fortin/PycharmProjects/budget_tracker/budget_updater_all_in_one.py", line 13, in
df = mint.get_transaction_data(date_filter=mintapi.DateFilter.Options.CUSTOM, start_date='01/01/23', end_date='12/31/23', limit=100000)
AttributeError: module 'mintapi' has no attribute 'DateFilter'
What version of MintAPI are you using?
It says 2.14 but I installed from GitHub latest this morning to get past the executable error.
What command[s] did you run / steps to reproduce?
mint.get_transaction_data(date_filter=mintapi.DateFilter.Options.CUSTOM, start_date='01/01/23', end_date='12/31/23', limit=100000)
Stacktrace/error received:
Traceback (most recent call last):
File "/home/gabe_fortin/PycharmProjects/budget_tracker/budget_updater_all_in_one.py", line 13, in
df = mint.get_transaction_data(date_filter=mintapi.DateFilter.Options.CUSTOM, start_date='01/01/23', end_date='12/31/23', limit=100000)
AttributeError: module 'mintapi' has no attribute 'DateFilter'
What did you expect to happen?
Get transactions for 2023
What actually happened?
Error
Additional context
This worked fine until recently but I ran into a problem with PyPi version 2.14 of mintapi (executable...), upgraded mintapi direct from GitHub, that gets me past the executable problem but now says DateFilter attribute is gone...

I'm unable to reproduce the error using the provided code.
Though try using this import which may help.
from mintapi.filters import DateFilter

Adding from mintapi.filters import DateFilter to api.py is allowing me to run some date filters, e.g.  I can use mint.get_transaction_data(date_filter=mintapi.DateFilter.Options.THIS_YEAR). For some reason the custom one with start and end dates doesn't work. Have not really had time to dig it... but good enough for now.


Validate duplicate evar in deployment, pod, job, cronjob spec

Any kind of kubernetes resource with a container could have environment variables with duplicates.
Kubeconform validation on the environment variables, finding duplicates and throwing an error at duplciates would be helpful.
If someone  could point me to the part of codebase where we could add the validation I am interested in taking this up and working on it.
Thank you for the amazing kubeconform, it is useful to us 🙇♀

Hi @suryapandian , could you give an example of a file where kubeconform should throw an error ? Thanks!

I see, in this case no, kubeconform would not be able to figure this out... Maybe check out conftest ? Sorry!

that's alright, thank you, will check out.


Network Structure for multiple inputs

Are there any network structure examples for Multimodal Inputs?  I have the structure for the State shown here:
https://github.com/reinforceio/tensorforce/issues/201
When I use a simple network like this:
* Network as list of layers
network_spec = [
    dict(type='dense', size=32, activation='tanh'),
    dict(type='dense', size=32, activation='tanh'),
    dict(type='dense', size=32, activation='tanh'),
    dict(type='dense', size=32, activation='tanh'),
    dict(type='dueling', size=2, activation='none')
]

I get this error:
"Layered network must have only 1 input, but 2 given."
How do I generate a network to handle multiple inputs?

Hi @etardis,
There is an example in our introduction blogpost under "Neural network configuration". However, it's not possible to use the simplified network spec format, since they (currently) only work for layered networks (hence single input, single output).
Hope that helps!


Convert nightly from a feature flag to a compiler flag

We should convert nightly from a feature flag to a compiler flag.

--all-features can be used on stable. This makes testing and development easier.
(Rust Analyzer can has an option to opt-in all features, but does not have an option to enable all but 1 features.)
Third-party libraries can detect whether nightly features are available with a flag like #[cfg(yew_nightly)] and opt-in nightly features at the same time with Yew itself. Libraries are not able to detect whether a feature is available for a dependency.
This prevents libraries from turning on nightly features "on behalf of the user". Nightly features are by its nature "unstable", as nightly features can be rendered unusable by breaking changes in the Rust nightly version. Let the end user setting the complier flag makes them to be aware of this issue. (See: https://internals.rust-lang.org/t/feature-request-unstable-opt-in-non-transitive-crate-features/16193#why-not-a-crate-feature-2)

:+1: Good idea. That's how it should've been in the first place


policy matching with relative path access has issues with telemetry/alerts

Bug Report
KubeArmor requires that you specify an absolute path in the policy rules. However, when the actual access happens with the relative path, the action is honored, but the policy name/severity/message is not populated with appropriate policy details (defaultPosture is specified as the policy name).
General Information
Environment description (GKE, VM-Kubeadm, vagrant-dev-env, minikube, microk8s, ...)
I tried with k3s
Kernel version (run uname -a)
Linux ubuntu2004-vagrants 5.4.0-120-generic #136-Ubuntu SMP Fri Jun 10 13:40:48 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Orchestration system version in use (e.g. kubectl version, ...)
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.1", GitCommit:"86ec240af8cbd1b60bcc4c03c20da9b98005b92e", GitTreeState:"clean", BuildDate:"2021-12-16T11:41:01Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.6+k3s1", GitCommit:"3228d9cb9a4727d48f60de4f1ab472f7c50df904", GitTreeState:"clean", BuildDate:"2022-01-25T01:27:44Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"linux/amd64"}

Link to relevant artifacts (policies, deployments scripts, ...)
apiVersion: security.kubearmor.com/v1
ind: KubeArmorPolicy
etadata:
 name: ksp-wordpress-block-config
 namespace: wordpress-mysql
pec:
 severity: 10
 message: "blocked access to wordpress configuration file"
 selector:
   matchLabels:
     app: wordpress
 file:
   matchPaths:
   - path: /var/www/html/wp-config.php
     fromSource:
     - path: /bin/cat
 action:
   Block

Target containers/pods
kubectl apply -f https://raw.githubusercontent.com/kubearmor/KubeArmor/main/examples/wordpress-mysql/wordpress-mysql-deployment.yaml
To Reproduce

Install wordpress-mysql deployment kubectl apply -f https://raw.githubusercontent.com/kubearmor/KubeArmor/main/examples/wordpress-mysql/wordpress-mysql-deployment.yaml
Apply policy specified above
Execute kubectl exec -it -n wordpress-mysql wordpress-XXXXXXXX -- bash -c "cat wp-config.php"
Execute kubectl exec -it -n wordpress-mysql wordpress-XXXXXXXX -- bash -c "cat /var/www/html/wp-config.php"

Actual vs Expected behavior
Actual Behavior

Access to wp-config.php should be denied. (This is working)
The alert that is generated should have PolicyName: ksp-wordpress-block-config.

With Step 3 above, this PolicyName is DefaultPosture
With Step 4 above, the policy name is appropriately set.

Expected Behavior
The PolicyName should be correctly set to ksp-wordpress-block-config in both the cases where absolute or relative path accesses are made.
{
  "Timestamp":<PHONE_NUMBER>,
  "UpdatedTime": "2022-07-01T13:32:38.159601Z",
  "ClusterName": "default",
  "HostName": "ubuntu2004-vagrants",
  "NamespaceName": "wordpress-mysql",
  "PodName": "wordpress-bf95888cb-jvcxh",
  "Labels": "app=wordpress",
  "ContainerID": "527562795ec2c4b68573e25f5cddb33c8114117a012c588a7121407e684fcf30",
  "ContainerName": "wordpress",
  "ContainerImage": "docker.io/library/wordpress:4.8-apache@sha256:6216f64ab88fc51d311e38c7f69ca3f9aaba621492b4f1fa93ddf63093768845",
  "HostPPID": 1897055,
  "HostPID": 1897061,
  "PPID": 1897055,
  "PID": 1330,
  "ProcessName": "/bin/cat",
- "PolicyName": "DefaultPosture",     # <----- Actual
+ "PolicyName": "ksp-wordpress-block-config",    # <---- Expected
  "Type": "MatchedPolicy",
  "Source": "/bin/cat wp-config.php",
  "Operation": "File",
  "Resource": "wp-config.php",
  "Data": "syscall=SYS_OPEN flags=O_RDONLY",
  "Enforcer": "AppArmor",
  "Action": "Block",
  "Result": "Permission denied"
}

@nyrahul has this been fixed? I'm getting the correct PolicyName in my with the latest changes.

Closing this issue since this does not seem to be a problem anymore based on test results.


problem

Type: Feature Request
la button (M) n'est pas fonctionnée dqns vs code message ( la combinison de touches (m,m) n'est pas une commande
VS Code version: Code 1.76.1 (5e805b79fcb6ba4c2d23712967df89a089da575b, 2023-03-08T16:32:00.131Z)
OS version: Windows_NT x64 6.2.9200
Modes:
Sandboxed: No

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


const chars and strings aren't properly escaped (unescaped?)

Thanks @strazzere for bringing this up. (in pull request #5)

should be good now


Dark mode

Fixes #1148

[x] Simple button toggle
[x] Canvas colors are flipped
[x] Visible by default UI
[x] Rest of UI

[x] Dialogs
[x] Edit box
[x] Colorpickers

[ ] Display and support editing flipped color codes I didn't manage to implement this and I don't think it's needed

To save you a click:

Fingers crossed this should be ready to merge. @dwelle @lipis please take it for a spin when you get a chance. Thanks ❤

Super cool.
A few notes:

[ ] Text selection background differs between mobile/desktop (on mobile legibility is worse). Not sure if native or css:

@dwelle thanks for the thorough review.

the GH icon is hardly noticable. Maybe ok.

I tried to make it relatively as visible as it is in light mode, but I'll check to see whether I should it bump it up a bit.

I'd probably keep the export preview in light-mode, otherwise it may look like we'll export the PNG in dark mode colors:

I think I'd prefer the PNG to be exported in dark mode (if possible). WDYT? (I honestly use screenshoting on macos instead of the export dialog)

Scene background color picker swatches appear as if transparent:

What do you mean by "transparent"? They are very low contrast but that's true for light mode too.

I think I'd prefer the PNG to be exported in dark mode (if possible). WDYT? (I honestly use screenshoting on macos instead of the export dialog)

That will be a hard sell. UI scheme shouldn't affect what gets exported. Moreover, if we later change how each color is rendered in dark mode, it would again change export output. Not good.

What do you mean by "transparent"? They are very low contrast but that's true for light mode too.

I mean it gives a feeling as if you took the whole popup and made it opacity: 0.4 or something. Either way, it's hard to read. I agree that we should leave the swatch colors themselves be, but I'd at least tweak the swatch borders and shortcut hints (make it the same light gray as UI text).

export dialog name input and buttons are vertically narrower

this is a fix to a bug in prod (you can see the background of the selected icons bleeds out a bit in prod)

I have not changed the swatches, since they kinda match the light version (it could also be improved), and I haven't looked into text selection (I think it can be done separately).
I fixed everything else, and a few other things.
I'll merge this in tomorrow to avoid merge conflicts with other PRs, unless anyone can find a launch blocker :)

Cool.
I'll merge this in tomorrow to avoid merge conflicts with other PRs, unless anyone can find a launch blocker :)
Conflicts with what? The CSS scoping PR? I'd probably merge this one first.

I'd at least change the keybinding colors.

Ok but I'm gonna fix the light mode ones too then.

Conflicts with what?

Conflicts with anything since this touches so many files :)

I intend to merge this today -- am in the process of reviewing the code

The exportAppearance does nothing right now apart changing the display of export dialog. We should either drop it or make the exported image respect the dark mode.

Thinking about it, we may want to support keeping preview in dark mode regardless of export setting (if we ever implement that), so instead to make it more clear I changed the UI a bit:

I'll give you chance to have some parting thoughts, and if you're ok I'll merge this tomorrow morning.

Thinking about it, we may want to support keeping preview in dark mode regardless of export setting (if we ever implement that), so instead to make it more clear I changed the UI a bit:

Yeah I forgot to change the PNG to actually export in dark. I think this is worse (because you won't notice it, will export, and boom you get a different image than what you saw in the dialog). But again I don't care much about the export so this works.

Ok, I see this issue is too controversial so I removed the option completely and we'll leave it for another PR.


Deprecate AADAppRoleStatelessAuthenticationFilter and AADAuthenticationFilter

Deprecate AADAppRoleStatelessAuthenticationFilter and AADAuthenticationFilter
Update azure-spring-boot-starter-active-directory readme file

For suggestions, please visit this #17860.

@ZhuXiaoBing-cn , Maybe we should do like this: https://github.com/spring-projects/spring-security-oauth/blob/2.5.0.RELEASE/spring-security-oauth2/src/main/java/org/springframework/security/oauth2/common/OAuth2AccessToken.java#L21-L28

@chenrujun Okay, I'm going to modify it.

We should provide an option to users, letting them include our aad starter for resource server case.


Initial -beta- version of the ansible egeria playbooks.

Adding the first version of the ansible playbooks for Egeria omag server deployments.

Done, added DCO sign-off. Please merge it, thanks!


Ability to iterate of a normal JSON array

Is your feature request related to a problem? Please describe.
In the docs it is mentioned that it is recommended to have an object to represent an array: https://next-intl-docs.vercel.app/docs/usage/messages#arrays-of-messages
Ideally, I want to iterate over an array until the end of it without having to do this:
const messages = useMessages();
const keys = Object.keys(messages.homepage);

Is this possible ? Couldn't find anything in the doc
Describe the solution you'd like
Be able to iterate of an array looking like that:
{
   "categories":[
      {
         "title":"Y"
      },
      {
         "title":"X"
      },
      {
         "title":"Z"
      }
   ]
}

Describe alternatives you've considered
None.

Nope, currently only the approach that is outlined in the docs is supported. This has already been discussed various times in GitHub issues and discussions, please also see related conversations.


highway preset: "Allowed Access"

What is the detailed meaning of "Allowed Access"-options which you can find at highway preset?
Is this what traffic signes surveyors tell when they walking along the street?
If so, please could you add this to addional information in a text, eg "Allowed Access, by traffic sign"

What is the detailed meaning of "Allowed Access"-options which you can find at highway preset?

Nobody really can say for sure, because every mapper will probably have their own opinion about what things mean - but the best descriptions of these tags are captured here:
https://wiki.openstreetmap.org/wiki/Key:access


[bug] Why is r2dbc always executed on the same thread ?

I used springwebflux + r2dbc-mysql to build the web project. In my tests, I found that most database operations were always performed in the same thread, resulting in 80% cpu load on that thread. I checked the driver and reactor-netty-core source code and found nothing wrong. The eventloopGroup in reactor-netty in the driver is multithreaded, but it turns out that with spring connection pooling, all connected channels are bound to an eventloop.

my pom:

com.siyuchat.im
reactive-remoting-service
1.0-SNAPSHOT

com.siyuchat.im
message-api
runtime

com.websiyu.im.sdk
im-sdk-user-api

org.springframework.cloud
spring-cloud-starter-bootstrap

com.alibaba.cloud
spring-cloud-starter-alibaba-nacos-discovery

com.alibaba.cloud
spring-cloud-starter-alibaba-nacos-config

com.siyuchat.im
sy-connect-user-starter

org.springframework.boot
spring-boot-starter-webflux
3.3.1

org.springframework.boot
spring-boot-starter-actuator

org.springframework.boot
spring-boot-starter-data-r2dbc

org.springframework.boot
spring-boot-starter-data-redis-reactive

org.redisson
redisson-spring-boot-starter

org.redisson
redisson-spring-data-32

org.redisson
redisson-spring-data-30

io.asyncer
r2dbc-mysql
1.1.3

org.apache.commons
commons-lang3

com.google.guava
guava

com.github.ben-manes.caffeine
caffeine

io.opentelemetry
opentelemetry-api
${version.opentelemetry}

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <scope>test</scope>
    </dependency>

    <dependency>
        <groupId>io.micrometer</groupId>
        <artifactId>micrometer-registry-prometheus</artifactId>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-validation</artifactId>
    </dependency>
</dependencies>

Hi, @threeMonthee.
It looks like an issue in R2DBC pool. which version of r2dbc-pool are you using? seems latest r2dbc-pool would fix the issue.

ref: https://github.com/reactor/reactor-netty/issues/2865

Hi, @threeMonthee. It looks like an issue in R2DBC pool. which version of r2dbc-pool are you using? seems latest r2dbc-pool would fix the issue.

ref: reactor-tcp-nio-3 thread cpu 100% reactor/reactor-netty#2865

I use spring-webflux:3.0.2 and r2dbc-pool is 1.0.0.RELEASE.

Hi, @threeMonthee. It looks like an issue in R2DBC pool. which version of r2dbc-pool are you using? seems latest r2dbc-pool would fix the issue.

ref: reactor-tcp-nio-3 thread cpu 100% reactor/reactor-netty#2865
That seems to be the question, thanks

I use spring-webflux:3.0.2 and r2dbc-pool is 1.0.0.RELEASE.
Could you upgrade to version 1.0.2 to see if the issue still occurs?


Add build options to query.py

The query module was ignoring build argurments like --build-status and
--last-build so running a command like cibyl --last-build would not
show the builds even if the source was recovering them.

If you'd like '--last-build' and '--build-url' to not need to be preceded by '--builds', then you should probably do the same with '--job-url' and such.

Those are good points, thanks. I added in a new commit the missing job arguments and tests to cover the new arguments added.


update list of supported dvc remote types

update the list of supported dvc remote types in managing-external-data.md to match importing-external-data.md

Ah. Thanks @torresalyssa but the remotes supported for external dependencies are different than the ones for external outputs, actually. For a full list of DVC remotes please refer to https://dvc.org/doc/command-reference/remote/add#supported-storage-types for now. See also https://github.com/iterative/dvc.org/issues/2866

Thanks that is helpful to know, I wasn’t aware they were different!

These docs are a bit old though. @dberenbaum can you please confirm this is still the case? Thanks

Yup, I think that's still correct. Thanks anyway for the PR!


Editors: override asks for reentrant openEditor calls?

Today when you want to override the opening of an editor, you do so by returning an IEditorPane as part of the opening of an editor. This is only possible by calling openEditor within, making it possible to end up with endless loops unless you break with some condition.
@mjbvz thoughts on why this approach was taken? I guess for historic reasons? Wouldn't a better solution be to simply return the editor input and options that should be used for opening to prevent the re-entrant call?
//cc @jrieken

Yes I think it is only for historical reasons.
I took a quick look through the code and it does look like the setting editor uses the IEditorPane: https://github.com/microsoft/vscode/blob/cadabab73fef89fe0c4bfe23b5a33cd58e39ea9c/src/vs/workbench/services/preferences/browser/preferencesService.ts#L327
Not sure if this could be updated to return an IEditorInput instead
/cc @roblourens @rebornix

Probably. @sandy081 ?

There is actually a super weird twist to this because onGroupWillOpenEditor isn't awaited correctly. That means an open-overwrite-handler will be called twice no matter if if the override flag is set or not. This reproduces with the explorer which always calls openEditor twice

have a simple open-overwrite-handler which does something and set override: false
select a file on the explorer -> the handler is called twice
select a file from quick pick -> the handle is correctly called once

Not sure if this could be updated to return an IEditorInput instead

Yes, If we can get the code editor from it.

I would like to clean this up for June if possible 💪

I have to pull out, didn't get to it in debt week. It is true that for example the settings editor somehow implemented this in a way that it needs the openEditor call and cannot just return an editor input, though that could maybe be changed.
As for @jrieken comment in https://github.com/microsoft/vscode/issues/99771#issuecomment-642520728 I do not understand the issue fully, however found that every click into the explorer results into 2 open editor calls, reported as https://github.com/microsoft/vscode/issues/100175
I opened https://github.com/microsoft/vscode/pull/100173 to clean up the editor override a little bit.
I feel the remaining debt here is that an editor override is forced to set override: false as part of the options to ensure that the override-endless-loop is stopped. So still, changing this to return maybe a pair of editor input and options would be best, but this needs adoption in all places.

/duplicate 99771


Technical Requirements - NextJs

NextJS: Your portfolio's foundation.

Ended up using Jekyll for the website backbone due to complications when trying to start a project using NextJS with little to no time left in the semester


Reuse existing bpf code

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
We can eliminate code duplication by reusing the existing BPF recorder in the CLI.
Which issue(s) this PR fixes:

Part of #1482
Does this PR have test?

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

@kubernetes-sigs/security-profiles-operator-maintainers PTAL
Ubuntu tests are broken due to Google Cloud issues for now.

/lgtm cancel

The ubuntu tests should be unrelated (not affected) by this change since we have no CLI e2e testing in place yet.

@kubernetes-sigs/security-profiles-operator-maintainers PTAL

/test pull-security-profiles-operator-test-e2e

/lgtm
/approve

/override pull-security-profiles-operator-test-e2e


Backport gzip responses to /v3 API #19454

Backport for #19454

will be in rc8

I know we are aware of most of the issues with the gzip changes but I am recording them so we can be certain we are aware of all of them.
Monitoring:
v2.2.2-rc8
With Firefox, monitoring does not work as expected.
v3/clustermonitorgraphs?action=query

When I use Chrome I encounter no issues.
I noticed in FF I see the response as gzipped data or a hash or something like:
H4sIAAAAAAAA/5SPwUoDMRCG32VOColMthmb7NmL4BuUPYRkWld3NyHJCqX03WUrCNrW4jn/l2++A9R9YmjBx2FgX/s4gYDgqoN2c4Bddun1+Wl5l4/bN/Pe+mEulbP0aZZDdAEEFM49l9N+cuPy2Ut0QdFdcB99kNmbexCQYj/VZbXBB4UkFJG2ilbGImLXHcVP+jrc2FvwH+ZGnbEn+nroyGPMezkXt+OLsd+u35GGcG0VoUZa6eb86BvibfmSysTZ81T/JUeyazSaFBltyKK9YO+OnwEAAP//uOiaxv4BAAA=
Whereas in chrome I see the response as decompressed plain text:
{"type":"collection","data":[{"graphID":"c-6fj8k:cluster-network-packet","series":[{"name":"Transmit packets(david-rc8)","points":[[2.07719298245614,1554915712000],[2.1052631578947367,1554915717000],[2.1052631578947367,1554915722000],[2.1052631578947367,1554915727000],[2.0561403508771927,1554915732000],[2.0561403508771927,1554915737000],[2.0561403508771927,1554915742000],[2.063157894736842,1554915747000],[2.063157894736842,1554915752000],[2.063157894736842,1554915757000],[2.0350877192982453,1554915762000],[2.0350877192982453,1554915767000],[2.0350877192982453,1554915772000],[2.0280701754385966,1554915777000],[2.0280701754385966,1554915782000],[2.0280701754385966,1554915787000],[2.021052631578947,1554915792000],[2.021052631578947,1554915797000],[2.021052631578947,1554915802000],[2.0561403508771927,1554915807000],[2.0561403508771927,1554915812000],[2.0561403508771927,1554915817000],[1.9964912280701754,1554915822000], TRUNCATED_THIS!]]}]}]}

Pipelines:
v2.2.2-rc8
With Firefox pipelines do not work as expected.
v3/projects/c-6fj8k:p-5t5xt/pipelines/p-5t5xt:p-2jllq/configs

I run into the same problem as monitoring... I see the response is either not decompressed or is a hash or something -- it just looks like binary data to me.

response:
H4sIAAAAAAAA/6pWyk0sLkktUrLKK83JqQUEAAD//wOUq5gPAAAA
But in Chrome it works. The response is (in my case):
{"master":null}
The other browsers also work fine; I only see the issue in Firefox.

I have not been able to identify any other issues in other areas of the UI. I spent a decent amount of time trying to smoke testing everything I could imagine in the UI.
If I identify any other issues I will leave a comment. I will continue my testing with other issues today with Firefox just in case I identify any other problem-areas.

Refer to #19508 for incoming fix

will be in rc9

Verified the below cases in rancher:v2.2.2-rc8.

Content-Encoding: gzip is available in the response header.
Provisioned AWS and DO clusters. Deployed workloads and ingresses.
Deployed Multi cluster app, catalog apps and namespaces. They go from activating/installing to active without reloading.
Automation test cases have passed.
Verified a the size difference in the api calls(project having around 100 workloads where the size difference was noticeable)

@davidnuzik Issues seen with monitoring and pipeline can be validated in rc9  tracked in #19508. Please follow up on these workflows in  https://github.com/rancher/rancher/issues/19508.


[WIP] First run at internal pager

This is an attempt to address #141 from @cmtoomey
It totally works, but I don't like it very much and am very very open to alternative suggestions.
I tried partials and other things but ultimately I couldn't quite get all the arg passing to work.
Only one test fails, and that's because I changed the return signature of the populate_users call.
I manually tested and this works, including setting request options to something custom.
@RussTheAerialist please save me from myself.

Take two!
Thanks to @RussTheAerialist my inability to get the lambda right even though I totally tried it is totally solved -- it works using the internal Pager and is backwards compatible.
BUT, there are some issues:

If we redo this API to be lazy-loading, we have a lot of work to do to keep the model up to date with the source, especially when calling add/remove user.
I need to do a few more minor things for code cleanup

lets talk in the office. I don't totally understand. :)

Recording the high level API:
group = server.groups.get().pop()
users = server.groups.iter_users(group)  # iter_users returns a Pager[UserItem]

Then you can call list(users) if you need a list, or just run it as a normal generator.
This is simple, clear, and works with existing APIs (after some adapting that @RussTheAerialist  and I worked out).
BUT, there's a problem... what do we do with GroupItem.users -- today it throws an exception until you call populate, then it gets a list back (the bug is that it's only the first page). With this design there's no way to safely populate the users property. If it gets handed the Pager, then it's not repeatable (it'll run until exhausted, then you'd need to call iter_users again... and you can't tell where in the iteration you are)
One option is to make GroupItem.users get a new Pager everytime, which could be appealing -- but then our model would have to carry knowledge of the server session somehow, and I'm not sure how that API would go.
And that's where I'm stuck.
/cc @LGraber @RussTheAerialist
I'll try to catch you guys during hack week, but you're so busy :P

Other than the work to get tests working, I think, if we like this (elegant and simple ;) ) approach, I can go and update all sub-lists (views, connections, etc), or do those in a new PR.
Thoughts?

Killing this in favor for #204


[logseq] ...logseq search found Failed to open link. Missing graph identifier after logseq://graph/.

Extension
https://www.raycast.com/futantan/logseq
Description
when i use logseq searh, it found some pages，but i open the results, then i will found a error about 'Failed to open link. Missing graph identifier after logseq://graph/.

my logseq path is in cloud, and i set path is '/Users/myusername/Library/Mobile Documents/iCloud~com~logseq~logseq/Documents/'
what can i do?
i use mac m1pro,and logseq is the last version,raycast is the last version.
Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response

Still having this issue. Who is maintaining this extension?


Implement TextArea that can auto-size its height based on the contents

Existing TextAreas only work with fixed sizes and we have no variant that can change its height dynamically based on its contents. We should — we solved this problem in GIAS, and we should share our solution.

Dupe of #630


Did git master just break?

# github.com/libvirt/libvirt-go

/tmp/go-build756541303/github.com/libvirt/libvirt-go/_obj/stream_cfuncs.cgo2.o: In function `virStreamSparseSendAll_cgo':

../../libvirt/libvirt-go/stream_cfuncs.go:95: undefined reference to `assert'

/tmp/go-build756541303/github.com/libvirt/libvirt-go/_obj/stream_cfuncs.cgo2.o: In function `virStreamSparseRecvAll_cgo':

../../libvirt/libvirt-go/stream_cfuncs.go:112: undefined reference to `assert'

collect2: error: ld returned 1 exit status

Or is it my fault somehow? Thanks

(For reference: our git master cron builds started failing... Full logs...)
https://travis-ci.org/purpleidea/mgmt/jobs/236899475#L715
This looks like the issue: https://github.com/libvirt/libvirt-go/commit/41d08218de5e4c4b3aff4220e18ae5212a7c360f
Which seems to be present in your CI too ! :)
https://travis-ci.org/libvirt/libvirt-go/jobs/236443990#L2988
I guess this is a +1 vote for not pushing to your master if the builds are broken.
Thanks

Of course I test before pushing to master, but I can't manually test every combination - that's what the CI is there to detect

I meant something along the lines of this might help:
https://ttboj.wordpress.com/2016/02/16/introducing-git-tpush/
Thanks!
On Tue, May 30, 2017 at 5:31 AM, Daniel Berrange<EMAIL_ADDRESS>wrote:

Closed #20 https://github.com/libvirt/libvirt-go/issues/20.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/libvirt/libvirt-go/issues/20#event-1101961745, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIPs_GTvOwDKK_8b1LPvsWscTDV0Ls7ks5r--IHgaJpZM4NoyMT
.


ImportError: cannot import name 'BaseSettings' from 'pydantic_settings' on docker container after migration to V2

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
I'm starting to have import errors after migration. I get: ImportError: cannot import name 'BaseSettings' from 'pydantic_settings' (/usr/local/lib/python3.8/site-packages/pydantic_settings/__init__.py) I have done pip install pydantic pydantic-settings and already importing BaseSettings from pydantic_settings.
The same works fine on local machine.
Example Code
No response
Python, Pydantic & OS Version
python 3.9 - not pinning pydantic version.

probably pydantic-settings is not installed in your environment. run pip list to see the installed package in your machine.
Nothing to help here.
I close this issue for now. please open an issue related to to pydantic-settings in pydantic-settings repo.


NPS extension firewall

Does the NPS server require any uninitiated inbound connectivity from the internet, or are all requests initiated from the extension?

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

ID: a61a7e9a-44bf-7bdc-f810-87e2fd6792e1
Version Independent ID: 71d11105-b83e-952e-d107-1ff9a7c8d107
Content: Use existing NPS servers to provide Azure MFA capabilities
Content Source: articles/active-directory/authentication/howto-mfa-nps-extension.md
Service: active-directory
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

Thanks for the feedback! We are looking into this and will get back to you shortly.

NPS extension handles inbound connection requests from the Internet, if that's what you mean. Uninitiated inbound connectivity is not required.
This document explains the process in detail.

I'm going to close this out for now. If you have further questions, feel free to leave a comment and I will gladly continue the discussion.


Canary builds

Is it possible to setup canary builds for all images when a new commit is pushed to main branch.
This will help a lot with testing of not-yet-released images by the community, which will also can help catch issues before the image is released.

All images are built in a couple of docker-compose stacks on every push to every branch. If there's something else to test, feel free to suggest it?

The two stacks are built and tested here - https://github.com/uselagoon/lagoon-images/tree/main/helpers

And all built images are pushed into our testlagoon dockerhub organisation with a main or pr-xxx tag
eg:
testlagoon/php-8.0-cli:pr-999 or testlagoon/nginx:main

@tobybellwood
thank you for explaining. This is sufficient.
I was not aware of testlagoon. https://docs.lagoon.sh/ have no mention of testlagoon.

Yah - generally the images aren't for consumption - but where users collaborate on PR's we'll usually post the links for testing with.


Allow source_suffix to be a dictionary

Sphinx >= 1.8 supports a dictionary for source_suffix:
https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-source_suffix
Once merged and deploy, this build should pass: https://readthedocs.org/projects/test-builds/builds/8459471/
I tested this locally and that project builds properly.

I still see the problem on this build: https://readthedocs.org/projects/kubernetes-on-aws/builds/8515774/ The new changes are not injected in the conf.py. Do I need to enable anything to get the latest change?

@mikkeloscar this change isn't deployed yet

:( any idea on when it will be deployed? (I assumed it was because the issue was closed :))

Maybe this week or the next


tutorial dataset details need to be moved to datasets_index.rst

See these comments by @larsoner:

https://github.com/mne-tools/mne-python/pull/8867#discussion_r577008586
https://github.com/mne-tools/mne-python/pull/8867#discussion_r577009818
https://github.com/mne-tools/mne-python/pull/8867#discussion_r577010433

closed by 68ba9109e42d573ef5736e414f809673de694d5f and 6b8ef202396ea2138fb29cdaf9172374c9e9ce49


chore: bump<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 428581931

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 28.523%

Totals

Change from base Build 426122400:
0.0%

Covered Lines:
1931

Relevant Lines:
6914

💛  - Coveralls


docs: fixed some React typos in Link usage.mdx

Fixed a few typos in the Link / React usage docs

This doesn't feel like a valid fix.

'React Router or React Router' and React's Link

Those are incorrect wordings and contain duplicated.
Kindly re-open with a better wording when you have some time
Thank you


Add A Warning Block System

I'll try to explain what I mean in great detail:
When a player is warned by a staff member, I would like it to have a feature where that player can not be warned for x amount of seconds again to prevent them accidentally reaching the limit where they would get tempban. I've seen it happen where 3+ staff members will be on and they'll each issue a warn around the same time resulting in a temp ban for 1 warning when its suppose to be 3 warnings.
I hope I made sense,
thanks

@SirRicharalar You made a Pull Request (A way to share code you've written) on Phonon (A discord bot for Minecraft Servers). I don't think this was your intention because this sounds like an issue/ticket for Nucleus... If so, please close this and post your issue here


feat: port Analysis.SpecialFunctions.Gamma.Basic

I think this is a spurious error, let's try again
bors r-

bors r+


Fix SIP Bug

Failed to patch scripts for the second time if the user does not have permissions to write to the file.

bors r-
just noticed it's draft :D


Unable to hide/destroy publisher DIV

After calling TB.initPublisher(), with or without  subsequent call to session.publish(), the publisher DIV is displayed. When I try any of the following:
session.disconnect() or
session.unpublish() or
publisher.destory()
The publisher DIV stays on the screen with video on.
In case of calling publisher.destory(), the following error message is shown:
2014-03-22 12:05:52.529 xxxxxx[2208:60b] ERROR: Method 'destroyPublisher:' not defined in Plugin 'OpenTokPlugin'
2014-03-22 12:05:52.530 xxxxxx[2208:60b] -[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [
"OpenTokPlugin1211862497",
"OpenTokPlugin",
"destroyPublisher",
[ ]
]

Hi I'm using com.tokbox.cordova.opentok 3.0.0, I'm facing the above problem, any help please.


net/url: When I used net/url package ,I met a Bug.

What version of Go are you using (go version)?

$ go version v1.13.5

Does this issue reproduce with the latest release?
Maybe ,this issue reproduce with the latest release.
What did you do?
package main

import (
	"fmt"
	"log"
	"net/url"
)

func main() {
	fmt.Println("vim-go")
	u := "http://admin:FSdf%30g52@<IP_ADDRESS>:8888"
	log.Println(u)
	uri, err := url.Parse(u)
	if err != nil {
		fmt.Println("=>", err)
	}
	log.Println(uri)
	URL := uri.String()
	log.Println(URL)
}

If you run this code , the %3 will miss

What did you expect to see?
I hope the net/url can clear distinction the correct URI, don't miss something.

When you want to show plain text, please just paste plain text.  Please do not paste an image.  Plain text is much easier to read and understand.  Thanks.
In a URL %30 means ASCII character 0x30, which is 0.  See, for example, https://en.wikipedia.org/wiki/Percent-encoding .
Closing because this is behaving as intended.


Implement proper headless Web browser testing

Right now if you launch cargo web test it will launch your tests in a new Chrome/Chromium instance it finds installed on your system. This is a huge hack which should be replaced by a proper headless browser (either headless Chromium or headless Firefox, or even both, because cross browser testing is important).

[X] Write a driver for one of the headless browsers in Rust. (This shouldn't have any external dependencies like Node.js, etc.)
[X] Replace the current cruddy way of running tests.
[ ] Set up an automated way to build a package with our headless browser just as we're currently building Emscripten and Binaryen under Docker. (Linux only for now.)
[ ] Make cargo-web automatically download and install it.

I would appreciate an integration with WebDriver (which allows ChromeDriver and GeckoDriver) as it would allow testing with multiple drivers and provides a common interface.


Extend tools to handle multiple files

Extend DiffTool, MergeTool, EditTool, and ShowTool to support one or more files in each tool.

@gh-devnull can you format? In the repository there is a helper script cl-fmt.sh which formats the code with clang-format
We will probably release next 1 or two weeks, I have to check if I find the time to review this one. Otherwise it will land directly after the release.

On 4/16/23 05:01, Murmele wrote:

@gh-devnull https://github.com/gh-devnull can you format? In the
repository there is a helper script cl-fmt.sh which formats the code with
clang-format

@Murmele: Done.


Release Note - SAP Rename

Made a release note for the SAP component rename.
Also took the opportunity to make Mendix Cloud version references consistent.

Approved by Nidhi via Slack.


Add 'image' property to docs

There is an available image property for the custom image on the react and polymer components, but it isn't in the docs.

Thanks for the reporting!


Python version of feed generator

@dholms don't you mind adding https://github.com/MarshalX/bluesky-feed-generator in the README? I think many people and the Python ML community will be glad to know about it

Answered in Bluesky. Thank you!


[Packaging] Remove deprecated usages of distutils

Related command

az --help
Description

This is related to #27673.
Testing Guide

On Python 3.12, do az --help. If it works, this is fixed.
History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Packaging

@microsoft-github-policy-service agree

Reaching out to @svenstaro : The current build on Arch, patched with the diff from this PR, still uses get_path("purepath") (instead of get_path("purelib")). The tool is essentially broken now on arch (extra/azure-cli 2.60.0-1)

@MThomassen: Sorry, fixing right now.

Should be fixed in Arch. Can we get this patch merged upstream?

from distutils.sysconfig import get_python_lib is slow.
This PR also saves about 0.2s for each CLI command.

In the official CLI package, we always install setuptools, and setuptools includes a ported version of distutils, ensuring that the related code continues to work in Python 3.12.
However, I believe eliminating its usage is the right move.
Ref:
https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html
https://github.com/pypa/setuptools/issues/3533

@deveshdama Could you please help review the ACS related code?

@svenstaro, thanks a lot for your contribution. Great work!


Verification email is sent when username is already taken

Tried registering with the name "oddvar" - got an error saying username is already taken but also got a verification email.

The client must send a register request with the username, the password and the bind_email flag before requesting a validation token by email.

This issue has been fixed in the PR  Add check for user in use #109


shell connections are bounced ~30 seconds into debian boot cycle subsequent to first boot/provision

Description
After the first boot/provision process has completed on a debian12 vm. Creating a new lima shell early in any subsequent boot process, the shell is bounced after about the same time as the initial limactl start creation command takes.
Watching the journal before bounce, always exits here
$ lima sudo journalctl -f
<snip>
Oct 24 00:51:23 debvm cloud-init[1583]: Cloud-init v. 22.4.2 running 'modules:final' at Tue, 24 Oct 2023 00:51:23 +0000. Up 36.11 seconds.

Looking through the journal around then, I believe the boot.sh script output isn't flushed before termination so it's a bit later the session is terminated:
Oct 24 00:51:23 debvm cloud-init[1583]: + command -v loginctl
Oct 24 00:51:23 debvm cloud-init[1583]: + loginctl terminate-user mhio
Oct 24 00:51:23 debvm systemd[1]: Stopping session-2.scope - Session 2 of User mhio...
Oct 24 00:51:23 debvm sshd[1271]: pam_unix(sshd:session): session closed for user mhio
Oct 24 00:51:23 debvm sudo[1286]: pam_unix(sudo:session): session closed for user root

Which led me to
https://github.com/lima-vm/lima/blob/b5aa0dd2f504a189382fb0ea6710a37151407abc/pkg/cidata/cidata.TEMPLATE.d/boot/07-etc-environment.sh#L17
I believe the purpose here is to inject environment before the lima provisioning starts. I assume some config changes might need to be reflected here after first provision/boot?
Could the login-ctl terminate-user be guarded on the content of /etc/environment changing? Something like
if [ -e /etc/environment ]; then
  etc_environment_sum_pre="$(md5sum /etc/environment)"
  sed -i '/#LIMA-START/,/#LIMA-END/d' /etc/environment
fi
cat "${LIMA_CIDATA_MNT}/etc_environment" >>/etc/environment
etc_environment_sum_post="$(md5sum /etc/environment)"

if command -v loginctl >/dev/null 2>&1 && [ "$etc_environment_sum_pre" != "$etc_environment_sum_post" ]; then
  loginctl terminate-user "${LIMA_CIDATA_USER}" || true
fi

lima.yaml
images:
  - location: 'https://cloud.debian.org/images/cloud/bookworm/20231013-1532/debian-12-genericcloud-amd64-20231013-1532.qcow2'
    arch: 'x86_64'
    digest: 'sha512:b2ddc01e8d13dabbcfde6661541aae92219be2d442653950f0e44613ddebaeb80dc7a83e0202c5509c5e72f4bd1f4edee4c83f35191f2562b3f31e20e9e87ec2'
  - location: 'https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2'
    arch: 'x86_64'
vmType: 'vz'
mountType: 'virtiofs'
mounts:
  - location: '/tmp/lima'
    writable: true
networks:
  - socket: '/private/var/run/socket_vmnet'
containerd:
  system: false
  user: false
hostResolver:
  enabled: true

Also, the lima guest agent socket removal past first provisioning would be removing the already started lima-guestagent.service socket.
https://github.com/lima-vm/lima/blob/b5aa0dd2f504a189382fb0ea6710a37151407abc/pkg/cidata/cidata.TEMPLATE.d/boot/07-etc-environment.sh#L20-L21
Additionally the path to the file is /run/lima-guestagent.sock on this debian vm, so maybe isn't doing anything?
$ ls -l /run/lima-guestagent.sock
srwxrwxrwx 1 root root 0 Oct 24 00:51 /run/lima-guestagent.sock

The disconnect seems to be highlighted due to my use case of not using limactl start and waiting, but running the vm's command /usr/local/bin/limactl hostagent --pidfile /Users/kimi/.lima/default/ha.pid --socket /Users/kimi/.lima/default/ha.sock default directly via a launchd agent.
The vm also has a slightly longer systemd startup time, waiting for all the containers to be running before lima's cloud init steps run.

@jandubois Could you take a look?

Sure. In general I would say that this is expected if you connect to an instance before all the "requirements" have been completed that are part of the regular limactl start process.
However, I think we should implement the change proposed by @mhio that the user session is not bounced when /etc/environment hasn't changed.
@mhio Let me know if you want to create a PR, or if I should do it based on your suggestion above?

It looks like the cidata iso is all built in process, I don't have a build environment to test it right now but commits are there if needed.

PR created
The socket removal can left behind if needed,  I kept it in a second commit as it was just clean up and doesn't affect this issue.
That socket file on my system is /run/lima-guestagent.sock.  In normal operation, after first boot provisioning, removal of the corrected socket path would remove the already running lima-guestagentservices socket. So I don't think it's fixing anything in provisioning at the moment, and would only degrade the normal boot up situation if therm` was updated to remove the correct path.


Install flowsynth with pip

This branch installs flowsynth using pip.

Removes dependency on knowing flowsynth's directory structure.
Automatically installs flowsynth's dependencies.
Paves the way from installing from a released wheel on https://pypi.org instead of pulling from github.

This work is dependent on https://github.com/secureworks/flowsynth/pull/14 landing.

This functionality incorporated into https://github.com/secureworks/dalton/pull/133.  Thanks!


It is no longer possible to delete logs in webminstats module

Steps to reproduce:

Go to webminstats module
Click on log file.
Click on clear.
See the error message that shows up in a screenshot

Alright, that was theme small issue.
Fixed.
Thank you for reporting! 😉


Adjust for ptr_op changes

This is the Miri side of https://github.com/rust-lang/rust/pull/62946.

:umbrella: The latest upstream changes (presumably #878) made this pull request unmergeable. Please resolve the merge conflicts.

@bors r+

:pushpin: Commit 61d8a4e101ba7822d4b86bdb548adb5bbc96e461 has been approved by RalfJung

:hourglass: Testing commit 61d8a4e101ba7822d4b86bdb548adb5bbc96e461 with merge 86ffa5d027c5725d07fa2118317ea3614b5d0b3e...

:broken_heart: Test failed - checks-travis

Silly, forgot to update rust-version...
@bors r+

:pushpin: Commit 5efacf636baba76bec2255e3d3312f5d5c81018f has been approved by RalfJung

:hourglass: Testing commit 5efacf636baba76bec2255e3d3312f5d5c81018f with merge 9d3fdeeed713a36be3b858c423ee17f9c053303d...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing 9d3fdeeed713a36be3b858c423ee17f9c053303d to master...


[BUG] in neotest.lib.treesitter.parse_positions caused by neotest.lib.files.read

NeoVim Version
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1702233742

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Describe the bug
I tried to make my own adapter so I looked over other adapter code and I ran into a problem using
require("neotest.lib").treesitter.parse_positions(valid_file_path, valid_query)

parse_position uses neotest.lib.files.read which itself uses nio.uv.fs_open : (as U can see I added a vim.print to log)

function neotest.lib.files.read(file_path)
  logger.debug("Reading file: " .. file_path)
  local open_err, file_fd = nio.uv.fs_open(file_path, "r", 438)
  vim.print("open err : " .. (open_err or "nil") .. "\nfile_fd : " .. (file_fd or "nil") .. "\n")
  assert(not open_err, open_err)
  -- ..............................
  -- ..............................

The problem here is that open_err and file_fd are mixed up
when file_path is a valid file_path with valid perm, etc... then open_err is just the fd and
the fd is nil because there is no error. When I intentionnaly feed it a wrong file_path, then
open_err is nil because there is no fd because the file_path is wrong and then file_fd
contains the error, causing the rest of the function to crash.
To Reproduce

Go with the recommanded minimal.lua (did not changed anything to it)
Do the following bash commands in your terminal :

cd /tmp
touch valid_file.txt
chmod 777 ./valid_file.txt

nvim --clean -u minimal.lua (It's the default one)

:lua require("neotest.lib").treesitter.parse_positions("/tmp/valid_file.txt", [[]], {})
The assert should fail with the fd as an error.

:lua require("neotest.lib").treesitter.parse_positions("/tmp/invalid_file_pathjldsqjldkfqklsjdfkljqklsdjfkljqklsdjfk", [[]], {})
Here no assert should fail as the fd is nil (open_err in the implementation of neotest.lib.files.read) and then the function should
crash because file_fd in the implementation now contains the error (a string I guess ? or at least it's printable).

Expected behavior
Don't really know what more to say here, to not mixup open_err and file_fd ?
Logs
As it's just a function that I'm trying to use to make an adapter and that fails I don't think there is any log to put here, instead I will reproduce every steps of the To Reproduce with the added vim.print and show you what I got.
valid file path :

invalid file path :

PS :
nvim nvim-config/pack/packer/start/neotest/lua/neotest/lib/file/init.lua

to add the vim.print at line 24 between fs_open and assert

After digging a bit more and trying to patch this function myself by swapping error and res for all uv calls, I still have a problem with a wrong assert for the close. I thinked a bit about it and :

It's to much error and it would break almost any adapter so I must be one of the few to experience this error

You would not do that much error unintentionally
So my best guess is a wrong version of libluv / libuv with breaking changes between versions.
I don't know if you will be able to help me if the problem is that. I am running arch and installed neovim via pacman :
pacman -S neovim

I think I start to understand my mistake thank's to this issue

How did you solve the problem? I am going through the same trouble writing a an adapter and I wanted to write tests for my discover_positions function. Something like this:
it('Discovers nothing in an empty file', function()
	vim.fn.writefile({''}, tempfile, 's')
	local tree = adapter.discover_positions(tempfile)
	assert.is_empty(tree)  -- Or something along those lines
end)

However, this won't work. Apparently fs_open needs to run inside an async context. Let's try again.
it('Discovers nothing in an empty file', function()
	vim.fn.writefile({''}, tempfile, 's')
	local task = nio.run(
		function()
			return adapter.discover_positions(tempfile)
		end,
		function(success, tree)
			assert.is_true(success)
			assert.is_true(false)
		end
	)
	task.wait()
end)

Well, this won't work either, I get a segfault and the test passes enough though the second assertions should definitely fail. It looks reasonable, but I am probably missing something here.

You can use the busted wrapper functions to run async tests.
Example: https://github.com/nvim-neotest/neotest/blob/f6048f32be831907fb15018af2688ff6633704fc/tests/unit/lib/files/init_spec.lua#L133-L138

Oh interesting, is the it function only defined within the scope of the test file then? The implementation is relatively so you could try copy it in the test file and see if it works. I don't use busted (TIL about the new adapter :sweat_smile:) so have no easy way to test myself. If that works then that's a good start and we can try find a nice way to run them without having to manually wrap in each test file

There is no busted adapter yet, that's what I'm trying to write. For now I am running busted manually. I want to use tests to test the adapter implementation every step along the way, and I wrote a blog post about how to use busted to test Neovim plugins.

Oh interesting, is the it function only defined within the scope of the test file then?

Yeah, looks like some runtime magic. Within the test it is defined and I can call it indirectly (e.g. inside a loop).

The implementation is relatively so you could try copy it in the test file and see if it works.

Tried that already:
	it('Does something async', function()
		local success, err
		local task = nio.tasks.run(function()
				assert.is_true(true)
				assert.equal('x', 'y')
				return 'Yay!'
			end,
			function(success_, err_)
				success = success_
				if not success_ then
					err = err_
				end
			end)
		vim.wait(2000, function()
			return success ~= nil
		end, 20, false)

		if success == nil then
			error(string.format("Test task timed out\n%s", task.trace()))
		elseif not success then
			error(string.format("Test task failed with message:\n%s", err))
		end
	end)

This gives me a different error which is triggered by the failed assertion:
Discovery of test positions Does something async
vim/shared.lua:610: prefix: expected string, got table

If instead of a failing assertion I raise an error (e.g. error 'lol'), then I get an expected test failure:
Error → ./test/unit/discover_positions_spec.lua @ 19
Discovery of test positions Does something async
./test/unit/discover_positions_spec.lua:41: Test task failed with message:
The coroutine failed with this message:
./test/unit/discover_positions_spec.lua:25: lol
stack traceback:
        [C]: in function 'error'
        ./test/unit/discover_positions_spec.lua:25: in function <./test/unit/discover_positions_spec.lua:21>

Should we open a new issue instead of spamming this one?


Transaction Message: add Balance to General section

Bug description
Balance is not shown in General section on Transaction message page. Balance should be shown in General section.
Linked to: #80
Expected behaviour

Actual behaviour

https://github.com/iotaledger/explorer/issues/87#issuecomment-1013229303


Clearing pixmap doesn't work on HTML5

It's supposed be done like this:
Pixmap.setColor(Color.CLEAR);
Pixmap.fill();

It works on desktop but not on HTML5.
Filling with any other color works, but clearing the pixmap to be all transparent again doesn't work on HTML5.
Is this a bug or setting a different blendmode could work?

What exactly 'doesn't work'?
What did you expect?
What did actually happen?

You probably need to set the BlendMode to None.

Yes it works with Blending set to none. Thank you.


Sanitize for multi-client support

Want to maintain a sanitized master branch. Will strip logos and references to Boeing in slides.  Perhaps moving slides to existing internal Pivotal Google Docs folder?
Review current branches for artifactory and boeing.

Complete.


ESP32S3 OpenThread BR sample fails to advertise dataset  (IDFGH-7611)

Environment

Module or chip used:  ESP32-S3-WROOM-1-N8R8
IDF version (run git describe --tags to find it): v5.0-dev-3424-gbb23d783c0
Build System:         idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
xtensa-esp32-elf-gcc (crosstool-NG esp-2022r1-RC1) 11.2.0
Operating System:   Linux
Using an IDE?: No
Power Supply:         external 3.3V

Problem Description
Our intention was to setup an OpenThread BorderRouter based on an ESP32-S3-WROOM-1-N8R8 as border router and a Nordic nrf52840 as RCP. We could get the RCP/border router connection to work configured the border router according to https://openthread.io/codelabs/openthread-border-router#2 and displayed this dataset
Active Timestamp: 0
Channel: 15
Channel Mask: 0x07fff800
Ext PAN ID: 022f2acc1c143171
Mesh Local Prefix: fd93:7ed5:729a:c086::/64
Network Key: 7add48bae6162281f1006d2a3858b629
Network Name: OpenThread-f0bc
PAN ID: 0xf0bc
PSKc: 5df81cd18ffcd000b4af77bbda7123ee
Security Policy: 672 onrc

Afterwards we scanned for available border routers via the OT-CLI of an other Thread device, but the diplayed dataset was missing the network name and had the wrong pan id.
uart:~$ ot scan
| J | Network Name     | Extended PAN     | PAN  | MAC Address      | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
| 0 |                  |<PHONE_NUMBER>000000 | f0bc | f2a2a8c164a645f9 | 15 | -71 |  84 |

We also tested pairing devices to this setup, but it always failed.
The RCP firmware is from the Nordic connect sdk v1.9.1 openthread coprocessor sample.
To eliminate any misbehavior of the RCP firmware, we tested the same firmware and hardware working together with an Raspi as border router. When using the raspi the scan shows up the correct network details of the raspi border router.
uart:~$ ot scan
| J | Network Name     | Extended PAN     | PAN  | MAC Address      | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
| 0 | OpenThreadDemoPi |<PHONE_NUMBER>222222 | 1234 | cea816717c326ceb | 15 | -66 | 108 |

Apparently something seems wrong with our settings or the ESP openthread lib?! I appended our sdkconfig
Expected Behavior
Show up border router with configured dataset.
Actual Behavior
The network name and pan id is not advertised correctly.
uart:~$ ot scan
| J | Network Name     | Extended PAN     | PAN  | MAC Address      | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
| 0 |                  |<PHONE_NUMBER>000000 | f0bc | f2a2a8c164a645f9 | 15 | -71 |  84 |

Hi. From the behavior looks like the border router is using a corrupt dataset. Would you post the full commands setting up the network?
At the same time we may try the config option OPENTHREAD_BR_AUTO_START. The BR will automatically form the network under this option. We need to provide the Wi-Fi ssid and psk in config option CONFIG_EXAMPLE_WIFI_SSID and  CONFIG_EXAMPLE_WIFI_PASSWORD as well.
I cannot find the sdkconfig file. Would you mind uploading it again?

We already use OPENTHREAD_BR_AUTO_START with our wifi credentials.
We also assumed a corrupt dataset and tried to init a new one via the ot commands, but the result remained the same.

Hi. I tried to use openthread/ot-nrf528xx whose version api  is 5  as the RCP of esp32 obtr, which can realize the network discovery function of thread without the situation described by you. You can refer to the following links. _https://openthread.google.cn/codelabs/openthread-hardware#3_

OK, the version between esp-idf v5.0-dev-3424-gbb23d783c0 and Nordic connect sdk v1.9.1  may be mismatch,  esp32-h2 will be released soon. if you want to use the OTBR in hurry, you can follow the above steps.

Hi. I tried to use openthread/ot-nrf528xx as the RCP of esp32 obtr, which can realize the network discovery function of thread without the situation described by you. You can refer to the following links.
github for ot-nrf528xx : https://github.com/openthread/ot-nrf528xx.git ot-nrf528xx version : 8c508c8b693ce660134e934c967835cb43ffcc31
esp-idf version: 089d88d
operation steps: https://openthread.google.cn/codelabs/openthread-hardware#3
Hope to help you！

I tried this, but get the same result. I assume there is still something wrong with my sdkconfig.


Tests around buffer length

By analyzing the blame information on this pull request, we identified @nguyenchr, @srushti and @daemonl to be potential reviewers

good idea 👍


Rename No-JS Tracker everywhere in wiki and website to Pixel Tracker

Confusing to define a tracker by what it's not rather than what it is!

@alexanderdean Is the idea to keep this page? http://snowplowanalytics.com/no-js-tracker.html
I don't think the form works anymore.

Hey @bogaert - my inclination would be to remove that page until as/when we have a Snowplow Event Studio that it can be a part of - but see what @yalisassoon thinks...

It would be nice to fix that page - @bogaert can you please create a ticket
so we don't forget? Feel free to assign it to me...
When the event studio is launched we can take it off the public site and
pop it in there...
On Wed, Sep 30, 2015 at 2:05 PM, Alexander Dean<EMAIL_ADDRESS>wrote:

Hey @bogaert https://github.com/bogaert - my inclination would be to
remove that page until as/when we have a Snowplow Event Studio that it can
be a part of - but see what @yalisassoon https://github.com/yalisassoon
thinks...
—
Reply to this email directly or view it on GitHub
https://github.com/snowplow/snowplow/issues/2059#issuecomment-144389620.

--
Co-founder
Snowplow Analytics http://snowplowanalytics.com/
The Roma Building, 32-38 Scrutton Street, London EC2A 4RQ, United Kingdom
+44 (0)203 589 6116
+44 7841 954 117
@yalisassoon https://twitter.com/yalisassoon
https://twitter.com/yalisassoon

Thanks @bogaert!


Issue with k8s.io/docs/tutorials/kubernetes-basics/

This is a Bug Report

Problem:
Proposed Solution:
Page to Update:
https://kubernetes.io/...

Hi @ankgoya1, Can you briefly explain a little bit more about the issue?
/triage needs-information

pls feel free to open with actionable issue details or file a new one.


Add ability to prevent users from creating new projects

Should be implmented as a setting like
// Default setting:
create.environment.roles=admin,user
// New value if you want to prevent users:
create.environment.roles=admin

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


[Beirut] StyleName = "pedestrian" getting the wrong styles

It should be getting a dashed line style, but instead it getting grouped with yellow roads.

This was a data issue. Currently the pedestrian roads have been removed.


Repo chores - July

Delete orphaned includes
Add missing description
Fix up redirects

Fixes #30040

Thanks @tdykstra!


License?

Can you add a license to the project? I imagine is no longer supported, but it may be useful to others. As it is posted right now, it default to non-OSS and no redistribution/modification rights.

I've added an MIT license to open this up to use for anyone. Thanks for pointing that out!


Live Quiz

Erase existing environment (screen capture)
Set up our working environment (git clones)

Erase enviroment

Clone Repo

activate tools step
default:~$ bundle -v
Bundler version 2.5.18
default:~$ ruby -v
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu]
default:~$ python --version
Python 3.10.12
https://github.com/nighthawkcoders/portfolio_2025.git

Setup Enviroment Project
This command creates my virtual enviroment.

scripts/venv.sh

default:~/nighthawk/cason_2025$ ls
404.html     images	LICENSE     _posts	      _sass
assets	     _includes	Makefile    README4YML.md     scripts
_config.yml  index.md	navigation  README.md	      venv
Gemfile      _layouts	_notebooks  requirements.txt

Run Server

Run Server Adress

First, I erased my nighthawk directory which had all my other previous directories in it. Second, I created a new nighthawk directory to put my other directories into it. After that, I cloned into my repository "cason_2025", this puts a full copy of my GitHub repository on my local files. I checked the versions of bundle, ruby, and python. I created my virtual environment inside of my cason_2025 directory by doing scripts/venv.sh. After, I did the "make" command which ran my server and provided me the server address to my site.  Finally, I visited my site by copying the address and pasting it into my browser.

0.91
0.91
1.82/2


⚠ DesiTorrents has degraded performance

In fbc5893, DesiTorrents ($DST) experienced degraded performance:

HTTP code: 200
Response time: 1609 ms

Resolved: DesiTorrents performance has improved in e10e0f1.


How to use withGraphJoined in a Many-to-Many relationship and a 3-way join table?

Given the table structure and model setup outlined below:

How can I use the Objection.js query below, and ensure that the join uses
all three fields in the associated_people table?

const result = await Music.query().findById(1).withGraphJoined('people.roles')

The Relevant Table Definitions
CREATE TABLE music (
    id SERIAL PRIMARY KEY,
    title character varying(255) NOT NULL,
    description character varying(255),
    duration character varying(255),
    difficulty character varying(255),
    style character varying(255),
    publisher character varying(255),
    publication_date date,
    quantity_on_hand integer,
    purchase_price numeric(10,2),
    created_at timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP
);

CREATE TABLE composition_people (
    id SERIAL PRIMARY KEY,
    name character varying(255) NOT NULL UNIQUE,
    created_at timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP
);

CREATE TABLE composition_roles (
    id SERIAL PRIMARY KEY,
    name character varying(255) NOT NULL UNIQUE,
    created_at timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP
);

CREATE TABLE associated_people (
    music_id integer REFERENCES music(id) ON DELETE CASCADE ON UPDATE CASCADE,
    composition_role_id integer REFERENCES composition_roles(id) ON DELETE CASCADE ON UPDATE CASCADE,
    composition_person_id integer REFERENCES composition_people(id) ON DELETE CASCADE ON UPDATE CASCADE,
    created_at timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP,
    CONSTRAINT associated_people_pkey PRIMARY KEY (music_id, composition_role_id, composition_person_id)
);

Relevant Objection Model Definitions
class BaseModel extends Model {
  $beforeInsert() {
    const date = new Date().toISOString()
    this.createdAt = date
    this.updatedAt = date
  }

  $beforeUpdate() {
    this.updatedAt = new Date().toISOString()
  }
}

class Music extends BaseModel {
  static get tableName() {
    return 'music'
  }

  static get jsonSchema() {
    return {
      type: 'object',
      required: ['title'],

      properties: {
        id: { type: 'integer', readOnly: true },
        title: { type: 'string' },
        description: { type: 'string' },
        duration: { type: 'string' },
        difficulty: { type: 'string' },
        style: { type: 'string' },
        publisher: { type: 'string' },
        publicationDate: { type: 'string', format: 'date' },
        quantityOnHand: { type: 'integer' },
        purchasePrice: { type: 'number' },
        createdAt: {
          type: 'string',
          format: 'date-time',
          readOnly: true,
        },
        updatedAt: { type: 'string', format: 'date-time' },
      },
    }
  }

  static get relationMappings() {
    return {
      people: {
        relation: BaseModel.ManyToManyRelation,
        modelClass: CompositionPerson,
        join: {
          from: 'music.id',
          to: 'compositionPeople.id',
          through: {
            modelClass: AssociatedPeople,
            from: 'associatedPeople.musicId',
            to: 'associatedPeople.compositionPersonId',
          },
        },
      },
      roles: {
        relation: BaseModel.ManyToManyRelation,
        modelClass: CompositionRole,
        join: {
          from: 'music.id',
          to: 'compositionRoles.id',
          through: {
            modelClass: AssociatedPeople,
            from: 'associatedPeople.musicId',
            to: 'associatedPeople.compositionRoleId',
          },
        },
      },
    }
  }
}

class CompositionPerson extends BaseModel {
  static get tableName() {
    return 'compositionPeople'
  }

  static get jsonSchema() {
    return {
      type: 'object',
      required: ['name'],

      properties: {
        id: { type: 'integer', readOnly: true },
        name: { type: 'string' },
        createdAt: {
          type: 'string',
          format: 'date-time',
          readOnly: true,
        },
        updatedAt: { type: 'string', format: 'date-time' },
      },
    }
  }

  static get relationMappings() {
    return {
      roles: {
        relation: BaseModel.ManyToManyRelation,
        modelClass: CompositionRole,
        join: {
          from: 'compositionPeople.id',
          to: 'compositionRoles.id',
          through: {
            modelClass: AssociatedPeople,
            from: 'associatedPeople.compositionPersonId',
            to: 'associatedPeople.compositionRoleId',
          },
        },
      },
      music: {
        relation: BaseModel.ManyToManyRelation,
        modelClass: Music,
        join: {
          from: 'compositionPeople.id',
          to: 'music.id',
          through: {
            modelClass: AssociatedPeople,
            from: 'associatedPeople.compositionPersonId',
            to: 'associatedPeople.musicId',
          },
        },
      },
    }
  }
}

class CompositionRole extends BaseModel {
  static get tableName() {
    return 'compositionRoles'
  }

  static get jsonSchema() {
    return {
      type: 'object',
      required: ['name'],

      properties: {
        id: { type: 'integer', readOnly: true },
        name: { type: 'string' },
        createdAt: {
          type: 'string',
          format: 'date-time',
          readOnly: true,
        },
        updatedAt: { type: 'string', format: 'date-time' },
      },
    }
  }

  static get relationMappings() {
    return {
      people: {
        relation: BaseModel.ManyToManyRelation,
        modelClass: CompositionPerson,
        join: {
          from: 'compositionRoles.id',
          to: 'compositionPeople.id',
          through: {
            modelClass: AssociatedPeople,
            from: 'associatedPeople.compositionRoleId',
            to: 'associatedPeople.compositionPersonId',
          },
        },
      },
      music: {
        relation: BaseModel.ManyToManyRelation,
        modelClass: Music,
        join: {
          from: 'compositionRoles.id',
          to: 'music.id',
          through: {
            modelClass: AssociatedPeople,
            from: 'associatedPeople.compositionRoleId',
            to: 'associatedPeople.musicId',
          },
        },
      },
    }
  }
}

class AssociatedPeople extends BaseModel {
  static get tableName() {
    return 'associatedPeople'
  }

  static get idColumn() {
    return ['musicId', 'compositionRoleId', 'compositionPersonId']
  }

  static get relationMappings() {
    return {
      music: {
        relation: BaseModel.BelongsToOneRelation,
        modelClass: Music,
        join: {
          from: 'associatedPeople.musicId',
          to: 'music.id',
        },
      },
      role: {
        relation: BaseModel.BelongsToOneRelation,
        modelClass: CompositionRole,
        join: {
          from: 'associatedPeople.compositionRoleId',
          to: 'compositionRoles.id',
        },
      },
      person: {
        relation: BaseModel.BelongsToOneRelation,
        modelClass: CompositionPerson,
        join: {
          from: 'associatedPeople.compositionPersonId',
          to: 'compositionPeople.id',
        },
      },
    }
  }
}

instead of over normalizing the database, you could just get rid of the composition_roles, you could just create a new column named composition_role_name in table associated_people instead of composition_role_id column


-fstrict-vtable-pointers is going to break VM handle system

There is an optimization in clang which is currently disabled, but might be enabled in the future which is going to break our handle system.
This optimization makes compiler treat vtables as immutable pointers - allowing it to load vtable just once and cache it in a register.
Our handle system is largely based on changing vtables based on the class id of the referent.
I am filing this so that we could start contemplating mitigations. This might entail some large refactoring of our object model so we could also consider fixing UB associated with pointer tagging as part of the same refactoring.
/cc @a-siva @alexmarkov @mkustermann @rmacnak-google

9166b3eb9d3963cc06f020b90a790992fdd18771


Can't connect to docker engine

Describe The Bug:
Can't connect to the docker engine.
I've enabled the api, and can send GET and POST commands to it from postman from a remote machine.
See the following error:
[4/16/2021, 12:52:06 PM] [Docker] Error: connect EHOSTUNREACH <IP_ADDRESS>:2375
To Reproduce:
Just installed a fresh copy of the plugin, and added the host and port.
Expected behavior:
Successful startup
Logs:
As above.

Everyone makes mistakes, don't worry hah


Jasmine mirror iframe causes extra padding

I have noticed that the iframe added to the top of the page for jasmine-mirror causes 1 line of 'padding' to appear at the top of the page. I think this can probably be resolved by setting display:block on the iframe.

Thanks for fixing so quickly! :+1:

Fixed in sanjo:jasmine 0.12.6


Upload to GreasyFork

Description
Please upload this as a lib to GreasyFork, so that we can upload user scripts that @require this lib.
Environment
N/A
How to reproduce
Upload a user script that contains @require https://cdn.jsdelivr.net/npm/@trim21/gm-fetch, and GreasyFork will reject it.

please try @require https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>


How do I change a double newline into a paragraph and a single newline into a ?

See title.

Double newlines are already turned into paragraphs.
A single newline is called a soft line break in CommonMark. You can configure it using the softbreak method on HtmlRenderer.Builder like so:
HtmlRenderer renderer = HtmlRenderer.builder()
        .softbreak("<br/>")
        .build();

Does that answer your question?

Yes this is what I was looking for. Thanks!

Oh man this was import for an html noob like me. I feel like this should be in the main readme. Spent a long time trying to get the html the way I wanted it.


[Bug] mqcontroller can't print config when use -p command

Before Creating the Bug Report

[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.

[X] I have searched the GitHub Issues and GitHub Discussions  of this repository and believe that this is not a duplicate.

[X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment
anolisos_8_8_x64_20G_rhck_alibase_20230804.vhd
RocketMQ version
branch: release-5.1.3 version: 5.1.3 commitid: 84156084a4c5228e1d2fe21e068fff330bbc40d1
JDK Version
Compiler: Oracle JDK 1.8.0_291 OS: "mac os x", version: "10.16", arch: "x86_64"
Runtime: Open JDK 1.8.0_382 OS: anolisos_8_8_x64
Describe the Bug
mqcontroller can't print config when use -p command
Steps to Reproduce

Deploy a RocketMQ cluster in Master-Slave Automatic Failover mode according to https://rocketmq.apache.org/zh/docs/deploymentOperations/03autofailover ,embedding the Controller in the NameServer for deployment.
use mqcontroller -p to print config

What Did You Expect to See?
controller config should be printed
What Did You See Instead?
no config is printed
Additional Context
No response

Did you find the problem? if not, I'd like to help

Did you find the problem? if not, I'd like to help

I have found the problem and plan to fix the bug.


Is this project still maintained?

Hey,
I just wanted to ask @andismith if you're still willing to maintain the project? It would be a shame if you're not, because it's a really handy tool in a lot of our build processes. Unfortunately though the backlog of pull requests and issues is increasing and there are a few problems that definitely need fixing. After we have discussed about it at my company for a while we started our own fork (especially because of the upscaling problem in #45 ). We would really like to switch back to upstream, but currently this is not possible. Do you have any updates for us about the future of the project?
Ben

Hi,
Yes, sorry. This project is still active - I just have been busy with other projects/work. I will try to assign some time this weekend to have a bit of a sort through and release a new version with a number of pull requests.
Thanks @benurb!
Andy

Hey Andy,
I'm glad to hear that! If you need help with something, just let me know :+1:
Ben

Thanks @andismith :+1:

May I kindly ask when you plan to push a new release to npm? :grinning:

Hi @andismith. I'm following up on @benurb's question: do you know when you'll repub to NPM? We're hoping to take advantage of the huge speed increase in https://github.com/andismith/grunt-responsive-images/pull/93. We're getting about 5X (!) improvement on some of our current projects. Thx!

Hi, I've released v0.1.7 which includes these fixes, sorry for the delay!

I've done a quick release with the fixes that were easy to merge. I'll take a look at the others for a v0.1.8 release.

Thanks @andismith, much appreciated!

Thank you very much Andi :+1:


Feature: implement trans query condition: Status, TransType, CreateTime

因该单测之前就有与别的单测的数据串扰问题，这次放水了相关单测了查询结果断言的精度（不放水的在注释中），单测中的持久层串扰参见issue: #427
此PR的redis版的实现需要依赖redis scan的bug PR #425 ，那个完成后这里补充好再正是发PR.

Codecov Report

Merging #428 (1bca308) into main (90daddc) will increase coverage by 0.03%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #428      +/-   ##
==========================================
+ Coverage   96.02%   96.05%   +0.03%
==========================================
  Files          57       57
  Lines        4101     4136      +35
==========================================
+ Hits         3938     3973      +35
  Misses        118      118
  Partials       45       45

Impacted Files
Coverage Δ

dtmsvr/api_http.go
92.91% <100.00%> (+0.67%)
:arrow_up:

dtmsvr/storage/boltdb/boltdb.go
96.15% <100.00%> (+0.04%)
:arrow_up:

dtmsvr/storage/redis/redis.go
98.67% <100.00%> (+0.01%)
:arrow_up:

dtmsvr/storage/sql/sql.go
98.57% <100.00%> (+0.10%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


BUG: Cython 3 compatibility fixes

[x] Closes #1321
[x] Tests added
[x] Fully documented, including history.rst for all changes and api/*.rst for new API

any chance to cut a release for this?

any chance to cut a release for this?

See #1321


Complete setup.py to include installation

It'll be really nice to have the setup.py completed. It only install dependencies now.

What functions have you in mind? How the script should be completed?
It would help me a lot if you give me some hints :)

@simocosimo I'd love to have the program installed onto the system. If you're looking to start off with setup.py, here is a great link from the Python Docs

Please see pull request #4

This was fixed in #4. Thank you x2 @omaciel  :D

My pleasure @sachinkamath :)


[BUG] Event OnBeforeInsertNewProdBOMLine Report 99001043

We would like to use an event in report 99001043 “Exchange Production BOM Item” which has 2 Production BOM Lines as parameters. One of which is the new record you are inserting and one which should be the line you are coming from.
Reference
The integration event OnBeforeInsertNewProdBOMLine in Report 99001043 is requested via:
#625
Scenario
You have a Production BOM with multiple lines e.g. item 1000 and 2000.
Run the report, filter on item 1000 and choose to not create a new version.
Issue:
Now you will get an incorrect FromProductionBOMLine record as parameter in the event, this is caused by a findlast on ProdBOMLine3 (which is passed in the event). We would expect ProdBOMLine to be passed as parameter instead here.
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertNewProdBOMLine(var ProductionBOMLine: Record "Production BOM Line"; FromProductionBOMLine: Record "Production BOM Line"; QtyMultiply: Decimal)
begin
end;
Detailed report 99001043 code analysis in the attached file.
Code analysis ProdBOMLine.docx

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


Changing video orientation on the recorder needs to set the video orientation for all capture devices

My app only records video in landscape orientation. So when I load the recorder, I load it in LandscapeRight by default.
When device orientation changes I perform the following:
    func updateRecorderOrientation() {
        if UIDevice.currentDevice().orientation == UIDeviceOrientation.LandscapeRight {
            recorder.videoOrientation = .LandscapeLeft
        } else if UIDevice.currentDevice().orientation == UIDeviceOrientation.LandscapeLeft {
            recorder.videoOrientation = .LandscapeRight
        }
    }

Rotation works 100% for the initial capture device. i.e. I can switch between orientations and the video updates correctly. But if the orientation is changed LandscapeLeft and I switch devices e.g. the front camera, the video is upside down.
The process seems to be consistent if I switch cameras from the front camera while in LandscapeRight orientation, then switch orientations and switch back to the back camera, the back camera is then upside down.
My only suspicion is that setting the video orientation on the recorder object, only sets the orientation on the active video capture device, and it most likely needs to be set on all devices, but I am unsure how to go about doing this.

Have you tried setting "autoSetVideoOrientation" to YES?

The problem with doing that is that then I need to allow the user to record in any orientation, which I would like to avoid, since I only want it to work in Landscape.

Thanks for your help!
I've replicated the issue here: https://github.com/mjgaylord/SCRecorder/tree/broken-orientation
Basically the app is set to only have its orientation as Landscape Left. For now ignore that the controls don't rotate correctly, I left that out to save time.
SCRecorderViewController observes orientation notifications and flips the camera accordingly, but when you switch cameras the orientation is not being assigned. My logic might be a bit wrong, so the desired result is to be able to record in landscape only and ignore portrait orientations, but ensure that my video is always the correct "way up".

Can you check on the last commit if the issue is fixed?

Thanks. Checking now, will let you know...

Yes, it works perfectly now! Thanks very much, this is awesome!


Update to common-files to implement docker.push

In response to a cherrypick label: #207 failed to apply on top of branch "release-1.4":
error: Failed to merge in the changes.
Using index info to reconstruct a base tree...
M	Makefile
M	common/.commonfiles.sha
M	common/Makefile.common.mk
Falling back to patching base and 3-way merge...
Auto-merging common/Makefile.common.mk
CONFLICT (content): Merge conflict in common/Makefile.common.mk
Auto-merging common/.commonfiles.sha
CONFLICT (content): Merge conflict in common/.commonfiles.sha
Auto-merging Makefile
Patch failed at 0001 Update to common-files to implement docker.push


:tada: Read on Base

base in libs/static/src/chains.ts
:wrench: indexer for base

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[ ] Feature
[ ] Refactoring
[x] Integration

Context
Adding read-only support for Base.
Some images throw errors as image worker is incorrectly handling arweave urls cc @preschain ^^

Example of failing address

https://image-beta.w.kodadot.xyz/metadata?url=https%3A%2F%2Fimage-beta.w.kodadot.xyz%2Fipfs%2F4e5d146e7ca934fa7d17629d89a9a5cc

Adding read-only support for Base.

woooh 🎉🎉

Some images throw errors as image worker is incorrectly handling arweave urls cc @preschain ^^

interesting, checking

Can you give me a metadata link for this or the original ipfs/arweave url without our worker domain

https://squid.subsquid.io/basick/graphql
query x {
  nftEntities(limit:10) {
    id
    name
    metadata
    image
    media
  }
}

Works as expected!
Thanks.

Can we merge it if it's done so we avoid merge conflicts arising here


Venue requirements template edits

The Comms team has made edits to the Venue Requirement template. Please use this issue to track any comments or queries of the changes.
The edited template can be found in Google Drive: https://docs.google.com/document/d/1pi-LR1ZOepiDzeGMYKONEXaSUROhKrnD/edit?rtpof=true

Copy made and changes to - https://docs.google.com/document/d/1NNu95Q4Vxtsyhnl7RALbwDBMJGoZxUqB/edit#heading=h.gjdgxs


chore: update lxd snap channel to 5.21

The 5.19 channel has been removed from the lxd snap track list.

Fixing the issues found: https://github.com/juju/terraform-provider-juju/actions/runs/10878939230/job/30182828676?pr=571

/merge


lost by crim3s

Song Name
Lost
Artist Name
Crim3s
Source
Youtube
Youtube Link
https://youtu.be/7W5bZJY2IPI?si=K5fVy7XDEPKbwMak
Direct File Link
No response
Song ID
945695
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 27690100

reject
same here, already in the mod


could not find host telnet.microsoft.com

[Enter feedback here]
Putty wasn't able to connect. Ping command also doesn't see this host
Ping request could not find host telnet.microsoft.com. Please check the name and try again.

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

ID: f3233a31-8788-33ca-a734-c486dafb544d
Version Independent ID: b0e761ac-472c-73b9-a656-dced985750ff
Content: telnet
Content Source: WindowsServerDocs/administration/windows-commands/telnet.md
Product: windows-server
Technology: windows-commands
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Dev Guide should link to other good CDK educational resources

We should link to the CDK Workshop website in our Dev Guide.  Might even make sense to simplify our walkthroughs in the CDK Dev Guide and focus on sending developers to the workshop site:
https://cdkworkshop.com/
The CDK re:Invent session also has a nice overview of the CDK and would be good to link from the Dev Guide:
https://www.youtube.com/watch?v=Lh-kVC2r2AU

See https://docs.aws.amazon.com/CDK/latest/userguide/what-is.html#additional_docs


Problem accessing files in Keybase

Keybase GUI Version: 2.13.2-20190123014357+6bb157b5d0
I cannot access the files on Keybase and get an error message that says "failed to load metadata"

Please do a keybase log send . thanks

I don't know how to do that :)

Which platform are you on?

Mac

Oh, wait - it fixed with the update. Is it "terminal" to run keybase log send?

I tried it - it says command not found

If it is okay, do you still want me to run it?

sounds like you canceled the install before it could complete then
why don't you reinstall the app

It's fixed now,  thanks!
On Wed, Feb 6, 2019, 2:31 PM Maxwell Krohn<EMAIL_ADDRESS>wrote:

sounds like you canceled the install before it could complete then
why don't you reinstall the app
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/15917#issuecomment-461155921,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AtM-LbTsFN7McZGECbBvK8IkG1qm8ntuks5vKy2UgaJpZM4al6nP
.


Complete initial GraphQL implementation

Meta bug to track P0 work on GraphQL: https://github.com/attic-labs/noms/issues?utf8=✓&q=is%3Aopen is%3Aissue label%3AP0 label%3AGraphQL

don't think this meta bug is buying us much


Errors In IntelliJ

Followed the instructions but there are errors in intelliJ I believe they have to do with chromium and selenium

Download Chromium and unzip the .exe in the NVIDIA-RTX-HERO folder.

Also after looking at this again, it looks like the .jars for selenium were not properly imported. There should be two-three jars in the top-level selenium folder that you need to imports, as well as all the jars in the /bin folder.

Oh thanks that was able to resolve most of the errors. Afterwards, I'm supposed to run it right? it gave me a webdriver error, am I supposed to map something?

should i try this?: System.setProperty("webdriver.chrome.driver", "E:\chromedriver.exe");

Put the chromium .exe that you downloaded in the top level rtx-hero folder. That's all you need.

I did, that didnt work
On Fri, Oct 9, 2020 at 4:11 PM tpollard64<EMAIL_ADDRESS>wrote:

Put the chromium .exe that you downloaded in the top level rtx-hero
folder. That's all you need.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tpollard64/Nvidia-RTX-Hero/issues/1#issuecomment-706404174,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE6MANOHOFFTRRONPYPJVLDSJ537NANCNFSM4SJU2CKA
.