Cannot set the type of a function using a typedef-ed function type

typedef OB_PREOP_CALLBACK_STATUS (* POB_PRE_OPERATION_CALLBACK)(PVOID RegistrationContext, POB_PRE_OPERATION_INFORMATION OperationInformation);

I am analyzing a binary that uses POB_PRE_OPERATION_CALLBACK

I want to set the type of table_lookup_3 to POB_PRE_OPERATION_CALLBACK. However, when I do so, I get this error message:

I am not sure whether this happens because

We are not checking the target of the typedef, or
We want a function type, but the target of the typedef is a function pointer type

That said, we should still support setting that since it is a very common operation in Windows kernel RE

Fixed by https://github.com/Vector35/binaryninja/commits/dev/


HTTP 404 error on 2 URLs

ttps://index.ros.org/doc/ros2/Tutorials/Ament-Tutorial/
ttps://index.ros.org/doc/ros2/Tutorials/New-features-in-ROS-2-interfaces-(msg-srv)/

logs: https://github.com/Tiryoh/ros2wiki_to_indexrosorg/runs/497753837

ros2/Tutorials/Ament-Tutorial/ has been removed.
https://github.com/ros2/ros2_documentation/commit/321ae8ccd08572e90aa6069bfbd2c8dce619f1b6

ros2/Tutorials/New-features-in-ROS-2-interfaces-(msg-srv)/ has been removed.
https://github.com/ros2/ros2_documentation/pull/521


Update Taiwan Welcome message

Fix Taiwanese Mandarin message
Add Taiwanese Hokkien and English message

Thanks @Supaplextw 👍
It will be deployed in the next few days.


Restructuring of the error handling

I decided to use a similar approach to the one std::io::Error uses.
There is a
pub struct Error {
    kind: ErrorKind,
    source: Option<Box<dyn error::Error + Send + Sync + 'static>>,
}

which can be constructed with some helper macros such that it can automatically inherit the source etc.
The idea is that the ErrorKind  will hold Variants according to categories.
I think this can be done better still.
Please comment on how this should be done.

Ok, so I transformed everything to the new flavor of errors.
Whilst it has it's pluses, I am not entirely happy with it. I think the code is messier with the err!() and res!() macros instead of ?.
Also, I am not sure how many ErrorKinds we want. Atm I have
AddressNotInRegion {
        address: u32,
        region: FlashRegion,
}

for example. But what we could do instead is return a ErrorKind::Flasher and log::error!("Address xyz is not contained in region abc"). At some places I already did this to not introduce so many single use ErrorKinds.  But I think we should make this consistent. I am not sure if we should make more ErrorKinds or less.
What do you folks think @probe-rs/all ?
Best & Merry Christmas
Yatekii
P.S. Atm the errors contain no stack trace which would be a plus imo. But that should be easy to add, especially with the macros =)


Update junit-plugin, junit-runtime, ... to 0.4.8

Updates

org.scala-native:junit-plugin
org.scala-native:junit-runtime
org.scala-native:nscplugin
org.scala-native:sbt-scala-native
org.scala-native:scala3lib
org.scala-native:scalalib
org.scala-native:test-interface

from 0.4.7 to 0.4.8.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-native" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scala-native" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #96.


Create Pull Request templates

Some recent Pull Requests have not followed our Contributing Guidelines. I think we should create a PR template with a checklist that contributors need to fill when sending a PR.
Example Checklist:

[ ] I have read the Contributing Guidelines
[ ] I have discussed these changes via issue
[ ] I have made my changes on a new branch

Feel free to add more items to the checklist.

I'd love work on this. Please assign me.

@EdNgulele Sure, go ahead. Here's an example you can use.

Thank you! What do you think about adding another template for issues? Please take a look at these templates

@EdNgulele Doesn't seem necessary so far. But if we ever need it, I will come back to you. Let's stick to a PR template only.

@rosariopfernandes Where do you prefer to have the PR template stored? Do you want it to be visible in the  repository's root directory, visible in the repository's docs or in a hidden directory, such as .github/?

I think .github/ is the best option


Can't disable type definitions for one special library

TypeScript Version:  2.4.1
For example I want to consume a library from npm called awesome-lib. This library already ships with a TypeScript type definition but this one is outdated and buggy. The author of the library doesn't update this one.
I've tried to disable that type definition completely in my own declarations.d.ts file in my project:
declare module 'awesome-lib';

Unfortunately TypeScript reads first the type definition in the library and throws some errors. So it is not possible for me to disable / hide this library for my project.

I hit a similar problem with the new weak type checking:
https://github.com/Microsoft/TypeScript/issues/16968
The more strict checks are fine for code you have control over, but for third party libs it is a problem. Even if the author updates, the newer version may have breaking changes.
Theoretically each third party dependency should be compiled using the compiler version specified by it, however this is impractical. A way to disable these type checks on a per library basis may be more realistic.

The best solution would be the opposite of "types" in the compiler options in the compiler options. types is exactly what I want but in the other direction: I want to exclude some type definitions.

Have you tried exclude in your tsconfig.json?

exclude does not work for type definitions. For example: exclude: ["node_modules"] still contains all type definitions of all installed dependencies.

This option would be awesome to avoid transitive definition files to "pollute" the "ambient" space. My case, for example, I want react-modal types but not the react it imports.

Have you tried path mapping (https://www.typescriptlang.org/docs/handbook/module-resolution.html) to map that path to a non-existant one?

Thanks @RyanCavanaugh it worked indeed, nice workaround. I just had to make sure the file actually existed (I first tried with a fake file name)

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.

Hi, @jraoult .
Can you share your tsconfig.json ?
I tried this too but not succeeded
by this:
"paths": {
    "node_modules/@types/node" : ["NOT_EXISTS"],
    "@types/node" : ["NOT_EXISTS"],
    "node" : ["NOT_EXISTS"]
}

Hi @RyanCavanaugh ,
I tried this , but it seems cannot disable those global declaration.
Such as @type/node

@k8w sure thing
 "paths": {
      "react": [
        ".sink.d.ts"
      ],
      "inferno-mobx": [
        ".sink.d.ts"
      ]
    }

So as I mentioned earlier you actually need the file (.sink.d.ts in this case) to exist.

@jraoult @RyanCavanaugh
Well, so paths can disable a specific type, but it seems cannot do that to global declaration.
Like @types/node ...

for global declarations set "types" : [] this will not load any packages from @types. you can add ones you want e.g. "types": ["node"]

@mhegazy
Should I add all types one by one only for excluding specific one?
Maybe better if it is like include and exclude ?

for global declarations set "types" : [] this will not load any packages from @types. you can add ones you want e.g. "types": ["node"]

@mhegazy but that's not what I want as I said before.


Google reCAPTCHA v2 dosen´t work

Hi,
the plugin dosen´t work with activated Google reCAPTCHA v2.
reCAPTCHA: Site Key and reCAPTCHA: Secret Key is implemented.
And the page is regisrired by googe reCAPTCHA
Everytime the error: "Please activate the checkbox "I'm not a robot"." came.
This is my website:
http://www.electronicstudio.de/kontakt
Do you now whats the problem is?

Some questions related to your error:

Does your Webserver support php-json?
Does your Webserver support the php function file_get_contents() with external urls?
Wich PHP version do you use? The plugin only supports current php versions like 7.2 or 7.3.
Did you enter your domains into the domain field at Google reCaptcha? (there are "label" and "domains" and if you only register, than only the label is filled)
Did you enter the keys into correct input fields? (Sorry for the question, but it's easy to confound the keys)
Do you have any error message from the webserver log?

I used the webspace form bplaced.
You can see my php info: http://electronicstudio.de/info.php

It support json. I'am not sure of php-json.

I'am not sure is function file_get_contents() enabled.

PHP Version 7.2.5

I have enter my domain into the domain field. I think this is not the problem, in the past with a other Website (not with Bludit) I have it done successfully

Yes I think so.

I don´t have any log from the webserver.

The option allow_url_fopen is disabled. You have to ask your provider, if it can be enabled for your webspace.


fix(driver): fix build on linux-6.2

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area driver-kmod
What this PR does / why we need it:
Attributes in "struct device*" are const since kernel-6.2, so add a matching prototype for ppm_devnode().
Which issue(s) this PR fixes:
Fixes #918
Special notes for your reviewer:
Not sure about the driver version/ABI compatibility. Shouldn't impact ABI but then I don't really know whether a driver built for 6.1 is expected to work on 6.2. :shrug:

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: hhoffstaette
Once this PR has been reviewed and has the lgtm label, please assign hbrueckner for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

driver/OWNERS

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

Welcome @hhoffstaette! It looks like this is your first PR to falcosecurity/libs 🎉

Yay! Thank you for taking the time to open this one!

/milestone next-driver

Can confirm the issue building 6.2.arch-1 using driverkit:
DEBU   CC [M]  /tmp/driver/main.o
DEBU -/tmp/driver/main.c: In function 'scap_init':
DEBU �/tmp/driver/main.c:2815:30: error: assignment to 'char * (*)(const struct device *, umode_t *)' {aka 'char * (*)(const struct device *, short unsigned int *)'} from incompatible pointer type 'char * (*)(struct device *, umode_t *)' {aka 'char * (*)(struct device *, short unsigned int *)'} [-Werror=incompatible-pointer-types]
DEBU  2815 |         g_ppm_class->devnode = ppm_devnode;
DEBU       |                              ^
DEBU +cc1: some warnings being treated as errors
DEBU Fmake[2]: *** [scripts/Makefile.build:252: /tmp/driver/main.o] Error 1
DEBU 2make[1]: *** [Makefile:2021: /tmp/driver] Error 2
DEBU )make[1]: Leaving directory '/tmp/kernel'
DEBU $make: *** [Makefile:7: all] Error 2
DEBU log pipe close                                error=EOF

And the fix, with the patch:
DEBU   CC [M]  /tmp/driver/main.o
DEBU -  CC [M]  /tmp/driver/dynamic_params_table.o
DEBU &  CC [M]  /tmp/driver/fillers_table.o
DEBU $  CC [M]  /tmp/driver/flags_table.o
DEBU #  CC [M]  /tmp/driver/ppm_events.o
DEBU $  CC [M]  /tmp/driver/ppm_fillers.o
DEBU $  CC [M]  /tmp/driver/event_table.o
DEBU &  CC [M]  /tmp/driver/syscall_table.o
DEBU $  CC [M]  /tmp/driver/ppm_cputime.o
DEBU !  CC [M]  /tmp/driver/tp_table.o
DEBU   LD [M]  /tmp/driver/falco.o
DEBU %  MODPOST /tmp/driver/Module.symvers
DEBU "  CC [M]  /tmp/driver/falco.mod.o
DEBU   LD [M]  /tmp/driver/falco.ko
DEBU   BTF [M] /tmp/driver/falco.ko
DEBU )make[1]: Leaving directory '/tmp/kernel'
DEBU $+ mv falco.ko /tmp/driver/module.ko
DEBU !+ strip -g /tmp/driver/module.ko
DEBU  + modinfo /tmp/driver/module.ko
DEBU �filename:       /tmp/driver/module.ko
DEBU schema_version: 2.3.0
DEBU api_version:    4.0.0
DEBU build_commit:   92ee159052eb24ed6fe38725f1967ce50fd27c9b
DEBU version:        92ee159052eb24ed6fe38725f1967ce50fd27c9b
DEBU author:         the Falco authors
DEBU license:        GPL
DEBU srcversion:<PHONE_NUMBER>02496F2DEFF2D
DEBU depends:
DEBU retpoline:      Y
DEBU name:           falco
DEBU vermagic:       6.2.0-arch1-1 SMP preempt mod_unload
DEBU parm:           g_buffer_bytes_dim:This is the dimension of a single per-CPU buffer in bytes. Please note: this buffer will be mapped twice in the process virtual memory, so pay attention to its size.
DEBU parm:           max_consumers:Maximum number of consumers that can simultaneously open the devices (uint)
DEBU parm:           verbose:Enable verbose logging (bool)

Thank you very much!

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, hhoffstaette
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

driver/OWNERS [FedeDP]

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

LGTM label has been added.  Git tree hash: 34586cfe59d07029706989da1417647e83447bed

And, as promised, here is a new ci job that tests daily against latest kernel available on arch: https://github.com/falcosecurity/libs/pull/920

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, hhoffstaette
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

driver/OWNERS [Andreagit97,FedeDP]

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

/milestone 4.0.1+driver


Added validation attributes

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[x] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Changes

Added parameter validation attribute [DbaValidateScript()]
Added parameter validation attribute [DbaValidatePattern()]

Both work like the common validation attributes, only do they allow customizing the error message!
Examples
[CmdletBinding()]
param (
    [DbaValidatePattern("^\w+$", ErrorMessage = "Error procesing {0} - input must be a single word")]
    [string]
    $Name
)

[CmdletBinding()]
param (
    [DbaValidateScript({ Test-Path $_ }, ErrorMessage = "Error procesing {0} - the path must exist")]
    [string]
    $Path
)

awesome :sauce:!


Improve build-image incremental workflow

What type of PR is this?

Uncomment only one  /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:
/kind breaking
/kind bug
/kind cleanup
/kind documentation

/kind feature

/kind hotfix

What this PR does / Why we need it:
Several improvements to workflows that flow through the build-image to improve build and iteration times.
This includes:
Removal of debug images
We don't need this anymore, so no reason to build it for each architecture.
Use build-image target directory
I realised that when mixing the build-image workflow with local rust tools, that going between them, they would invalidate each other's incremental cache, since it was fingerprinted on absolute directories - drastically expanding build times between iterations.
Moving to a specific target directory for build-image usage drastically improves both the incremental build times of images, and every other workflow through build-image, such as e2e testing. (make test-agones can be used iteratively now).
More aggressive docker ignore
We only use a few files for the Docker image, so let's ignore everything else. Took the docker context down from 1GB+ to < 50MB.
On a linux machine all this brings incremental builds down from 10's of minutes to a minute or less, since only what has changed is compiled and pushed as we can now take advantage of rust incremental build and docker image caching.
Which issue(s) this PR fixes:

Work on #553
Special notes for your reviewer:
I know what the impact is on a Linux environment, would be good to know how it improves things on a Mac and Windows environment where there is an extra layer of virtualisation.

CI failure should be fixed by #560

Ah! This is actually a real issue:
Step #4 - "test-docs": book/filters/load_balancer.html
Step #4 - "test-docs":   target does not exist --- book/filters/load_balancer.html --> ../../api/quilkin/filters/load_balancer/struct.Config.html

I'll go fix.


can not set BASE_PATH

I set BASE_PATH in _config.yml.

BASE_PATH : "http://example.jp/jekyll/test/_site"
or
BASE_PATH : /jekyll/test/_site

But, path in generated contents are "/${contents} .
<link href="/assets/themes/twitter/css/1.4.0/bootstrap.css" rel="stylesheet">
<link href="/assets/themes/twitter/css/style.css?body=1" rel="stylesheet" type="text/css" media="all">

Tags

Pages

Archive

Is this problem ?
ASSET_PATH is usefull.

Hi @chobiwan , sorry for taking a while to reply. Did you get this issue resolved?
Off the top of my head I can say that BASE_PATH is always set to the root path '/' when working in localhost. This is so your website works as normal when developing. I.e. routes needed to be routed to 'localhost:4000/'
When you deploy to GitHub pages github will reset the site.safe config to true which JB uses as a way to denote "this is production". So BASE_PATH is set to whatever you set it in the config when in production mode.


Add key updates to S2A record protocol

This PR adds the implementation of key updates to the S2A record protocol, and does a little cleanup to the record protocol that was left over from #13.
Also, there are some small changes to other files (e.g. options, TSI handshaker) that are from clang_format/tidy. Feel free to ignore these.

Also please ignore the very large number of commits - it's because this started out as a branch of a branch of a branch.... and I'm now merging it into s2a-master. When this is merged, I will squash first as usual.

Thanks for your comments @cesarghali! I've replied to them all. PTAL.

Thanks for the PR Matt. I think it's LGTM from my end modulo the last couple of comments. It might be worth checking if Benedikt can take a look.

Thanks for the review @cesarghali!
@beschmi Could you also give this a look? Thanks!

Thanks for the review @beschmi!
Squashing and merging now.


EDITOR-#452 Added auto-select in object panel

Added auto-select feature in object panel. #452

Don't select all parts when agent or human is selected
Use properties in objects.py to determine behaviors, not object name
Rename file from auto_selects.py to objects.py
Run pre-commit
There are changes in previous commit "implement more sub" (my bad)

Use getattr and setattr for custom attributes, otherwise the LSP will panic
No other obvious issues


Connection Timeout after about a minute or so and have to restart connection

Hi, I'm having issue with this module. It is able to connect to my matrix(Using Nevion Videoipath) and pull the names, and can initially make routes for a little bit, but for some reason after about a minute or so it errors saying there's a connection timeout and it will not reconnect until after I turn the module off and back on again. Any idea what would cause this?

Are you seeing this issue with Companion or Buttons? It would be helpful to have any applicable logs from the module at the time of the disconnect to try and figure out what's going wrong.

Looking back at the logs it seems like it had issues initially and then cleared up? I'll check it again tomorrow when I get in but it looks like it's functioning fine still via Companion. I can share the logs with you over slack if you'd like to see them. I'd prefer to not put them up on github.
On buttons is a different story, as when I save and it connects, in the logs it looks like it pulls everything correctly, but for some reason it locks me out of all connections(giving me the spinning loading image) and I have to disable the module, force restart the Connections service, and then I can access my other connections again, but once I re-enable the lrc connection it happens immediately again. I was speaking to Hakon in slack about it the other day but we were both a bit stumped as to what would be causing it.

Coming in this morning the Companion instance seems to have stayed connected. So maybe a weird ghost in the system, heh... Buttons still having the same issue, though.

Oh, looks like it happened again. Pulled the most recent logs when it started happening again.
error_log.txt


Grouped custom typeahead results

We have several groups of typeahead (search, product, last searches), so we need to forward labels for the groups and typeahead results for them.

Type ahead is available, but the grouping is not provided.   Next steps:

Design is needed for the feature to group the keyword suggestions.  The DDS squad would have to investigate the impact to the ibm.com search results.
Kenny will investigate and begin building the solution.
Andree will work offline with Wonil to provide the design, sending the designs to Jenny and Wonil for review.

Type ahead is available, but the grouping is not provided.   Next steps:

Design is needed for the feature to group the keyword suggestions.  The DDS squad would have to investigate the impact to the ibm.com search results.
Kenny will investigate and begin building the solution.
Andree will work offline with Wonil to provide the design, sending the designs to Jenny and Wonil for review.

Here is a design based on standards set in the megamenu:

Key points here:

Groups are separated with solid full-bleed horizontal rules and group headings
The group heading uses 14px type

The Sketch file is here:
https://ibm.box.com/s/9mmobba8qzu1eszeddjhhaxec9c2wi9i

Here is a design based on standards set in the megamenu:

Key points here:

Groups are separated with solid full-bleed horizontal rules and group headings
The group heading uses 14px type

The Sketch file is here:
https://ibm.box.com/s/9mmobba8qzu1eszeddjhhaxec9c2wi9i

Andress mentioned KC’s search type ahead (in group results) is available and can be viewed on the current site:
https://www.ibm.com/support/knowledgecenter

Andress mentioned KC’s search type ahead (in group results) is available and can be viewed on the current site:
https://www.ibm.com/support/knowledgecenter

One more thing, we need to copy typeahead functionality from KC2, if you go here https://www.ibm.com/support/knowledgecenter/sk/search/
and type "aix", the first and last group (if there are 3) are essentially only keywords used for further search, but the second group is a direct link to a product.
Therefore we need the masthread search typeahead to consume also a HREF, rather than plain text keyword.
Or other option, same as the on search click event, fire an event with the typeahead index clicked and let DOCS handle the event and not fire search. Will talk to Kenny on this on Slack.

One more thing, we need to copy typeahead functionality from KC2, if you go here https://www.ibm.com/support/knowledgecenter/sk/search/
and type "aix", the first and last group (if there are 3) are essentially only keywords used for further search, but the second group is a direct link to a product.
Therefore we need the masthread search typeahead to consume also a HREF, rather than plain text keyword.
Or other option, same as the on search click event, fire an event with the typeahead index clicked and let DOCS handle the event and not fire search. Will talk to Kenny on this on Slack.

Specifications for the presentation of the results:
Same as dot com typeahead for:

vertical padding,
font size
font treatment: medium, for matching words/characters
20 grey for separator

In addition for the groupings:

a full length sparator for the grouping
the label of the grouping in grey 40

Specifications for the presentation of the results:
Same as dot com typeahead for:

vertical padding,
font size
font treatment: medium, for matching words/characters
20 grey for separator

In addition for the groupings:

a full length sparator for the grouping
the label of the grouping in grey 40

Jan 20, 2021 Meeting comments:

Each grouping will have a maximum of 6 each.  This is a total of 18 max

Design will create a spec document.  Functional spec updates are needed.  New issues will be created to make these updates.

Wonil is working with Reboot regarding design MH elements.  Target to by end of the week, Jan 22, to provide the spacing and color decisions.

Jan 20, 2021 Meeting comments:

Each grouping will have a maximum of 6 each.  This is a total of 18 max

Design will create a spec document.  Functional spec updates are needed.  New issues will be created to make these updates.

Wonil is working with Reboot regarding design MH elements.  Target to by end of the week, Jan 22, to provide the spacing and color decisions.

New issue to update the functional specs:  (#4944 )
New issue to update the design specs:  (#4945 )
cc:  @ljcarot @wonilsuhibm

New issue to update the functional specs:  (#4944 )
New issue to update the design specs:  (#4945 )
cc:  @ljcarot @wonilsuhibm

Design specifications can be found here, Sketch and PDF:
https://ibm.ent.box.com/folder/130651676188
masthead--L0--search typeahead - design-specs--v2.3.0.pdf

Reference: Jira task in IBM Documentation: https://jsw.ibm.com/browse/IBMDOCS-786

Based on Kenny's and Jenny's participation in the KC design and engineering meetings:  The features needed are customized to the KC platform and are not something that we would ever add to the carbon for ibm.com code base.

Typeahead works, there is a minor styling bug in the group title


Duplicated list entry

"Instance Pools API" is duplicated in the "APIs" list at the bottom of the page.

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

ID: 25b5fd38-af0a-12e9-e8f8-3e57bcbc273f
Version Independent ID: f3a0cfcb-99eb-77c4-c888-4045d5d93947
Content: REST API 2.0 - Azure Databricks
Content Source: databricks/dev-tools/api/latest/index.md
Service: azure-databricks
GitHub Login: @mamccrea
Microsoft Alias: mamccrea

@travis-c-lagrone  Thanks for bringing this to our attention. We will investigate and update as appropriate.

@travis-c-lagrone Thanks for your contribution, I've addressed this issue in PR: https://github.com/MicrosoftDocs/databricks-pr/pull/296
The changes should be live EOD or tomorrow.
In future, if you see any minor bug fixes in the doc, feel free to click on the edit button and submit a PR to update. we love to take community contributions.

@mamccrea Could you please review the PR and approve?

#reassign:mssaperla

@mssaperla

Looks like this has been fixed. #please-close


add oct 2016 devtools digest

I'll leave this open for a bit in case anyone on DevTools team wants to review...

Don't think the DevTools team will be reviewing this. Updated per feedback I've already received. This is good to go unless there's any more feedback.

Re: STOP YOUR FUCKY SPAM!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2016-10-21 12:46 GMT-04:00 Joe Medley<EMAIL_ADDRESS>
@jpmedley requested changes on this pull request.
In src/content/en/updates/2016/10/devtools-digest.md
https://github.com/google/WebFundamentals/pull/3753#pullrequestreview-5289838
:

+Multiple cursors. Hold Command (Mac) or
+Control+Alt (Windows, Linux) and then click.
+
+
+
+## Canary now highlights non-top contexts red
+
+If you've worked in the Console lately, you might have been bitten by a
+nasty little bug that was setting the execution context
+selector to values
+other than top.
+
+That bug should be fixed in Chrome 54, which is due to hit Stable any
+day now. And, just to be safe, the DevTools in Canary (Chrome 56) now warns
+you that you're not in the top context by highlighting the selector red.
54 is already rolling out. You might adjust your wording.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/WebFundamentals/pull/3753#pullrequestreview-5289838,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAqo0hCH3qCzrAwRqZVKZC2UKwAOI0Aoks5q2OxzgaJpZM4KdZOl
.


Improve serde related tasks

note: not done yet still testing to be done on the serde parts

Okay we're now well over 80% and I can't see serde any more :joy: so I'm calling this a day.

added https://github.com/simd-lite/simdjson-rs/issues/68 as a followup


fix(hc): optimize httpclient for healthcheck

Issue
https://github.com/gravitee-io/issues/issues/6658
Description
Create the HttpClient only once per HealthCheck Endpoint and reuse it while it's possible.

Replaced by https://github.com/gravitee-io/gravitee-api-management/pull/887


Searching across all volumes for a file?

Hello,
I have been playing around with Seaweed and working with the information on the Github site, but was wondering if there was a way to search for a file across all volumes?
Thanks

What's your use case? Search by name, attributes, or text?

Hello,
Mostly exploring by name.
Considering how it might be used in a new P2P type application where each
node is a Seaweed volume.
On Sun, Oct 31, 2021 at 12:42 PM Chris Lu @.***> wrote:

What's your use case? Search by name, attributes, or text?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/chrislusf/seaweedfs/issues/2404#issuecomment-955747354,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADUOZIX2K4XFIRG7ZP4XZK3UJVWZFANCNFSM5HCKRCFA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You can have this process running, and index SeaweedFS metadata changes on an elastic search server:
weed filer.meta.tail -timeAgo=30h -es=http://<elasticSearchServerHost>:<port> -es.index=seaweedfs

Thanks for the information as it will be very useful in this build effort.
Have done some basic testing with Seaweed and it really is an awesome piece
of software.
On Sun, Oct 31, 2021 at 1:10 PM Chris Lu @.***> wrote:

You can have this process running, and index SeaweedFS metadata changes on
an elastic search server:
weed filer.meta.tail -timeAgo=30h -es=http://:
-es.index=seaweedfs
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/chrislusf/seaweedfs/issues/2404#issuecomment-955751882,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADUOZIVSSADYVOFQMVXZ6EDUJV2CHANCNFSM5HCKRCFA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


[internal review]  Update test script for script issue in 078_ATF_PTU_HMI_Level

ATF Test Scripts to check FORDTCN-12942
This PR is [ready] for review.
Summary
Improve stability 'PTU in scripts /test_scripts/Policies/build_options/078_ATF_PTU_HMI_Level_Affected_Apps_FULL_LIMITED_HTTP.lua
ATF version
latest
Changelog
update test for randomly select the application
CLA

[X] I have signed the CLA

move to open


wiggle-wasmtime: witx paths should be relative to CARGO_MANIFEST_DIR,…

… not WASI_ROOT
the WASI_ROOT was leftover from when this code was part of wig.
Thank you @aturon for bug report.

Do we need to update crates/wasi/build.rs though?  Should this be an argument to the macro perhaps?

Nope, this macro never should have been specialized to work just with wasi - that was a bug that stuck around because the only place it is tested in-tree is with wasi.
We want to lookup witx paths relative to the crate root of the crate where the macro is invoked. Instead, it was looking up witx paths relative to the wasi crate root, which just happened to be correct, until you're using this for something besides wasi.

Right, but I mean crates/wasi/build.rs is relying on this to specify a different root.  I think we can now get rid of build.rs and use witx: ["../wasi-common/phases/snapshot/witx/wasi_snapshot_preview1.witx"].

The macro invocation in wasi is now fixed, I hadn't run tests in the right place locally so CI caught that.
Unfortunately, wig still consumes the WASI_ROOT env var, so we need to set it in wasi-common and wasi. (My goal was to delete wig by the end of this month but I've been fighting a number of fires, unfortunately, so itll probably take another week or two)

welp this fix breaks publishing to crates.io and now im puzzling how that ever worked in the first place. sigh

Doh! 🤦
Perhaps a macro option that is the name of the environment variable to use, and if not specified, CARGO_MANIFEST_DIR?
I think the DEP_WASI_COMMON_19_WASI variable might only be available to the build script (at least according to the docs, but @alexcrichton probably knows for sure), so we'd probably still have to set WASI_ROOT to its value in build.rs still, and then pass witx_root_var = "WASI_ROOT" to the macro?
If DEP_WASI_COMMON_19_WASI is actually available to the macro, then simply witx_root_var = "DEP_WASI_COMMON_19_WASI".

I think if I'm going to do that much I'll just do arbitrary env var interpolation in the path strings given as the argument to witx:.


Height of pane / iframe

EDIT!
Finally found a way with css
So this can be closed as solved. Thank you and sorry for the inconvinience.
/*
Hello
'I have difficulties changing the height of the result pane. Or the whole pane. I tried with by adding a div with new class around the iframe and then css it to dynamic according to content. Didnt work. Or changing .jotted-pane-result did work nor any static height. So I'm lost here.
I think it is just too narrow to see the actual result. Now 150px only. Can you please help?

You can set the height directly on the main container.
Here:
http://jsbin.com/dehoka/edit?html,css,output

No, that is not working.
This did:
.jotted
{height: 100%;}
.jotted-pane-result iframe, .jotted-editor textarea {
width: 100%;
height: 500px;
}

Is the demo not working? What browser are you using?
This is how it looks on my end in Firefox and Chrome:

Firefox. Yes the demo works. But cannot apply that to my own jotted fiddle I aim to host. Changing height of container has no effect what so ever.
But my example of css did do it.

I would give you a link if my server was up and running..
doing it locally only for the moment


test: test PR to run tests against tagged graalvm kokoro image

[do not merge] This PR is for testing purposes only.

Confirmation:
The tagged image is being used:
gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.2.0

Confirmation with 22.3.0:
Status: Downloaded newer image for gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.0
gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.0

Closing as obsolete.


Alternative methods to avoid full tree hierachy request "?recursive=true"

There are three methods which requests full tree hierarchy ("?recursive=true"):

this.getSha
this.remove
this.move

Sometimes it is very heavy request to get full tree hierarchy. Is it possible to introduce an alternative methods like:
// Remove a file from the tree by sha and path
// -------
this.remove2 = function(branch, path, sha, cb) {
_request("DELETE", repoPath + "/contents/" + path, {"message": "test commit", sha: sha, branch:branch}, cb, "json");
};

2.this.getSha
It is possible to use JSON request for the "/contents/" to get more information about the it:
this.contents2 = function(branch, path, cb) {
_request("GET", repoPath + "/contents/ref=" + branch, { path: path }, cb, "json");
};

I don't disagree, but don't really have the time to do that myself at the moment and it would probably be low priority for 0.10.8. PRs welcome if you want to step up! :smile: :+1:

I came across this issue while looking for a way to get a SHA or tree recursively. It as of today (Dec 19, 2016) it appears that this.move is the only API that performs an implicit recursive=true.


where i can get api url?

It's been a long time since our last conversation.
https://github.com/Evil0ctal/Douyin_TikTok_Download_API/issues/80, you told me that in order to access the api, I needed to intercept mobile application packets.
I found how to do it, I need a Fiddler, I did everything according to the instructions and voila, everything worked out for me, but as you know, mobile applications do not work, and if you go through a web browser, there is no api that you use.

If you check out the web application JavaScript you should find them.

web or mobile version?

You will be able to see on both platforms.

It's been a long time since our last conversation. #80, you told me that in order to access the api, I needed to intercept mobile application packets. I found how to do it, I need a Fiddler, I did everything according to the instructions and voila, everything worked out for me, but as you know, mobile applications do not work, and if you go through a web browser, there is no api that you use.

If you have android device, you can get api url from  tiktok app. you can refer by:  https://bbs.kanxue.com/thread-272075.htm

It's been a long time since our last conversation. #80, you told me that in order to access the api, I needed to intercept mobile application packets. I found how to do it, I need a Fiddler, I did everything according to the instructions and voila, everything worked out for me, but as you know, mobile applications do not work, and if you go through a web browser, there is no api that you use.

If you have android device, you can get api url from tiktok app. you can refer by: https://bbs.kanxue.com/thread-272075.htm
In addition. douyin bypass is the same.


Updating to latest Github code on Ubuntu?

Hello!
I have an installation on Ubuntu (not Docker). What is the recommended way to update PowerDNS-Admin?
Thanks!

Sorry you didn't get an answer before.
Updating on classic install is mainly updating the code and run "flask db upgrade" in the flask virtualenv.
Regards


Implement CSV export of maintenance events

What it Does

Closes #343
Added a picker to allow users to choose between PDF and CSV export options.
Implemented functionality to generate a CSV file containing the maintenance events of selected vehicles.
Integrated ShareLink to enable sharing of the generated CSV file.

How I Tested

Run the application
Go to the dashboard and add a new maintenance event. This will enable the share button.
Tap the share button to proceed to the vehicle selection screen.
Select a vehicle, and a picker will appear.
Choose CSV as the export format.
See the result

Screenshot
https://github.com/user-attachments/assets/fed33098-55a7-4e22-8ad3-2c5011388af2

awesome work!! I'll look at this PR over the weekend


always use UTF-8 for message conversion, fix #43

Hey @splix, I know it's been awhile but can you sign the CLA here. I'd like to approve and merge in this PR.


Unable to view images api/images error.

Describe the bug
Clicking on images will http://<IP_ADDRESS>:3001/api/images show 500 error in browser console
To Reproduce
Steps to reproduce the behavior:

Go to 'any search result'
Click on 'images on the right hand side'
Page opens will say theres an error and view browser console logs
See error

Expected behavior
I assume to see the images on the search results.
Screenshots

Additional context
Running on Docker, windows ubuntu, using Openrouter llm. Able to use all the features of just searching just fine. Happens with both copilot toggled on or off.

What are the logs in the docker container

Nothing out of the ordinary. When I click images button we dont see visible changes to logs.


Implement changes being saved indictor on manage mentees view

Overview
There should be a mechanism in place for admins to get the indication that the data is real time being saved with the actions they do.
Definition of done
The admins see an indicator at the top corner saying the data is being saved and last saved at depending on the existence of an currently executing action (Similar to the last updated indicator on google docs)

Hey @anjula-sack are you working on this issue?

Hey @anjula-sack are you working on this issue?

sure

@anjula-sack @Gravewalker666 I have some doubts about this issue. With whom should I discuss this?


Suchwow depends on new Commons-codec

While this is not directly problem with Midje itself but suchwow, I'm opening this issue here as I think this might be quite common problem.
such.random ns depends on Commons-codec 1.7 for sha1Hex function: https://github.com/marick/suchwow/blob/master/src/such/random.clj#L17
This is problematic as ring-codec still uses old commons-codec https://github.com/ring-clojure/ring-codec/blob/master/project.clj#L7 and because how Maven dependencies work, it's quite probable that the version from ring-codec will be used. Maven will use closest dependency, e.g., compojure -> ring-codec -> commons-codec and midje -> suchwow -> commons-codec, the dependencies are on same level so the first one is used. As midje dependency is usually declared on dev profile, midje dependency will lose.
I'm not sure but this might be solvable by adding commons-codec dependency to midje. Then the dependency should be closer than the one from e.g. compojure.

How about I have suchwow use commons-codec 1.6, so that it is the same as ring-codec? I'm sure there's no difference between the two for the use I make of it.

That would also be a good solution :)

Also, If you keep using sha1, there is a way to compute it without using commons-codec:
(import 'java.security.MessageDigest)
(String/format "%040x"
               (object-array [(BigInteger. 1 (.digest (doto (MessageDigest/getInstance "SHA-1")
                                                        (.reset)
                                                        (.update (.getBytes (pr-str {:foo "bar"}))))))]))

Too late - I just pushed Midje 1.8.2, which uses commons-codec 1.6


Bitsoftware - Missing " Targetare .ro" button

ENVIRONMENT: production
URL: https://scrapers.peviitor.ro
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open the URL in the browser
Search for "Bitsoftware" Company
Click on the "Targetare.ro" button
Open page "Targetare.ro".

EXPECTED RESULTS:
The "Targetare.ro" button is functional and the page is opened.
ACTUAL RESULTS:
Missing "Targetare.ro" button.
ATTACHMENTS:

fixed

Re-tested, The "Targetare.ro" button is functional and the page is opened.


Can't choose color

Although there is a color selection dropdown where you can pick between 'gradient', 'texture', and 'copy other', there is no gradient to control it.

Hello,
It's a work in progress effect, however PR are very welcomed, especially to fix HDR support. If you have any ideas.
Yann.


Make pyroma happy - meaningful PyPI metadata

Done.
------------------------------
Checking .
Found couscous
------------------------------
Final rating: 10/10
Your cheese is so fresh most people think it's a cream: Mascarpone
------------------------------


Appsync List Query Sort By

I'm having issues with Appsync List queries not sorting response items.
Per this example, I need the query to return a timestamp ordered list of all Invoice items stored in my Dynamo table.
I have a sort key on the dateCreated field, and I see the items are being stored in Dynamo in the expected sequence. Even when I insert records with randomly generated timestamps, Dynamo successfully indexes them in proper order
But when I use a standard Appsync List query generated from my graphql.json file, the items are returned in random order.
Is there any way for Appsync to list all invoices, in their proper indexed sequence?
Which Category is your question related to?
API
Amplify CLI Version
4.22.0
What AWS Services are you utilizing?
Appsync / Dynamo
Provide additional details e.g. code snippets
Schema
type Invoice @model @key(fields: ["id", "createdAt"]) {
  id: ID!
  createdAt: AWSDateTime!
  amount: String!
}

Basic List query
query ListInvoices {
    listInvoices {
        items{
          id
          createdAt
        }
    }
}

Hi @brandonBuster @efeichen @deep7777 @Meganezaru! Realize this might be too late for your use-case, but there is a way to order with a global secondary index based on a timestamp as a Unix Timestamp. This is what I've used to then filter the items of the type by it's corresponding timestamps and then have in ascending/descending:
    timestamp: Int!
    type: String!
      @index(
          name: "ItemsByTimestamp"
          queryField: "listItemsByTimestamp"
          sortKeyFields: ["timestamp"]
      )


Archive indy-jenkins-pipeline-lib

I don't know enough about CI/CD as implemented by the Indy community to have an informed opinion about this. Tagging @jovfer and @esplinr .


Update remote-write grafana mixin

@beorn7 pls review
This is related to https://github.com/prometheus/prometheus/issues/8229

Should we keep that backwards-compatible?

To clarify, that woul be using or : rate(new[5m]) or rate(old[5m])

Should we keep that backwards-compatible?

To clarify, that woul be using or : rate(new[5m]) or rate(old[5m])

done.

@roidelapluie any thoughts?

LGTM, but I could not test it in practice yet. Can you screenshot it maybe from a server that was updated to 2.23 (with times around the migration?)

@roidelapluie would these suffice ?

mmh why aren't the line aligned? is there differences in labels?

not sure I understand. I just changed the version on the prometheus cr so it generated new pods.

Oh, I see :)

I will let it open a few more hours in case @beorn7 wants to review it as well

We looked at this in the bug scrub.
@beorn7 Do you want to make it so that these configs work with the associated version of Promethues, or be compatible with all versions of Prometheus as our metrics change over time?

Good question.
In general, I think the change in this PR is a nice thing to have as updating a Prometheus server doesn't change the old metrics in your TSDB to the new name. I wouldn't commit to always do this extra effort but now that @Allex1 already did it, let's keep it but remove the old names in a few months time.

Since the mixin is essentially documentation, I don't think this warrants a bugfix release of v2.23 on its own. However, if we ever need a bugfix release, this might be considered for cherrypicking. @codesome

And sorry for late review. A lot off work these days, creating a huge backlog.

Since the mixin is essentially documentation, I don't think this warrants a bugfix release of v2.23 on its own. However, if we ever need a bugfix release, this might be considered for cherrypicking. @codesome

We do not actually release artefacts of the mixins, that would not really make sense.

These are not the only things implied by a release. For example, the prometheus/client_golang releases are pretty important, and the don't create any website, container images, or binaries. People will pull in the mixin as tagged with a certain release.


feat: Jetstream ExactlyOnce Configuration

This option can be used to force use of the Nats-Msg-Id header for deduplication by ClientID + CorrelationID combination.  Also forces synchronous acknowledgement on subscriber side.  Fixes #168
Signed-off-by: Alex Ullrich<EMAIL_ADDRESS>

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/go-mod-messaging/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[x] I have added unit tests for the new feature or bug fix (if not, why?)
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

Codecov Report

Merging #179 (ed26b6f) into main (e07deed) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #179   +/-   ##
=======================================
  Coverage   83.51%   83.51%
=======================================
  Files          16       16
  Lines         643      643
=======================================
  Hits          537      537
  Misses         81       81
  Partials       25       25

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

This can also be used with nats-core publishers to a jetstream subject and subscriber, but you do lose the guarantee that published messages make it into the stream.  I didn't push the additional test since it could flake out from time to time.

Hold till post Levski release.

Hold till post Levski release.

Good call I'm torn up over config naming since it technically controls different things on each end.

@lenny-intel rebased and force pushed here but tried to preserve commit history.  I think that keeping a single "ExactlyOnce" config option probably makes sense since that is what we are targeting overall at message bus level.  When you are ready say the word and I can squash everything into the first commit.


[mac + codesign] m2crypto error when applying salt state

----------

          ID: m2crypto

    Function: pip.installed

        Name: m2crypto == 0.36.0

      Result: False

     Comment: Failed to install packages: m2crypto == 0.36.0. Error: Collecting m2crypto==0.36.0

                Downloading M2Crypto-0.36.0.tar.gz (1.1 MB)

                   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 22.6 MB/s eta 0:00:00

                Preparing metadata (setup.py): started

                Preparing metadata (setup.py): finished with status 'done'

              Building wheels for collected packages: m2crypto

                Building wheel for m2crypto (setup.py): started

                Building wheel for m2crypto (setup.py): finished with status 'error'

                Running setup.py clean for m2crypto

              Failed to build m2crypto

              Installing collected packages: m2crypto

                Running setup.py install for m2crypto: started

                Running setup.py install for m2crypto: finished with status 'error' WARNING: The directory '/Users/flutter/Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.

                error: subprocess-exited-with-error

                × python setup.py bdist_wheel did not run successfully.

                │ exit code: 1

                ╰─> [55 lines of output]

                    /private/tmp/pip-install-oc2pdpm1/m2crypto_bdf605cdf95e448296aeca2ba1870cc2/setup.py:294: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.

                      return StrictVersion(ver_str) >= StrictVersion(req_ver)

                    running bdist_wheel

                    running build

                    running build_py

                    copying M2Crypto/callback.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/EVP.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/AuthCookie.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/m2.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/ftpslib.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/EC.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/httpslib.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/X509.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/util.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/RSA.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/BIO.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/DH.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/__init__.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/threading.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/Rand.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/SMIME.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/Engine.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/m2xmlrpclib.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/RC4.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/m2urllib2.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/DSA.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/six.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/m2urllib.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/BN.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/m2crypto.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/Err.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/ASN1.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    creating build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/cb.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/Session.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/timeout.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/__init__.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/Cipher.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/Connection.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/Context.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/SSLServer.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/Checker.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    running build_ext

                    building 'M2Crypto._m2crypto' extension

                    swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c

                    swig -python -py3 -I/opt/salt/.pyenv/versions/3.7.12/include/python3.7m -I/usr/include/openssl -I/usr/local/include -I/Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -I/Library/Developer/CommandLineTools/usr/include "-I/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks (framework directory)" -I/usr/local/include -I/Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -I/Library/Developer/CommandLineTools/usr/include "-I/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks (framework directory)" -includeall -modern -builtin -outdir /private/tmp/pip-install-oc2pdpm1/m2crypto_bdf605cdf95e448296aeca2ba1870cc2/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i

                    Deprecated command line option: -modern. This option is now always on.

                    SWIG/_m2crypto.i:62: Error: Unable to find 'openssl/opensslv.h'

                    SWIG/_m2crypto.i:68: Error: Unable to find 'openssl/safestack.h'

                    SWIG/_evp.i:12: Error: Unable to find 'openssl/opensslconf.h'

                    SWIG/_rc4.i:5: Error: Unable to find 'openssl/opensslconf.h'

                    SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h'

                    error: command '/usr/local/bin/swig' failed with exit code 1

                    [end of output]

                note: This error originates from a subprocess, and is likely not a problem with pip.

                ERROR: Failed building wheel for m2crypto

                error: subprocess-exited-with-error

                × Running setup.py install for m2crypto did not run successfully.

                │ exit code: 1

                ╰─> [60 lines of output]

                    /private/tmp/pip-install-oc2pdpm1/m2crypto_bdf605cdf95e448296aeca2ba1870cc2/setup.py:294: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.

                      return StrictVersion(ver_str) >= StrictVersion(req_ver)

                    running install

                    /opt/salt/.pyenv/versions/3.7.12/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.

                      setuptools.SetuptoolsDeprecationWarning,

                    running build

                    running build_py

                    creating build

                    creating build/lib.macosx-10.15-x86_64-cpython-37

                    creating build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/callback.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/EVP.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/AuthCookie.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/m2.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/ftpslib.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/EC.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/httpslib.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/X509.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/util.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/RSA.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/BIO.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/DH.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/__init__.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/threading.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/Rand.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/SMIME.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/Engine.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/m2xmlrpclib.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/RC4.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/m2urllib2.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/DSA.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/six.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/m2urllib.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/BN.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/m2crypto.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/Err.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    copying M2Crypto/ASN1.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto

                    creating build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/cb.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/Session.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/timeout.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/__init__.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/Cipher.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/Connection.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/Context.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/SSLServer.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    copying M2Crypto/SSL/Checker.py -> build/lib.macosx-10.15-x86_64-cpython-37/M2Crypto/SSL

                    running build_ext

                    building 'M2Crypto._m2crypto' extension

                    swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c

                    swig -python -py3 -I/opt/salt/.pyenv/versions/3.7.12/include/python3.7m -I/usr/include/openssl -I/usr/local/include -I/Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -I/Library/Developer/CommandLineTools/usr/include "-I/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks (framework directory)" -I/usr/local/include -I/Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -I/Library/Developer/CommandLineTools/usr/include "-I/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks (framework directory)" -includeall -modern -builtin -outdir /private/tmp/pip-install-oc2pdpm1/m2crypto_bdf605cdf95e448296aeca2ba1870cc2/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i

                    Deprecated command line option: -modern. This option is now always on.

                    SWIG/_m2crypto.i:62: Error: Unable to find 'openssl/opensslv.h'

                    SWIG/_m2crypto.i:68: Error: Unable to find 'openssl/safestack.h'

                    SWIG/_evp.i:12: Error: Unable to find 'openssl/opensslconf.h'

                    SWIG/_rc4.i:5: Error: Unable to find 'openssl/opensslconf.h'

                    SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h'

                    error: command '/usr/local/bin/swig' failed with exit code 1

                    [end of output]

                note: This error originates from a subprocess, and is likely not a problem with pip.

              error: legacy-install-failure

              × Encountered error while trying to install package.

              ╰─> m2crypto

              note: This is an issue with the package mentioned above, not pip.

              hint: See above for output from the failure.

     Started: 14:30:02.008339

    Duration: 5671.112 ms

     Changes:

This happens on provisioned mac code sign machine, even after the machine's disk has been entirely wiped out. As Yusuf pointed out this could be affecting all the mac machines.

cc @yusuf-goog

When setting up a new macOS bot, we encountered the above issues. These procedures were used successfully to bring up machines a few weeks ago.
The only difference, is that today we needed to rev the salt minion package version to atleast 3002.8, because older packages have been removed from the salt site.
It is unknown if the newer minion version has some issues working with opensll/m2crypto that the previous version did not.
We tried a number of things, including manually installing the m2crypto lib via:
$ brew install openssl
$ pip install --global-option=build_ext --global-option="-I/usr/local/opt/openssl/include" m2crypto

This seemed to install version m2crypto==0.38 successfully (0.36 is what is specified via our current salt states, and that fails to install).
After it was installed, we are still unable to import m2crypto:
>>> import M2Crypto
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/flutter/.local/lib/python3.7/site-packages/M2Crypto/__init__.py", line 26, in <module>
    from M2Crypto import (ASN1, AuthCookie, BIO, BN, DH, DSA, EVP, Engine, Err,
  File "/Users/flutter/.local/lib/python3.7/site-packages/M2Crypto/ASN1.py", line 15, in <module>
    from M2Crypto import BIO, m2, six
  File "/Users/flutter/.local/lib/python3.7/site-packages/M2Crypto/BIO.py", line 11, in <module>
    from M2Crypto import m2, six
  File "/Users/flutter/.local/lib/python3.7/site-packages/M2Crypto/m2.py", line 30, in <module>
    from M2Crypto.m2crypto import *
  File "/Users/flutter/.local/lib/python3.7/site-packages/M2Crypto/m2crypto.py", line 13, in <module>
    from ._m2crypto import *
ImportError: dlopen(/Users/flutter/.local/lib/python3.7/site-packages/M2Crypto/_m2crypto.cpython-37m-darwin.so, 0x0002): symbol not found in flat namespace '_EVP_CIPHER_CTX_get_block_size'

It is uncertain the impact of any issues with versions/dependencies on our existing fleet, since some of these states don't get applied if the packages are already installed. We may encounter problems if the states need to be applied on our existing fleet and the updates break our current bots.

If we modify the salt state to allow using 0.38 instead of 0.36, then all the states seems to run successfully. This atleast mitigates possible critical issue with not being able to deploy new hosts.

As Yusuf pointed out, https://github.com/flutter/flutter/issues/108059#issuecomment-1190872254 would fix everything except the cron job. To fix the cron job, we go to system preferences -> security -> and grant full disk access to terminal. this would help Sudo salt-call state.apply to succeed

as verified, SSL1.1 would work with either 0.36 or 0.38, so we don't have to upgrade the other mac machines. As a next step, we will figure out how to install openssl from the provision script, instead of manually install it

Appended the openssl 1.1 and env flags after provision script and it worked. state-apply worked as well.

I will try to move openssl installation block into salt state

This was fixed by running the following command at provisioning time.
env LDFLAGS="-L$(brew --prefix openssl@1.1)/lib" \
CFLAGS="-I$(brew --prefix openssl@1.1)/include" \
SWIG_FEATURES="-cpperraswarn -includeall -I$(brew --prefix openssl@1.1)/include" \
/opt/salt/bin/pip install m2crypto==0.36.0

@ricardoamador is this something we can add to the documentation?

Yes. It was added to the steps to ensure the minion is picked up automatically.

Perfect then closing this bug! thanks Ricardo


removing stale istio egress

What this PR does / why we need it:
We no longer use and support istio-egress as a standalone proxy. Superseded by egress rules.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

NONE

@rshriram: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
c2a712aaf9c0a57b17ce99dc02a821a7d574dbee
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm


Clarify SQL escaping in our ORM API surface

Overview
Triggered through https://github.com/silverstripe-security/security-issues/issues/49. We have created inconsistent APIs in terms of escaping over the years. We need to ensure that devs have the best shot at learning how to use these inconsistent APIs.
Changing APIs is out of scope, please raise separate tickets where we can discuss this case by case
Acceptance Criteria

As a developer starting out with SilverStripe, I can get an overview of when I need to escape statements to avoid SQL injections, and form a good mental model
As an existing developer with a lot of SilverStripe code, I can actively decide if I need to go back and review existing code (blog post?)
As a developer using SilverStripe's ORM APIs, I have clear and consistent guidance on a method by method level

Notes

Guidance should build on https://docs.silverstripe.org/en/4/developer_guides/security/secure_coding/#automatic-escaping
@unclecheese raised MySQLDatabase::searchEngine() as another example here https://github.com/silverstripe-security/security-issues/issues/49#issuecomment-493288987
Moved from https://github.com/silverstripeltd/open-sourcerers/issues/98

We have created inconsistent APIs in terms of escaping over the years.

Sounds like something we should look at resolving in a major version

Is this a docs issue?
I think if we document the higher level orm methods that do automatically sanitise/parameterise queries as our main docs, then all the lower level methods/classes can be under advanced usage and have disclaimers about either how to make use of parametrisation or the fact input must be properly sanitised.

It could be treated as a docs issue, or it could be treated as inconsistent API that may be worth updating to be consistent. Both are valid ways to resolve this with their own trade offs.

If we find we have inconsistent APIs, then those should be resolved, but there will always be higher and lower level APIs, some of which will be on rails and others that won't. As long as it's clear and intentional (and documented as such) then we're good.


Preview pattern

Show word on the preview page also

Irrelevant issue. We are showing sequence in the preview not words

CC @cakesoft-shashank Closing


ci: change bot id to run specified ci

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Which docs this PR relation:
Ref #
Which toolchain this PR adaption:
No Breaking Change
Special notes for your reviewer:
CI Switch
ci-runs-only: [Cargo Clippy, Coverage Test, E2E Tests, Code Format, Unit Tests]

Codecov Report

Merging #593 (5bceaa9) into main (506c8fd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #593   +/-   ##
=======================================
  Coverage   17.11%   17.11%
=======================================
  Files         139      139
  Lines       18794    18794
=======================================
  Hits         3216     3216
  Misses      15578    15578


Save plot to file

This is probably something I just couldn't find in the documentation, but how can I save a result plot to file, preferably something I can share, like a jpg or png.
I found a save_as_vtk possibility but that is not something shareable or at least I have never seen it (not quite sure what it does, or how to use it).

A related issue that needs to be dealt with simultaneously would be the fact that my IDE is locked until I close a plot (and therefore can't use command after generating a plot to save unless I first close the plot).

Hi @mcMunich , thanks for the suggestion, I think that we can easily add the image export capability. @anslpa

@anslpa thanks for the link. But that solution does not seem to work. I don't find a my_screenshot.png anywhere.

Hi @mcMunich, the pull request needs to be merged before the example script is usable. I'll update this issue once this is done.

@anslpa Great. I will test it when it is updated. Thanks.


Make DataPlayback cleaner and better able to handle multiple files

This also makes the configuration no longer generated so it's easier to work with these files in docker

Can confirm it works.
Needs some info in NUbook. Some information on how it works would be good, in the 'System' section under the 'Subsystem' chapter. It would probably fit in a new page called 'Support'. I'm in the process of writing a guide for recording and playback as well.


Fix wrong messages for nthCalledWith

Summary

formatMismatchedCalls prints the last x(usually x = 1) calls messages, but is not suitable for nthCalledWith.
Test plan

    it('sb', () => {
        const f = jest.fn();
        f(1, 1);
        f(2, 2);
        f(3, 3);
        expect(f).nthCalledWith(2, 4, 4);
    })

Before this fix, it prints the last call, which makes me very confused.
    Expected mock function second call to have been called with:
      4
    as argument 1, but it was called with
      3.
      4
    as argument 2, but it was called with
      3.

Can you add a test showing the behavior?


Multi-Call Issue

When I have the multi call handling feature enabled and go to accept a second call (which should hold+mute the first call) it results in the below error. Also a constant beeping that doesn't go away until I reload the page entirely.

Could you please check which version of the plugin are you running? I recently made a fix in this area in version 9.0.40.

Yes, I'm on v9.0.40. I'm using this to take multiple external calls (not only internal transfers), and this was working as of a few weeks ago, but I get the above error after pulling in the latest updates.

Ah, interesting! Thanks for the details, I'm now able to reproduce and will investigate.

This should now be fixed in the latest version, 9.0.42. Thanks for the report!

Excellent, thank you so much @dremin!


FIX-#5171: Allow xgboost >= 1.7.0.

Signed-off-by: mvashishtha<EMAIL_ADDRESS>
What do these changes do?

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #5171
[x] tests added and passing
[x] module layout described at docs/development/architecture.rst is up-to-date

@vnlitvinov I've added env_hdk and requirements-doc pins even though those don't pin xgboost already. Also we seem to support xgboost on ray only and it's not clear to me that hdk even uses xgboost. Anyway, everything that requires xgboost now specifies the same versions.

@vnlitvinov up to you


The panic happened when trying to call
OSO.authorized_query(user, "read", DeliveryArea)

The rule that caused it to panic was
has_relation(location: Location, "parent", delivery_area: DeliveryArea) if
  not delivery_area.location_id = nil and
  location = delivery_area.location;

Thanks. I'm not able to reproduce this problem unfortunately. Would you be able to provide a self-contained reproducer?

Hi @kamal , actually never mind, we're able to reproduce the problem now. Thanks for your patience.

Hey @kamal , got an update for you. The panic you hit was caused by the way the not operator inverts the sense of constraints that come out of a negated expression: the format it produces is different from what the Polar interpreter expects. Unfortunately there are other components that depend on the output having that exact format, so fixing it properly isn't that easy. We'll be releasing a fix that handles simple cases like this one next week, but for the moment it's still possible to cause the error by negating an expression containing chained dot lookups, eg. not x.y.z = 1.
Until we fix it completely, here's two ways to work around this problem if you encounter it again:

eliminate chained dot lookups by introducing a new variable: y = x.y and not y.z = 1
eliminate the not by using the opposite comparison operator: x.y.z != 1

I recommend the latter where possible, because unfortunately this is not the only issue with the not operator at the moment 😔


Add {:process, key} option to configure the token in the process dict

As a simpler solution for #22 and #23, I did a 1-minute hack to retrieve the bot's token from the process dictionary.This allows you to do the following:
config :nadia,
  token: {:process, :some_key}

And the in the Elixir process you use Process.put(:some_key, your_token) once, and then use the Nadia calls as usual.
This suits my use case very well as I have one Elixir process per telegram bot.  But it's a bit controversial as well to (ab)use the pdict in this way...

It'll work in several cases, but I'm not sure if it'll work for everyone.
And I think using process dict may not be the best way...
https://github.com/zhyu/nadia/issues/22#issuecomment-370317211
I'll try to think a clean way to do it later


Run spell-checker against our README

🎯 Goal: - Remove embarrassing grammar/typos mistakes from our docs 🤭
🤔 How:

Open the readme
Install some Chrome spell checker extension
Fix some issues. No need to fix everything
PR 💚

Taken, in this PR.


Misunderstand --  as binary operator (minus), this means 1 line comment.

What

Because of the title,  miss-point out whitespaces before --
Point out as below
1 line comment should be not "--" but "#"

Is this project still active?

Is this project still active?

@srossross
Yes it is.
But, recently, I am developing to add chrome extension module  for formatting in BigQuery console.
So I have left batch module expadning now.

Solved


fix a slot id is bounded on a wrong tuple id, if cross join has a hash join as child

Proposed changes
To produce this bug, please refer to regression test case: correctness/test_crossjoin_inlineview_slot
the plan is
RightJoin
   |
   |-->ANY
   |-->CrossJoin
              |-->HashJoin
              |-->ANY

The root cause is RightJoin use a slot which is from the child of HashJoin。
All slot referred from HashJoin should be bounded on HashJoin.vOutputTupleIds, not the HashJoin.InputTupleIds.
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

@starocean999 Could you review, please.

LGTM


FATAL ERROR when building

Latest Nuxt, latest beta 3, using bun, cleaning caches/node_modules etc and get the following FATAL ERROR when starting dev.
It looks like there is a memory leak while building the api server  from local icon libraries.
I have the following installed. When removed it works but get the warnings that these are not installed locally:
    "@iconify-json/bx": "^1.1.10",
    "@iconify-json/carbon": "^1.1.32",
    "@iconify-json/ci": "^1.1.13",
    "@iconify-json/fluent-emoji": "^1.1.18",
    "@iconify-json/heroicons": "^1.1.21",
    "@iconify-json/heroicons-outline": "^1.1.10",
    "@iconify-json/ic": "^1.1.17",
    "@iconify-json/line-md": "^1.1.37",
    "@iconify-json/mdi": "^1.1.66",
    "@iconify-json/mingcute": "^1.1.17",
    "@iconify-json/octicon": "^1.1.54",
    "@iconify-json/prime": "^1.1.12",
    "@iconify-json/ri": "^1.1.20",

bun dev
$ node --inspect --max-old-space-size=4096 node_modules/.bin/nuxt dev
Debugger listening on ws://<IP_ADDRESS>:9229/3d2248ab-e3be-4818-862e-13535253a5d0
For help, see: https://nodejs.org/en/docs/inspector
Nuxt 3.11.2 with Nitro 2.9.6                                                                                12:38:06 PM
                                                                                12:38:06 PM
  ➜ Local:    http://localhost:3000/
  ➜ Network:  use --host to expose

ℹ Using Tailwind CSS from ~/assets/css/tailwind.css                                                                                nuxt:tailwindcss 12:38:07 PM
[12:38:08 PM] ✔ Nuxt Icon discovered local-installed 13 collections: bx, carbon, ci, fluent-emoji, heroicons, heroicons-outline, ic, line-md, mdi, mingcute, octicon, prime, ri
✔ PWA icons and splash screens generated in 270 ms                                                                                12:38:09 PM
ℹ Re-optimizing dependencies because lockfile has changed                                                                                12:38:09 PM
ℹ Vite server warmed up in 77ms                                                                                12:38:09 PM
ℹ Vite client warmed up in 4053ms                                                                                12:38:13 PM

<--- Last few GCs --->

[73189:0x138008000]    21214 ms: Mark-Compact 4042.6 (4133.0) -> 4037.3 (4143.4) MB, 1648.96 / 0.00 ms  (average mu = 0.218, current mu = 0.059) allocation failure; scavenge might not succeed
[73189:0x138008000]    24005 ms: Mark-Compact 4044.8 (4143.8) -> 4043.4 (4149.3) MB, 2789.17 / 0.00 ms  (average mu = 0.087, current mu = 0.001) allocation failure; scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

 1: 0x10450165c node::OOMErrorHandler(char const*, v8::OOMDetails const&<EMAIL_ADDRESS> 2: 0x104676b58 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&<EMAIL_ADDRESS> 3: 0x104676b08 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&<EMAIL_ADDRESS> 4: 0x104809c1c v8::internal::Heap::CallGCPrologueCallbacks(v8::GCType, v8::GCCallbackFlags, v8::internal::GCTracer::Scope::ScopeId<EMAIL_ADDRESS> 5: 0x104808950 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags<EMAIL_ADDRESS> 6: 0x10480041c v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment<EMAIL_ADDRESS> 7: 0x104800b88 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment<EMAIL_ADDRESS> 8: 0x1047e9490 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment<EMAIL_ADDRESS> 9: 0x1047ded54 v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType<EMAIL_ADDRESS>10: 0x1047dec3c v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithFiller(v8::internal::Handle<v8::internal::Map>, int, v8::internal::Handle<v8::internal::Oddball>, v8::internal::AllocationType<EMAIL_ADDRESS>11: 0x104973a3c v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::FastPackedObjectElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)2>>::ConvertElementsWithCapacity(v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::FixedArrayBase>, v8::internal::ElementsKind, unsigned int, unsigned int, unsigned int<EMAIL_ADDRESS>12: 0x10497388c v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::FastPackedObjectElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)2>>::GrowCapacityAndConvertImpl(v8::internal::Handle<v8::internal::JSObject>, unsigned int<EMAIL_ADDRESS>13: 0x1049727cc v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::FastPackedObjectElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)2>>::Add(v8::internal::Handle<v8::internal::JSObject>, unsigned int, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, unsigned int<EMAIL_ADDRESS>14: 0x1049c377c v8::internal::JSObject::AddDataElement(v8::internal::Handle<v8::internal::JSObject>, unsigned int, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes<EMAIL_ADDRESS>15: 0x104a2fc70 v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::Maybe<v8::internal::ShouldThrow>, v8::internal::StoreOrigin, v8::internal::EnforceDefineSemantics<EMAIL_ADDRESS>16: 0x104afff2c v8::internal::Runtime::SetObjectProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::StoreOrigin, v8::Maybe<v8::internal::ShouldThrow><EMAIL_ADDRESS>17: 0x104b00f5c v8::internal::Runtime_SetKeyedProperty(int, unsigned long*, v8::internal::Isolate*<EMAIL_ADDRESS>18: 0x10432cc44 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit<EMAIL_ADDRESS>19: 0x1042d4ec4 Builtins_ArrayPrototypePush<EMAIL_ADDRESS>20: 0x10cba40f8
21: 0x10c5f037c
22: 0x10c599828
23: 0x10c663274
24: 0x10c5baee0
25: 0x10cba98b8
26: 0x10c251994
27: 0x104388fb8 Builtins_PromiseFulfillReactionJob<EMAIL_ADDRESS>28: 0x1042cab94 Builtins_RunMicrotasks<EMAIL_ADDRESS>29: 0x1042a23f4 Builtins_JSRunMicrotasksEntry<EMAIL_ADDRESS>30: 0x1047959a0 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&<EMAIL_ADDRESS>31: 0x104795e30 v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&<EMAIL_ADDRESS>32: 0x1047b7364 v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*<EMAIL_ADDRESS>33: 0x1047b7198 v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*<EMAIL_ADDRESS>34: 0x10441cbd4 node::InternalCallbackScope::Close<EMAIL_ADDRESS>35: 0x104507ccc node::fs::FileHandle::CloseReq::Resolve<EMAIL_ADDRESS>36: 0x104508774 node::fs::FileHandle::ClosePromise()::$_0::__invoke(uv_fs_s*<EMAIL_ADDRESS>37: 0x1044efae4 node::MakeLibuvRequestCallback<uv_fs_s, void (*)(uv_fs_s*)>::Wrapper(uv_fs_s*<EMAIL_ADDRESS>38: 0x1075aadfc uv__work_done [/opt/homebrew/Cellar/libuv/1.48.0/lib/libuv.1.dylib]
39: 0x1075ae4a8 uv__async_io [/opt/homebrew/Cellar/libuv/1.48.0/lib/libuv.1.dylib]
40: 0x1075be164 uv__io_poll [/opt/homebrew/Cellar/libuv/1.48.0/lib/libuv.1.dylib]
41: 0x1075ae93c uv_run [/opt/homebrew/Cellar/libuv/1.48.0/lib/libuv.1.dylib]
42: 0x10441d9d0 node::SpinEventLoopInternal(node::Environment*<EMAIL_ADDRESS>43: 0x1045458d0 node::NodeMainInstance::Run(node::ExitCode*, node::Environment*<EMAIL_ADDRESS>44: 0x104545614 node::NodeMainInstance::Run<EMAIL_ADDRESS>45: 0x1044bd888 node::Start(int, char**<EMAIL_ADDRESS>46: 0x198ed20e0 start [/usr/lib/dyld]

Anyone else?

I have the same issue with beta 3 and npm run dev. The build on vercel works fine.

Encountered the same issue today after installing @nuxt/icon.
Only happens when I build it.
If I remove @nuxt/icon from the modules array in nuxt.config.ts, the memory issue doesn't appear anymore.


Node-RED auth Hassio not working after update to 0.106.0

The problem
This morning I installed Home Assistant 0.106.0 and updated the Node-RED Add-On to 6.1.1 via the supervisor. Since then the Node-RED Add-on stoped working and I'm getting errors in the system log (see below).
I also get login attempt errors in the notification pane:
Login attempt or request with invalid authentication from <IP_ADDRESS>

Environment

Home Assistant release with the issue: 0.106.0
Last working Home Assistant release (if known): 0.105
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io
Integration causing this issue: Auth API
Link to integration documentation on our website:

Traceback/Error logs

I'm not sure if these errors are connected to the Node-RED issue but I can't remember seeing these before.
20-02-27 19:16:51 ERROR (MainThread) [hassio.homeassistant] Can't update Home Assistant access token!
20-02-27 19:16:51 ERROR (MainThread) [hassio.auth] Can't request auth on Home Assistant!
20-02-27 19:22:52 INFO (MainThread) [hassio.auth] Auth request from core_mosquitto for admin
20-02-27 19:22:52 ERROR (MainThread) [hassio.homeassistant] Can't update Home Assistant access token!
20-02-27 19:22:52 INFO (MainThread) [hassio.auth] Home Assistant not running, check cache
20-02-27 19:22:52 WARNING (MainThread) [hassio.auth] No cache hit for admin

Additional information

I am having a similar problem!
Add-on version: 6.1.1
System: Debian GNU/Linux 10 (buster)  (amd64 / intel-nuc)
Home Assistant Core: 0.106.0
Home Assistant Supervisor: 201
System log:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/http_websocket.py", line 635, in ping
await self._send_frame(message, WSMsgType.PING)
File "/usr/local/lib/python3.7/site-packages/aiohttp/http_websocket.py", line 617, in _send_frame
self.transport.write(header + message)
File "uvloop/handles/stream.pyx", line 673, in uvloop.loop.UVStream.write
File "uvloop/handles/handle.pyx", line 159, in uvloop.loop.UVHandle._ensure_alive
RuntimeError: unable to perform operation on <TCPTransport closed=True reading=False 0x55c7e0d25480>; the handler is closed
20-02-27 18:36:32 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished coro=<WebSocketWriter.ping() done, defined at /usr/local/lib/python3.7/site-packages/aiohttp/http_websocket.py:631> exception=RuntimeError('unable to perform operation on <TCPTransport closed=True reading=False 0x55c7e0b7c8c0>; the handler is closed')>
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/http_websocket.py", line 635, in ping
await self._send_frame(message, WSMsgType.PING)
File "/usr/local/lib/python3.7/site-packages/aiohttp/http_websocket.py", line 617, in _send_frame
self.transport.write(header + message)
File "uvloop/handles/stream.pyx", line 673, in uvloop.loop.UVStream.write
File "uvloop/handles/handle.pyx", line 159, in uvloop.loop.UVHandle._ensure_alive
RuntimeError: unable to perform operation on <TCPTransport closed=True reading=False 0x55c7e0b7c8c0>; the handler is closed

I restored back to 0.105.5 with a snapshot and then upgraded to 0.106.1 now it works again.

Good to hear you got it resolved.


Type checking for C# signal emitting

Godot version
v4.1.1.stable.mono.official [bd6af8e0e]
System information
Godot v4.1.1.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; <IP_ADDRESS>23) - Intel(R) Core(TM) i7-10700F CPU @ 2.90GHz (16 Threads)
Issue description
Currently the docs do not provide a way to do this and I have found no way to do this online. Currently, if I emit a signal in C# using the standard EmitSignal(SignalName.SomethingHappened, "args here", ...) and a method that does not match the argument parameters subscribes to this signal, then the signal will silently fail to be delivered anywhere.
The way the system currently works is also prone to bugs as if you decide to change the method's argument types at any point, you will have to manually search for all the places you need to fix this since EmitSignal doesn't do type checks.
I would like a way to emit a signal that uses type checking and will show a syntax error if you don't provide the correct arguments. I've been looking into perhaps binding a method to its arguments and then somehow converting that into a callable when emitting a signal, but I have been unable to figure out if there's a way to do this.
Steps to reproduce
Minimal example of the problem (obviously observer would normally be in different class)
[Signal] public delegate void SomethingHappened(string what);

public override void _Ready()
{
    SomethingHappened += OneSomethingHappened;

    EmitSignal(SignalName.SomethingHappened, 34); // Wrong param types, fails silently
}

private void OnSomethingHappened(string what)
{
    // This will never be called, due to lack of type checking we will not be notified of any compile time errors either
}

Additional note: due to lack of typing, e.g. EmitSignal(SignalName.SomethingHappened, null); will also never call OnSomethingHappened(null). You'll need to do EmitSignal(SignalName.SomethingHappened, null as string);, which is very confusing, especially for beginners.
Minimal reproduction project
View steps to reproduce

This is a feature, so please open a proposal as this is for bugs, not missing features

This seems to be this existing proposal: https://github.com/godotengine/godot-proposals/issues/7891


Remove very old tweets

Right now, the code works by ingesting all tweet objects from base tweets, retweets, and quote tweets. This means that, if something is retweeted from a very old post, it could have had a year or more to gain retweets. This is not necessarily a fair comparison so we may want to filter out tweets that are not originated during the time frame observed.

Here is an example.

The tweet in the top left has earned over 90k retweets, causing the account to be captured as a top misinformation spreader but this is a bit misleading.

this has been handled.


emqttd-ubuntu64-0.12.0-beta-20151008.zip /bin/emqttd_ctl file is broken

# yy at yy in ~/softwares/emqttd [11:29:08]
$ ./bin/emqttd start
emqttd is started successfully!

# yy at yy in ~/softwares/emqttd [11:29:15]
$ ./bin/emqttd_ctl status
Node is not running!

0.12.0-beta VS 0.9.3-alpha
The emqttd_ctl shell script lost too many lines.

./bin/emqttd console to check what's wrong.

It is ok.
$ ./bin/emqttd console
Exec: /home/yy/softwares/emqttd/erts-7.1/bin/erlexec -boot /home/yy/softwares/emqttd/releases/0.12.0-beta/emqttd             -embedded -config /home/yy/softwares/emqttd/etc/emqttd.config             -pa ./lib/basho-patches             -mnesia dir<EMAIL_ADDRESS>           -args_file /home/yy/softwares/emqttd/etc/vm.args -- console
Root: /home/yy/softwares/emqttd
Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:8:8] [async-threads:16] [kernel-poll:true]

starting emqttd on node<EMAIL_ADDRESS>emqttd ctl is starting...[done]
emqttd trace is starting...[done]
emqttd pooler is starting...[done]
emqttd client manager is starting...[done]
emqttd session manager is starting...[done]
emqttd session supervisor is starting...[done]
emqttd pubsub is starting...[done]
emqttd stats is starting...[done]
emqttd metrics is starting...[done]
emqttd broker is starting...[done]
emqttd alarm is starting...[done]
emqttd mode supervisor is starting...[done]
emqttd bridge supervisor is starting...[done]
emqttd access control is starting...[done]
emqttd system monitor is starting...[done]
Erlang MQTT Broker 0.12.0 is running now
Hi, I'm from .erlang in home.
Eshell V7.1  (abort with ^G)
(emqttd@<IP_ADDRESS>)1>

Is it working fine in your computer?

@FlowerWrong,

same thing happening...node not running when I check status or try to install plugins on ubuntu and windows please help

@FlowerWrong  did u get this issue fixed