Segmentation violation at global routing resizer timing optimizations

Description
Hello, I'm using the gfmpw-1b tagged version of the caravel-user-project to harden my macro. I got these crash errors in the Global Routing Resizer Timing Optimizations step:
[STEP 20]
[INFO]: Running Global Routing Resizer Timing Optimizations (log: ../home/yunus/caravel_user_project/openlane/fpga_core/runs/23_11_07_16_58/logs/routing/20-resizer_timing.log)...
[ERROR]: during executing openroad script /openlane/scripts/openroad/resizer_routing_timing.tcl
[ERROR]: Log: ../home/yunus/caravel_user_project/openlane/fpga_core/runs/23_11_07_16_58/logs/routing/20-resizer_timing.log
[ERROR]: Last 10 lines:
36# 0x00007F6BFADE2F1E in /lib64/libtcl8.5.so
37# Tcl_EvalEx in /lib64/libtcl8.5.so
38# Tcl_Eval in /lib64/libtcl8.5.so
39# sta::sourceTclFile(char const*, bool, bool, Tcl_Interp*) in openroad
40# ord::tclAppInit(Tcl_Interp*) in openroad
41# Tcl_Main in /lib64/libtcl8.5.so
42# main in openroad
43# __libc_start_main in /lib64/libc.so.6
44# 0x0000000000D3DC77 in openroad
child killed: segmentation violation
[ERROR]: Creating issue reproducible...

Also, issue-survey failed to recognize gf180mcu. What should I do?
Expected Behavior
I was expecting to finish the flow without errors.
Environment report
Kernel: Linux v6.2.0-36-generic
Distribution: ubuntu 22.04
Python: v3.10.12 (OK)
Container Engine: docker v24.0.7 (OK)
OpenLane Git Version: 7ea7a2aeef4bea5445d133c26ca2b3e9f0d0c78f
pip: INSTALLED
python-venv: INSTALLED
---
PDK Version Verification Status: FAILED
/home/yunus/caravel_user_project/dependencies/openlane_src/pdks/sky130A not found.
Traceback (most recent call last):
  File "/home/yunus/caravel_user_project/dependencies/openlane_src/dependencies/verify_versions.py", line 75, in verify_versions
    raise Exception(f"{pdk_dir} not found.")
Exception: /home/yunus/caravel_user_project/dependencies/openlane_src/pdks/sky130A not found.

Failed to verify sky130A.
---
Git Log (Last 3 Commits)

7ea7a2a 2023-10-15T17:01:59+03:00 Fix `FP_PIN_ORDER_CFG` being overriden (#2017) - Kareem Farid -  (grafted, HEAD, tag: 2023.10.16)
---
Git Remotes

origin	https://github.com/The-OpenROAD-Project/OpenLane (fetch)
origin	https://github.com/The-OpenROAD-Project/OpenLane (push)

Reproduction material
issue_reproducible.zip
Relevant log output
[STEP 20]
[INFO]: Running Global Routing Resizer Timing Optimizations (log: ../home/yunus/caravel_user_project/openlane/fpga_core/runs/23_11_07_16_58/logs/routing/20-resizer_timing.log)...
[ERROR]: during executing openroad script /openlane/scripts/openroad/resizer_routing_timing.tcl
[ERROR]: Log: ../home/yunus/caravel_user_project/openlane/fpga_core/runs/23_11_07_16_58/logs/routing/20-resizer_timing.log
[ERROR]: Last 10 lines:
36# 0x00007F6BFADE2F1E in /lib64/libtcl8.5.so
37# Tcl_EvalEx in /lib64/libtcl8.5.so
38# Tcl_Eval in /lib64/libtcl8.5.so
39# sta::sourceTclFile(char const*, bool, bool, Tcl_Interp*) in openroad
40# ord::tclAppInit(Tcl_Interp*) in openroad
41# Tcl_Main in /lib64/libtcl8.5.so
42# main in openroad
43# __libc_start_main in /lib64/libc.so.6
44# 0x0000000000D3DC77 in openroad
child killed: segmentation violation
[ERROR]: Creating issue reproducible...

No worries about the issue survey, that's fine.
I'm gonna forward this issue to the OpenROAD team to see if they may have a workaround.

Would you kindly file a new issue? @yunuseryilmaz18


<IP_ADDRESS> Extra API Bits

Only put this in if it works...

Needs to be tested to confirm the controller changes work


Fail to link react-native-image-picker

I Integrated React Native into an original android project,and using<EMAIL_ADDRESS>on it. When i carry out 'react-native link', the terminal return 'Scanning 438 folders for symlinks in /Users/densakai/Documents/ESPWorkspace/node_modules (3ms)'. How can i solve it?

@Style-Tender  tried to remove key peerDependencies from node_modules/react-native-image-picker/package.json.

@rusfearuth thank you so much,I remove key 'peerDependencies'from node_modules/react-native-image-picker/package.json,but it does't work seemingly.

@Style-Tender Could you give me some logs from react-native link?

@rusfearuth  Here is the logs in my  terminal
tianyudeMacBook-Air:ESPWorkspace densakai$ npm install react-native-image-picker@latest --save
<EMAIL_ADDRESS>/Users/densakai/Documents/ESPWorkspace
└──<EMAIL_ADDRESS>
npm WARN<EMAIL_ADDRESS>No repository field.
tianyudeMacBook-Air:ESPWorkspace densakai$ react-native link
Scanning 438 folders for symlinks in /Users/densakai/Documents/ESPWorkspace/node_modules (3ms)
tianyudeMacBook-Air:ESPWorkspace densakai$

@Style-Tender apart from the string that it is outputting, was the link successful? It's likely nothing to worry about if it works regardless..

@marcshilling May be it has linked successfully. Because that I Integrated React Native into an original android project,and my Activity extends Activity implements DefaultHardwareBackBtnHandler,I add the import com.imagepicker.permissions.OnImagePickerPermissionsCallback and com.facebook.react.modules.core.PermissionListener,then add the implements OnImagePickerPermissionsCallback,finally add the code
@Override
    public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults)
    {
        if (listener != null)
        {
            listener.onRequestPermissionsResult(requestCode, permissions, grantResults);
        }
        super.onRequestPermissionsResult(requestCode, permissions, grantResults);
    }

    @Override
    public void setPermissionListener(PermissionListener listener) {;
        this.listener = listener;
    }

To here, my problem is comming. It can run into the album, but after i click a picture,the js can not get a result.

@Style-Tender Hm.. It I understand right, you added React Native to exist native project. Right?

@rusfearuth Yes.

I have solved the problem. Thanks everyone!

I am facing with the same issue. How did you solved it?


Tests run twice on windows

I'm new to developing on windows, so I'm unsure if this is particularly windows related, or what, but I am seeing tests run twice on every save of a test file.
Windows 10, ConEmu + cmd.exe, Atom, Elixir 1.4.4, Phoenix 1.3.0pre2 (brand new app).
set MIX_ENV=test

> iex -S mix
Eshell V8.3  (abort with ^G)
Interactive Elixir (1.4.4) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> .iex(1)>

### A SINGLE SAVE of test/myapp/web/controllers/page_controller_test.exs

iex(1)> Finished in 0.06 seconds
iex(1)> 1 test, 0 failures
iex(1)>
Randomized with seed 278000
iex(1)> .iex(1)>

iex(1)> Finished in 0.00 seconds
iex(1)> 1 test, 0 failures
iex(1)>
Randomized with seed 396000

Confirmed here on Windows 10 as well, 2 tests are being run.  It looks like a debounce should probably be done on some file listener I'd guess.

Thanks for the confirmation.
This is likely a bug with exfswatch which is what Cortex uses for file watching. I'd suggest an issue be opened there / perhaps a PR submitted for the debouncing mentioned.

I'd suggest an issue be opened there / perhaps a PR submitted for the debouncing mentioned.

I'm not sure the debouncing should exist in it, it should just report the events.  Windows submits more events due to the way that NTFS works and sometimes each is useful in its own way.

I'm getting the same issue for an umbrella project on osx.

@jeffdeville that's quite peculiar. Our primary env for Cortex is an umbrella project on OSX machines. Did you debug any further? Any insights you could share?

Yeah, it's only on 1 of my projects that this has been happening.  I'll keep an eye on it and try and get more info for you.

@rschmukler Ok, working on the affected project.  When cortex triggers the run of a test, it runs all of the test twice, but it does so in an unexpected manner:
If I run a test with just mix test PATH, it'll execute 10 tests.  But when cortex runs the same file, exunit tells me it has executed 20 tests.
I dropped some logging in the test_runner.ex just to see what files are being loaded, and it all looks normal.
:run_tests_for_file - /PATH/apps/search/test/lib/repo_test.exs
Files Loaded: ["test/test_helper.exs", "/PATH/apps/search/test/lib/repo_test.exs"]
So in my case, I think the problem is somewhere in here:
task = Task.async(ExUnit, :run, [])
ExUnit.Server.cases_loaded()

Does that help?

@jeffdeville I suspect that this will be fixed by #21. Can you let us know (once it lands) if it is resolved?

On Win10 with
{:cortex, "~> 0.4.2", only: [:dev, :test]}
my tests run x4.
Any thoughts? Anything I can help with?

my tests run x4.

I even get this on linux now that I'm deving exclusively there now too...  >.>

@OvermindDL1 I'm on Linux too, so I feel the pain. I haven't had the proper time in the last couple of months to finish up #21, but am hoping to get around to it over the holidays


Query return not meaningful results with success status when "replicant = 1" when segments are missing

Please provide a detailed title (e.g. "Broker crashes when using TopN query with Bound filter" instead of just "Broker crashes").
Affected Version
0.23
Description
Please include as much detailed information about the problem as possible.

Cluster size
Configurations in use
Steps to reproduce the problem
The error message or stack traces encountered. Providing more context, such as nearby log messages or even entire logs, can be helpful.
Any debugging that you have already done

The details are discussed here with @sergioferragut.  Basically, a query using simple quantile scanning table (data source) would return NaN as 95th percentile and finished in several millisecond; for the 1st time and 2nd time. Waiting for several minutes and query again, it would return in 10 sec with more meaningful result.
The broker, one historical and finally the coordinator logs are all examined it. It seems this issue happened when 'replicant = 1' and one historical node were lost. And this triggered segment moving across the board. This like trigger NaN query issue.

1 broker and 100 historical

I will do a little bit more test to reproduce this issue when I have time.
Ideally we should try to enhance the query to at least return something like no segment are available or how many segment get queries etc.


delete lazy [pr]

aiming to delete lazy.py while:

no change to lazy.py users (tensor, multi, etc).
pass scheduler process replay. Big graph is identical.

status: test_tiny_add passes!
I'm still exploring the options for keeping track of realized uops. I think understanding these uop lifetimes is th linee key to getting this green and merged.
The direction is to make the green diff in ops.py as minimal as possible, methods coming from lazy.py will be one liners, with the actual folding / if else stuff becoming UPats in init_big_graph.

status: test_tiny_add passes!
I'm still exploring the options for keeping track of realized uops. I think understanding these uop lifetimes is the key to getting this green and merged.
The direction is to make the green diff in ops.py as minimal as possible, methods coming from lazy.py will be one liners, with the actual folding / if else stuff becoming UPats in init_big_graph.

schedule is playing nice so far, I need to find a way to .substitude in BFS order:
The ADD is real:

I've been looking into exactly that. See https://github.com/tinygrad/tinygrad/commit/144e9f00dfa2c4016f82422570781263c59fbd7e#diff-88cfb30e18dbaf87a4f5cd9031cd6d72d7e332ac9dcc1e527059b042106bcd1fR261

uop VIEW must match lazy's version

The direction is more clear, I'll let the scheduler (re)create the big graph.
big_graph = UOp.sink(*outs) is making it harder to make progress on the primary goal.

yay! This diff is much easier to work with.
Now we have real failing tests showing bugs in UOp.view, contiguous and missing ALU folding stuff. I'll work toward making this match lazy.

yay so many test_tinys passing! The swizzle work today really helped with this diff. more problems:

jit broken - don't know why yet
test_abs broken trying to access device on CONST
test_image broken, "make things that can't be images not images" trying to access buffer of unrealized mul
contiguous forced_realize needs work

test_ops: 66 failed, 269 passed
all of them related to CONST.

fixed all the const stuff. no DEVICECONST, just early VIEW normal CONST. late rewrite to VALID.
10 failing test_ops left, all related to forced_realize i think.

9 test_ops left.

7, left,
CONST ended up being much simpler, it's consistent with how we already think about CONST in master.
Very happy with these folding rules. big_graph = UOp(Ops.NOOP) folding in #7940 makes BUFFER stuff easy.

the memory planner fix is terrible, but it hints to a future direction.
Buffer on ScheduleItem will be gone. ScheduleItem can be just a UOp container, we'll get the buffers later in realize.

So the JIT is fine?

no JIT is still weird, see test_tiny.
I added some always_on tests to show the new behavior.

Btw, the test_ops thing is weird. I think it's (method) cache related, the tests don't fail standalone

Also, I would split this into required vs optimizations

planning to merge

patterns in ops_folding (diff will look like #7940, red lazy green schedule upat)
buffer_num = itertools.count(0)
ofc every ops method I use in those diffs will be merged with that too.

I'm targeting correctness first (test_ops). Kernel asserts if I don't do some zero folding on REDUCE_AXIS early, maybe it shouldn't.

The JIT doesn't look broken, it was just sort of a bad test

Moving const reduce simplify here https://github.com/tinygrad/tinygrad/pull/7979

207 down to 166 with weakrefs

JIT looks fixed.
Last blocker on correctness is #8000.
working on const folding now!

getting greener,
left:

[ ] permuted assignment
[ ] const folding
[ ] contiguous folding
[ ] missing fxns, eg .clone?

only the OOM stuff left, I know we said GC is optimization not correctness.
But looks like it's blocking the merge.

so the rest of the correctness failures come down to figuring out what datastrcture / reference makes sense for these 3:
.

There's failures in WebGPU that don't look like OOM

There's failures in WebGPU that don't look like OOM.
padto failures in AMD?

It was because of the weakref change to raw dict, the JIT expects ASTs to rerun when it changes realized input bufs, so using Dict to keep track of lazydata -> realized uop isn't correct.
compile3 is pickling realized buffers. In LazyBuffer = UOp there's no .buffer in UOp, if you pickle a UOp it won't pickle the realized Buffer.
Do you wanna keep the support for pickling realized buffers? I'd try something like check the realized dict and on reduce an on unpickle, append again.

The WeakKeyDict solves some of the GC problems but there are weird cases where the BUFFER uop is preventing Buffer gc.

Yes, you have to be able to pickle realized buffers, and you can put that logic in Buffer reduce
Why are all the tests non even finishing? If it's GC, is there a small set you can disable to make them pass? I don't want tests that use tons of memory anyway

re: tests, I'm running them in a sequence to see where they fail. It's around here
https://github.com/tinygrad/tinygrad/actions/runs/12223389081/job/34094864928#step:15:93. finding that set.

skip set: https://github.com/tinygrad/tinygrad/pull/7801/commits/f01e3592330ea5f9f0efa3be101fc9386426f4d3

Correctness is green.
For feature completeness, It needs captured JIT pickling back. The compile3.py diff won't exist after it's fixed.
For speed, it needs Buffer freeing and GC, benchmarks getting OOM: https://github.com/tinygrad/tinygrad/actions/runs/12224022775/job/34096257776.

and you can put that logic in Buffer __reduce__

I don't think so, Buffer __reduce__ never gets called when pickling lazydata, it doesn't live on UOp.
This diff solves pickle feature completeness:

Moving to weakref experiments now.

and you can put that logic in Buffer __reduce__

I don't think so, pickle.dumps lazydata doesn't call Buffer __reduce__. Buffer doesn't live on the uop.
This diff solves pickle feature completeness:

The GC problems are fundamentally because in master, we del srcs after scheduling.
This diff doesn't do it yet.
See how EMPTY is gone early, vs kept around until exit.

Otherwise the maps from UOp to Buffer are working as expected, Buffer frees as soon as UOp deletes.

So the solution is to override the tensor's lazydata in the scheduler. quick prototype:
a = Tensor([1, 2, 3, 4]).realize()
a.lazydata = UOp(Ops.VIEW, a.lazydata.dtype, (buf_uop:=realized[a.lazydata],), unwrap(a.lazydata.st))
realized[a.lazydata] = buf_uop
print(a)
assert tuple(a.tolist()) == (1, 2, 3, 4)

test skips:

optimization:
** ALLOWED_KERNEL_COUNT=256 ALLOWED_GATED_READ_IMAGE=47
** with CLCache(24): in external_test_opt
** Test*OpsConstFolding
** @unittest.skip("split_reduceop isn't supported")
required features
** TestTensorMetadata
bugs?
** with self.assertRaises(AssertionError, msg="indexing folding no longer supported"):
** @unittest.skipIf(Device.DEFAULT=="CLANG" and CI, "fails on clang CI")
** @unittest.skipIf(CI, "fails in CI after delete_lazy")
** all of test_schedule
GC
** TestRealWorld, TestTrain, TestSpeed, TestWinograd, TestLrScheduler
** test_schedule_gc, test_schedule_gc_with_inputs
** test_lru_alloc, @unittest.skip("TODO: why does this fail in CI")
fine
** @unittest.skip("forced_realize isn't supported")
unknown
** test_sharded_memory
** TestMoveTensor
** test_multi_input_model_export

re: bugs

sorry that test_indexing expectedFailure was untasteful, #8133

These pass locally and on tinybox, I'll try a github actions docker next

@unittest.skipIf(Device.DEFAULT=="CLANG" and CI, "fails on clang CI")
@unittest.skipIf(CI, "fails in CI after delete_lazy")

it's red now because before some buf_uops that ended up folding didn't get deleted from the ctx.
#8155 revealed this.
https://github.com/tinygrad/tinygrad/pull/8151 is finalizing the buffer merging changes, that should make this green.


Initial full-functionality minimal MDNS

Problem
Need a mimimal MDNS client/server that can process PTR, A, AAAA, TXT and SRV records.
Summary of Changes
Initial client and server example implementations done.
This contains many more unit tests (although still not 100% coverage), an example client and server, a README.md with brief instructions.
Tested the example server with dns-sd:
andrei@Andreis-Mac-mini ~ % dns-sd -L chip-mdns-demo _chip._tcp
Lookup chip-mdns-demo._chip._tcp.local
DATE: ---Tue 24 Nov 2020---
 9:43:29.482  ...STARTING...
 9:43:29.577  chip-mdns-demo._chip._tcp.local. can be reached at chip-mdns-demo.local.:11097 (interface 4)
 D0840=yes VP=123+456 PH=3 PI=Hold\ power\ button\ for\ 5\ seconds
^C

andrei@Andreis-Mac-mini ~ % dns-sd -Gv6 chip-mdns-demo.local
DATE: ---Tue 24 Nov 2020---
 9:43:40.347  ...STARTING...
Timestamp     A/R    Flags if Hostname                               Address                                      TTL
 9:43:40.527  Add        3  4 chip-mdns-demo.local.                  FE80:0000:0000:0000:0224:32FF:FE19:359B%en0  30
 9:43:40.527  Add        2  4 chip-mdns-demo.local.                  <IP_ADDRESS>                                   30
^C

andrei@Andreis-Mac-mini ~ % dns-sd -B _chip._udp
Browsing for _chip._udp
DATE: ---Tue 24 Nov 2020---
 9:45:42.911  ...STARTING...
Timestamp     A/R    Flags  if Domain               Service Type         Instance Name
 9:45:42.912  Add        2   4 local.               _chip._udp.          chip-mdns-demo
^C

Dig also works now:
❯ dig +noedns -p 5353 @<IP_ADDRESS> chip-mdns-demo.local

; <<>> DiG 9.16.6-Debian <<>> +noedns -p 5353 @<IP_ADDRESS> chip-mdns-demo.local
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29725
;; flags: qr; QUERY: 0, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; ANSWER SECTION:
chip-mdns-demo.local.   30      IN      A       <IP_ADDRESS>

;; Query time: 0 msec
;; SERVER: <IP_ADDRESS>#5353(<IP_ADDRESS>)
;; WHEN: Tue Nov 24 14:55:19 EST 2020
;; MSG SIZE  rcvd: 48


it() done documentation?

Hi!
Today I was in a dire need of a fail() function to fail my tests and after looking through documentation and examples, I remembered there was this it('', (done) => {...}) thing, in a time where Promises were not yet popular :-)
I realized that done is not only a function, but also has a done.fail(), which is super valuable for cases like
try {
  await fnWhichShouldFail();
  done.fail();
} catch(e) {
  expect(e.message).toBe('some failure');
}

For async function flows or chained promises with a catch, I didn't find a clean way to prevent undetected errors for erroneous testing code (if I hadn't had the done.fail() in the example above, a test would run through green, if fnWhichShouldFail() was mocked wrongly and doesn't throw.
So my question is: Is there any reason why there is no documentation about that? Or do you have plans for a better API replacement?

Note jest uses jasmine and the jasmine docs say this: https://jasmine.github.io/2.5/introduction.html#section-58

Yeah, for now we rely on the Jasmine docs for this. We'll document it at some point when we have something new. If you'd like to document the done syntax on the Jest website, please send us a PR :)


Best approach for high frequency streaming data?

Would love to have some suggestions for <=50ms frequency updates of sequential coordinate data (e.g. { x: 100, y: 200}). The data is not really mutable in that values change but values are often deleted.
Lists are nice to work with because of the added and deleted events but the extra step to fetch records feels painful on high latency connections. I understand lists are meant to store record names but can it just store small serialized data instead?
Modifying a collection in a record is unattractive because the application is resource intensive already and I'm afraid deepstream constantly doing deep comparisons on some very large collections will be too costly for slower devices. Also, is there any way to just directly receive the new data from a record subscription without having to select the new value from the whole subscription path? Like if I have an array that had an item pushed, I want to just receive that new item in my callback without finding it in the whole array.
I imagine pub/sub is fine performance-wise but if I can I'd rather not have to build my own syncing and persistence on top of pub/sub.

Not sure why we didn't answer this, I'm sorry.
Generally the recommended approach would probably be to use small records and updates. If the record names are not random unique identifiers you can just request them directly.
So if you were userA (your unique name) your record name would be something like coords/userA.
That way you only subscribe and get the data you care about. If you don't know the records you want to request you'll have to request the list, because you need a way to reference the things to request.


ERROR in Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): TypeError: Cannot read property 'replace' of undefined

🐞 Bug report
Command (mark with an x)

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

Description
I am working on a project using Angular CLI v9.1.5 and Tailwind CSS v1.4.6. Tailwind CSS requires me to use PostCSS for compilation.
However, I am unable to compile the app while running ng serve. The mini-css-extract-plugin throws the error provided below.
If you wish to see the Webpack config of my app, see this StackOverflow link:
https://stackoverflow.com/questions/61693217/angular-9-with-tailwind-css-postcss-scss-and-minicssextractplugin-not-compilin
The minimum reproduction repo:
https://github.com/ashwingairola/angular-postcss-mini-css-extract-plugin-error-repro
webpack.config.js
const MiniCssExtractPlugin = require("mini-css-extract-plugin");

module.exports = {
  module: {
    rules: [
      {
        test: /\.scss$/,
        use: [
          MiniCssExtractPlugin.loader,
          {
            loader: "css-loader",
            options: {
              importLoaders: 2,
              sourceMap: true,
            },
          },
          {
            loader: "postcss-loader",
            options: {
              ident: "postcss",
              syntax: "postcss-scss",
              plugins: () => [
                require("postcss-import"),
                require("tailwindcss"),
                require("autoprefixer"),
              ],
              sourceMap: true,
            },
          },
          {
            loader: "sass-loader",
            options: {
              sourceMap: true,
            },
          },
        ],
      },
    ],
  },
  plugins: [
    new MiniCssExtractPlugin({
      filename: "[name].[contenthash].css",
      chunkFilename: "[id].[contenthash].css",
    }),
  ],
};

package.json
{
  "name": "mini-css-extract-plugin-error-repro",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~9.1.0",
    "@angular/common": "~9.1.0",
    "@angular/compiler": "~9.1.0",
    "@angular/core": "~9.1.0",
    "@angular/forms": "~9.1.0",
    "@angular/platform-browser": "~9.1.0",
    "@angular/platform-browser-dynamic": "~9.1.0",
    "@angular/router": "~9.1.0",
    "rxjs": "~6.5.4",
    "tailwindcss": "^1.4.6",
    "tslib": "^1.10.0",
    "zone.js": "~0.10.2"
  },
  "devDependencies": {
    "@angular-builders/custom-webpack": "^9.1.0",
    "@angular-devkit/build-angular": "~0.901.0",
    "@angular/cli": "~9.1.0",
    "@angular/compiler-cli": "~9.1.0",
    "@angular/language-service": "~9.1.0",
    "@types/jasmine": "~3.5.0",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "^12.11.1",
    "autoprefixer": "^9.7.6",
    "codelyzer": "^5.1.2",
    "css-loader": "^3.5.3",
    "jasmine-core": "~3.5.0",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~4.4.1",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage-istanbul-reporter": "~2.1.0",
    "karma-jasmine": "~3.0.1",
    "karma-jasmine-html-reporter": "^1.4.2",
    "mini-css-extract-plugin": "^0.9.0",
    "postcss-import": "^12.0.1",
    "postcss-loader": "^3.0.0",
    "postcss-scss": "^2.0.0",
    "protractor": "~5.4.3",
    "sass-loader": "^8.0.2",
    "ts-node": "~8.3.0",
    "tslint": "~6.1.0",
    "typescript": "~3.8.3"
  }
}

🔬 Minimal Reproduction
Just run ng serve. The Webpack and Angular configs are already in place.
🔥 Exception or Error
The error I am getting on ng serve is as follows:
ERROR in Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
TypeError: Cannot read property 'replace' of undefined
    at normalizeBackSlashDirection (F:\Workspace\mini-css-extract-plugin-error-repro\node_modules\webpack\lib\RequestShortener.js:16:17)
    at new RequestShortener (F:\Workspace\mini-css-extract-plugin-error-repro\node_modules\webpack\lib\RequestShortener.js:26:15)
    at new Compiler (F:\Workspace\mini-css-extract-plugin-error-repro\node_modules\webpack\lib\Compiler.js:195:27)
    at Compiler.createChildCompiler (F:\Workspace\mini-css-extract-plugin-error-repro\node_modules\webpack\lib\Compiler.js:558:25)
    at Compilation.createChildCompiler (F:\Workspace\mini-css-extract-plugin-error-repro\node_modules\webpack\lib\Compilation.js:2243:24)
    at Object.pitch (F:\Workspace\mini-css-extract-plugin-error-repro\node_modules\mini-css-extract-plugin\dist\loader.js:89:43)

🌍 My Environment
Angular CLI: 9.1.5
Node: 14.2.0
OS: win32 x64

Angular: 9.1.6
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.901.5
@angular-devkit/build-angular     0.901.5
@angular-devkit/build-optimizer   0.901.5
@angular-devkit/build-webpack     0.901.5
@angular-devkit/core              9.1.5
@angular-devkit/schematics        9.1.5
@angular/cli                      9.1.5
@ngtools/webpack                  9.1.5
@schematics/angular               9.1.5
@schematics/update                0.901.5
rxjs                              6.5.5
typescript                        3.8.3
webpack                           4.42.0

Hi @ashwingairola, I am sorry that you are facing an issue however while custom Webpack configuration are allowed, they are not supported by the Angular tooling team.
Please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


classmethod is unable to decorate a callable that is function (and not method)

I am new to cython and I would be grateful if someone could help me with the following issue.
I have started with the code snippet itself. I request patience on part of the reader, i have explained everything at the bottom:
util.py:
import inspect

class Singleton(type):
    _instances=[]
    def __call__(cls, *args, **kwargs):
        if cls not in cls._instances:
            cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)

class MetaResult(Singleton):
    def __getattribute__(cls, name):
        return super().__getattribute__(name)

class Result(metaclass=MetaResult):
    @staticmethod
    def res_decorator(func):
        def funcwrap(*args, **kwargs):
            sig = inspect.signature(func)
            bound_sig = sig.bind(*args, **kwargs)
            bound_sig.apply_defaults()
            #additional code to extract function arguments
        return funcwrap

check_params.py
from util import Result as _Result
from abc import ABCMeta as _ABCMeta

class paramparse(metaclass=_ABCMeta)

    @classmethod
    @_Result.res_decorator
    def parse_flash_params(cls, flash_config_path):
        #some code

Now, I cythonize the file check_params.py with following setup :
cythonize.py
import os as _os
from pathlib import Path as _Path
from distutils.core import setup as _setup
from Cython.Distutils import build_ext as _build_ext

files_to_compile = []

def cython_build(source_path):
    for dirpath, _, fnames in os.walk(source_path):
        for fname in [x for x in fnames if f.endswith('.py'):
            fname = _Path(fname)
            files_to_compile.append(fname)

    for e in files_to_compile:
        e.cython_directives = {'binding':True, 'language_level':3}

    _setup(name="Proj1",cmdclass={'build_ext':_build_ext}, ext_modules=files_to_compile)

cythonized as: python cythonize.py --path C:\directory_where_check_params_exist
generates a pyd file on which the following unit tests were attempted to run:
Now, coming to the usage, in the unit tests:
unit_test_check_params.py
from check_params import *    #getting error here , details outside the code

# unit tests written here

check_params.pyx:112: in init check_params ??? E
TypeError: Class-level classmethod() can only be called on a method_descriptor or instance method.
So when i debug this, the error appears as being caused because of the classmethod descriptor over decorator which basically returns a function and not a method (see static method attribute applied in util.pu)  (def parse_flash_params) in check_params.py
Please let me know if you need more information.
Request @scoder, @brentp  to have a look at this issue.

i started here:
https://stackoverflow.com/questions/57138496/class-level-classmethod-can-only-be-called-on-a-method-descriptor-or-instance


Add value_unchecked() and unit test

Which issue does this PR close?
Closes #1419.
Rationale for this change
None
What changes are included in this PR?
Add value_unchecked() for FixedSizeBinaryArray.
What's more, add a test for PartialEq of test_fixed_size_binary_array
Are there any user-facing changes?
None

Merged, thanks!


[Feature Request] Show old resource value when it is changed

It would be nice to see in the information when a resource value is changed, which value it was changed from. For example, if someone changes their gold amount from 40gp to 20gp it would show something like "Player Character Name | 40gp -> 20gp"
Thanks a lot for this module! It's very helpful!

That's a good idea! Unfortunately this module was developed on a commission so I don't have the ability to work on it in my free time. However, I'd be happy to merge a pull request if you'd like to implement the feature yourself, or you can reach out to me on Discord to discuss funding the feature: enso#0361.

Very fair! Thank you nonetheless for the tool!

A new commission was opened to fund this feature. You can enable it in the module settings after updating to version 1.6.2.

Thank you very much! Just tried it and this is perfect!


[util/reggen] Revise error to uvm_error and clean-up register top assertion

[X] Replace regparity assertion to use implication
[ ] create a_user (and/or d_user) struct and use it for assertion
[X] Replace $error() to uvm_error()

This is the task of lowRISC/stwg-base#365
CC: @sriyerg @sjgitty

The last item (d_user_t) was added by Tim in February with d12569fa30.


Add minimum version, resolves #3

there will be a release before the migration
closed by https://github.com/dappnode/DAppNodePackage-web3signer-prater/pull/16/files


Bump metric-registrar to v1.4.1

[x] The plugin's name field in repo-index.yml matches the Name field in the plugin's plugin.PluginMetadata section
[x] The plugin's url field in repo-index.yml contains the same version from the version field

Description of the Change
Bump metric-registrar to v1.4.1.
Why Is This PR Valuable?

registered-metrics-endpoints now lists secure endpoint registrations
Builds the plugin with go1.20.8.

How Urgent Is The Change?
Non-urgent

Merged a more up to date version, closing this PR


Proposal: Use pre-commit hook for linting and prettier

Description
I am a big fan of consistency when working in a repo as a team. The biggest issue I run into is that sometimes people forget to lint & format before they make a commit, and they end up not finding out about their issues until they get to the PR. Also dealing with formatting changes (like tabs vs spaces), can make for some unnecessary merge changes.
Solution
Utilize the husky to implement a pre-commit hook to run type-check, lint, and prettier whenever a commit is made. This would prevent anyone from making a commit with bad code.

I want to get everyone's thoughts on this before I go ahead and implement this. I am familiar with setting this up so let me know.
The setup might be a bit complex with yarn workspaces but I think it's still possible, just gotta figure out to only trigger it for react-app to avoid wasting time when updating the truffle package.

This will be closed when the PR is merged. I have configured husky to run on pre-commit hooks. The hook will run yarn lint which is only going to run type-check, lint, and prettier when a new commit is made to the react-app package. If any changes are made to the truffle package, then it will be skipped because no changes were found in the react-app package.


[docs] Update storybook section in migration to v5 docs

from #28716

[x] I have followed (at least) the PR section of the contributing guide.

Didn't we forget in the Emotion migration that you can't mix an Emotion theme and a MUI theme i.e. ThemeProvider from @mui overrides the ThemeProvider from Emotion?

I will add in the description that this is a workaround and might not work in all cases. From one of emotion team, https://github.com/mui-org/material-ui/issues/24282#issuecomment-796785468.

Can you share a repository showing that the themes via Emotion and styled-engine are indeed independent?


Add support for traffic shadowing.

This is a placeholder issue for implementing traffic shadowing.

Weird; should have closed this a while ago: added in #33.


Add gzip and cache controll for http response

Related issues
https://github.com/rancher/rancher/issues/15981
https://github.com/rancher/rancher/issues/16041

LGTM


Generate file based on lookups

Since Asobo isn't exposing TypeCode or callsing prefix, figure it out from what they do provide.

This is done as part of #32


Consider Making it Clearer When Docs are Generated

A small idea which might save newcomers like me some time in the future:
A comment header could be added when generating adocs.
For example:
// THIS FILE IS GENERATED - DO NOT EDIT
// Edit here: asciidoctorj-documentation/src/main/asciidoc/extension-migration-guide.adoc
// And then run: ./gradlew asciidoctorj-documentation:build

Happy to make the change if folks agree it would be helpful.

Great idea imo👍

Cool, will create PR.

I have something ready but, to avoid confusing and overwhelming, will hold off submitting until #964 and #960 are merged.


Add Video/GIF Modification extension

Description
Motivation
I got tired of moving between different apps when I need something small like converting or optimizing a video. That's why I started using the ffmpeg cli. But it doesn't really fit because I have to memorize all the tricky parts of their cli. So I decided to create a simple wrapper around it.
What it does
The extension allows you to optimize, convert and resize video and gif files using ffmpeg and ffprobe. At the moment the extension only works with a selection in the Finder.
How it works
On first run, the extension will download the ffmpeg and ffprobe binaries from https://www.osxexperts.net. I have not found any other public hosting of binaries for Intel and Silicon chips. So I am open to recommendations for security improvements.
The fetching mechanism can be checked at binary.ts file. The endpoints and sha256 hashes at ffmpeg.ts and ffprobe.ts respectively.
The binaries will then be stored in environment.supportPath and used from there.
Screencast
https://github.com/raycast/extensions/assets/13913581/ede54906-6935-47dc-9d2c-a7b21193ba76
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Just found this extension: https://github.com/raycast/extensions/pull/11894 by @pablopunk.
Looks like we came up with the same idea at the same time 😁
I'm not sure raycast needs two extensions in the store with the same functionality. As I see the only difference is the entry point and UX. You can close my PR @pernielsentikaer if you see fit, because yafw is already published in the store.

@tonypinkevych Mine only focuses on compressing videos. If you'd like, you could make a PR to add more commands and I'll happily review it 🙌🏻. Also, I'm not installing ffmpeg automatically, that could be added too. Latest code is here

I don't know www.osxexperts.net, it sounds a bit dangerous just to trust the files from that page, or?
I agree, merging it into the current would be nice

@pernielsentikaer This site comes highly recommended on reddit, so I don't know. We can keep the local version of ffmpeg installed by homebrew. But that would reduce the number of potential users because of the external dependency.
I'll do another PR to extend yafw behavior in a few days. I will close this PR as soon as the new one is ready.

All code moved to https://github.com/raycast/extensions/pull/12147


Redpanda chart should not pass empty values to configmap

What happened?
The helm chart had empty strings for the azure storage values. This caused redpanda to fail to start.
What did you expect to happen?
When keys have empty strings, omit them from the configmap. Redpanda treats empty strings as set so if they're in the config file it will break the configuration.
How can we reproduce it (as minimally and precisely as possible)?. Please include values file.
N/A
Anything else we need to know?
No response
Which are the affected charts?
Redpanda
Chart Version(s)
3.0
Cloud provider
N/A

Duplicated by #405 but that one has more context.


Autofill don't validate Component on Chromium browsers

Describe the bug
On Chrome/Edge (and maybe Safari), when using Autofill to fill the component inputs, adyenCheckout state.isValid remains at false and in state.valid, these fields are missing:

encryptedCardNumber
encryptedExpiryMonth
encryptedExpiryYear
encryptedSecurityCode

This bug doesn't occur on Firefox.
To Reproduce
Steps to reproduce the behavior:

Load adyen form in Chrome
Autofill fields with a saved card

Expected behavior
Inputs are filled and state.isValid should be true
Screenshots

Desktop (please complete the following information):

OS: Ubuntu
Browser: Chrome
Version 106.0.5249.103

The latest version, 5.28

We use the latest version, whatever that is, and also experienced this on 4.x. This is really hurting our business, so please fix asap.

Hello all,
We are trying to gather more information on this issue. In our testing environment this feature seems to be working. For example in https://www.mystoredemo.io/ .
Could you all please share a few more details on this?

Which version of adyen-web are you using?
Are you using components or dropin?
What framework is your website built on? (React, Vue, Next, ....)
What configuration object are you passing to the card component?

Autofill on https://www.mystoredemo.io/ works for me with Safari 16 and Chrome 106 on macOS 12.6.

Hello,
Autofill is working on the demo https://www.mystoredemo.io/ but still not on our website. And i use Chrome 106.

We use 5.28.0
Components
We use sylius and vanilla js
The configuration object of AdyenCheckout is listening state.isValid in the onChange event

Like i said in the first post, in the onChange event, valid doesn't add encryptedCardNumber, encryptedExpiryMonth, encryptedExpiryYear and encryptedSecurityCode when using autofill on Chrome. But it is working correctly on Firefox.

This bug seems to be fixed by updating adyen-web to 5.28.1
So preact seems to be responsible for this bug on Chrome.


Fix for loss in segment announcements when segments do not fit in the…

… znodes during compress mode.

@anubhgup would you mind adding a unit test that exposes this problem? thanks!

https://github.com/druid-io/druid/pull/2268 also seems to address same issue,
@anubhgup @navis, If they are duplicate, can you both sync up and close one of them.

@navis @nishantmonu51
Some points in favour of this CL :)

I had reported the bug on the Druid devlopment list, and also fixed it first.
https://groups.google.com/forum/#!searchin/druid-development/from$3Ame/druid-development/OyiL8jC8fw8/1sW5oLCPBQAJ

Since I am hitting it in my production setup, I should be able to test the fix also in production.

@anubhgup does @navis 's test pass here?

@drcrallen @navis I have added Navis's test to the CL. It is passing.

@anubhgup @navis I don't have a strong preference on which PR to merge.
The only difference is that @anubhgup  removes a node on the list even if it could potentially be used for a different segment, although that might be unlikely if all announcements have comparable sizes. The only benefit I can see is that it would reduce the number of nodes to scan when deciding which node to add to. It may also increase the number of znodes in theory, but I'm not sure any of those things matter in practice.
I like that @navis added the new vs. existing node in the logs. Since we already merged the test into this PR, we can probably add the log message changes and merge @anubhgup's since he first reported this issue?

Added the log message changes.

:+1:

:+1: once we add a comment here https://github.com/druid-io/druid/pull/2266/files#r49796880

@navis any objections to merging this one instead of yours?

@xvrl No problem. It's my bad not checked it's already PRed. Thanks to all.


add !mp skipintro

autoskip intro is a lobby setting. it's either everyone watches the intro or no one does. during RO32, the LM1 map had a 52 seconds long intro which players couldn't skip.
ideally, we would want to upstream intro skip request but that's a lot of effort and I don't know if it'll be possible to do before the end of this tournament

had a quick glance at the autoskip code, it isn't obvious if the host can choose to skip the intro


The key combination of the screen ruler utility causes problems with standard key combinations in Windows 10

Microsoft PowerToys version
V0.63.0
Running as admin

[X] Yes

Area(s) with issue?
Screen ruler
Steps to reproduce

Change shortcut for screen ruler to "Windows logo key  + SHIFT + L" because the default shortcut of screen ruler has the same functionality like a default shortcut in Windows 10 and overrides it
Hide the desktop via "Windows logo key"  + D
Switch to an other PC via KVM switch
Switch back to the first PC and restore minimized windows on the desktop with "Windows logo key  + SHIFT + M"
Restoration of windows is not working at all

✔ Expected Behavior
Restore minimized windows on the desktop
❌ Actual Behavior
Nothing happens
Other Software
No response

Hello and thanks for your message. This is an issue already mentioned in #20194. Your steps to reproduce use both the letter "D" (for Desktop) and "M" (for Minimize) which are not exactly the same thing but I thing it means the same as the other issue. Am I right? Or is the problem that Win+Shift+M is "captured" even if the hotkey is changed?

Just updated to the latest version of PowerToys and was shocked to find that Win+Shift+M had been clobbered by default by a ruler.  Win+Shift+M has been a standard Windows shortcut since at least Windows 95 (and probably earlier NT releases), and there is no other way* to duplicate its functionality (Restore windows previously minimized using Win+M).  Also, why is Win+Shift+M being used for "Screen Ruler" in the first place?  Where's the mental connection that makes that make sense?  Please change the Ruler's default keyboard shortcut to something more sensible, like perhaps Win+Shift+R (for Ruler) or, as suggested by @kvpdesperado in the OP, Win+Shift+L (I guess for ruLer? Still makes more sense than "M").

*Yes, I mean there is no other way.  Win+D may appear similar, but it functions in a very different manner and while using Win+Dto show the desktop and Win+Shift+M to restore the hidden windows works, if you use Win+M to minimize all windows, then Win+D is not only unable to recover them, in fact, attempting to use it causes the stored window locations to be lost, such that Win+Shift+M no longer works.
Try this (on a system where Win+Shift+M is still being handled by Windows)

Open a bunch of windows, such that you can't see your whole desktop.
Minimize a few of them, so now you have a mix of minimized and restored windows.
Press Win+M to minimize all windows.  Yay, you can see your desktop.
Double click an icon on the desktop that will open a window, e.g. Recycle Bin.
Now that you have a window up that's not minimized, press Win+Shift+M to restore all the windows you minimized in step 3.  Wow, the windows that were minimized to begin with still are, but the ones that weren't are back on the screen.

Sorry for the (perhaps mildly excessive) dramatization in my example, but it helps make my point.  This simple, but very useful workflow is impossible without Win+Shift+M.  Trying to do this with Win+D does not work, as it no longer keeps track of which windows were minimized using it once a window (any window) that isn't minimized is present.

@crutkas can I ask your opinion about the choice that lead to use (default) hotkeys that are already in use by Windows? (same applies to Alt+Space) and - more importantly - the possibility to change our PT module hotkeys? I saw you gave a negative verdict on the PT Run hotkey issue, which - as you know - has lead to many issues. But why?

Agreed.
+ (opening the window control menu)
and
++ (the undo of + aka minimize all)
being global windows default hotkeys should not be broken by powertoys by default. Either use a different default, or don't turn the hotkey on unless manually selected by user.

Yes, Alt+Space should also not be used by PowerToys by default.  I'd very much like to see the default PowerToys Run hotkey changed too.  Once again, that's a keyboard shortcut that has been used by Windows for ages, and activates a unique function which cannot be easily emulated with another keyboard shortcut.


Support embedded Mono

Hi, I'm trying to get this to work with embedded Mono. I am able to connect but breakpoints do not hit. It seems --debug=mdb-optimizations is unrecognised when calling mono_jit_parse_options(), and all the documentation in the mono_debug.h header seems to indicate that mdb is now unsupported within Mono. I have tried calling mono_debug_init() with MONO_DEBUG_FORMAT_DEBUGGER but this crashes, again because mdb is no longer supported.
Do you have any experience with this, ways around it, or plans to support the soft debugger?

For future reference, I got this working with the following code:
    if (remoteDebugging)
    {
        const char* opt[2] =
        {
            "--debugger-agent=address=<IP_ADDRESS>:10000,transport=dt_socket,server=y",
            "--soft-breakpoints"
        };

        mono_jit_parse_options(2b, reinterpret_cast<char**>(&opt));
    }

    mono_debug_init(MONO_DEBUG_FORMAT_MONO);

    g_Domain = mono_jit_init("nwnx");
    mono_debug_domain_create(g_Domain);

You may need to manually convert the .pdb to .mdb by invoking pdb2mdb <dll_path> on your Linux machine. The conversion within this plugin seemed to mismatch so breakpoints were not being hit.

I need a small example program for embedded Mono to investigate this problem.

I was now able to test this case. In version 1.0.5 I have implemented a deployment for the local Windows machine.
To deploy and debug embedded mono code, the start scripts have to be adapted. You have to start your own application and pass the soft-debugger arguments as described above. The deployment path has to be adapted according to the requirements.


⚠ Fortnite has degraded performance

In 6c3b0a7, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1526 ms

Resolved: Fortnite performance has improved in 4a71013.


Use selectors rather than case type override

Motivation and Context

Currently we use the case type override, these are being deprecated
soon.
What has changed

Remove use of case type overrides for action rules modification, and use the new action plan
selectors.
Refactor out abstractActionRuleUpdater
How to test?

Use UI to update mps or go_live events datetime and see the matching action rule trigger datetime get updated as well in the actionrule table.
Links

https://trello.com/c/r79j0Xlg/125-tbl123-link-action-rules-to-action-plans-at-create-time-update

@NickGrantONS Oh true! Changed from Boolean class to primitive time on both functions 👍

 TBL123: Link action rules to action plans at create time (Update)


Cards from System Core 2019 break the decklist search results

If you're looking for a deck that contains a card that is present in System Core 2019, there's no results, even if you choose an instance of this card that comes from previous packs (I've cross-checked the ids). Apparently, it doesn't seem to be a problem with multiple copies/instances of a card with a same name - for example, if you look for a deck containing Demolition Run (present in core and revised core, not present in SC2019), results are returned properly.
To reproduce:
Search for a deck containing Femme Fatale. There are three versions hinted (core, revised, system core), but no matter which one you choose, it returns 0 results.

Ah heck, okay. I’ll take a look!

@NoahTheDuke Sent you a message on slack regarding a possible fix.

This is now fixed in production, source control will be tidied up later accordingly.

I'm finding that if you select Quetzal you get two options of name but both come through as the Core 2019 version and no decks get listed (even though I know there are loads!). Same applies for Leela Patel.

@Transistor0 Could you try clicking the 'Clear data' link at the bottom of the page and try again.


MGMT-10120: enhance logging for package preflight

/lgtm
/hold
@qbarrand unhold unless you have other questions.


chore: add TYPE_CHECKING for imports

Port of https://github.com/GoogleCloudPlatform/cloud-sql-python-connector/pull/756

Coverage drop is insignificant


Reference use-case/workloads for Pod Security Standards

This is a Feature Request
What would you like to be added
It may be useful to enhance the current documentation (and maybe expand in a blog post) with reference use-cases or workloads and which tier would most reasonably be considered appropriate for safe deployment. This might help to make the somewhat abstract tiers, concrete in the minds of Kubernetes users and developers.
It will of course, also invite a conversation about what "safe" means, but I think that should be welcomed, at least within Sig-security :)
Use-cases would probably extend to a paragraph or two, describe the type of workload, it's purpose and the types of behaviors that workload exhibits which justify it being constrained by PSS at a certain tier.
Why is this needed
Pod Security Standards define three tiers of policy; Privileged, Baseline and Restricted. It isn't always obvious to a reader which is most appropriate for use in their environment. Similarly, it seems that during development conversations about PSS it might be useful to have use-cases to refer to when evaluating which tier a control should be present within.
Comments
I've not put a lot of thought into this yet *this is supposed to start the conversation) but we might want to consider something along the lines of:

Privileged - Maybe single cluster tenant, machine learning; something that needs privileged and direct access to hardware. Use-case would describe the trade-offs inherent in doing this.

Baseline - Potentially small / medium business, single tenant workloads etc.

Restricted - Untrusted workloads, high-density of users, co-incidence of high and low sensitivity workloads. Maybe a "general purpose Kubernetes deployment"

The last comment I'll add is that in defining these, we might want to consider being explicit about the types of workloads that are beyond the goals of Pod Security Standards; referring the reader towards alternatives that provide more granular control.

/kind feature
/sig security
/sig auth

/triage accepted

/remove-lifecycle stale


Build multi-arch image

Description
Build multi-arch image supporting linux/amd64 and linux/arm64.
Related Issue(s)
Close #13
Changes Made
Set up QEMU and Buildx and set target platforms.
Testing
Run pre-build development container in the Raspberry Pi.
Docker Image
ghcr.io/jisbert/development-pico-sdk
Checklist
Please check the following items before submitting this PR:

[ ] The Docker image builds and runs without errors.
[ ] All existing tests pass, and new tests have been added where appropriate.
[ ] The code follows the project's coding standards and style guide.
[ ] Documentation has been updated where necessary.

Bumped into a bug in github-hosted-runner https://github.com/devcontainers/ci/issues/191 related to https://github.com/containers/skopeo/issues/1874.


Do you consider joining "thumbor-video-engine"?

The thumbor-video-engine can get video frames，it is very important in
image preview service

Yes, I can add this library into the container. Will you be able to test it properly if I provide you with a test docker image?

sorry, I only have linux x86 environment, cant't cover all tests.

Thanks!


[terra-list] Handle selectable & disabled list items

Feature Request
Description

Update terra list to handle selectable and disabled list items.
Additional Context / Screenshots

While I was upgrading my project to terra-toolkit v5, I ran into the following accessibility violation:
.
I encountered this issue with the following list and items. I reached out to @dkasper-was-taken on teams and he came up with a  workaround that solved my problem using custom props. Following his suggestion, I logged an issue here for a potential enhancement and/or further discussion.
@ Mentions

@dkasper-was-taken

I am quoting the conversation here in case the Microsoft Teams link goes outdated.
Dave mentioned (w.r.t. the above use-case) -

The items within your "listbox" that are not interactable, in this case your disabled diagnosis associations, need to have the appropriate roles and attributes set.
'role="option" aria-selected="false" aria-disabled="true"'

This issue reproducible in our list item examples by using the axe-core plugin.
currently we are setting the attributes for role, aria-selected only when prop isSelectable is set to true. for this issue we might have to set the attributes role, aria-selected and aria-disabled for all the list items

We should still only only set aria-selected and roles if isSelectable is passed or it will fail on static lists. Instead we should use a combination of props, isSelectable and isDisabled.  A similar pattern can be seen in development on this PR:
https://github.com/cerner/terra-core/pull/2615/files#diff-f720fe98a3dc979c64f6dd4f4a6dc9c4R112

The problem with the terra-list's accessibility comes from it being too overloaded to effectively manage all user implementations.
After some discussion with UX we have identified a number of variants that would be needed to cover all behavioral and accessible standards by narrowing components use-cases to specific supported implementations. These components also would need to incorporate documentation beyond man-pages to show design and proper usage. In the long term the existing terra-list would be deprecated.
These variants break down into 3 categories, each with several sub-categories.
Toggle/Selection List:

This list contains only a string value. No inner selection or interactable elements should be present.
These variants is the only to support a possible "checkmark" style of selection.
3 Variants can exist for toggle/selection style list:

[component] Single Selection Listbox

Virtual selection by arrows key
Used face up within a form or dialog with ok/submit functionality
Can optionally support a fill style.
Can contain categories
Collapse NOT supported

[component] Mulit-Select Dual ListBox

Modifier key multi-key selection support.
Fill style is required, inline style needs to set a fixed container
Can contain categories
Collapse NOT supported

[component] TreeView (toggle)

Single and Multi-Selection Supported
Collapse supported via standard treeview/treeitem APIs
Support advanced a11y keys for selection

https://www.w3.org/wiki/TreeView

Disclosure List:

Supports Zebra Striping
Items are not selections, but imbedded links using aria current
Collapse Supported

Nested Lists with role presenation surround elements

li's have role "none" or 'treeitem'
[component] SplitView (main + detail)

Supports nested interactions

A new custom list item required, supporting (lint + button) zones
May need table equivalent implementation
Replaces existing slide panel
Large form factor Always open
Small form factor Full page
No Overlay Variant

[component] TreeView (links)

TreeItems to do not support selection, only sub element of link

[component] Side Navigation

May be incorporated into page layouts
May have underdlying TreeView

Combination of Toggle & Disclosure:

[component] Menu

Not tied to a presention (no longer popup only)
Combination of fully toggle and disclosure rule sets
Cannot mix toggle list with link list, this is a list of lists.
Supports drill in with chevron behavior

I will be closing the existing PR in light of this.


⚠ GitLab Server has degraded performance

In 705f96c, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6321 ms

Resolved: GitLab Server performance has improved in 548b36c.


Add CUI section

This idea comes from awesome-go.

Thanks.

I've never heard it referred to as a "CUI" before - is that common? CLI I believe is the much more popular name for it. I would even go so far as to say, there shouldn't be a section with a TLA/acronym, should be spelled out all the way. Section title: "Command Line Interface". What do you guys think?

I definitely agree with you. That's why I mentioned "CLI" keyword in it's description. Maybe they just wanted to name it similar to GUI. That's graphical interface and it's console interface!

@netpoetica you are right. CLI is better than CUI.


Airflow 6334 a433d29d6

Make sure you have checked all steps below.
Jira

[ ] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-XXX
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a Jira issue.
In case you are proposing a fundamental code change, you need to create an Airflow Improvement Proposal (AIP).
In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

Description

[ ] Here are some details about my PR, including screenshots of any UI changes:

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does
If you implement backwards incompatible changes, please leave a note in the Updating.md so we can assign it to a appropriate release

Codecov Report

Merging #18 into master will decrease coverage by 74.26%.
The diff coverage is 15.68%.

@@             Coverage Diff             @@
##           master      #18       +/-   ##
===========================================
- Coverage   84.48%   10.21%   -74.27%
===========================================
  Files         680      680
  Lines       38556    38589       +33
===========================================
- Hits        32573     3942    -28631
- Misses       5983    34647    +28664

Impacted Files
Coverage Δ

airflow/executors/debug_executor.py
0% <0%> (-92.07%)
:arrow_down:

airflow/jobs/scheduler_job.py
12.81% <0%> (-76.47%)
:arrow_down:

airflow/executors/celery_executor.py
0% <0%> (-88.44%)
:arrow_down:

airflow/executors/dask_executor.py
0% <0%> (-5.89%)
:arrow_down:

airflow/executors/kubernetes_executor.py
0% <0%> (-57.49%)
:arrow_down:

airflow/models/taskinstance.py
23.66% <28.57%> (-71.25%)
:arrow_down:

airflow/executors/sequential_executor.py
50% <50%> (-38%)
:arrow_down:

airflow/executors/base_executor.py
33.33% <66.66%> (-62.83%)
:arrow_down:

airflow/executors/local_executor.py
29.1% <66.66%> (-63.38%)
:arrow_down:

airflow/models/queue_task_run.py
9.25% <9.25%> (ø)

... and 609 more

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 7d97d16...16c47e2. Read the comment docs.


v0.4 update

lotsa endpoints added
test suite added

Nice! Heads up that we recently added pricing by variant. So you can specify a unique price for each variation of your product. The API has been updated to support this.

Sweet! That will be set by the override_cents & has_override_price = true on the variant POST, right? If so then this update will be able to handle that.

Yep, that'll do it! I didn't see it in the diff file when I looked at it. 👍
On Friday, Apr 10, 2015 at 9:04 AM, Ryan Lewis<EMAIL_ADDRESS>wrote:
Sweet! That will be set by the override_cents & has_override_price = true on the variant POST, right? If so then this update will be able to handle that.
—
Reply to this email directly or view it on GitHub.


net: Unix dnsclient test for CVE-2021-33195 assumes that <IP_ADDRESS> does not resolve [1.15 backport]

@neild requested issue #46504 to be considered for backport to the next 1.15 minor release.

@gopherbot please backport to 1.15

This change is in support of a previously submitted change. It is also just an update to a test. For those reasons, it is approved.


[BEAM-5790] Euphoria: Remove Dataset abstraction.

This removes a dataset abstraction, which is not needed anymore. It should provide more seamless integration with Beam Java SDK.

@mareksimunek @VaclavPlajt does any of you have any concerns about this?

@VaclavPlajt it is updated already.


Refactor content item enrichment

The content item enrichment is ending up with multiple content items with the same path in the database. This makes no sense.
I've not been able to work out why -- the code seemed pretty straightforward.
Instead, I've refactored how content item lookups happen so that they return data structures only, which are then interpreted into the database records in a single place (the enrichment worker). This means that there can't be any side effects outside this class that result in duplicates being created.
This should reduce the frequency of it happening again while I bash my head against a brick wall trying to figure out why.

This looks OK to me but it would be good to have someone with more experience of the content related apps and how they're managed in other apps to take a look too.

Thanks for the careful review and additional links @boffbowsh  I've addressed most of the questions in the code.

👍 woooooo!


fix: pull all deleted CLs will delete file

What does this PR do?
allows a user to pull multiple deleted CLs and delete the file if they're all deleted
What issues does this PR fix or reference?
@W-13167950@

Re-QA'd with plugin-source and PDR nuts


help - QListOfQStandardItems - not clear how to append a QStandardItem

The append signature of QListOfQStandardItem takes ref to another QListOfQStandardItem.  I dont see how you can append an actual QStandardItem to the list.

Some methods are missing on this type. I will investigate it. Thanks for the report!

Fortunately, there was another way to do what i was trying to do.

Fixed in qt_gui 0.5.0-alpha.1. Also all similar methods across all Qt crates are fixed. The argument type in the Rust functions can be improved, though.


Fixed some issues and added requirements file

Changes

Fixed file path issues in chapter 6 notebooks.
Added Snips data for chapter 6.
Fixed an error in Chapter 9 - 01.
Updated Stanford CoreNLP instructions in Chapter 9 - 01.
Added requirements.txt file for all local notebooks in chapter 4 to 9.

Thank you


fix: Require Typescript 3.8+

Summary

adjust typescript minimum version and fix yarn build

Related Issues or PRs
resolves #520
How To Test

clearing out node_modules, yarn and then yarn build should all run without bugs.
Tests and Happo should pass.

@ahobson it works as long as they have enough flexibility in their typescript declaration in their package.json such as ^3.x.x.


JIT session error: Symbols not found: [ stat ]

Symbol not found
Now has been tested that ouccr errors: stat64, stat, mknodat, mknod, lstat64, lstat, fstatat64, fstat64, fstat

RTDyldMemoryManager::getSymbolAddressInProcess
the function seems very similar with the issue. That should be a big ref

might should be upgrade glibc to 2.33, Ref
test stat on ubuntu 21.04 with glibc-2.34
other symbol will be test soon

All has been tested. please upgrade glibc version


Migrate test suite to nuxt-edge

Done through https://github.com/nuxt-community/style-resources-module/pull/159


NETOBSERV-1596 fix latest not resetting on DNS / RTT metrics

Description
Steps to reproduce:

Show latest bytes
Switch to DNS

Metric function must switch to average.
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.

[X] Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
[ ] Does this PR require product documentation?

[ ] If so, make sure the JIRA epic is labelled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.

[ ] Does this PR require a product release notes entry?

[ ] If so, fill in "Release Note Text" in the JIRA.

[ ] Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.

[ ] If so, make sure it is described in the JIRA ticket.

QE requirements (check 1 from the list):

[X] Standard QE validation, with pre-merge tests unless stated otherwise.
[ ] Regression tests only (e.g. refactoring with no user-facing change).
[ ] No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.92%. Comparing base (b45cee2) to head (add2068).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #518      +/-   ##
==========================================
+ Coverage   57.27%   57.92%   +0.65%
==========================================
  Files         169      137      -32
  Lines        8487     6598    -1889
  Branches     1160     1160
==========================================
- Hits         4861     3822    -1039
+ Misses       3299     2572     -727
+ Partials      327      204     -123

Flag
Coverage Δ

uitests
57.92% <100.00%> (ø)

unittests
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

/ok-to-test

@jpinsonneau re-ran tests confirming this PR fixes the bug.
/label qe-approved


calling python3 scripts from venv after activating for longrunning and rgw-nfs-ganesha suit

calling python3 scripts from venv after activating for longrunning and rgw-nfs-ganesha suit
Description
Please include Automation development guidelines. Source of Test case - New Feature/Regression Test/Close loop of customer BZs
Checklist:

[ ] Create a test case in Polarion reviewed and approved.
[ ] Create a design/automation approach doc. Optional for tests with similar tests already automated.
[ ] Review the automation design
[ ] Implement the test script and perform test runs
[ ] Submit PR for code review and approve
[ ] Update Polarin Test with Automation script details and update automation fields
[ ] If automation is part of Close loop, update BZ flag qe-test_coverage “+” and link Polarion test

Following are the log locations of each run we can ignore selinux errors can be ignored:
http://magna002.ceph.redhat.com/ukurundw-2020-08-18_01:46:50-rgw:nfs-ganesha-rgw-v2-nautilus-distro-basic-pluto/384420/teuthology.log
http://magna002.ceph.redhat.com/ukurundw-2020-08-18_01:48:06-rgw:longrunning-nautilus-distro-basic-pluto/384423/teuthology.log


Question about bulk updates

Let's say I want to increment vote count on all documents on a Posts collection.
How do I do that?
a) Iterate over the cursor
Posts.find().forEach(function(Post) {
  // Post is an Astro.Class, right?
  Post.voteUp();
  Post.save();
})

b) Directly update the Posts collection
Posts.update({}, {$inc: {voteCount: 1}}, {multi: true});

c) Some other way?

Yes you would need to iterate over the cursor and save each individual post. It's not super efficient.
So, it's why I want to execute events and all model logic also on the level of the collection when you are using plain collection methods like Posts.update({}, {$inc: {voteCount: 1}}, {multi: true}); It will be possible in the next Astronomy release.

Hmm, when are you planning this release for?

Probably it will appear with the next release

Well, that's what I meant, the (targeted) time of your next release :)

Hi. I'm wondering about the same but for multi-inserts?
With Mongo we can do like collection.insert(arrayOfDocuments)
In astronomy I would like to do the same (bulk insert seems like it would be more efficient than iterating over a large array and created several atro docs).
I have something like:
  const objectsToInsert = [{
    prl_lng_id: '123',
    prl_prc_id: '321',
  }, {
    prl_lng_id: 'abc',
    prl_prc_id: 'cba',
  }, {
    prl_lng_id: '789',
    prl_prc_id: '987',
  }];
ThisAstronomyModel.insert(langMapObjs);

I have even tried with ThisAstronomyModel.insert(langMapObjs, { multi: true }); but I get an exception: Exception while invoking method '/Astronomy/execute' TypeError: callback is not a function.

Actually, you can't either do it with pure Meteor's MongoDB collections. When you do Collection.insert(arrayOfDocs) it will convert the array to object, so you're gonna end up with an object having keys being indexes of the array. I don't know why they made it that way but it was probably some trade-off between simplicity and overcomplication of their code base which would be later hard to maintain. As I'm focusing more on GraphQL and Apollo right now, I will probably prepare Astronomy version for Apollo. However, I'm still looking for the best way of integrating it. I wouldn't want to tie it to GraphQL to much. I did it previously with too much integration with Meteor and that's causes some problems. So right now I'm thinking about making it more just like regular model layer for any database with some drivers for each of the most popular once. And creating some additional package for Apollo that would integrate with both server and client.


Image closing behaviour

Images aren't closing with ESC key. There even aren't an X button to give the user a clue that images can be closed.

Resolved this issue. Thank you.


[ FeatureRequest ] Add support for racket scheme

At the moment, the Idris2 installer will always use Chez Scheme. This should not be too hard to fix.

Closed via #249


Feature request: Show banner/label to prompt for upgrading kubewarden-defaults chart

With kubewarden v1.10.0 installed,
With uninstalled chart updates corresponding to v1.11.0-rc5 (kubewarden-crds 1.4.6-rc3, kubewarden-controller 2.0.9-rc5, kubewarden-defaults 1.9.4-rc5),
After updating repositories and enabling devel helm chart releases in settings,
Going to dashboard/c/local/kubewarden,
Clicking on "update Kubewarden stack",
Only the kubewarden-controller chart is updated. This brings kubewarden-crds in, but not kubewarden-defaults (as expected).

Sometimes, upgrades of kubewarden-defaults chart are needed, to keep policy-server images and policies in sync with kubewarden-controller chart changes.
Acceptance criteria
The same way that we get a banner and a yellow label that prompts to update kubewarden-controller (or kubewarden stack) we should do the same for kubewarden-defaults.

This may happen only for kubewarden-defaults RCs.
Here is the UI with Kubewarden stack 1.10 installed, and "allow devel helm charts", correctly showing a possible update of kubewarden-controller:

Here is the UI after upgrading that kuberwaden-controller. Notice that there's no button for upgrading kubewarden-defaults from 1.9.3 (app version 1.10) to 1.9.4-rc5 (appVersion 1.11), as was advertised on the kubewarden-controller before:


Changes to Admin and Adding fixtures  for BigAims,ClinicalDepartment,FocusAreas

Add the changes to the models.py file and I'll merge this request


validator: update kube dependencies to v1.23.4

Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>
/kind api-change

Kuberenetes client dependencies are updated to v1.23 with this release

/assign @bswartz

On a refresh the lgtm was removed, @bswartz can you please bring back the same?


Add image download support to CPListItem

This adds image download support for CPListItem.  CPGridButton does not get this same support because its image cannot be updated asynchronously without using private API.

This looks nice and promising. It extends the boundary of Kingfisher. Thank you @waynehartman !
I am not a CarPlay developer and have never tried it before. It seems that when building with iOS, the CarPlay related code is also compiled (with an error on CI).
I will try to read the CarPlay programming documentation and make sure I can know what is going on. After some brief look, it seems that I have to start from preparing a CarPlay simulator before I can try it.
It is also welcome if you can give some suggestion or fix it, so we can continue this.

This looks nice and promising. It extends the boundary of Kingfisher. Thank you @waynehartman !
I am not a CarPlay developer and have never tried it before. It seems that when building with iOS, the CarPlay related code is also compiled (with an error on CI).
I will try to read the CarPlay programming documentation and make sure I can know what is going on. After some brief look, it seems that I have to start from preparing a CarPlay simulator before I can try it.
It is also welcome if you can give some suggestion or fix it, so we can continue this.

Taking a quick look at the build run, it looks like it has having a problem I do not experience with the latest iOS SDK. I’ll check it out later this afternoon on Xcode 12; my changes were done in Xcode 13.

Oh！
That is a good hint! I will also try it tomorrow (too late in my time zone now).

Oh！
That is a good hint! I will also try it tomorrow (too late in my time zone now).

I tried it on Xcode 12.5, but it built just fine and all tests passed. :|

Oh！
That is a good hint! I will also try it tomorrow (too late in my time zone now).

I fired up Xcode 12.4 (what you’re using for the build process) and it indeed breaks. Will investigate what the differences are between the two SDKs.

Oh！
That is a good hint! I will also try it tomorrow (too late in my time zone now).

Because the SDK made a change that is not backward compatible with SDK <14.5, I put in a compiler(>=5.4) check that was also introduced in Xcode 12.5 so that older users of the SDK can still use this capability, albeit in a slightly crippled way.

@waynehartman Thanks for it. It seems that I need a CarPlay Entitlements to build a demo app and test it even on the CarPlay simulator. It requires special apply process and seems to beyond what I can do now.
Since all is addition to current library so it should not break anything. I will merge and tag it without further validation as long as the CI passes.
Thank you again for it, this is an area I have never thought about Kingfisher can help.


fix: ignore tags w/o release

This fixes that when a release build fails the next changelog will be incorrect as it won't include the entries all the way from the previous successful release
Also some other fixes and cleanup made while working on other PRs

/cc ankitm123 tomhobson babadofar


Modify the GET collection endpoint to include the new DOI_CURIE link type

Not required in updated design (#1826).


After install slide package couldn´t import it

Hi after i install the package i could not import it as compontent, it is like it was not installed. The docu says nothing about it, may be i forgot some step or there is another step to do and i do not know. Could you help me.

Here is an example of a named component import.
<script>
import { VueSlideToggle } from "vue-slide-toggle";

export default {
  name: "App",
  components: { VueSlideToggle },
  data() {
    return {
      expanded: false
    };
  },
  methods: {
    expand() {
      this.expanded = !this.expanded;
    }
  }
};
</script>

And there's also an example in the sandbox: https://codesandbox.io/s/vue-template-5t1le

did you try this link?

Sorry, but it works fine.

hmmm intresting, tried also another browser (FireFox) and get "Blue Shield Warning

and with crhome i get this

hmm would it be possible to add it to another sandbox

error i got when implementing VueSlideToggle:
Could not find a declaration file for module 'vue-slide-toggle'. '/opt/local/var/www/project_name/node_modules/vue-slide-toggle/dist/vue-slide-toggle.js' implicitly has an 'any' type.
Try npm install @types/vue-slide-toggle if it exists or add a new declaration (.d.ts) file containing `declare module 'vue-slide-toggle'

This is a warning from vscode, not a package error. Just ignore it and work with the package as specified in readme

no this error comes when i run 'npm run serve' or build

If you try using my package in typescript, then turn off static checks or write declaration.

oki thanks, and why pages didn´t worked, is because of our dns blocker service.

if i just add it it shoots errors but it frontend gets rendered. But when i am looking at the test app´s component it does not render the component tag  as defined

also when i am ignoring the typescript issue i got frontend issues:
Unknown custom element: <vueslidetoggle> - did you register the component correctly? For recursive components, make sure to provide the "name" option.


protocol-buffers 2.3.0

protocol-buffers-2.3.0 is out of bounds for:

[ ] riak-<IP_ADDRESS> (>=2.1.4 && < 2.3). Tim McGilchrist<EMAIL_ADDRESS>@tmcgilchrist. @markhibberd
[ ] riak-protobuf-<IP_ADDRESS> (>=2.1.4 && < 2.3). No maintainer. @markhibberd

protocol-buffers-descriptor-2.3.0 is out of bounds for:

[ ] riak-protobuf-<IP_ADDRESS> (>=2.1.4 && < 2.3). No maintainer. @markhibberd

Issue closed in the GHC 8 release. If packages have been removed temporarily, please sent a pull request to update build-constraints.yaml (search for GHC 8 or BLOCKED).


Example code for anomaly-detector client library gives an error

I tried running the example code to learn how the API works, but I get this error when I run it:
Unable to serialize value: Timestamp('2018-03-01 00:00:00+0000', tz='UTC') as type: 'iso-8601'., TypeError: an integer is required
I tried messing with the timestamps and looking through docs, but only succeeded in more errors. Am I missing something/making a mistake?
The code is from the example on: https://docs.microsoft.com/en-us/azure/cognitive-services/anomaly-detector/quickstarts/client-libraries?tabs=windows&pivots=programming-language-python
anomaly_detector_client = AnomalyDetectorClient(ANOMALY_DETECTOR_ENDPOINT, ANOMALY_DETECTOR_KEY)

TIME_SERIES_DATA_PATH='request-data.csv' # downloaded from the example's data
series = []
data_file = pd.read_csv(TIME_SERIES_DATA_PATH, header=None, encoding='utf-8', parse_dates=[0])
for index, row in data_file.iterrows():
    series.append(Point(timestamp=row[0], value=row[1]))

request = Request(series=series, granularity=Granularity.daily)

print('Detecting anomalies in the entire time series.')

try:
    response = anomaly_detector_client.entire_detect(request)
except Exception as e:
    if isinstance(e, APIErrorException):
        print('Error code: {}'.format(e.error.code),
            'Error message: {}'.format(e.error.message))
    else:
        print(e)

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

ID: 884b5e88-48eb-c3ad-1995-7cd87339783b
Version Independent ID: e06cfd58-46d0-200a-5967-c6a1a7276997
Content: Quickstart: Use the Anomaly Detector client library - Azure Cognitive Services
Content Source: articles/cognitive-services/Anomaly-Detector/quickstarts/client-libraries.md
Service: cognitive-services
Sub-service: anomaly-detector
GitHub Login: @aahill
Microsoft Alias: aahi

@KinoriSR, Thanks for the question! We are investigating and will update you shortly.

rewriting the following code
data_file = pd.read_csv(TIME_SERIES_DATA_PATH, header=None, encoding='utf-8', parse_dates=[0])
to
data_file = pd.read_csv(TIME_SERIES_DATA_PATH, header=None, encoding='utf-8', date_parser=[0])
resolved the issue, not sure this is expected behavior or not
parse_dates is appending "Timestamp('2018-03-01 00:00:00+0000', tz='UTC')" where as date_parser is appending "'2018-04-08T00:00:00Z'" to series[]

I just tried this change and it complains about the str. I tried this date format earlier by passing the string myself too. The error it gives:
'str' object has no attribute 'signed_session'

@saikrishna-2017 I just tried this change and it complains about the str. I tried this date format earlier by passing the string myself too. The error it gives:
'str' object has no attribute 'signed_session'

Can you send full error message?

Here is the full traceback when I remove the try/except:
Traceback (most recent call last):
  File "anomaly-detection-test.py", line 71, in <module>
    response = anomaly_detector_client.entire_detect(request)
  File "/usr/lib/python3/dist-packages/azure/cognitiveservices/anomalydetector/anomaly_detector_client.py", line 121, in entire_detect
    response = self._client.send(request, stream=False, **operation_config)
  File "/home/kinori/.local/lib/python3.8/site-packages/msrest/service_client.py", line 336, in send
    pipeline_response = self.config.pipeline.run(request, **kwargs)
  File "/home/kinori/.local/lib/python3.8/site-packages/msrest/pipeline/__init__.py", line 197, in run
    return first_node.send(pipeline_request, **kwargs)  # type: ignore
  File "/home/kinori/.local/lib/python3.8/site-packages/msrest/pipeline/__init__.py", line 150, in send
    response = self.next.send(request, **kwargs)
  File "/home/kinori/.local/lib/python3.8/site-packages/msrest/pipeline/requests.py", line 65, in send
    self._creds.signed_session(session)
AttributeError: 'str' object has no attribute 'signed_session'

@saikrishna-2017 I just tried this change and it complains about the str. I tried this date format earlier by passing the string myself too. The error it gives:
'str' object has no attribute 'signed_session'

Can you send full error message?

@KinoriSR
you are initializing the anomaly detector client in wrong way
anomaly_detector_client = AnomalyDetectorClient(ANOMALY_DETECTOR_ENDPOINT, ANOMALY_DETECTOR_KEY)
instead it should be
anomaly_detector_client = AnomalyDetectorClient(ANOMALY_DETECTOR_ENDPOINT, CognitiveServicesCredentials(ANOMALY_DETECTOR_KEY))

Oh... missed that! Both using date_parser and the CognitiveServicesCredentials together resolved the issue. Thank you!


Hi, how to contact you?

Hi, I'm an ex-V developer, and I saw you were inactive for quite a long. I want to ask you about your journey with V and how it ended.

On Discord @mintsuki or via email<EMAIL_ADDRESS>


Width of HTML body changes when ng-view includes multiple rows in Bootstrap container

I used the Yeoman angular-generator to create an AngularJS app with Bootstrap.
When I use more than a certain number of Bootstrap rows in a partial view, the HTML body width suddenly gets smaller and throws out the alignment. It shrinks by 15px, from 1224px to 1029px.
I have been able to recreate the problem by generating an app from scratch as follows:
mkdir mytodo && cd $_
yo angular
? Would you like to use Gulp (experimental) instead of Grunt? No
? Would you like to use Sass (with Compass)? No
? Would you like to include Bootstrap? Yes
? Which modules would you like to include? angular-resource.js, angular-route.js
If I replace the HTML in 'about.html' with 26 Bootstrap rows, the HTML body width is 1224px, as expected. Here are my 26 rows:

And here is the body width of 1224px:

But if I add just ONE more row, the body width decreases to 1209px. Here are my 27 rows:

And here is the body, less 15px:

The problem also happens with fewer rows if the rows contain more detail. Here I stripped the problem down to the bare bones in the hope that someone can reproduce it as well and guide me to a solution.
Note that 'main.css' and all other code is exactly as generated by Yeoman, except for 'about.html'.
The various relevant versions are: node v6.4.0; npm 3.10.6; yo 1.8.4; bower 1.7.9; grunt-cli v1.2.0; grunt v0.4.5; Bootstrap v3.3.7; AngularJS v1.5.8

Hi, your issue reads like a support question. This github repo is only for bug reports and feature requests. Please try one of the listed Support Channels.


How to run benchmark

Hi I want to run some improvements. However, I didn't find the way to run benchmark. May I ask is there a standard way to run benchmark in this project?

Hi.
So that's a complicated question and there is not really a standarized procedure, but I'd like to give you some general guidance.
What kind of improvements are you looking into? In the end we use the HD&UHD sequences of JVET (classes A1, A2 and B) to tune our presets and choose the working points. If you are changing the search algorithm, if you could run it with and without your improvement around the working point you are targeting, that would be amazing. Otherwise we could also do that, but you'd at least need to explain why you think this would work.
If you are looking into just improving the implementation in a way that does not impact the results, timing of a single encode with and without is enough. We will run on a bigger set either way.
If you are working on visual quality improvement, you would need to explain a bit what is happening and provide config and sequence that shows the improvement.
If you are working on rate control, we would need to test it internally. We have a somehow versatile test-set including sequences with grain, scene cuts and what-not that we use for that, but because of copyrights cannot share.
If you are correcting a specific issue, just explain the issue with link to the source material and config causing it. We will evaluate the impact on other cases.


Make override_gem logging controllable by GEMFILE_SILENT env var

While these ** override_gem: ... lines are useful and I cheered their addition #14875, I now constantly run over 10 linked directories and this is too verbose and I never read it
(instead, I care what branches these dirs are on, https://github.com/cben/myenv/blob/master/bin/git-statuses helps FWIW).
=> YMMV, so made this user configurable.
=> Also supporting GEMFILE_SILENT=0 or GEMFILE_SILENT=false to force seeing them in production.
The double negative is annoying.  I was thinking the var name should be opposite default behavior, but perhaps should be GEMFILE_DEBUG=0 to silence?
@miq-bot add-label developer
@jrafanie @durandom @himdel please review

I'm good with this.. maybe one thing .. GEMFILE_SILENT sound like it should change the verbosity of all gemfile-related outputs, not just override_gem.
So.. maybe we could unify this behaviour across our gemfiles, treat warn and Bundler::UI::Shell.new.warn (and possibly others) the same and use our own warn/err methods.
Or, if the idea was really only about override_gem, then maybe OVERRIDE_GEM_SILENT?

@cben honestly, I just overwrite the method in my bundler.d/Gemfile.dev.rb file, and remove the output portion of things:
# in bundler.d/Gemfile.dev.rb

def override_gem(name, *args)
  if dependencies.any?
    raise "Trying to override unknown gem #{name}" unless (dependency = dependencies.find { |d| d.name == name })
    dependencies.delete(dependency)

    # calling_file = caller_locations.detect { |loc| !loc.path.include?("lib/bundler") }.path
    gem(name, *args).tap do
      # Bundler::UI::Shell.new.warn "** override_gem: #{name}, #{args.inspect}, caller: #{calling_file}" unless ENV["RAILS_ENV"] == "production"
    end
  end
end

It does mean that I don't get any updates to the method when they happen in the Gemfile, but those are then my problems to solve.

Fair enough.  This was half baked.  I'll come back if I make something better than existing prints, rather then just turning them off.
I like Nick's approach, no need for a setting for a few people to override a specific thing, can just override that thing :-)


Unable to suppress violation in a field declaration

Summary
In short, we have a class that is mostly (but not all) generated code that uses an API that we have forbidden in a field declaration. We would like to suppress the violation on just the field but have not been able to do so. Adding a suppression annotation to the class declaration works but has the downside of suppressing everything in the class including the non-generated code. This is less than ideal.
Setup
Given signatures.txt:
java.util.Collections#singleton(java.lang.Object)
java.util.Date

and FooBar.java:
public class FooBar {
    private final Set<String> foos = Collections.singleton("A");

    public Set<String> getBars() {
        Set<String> bars = Collections.singleton("Z");
        return bars;
    }

    public void setDate(Date date) { }
}

The following expected failure is the result of running the maven plugin:
[ERROR] Forbidden method invocation: java.util.Collections#singleton(java.lang.Object)
[ERROR]   in forbiddenapis.test.FooBar (FooBar.java:14)
[ERROR] Forbidden method invocation: java.util.Collections#singleton(java.lang.Object)
[ERROR]   in forbiddenapis.test.FooBar (FooBar.java:18)
[ERROR] Forbidden class/interface use: java.util.Date
[ERROR]   in forbiddenapis.test.FooBar (FooBar.java, method declaration of 'setDate(java.util.Date)')
[ERROR] Scanned 2 class file(s) for forbidden API invocations (in 0.03s), 3 error(s).

The suppression annotation is declared as:
@Retention(RetentionPolicy.CLASS)
@Target({ TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE })
public @interface SuppressForbidden {}

Tests
The following annotations do not suppress any of the three violations:
public class FooBar {
    @SuppressForbidden
    private final Set<String> foos = Collections.singleton("A");

    public Set<String> getBars() {
        @SuppressForbidden
        Set<String> bars = Collections.singleton("Z");
        return bars;
    }

    public void setDate(@SuppressForbidden Date date) { }
}

The following annotations do suppress the second and third violations:
public class FooBar {
    private final Set<String> foos = Collections.singleton("A");

    @SuppressForbidden
    public Set<String> getBars() {
        Set<String> bars = Collections.singleton("Z");
        return bars;
    }

    @SuppressForbidden
    public void setDate(Date date) { }
}

And then, naturally, a single annotation at the class level suppresses all three violations:
@SuppressForbidden
public class FooBar {
    private final Set<String> foos = Collections.singleton("A");

    public Set<String> getBars() {
        Set<String> bars = Collections.singleton("Z");
        return bars;
    }

    public void setDate(Date date) { }
}

Conclusion
I suppose the ultimate question is, are suppression annotations supposed to work on anything other than classes and methods? The maven documentation states "...Those annotations must have at least RetentionPolicy.CLASS. They can be applied to classes, their methods, or fields..." Based on the way that's worded, I can understand if the annotations aren't meant to work on local variables (bars) or method parameters (date) but it seems like it should work for the field (foos).
Can you provide some insight into this functionality? As mentioned at the top, we'd really like to be able to annotate a single field with this so we aren't accidentally suppressing the rest of the class that is not generated code but as it stands, we have to add the annotation to the class declaration for it to work.
Please let me know if you would like any clarification or need more information about our scenario.

Hi,
This unfortunately cannot be fixed.
The retention policy set to at least class or runtime is correct. This ensures that the annotation can be seen after compilation in class files. But this is correct in you case and hasn't anything to do with the problem at all.
Field initialization here is the main problem. Actually in classes there is no way to catch the right side of field declarations. The suppressions would only be visible for the declaration of the field. The right side is of field (initializer) is hidden by the java compiler behind a invisible method:

for static fields it is called static void clinit(). There is no way to add a suppression to this field. Workaround is to wrap the call into a method.
for instance fields you can add suppression to constructor of class.

In generat the workaround for field initialization is to add a static method that can get the suppression.
Sorry this is a limitation of class files format.

Actually there might be a way to identify those calls from byte code analysis by heuristics: any putfield opcode in constructor that has a line number different than the others might be a way to detect it. But this is very hard and depends on the internals of compiler and may break.

Unfortunate but totally understandable. Thankfully, the scenario I described is rare in our codebase and the annotation at the class level won't cause too many problems for us for these particular classes. Thanks for looking into this!


feat(getters): add example with illegal(?) getter modification

Should it be illegal to modify a ref created from getter?
This PR is an example related to https://github.com/vuejs/pinia/issues/1851

Thanks for the clear example. This one should fail at the typing level (See https://github.com/vuejs/pinia/issues/1852) not allowing you to set a getter. If you want, you can give it a shot!


fix: Anonymous access cannot be configured by deleting all permission…

What problem are we solving?
fix: Anonymous access cannot be configured by deleting all permissions, but anonymous access can be accessed after restarting, in this case "One-way, no switching" is broken
Sometimes it is convenient for testing such as test environments to enable anonymous access by removing all permissions, for example using JMeter
How are we solving the problem?
Remove the if judgment so that when isAuthEnabled can be changed from true to false
Checks

[ ] I have added unit tests if possible.
[ ] I will add related wiki document changes and link to this PR after merging.

this basically reverted the fix to prevent sometimes the authentication was disabled.

After the service is started, anonymous access is allowed if there is no configuration permission; if user permission is configured, subsequent requests must go through authentication; but even if all the configured permissions are cleared, anonymous access is not allowed. If you restart s3api at this time, then The restarted s3api can be accessed anonymously, which sometimes confuses users. If you want the entire cluster to take effect, you need to restart all s3s; I think it is better to give control to the user


Make ambiguities report as errors - b

Fix for #828

Also sent to the #k channel:
I only removed test 2 and 3, there is another one which tests for [Error] Compiler: Could not find main syntax module with name TEST-SYNTAX in definition.  Use --syntax-module to specify one. Using TEST as default.

@dwightguth please review.
I've added the test as you asked.
I also found a bug related to cached error messages.