Using chmod on windows

When running this on windows, chmod is used, causing the instalation to fail sometwhat (Some files are still copied).

hey @N0tExisting thanks for reporting this -- I managed to fix the issue on the weekend. Let me know if you still run into any problems and if you have any ideas or feature requests!
Feel free to reopen this, I think merging my pull request closed it automatically


Fix compilation issue of pallet_contracts

Running cargo check --features runtime-benchmarks led to a compilation error when executed inside the pallet contracts directory. This was due to missing propagation of the std feature in some cases. This PR fixes that.
credits to @thiolliere for figuring that out

bot merge


Datepicker always invalid (Firefox)

Description/Situation
I create date-pickers in Java, set the locale to Germany and addValueChangeListeners to them.
Expected Behavior:
When a value is selected an RPC is made to the java back-end and the handler is called. This works in Chrome/Chromium.
Actual Behavior:
In Firefox the RPC is not made and the date-picker is set to invalid.
Found errors:
I think this might be due to the polyfill and using the wrong target in datepickerConnector.js:
datepicker.addEventListener('blur', e => {
    if (!e.target.value && e.target.invalid) {
        console.warn("Invalid value in the DatePicker.");
    }
});

In chrome e.target.value evaluates to: "2018-07-03" when i select that date.
In Firefox it is empty. I assume this invalidity stops an RPC from being made.
Possible solution
value is actually stored inside the private __target property.
You could wrap the event using Polyer.dom() and using the rootTarget as you can see here.

Software versions:
Vaadin: 10.0.1
Works:

Chromium: Version 67.0.3396.87 (Official Build) Arch Linux (64-bit)
Chrome: Version 67.0.3396.87 (Official Build) (64-bit)

Doesn't work:

Firefox Quantum 61.0-1
Firefox Quantum Developers Edition 62.0b4-1

OS/Kernel:
Manjaro Linux x86_64 (4.14.52-1-MANJARO)

Closing as inactive and most likely caused by web components polyfill. Please submit a new issue if the problem is still valid.


Fix: read-config support FBC catalog submission

The read-config didn't support a case where a FBC catalog only was submitted. This commit make a task compatible with FBC by finding a ci.yaml file in the operator directory based on which catalog operator was submitted.
JIRA: ISV-5115

LGTM :+1:


Option for limiting the imported character styles

Insert option to allow the user to limit the imported character styles to some basic ones.  ( #2 )

Integrated in v0.2-beta


Feature | Add basic tools for network troubleshooting in images

What?

Add basic tools for network troubleshooting in images

nslookup,
dig,
netcat,
netstat,
ifconfig,
ip,
traceroute

Why?

These network troubleshooting tools range from simple command line based troubleshooting utilities to more comprehensive and robust solutions that allows for a systematic, efficient and proactive approach to network troubleshooting.

Some of the basic network troubleshooting tools are as follows:

Ping
Tracert/ Trace Route
Ipconfig/ ifconfig
Netstat
Nslookup
Pathping/MTR
Route

@angelofenoglio @diego-ojeda-binbash as we've agreed, and since it's fairly simple,  the user could install the necessary binaries upon a leverage terraform shell hence I'll close this issue.


Add YearPredictionMSD dataset and test set

Codecov Report

Merging #29 (47c4cb2) into main (81954a5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage   86.11%   86.11%
=======================================
  Files           3        3
  Lines         108      108
  Branches       18       18
=======================================
  Hits           93       93
  Misses          8        8
  Partials        7        7

Flag
Coverage Δ

unittests
∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

libsvmdata/datasets.py
82.35% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 81954a5...47c4cb2. Read the comment docs.

tested, works fine. Thanks @Klopfe !


add python versions 3.9 and 3.10

Currently the template is built on python 3.8.
The user can manually change the python version, but this requires lot of manual work. We should at least provide python versions 3.9 and 3.10
Figure out how to do this so that usage is as easy as possible (one template or template per python version)

Not critical for Helsinki use, but nice to have

@nakytoe Could you make a check list of things that should be changed? Beyond settings.ini minimum version and Dockerfile I didn't find places that should be changed. I'd surmise bigger problems might come from dependency mismatches.

settings.ini & Dockerfile
dependencies of core packages (I tried once converting the template to 3.9 and there were some issues with dependencies)
instructions
how to distribute template for different python versions as easily as possible. Changing settings in multiple files & solving dependency issues is just too much

However, I think this is something we don't have to solve immediately, because the py version does not really matter for our current projects. So perhaps in v0.0.3 or later. Of course, if the solution is super easy, we can fix it asap, but I would not put hours to it for now

Python 3.11 is coming with supposedly big speed gains: https://mobile.twitter.com/methane/status/1501108529297432577
And 3.10 was already many ways faster. So, there's that. Granted, 3.11 is far away now.
I'm thinking template could be set to highest possible Python version. Dependencies tend to get updated (I'd wager) when template based repo is first used. Adding project's dependencies very likely leads to updates to base deps also. If base Dockerfile can support building container for chosen Python version then there shouldn't be anything else to set. Though creating this version matrix for containerization might not be simple.

Good point. Let's add 3.11 already to this. I suppose it is easy to update versions after we figure out how to do it with a couple of them

possible by setting the container to use virtual environment


Typescript compilation error: cannot find namespace 'WebAssembly'

Thanks for the library; looks very interesting.
From a fresh Git clone, after npm install, tsc -p . fails with:
lib/Stark.ts:364:26 - error TS2304: Cannot find name 'WebAssembly'.

364             memory : new WebAssembly.Memory({
                             ~~~~~~~~~~~

lib/Stark.ts:373:28 - error TS2304: Cannot find name 'WebAssembly'.

373         const memory = new WebAssembly.Memory({ initial: initialMemory, maximum: maximumMemory });
                               ~~~~~~~~~~~

node_modules/@guildofweavers/galois/galois.d.ts:7:26 - error TS2503: Cannot find namespace 'WebAssembly'.

7         readonly memory: WebAssembly.Memory;
                           ~~~~~~~~~~~

node_modules/@guildofweavers/merkle/merkle.d.ts:22:26 - error TS2503: Cannot find namespace 'WebAssembly'.

22         readonly memory: WebAssembly.Memory;
                            ~~~~~~~~~~~

Found 8 errors.

I am running node version v12.10.0.
Any ideas? I could try a global declaration in global.d.ts or the like:
declare const WebAssembly: any

but I would have to modify the dependencies as well.
Presumably I have simply misconfigured something locally.

Thanks for trying it out! What you are doing should work - but 2 thoughts:

What version of TypeScript do you have? I'm currently using 3.6.2 and it comes with  lib.dom.d.ts file which contains the declaration for WebAssembly namespace. I'm using VS Code and in my case the file lives under ...\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\lib.dom.d.ts
If you are trying to compile the project, it's better to use Gulp tasks. If you have VS Code, the task have been already configured (in the .vscode/tasks.json file). If you are using something else, you might need to install Gulp CLI (e.g. npm install --global gulp-cli).

Let me know if any of this helps. If not, we can troubleshoot further.

Of course, if you just want to use the library in a project - you don't need to compile it. Just pull it from NPM and use it the same way as shown in the example here.

I had previously been using Typescript 3.4.x, upgraded to 3.6.3 which fixed the issue, thanks.


[BUG] Environment variables are not evaluated when jobs are templated using a sequence

Output of kube-burner version
[smalleni@localhost web-burner]$ kube-burner version
Version: 0.14
Git Commit: c7dee26312c2455b94b95508cb8ecf6c1c91802e
Build Date: 2021-09-30T19:37:03Z
Go Version: go1.16.8
OS/Arch: linux amd64
Describe the bug
When environment variables are referenced in the kube-burner config, if the job itself is templated out using a sequence, the environment variables for the job parameters are not evaluated properly.
To Reproduce
Steps to reproduce the behavior:

export iter, scale, QPS and BURST on the env
Run kube-burner with this config

{{ $normalLimit := multiply 1 .scale }}
{{ range $index, $val := sequence 1 $normalLimit }}
  - name: job-{{ $val }}
    jobType: create
    jobIterations: {{ .iter }}
    qps: {{ .QPS }}
    burst: {{ .BURST }}
    namespacedIterations: false
    cleanup: false
    namespace: normal-ns-{{ $val }}
    podWait: false
    waitWhenFinished: false
    waitFor: ["Pod"]
    verifyObjects: true
    errorOnVerify: false
    jobIterationDelay: 20s
    jobPause: 20s
    objects:
      - objectTemplate: objectTemplates/cluster_density_configmap.yml
        replicas: 30
      - objectTemplate: objectTemplates/cluster_density_secret.yml
        replicas: 38
      - objectTemplate: objectTemplates/node_density_pod_served.yml
        replicas: 38
      - objectTemplate: objectTemplates/node_density_pod_service_served.yml
        replicas: 38
      - objectTemplate: objectTemplates/cluster_density_dep_served.yml
        replicas: 5
{{ end }}

Expected behavior
The environment variables should work within the sequence
Screenshots or output
INFO[2021-10-14 11:55:39] 🔥 Starting kube-burner (0.14@c7dee26312c2455b94b95508cb8ecf6c1c91802e) with UUID a8d4ac36-193a-431e-856c-0fbe08c72c27
FATA[2021-10-14 11:55:39] Error rendering configuration template: rendering error: template: :21:22: executing "" at <.iter>: can't evaluate field iter in type int

Additional context
Add any other context about the problem here.

Hey @smalleni, this is not actually a kube-burner issue. It's related with how golang template language works. When you try to access a varible from within a range loop, the scope changes and then you need to reference "root" variables by prefixing them with a $.
i.e
{{ $normalLimit := multiply 1 .scale }}
{{ range $index, $val := sequence 1 $normalLimit }}
  - name: job-{{ $val }}
    jobType: create
    jobIterations: {{ $.iter }}
    qps: {{ $.QPS }}
    burst: {{ $.BURST }}
    namespacedIterations: false
    cleanup: false
    namespace: normal-ns-{{ $val }}
    podWait: false
    waitWhenFinished: false
    waitFor: ["Pod"]
    verifyObjects: true
    errorOnVerify: false
    jobIterationDelay: 20s
    jobPause: 20s
    objects:
      - objectTemplate: objectTemplates/cluster_density_configmap.yml
        replicas: 30
      - objectTemplate: objectTemplates/cluster_density_secret.yml
        replicas: 38
      - objectTemplate: objectTemplates/node_density_pod_served.yml
        replicas: 38
      - objectTemplate: objectTemplates/node_density_pod_service_served.yml
        replicas: 38
      - objectTemplate: objectTemplates/cluster_density_dep_served.yml
        replicas: 5
{{ end }}

@rsevilla87 yes your suggestion worked, thank you! we can close this one out.


Upgrade Azure Communication Services Phone Numbers to 1.1.0.beta-12

Description
Upgrade Azure Communication Services Phone Numbers to 1.1.0.beta-12. The change only includes patch updates.

API change check
API changes are not detected in this pull request.


Added Schuenemann 2011 libs into its very own branch

Warning, problematic! Consensus sequence deposited in genbank. There is a lot of missing information!
Pull Request
This PR is for a

[x] New Publication(s)
[ ] Correction

For the following list(s):

[ ] ancientmetagenome-anthropogenic (README)
[ ] ancientmetagenome-environmental (README, ask @thedir-team-dirt for advice)
[ ] ancientmetagenome-hostassociated (README, ask @thedir-team-bugparty for advice)
[x] ancientsinglegenome-hostassociated (README, ask @thedir-team-pathopeeps for advice)

New Publication
Publication Information
This pull request is to add samples from the following publication(s): 10.1073/pnas.1105107108
This is to close #586
Checklist

[ ] Publication is published (preprints currently not accepted)?
[ ] Checked the publication is not already in the database?
[ ] Checked samples in this publication are not previously published data (newly re-sequenced metagenomes are OK!)?
[ ] Samples are shotgun metagenomes (hostassociated-singlegenome may also contain whole-genome enriched data)?
[ ] Checked the list follows conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)?
[ ] Changelog is updated to include the publication under 'Added'?
[ ] Pull request has passed validation checks (see automated comment from github-bot)?
[ ] Review requested from corresponding team (see list of lists above for each team)?
[ ] (If applicable) Made a separate PR to add new categories to controlled lists (stored under /assets/enums, e.g. material or archive)? If so the corresponding PR is here:

If you do not know how to check errors in failed validation checks, expand here

Correction
This PR is for

[ ] ancientmetagenome-hostassociated
[ ] ancientsinglegenome-hostassociated
[ ] ancientmetagenome-environmental
[ ] ancientmetagenome-anthropogenic

Reference
This pull request is to correct samples from the following publication(s):
This is to close
Description
The issue is:

Checklist

[ ] Checked the corrected entries follow conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)
[ ] Changelog is updated to include the publication under 'Changed'?
[ ] Pull request has passed validation checks (see automated comment from github-bot)?
[ ] Review requested from corresponding team (see list of lists above for each team)?

To close #586

I added all the conensensus sequence info, now I worked out how to integrate it into the database :)


Right-click on Awake icon does nothing

Microsoft PowerToys version
0.84.1
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
Awake
Steps to reproduce
Cannot right-click icon in taskbar to choose options.
✔ Expected Behavior
Options to open on right-click of Awake.
❌ Actual Behavior
Nothing happens.
Other Software
No response

Based on the experience with the latest update, I believe the issue has been resolved and can be closed.

Please make sure to update to the latest PowerToys. If the issue persists, please re-open.


m_samplers memory overrun

https://github.com/bkaradzic/bgfx/blob/master/src/renderer_gl.cpp#L3710
I just had a nasty bug when program had more samplers than BGFX_CONFIG_MAX_TEXTURE_SAMPLERS.

thanks for quick fix


Python generator JWT token not working

Hello Team,
After following the steps mentioned below for python:
_https://github.com/zephyrdeveloper/zapi-cloud/tree/master/Samples/production/zapi-cloud/generator/python_
I was able to generate the JWT token but unfortunately when I try to use it for calling an endpoint it doesn't work and keep giving me an error as below:
Expecting claim 'qsh' to have value '9675ab84a4d0c2c28b137af341f05c78b3a39507395b0803bb39fc15eb842067' but instead it has the value '43dee8a25a7cea6f0188bd9bd960ca7d35b63aae4dbd7e1dda22aee3f99efc1b'

Got this resolved by changing the
CANONICAL_PATH = 'POST&'+RELATIVE_PATH+' to
CANONICAL_PATH = 'GET&'+RELATIVE_PATH+' as I was making a GET request.
Also, installing the latest version of pyjwt will result an error on .decode method.
So, you can remove that as:
In Python3 you don't need the ".decode('UTF-8')" after "jwt.encode()": it does it for you.
Hope this helps someone...


macOS completly freezes when performing Find in Files

VSCode:
Version: 1.41.1
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:57:51.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 18.7.0
OS Version:
macOS Mojave, 10.14.6 (18G2022), MacBook Pro (15-inch, 2017, 16gb ram)

Steps to Reproduce:

Open any project that has at least 100 files
Perform search in the whole project.
In my case macOS completely freezes, not even able to move the cursor. I need to force shutdown.

This bug seemed intermittent at first (older versions), but now I've noticed that for some keywords that I'm searching the bug replicates consistently.
Usually there are words that I'm pasting directly on the search input. For example if I search for RecommendationsAction.SET_VOLUMES_FILTERS.
If I search this term in another project, the bug is gone.
Also, in other projects, I've come across other terms that can cause the crash, so I can confirm it's not related to my project only.
Tried to launch with --disable-extensions option, same behaviour.
Tried to exclude as much folders and files as possible from search options (yes, I'm always excluding node_modules :), and even .test files) but I doesn't make a difference if I do it or not.
Tried vscodium v1.41.1, same behaviour.
Tried to keep htop open to inspect resources, but because the OS freezes completely, wasn't able to find anything.

Does this issue occur when all extensions are disabled?: Yes
Edit: There are other colleagues of mine in our company, working with go or/and JavaScript that have the same issue. (we have the same laptops, but some have different macOS versions) This issue started ~3 months ago, but now replicates more often.

I experience the same issues
Version: 1.41.1
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:57:51.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 17.7.0

This sounds similar to https://github.com/microsoft/vscode/issues/87254.
Can you try disabling search.searchOnType and see whether that helps in 1.41?

@roblourens disabling search.searchOnType works for me.
Thank you!

Interesting, so you paste the query with that setting enabled and get the freeze, but if you disable that setting and paste the query the same way, there is no freeze?
In theory the setting shouldn't have any affect because pasting the query should only result in a single search...
FYI @JacksonKearl

I've confirmed that pasting a string with searchOnType enabled does indeed only trigger a single search. I haven't been able to reproduce the freeze.

Interesting, so you paste the query with that setting enabled and get the freeze, but if you disable that setting and paste the query the same way, there is no freeze?
In theory the setting shouldn't have any affect because pasting the query should only result in a single search...
FYI @JacksonKearl

Yes, that's correct.
There was one isolated case when searchOnType was disabled and I had a lot of processes open (debugger, VMs, and other stuff opened) and after pasting something into the search input it froze but that was only once, not every time as it was happening before.
Today I've updated to latest VSCode - Insiders (v. 1.42.0-insider) and switching searchOnType on and searching for RecommendationsAction.SET_VOLUMES_FILTERS in the whole project still freezes my laptop (unless I specify a narrow path like /folder/*.jsx).

I'm experiencing the same behaviour (macOS Mojave 10.14.6, VS Code 1.14.1, all extensions disabled). My reproduction case is pretty simple: if I perform a search in a reasonably large repo (in my case, a Golang project with a fair number of files under /vendor), then trigger another search before the first has completed, my machine reliably locks up to the point the cursor is stuttering, I cannot switch applications, etc.
searchOnType seems to help, as it forces me to hit Enter before an in-progress search is interrupted, but it does not prevent the issue from occurring altogether.

Wow pretty sure this is my issue. I even took my mbp to the apple store in an attempt to exchange it. I've been getting huge system hangs until I eventually crash and reboot, everytime it has happened has been while using vscode.
Learning a new codebase at a new job and have been searching constantly... That would explain my issues... Will turn off searchOnType for now

I'm going to merge this into #87254.


HDDS-7025. Add table cache metrics in OM.

What changes were proposed in this pull request?
Create table cache metrics. Initially, only the cache size is included.
https://issues.apache.org/jira/browse/HDDS-7025
How was this patch tested?
Standard CI.
Also local test to ensure expected metrics are emitted to Prometheus.

Should we wait for more metrics to show up in this PR or do you plan to add that in subsequent PRs?

Should we wait for more metrics to show up in this PR or do you plan to add that in subsequent PRs?

Thanks for looking at this. I've added some more basic counters. I think it's quite sufficient to investigate any table cache related issue.

The changes look good to me. I have one question though, Why can't the TableCacheMetrics be part of the TypedTable instance itself?

Thanks @aswinshakil for the review. Basically, I think it's better not to extend the TypedTable responsibility to maintain TypeTable complexity. Metrics should belong to the clients of TypedTable instead.
Yet, I had to add a metrics creator function in TypedTable because the cache instance is not (and should not) be visible outside.


Investigate importing against Capella using cbshell

Currently we explicitly prevent cbshell importing sample data into Capella clusters. This may be because the API used to import sample data into Capella is closed of. We need to investigate if this is the case, and if not, meaning sample data can be imported into Capella, then we should support Capella sample importing in cbshell.

The move to the v4 API means that we can now import sample data into Capella clusters


bug: fixed theme toggle button overlapping with menu toggle button

Before
Desktop

Mobile

After
Desktop

Mobile

thanks @devvsakib


Typescript Support

Great Component! Do you plan to support typescript?

Thanks a lot, @emech-en!
There's no reason not to! The only issue is, I have very limited experience using TypeScript, so I wouldn't be best suited to perform the migration. I'd be more than happy to submit the Pull Request.
It would be especially useful for me to see how a component I'm familiar with gets transformed into the TS equivalent.
Do you think you'd be up to it?

Hello,
Here is it:

react-native-twitter-textview.d.ts

declare module 'react-native-twitter-textview' {
  import {FC} from 'react';
  import {GestureResponderEvent, TextStyle, ViewProps} from 'react-native';

  export interface ReactNativeTwitterTextviewProps extends Omit<ViewProps, 'children'>{
    children?: string | never[];
    extractHashtags?: boolean;
    extractMentions?: boolean;
    extractLinks?: boolean;
    extractEmails?: boolean;
    onPressHashtag?: (e: GestureResponderEvent, hashtag: string) => void;
    onPressMention?: (e: GestureResponderEvent, mention: string) => void;
    onPressLink?: (e: GestureResponderEvent, link: string) => string | void;
    onPressEmail?: (e: GestureResponderEvent, email: string) => string | void;
    hashtagStyle?: TextStyle;
    mentionStyle?: TextStyle;
    linkStyle?: TextStyle;
    emailStyle?: TextStyle;
  }

  const ReactNativeTwitterTextView: FC<ReactNativeTwitterTextviewProps>;
  export default ReactNativeTwitterTextView;
}

Have a great day.

Instead Omit<ViewProps, 'children'> I think should be Omit<TextProps, 'children'>


update: budgets section is corrupted on ng update

🐞 Bug report
Command

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [x] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?
Not sure as this is the first time using ng update after adding budgets.
Description
angular.json file's budgets section is corrupted on ng update @angular/cli --next.
🔬 Minimal Reproduction

Start with a project based on"@angular-devkit/build-angular": "~0.803.0",
"@angular/cli": "8.3.0",

and build config below.
Run ng update @angular/cli --next --force
Commit files
Run ng update @angular/material

🔥 Exception or Error

An unhandled exception occurred: Workspace config file cannot be loaded: /Users/splaktar/Git/devintent/devintent/angular.json
Invalid JSON character: "{" at 37:32.
See "/private/var/folders/3w/d8jpfpm16xs1ktpq20zprl880000gn/T/ng-PJGl3A/angular-errors.log" for further details.

Contents of that log file
[error] Error: Workspace config file cannot be loaded: /Users/splaktar/Git/devintent/devintent/angular.json
Invalid JSON character: "{" at 37:32.
    at getWorkspace (/Users/splaktar/Git/devintent/devintent/node_modules/@angular/cli/utilities/config.js:58:15)

🌍 Your Environment
Before

Angular CLI: 8.3.0
Node: 12.3.0
OS: darwin x64
Angular: 8.2.3
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.0
@angular-devkit/build-angular     0.803.0
@angular-devkit/build-optimizer   0.803.0
@angular-devkit/build-webpack     0.803.0
@angular-devkit/core              8.3.0
@angular-devkit/schematics        8.3.0
@angular/cdk                      8.1.4
@angular/cli                      8.3.0
@angular/fire                     5.2.1
@angular/flex-layout              8.0.0-beta.26
@angular/material                 8.1.4
@angular/pwa                      0.803.0
@ngtools/webpack                  8.3.0
@schematics/angular               8.3.0
@schematics/update                0.803.0
rxjs                              6.5.2
typescript                        3.5.3
webpack                           4.39.2

After

Angular CLI: 9.0.0-next.0
Node: 12.3.0
OS: darwin x64
Angular: 9.0.0-next.3
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
... service-worker

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.0
@angular-devkit/build-angular     0.900.0-next.0
@angular-devkit/build-optimizer   0.900.0-next.0
@angular-devkit/build-webpack     0.900.0-next.0
@angular-devkit/core              8.3.0
@angular-devkit/schematics        8.3.0
@angular/cdk                      8.1.4
@angular/cli                      9.0.0-next.0
@angular/fire                     5.2.1
@angular/flex-layout              8.0.0-beta.26
@angular/language-service         8.2.3
@angular/material                 8.1.4
@angular/pwa                      0.803.0
@ngtools/webpack                  9.0.0-next.0
@schematics/angular               8.3.0
@schematics/update                0.900.0-next.0
rxjs                              6.5.2
typescript                        3.5.3
webpack                           4.39.2

Anything else relevant?
angular.json before:
          "configurations": {
            "production": {
              "budgets": [{
                "type": "bundle",
                "name": "main",
                "maximumWarning": "650kb",
                "maximumError": "1000kb"
              }],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "extractCss": true,
              "namedChunks": false,
              "aot": true,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": true,
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.prod.ts"
                }
              ],
              "serviceWorker": true,
              "ngswConfigPath": "ngsw-config.json"
            }
          }

angular.json after ng update:
         "configurations": {
            "production": {
              "budgets": [{
                "type": "bundle",
                "name": "main",
                "maximumWarning": "650kb",
                "maximumError": "1000kb"
              },]                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "6kb"
                }
,
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "extractCss": true,
              "namedChunks": false,
              "aot": true,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": true,
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.prod.ts"
                }
              ],
              "serviceWorker": true,
              "ngswConfigPath": "ngsw-config.json"
            }
          }

angular.json after manually fixing:
          "configurations": {
            "production": {
              "budgets": [
                {
                  "type": "bundle",
                  "name": "main",
                  "maximumWarning": "650kb",
                  "maximumError": "1000kb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "6kb"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "extractCss": true,
              "namedChunks": false,
              "aot": true,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": true,
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.prod.ts"
                }
              ],
              "serviceWorker": true,
              "ngswConfigPath": "ngsw-config.json"
            }
          }

It seems that we are not handling object literal and array opening and closing tags are on the same line properly.


Address spelling error around own and manage in SSA Docs

Description In the Server-Side Apply docs there is a small spelling error
It is strongly recommended for controllers to always force conflicts on objects that
the own and manage, since they might not be able to resolve or act on these conflicts.

Should be ...that they own and manage...
Link to error in site - Server Side Apply
Link to error in code

/approve
even


Read GPT Functions from JSON

Convert the current hard-coded mechanic to a versioned read of the JSON directory allocated to actions and functions. Code is triggered at opening of globals.mjs which may itself not be the correct destination; I'm not sure at the moment why I was hesitant to put it in mylife-llm-service.mjs

@Mookse  I think this issue can be closed isn't it? I was able to add a memory from GPT directly to MyLife. In GPT schema, we add Json content e.g. for creating a memory. Once memory is added through GPT, memory is seen in MyLife.

@Vudum This is a technical issue, so is not required for alpha, but essentially we do not have the functions in our database yet, they are hard-coded in the codebase. There is no security issues or concerns, but a technical hack, so I'm leaving this open.
Ah, and a note: These types of tickets often find their way to the technical security grouping projects, the current one being Talc - which reminds me to set up a new project for Gypsum, as Talc will really encompass however far we get by Alpha, and the next project will be more well-designed.


Allow scanning sub dir within a larger search context

What would you like to be added:
We have multiple issues that want to be able to search within a small space, but reference things outside of that space:

https://github.com/anchore/syft/issues/2574
https://github.com/anchore/syft/issues/3145 (for performance reasons)
https://github.com/anchore/syft/issues/3207
#3345

It would be nice to allow for something like this:
syft ./my/dir/project-1 --reference ./my/dir

Were I only want to catalog packages within ./my/dir/project-1  but I want to be able to reference file system material from a specific parent directory ./my/dir
In this way if there is a pom.xml in the project dir but the parent pom has required properties, we can reference that material to get the correct version. This applies to any ecosystem where manifests can reference other manifests in parent directories for correct resolution.
Today we have the --exclude flag to tailor the search space, but this doesn't help in a large set of cases (and may result in cumbersome number of flags or brittle configuration).

We talked about a few different implementation options here, both from a user-facing level and lower API level.

Incremental include: syft / --include /my/project/dir --include /etc . This essentially implies --exclude '**' which is easier than "start with / and --exclude several directores". This lets us build the index the way we do today, but allows for a few more knobs for the user to dial.
Same as 1 but different syntax: syft /my/project/dir /etc where the common root is inferred from the set of given paths (this affects what "root" will be in the SBOM)
Pair up file globs within catalogers with common known locations (e.g. **/dpkg/status is paired with /var/lib) so that we can ask the catalogers to expand the index before cataloging. This might cause more problems than it solves.
Allow the catalogers to programmatically send requests via the file.Resolver to expand the index and search against subindexes

1 & 2 are relatively simple to add to syft but are not "automagical" in the sense that the user might need to know a lot about our catalogers today to put in just the right amount of paths to include.
3 introduces a new problem: how would catalogers add paths that are semantically useful but don't accidentally add paths that produce packages that otherwise would not have been found. That is, if the user is interested in /home/user/my/project and a cataloger adds /var/lib/dpkg to the index, it would be surprising the their project all the sudden includes system packages. There might be a workable path here but I don't quite see it yet.
4 is relatively difficult to implement, but overcomes most of the problems of 3. Take for example, the dpkg cataloger finds packages, but when searching for md5sum files in the the parent dir this comes back with no locations. At this point we could smuggle an index builder/requester through file.Resolver that could be invoked by the cataloger to add the info dir to the resolver. This would be something of the affect of indexer.Request(<Status file location object>.parent() + "/info").
There are several other considerations with 4 that are important:

Should index requests affect other catalogers? if so, what about catalogers that have already run and completed? There could be race conditions there.
Should index requests never result in more packages found? That is, should we adopt that convention? or have the indexer enforce this somehow?
What about files found by new indexes in relation to the file metadata cataloger -- we probably should make certain they are included in those results.


Update to ASF header /  add when missing

Part of https://github.com/sqlparser-rs/sqlparser-rs/issues/1436
Part of being an Apache project is ensuring all source files have the appropriate license header.
This PR updates to the appropriate header, adding it when there wasn't an existing license header

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

14 of 17 (82.35%)  changed or added relevant lines in 15 files are covered.
235 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.006%) to 89.332%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

derive/src/lib.rs
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/lib.rs
235
12.47%

Totals

Change from base Build<PHONE_NUMBER>6:
-0.006%

Covered Lines:
29602

Relevant Lines:
33137

💛  - Coveralls

Thanks @iffyio


Add version_base parameter to hydra.main() call

Description
Add version_base parameter to hydra.main() call to remove warning.
See here for details
Type of change
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[X ] Other

How Has This Been Tested?
Tested locally and HPC

Closed because forked from wrong branch,


KANvolver leads to 99.5% accuracy on MNIST dataset

Please check for reproduction and methods to further optimise: https://github.com/1ssb/torchkan

Congratulations, @1ssb  ! Epoch 13 99.44% Val , with my edition of train_mnist.py running MNIST, Kanvolver is for real.

Two questions:

How are you going to proceed?

KANvolver, FastKAN, FasterKAN, and the other variations: when do you believe the variants have mutated so much from the original pyKAN that they can no longer be considered KAN? Does Kanvolver, FastKAN, or FasterKAN still subscribe to the KATherorem as rephrased in the pyKAN paper?

@KindXiaoming @Blealtan @ZiyaoLi your opinion would also be highly appreciated!

We must come up with a mathematical intuition moving further, they all still follow general additive model structures so yes. But I firmly believe if we do not sufficiently understand the process, we will be back to square 1, just like with MLPs.
Best
Subhransu

From: Athanasios Delis @.>
Sent: Tuesday, May 14, 2024 6:32:01 AM
To: KindXiaoming/pykan @.>
Cc: Subhransu Bhattacharjee @.>; Mention @.>
Subject: Re: [KindXiaoming/pykan] KANvolver leads to 99.5% accuracy on MNIST dataset (Issue #180)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Congratulations, @1ssbhttps://github.com/1ssb ! Epoch 13 99.44% Val , with my edition of train_mnist.py running MNIST, Kanvolver is for real.
image.png (view on web)https://github.com/KindXiaoming/pykan/assets/68398213/bdd71456-8ccd-484f-ab93-473bf5bc5468
image.png (view on web)https://github.com/KindXiaoming/pykan/assets/68398213/8dd40bf0-c030-4823-85cd-31c56a712a7a
Two questions:

How are you going to proceed?

KANvolver, FastKAN, FasterKAN, and the other variations: when do you believe the variants have mutated so much from the original pyKAN that they can no longer be considered KAN? Does Kanvolver, FastKAN, or FasterKAN still subscribe to the KATherorem as rephrased in the pyKAN paper?

@KindXiaominghttps://github.com/KindXiaoming @Blealtanhttps://github.com/Blealtan @ZiyaoLihttps://github.com/ZiyaoLi your opinion would also be highly appreciated!
—
Reply to this email directly, view it on GitHubhttps://github.com/KindXiaoming/pykan/issues/180#issuecomment-2108748206, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJWHFEBGOPB2JTWKUXDHMZLZCEPMDAVCNFSM6AAAAABHUFDSQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBYG42DQMRQGY.
You are receiving this because you were mentioned.Message ID: @.***>

Could you please express your experimental conclusions, and future analysis,  in simpler/plainer terms?
my understanding here, you can translate it by ChatGPT; if needed, I can translate it in English,
https://github.com/KindXiaoming/pykan/issues/86
shortly:
MLP:  mul(as_whole)
KAN:  add(independent_inputs)
part, traslated by ChatGPT
”Additive representations predominantly accumulate quantities of similar objects in terms of quantity, while multiplicative representations primarily represent the combined transformations between different physical quantities.“
"If dealing with a highly abstract space, where the black box nature of things and numerous hard-to-understand variables are not a concern, I personally lean towards using MLP (multi-layer perceptron) as a multiplicative building block for fitting. Conversely, in shallower layers or layers biased towards output, where I know the space between inputs and outputs can be obtained through a finite number of transformations and I want to 'force' the relationship with inputs, then KAN (kernel additive network) can be used. However, if the relationship with inputs is not directly strong, applying various regularizations to MLP makes it easier to 'discover' some 'combined/composite' features."

If you are asking for my experimental conclusions; let me very clear, I do not have one. I have barely started the analysis and the only way to provide one is to extensively work on the comparisons and visualizations.

@lssb   Thanks!
You're doing great, I'll keep an eye on your work.


Improve the metric and fix the mq seek error

Codecov Report

Merging #29 (7c01913) into main (e346111) will decrease coverage by 0.02%.
The diff coverage is 16.66%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
- Coverage   81.55%   81.53%   -0.02%
==========================================
  Files          39       39
  Lines        4082     4083       +1
==========================================
  Hits         3329     3329
- Misses        627      628       +1
  Partials      126      126

Files
Coverage Δ

server/cdc_impl.go
64.21% <0.00%> (-0.09%)
:arrow_down:

core/reader/replicate_channel_manager.go
79.96% <20.00%> (ø)


Many files slightly modified on export

Description
When exporting tags (in our case, specifically using individualFilesPerObject), basically all of the individual tag objects have slight modifications, ranging from a couple lines getting swapped, to large hunks changing locations within the tag json. This happens every time whether there has been a modification or not. If these modifications are added and committed, they won't show up with another export, but if the ignition service is restarted, and another export is made, these bogus modifications will show up.
This is a huge hinderance to our workflow as we have to remember which changes we actually made, or diff the file to see that changes we made didn't impact this tag. We run a major risk of losing tag changes since basically all of the tags change.
Current behavior
On export, slight modifications to nearly every tag definition appear.
Expected behavior
When taking an export, only modified tags jsons should show as modified
Potential fix
Is it possible to use an ordered type and sort the actual tags list in each json to be alphanumerically sorted?
To recreate
It's most clear to see this if we add a tag, although it's not strictly necessary. This will take you through the procedure to recreate.

Set up Ignition

Ignition instance
Several tags
Export with individualFilesPerObject enabled
Spin up the stack

In the designer, add a tag
Take a tag export
Observe your new tag, with a bunch of modified tags that you didn't modify

The diff clearly shows that two instances that switched places in the tag list, and all the chile tags got moved with it, but no actual changes were made here. (machine2_diff.txt)

I tested this without individualFilesPerObject and it has the same result, maybe even worse. I followed the same procedure, but kept everything in one file. It's like everything changed places. (tags_json_diff.txt)

Fixed with v0.0.4
The native JsonUtilities.createDeterministicCopy was not working, so instead I just added a custom json sorter.


made the driver config variable get used

Heya! I gave some reasons at #41 why I don't want to do this. If you need to solve this right now, I suggest you overwrite the method and register your own Service Provider.

If you want, you can give it a shot at implementing Laravel's manager so we can use the same system as Laravel's DB drivers.

ahhh i didnt see the reply in the issue, githubs notifications man bah... yeah ill override in my project, but in which case that config var is useless isnt it? :D

You still need to say if you want the array or database driver


Fixes for LSPS

Fixes a couple issues.

Makes sure we await node storage being written, this way we are sure it is done when we change LSP and restart
Makes get_lsp_invoice so we aren't serializing and deserializing when we don't need to
Fixes a bug where I put the wrong pubkey in the invoice
Fixes so we persist invoices created from LSPS so we can properly track it

Was there anything else that needed verification here?

Never got a payment to go through was getting rate limited.

Needs rebase

Got this working now!


Native Copy/Paste (POC, not for merge)

Since I've accidentally closed Pull #126 where I've started this "experiment" I'm reopening a new pull with this patch (If there is another place to discuss this, plz tell me).
This patch (again, sorry, Android Studio messed up all Tab/Space) extends TerminalView with TextView. The TextView itself isn't displayed since TerminalView override onDraw(), so we just need to sync VDUBuffer with the TextView to allow native copy/paste while user perform a long clic (performLongClick).
Here is a short video of what I've done (for debuging purpose I've called super.onDraw() to see the TextView in green) :

CC: @jklein24 @bengolds

This looks really awesome, @alescdb! It seems that the diff didn't quite work out cleanly so it's a bit hard to follow what functionality you've removed here. What exactly are the tradeoffs? Anyway, nice work :-)

FYI - travis is angry about the spaces for indents instead of tabs. I actually prefer spaces, but for consistency reasons, make sure you switch back to tabs. This will also probably make the diff cleaner.

I've discibe what I've done in my last post in pull #126. It's very basic and simple, 4 lines of code :-)
In this pull I've just add the sync of VDUBuffer with base class TextView and made them superpose correctly.
I'll try to make a cleaner patch tomorrow so you can see more clearly.

Cool, so basically the main thing we lose is the ContextMenu with paste? Doesn't seem like the end of the world to me. Seems like a worthwhile tradeoff.

My $0.02 (AUD currently since I'm visiting Australia ;) ) is that I quite like it. I might even consider such a mode for pangoterm sometime as well.

FWIW, I'm totally in favor of getting this landed once it's ready. I think it's a big UX improvement. @kruton, what are your thoughts?

@alescdb do you might syncing up and rebasing to resolve merge conflicts?

I patched this in to play with it and although I think this is a good approach, I ran into some problems:

Font size needs to match the current user font size, otherwise everything overlaps and isn't readable.
The left selection anchor isn't visible on the left edge of the screen. Not sure what the right solution is here... You'd think TextView would account for this.
The green text never goes away after selecting, so you can't really see what you're doing after that.
The "setTextIsSelectable" function is only supported on API version 11+. Right now we support 8+.
Scrolling if you're in the select mode makes everything go crazy.

We need to figure out a good strategy for leaving selection mode. Maybe as soon as the user starts typing?

For leaving select mode, I'd say: hitting the back button in the top left, hitting the system back button, hitting escape, hitting copy, or starting to type.

@jklein24 the green text is only here for debugging purpose to see the sync between VDUBuffer and the TextView and if text superpose well (see performLongClick) it's not supposed to be displayed at all. To get rid of it, just comment super.onDraw() in TerminalView.onDraw().
To avoid API 11+ dependency, it may be possible to replace TextView by an EditText (I haven't tried).
A better approach (but maybe less simpler) would be to create an TerminalView Editor based on android.widget.Editor.

re: "the green text is only here for debugging purpose to see the sync between VDUBuffer and the TextView and if text superpose well"
Yes, I understand this and agree that the green text should only be there for debugging, but my point is more that the text doesn't align in lots of cases. I see that maybe the scrolling isn't a problem because the alignment will get reset on the next long press, but the other issues still seem valid (left anchor, font size, etc.)

I recently switched my Nexus 5 to Android M preview 3, and this does not seems to work on M !
I don't understand why for now. This may only be a M bug.
Maybe we should wait for M release before spending more time into this approach.

Weird, I had it working on my Nexus 9 on M, but don't have M on my Nexus 5. What do you see going wrong?

Long press is detected and TextView is correctly overlapping, but Copy anchors are not displayed and text is not selected.
To answer your previous questions, for font size it should not be too hard to sync font size and line spacing.
For left anchors (and certainly the right anchor when at the end of the line) I see no other solution than adding a margin to TerminalView.

Closing in favor of #277


Include settings in environment

It would be nice if, rather than having to pass --settings every time we run a management command, the settings could be picked up from the environment.  So, when running locally we'd use openprescribing.settings.local, in production, we'd use openprescribing.settings.production, and so on.  And the tests should only use openprescribing.settings.test.
This would be possible by setting DJANGO_SETTINGS_MODULE appropriately in environment.
I began to work on this in #1020, but there are at least two problems with my approach:

#1020 changed various scripts, including fabfile.py and scripts run by cron jobs, to not pass --settings.  Before deploying, I'd set DJANGO_SETTINGS_MODULE in /webapps/openprescribing/environment.  But deploying failed because manage.py collectstatic was using antibioticsrct.settings.staging as its settings file.  I did not have time to investigate, so reverted #1020 in #1058.
This happened because dotenv.read_dotenv does not by default override existing environment variables, and DJANGO_SETTINGS_MODULE is set in /etc/profile.d/antibioticsrct_staging.sh which somehow gets sourced automatically.
The fix is to tweak the call to dotenv.read_dotenv to prefer values in the file over values already in the environment.

We also need to change manage.py to ensure that the tests always run with the correct settings file, because it currently prefers to take DJANGO_SETTINGS_MODULE from the environment.  This led to accidental truncation of the dmd tables in BQ.

I will open a new PR that addresses these issues, and appreciate a thoughtful review!

We also need to change manage.py to ensure that the tests always run with the correct settings file, because it currently prefers to take DJANGO_SETTINGS_MODULE from the environment. This led to accidental truncation of the dmd tables in BQ.

Turns out I had already made this change in #1020, but the problem came after I had backed #1020 out.


Cannot be installed via command line

$ apm install atom-jsfmt
Installing atom-jsfmt to /Users/stevemao/.atom/packages ✗
No available version compatible with the installed Atom version: 0.146.0
npm: '2.1.6'

This has been resolved with 0.7.0. Sorry for the delay, and thanks again!


Support ending for Windows Subsystem for Android (WSA)

Windows Subsystem for Android (WSA)
The Windows for Android subsystem was allowing Windows 11 systems to run Android apps from the Amazon Appstore.
24 June 2021 - at the launch of Windows 11
5 March 2024
App
https://learn.microsoft.com/en-us/windows/android/wsa/

added! For opening date I refer to msft blog.


fix: PipelineSelector - use static annotation for match

Currently testing of annotation match is done on "appstudio.openshift.io/component-initial-build" which is generated during build and it's not available when component is created. That's place for race-contiditions, changing to static annotation which is set with component creation.
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Issue ticket number and link
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

based on report.xml - all tests related to 'PLNSRVCE-799 - test pipeline selector' passed.

@Michkov feel free to force merge or wait for https://github.com/redhat-appstudio/e2e-tests/pull/579


Tree viewState should contain scrollTop

disable automatic reveal of files ("explorer.autoReveal": false,)
open src/vs/base/browser/ui/breadcrumbs/collpased-dark.svg
reveal the file manually and notice that it is positioned in the center
reload window
:bug: the file is now in the lower third

I would expect that tree preserves scroll top as part of the saved view state. Forwaring to @joaomoreno

Not a regression from stable, so not for endgame.

@isidorn I've implemented this, but with auto reveal enabled it is basically worthless in the explorer.

Lot of people have auto reveal disabled. So thanks

Verification: please code review.


Support for doNotLoadFontAwesome

Braze automatically loads font awesome if you do not set doNotLoadFontAwesome: false in the initialize call. We don't need it but don't have a hook to change that at this point.

Hi @sean-roberts, as part of the monorepo migration, this issue has been moved to new issue. Our engineers have been notified and will prioritize and work on it ASAP. Thank you!
For more information, see README.md.


App crash - Linux

Thanks for the awesome package, it's very useful. I can confirm this also works on Linux. However i do see an issue with it.
When a notification pop up, and you click on the notification. The app crashes. Are there any logs generated for the generated apps?

Hi, sorry for the late reply. I don't have convenient access to a linux machine, does this problem persist? atom/electron#3910 seems to suggest that it has been fixed.


Design database schema - v2

tags
many-to-many

All to *.sql file

User level experience, no C/C++ code


tikz graphs package support

Hi,
I'm looking at using tikz-graphs
\usetikzlibrary {graphs}
\tikz \graph { a -> {b, c} -> d };

Is this something that can be dynamically added or are the libraries bundled?

I really wish I could use dsp

I have same demand too, to plot something as Signal Flow Graphs

Or, alternatively, could also please support tikz-network package as well?
https://github.com/hackl/tikz-network


Make failing on Ubuntu 15.04

make[2]: Entering directory '/home/jb/Projects/xserver-xorg-input-synaptics/src'
  CC       synproto.lo
In file included from /usr/include/string.h:634:0,
                 from /usr/include/xorg/os.h:53,
                 from /usr/include/xorg/misc.h:115,
                 from /usr/include/xorg/xf86str.h:37,
                 from /usr/include/xorg/xf86.h:44,
                 from /usr/include/xorg/xf86Xinput.h:54,
                 from synproto.h:36,
                 from synproto.c:24:
/usr/include/xorg/os.h:541:1: error: expected identifier or '(' before '__extension__'
 strndup(const char *str, size_t n);
 ^
Makefile:504: recipe for target 'synproto.lo' failed
make[2]: *** [synproto.lo] Error 1
make[2]: Leaving directory '/home/jb/Projects/xserver-xorg-input-synaptics/src'

Looks like os.h duplicates prototypes for some system functions unless xorg-server.h is included first, according to this discussion http://lists.x.org/archives/xorg-devel/2014-July/043067.html

Currently os.h cannot be included safely (without it creating duplicate
prototypes for system functions) without first including one of:
dix-config.h
xorg-server.h
xorg-config.h

same problem on Ubuntu 15.10.
Any workaround?

+1 this, 15.10 trying to build a newer version of the preinstalled driver. Same error.

Same issue in 15.10 under Gnome 3.16.4

Same issue in 15.10-gnome

The workaround is to add
#include <xorg-server.h>
to the top of synproto.h
This let make finish without errors (but with warnings).

Check your error message for file name and line number. In your case -
/usr/include/xorg/os.h:541:1:....

File - os.h
File Path - /usr/include/xorg/os.h
Line No - 541
Use your favourite text editor to open the file -
sudo vim /usr/include/xorg/os.h

So 541 is the line which is causing issue. Now you have to comment out line 540 too, why? The reason is it's a combined logic inside the if block as you can see in below:
#ifndef HAVE_STRNDUP <----- If block starts
extrn _X_EXPORT char * <----------- Comment out this line
strndup(const char *str, size_t n); <----------- Comment out this line
#endif <------ If blocks ends


Feature/improve get pdf

This pull requests adds:

A way to retrieve PDF revisions using the same get_pdf method by passing a new argument is_reference. If is_reference is True, then the passed id is assumed to be a Reference Id. I kept the argument as optional and False to keep backward compatibility
A new section in read the docs that I called Mental Models. I am not sure if this is something that we want, so I could remove it, but it looks like this:

Do you mind to upgrade the version number so we can share it with the users?

@melisabok Can we merge this so that I can reply to the students?


[SUGGESTION] Claim feature

Say someone DMed Modmail and the thread gets opened.
Now we can have a "!claim" command which when used by a particular mod, The thread becomes replyable only to the claimed moderator. And the thread gets hidden from all other mods. In case we need to show this thread to other mods after claiming, we can use the command "!public" or something to make the thread visible to all other mods.
This feature can be made "off" by default and can be turned on if needed.
For the other mods to see all the active threads, we can also maybe have a command like "!allthreads" and this can display all the threads including hidden along with the channel id. If a another moderator wants to enter the claimed thread, he can maybe use "!claim channel-id" Im not sure of this.
You may ask what will be the use of this command. This will be helpful for big servers that receives many threads daily. For very small issue, a single moderator may claim the thread and finish it off himself. This also reduces the number of threads u see. So that u don't get confused which thread is what issue.
I'm not sure if this is that worth to be added, also I feel I haven't written the idea completely, If you got any doubts pls leave a comment below and let's discuss!

Great idea. Please add it

Duplicates #174


Compatibility mode through executable name

E.g to enable compatibility mode without -c flag, rename/symlink pluto to plutocompat.

Or you could put a bat or bash script in a PATH directory that redirects all arguments to pluto plus -c.


Deploy Checklist: New Expensify 2023-04-26

Release Version: 1.3.6-0
Compare Changes: https://github.com/Expensify/App/compare/production...staging
This release contains changes from the following pull requests:

[x] https://github.com/Expensify/App/pull/15556
[x] https://github.com/Expensify/App/pull/16875
[x] https://github.com/Expensify/App/pull/17472
[x] https://github.com/Expensify/App/pull/17568
[ ] https://github.com/Expensify/App/pull/17678
[x] https://github.com/Expensify/App/pull/17700
[x] https://github.com/Expensify/App/pull/17813
[x] https://github.com/Expensify/App/pull/17850
[ ] https://github.com/Expensify/App/pull/17895
[x] https://github.com/Expensify/App/pull/17909
[x] https://github.com/Expensify/App/pull/17942
[ ] https://github.com/Expensify/App/pull/17944
[ ] https://github.com/Expensify/App/pull/17949
[x] https://github.com/Expensify/App/pull/17970
[x] https://github.com/Expensify/App/pull/17983
[x] https://github.com/Expensify/App/pull/17994

Deployer verifications:

[ ] I checked the App Timing Dashboard and verified this release does not cause a noticeable performance regression.
[ ] I checked Firebase Crashlytics and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found here.
[ ] I checked GitHub Status and verified there is no reported incident with Actions.

cc @Expensify/applauseleads

:rocket: All staging deploys are complete, @Expensify/applauseleads please begin QA on version https://github.com/Expensify/App/releases/tag/1.3.6-0 :rocket:

Checking off https://github.com/Expensify/App/pull/17813 as it's just a markdown change

@jasperhuangg Regression is almost done
PR https://github.com/Expensify/App/pull/17895 is blocked on Desktop & Native due to https://github.com/Expensify/App/pull/17895#issuecomment-1523716848. Ok to check off?
PR https://github.com/Expensify/App/pull/17944 fail https://github.com/Expensify/App/issues/18033
PR https://github.com/Expensify/App/pull/17949 is blocked on Android due to known issue https://github.com/Expensify/App/issues/17368. Ok to check off?

@mvtglobally Checking off https://github.com/Expensify/App/pull/17944, don't think it's actually a bug, context
Also checked off https://github.com/Expensify/App/pull/17895 and https://github.com/Expensify/App/pull/17949 for the reasons you provided above.

:shipit:


Revert "[Fix bug 1242596] Change command order in update script."

Reverts mozilla/mozillians#1294

r+


Merge kubeconfigs using clientcmd.ModifyConfig

Fixes: Issue #3602
Solution/Idea
Use clientcmd.ModifyConfig to merge custom config with a primary config (global kubeconfig in default case)
Proposed changes
Changed the function call to ModifyConfig in start
Testing
What is the bottom-line functionality that needs testing? Describe in pseudo-code or in English. Use verifiable statements that tie your changes to existing functionality.

start should merge the custom kubeconfig to the global kubeconfig file

Wondering if mergeKubeConfigFile could become as simple as something like this?
func mergeKubeConfigFile(kubeConfigFile, globalConfigFile string) error {
	var err error

	configAccess := clientcmd.NewDefaultPathOptions()
	if globalConfigFile != "" {
		configAccess.GlobalFile = globalConfigFile
		configAccess.LoadingRules.ExplicitPath = globalConfigFile
	}

	kubeConf2, err := clientcmd.LoadFromFile(kubeConfigFile)
	if err != nil {
		return err
	}

	return clientcmd.ModifyConfig(configAccess, *kubeConf2, true)
}

/ok-to-test

Wondering if mergeKubeConfigFile could become as simple as something like this?
func mergeKubeConfigFile(kubeConfigFile, globalConfigFile string) error {
	configAccess := clientcmd.NewDefaultPathOptions()
	if globalConfigFile != "" {
		configAccess.GlobalFile = globalConfigFile
		configAccess.LoadingRules.ExplicitPath = globalConfigFile
	}

	kubeConf2, err := clientcmd.LoadFromFile(kubeConfigFile)
	if err != nil {
		return err
	}

	return clientcmd.ModifyConfig(configAccess, *kubeConf2, true)
}

ModifyConfig + LoadFromFile behaves oddly, LoadFromFile will set LocationOfOrigin on all clusters/authinfos/... to the file being loaded. And ModifyConfig will write the changes to the file referenced by LocationOfOrigin, which is not what we want :-/

There is a valid point of consideration that this is actually more complex. This is not the fault of the author...
@praveenkumar you think this is an improvement from the perspective of maintenance?

As per the discussions and reviews, I think we can revert the changes made to use clientcmd.ModifyConfig as it is not working the way we were expecting it to and just keep the testcase.

/lgtm
/approve


dummy_compiler_test and recursive_import_test are extremely slow on dart2js-linux-d8-hostchecked

Skipping the dummy_compiler_test and recursive_import_test reduces the runtime for the dart2js extra tests by 5 minutes (10 minutes total because they are run in checked and unchecked mode) on the dart2js-linux-d8-hostchecked-try builder.
@sigmundch @efortuna I'm adding Skip for that configuration to the status file for now, is there anything that could be done to make these tests execute faster? Is it important to have them in the CQ?
https://dart-review.googlesource.com/c/sdk/+/6400

Thanks @athomas  To be honest I think it's fine to suppress it in host-checked. These tests were intended as tests of the compiler API, and I'd be fine just testing this in the VM and not running this on any other configuration (so in the dart2js + d8 config seems rather unnecessary). @johnniwinther - do you agree?

recursive_import_test is not important for CQ nor dart2js+d8. It tests part of the old frontend library loader.
dummy_compiler_test doesn't need to be on CQ but should be run on dart2js+d8. It is not interesting on the vm: It is a self-compilation test and we already know that the vm can run dart2js.

Ok, I will re-enable them for buildbot as soon as we have a way to skip them only for the CQ.

OK - I sent https://dart-review.googlesource.com/c/sdk/+/45364 to:
(a) delete recursive_import_test
(b) document better the intent of dummy_compiler_test
I think we should eventually move dummy_compiler_test out of dart2js_extra into our actual unit test suite, and similar to our stacktrace tests, we should invoke d8 directly with it instead.


Fixed D-wave examples breaking when the Advantage_System4 is in a maintenance window

Issue #117: D-Wave examples break during scheduled maintenance windows
Description of changes:
Added branching logic to find the first Advantage device available to these files:

Getting_Devices_and_Checking_Device_Properties.ipynb
Dwave_MinimumVertexCoverProblem.ipynb
Dwave_Anatomy.ipynb
Running_large_problems_using_QBSolv.ipynb

Removed the device ARN when instantiating a D-wave sampler to these files:

Dwave_MaximumCut.ipynb
Dwave_GraphPartitioning.ipynb
Dwave_StructuralImbalance/Dwave_StructuralImbalance.ipynb

Removed unnecessary cells.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Yes @christianbmadsen I'll fix that.

@JuanGiraldo0212 were you able to take a look at the edge cases for online devices. For instance what do you want the behavior of cell 8 of Getting_Devices_and_Checking_Device_Properties.ipynb to be if no devices are ONLINE? Thanks!

@JuanGiraldo0212 I recommend we only try the intended advatage device and then handle the exception and avoid executing the remainder of the example if no advantage device is available.

@JuanGiraldo0212 I recommend we only try the intended advatage device and then handle the exception and avoid executing the remainder of the example if no advantage device is available.

@JuanGiraldo0212 just wanted to checkin and see how you were planning to handle this?

Hi @christianbmadsen, sorry I haven't had chance to finish the issue. I was planning on checking if there is an advantage device available and in the case that there aren't any I would display a message asking to wait until the requested device is online to continue the example.


Bootstrap script is not signed

Describe the bug
When running the bootstrap script, powershell will issue an error saying it cannot be run because the script is not digitally signed
To Reproduce
Clone the repo and try to run the bootstrap script on a machine with execution policy set to remotesigned
Expected behavior
script runs as normal because it is signed
Workaround
Run PS as admin and run "set-executionpolicy unrestricted"

Thanks for the report! If I understand right, this should only affect Windows systems, as PowerShell on non-Windows platforms doesn't use AuthentiCode signing? As an alternative workaround, Unblock-File should remove the zone information from the bootstrap script so that it can run under RemoteSigned and lower polices.


AD through ODE solution

Reposting from Slack at @wsmoses' request...
I’m trying to differentiate through an ODE solution with Enzyme and running into some errors. Basically, I started with the example on this docs page and just tried to Enzyme-ify it like so:
using SciMLSensitivity, OrdinaryDiffEq, Enzyme

function fiip(du, u, p, t)
    du[1] = dx = p[1] * u[1] - p[2] * u[1] * u[2]
    du[2] = dy = -p[3] * u[2] + p[4] * u[1] * u[2]
end
p = [1.5, 1.0, 3.0, 1.0];
u0 = [1.0; 1.0];
prob = ODEProblem(fiip, u0, (0.0, 10.0), p)
sol = solve(prob, Tsit5())
loss(u0, p) = sum(solve(prob, Tsit5(), u0 = u0, p = p, saveat = 0.1))
du = zeros(size(u0))
dp = zeros(size(p))
dp[1] = 1.0
Enzyme.autodiff(Reverse, loss, Active, Duplicated(u0, du), Duplicated(p, dp))

When I initially posted about this on Slack, I was on my desktop in Julia 1.10 and got ERROR: AssertionError: Enzyme Internal Error: did not have sret when expected f=; Function Attrs: alwaysinline mustprogress willreturn with a preposterously long stacktrace that I can pull and attach here when I get back to my desk at work tomorrow.
Interestingly, on my laptop at home on Julia 1.9, when I tried to reproduce this, something different happens (attached to this message because it was still too long to paste in): ODE_Enzyme_Julia19.txt
Here's the full environment...
(@v1.9) pkg> st
Status `~/.julia/environments/v1.9/Project.toml`
  [ac637c84] AbbreviatedStackTraces v0.2.3
  [6e4b80f9] BenchmarkTools v1.5.0
  [acf6eb54] DFTK v0.6.20
⌅ [7da242da] Enzyme v0.11.20
  [f6369f11] ForwardDiff v0.10.36
  [5fb14364] OhMyREPL v0.5.28
⌅ [1dea7af3] OrdinaryDiffEq v6.66.0
  [14b8a8f1] PkgTemplates v0.7.52
  [c3e4b0f8] Pluto v0.19.46
  [295af30f] Revise v3.5.18
⌅ [1ed8b502] SciMLSensitivity v7.51.0
  [b8865327] UnicodePlots v3.6.4
  [1986cc42] Unitful v1.21.0
  [a7773ee8] UnitfulAtomic v1.0.0
  [37e2e46d] LinearAlgebra
Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated`

As I said, I'll grab the output from running this on 1.10 and the associated environment details and add those here tomorrow. LMK if any other info would be helpful in the meantime!

@rkurchin it looks like you're on a really old version of Enzyme, what happens if you use the latest?

Yup, I haven't set up my laptop at home on juliaup yet and it still has 1.9; now I'm back at work here's the output from the same thing on Julia 1.10 (top-line error is ERROR: AssertionError: Enzyme Internal Error: did not have sret when expected): ODE_Enzyme_Julia110.txt
and environment info...
(@v1.10) pkg> st
Status `~/.julia/environments/v1.10/Project.toml`
  [7da242da] Enzyme v0.12.36
  [5fb14364] OhMyREPL v0.5.28
  [1dea7af3] OrdinaryDiffEq v6.89.0
  [14b8a8f1] PkgTemplates v0.7.52
  [295af30f] Revise v3.5.18
  [1ed8b502] SciMLSensitivity v7.67.0
  [1e6cf692] TestEnv v1.102.0

Okay, this should be solved by https://github.com/EnzymeAD/Enzyme.jl/pull/1829
Note that for this to run end to end, you'll probably want to get rid of the type instability as follows:
using SciMLSensitivity, OrdinaryDiffEq, Enzyme

function fiip(du, u, p, t)
    du[1] = dx = p[1] * u[1] - p[2] * u[1] * u[2]
    du[2] = dy = -p[3] * u[2] + p[4] * u[1] * u[2]
end
p = [1.5, 1.0, 3.0, 1.0];
u0 = [1.0; 1.0];
prob = ODEProblem(fiip, u0, (0.0, 10.0), p)
sol = solve(prob, Tsit5())
loss(u0, p, prob) = sum(solve(prob, Tsit5(), u0 = u0, p = p, saveat = 0.1))
du = zeros(size(u0))
dp = zeros(size(p))
dp[1] = 1.0
Enzyme.autodiff(Reverse, loss, Active, Duplicated(u0, du), Duplicated(p, dp), Const(prob))

Also seemignly this gives a nice speedup which is cool:
julia> @btime Zygote.gradient((u0,p)->loss(u0,p,prob), u0, p)
  8.795 ms (51250 allocations: 2.71 MiB)
([-39.49430913141475, -8.63188820376318], [7.349039360098285, -159.3107987785755, 74.93924800431942, -339.3272380777995])

julia> @btime Enzyme.autodiff(Reverse, loss, Active, Duplicated(u0, du), Duplicated(p, dp), Const(prob))
  456.900 μs (2834 allocations: 236.31 KiB)
((nothing, nothing, nothing),)

cc @ChrisRackauckas since integration speedups are always nice

Yeah what was the issue there? I don't quite know what that PR was doing.
Note that this is hitting the adjoint method on the ODE using the overload, so it's not quite "AD through ODE solution". That's  https://github.com/SciML/OrdinaryDiffEq.jl/pull/2282 which still needs https://github.com/SciML/DiffEqBase.jl/pull/1073 but is basically done. I may just solve that today.


docs: :memo: Add information to execute the program as admin

So I realise you have to run the program as admin to register the curseforge protocol (editing registry need admin). At least on windows (idk if it need admin too at another os).

wait, why did I edit it in the master branch. wait a sec


luci-app-bmx7: fix "nothing goes except topology"

nice to see luci-app-bmx7, but nothing goes except the topology sub-page.
here is a fix for all other status pages. modern webbrowsers do convert the $ to %24.
info-page is reloaded too much atm, so i delayed it for two seconds.
it would be nice to make the code even better in future, f.z. parameters in URLs should not contain $.
but i cant find the code where it is been called atm
so, but, this workaround will repair all non-working pages (except Topology) on luci-app-bmx7
Signed-off-by: Ufo<EMAIL_ADDRESS>p.s. do i have to pull-request this for openwrt-1907 repo too? would be a nice small test for opkg upgrade

ping @dangowrt for approving
screenshot with this fix.:

fixing-shell-script for running nodes:
root@mr-loco-sued:/www/cgi-bin#  sed -i -e "s/== '$/== '%24/" /www/cgi-bin/bmx7-info
but doesnt work for me. maybe some baskslaveshes missing?

Sorry I don't have any access to a BMX7 setup.

Seems to work, I deployed the patch on the gateways and the result looks good. I don't have the knowledge to judge whether this fix may break other things or if it is good practise to match against HTML-entities encoded chars, etc.

@FreifunkUFO - thanks for the fix! Can you explain the sleep 2 you added? It seems to be a workaround for a problem?

@jow- yes, its a workaround: the status-page is reloading these infos too fast, i think. i was not able to find the script which calls the reload so i made that sleep.
screenshot without sleep:

The fast reloading problem only occurs for the "Status" tab, which code is here. The view uses TablePooler to reload the interface and it's first argument is the reload interval, currently set to 1 second. Other views use 5 seconds.
I suggest instead of adding the sleep to replace the TablePoller interval in status_j.htm.

fixing-shell-script for running nodes:
sed -i -e "s/==\ \'\\\$/==\ \'%24/" /www/cgi-bin/bmx7-info
see https://github.com/openwrt/luci/pull/4554 for a next try to fiy this bug (a bit better)


Prompt users to make LBRY Browser default for lbry:// links

The Issue
Per https://github.com/lbryio/lbry.io/issues/765, we should prompt users to make LBRY Browser the default for lbry:// links (possibly when they go through email verification or as a hint somewhere in the app startup process).
System Configuration

Device:
Android version:

Anything Else

Screenshots

Handled at device OS level.


Adding new Feature

Hi
Thanks you for the stack and effort
I was thinking it would be nice to have a full blown wysiwyg editor for post and gallery file upload. somthing like a cms for a small blog site.

Good idea, adding to the list ;)

Wyswig ready, without file upload, but can be easily achieved with tiptap ->
https://www.codemzy.com/blog/tiptap-drag-drop-image
working on cms

Added headless cms setup :)


Parameterize code for ignoring bot messages (Enhancement)

I have an idea where i use a webhook to send some data from my website to discord and then aggregate the data with a discord bot. I really want to use the Commando framework, since its pretty cool, but due to the way the Dispatcher class is implemented, my bot will not answer to any webhooks since they are sent from bots. So i am wondering whether it is possible to parameterize this instead of hardcoding it.
Since this is sort of against best practices, it can be implemented differently, for example:
Instead of ignoring bots, we can call a specified method, IF a parameter is set to true. Or a parameter for list of allowed commands that a bot can send to another bot

You can just use your own message listener.

OK sorry i don't have much experience with Commando, i'll read up on the custom message listener. Thanks


Added macOS extensions

Added .rx.action for macOS NSControl and NSButton, ported tests to match on platform.

Hrm tests are "failing" (passing actually but with a compilation warning) because of an issue in InputSubject I didn't introduce -- it was already producing a warning. Will submit a separate PR to fix it

Thanks @fpillet ! Let us know what we can do to assist.

After investigation, it wasn't InputSubject warnings but the fact that I split test files in separate folders for macOS and iOS -- Travis want them suffixed with Tests otherwise it doesn't like it.
This is fixed now. Please merge at your convenience.

+1 On this PR! 👊👊👊

One of the xcoidebuild commands failed with the intermittent Error 65. Since all the tests that ran passed, I'm going to merge. Thanks a lot for your hard work! Would you like to take care of making a release? I've added you as an owner on CocoaPods trunk, but I'm happy to do it :)

@ashfurrow thanks! will make a new release today.


Configure registry protocol for tag_and_push plugin

When using a docker registry that is configured for http only, the tag_and_push plugin will attempt to  query the registry visa https. This is because the registry object param does not contain the URI scheme that is defined in osbs.conf, falling back to https as expected.
BuildRequest.render_tag_and_push_registries should use registry.uri instead of registry.docker_uri.
The workaround is to modify prod_inner.json to hard code registry instead of letting osbs-client dynamically configure tag_and_push plugin. There's no workaround, as hard coding the URI scheme in prod_inner.json will cause the plugin to fail.

A possible solution is to use the "raw" registry value from osbs.conf, http://registry.com/v2. Then modify tag_and_push plugin to use RegistryURI to parse it and use docker_uri and uri as needed.


issue

how to full row editor mode show?

@appasaheb4 sorry, we still don't support this feature so far. I will consider to implement this. Close it due to duplicated issue. thanks

Thanks bro.
On Fri, Mar 15, 2019, 4:52 PM Allen<EMAIL_ADDRESS>wrote:

@appasaheb4 https://github.com/appasaheb4 sorry, we still don't support
this feature so far. I will consider to implement this. Close it due to
duplicated issue. thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/848#issuecomment-473249998,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXlMC2_OQHZIcZkEYZL8JCIVb9YBB6hyks5vW4JdgaJpZM4bs-55
.


My college to add in your repository - my.tccd.edu

Please add my college domain my.tccd.edu in your repository, this domain belongs to Tarrant County College California USA.

@jameswillians I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host my.tccd.com not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!

Man are you dumb..
im requesting to add my.tccd.edu and you are talking about .com extension instead of .edu. Seems you work as drunk.


Move Content-related models into a subdirectory

This change moves the following classes from models into a
models/content subdirectory, with a corresponding Content module:

ContentItem
Group
Link

 Move Content Models into a subdirectory

@andrewgarner they're showing as additions/deletions because the whole file has been nested inside a module - I don't know if there's any way to get around that without doing it in two (unatomic) commits?

@alecgibson yep. I'm just reading through https://cirw.in/blog/constant-lookup.html for ideas. I wonder if maintaining git history is better that an atomic commit in this instance?


How to send a signal when a runtime navmesh is created?

I create a navmesh on a terrain runtime, but the creation spends a long time. Thus, I will get an error if I let the AI appear on the terrain... I want to make a loading scene and it will show everything when the creation of a runtime navmesh is finished. I am using LocalNavMeshBuilder. It seems that the navmesh is created via UpdateNavMesh...

You can modify the code to call NavMeshBuilder.UpdateNavMeshDataAsync(). This method returns an AsyncOperation object that has a completed property to which you can register the event you wanted. An alternative would be to check if this operation isDone every frame.
https://docs.unity3d.com/ScriptReference/AI.NavMeshBuilder.UpdateNavMeshDataAsync.html
https://docs.unity3d.com/ScriptReference/AsyncOperation.html

@turadr I check LocalNavMeshBuilder.cs. It seems to use UpdateNavMeshData() to generate NavMesh, which only returns boolean, while it update NavMesh in runtime using UpdateNavMeshDataAsync().....

LocalNavMeshBuilder has a private member AsyncOperation m_Operation; . You need to modify the code to make it public or write a get accessor for it. Then you can access it in your code to check if the operation is done or to register the event for when it will be completed.

@turadr I mean... It loops UpdateNavMesh(true) in IEnumerator, This is only for updates on NavMesh, so there will be many m_Operation.isDone? However, I only want the signal when the creation of NavMesh is finished... Do I misunderstand IEnumerator? I am new to Unity...... Dose LocalNavMeshBuilder use UpdateNavMesh(false) to create NavMesh and then use UpdateNavMesh(true) to update NavMesh?

The NavMesh is created and instantiated in OnEnable(). It is first updated in that same method when UpdateNavMesh(false) is called. This is a synchronous call, so right after that the NavMesh has been created in its first form. You can write your own mechanism for notifying other systems and call it right there.
After that the NavMesh is continuously updated in case changes occur in the sources. Yes, you'll get m_Operation.isDone equal to true very often, probably every frame if nothing changes in the scene. If you need to know that the NavMeshData has actually changed after a UpdateNavMeshData() or UpdateNavMeshDataAsync() operation is completed then there is no way currently to do that.
I think you can change UpdateNavMesh(false) to UpdateNavMesh(true) and this way m_Operation will allow you to follow the progress of when the NavMesh is updated for the first time (same as saying "it has been created").


[FEATURE REQ] History and Bookmark filters

Is your feature request related to a problem? Please describe.
It's normally overwhelming fetching history data from a browser that is actively used. It would help to have functionality that allowed the data to be filtered along criteria such as domain, time, folder (for bookmarks), and even protocol.
Describe the solution you'd like
A way to filter and access filtered data programmatically as well as CLI options for specifying filters. A good option would be -F/--filter since -f is already taken.
Additional context
I understand there's already sorting functionality available but even that is not exposed through the CLI.

This is a good idea, but I feel this will make the API much more complex. For domains we will need to search for the query in every URL, for time we need to support various queries (before, after a specific time; in a given day, month, year; etc.).
Since we already allow the data to be exported in various formats, other tools which are better suited for this job can be used. For example, pandas has a nice API for filtering data and can be used with CSV exported history/bookmarks.

One issue that I've been thinking of raising here was that the current API of browser-history might be too overwhelming for users who only want the history/bookmarks. For example, every browser has 10+ exposed functions of which only 2 (fetch_history and fetch_bookmarks) are usually required. (I realised this after watching Scott Meyers' "The Most Important Design Guideline" talk)

This is a good idea, but I feel this will make the API much more complex. For domains we will need to search for the query in every URL, for time we need to support various queries (before, after a specific time; in a given day, month, year; etc.).
Since we already allow the data to be exported in various formats, other tools which are better suited for this job can be used. For example, pandas has a nice API for filtering data and can be used with CSV exported history/bookmarks.

One issue that I've been thinking of raising here was that the current API of browser-history might be too overwhelming for users who only want the history/bookmarks. For example, every browser has 10+ exposed functions of which only 2 (fetch_history and fetch_bookmarks) are usually required. (I realised this after watching Scott Meyers' "The Most Important Design Guideline" talk)

Yeah, listened to the lecture and saw the same. Most of those functions are implementation details and can be made private. But that is a breaking change.  Also, most of the filter functionality would go to the output object unless you want to filter directly using the SQL query

Yeah, listened to the lecture and saw the same. Most of those functions are implementation details and can be made private. But that is a breaking change.  Also, most of the filter functionality would go to the output object unless you want to filter directly using the SQL query

Yeah, listened to the lecture and saw the same. Most of those functions are implementation details and can be made private. But that is a breaking change.

Yes, it shouldn't be a major breaking change since those functions are not supposed to be used directly anyway. Also we do not have a stable 1.0 API yet, so it should be ok.

Also, most of the filter functionality would go to the output object unless you want to filter directly using the SQL query

Oh right. That seems like a good idea, but we still have to take care of the filter language/format, etc.

Yeah, listened to the lecture and saw the same. Most of those functions are implementation details and can be made private. But that is a breaking change.

Yes, it shouldn't be a major breaking change since those functions are not supposed to be used directly anyway. Also we do not have a stable 1.0 API yet, so it should be ok.

Also, most of the filter functionality would go to the output object unless you want to filter directly using the SQL query

Oh right. That seems like a good idea, but we still have to take care of the filter language/format, etc.

Oh right. That seems like a good idea, but we still have to take care of the filter language/format, etc.

For history we can have filters for:

domain
timestamp (year, day, day of week, month filters among others)
keyword
protocol

As for the CLI filter format I haven't thought of anything yet. Maybe something like "year=2020&protocol=http&keyword=python" or "year=2020,protocol=http,keyword=python" passed through the --filter option

Oh right. That seems like a good idea, but we still have to take care of the filter language/format, etc.

For history we can have filters for:

domain
timestamp (year, day, day of week, month filters among others)
keyword
protocol

As for the CLI filter format I haven't thought of anything yet. Maybe something like "year=2020&protocol=http&keyword=python" or "year=2020,protocol=http,keyword=python" passed through the --filter option

For history we can have filters for:
* domain

* timestamp (year, day, day of week, month filters among others)

* keyword

* protocol

As for the CLI filter format I haven't thought of anything yet. Maybe something like "year=2020&protocol=http&keyword=python" or "year=2020,protocol=http,keyword=python" passed through the --filter option

That latter format ( "year=2020,protocol=http,keyword=python") seems quite good. I thought we'd need to also handle other relational operators (>, <, <= and something like 2015<year<2020), but this seems sufficient.
Those can be arguments to a filter function in Outputs which can be called from the CLI.

For history we can have filters for:
* domain

* timestamp (year, day, day of week, month filters among others)

* keyword

* protocol

As for the CLI filter format I haven't thought of anything yet. Maybe something like "year=2020&protocol=http&keyword=python" or "year=2020,protocol=http,keyword=python" passed through the --filter option

That latter format ( "year=2020,protocol=http,keyword=python") seems quite good. I thought we'd need to also handle other relational operators (>, <, <= and something like 2015<year<2020), but this seems sufficient.
Those can be arguments to a filter function in Outputs which can be called from the CLI.

I thought we'd need to also handle other relational operators (>, <, <= and something like 2015<year<2020), but this seems sufficient.

I had not thought of this. Relational operators are very necessary for numeric filters. We should include them. Parsing this shouldn't be too hard.

I thought we'd need to also handle other relational operators (>, <, <= and something like 2015<year<2020), but this seems sufficient.

I had not thought of this. Relational operators are very necessary for numeric filters. We should include them. Parsing this shouldn't be too hard.

I had not thought of this. Relational operators are very necessary for numeric filters. We should include them. Parsing this shouldn't be too hard.

Right, the basic operators shouldn't be too difficult.

I had not thought of this. Relational operators are very necessary for numeric filters. We should include them. Parsing this shouldn't be too hard.

Right, the basic operators shouldn't be too difficult.


DraggablePanel 不支持 maxWidth，拖拽面板能超出容器范围

thanks
https://github.com/ant-design/pro-editor/pull/115

released by 0.30.0


[Bug] deny-exec-by-pod-name policy not working

Kyverno Version
1.10.x
Kubernetes Version
1.27.x
Kubernetes Platform
EKS
Description
I aws trying to deny pod exec for some ClusterRole, without results. I ended up with trying the policy given here with a little modification in the deny condition value
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: deny-exec-by-pod-name
  annotations:
    policies.kyverno.io/title: Block Pod Exec by Pod Name
    policies.kyverno.io/category: Sample
    policies.kyverno.io/minversion: 1.6.0
    policies.kyverno.io/subject: Pod
spec:
  validationFailureAction: enforce
  background: false
  rules:
  - name: deny-exec-redis
    match:
      any:
      - resources:
          kinds:
          - Pod/exec
    preconditions:
      all:
      - key: "{{ request.operation || 'BACKGROUND' }}"
        operator: Equals
        value: CONNECT
    validate:
      message: Exec'ing into Pods called "redis-*" is not allowed.
      deny:
        conditions:
          all:
          - key: "{{ request.name }}"
            operator: Equals
            value: redis-*

Just to be sure it was related to the policy itselft, and not something else, i tested another policy, which works perfectly fine
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: restrict-non-admin-access
spec:
  background: false
  rules:
  - name: protect-critical-namespaces
    match:
      all:
      - clusterRoles:
        - dev
        resources:
          kinds:
          - "*"
          namespaces:
          - ns1
          - ns2
    validate:
      deny:
        conditions:
        - key: '{{request.operation}}'
          operator: AnyIn
          value:
          - DELETE
          - UPDATE
          - CREATE
          - CONNECT
      message: 'The operation {{request.operation}} in {{request.namespace}}
        is not allowed with one of your following ClusterRoles : {{request.clusterRoles}}. '
  validationFailureAction: Enforce

I tried the deny-exec-by-pod-name policy with system:masters and non system:masters users
I used helm to install Kyverno : helm install kyverno kyverno/kyverno -f kyverno.yaml --version 3.0.4 -n kyverno
I tested different values file content.
This one, since i use EKS and Cilium CNI
admissionController:
  hostNetwork: true
  dnsPolicy: ClusterFirstWithHostNet
backgroundController:
  hostNetwork: true
  dnsPolicy: ClusterFirstWithHostNet
cleanupController:
  hostNetwork: true
  dnsPolicy: ClusterFirstWithHostNet
reportsController:
  hostNetwork: true
  dnsPolicy: ClusterFirstWithHostNet

config:
  webhooks:
    # Exclude objects from scope
    - objectSelector:
        matchExpressions:
          - key: webhooks.kyverno.io/exclude
            operator:

And this one, just in case something above was wrong
config:
  webhooks:
    # Exclude objects from scope
    - objectSelector:
        matchExpressions:
          - key: webhooks.kyverno.io/exclude
            operator:

Steps to reproduce

Apply policy https://kyverno.io/policies/other/b-d/block-pod-exec-by-pod-name/block-pod-exec-by-pod-name/
Try to exec into a protected pod.

Expected behavior
kubectl exec ... denied, at least with the unprivileged user.
Screenshots
No response
Kyverno logs
No response
Slack discussion
No response
Troubleshooting

[X] I have read and followed the documentation AND the troubleshooting guide.
[X] I have searched other issues in this repository and mine is not recorded.

Must be something on your end. I just tested this with 1.10.3 and the policy works without modification. My exec (as a cluster-admin) into a pod redis-foo was blocked while pod busybox was not.


add first blog entry

https://github.com/microsoft/jacdac-docs/pull/200

Add date to blog

figure out how to crosspost to medium

incorporate videos


Metrics in scheduler v3 leaks when pd cluster is down

What did you do?
Running TiDB cluster with single PD node. Metrics in scheduler v3 leaks when pd cluster is down.
What did you expect to see?
No metrics leaks.
What did you see instead?
Metrics leaks

by (changefeed)
by (changefeed, instance)

Versions of the cluster
Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):
TiCDC version (execute cdc version):
v6.{2,3,4}.0

Close it since it's stale.


invalid_client with service account

Google.Ads.GoogleAds v4.0.0
Net Core 3.1
win10-x64
Actions taken
            var client = new GoogleAdsClient(new GoogleAdsConfig             {                 DeveloperToken = DeveloperToken,                 OAuth2Mode = OAuth2Flow.SERVICE_ACCOUNT,                 OAuth2SecretsJsonPath = Path.Combine(Directory.GetCurrentDirectory(), "responsive-hall-284114-1d4e3cda539a.json"),                 OAuth2PrnEmail = AdWordsAccountEmail             });
Expected result
Works properly as Google.AdWords with identical config
Actual result
Error:"invalid_client", Description:"The OAuth client was not found.", Uri:""

I have the same issue

Same here.

@keeblebogdan   No. Finally we have agreed with the manager to use regular accounts

That's strange, I am pretty sure this got fixed in 4.0.0. Could you send me a way to replicate this issue by mailing a json file and account email to<EMAIL_ADDRESS>Please address the email to Attn:Anash so it reaches me.

The issue has been identified and is fixed in the upcoming V5 release.

The issue has been identified and is fixed in the upcoming V5 release.

Thank you!

This is now fixed. Please reopen if you see it recurring.