[Compactor] panic: unexpected seriesToChunkEncoder lack of iterations

Thanos, Prometheus and Golang version used:
thanos, version 0.31.0 (branch: HEAD, revision: 50c464132c265eef64254a9fd063b1e2419e09b7)
  build user:       root@63f5f37ee4e8
  build date:       20230323-10:13:38
  go version:       go1.19.7
  platform:         linux/amd64

Object Storage Provider: S3
What happened:
Thanos compact throws panic: unexpected seriesToChunkEncoder lack of iterations and exists
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Full logs to relevant components:
Uncomment if you would like to post collapsible logs:
Logs

panic: unexpected seriesToChunkEncoder lack of iterations

goroutine 50 [running]:
github.com/prometheus/prometheus/storage.(*compactChunkIterator).Next(0xc000b56bd0)
	/go/pkg/mod/github.com/prometheus/prometheus@v0.42.0/storage/merge.go:753 +0x88c
github.com/prometheus/prometheus/tsdb.(*LeveledCompactor).populateBlock(0xc00091f260, {0xc00061a120, 0x2, 0x69?}, 0xc0003128f0, {0x2b54960, 0xc000562580}, {0x2b4dc80, 0xc000f63310})
	/go/pkg/mod/github.com/prometheus/prometheus@v0.42.0/tsdb/compact.go:771 +0x1488
github.com/prometheus/prometheus/tsdb.(*LeveledCompactor).write(0xc00091f260, {0xc000bc62c0, 0x37}, 0xc0003128f0, {0xc00061a120, 0x2, 0x2})
	/go/pkg/mod/github.com/prometheus/prometheus@v0.42.0/tsdb/compact.go:597 +0x64d
github.com/prometheus/prometheus/tsdb.(*LeveledCompactor).Compact(0xc00091f260, {0xc000bc62c0, 0x37}, {0xc0000b9fe0, 0x2, 0x4057e40?}, {0x0, 0x0, 0xc0008ea000?})
	/go/pkg/mod/github.com/prometheus/prometheus@v0.42.0/tsdb/compact.go:438 +0x225
github.com/thanos-io/thanos/pkg/compact.(*Group).compact.func3({0x2b5a648?, 0xc00113a960?})
	/app/pkg/compact/compact.go:1075 +0x4a
github.com/thanos-io/thanos/pkg/tracing.DoInSpanWithErr({0x2b5a648?, 0xc00113a960?}, {0x25ef5d1?, 0x2?}, 0xc000e91b48, {0x0?, 0xc000a6a240?, 0x0?})
	/app/pkg/tracing/tracing.go:82 +0xd0
github.com/thanos-io/thanos/pkg/compact.(*Group).compact(0xc001585680, {0x2b5a648, 0xc00113a960}, {0xc000bc62c0, 0x37}, {0x2b42f20, 0xc0005f9bc0}, {0x2b4db40, 0xc00091f260})
	/app/pkg/compact/compact.go:1074 +0xcab
github.com/thanos-io/thanos/pkg/compact.(*Group).Compact.func2({0x2b5a648?, 0xc00113a960?})
	/app/pkg/compact/compact.go:775 +0x65
github.com/thanos-io/thanos/pkg/tracing.DoInSpanWithErr({0x2b5a5a0?, 0xc000666000?}, {0x25fcb34?, 0x9?}, 0xc000e91e30, {0xc000cc2d80?, 0x43cba7?, 0xc000e91d80?})
	/app/pkg/tracing/tracing.go:82 +0xd0
github.com/thanos-io/thanos/pkg/compact.(*Group).Compact(0xc001585680, {0x2b5a5a0, 0xc000666000}, {0xc00089b8a0, 0x1b}, {0x2b42f20, 0xc0005f9bc0}, {0x2b4db40, 0xc00091f260})
	/app/pkg/compact/compact.go:774 +0x35c
github.com/thanos-io/thanos/pkg/compact.(*BucketCompactor).Compact.func2()
	/app/pkg/compact/compact.go:1250 +0x165
created by github.com/thanos-io/thanos/pkg/compact.(*BucketCompactor).Compact
	/app/pkg/compact/compact.go:1247 +0x935

Anything else we need to know:
        - args:
            - compact
            - --log.level=info
            - --log.format=logfmt
            - --http-address=<IP_ADDRESS>:10902
            - --objstore.config-file=/etc/config/object-store.yaml
            - --data-dir=/var/thanos/compact
            - --consistency-delay=30m
            - --retention.resolution-raw=30d
            - --retention.resolution-5m=180d
            - --retention.resolution-1h=1y
            - --compact.concurrency=1
            - --wait
            - --deduplication.replica-label=__replica__

also tried with vertical compaction enabled on another environment and still seeing the same panic
        - args:
            - compact
            - --log.level=info
            - --log.format=logfmt
            - --http-address=<IP_ADDRESS>:10902
            - --objstore.config-file=/etc/config/object-store.yaml
            - --data-dir=/var/thanos/compact
            - --consistency-delay=30m
            - --retention.resolution-raw=30d
            - --retention.resolution-5m=180d
            - --retention.resolution-1h=1y
            - --compact.concurrency=1
            - --wait
            - --deduplication.replica-label=__replica__
            - --compact.enable-vertical-compaction
            - --delete-delay=0

Is this the same with the newest main version? Could you please try it? 0.31.0 is old :/

Hi @GiedriusS upgrading to the latest version didn't resolve the issue
thanos, version 0.32.4 (branch: HEAD, revision: fcd5683e3049924ae26a680e166ae6f27a344896)
  build user:       root@afb5016d2fc4
  build date:       20231002-07:45:12
  go version:       go1.20.8
  platform:         linux/amd64
  tags:             netgo

As per suggestions on Slack deduplication function was added as in our case applications are scraped by multiple Prometheus instances. This stopped errors from happening. However, it also seems to have caused issues with compaction now, as it's been stuck on a single block for more than 3 days now. Current configuration is below
        - args:
            - compact
            - --log.level=debug
            - --log.format=logfmt
            - --http-address=<IP_ADDRESS>:10902
            - --objstore.config-file=/etc/config/object-store.yaml
            - --data-dir=/var/thanos/compact
            - --consistency-delay=30m
            - --retention.resolution-raw=30d
            - --retention.resolution-5m=180d
            - --retention.resolution-1h=1y
            - --compact.concurrency=1
            - --wait
            - --deduplication.replica-label=__replica__
            - --deduplication.func=penalty
            - --compact.enable-vertical-compaction
            - --delete-delay=168h

However, it also seems to have caused issues with compaction now, as it's been stuck on a single block for more than 3 days now.

What's the reason of the block stuck? Did you see any error?

Hey - I've also seen a similar error on 0.32.4
{"caller":"compact.go:708","level":"info","msg":"Found overlapping blocks during compaction","ts":"2023-11-17T22:56:51.255652657Z","ulid":"01HFFR0H1PS6EWAP1ARPPZ4ZG8"}
panic: unexpected seriesToChunkEncoder lack of iterations

goroutine 289 [running]:
github.com/prometheus/prometheus/storage.(*compactChunkIterator).Next(0xc000274b40)
	/go/pkg/mod/github.com/prometheus/prometheus@v0.46.1-0.20230818184859-4d8e380269da/storage/merge.go:753 +0x870
github.com/prometheus/prometheus/tsdb.DefaultBlockPopulator.PopulateBlock({}, {0x2d0f3a8, 0xc000789440}, 0xc0008c1500, {0x2cf1be0, 0xc0006ae0c0}, {0x2d00380, 0xc0000d9cc0}, 0xc000012448?, {0xc00143c040, ...}, ...)
	/go/pkg/mod/github.com/prometheus/prometheus@v0.46.1-0.20230818184859-4d8e380269da/tsdb/compact.go:781 +0x1472
github.com/prometheus/prometheus/tsdb.(*LeveledCompactor).write(0xc0006c3860, {0xc00106c0f0, 0x29}, 0xc000806bb0, {0x2cfa620, 0x431d070}, {0xc00143c040, 0x2, 0x2})
	/go/pkg/mod/github.com/prometheus/prometheus@v0.46.1-0.20230818184859-4d8e380269da/tsdb/compact.go:601 +0x6db
github.com/prometheus/prometheus/tsdb.(*LeveledCompactor).CompactWithBlockPopulator(0xc0006c3860, {0xc00106c0f0, 0x29}, {0xc00081a340, 0x2, 0x2d28040?}, {0x0, 0x0, 0xc0001ec380?}, {0x2cfa620, ...})
	/go/pkg/mod/github.com/prometheus/prometheus@v0.46.1-0.20230818184859-4d8e380269da/tsdb/compact.go:442 +0x6bb
github.com/thanos-io/thanos/pkg/compact.(*Group).compact.func3({0x2d0f3a8, 0xc001c22420})
	/app/pkg/compact/compact.go:1137 +0x125
github.com/thanos-io/thanos/pkg/tracing.DoInSpanWithErr({0x2d0f3a8?, 0xc001476270?}, {0x277957c?, 0x2?}, 0xc0010a5aa0, {0x0?, 0xc000ebc500?, 0x1?})
	/app/pkg/tracing/tracing.go:82 +0xd0
github.com/thanos-io/thanos/pkg/compact.(*Group).compact(0xc000bbc8c0, {0x2d0f3a8, 0xc001476270}, {0xc00106c0f0, 0x29}, {0x2cf4280, 0xc000789770}, {0x2d07640, 0xc0006c3860}, {0x2cfa920, ...}, ...)
	/app/pkg/compact/compact.go:1132 +0x10ad
github.com/thanos-io/thanos/pkg/compact.(*Group).Compact.func2({0x2d0f3a8?, 0xc001476270?})
	/app/pkg/compact/compact.go:830 +0xd7
github.com/thanos-io/thanos/pkg/tracing.DoInSpanWithErr({0x2d0f300?, 0xc0008186e0?}, {0x2787486?, 0x9?}, 0xc0010a5e10, {0xc0000c60d0?, 0x40e227?, 0x58?})
	/app/pkg/tracing/tracing.go:82 +0xd0
github.com/thanos-io/thanos/pkg/compact.(*Group).Compact(0xc000bbc8c0, {0x2d0f300, 0xc0008186e0}, {0xc0002662a0, 0xd}, {0x2cf4280, 0xc000789770}, {0x2d07640, 0xc0006c3860}, {0x2cfa920, ...}, ...)
	/app/pkg/compact/compact.go:829 +0x3cc
github.com/thanos-io/thanos/pkg/compact.(*BucketCompactor).Compact.func2()
	/app/pkg/compact/compact.go:1373 +0x18a
created by github.com/thanos-io/thanos/pkg/compact.(*BucketCompactor).Compact
	/app/pkg/compact/compact.go:1370 +0x90a

When searching for 01HFFR0H1PS6EWAP1ARPPZ4ZG8 in bucket web nothing shows up. I also can't see a directory with that name within the object bucket

Hi, thanks for all the bug report. I wonder if it is possible for someone to share the problematic block since I don't have a good way to reproduce this issue locally. Please let me know. You can reach out to me on Slack.

Seeing this panic on v0.34.0 as well. Also don't see the ulid from the logs in the actual bucket and thanos tools bucket verify --log.level=debug --issues=overlapped_blocks against the bucket doesn't show anything.
Would be happy to provide data if I knew how to find the correct blocks.

Hey @bison I think I narrowed this down to thanos trying to do vertical compaction on already compacted blocks - this could be the case if you've not previously had vertical compaction enabled
If you want to try a hacky fix, you can try disabling compaction for all the blocks before you enabled compaction
(Thats presuming we have the same issue - it could be something different)

Hi @vCra, thanks for the investigation.

I think I narrowed this down to thanos trying to do vertical compaction on already compacted blocks - this could be the case if you've not previously had vertical compaction enabled

It is interesting to know that. How did you fugure this out? Ideally it shouldn't matter to compact whether blocks already compacted or not.

@vCra wow thanks, that's exactly what's happening. Just upgraded this stack and vertical compaction got enabled where it wasn't before. Now the first time the compactor encounters two previously compacted blocks at 5m resolution, it panics. If I mark the same blocks (and all other similar blocks) with no-compact, then compaction completes.

How did you figure this out?

I'm only guessing that this is the issue - compactor kept crashing, and I noticed that we were managing to vertically compact all the new blocks without issue, but the old blocks were not getting vertically compacted - in bucketweb it was quite clear.
The issue was that no downsampling was happening - the count of downsample-todo kept on slowly increasing.
Looking at the logs was how we solved it - we though it could be 1 or two corrupted blocks, so I kept marking all these blocks as don't compact - we had a large backlog so it took a while, but I slowly started to see a pattern that it was only the old blocks that were having an issue.
Looking at bucket-web, we still have the old blocks, but just not vertically compacted - we don't care too much, as we won't use this data too frequently (10 is with vertical compaction)

The discussion in https://cloud-native.slack.com/archives/CK5RSSC10/p1681966324787459 helped too

I spotted this in prod. Looking into it :eye:


Grafana divide chart

Hello, please accept my improvement.
Summary
When you have many routes in kong, it is difficult to analyze the graph because there are many entries and disordered. Routes with value 0 take up a lot of space in the tooltip
Full changelog

Separate the route and service metrics into 2 panels, because with many routes it becomes difficult to read.
Sorting the tooltip in descending order to make the graph easier to read

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@PauloFerreira25 Please rebase.

@hbagdi done.


chore: bump tempfile v0.3.5 and time v0.2.23 to fix CVE-2020-26235 and run cargo update.

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

fix for https://github.com/KusionStack/KCLVM/security/dependabot/77 and https://github.com/KusionStack/KCLVM/security/dependabot/87
chore: bump tempfile v0.3.5 and time v0.2.23 to fix CVE-2020-26235 and run cargo update.

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
31 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-20.2%) to 67.79%

Files with Coverage Reduction
New Missed Lines
%

compiler_base/session/src/lib.rs
31
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
-20.2%

Covered Lines:
30485

Relevant Lines:
44970

💛  - Coveralls


Cart View

As a visitor, I want to see all of the products, so that I can choose one to get more details or add one to my cart right away

[ ] Cart React component
[ ] Cart sub-reducer


It asks me for authentication when registering

These are typically directed to the google group.
when I register, the server sends me a 401 Unauthorized, any way for the client to send the authenticated user again?
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP <IP_ADDRESS>:10060;rport=10060;branch=z9hG4bK434844
From: sip:davison_test@<IP_ADDRESS>;tag=31e9fhuq6q
To: sip:davison_test@<IP_ADDRESS>;tag=06e0bb78
Call-ID: 929r6convhdn24qobvui
CSeq: 2 REGISTER
Content-Length: 0
Via: SIP/2.0/TCP <IP_ADDRESS>:34119;branch=z9hG4bK434844;ws-hacked=WSS
WWW-Authenticate: Digest realm="<IP_ADDRESS>",nonce="1659021505:2897917711aeacdbe7804410e08ef540a012b7ed",stale=FALSE,algorithm=MD5

This is not the forum for support. Please try the google group. Thanks.


Jest tests pass but output is directed to stdErr

Even thought all the JEST tests pass, they are logged as [ERROR] in mvn output.
Jest is passing all output to Stderr
[ERROR]  PASS  tests/spec/MyComponent.spec.js (9.744s)
[ERROR]
[ERROR] Snapshot Summary
[ERROR]  › 2 snapshots written in 1 test suite.
[ERROR]
[ERROR] Test Suites: 5 skipped, 3 passed, 3 of 8 total
[ERROR] Tests:       10 skipped, 6 passed, 16 total
[ERROR] Snapshots:   2 added, 2 total
[ERROR] Time:        20.315s
[ERROR] Ran all test suites.

Any idea?

Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions. Thank you :)

It's possible that this is because Jest may choose to print to stderr, rather than stdout (when --json is given for example). You may be able to re-route where the test output is written to.

@cpojer Jest is using stderr this by default, even without --json or --useStderr


Add Amplitude to website

To-Do

[ ] Setup amplitude under the Compiler account
[ ] Add tracking events for form submissions, page views, clicks, etc.

Just FYI, there is Google Analytics set up for the site already.

@thekaveman @machikoyasuda Is there a benefit to having amplitude instead of Google Analytics on our website?

Probably not - Amplitude is more suited to tracking specific user flows and actions in something closer to an app; whereas Google Analytics is probably what we want for a mostly informational website.
We can still do GA events if we want to get more specific on e.g. clicks on a Job Apply link.

Ok, so we can close out this issue as we decided to stick with GA for now.


Ctrl key gets stuck when using Keyboard Manager with Alt key

ℹ Computer information

PowerToys version: v0.31.2
PowerToy Utility: Keyboard Manager
Running PowerToys as Admin: Yes
Windows build number: Version 20H2 (OS Build 19042.804)

📝 Provide detailed reproduction steps (if any)
Make a mapping like this
 . Use it for some time. I don't know at which event exactly, but it get's stuck for me in about 30-60 minutes of usage.
Pressing Ctrl + Alt + Del get's the Ctrl key unstuck.
✔ Expected result
The correct keys get invoked.
❌ Actual result
Eventually the Ctrl key gets stuck as if it's pressed, even though Ctrl isn't even used in the remap. I think this might be because you might be using a similar technique like https://www.autohotkey.com/docs/commands/_MenuMaskKey.htm to mask by using the Ctrl key when Alt or Win keys are being used in bindings.
📷 Screenshots
None.

I've run into this with remapping a numeric keypad 1 to shift, the shift key press gets inverted after the first press. Shift is always on unless I'm holding down keypad1. pressing the actual left shift key resets it to the proper state.

Here to leave a +1.
Bought a cheap usb number pad, with clear key caps, and after a few presses working, everything stops and the number pad starts acting like a direction pad.
.... only realized it was because CTRL and SHIFT were being held. Pressing them on the keyboard clears this temporarily, but it makes using powertoys for remapping things like mute / mic mute / etc impossible.
In my case, there are no ctrl/alt/etc in the "from" mapping. However I have several ctrl+alt, or ctrl+shift, or win+shift in the "to" mappings, which seem to cause this quite easily. Just a single press on the keypad will cause the ctrl and or shift to stick.

Ongoing problem with 0.67 - I used Keyboard Manager to bind Super (or Windows key) to Alt+Space and whenever I leave it for long enough, the Super key gets stuck in a pressed-down state software-wise. Any key I press from there on invokes (mostly) Shortcuts such as opening an Explorer window.
Navigating to PowerToys' Keyboard Manager tab via the mouse and turning it off then on releases the pressed key.

i use autohotkey, is there a fix for this?

i use autohotkey, is there a fix for this?

Just wanted to chip in that I've been have a similar issue as well.
When using Paste As Plain Text with a key bind such as Win + Shift + V on a Word document, the Shift key acts as if it's stuck on Windows as a whole, not just on the Word program. i.e. if I click on a taskbar program it acts as if I shift clicked.
This behaviour remains until I lock Windows or press Ctrl + Alt + Delete.
It doesn't appear to cause an issue on my browser however. Hopefully this information helps in narrowing down the cause.
This is on PowerToys version 0.70.1, Windows 11.

Is this issue still relevant in v0.73? /needinfo

Unfortunately I no longer have the devices I was using power toys with after all this time. I will test with a new device on the new build if I get a replacement but this can close for now if nobody else can reproduce.

From: microsoft-github-policy-service[bot] @.>
Sent: Monday, September 25, 2023 3:39 PM
To: microsoft/PowerToys @.>
Cc: vantaclaus @.>; Comment @.>
Subject: Re: [microsoft/PowerToys] Ctrl key gets stuck when using Keyboard Manager with Alt key (#9778)
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerToys/issues/9778#issuecomment-1734559400, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC5LZERWJDJC4FSGFZIZGQDX4IB23ANCNFSM4XZ2BKHA.
You are receiving this because you commented.Message ID: @.***>


Sort entries by date modified at the top

Solution: https://github.com/yoha/Notes/commit/eda2f2e81bc0d1b4feab9b100bfc2b047f500f9c

When creating new note, it's placed on the top of the table view but not when an existing note is saved. It stays where it is when it should have moved to the top.

Solution: https://github.com/yoha/Notes/commit/13d6633fdf2594f84a9506bafac3616956341ef5


fix(types): useQueries to also handle array-params with typed QueryKey

Relates to discussion https://github.com/tannerlinsley/react-query/discussions/3242, and very similar to PR https://github.com/tannerlinsley/react-query/pull/3214 - this update ensures we also pass down the QueryKey type when working with regular array parameters (i.e. not a variadic tuple), making it easier to create wrappers around useQueries.

thank you 🙏

:tada: This PR is included in version 3.34.14 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.0-alpha.10 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


support https healthcheck

can not use  https healthcheck

+1

+1

:+1:

👍

@gaetanfl I have followed your commit, there may be some extra catches you may want to add to the code: https://github.com/openresty/lua-resty-upstream-healthcheck/pull/36/files for example, Shopify has done the TLS logic before too it seems we can use some of its catches.

Thanks a lot I will add a commit to my PR to fix the socket leak.
I'm not sure how to implement session reuse in particular session storage between runs so I prefer not to add it.
Not sure if it's a good idea to implement right now ssl verification bypass or special hostname. I prefer to keep it simple and add later.

@gaetanfl agree with yah there, Just was going to drop in that PR reference as well for ideas for the Kong team to mull over some too. I am just interested in this PR and looking forward to the addition of TLS for health checks for my personal use so thanks for your time committing to add it!

This is now implemented via #11! Thank you @gaetanfl!

Sorry for using this closed issue, but will there be a new luarocks release including this test type in the near future ? I already use the http test and would like to avoid switching from luarocks to installation from source

@CodingMinds thanks for the nudge! lua-resty-healthcheck 0.5.0 is now on LuaRocks!

@hishamhm Will 0.5.0 make it to the Kong next branch? I see the rockspec pointing to
"lua-resty-healthcheck == 0.4.2",

Hoping we can get https checks working in next Kong branch for some good POC testing of Kong as the gateway + load balancer functionality!
Thanks.

I made a PR on Kong repo: https://github.com/Kong/kong/pull/3675


Meteor: Failed to decode downloaded font

I am getting the following warnings:
Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/dist/font/roboto/Roboto-Regular.woff2 (index):1 OTS parsing error: invalid version tag (index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/dist/font/roboto/Roboto-Regular.woff (index):1 OTS parsing error: invalid version tag (index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/dist/font/roboto/Roboto-Regular.ttf (index):1 OTS parsing error: invalid version tag
These are the packages I have installed in the project:
accounts-password          1.1.3* Password support for accounts
aldeed:autoform            5.7.1  Easily create forms with automatic in...
aldeed:collection2         2.5.0  Automatic validation of insert and up...
autopublish                1.0.4  (For prototyping only) Publish the en...
blaze-html-templates       1.0.1  Compile HTML templates into reactive ...
cfs:gridfs                 0.0.33  GridFS storage adapter for CollectionFS
cfs:s3                     0.1.3  Amazon Web Services S3 storage adapte...
cfs:standard-packages      0.5.9  Filesystem for Meteor, collectionFS
check                      1.0.6* Check whether a value matches a pattern
ecmascript                 0.1.5* Compiler plugin that supports ES2015+...
ejson                      1.0.7  Extended and Extensible JSON library
email                      1.0.7* Send email messages
fortawesome:fontawesome    4.4.0  Font Awesome (official): 500+ scalabl...
fourseven:scss             3.3.3_3  Style with attitude. Sass and SCSS ...
insecure                   1.0.4  (For prototyping only) Allow all data...
iron:router                1.0.12  Routing specifically designed for Me...
jquery                     1.11.4  Manipulate the DOM using CSS selectors
limemakers:three           0.71.0+ Three.js core library + several usef...
logging                    1.0.8  Logging facility.
materialize:materialize    0.97.2+ Materialize (official): A modern res...
meteor-base                1.0.1  Packages that every Meteor app needs
meteortoys:allthings       2.1.3  Insanely Handy Development Tools for ...
mobile-experience          1.0.1  Packages for a great mobile user expe...
mongo                      1.1.2* Adaptor for using MongoDB and Minimon...
polguixe:meteor-datgui     0.5.1_4  meteor-datgui is a wrapper for mete...
random                     1.0.4* Random number generator and utilities
reload                     1.1.4  Reload the page while preserving appl...
session                    1.1.1  Session variable
spacebars                  1.0.7  Handlebars-like template language for...
standard-minifiers         1.0.1* Standard minifiers used with Meteor a...
tracker                    1.0.9  Dependency tracker to allow reactive ...
useraccounts:iron-routing  1.12.4  UserAccounts package providing route...
useraccounts:materialize   1.12.4  Accounts Templates styled for Materi...
Anyone experiencing the same problem?

1+ Yes same issue  Version 97.2.

+1 same

The problem seems to be with addition of local() in this commit: ce169cb

Has the same problem. Solved it changing the package.js file.
The changes I made:

In var assets = [...] add dist/ before font to fonts' paths (around line 16)

PS: I'm using the git version of materialize because it's not working from atmosphere.

I've just put all Materialize (css, font and js) folders at meteor public folder and removed materialize:materialize package.

I'm using the git version of materialize also. I've just put the font folder in public folder and it worked.

Looks like the newest version just went live on Atmosphere (0.97.2) without resolving this issue.

created a PR with @FelipeRosa fix - https://github.com/Dogfalo/materialize/pull/2272

We are not very experienced with meteor. Can we get more confirmation that this is a working fix?

As the above error hints, the font files are being searched in the dist/fonts folder, but in package.js the font files added are from the top level fonts folder.
The package.js file contains all the "asset" files that need to be added to the package. Only those files are then available to Meteor. Since in package.js font was being used instead of dist/font, Meteor was unable to access dist/font as given in the url.
So I have modified those paths in package.js. It resolves this issue.

@s7dhansh This fixed it for me

Hi, sorry, which package.js file are you looking at?

I've uploaded Materialize Parallax Template packed to Meteor to GitHub.
https://github.com/rhkina/meteor-materialize-parallax-template
Original Materialize Parallax Template demo: http://materializecss.com/templates/parallax-template/preview.html
Meteor Materialize Parallax Template demo: http://meteor-materialize-parallax.meteor.com/

This should've been fixed in the latest release. I'll keep this issue open in case there are still issues with the fonts.

Materialize v0.97.3
I am still getting this issue.

@shatyajeet-hk can't reproduce. Can you please check your version in .meteor/versions?

I am still getting this, meteor 1.2.1

@mato75 your materialize version?

the same issue. Worked fine before updating to Meteor 1.4
Meteor 1.4
<EMAIL_ADDRESS><EMAIL_ADDRESS>Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Medium.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Medium.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Medium.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Thin.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Thin.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Thin.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Light.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Light.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Light.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Light.woff
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Light.woff
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Light.woff
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.ttf

I also have the same issue in Meteor 1.4. Since everywhere I go it says that I have nothing to do, what's the fix for this?

@yanickrochon I have solved it by rolling back materialize:materialize package to version 0.97.6.

@bruceLeeOfMeteor I tried to run
meteor add<EMAIL_ADDRESS>but it returns
materialize:materialize  added, version 0.97.7
do you know why?

@do-n-khanh Use @= instead of just @

Rolling back to 0.97.6 fixed for me as well (Meteor 1.4), thanks. Would be nice of course to have it working on the latest version.

@do-n-khanh type the following:
meteor remove materialize:materialize
meteor add<EMAIL_ADDRESS>

@Pugio Glad it helped!

Thanks, just a fyi you spelled materialize wrong @bruceLeeOfMeteor .

This is still an issue.
<EMAIL_ADDRESS>Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Bold.woff2
discussions:1 OTS parsing error: invalid version tag
discussions:1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Bold.woff
discussions:1 OTS parsing error: invalid version tag
discussions:1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Bold.ttf
discussions:1 OTS parsing error: invalid version tag

Thank @Pugio and @bruceLeeOfMeteor
working fine for me.

Confirming same issue with version 0.97.7.
Version 0.97.6 works fine

+1 the issue is introduced in 0.97.7

Same issue here!

Issue still on<EMAIL_ADDRESS>

Same issue! version 0.97.7

+1. Issue on 0.97.7

Still!  v0.97.7 +  0.97.8

+1 for 0.97.8 downgrading 0.97.6 will work

@PeuKaa I don't want to downgrade ;D

This is still an issue for v0.97.7 and 0.97.8.

Still an issue

Still an issue

Gotcha! Found the issue. Boom. Yeah. wuuuuuhu 🤗 . The issue is that in the _variables.scss file $roboto-font-path: "../fonts/roboto/" !default; But in the packages.js they look for 'dist/fonts/roboto/Roboto-Bold.ttf', . So you have to change either the path in the packages.js to '/fonts/roboto/Roboto-Bold.ttf', or the fonts path in the _variables.scss to $roboto-font-path: "../dist/fonts/roboto/" !default;

Where is the packages.js file?
Best,
Adam M. Moisa
On Tue, Dec 13, 2016 at 1:10 PM, Tom<EMAIL_ADDRESS>wrote:

Gotcha! Found the issue. Boom. Yeah. wuuuuuhu 🤗 . The issue is that in
the _variables.scss file $roboto-font-path: "../fonts/roboto/" !default;
But in the packages.js they look for 'dist/fonts/roboto/Roboto-Bold.ttf',
. So you have to change either the path in the packages.js to
'/fonts/roboto/Roboto-Bold.ttf', or the fonts path in the_variables.scss
to $roboto-font-path: "../dist/fonts/roboto/" !default;
—
You are receiving this because you commented.

Clone the materialize repo into the /packages folder inside your project folder.
Via shell:
cd /path/to/YOURPROJECTFOLDER
mkdir packages
cd packages
git clone https://github.com/Dogfalo/materialize.git

Then open this file inside the materialize folder in your packages folder.

and change
  name: 'materialize:materialize',  // http://atmospherejs.com/materialize/materialize

to something like this:
  name: 'tomscholz:materialize',  // http://atmospherejs.com/materialize/materialize

Then run:
meteor remove materialize:materialize
meteor add tomscholz:materialize

Than follow the instructions here: https://github.com/Dogfalo/materialize/issues/2217#issuecomment-266815687
And when your PR will be accepted I can run:
meteor remove tomscholz:materialize
meteor add materialize:materialize

et voilà

I created a branch on my fork with all fixes for all the bugs I now that are happening when using materialize with meteor.
You can now clone this branch into your packages folder and rename the packages name in the packages.js described above.
cd /path/to/project/
git clone https://github.com/tomscholz/materialize.git --branch make-metor-great-again --single-branch packages/materialize/

Then open this file inside the materialize folder in your packages folder.

and change
  name: 'materialize:materialize',  // http://atmospherejs.com/materialize/materialize

to something like this:
  name: 'tomscholz:materialize',  // http://atmospherejs.com/materialize/materialize

And finally run:
meteor remove materialize:materialize
meteor add tomscholz:materialize

https://github.com/Dogfalo/materialize/issues/2217#issuecomment-268100489

"make-metor-great-again" it's funny

@Dogfalo I'm up to date with 0.98.0 installed from Meteor Atmosphere. Is there a reason I'm still seeing this warning?

I installed npm version and everything's working seamlessly. Meteor plans to depreciate Atmosphere in favor of npm in any way.

@NitroBAY can you give more details about how you did imports etc?

Sure,
I did npm i --save materialize-css. I use sass so I had two choices : either in my import.scss (or whatevernameyouwant.scss) in my /client folder do @import "../node_modules/materialize-css/sass/materialize.scss" but there's another possibility if you want to import only certains sass modules. You put materialize.scss in your client, or you put materialize.scss in /imports and you import it in a .scss file from /client. In the file that you copy paste from node_modules/materialize-css/sass/materialize.scss or from the git repo you replace every single @import "components/" by @import {}/node_modules/ or @import ../node_modules (you put as much as ../ as you need to access from materialize.scss to the root folder). After that you can import only sass modules you want.
I hope I was clear enough.

@NitroBAY I'm struggling with this
I can't seem to use @import while using the NPM bundle. Any tips?
While processing files with fourseven:scss (for target web.browser):
/client/style.scss: Scss compiler error: File to import: {}/node_modules/materialize-css/sass/materialize.scss not found in file: /client/style.scss

Was having the same issue with 0.98.1. This worked for me.
@import '../../node_modules/materialize-css/sass/materialize.scss';

Hi everyone, I am having this same issue now with<EMAIL_ADDRESS>It's been exactly two years since this issue was first reported, why are we still seeing this issue? How to fix this?


Move from spatstat.core to spatstat.model.

FYI: There was a typo in the commit message. The new package is named spatstat.explore (it is correctly written in the PR code, so you can safely accept as it is).

Move from spatstat.core to spatstat.explore


Trouble adding asDataSet to project.

I am unable to fix this.  I've tried removing and adding from nuget package manager.  Any suggestions?
Assembly 'ExcelDataReader.DataSet' with identity 'ExcelDataReader.DataSet, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=93517dbe6a4012fa' uses 'ExcelDataReader, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=93517dbe6a4012fa' which has a higher version than referenced assembly 'ExcelDataReader' with identity 'ExcelDataReader, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=93517dbe6a4012fa'

Thanks for the reply andersnm.  I finally had some luck.  I noticed no exceldatareader.dll in bin directory even though I had uninstalled / re-installed exceldatareader via nuget several times.  I did find one in an appdata directory.   I started looking for settings for nuget and stumbled upon "clear all nuget package cache(s)" in VS2017.  I clicked this, uninstalled / reinstalled exceldatareader packages and viola.  dll's where they should be and I was able to build without issue.
What a hassle.  i'm not sure what went wrong, but this issue caused me some headaches :)
This had nothing to do with ExcelDataReader.  So, I apologize for posting here!
Thanks again!


Removed dependency on mocha-logger.  Defaulting to console.

Fixes #1299

Pull Request Test Coverage Report for Build 153387

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 82.751%

Totals

Change from base Build 152653:
0.07%

Covered Lines:
14713

Relevant Lines:
16901

💛  - Coveralls

Pull Request Test Coverage Report for Build 153386

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 82.684%

Totals

Change from base Build 152653:
0.002%

Covered Lines:
14704

Relevant Lines:
16901

💛  - Coveralls


Updating github repo link

I have to update my github repo link for the project in registration, so what should I do?
Should I fork and add a PR?

I have to update my github repo link for the project in registration, so what should I do?
Should I fork and add a PR?

Team : "TheGlitch"

@avats-dev , No need to resend the PR. Renaming the Github repo to the older name will solve the issue.  The name you used is not occupied by other instantly

@avats-dev , Do Ping within this thread if the issue has resolved.

I have renamed my repo as before, and so issue is resolved. Thanks @Uyadav207 for the help.


Right click in File Explorer to Copy/Move file(s) to folder

Description of the new feature / enhancement
Add a shortcut to the popup menu when right clicking a file in File Explore to copy or move the file(s) to a folder.
A fixed (or customizable) number of recent folders can be shown.
A set of fixed (favorite) folders can be shown
Scenario when this would be used?
Quickly move a single file or a set of files to an often used folder.
For example:

moving a download (from the Downloads folder) to a specific project folder.
moving a project file to a predefined archive folder
copying a file to a shared folder

Supporting information
No response

Sounds alot like the options available in the Explorer ribbon. And the shell:sendto folder, where you can add custom shortcuts.

actually, /dup #139


"video" word before description

There is the word "video" in front of my description which is added each time I upload a video.
However, it does not add it during my tests.
For example if my description is "tata" then the upload will be done correctly but when I go to Tiktok in the description of my video it will be indicated: "videotata"

I ended up finding out about this issue recently as well. The code clears the field with Selenium's element.clear method.
This ends up not working when the computer is asleep for some reason.
Going to try and execute a javascript command and see if that ends up fixing things.

video being in front of your description comes directly from the filename which overwrites the description box as soon as it is uploaded.
However, filling the box with a description first prevents this when I upload the video manually.
I am not sure if this will work when automated, but it is definitely something I will look into over the next few days.

video being in front of your description comes directly from the filename which overwrites the description box as soon as it is uploaded.
However, filling the box with a description first prevents this when I upload the video manually.
I am not sure if this will work when automated, but it is definitely something I will look into over the next few days.

It's very clear, thank you for your answer. I will see if your solution works.

I found a workaround @wkaisertexas . It is no longer necessary to do a desc.clear(). You can use the code:
int_desc = len(description)
desc.send_keys(int_desc * Keys.BACKSPACE)
Good luck for the rest of the development, it's really great what you're doing.

I am about to release a new version which will have proper support for @'s, #'s and privacy settings.
React Selenium Issues shows how the clear function does not work well with react inputs.

@Devstored
v0.1.2 Fixes the issue of the filename persisting despite clearing. Additionally, it adds support for mentions and hashtags.
Thanks so much for the suggestions.


NA in covariates when removing covariates via PEER's remove covariates functions.

In the code provided by peers.
The covariates were removed based on a estimated QR:
# In this code, we'll repeatedly regress different Y against the same X
  # (covariates) in order to calculate residuals.  Rather that repeatedly
  # call lm to do this, we'll avoid recalculating the QR decomposition for the
  # covariates matrix each time by reusing it after calculating it once

When there is NA values in the covariates of one sample, QR for that particular sample will not exist. Preventing the covariates removal to be done.
This can be "fixed" by removing the samples with missing covariates. However, it is uncleared whether doing so is a good decision.

PS. In our orginal workflow, samples will not have missing covariates, as those will be filled by APEX/PEER, and no needs to remove .
PSS. The main feature from the PEER's remove covariates is that they calculate the residual from each gene expression, and use the QR while doing so.

For missing covariates, we have introduced 3 modes to handle them. See details in covariate_formatting notebook


⚠ Bofrost.be has degraded performance

In 30b9404, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1431 ms

Resolved: Bofrost.be performance has improved in b4489ec.


UPSTREAM: : local Dockerfile

Description

Reviewer Checklist

[ ] API Go Documentation
[ ] Tests: Unit Tests (and E2E Tests, if appropriate)
[ ] Comprehensive Commit Messages
[ ] Links to related GitHub Issue(s)

/assign @joelanford @ncdc


Remove Unit Default Test Run Data

As an ECMPS user, I want the ability to remove Unit Default Test Run data so that I can update data as needed
Acceptance Criteria:
Given I am in the Unit Default Test Run data section
When I click on the 'Remove' option for Unit Default Test Run Data
Then I see that the relevant Unit Default Test Run data record is deleted
Given I chose to remove Unit Default Test Run Data
When I click on the 'Remove' option
Then I see a message 'Are you sure you want to remove the selected data?'
And when I click Yes
Then the data is removed
And the update shall be reflected in the Unit Default Test data section
When I select Cancel
Then I am returned to the landing screen for Unit Default Test Data
Testing
Test Case: TC1184
Tester: @JanellC

TC1184 passed


Change Python installation location?

The caffe version of GNINA gets installed in /usr/local/python, which needs to be explicitly added to the path (as detailed in gnina/scripts). Wouldn't it be better to install it on the locations corresponding the the Python executable defined with  -DPYTHON_EXECUTABLE?

Fixed by #169 (I completely lost track of this issue, sorry).


Bug with incremental equivalence preprocessing

The following aspif program is not solved correctly if equivalence preprocessing is enabled:
asp 1 0 0 incremental
1 0 1 1 0 0
1 0 1 2 0 0
1 0 1 3 0 0
1 0 1 4 0 1 5
1 0 1 6 0 1 7
1 0 1 8 0 1 5
1 0 1 9 0 1 7
1 0 1 10 0 1 4
1 0 1 11 0 1 6
1 0 1 12 0 1 8
1 0 1 13 0 1 9
1 1 2 5 7 0 1 3
1 0 1 14 1 1 2 5 1 7 1
1 0 1 15 1 2 2 5 1 7 1
1 0 1 16 0 2 14 -15
1 0 0 0 2 3 -16
4 6 q(0,0) 1 4
4 6 q(0,1) 1 6
4 6 q(1,0) 1 8
4 6 q(1,1) 1 9
0
1 0 1 17 0 0
1 0 1 18 0 0
1 0 1 21 0 1 -19
1 0 1 22 0 1 -19
1 0 1 20 1 3 6 10 1 11 1 12 1 13 1 -21 1 -22 1
1 0 1 24 0 1 -19
1 0 1 25 0 1 -19
1 0 1 23 1 2 6 10 1 11 1 12 1 13 1 -24 1 -25 1
1 0 1 26 0 2 -20 23
1 0 0 0 1 26
1 0 0 0 1 -11
1 0 0 0 1 -13
1 0 0 0 1 10
1 0 0 0 1 12
0

This program was grounded using the following program:
#script (python)

import clingo

def main(control):
    # base
    control.ground([("base",[])])

    # solve
    control.solve()

    # add model and modified preference program
    model = 'h(q(0,1),1). h(q(1,1),1).'

    control.add("m1", [], model)
    control.ground([("m1",[])])
    control.ground([("preference", [])])

    # solve
    control.solve()

#end.

#program base.

#show q/2.
%#show h/2.

c(0..1).

1 { p(0..1) } 1.

q(C,P) :- p(P), c(C).

h(q(C,P),0) :- q(C,P).

#program preference.

:- h(X,0), not h(X,1).
:- not h(X,0), h(X,1).

:- #sum { -1,X : h(X,0); 1,X : h(X,1)} = 0.

Adding the preference program should make any program unsatisfiable. Compare
clasp bug.sm --eq=1
clasp version 3.3.3
Reading from bug.sm
Solving...
Answer: 1
q(0,1) q(1,1)
Solving...
Answer: 1
q(0,1) q(1,1)
SATISFIABLE

with
clasp bug.sm --eq=0
clasp version 3.3.3
Reading from bug.sm
Solving...
Answer: 1
q(0,1) q(1,1)
Solving...
UNSATISFIABLE

Interesting. Seems to be a regression introduced in version 3.2.0.
I'll try to look into it on the weekend.


[NPM] Fix enforcing DNS/HTTP/Kafka stats limit

What does this PR do?
Fix state tracking code in the network_tracer module so that the system_probe_config.max_dns_stats config is enforced.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[x] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[x] A release note has been added or the changelog/no-changelog label has been applied.
[x] Changed code has automated tests for its functionality.
[x] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[x] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Can we tell (and document in the PR description) what is the memory / cpu improvement from such a change?


Proper Frontend UX for lack of permissions

Instead of throwing basic 403's, make a custom landing page for forbidden that gives the user a link back home (OR potentially automatically redirects after 5 seconds or something??)

Also friendly 404 page for invalid post id!

What is the status of this? @FordMcLeod


Add dm_control example for SAC

This PR introduces the common squashed normal distribution for the SAC policy on dm_control and provides an example that solves the walker.walk task. Interestingly clipping the actions to the range [-1, 1] diverges.

@KristianHolsheimer How would you go about changing the installation script for this notebook to add dm_control as a dependency?

Perhaps it would be good to add install_extras={'box2d': [...], 'atari': [...], 'dm_control': [...]} in setup.py to avoid depending on all those envs by default. You would then have to install using e.g.
$ pip install coax[dm_control]

But for now I would just add it to requirements.txt. If it becomes an issue we can always separate them out later.

Sounds good  👍

Awesome, thanks!


Datepicker won't display days

On material-ui 0.14.2, the datepicker won't display the days.

It works if I add clear:both, to the days container.
Any idea how to fix this issue?

Mmm..the styling in that screenshot looks off in general. Is that the Roboto font? Are you importing that?

Okay, thanks @ethaMont. The theme shouldn't be a problem. If you could give us your project or code block and what browser you're using, we can try to reproduce when we get a chance.

Browser : Chrome Version 47.0.2526.106 (64-bit). Was able to reproduce it also on Safari.
I can't give access to the project unfortunately.
`
import React from 'react';
import DatePicker from 'material-ui/lib/date-picker/date-picker';
export default class dateTable extends React.Component {
render() {
return (

);
}
}
`

What is the datePicker css class doing? Have you tried removing it?

I tried to add a class to the element, but only add it to the div around the input text.
Removing doesn't solve the issue unfortunately...

Sorry, I don't mean the ES6 class, I mean the CSS class, or className prop more specifically. Your example pretty much is running on the docs site right now, are the DatePickers on the doc site working for you?
I also have chrome 47 and do not have a problem.

Yeah I tried to remove the className prop, but no luck.
I have the same issue on the docs site, but only on when the dialog is a portrait dialog. Locally I have the issue when it's portrait or landscape.
Only way for me to fix the issue is to add clear:both, or width:100% to the div that includes all the days

@ethaMont - what browser / version & OS / version?

@mbrookes
Chrome Version 47.0.2526.106 (64-bit)
OSX 10.11.2 (15C50)

Odd. I just tried the docs site with the same version of Chrome on both 10.0.5 and 10.11.x with no issues.

Same here...
@ethaMont I understand if you can't share the project. Though if you could make another small project/example that would help a lot.

Same here... If I disable the display:flex style it appears.

Is there any plan to fix this issue?


pantheon.switchboard: 6.0.0 -> 6.0.1

Description of changes
#170361
https://github.com/elementary/switchboard/releases/tag/6.0.1
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

pantheon.switchboard: 6.0.0 → 6.0.1

[ ] AppData typo: compatability → compatibility
[ ] l10n: Correctly setup the locales (#214)
[ ] Meson: remove positional arguments from i18n.merge_file (#226)
[ ] Update io.elementary.switchboard.appdata.xml.in
[ ] Release 6.0.1 (#229) Tagged: 6.0.1

@ofborg test pantheon

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

24 packages built:

pantheon-tweaks
pantheon.elementary-greeter
pantheon.switchboard
pantheon.switchboard-plug-a11y
pantheon.switchboard-plug-about
pantheon.switchboard-plug-applications
pantheon.switchboard-plug-bluetooth
pantheon.switchboard-plug-datetime
pantheon.switchboard-plug-display
pantheon.switchboard-plug-keyboard
pantheon.switchboard-plug-mouse-touchpad
pantheon.switchboard-plug-network
pantheon.switchboard-plug-notifications
pantheon.switchboard-plug-onlineaccounts
pantheon.switchboard-plug-pantheon-shell
pantheon.switchboard-plug-power
pantheon.switchboard-plug-printers
pantheon.switchboard-plug-security-privacy
pantheon.switchboard-plug-sharing
pantheon.switchboard-plug-sound
pantheon.switchboard-plug-wacom
pantheon.switchboard-with-plugs
pantheon.wingpanel-applications-menu
pantheon.wingpanel-with-indicators


KAFKA-10466: Allow regex for MaskField SMT to replacement

Goal
Allow regex for MaskField SMT to replacement
Details
The existing org.apache.kafka.connect.transforms.MaskField SMT allow to masking with literal replacement. This PR introduces addtional config param regex, which will be applied to match for replacement.
example config :
transforms=IPMask
transforms.IPMask.type=org.apache.kafka.connect.transforms.MaskField$Value
transforms.IPMask.fields=ipAddress
transforms.IPMask.replacement=$1.$2.xxx.xxx
transforms.IPMask.regex=(\\d*)\\.(\\d*)\\.\\d*\\.\\d*

example input & output :
# input
{    "no" : 1, "name" : "who", "ipAddress" : "<IP_ADDRESS>" }

# output
{    "no" : 1, "name" : "who", "ipAddress" : "123.45.***.***" }

Restrictions :

only string values ar supported
regex is ignored when replacement is not set up.

if regex config is set without replacement config, the regex config is ignored. and then field value will be replaced with null value.
transforms=RegexMask
transforms.RegexMask.type=org.apache.kafka.connect.transforms.MaskField$Value
transforms.RegexMask.fields=message
transforms.RegexMask.regex=^.*

Testing

Unit tests are provided.

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

please review this :) 🙏

Hey @daehokimm, I'm thinking that the maintainers would be more inclined to review your PR if the build errors were resolved. I went ahead and fixed the build errors at my branch here- pull from it if you have time. If not, I can push the changes (I just need push permissions to your branch).


[Dev UX] Show Issuer Information in App

Show some more information for the developer in the App Detail view:

Configuration URL
Issuer URL
Authorization Endpoint (for people using OAuth 2.0 and not directly OpenID)
Token Endpoint (for people using OAuth 2.0 and not directly OpenID)
JWK's URI (for people using the JWKs directly)

This makes absolut sense 😁
@fgerschwiler @adlerhurst @peintnermax do we need to extend the API for this or should we solve this in the UI alone?
I think it would be sufficient to solve this within console for now.

@fforootd @peintnermax

I added zitadel docs request in management api, in this request you get issuer and discovery endpoint

authorize, token, keys endpoint we should get from discovery endpoint

management, auth and admin endpoints are already configured in console

we should show all of them in console on an application (dev information)

we added issuer and discovery endpoint to the appconfiguration
all other endpoints (managementapi, adminapi, authapi) will be in the docs as soon as we have some

This is documented and also shown in the gui
We will however improve things again in the close future

OIDC Docs for ZITADEL


Update Board Support Package to support Raspberry Pi 4

Raspberry Pi 4 uses a newer SoC compared to Raspberry Pi 3, so you'll need to write a new BSP for this chipset.

it looks like this project is no longer maintained by Microsoft according to the main Readme.md.
> "This BSP repository is under community support"

We may never see Raspberry Pi 4 support for Windows 10 IoT Core, unfortunately...

@crpietschmann I might give this a shot since I am a madman and I like a challenge.
Do we have documentation to port BSPs?

Question1: what is a BSP?
Question2: why doen't we just look at the raspberrian source and build the BSP ourselves?

@minecraftchest1 BSP is short for "Board Support Package", an exclusive package to run Windows on ARM devices. These usually contain drivers
And sadly, I don't have access to source code for RPi Firmware, so we have to eyeball it using the documentation. Drivers are written in pure C, please refer to the Raspberry Pi 3 BSP.

Look under github.com/raspberrypi for the source.

@minecraftchest1 Like I said, Firmware is closed source. The only thing we can eyeball for drivers is the documentation.
I already know the repo, no need to link it :/

I just looked at the rep. and read the description. My apologies.

What do we need to migrate IoT core to raspberryp4 though?

Could we use some of the code from userland?

Could we use some of the code from userland?

No.

The firmware is closed source but it is made by RPI foundation/company, right? If that is truth, theoretically they can release the firmware for the updated board and the drivers for Windows 10 IoT that comes from this repo can be follow after it, right?
As far as I know, you can customize Windows 10 IoT and create custom images using different BSPs as long as the OS arch is the same as the CPU underneath...
Can anyone confirm that?

I was thinking we can see if we can get the firmware binaries to work with the BSP
Sent from my T-Mobile 4G LTE Device

@minecraftchest1 I think the firmware binaries wouldn't work because we will need to port it to be based on Windows Driver Foundation (WDF). That's how drivers work on Windows including this Windows 10 IoT Core version.
so basically what we will need to do to make Windows 10 IoT Core to support RPi 4 is to take a look and see what chips are used by RPi 4 and we modify their Linux drivers to be compatible with WDK, compile, pack them into BSP, build Windows 10 IoT Core image with this new BSP.

I started to fork the Repository so I can begin the preliminary work on the drivers. If anyone's willing to help let me know.
What I've discovered so far is:

CPU and GPU interface wise, there has been no difference according to documentation, so we might just redefine them so it points properly for the new Broadcom chip.

WiFi/BT is something I'll investigate since RPi has made no documentation for those other than the Mailbox interface they introduced.

https://community.cypress.com/servlet/JiveServlet/download/14597-7-34098/cypress-fmac-v4.12-2018_0205.zip
This zip archive has a readme with additional information about the linux driver.  I'm trying to get my head around this.  Do the linux drivers leverage the driver that was provided for the linux platform from the silicone manufacturer? If they do, it seems like we have a long row to hoe, as the Manufacturer has no plans to provide "Drivers" for windows 10 or windows 10 IOT.

@KenD123 I think we can ask the @raspberrypi people to help us with this since this requires direct support with them.

from https://www.raspberrypi.org/forums/viewtopic.php?f=105&t=259249
(last post)
"I'm Trading rather than Foundation, but as far as I know, we do not intend to do a BSP for Win10 for the Pi4. Apart from a lack of any real profit motive, we have limited staff available and none with Win10IoT experience, and what staff we do have are pretty busy on more important stuff. We would probably be happy supporting MS with advice if they wanted to do it, but that would be the limit of our involvement.
I suspect that a BSP could be written by a third party experienced in it, using any existing one from earlier versions, and with help from the forums and the Linux source code."

I wonder if we should start a campaign to ask Raspberrypi to ask Cypress to develop drivers for W10 IOT.

I can't get the repository to compile in VS2019 community.  I keep getting 17 errors (Spectre-migrated libraries are required) but I feel like Ive added every library that it could be asking about. Can somebody hold my hand for a minute? Thanks

This is what I've been trying
https://github.com/ms-iot/rpi-iotcore/pull/54/commits/62e5d975017e30bf9422cc2a1abce4207b848ebe

@KenD123  I was able to build without issues, but I also pulled changes from that pull request(https://github.com/ms-iot/rpi-iotcore/pull/54) whose commit you mentioned. I installed all toolchains for ARM, and also the latest WDK.

Thanks nithinmanne, I'm not quite there but I'm a lot closer. I needed these two "individual components
"  as well .https://blog.csdn.net/qq_34842360/article/details/100764245. Now I have missing include directories.  I'm not sure how to "pull" changes but I bet if I could it would compile.

Yeah, thats the issue I faced. Clone from https://github.com/christopherco/rpi-iotcore/tree/chrco/rs5-update and checkout that specific tree "chrco/rs5-update"

60 warnings but it's compiling completely! Thanks again.  Next step is to try to load it into the Pi.

Looks like we're seeing progress, I'm happy to help out but my studies are getting in the way at the moment.

BSP for Rpi4 would be the best thing ever!

Hi - slight abuse of this thread but I'm desperately looking for help on a Pi/IoTCore project. This query is semi-related to this Pi4 BSP topic, and I would happily contribute to the project if there is anything I can do.
My immediate query relates to IoTCore on a CM3 compute module. Given the GPIO 28-45 are unassigned in hardware on the CM, I was hoping a simple bit of ASL/RhProxy work would make them all available to user land.
I have followed MS instructions here to the letter: https://docs.microsoft.com/en-us/windows/uwp/devices-sensors/enable-usermode-access but not joy. My simple ASL that enables GPIO30 and 31 only, compiles no problem, however there is no evidence that the resulting ACPITBL.DAT is being loaded. And the gitbug sourced GpioTestTool.exe does not show any GPIO above 27 being available.
Any pointers? Sorry again for hijacking the thread :/

Hello, I can handle testing if you have any version to verify.
Can we share the solution to work on it together? Some branch or fork?
I would like to help extend support to Raspberry Pi 4 and Paspberry Pi Zero W.

Folks... see https://rpi4-uefi.dev/. The Pi 3 64-bit UEFI is now part of edk2 platforms (tiano core) upstream and it supports WoA. Now we are extending this code to Pi 4 and can boot Windows PE or installer

You might remember RaspberryPiPkg - this is fully integrated as  https://github.com/tianocore/edk2-platforms/tree/master/Platform/RaspberryPi/RPi3 and there is https://github.com/tianocore/edk2-platforms/tree/master/Platform/RaspberryPi/RPi4 now

With 64-Bit TianoCore UEFI, my ARM64 fork of the BSP, and the non-commercial ARM64 release of the RPi USB driver (used in USB-C OTG port on the Pi4) , it should be possible to get at least some feature to work on Pi4.
Although these efforts are focused on Windows 10 Desktop (and PE) on ARM64, so some fiddling might be needed for these to work with IoT Core.

@nithinmanne @KenD123 @sr229 Since neither of you publicly shared the repository we're all unable to get updates or contribute to this cause. Please share your current information.

@nithinmanne @KenD123 @sr229 Since neither of you publicly shared the repository we're all unable to get updates or contribute to this cause. Please share your current information.

I'm not obligated to share my progress since I'm doing this on my free time. It comes out when its ready.

Okay, got that clear. We'll await your feedback.

With 64-Bit TianoCore UEFI, my ARM64 fork of the BSP, and the non-commercial ARM64 release of the RPi USB driver (used in USB-C OTG port on the Pi4) , it should be possible to get at least some feature to work on Pi4.
Although these efforts are focused on Windows 10 Desktop (and PE) on ARM64, so some fiddling might be needed for these to work with IoT Core.

Honestly I want to see Windows 10 Desktop working first before IoT Core since having a successful working Windows 10 setup would reflect that we're doing everything right.

WOW this is great news, XHCI on >3GB RAM and GENET are both big issues in the way of Windows 10 on Raspberry Pi 4.
Hopefully #64 and #63 can both be merged soon.


Update for review (esri/intl)

Updated to use esri/intl methods so we could review and discuss best approach for setting the locale and RTL. Note we can't merge this until next release is live but wanted to get it in for discussion now.

Thanks I will update with Matt's suggestions and merge.

Ok updates made. I'll merge when next release goes out and update npm


Discrepancy between code and docs when app.get('views') is an array

It seems that there is a possible issue with the way that View#lookup operates when it is passed an array of directories to search in.
Looking at the code at https://github.com/expressjs/express/blob/master/lib/view.js#L95-L114 it seems that what will occur is that View#lookup will always return the resolved path for the last directory listed in opts.root because the path variable is set in each iteration of the loop, and not returned until after the loop has completed.
This is contradictory to the docs around app.set('views') at http://expressjs.com/en/4x/api.html#app.set, which suggest that the first matching directory will be used.

A directory or an array of directories for the application's views. If an array, the views are looked up in the order they occur in the array.

My bad, I was misreading and didn't spot the && !path at https://github.com/expressjs/express/blob/master/lib/view.js#L101


Tests - Do not run makeTest twice if input has been given.

Assuming that when $input has been given the test should also pass like if it wasn't given seems a bit to optimistic to me.
I ran into this when trying to write a new fixer, so maybe I'm missing something here?

No, it must be as it is.
When $input was given then we look if it was fixed.
Regardless of the $input parameter we MUST check what would happen when running the fixer on expected code - if it was not changed (it MUST not).

I found the problem, my (WIP) fixer doesn't change the output code, however it makes a changes to the tokens.
In this case the input tokens has one whitespace token in it with a content of two spaces,
the result has two whitespace tokens with one space as content.
So this passes:
$this->assertSame($expected, $tokens->generateCode(), 'Code build on expected code must not change.');

this fails:
$this->assertFalse($tokens->isChanged(), 'Tokens collection built on expected code must not be marked as changed after fixing.');

I see if I can rewrite the fixer a bit more to stop the fixer from doing this.

I found the problem, my (WIP) fixer doesn't change the output code, however it makes a changes to the tokens.

And that is the test to prevent that bug in your WIP fixer. If code is the same the fixer must not corrupt the tokens collection. Please fix fixers instead of removing tests ;)

Please fix fixers instead of removing tests ;)

slogan of the day :)  :+1:


Do not globally destroy re.ASCII in PY3

This is breaking our python 3 port. We cannot avoid these modules because a 3rd party dependency is importing them and so globally wiping out re.ASCII, which breaks our code and other depencies we have:
https://github.com/OpenIDC/pyoidc/blob/v0.15.1/src/oic/utils/http_util.py#L1
@jmadler any way we can get a release that includes this PR?

@rectalogic I was planning on doing a sprint around the week of March 11th with a release shortly thereafter.  Does that timeline work for you, or do you need a special cut?

Yeah that's OK, thanks. I found a workaround by pre-emptively importing those modules then fixing re.ASCII:
import future.utils
if future.utils.PY3:
    import re
    save = re.ASCII
    from future.backports.http import cookies, cookiejar  # noqa: F401
    re.ASCII = save

@rectalogic Awesome.  I missed the timeline I expected to able to hit, but we're reaching a good state for 0.18 so expect a release soon :)


Update scrapped Scss is not working

When you try to update scraped variables i receive following error:
The only way to scrape variable again I need to restart server.

I found a reason, sassdata.txt file can not be empty. It must have at least empty brackets []. Can we through more descriptive error?

Fixed this - if sassdata.txt is empty - create an empty array. This was used for snippet scrapping, probabbly missed sass scraping when I was fixing snippet scrapping.
Needs testing.


Remove personal references from the repo

[x] package.json
[x] author tag in index.html

[ ] delete packlock.json
[ ] do npm install


[lit-starter-ts] Adding tailwind to components

I'd like to use tailwindcss for styling the web-components created from this starter template. Is there a recommended way of adding tailwind to the starter component?

try https://github.com/viskit/css

It is implemented by using the unsafe and adoptstyles of lit, based on the constructive stylesheet.
Look here
https://github.com/running-grass/starter-lit-with-tailwind


Remove imports from __init__.py files

Adding imports in the __init__.py file is a bad practice and can be catastrophic as the package grows. We want to remove the imports ideally from there and only import stuff that the user wants to access.

Yes, its a bad practice generally to put imports in init.py files just to make the imports look cleaner. Instead, the aim should be to structure the package in a way that it is more readable (but doesn't have to be short import names always)


Implements AudioSource

Hi Uberi !
I have been in trouble since a few day to implements AudioSource class for writing my own audiosource read by the recognizer.
I need to do that to be able to read from a microphone without PyAudio.
The steps to reproduce is basically simple:
class myNewClass(Audiosource):
    __init__(self):
        pass

    __enter__(self):
        pass

    __exit__(self, ...):
        pass

r = sr.Recognizer()
s = myNewClass()
with s as source:
	print("Say something!")
	audio = r.listen(source)

try:
	print("You said: " + r.recognize_google(audio,language='FR'))
	return r.recognize_google(audio,language='FR')
except sr.UnknownValueError:
	print("Google Speech Recognition could not understand audio")
	return ''
except sr.RequestError as e:
	print("Could not request results from Google Speech Recognition service; {0}".format(e))
	return ''

I, of course, have all the data the recognizer need to work with (like stream or variables).
But when I run the code, the recognizer kicked me out saying that my class is not and audio source, line 530.
Am I doing something wrong?
Thanks by the way for your work, it really make things simplier !

Hi @AlEmerich,
The code you posted doesn't work - it has a bunch of syntax errors and is missing implementations for __enter__ and __exit__. You are likely getting that error because s.__enter__ must return an AudioSource-derived object.
For example, check out how the Microphone class does it.

Thanks for your help, I did detect that mistake for the enter function. The syntax error surely comes from indentation format when I typed the message, sorry for that.
Just to be sure, when enter and exit is triggered ? At the beginning and the end of the listen function or at the destruction of the AudioSource object ? My problem now is that listen read nothing but it comes from the code I use to get stream, so not related with SpeechRecognition.
The main reason I opened the issue is now resolved for me, you can mark it as such.
Thanks for your feedback !

Great to hear @AlEmerich! As for the listen reading nothing, I recommend checking out this troubleshooting entry: https://github.com/Uberi/speech_recognition/#the-recognizer-hangs-on-recognizer_instancelisten-specifically-when-its-calling-microphonemicrophonestreamread
The __enter__ function is triggered exactly when you enter the with block. Likewise, the __exit__ function is triggered exactly when you leave the with block (including if you leave it due to an exception being raised).


Cannot test-invoke from API Gateway console

When you test-invoke an endpoint (from the API Gateway console), AWS doesn't send a real IP address, which causes the following error:

Wed May 26 01:39:03 UTC 2021 : Endpoint response body before transformations: {"errorType":"User","stackTrace":[],"errorMessage":"Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_NUMERICHOST], addrFamily = AF_INET, addrSocketType = Stream, addrProtocol = 0, addrAddress = <IP_ADDRESS>:0, addrCanonName = Nothing}, host name: Just \"test-invoke-source-ip\", service name: Just \"443\"): does not exist (Name or service not known)"}

This breaks the getAddrInfo call. If they're going to send a dummy IP, we should emit a wai Request with a dummy IP.

I've seen this one when I simulated a gateway proxy request - I manufactured a dummy one full of mempty values.


Button, key, or method to have information dumped to a text file (documentation, further review etc)

📝 Button, key, or method to have information dumped to a text file (documentation, further review etc)
If you'd like to see this feature implemented, add a 👍 reaction to this post.

@herbm, what information?  what is being dumped?  This is pretty vague.
What is the user scenario?  Can you walk us through the golden path of how this would work?

@herbm, what information?  what is being dumped?  This is pretty vague.
What is the user scenario?  Can you walk us through the golden path of how this would work?

@crutkas
You have it on the screen but you can't let go of WinKey without it disappearing.
You wish to save the info into a file to view it later, either from a PowerShell prompt or in an Editor so you can plan the adition of your own customer keys around the keys already in use.
Or you want to be able to show the key assignments to co-workers in a presentation.

@crutkas
You have it on the screen but you can't let go of WinKey without it disappearing.
You wish to save the info into a file to view it later, either from a PowerShell prompt or in an Editor so you can plan the adition of your own customer keys around the keys already in use.
Or you want to be able to show the key assignments to co-workers in a presentation.

@HerbM
are you referring to the Shortcut Guide?

@HerbM
are you referring to the Shortcut Guide?


item filter

Expected Behavior
i just want the varies of pokeballs. not revives
what are the item numbers?
Actual Behavior
"item_filter": "101,102,103,104",
Steps to Reproduce
Other Information
OS:
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)

Please RTFM :
https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Configuration-files
And then https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Item-ID's

@yehan77 Read the manual first before asking a question. @arnogues has linked them.
Close this issue please.

Please read the wiki.
/closed


PayPal: We’re sorry, the merchant doesn’t accept payments in your currency. Please return to the merchant and choose another way to pay.

Subj. Because of it, can't buy the docker image or the subscription. Please-please! :) Want to install this so much on my macOS, but can't buy the image!

@egslava please send your request to<EMAIL_ADDRESS>We'll create a custom invoice for you


Issues with Argon and ASCII 0

The original issue is here: https://github.com/npgsql/efcore.pg/issues/1069
That, in turn, pointed to https://github.com/scottbrady91/ScottBrady91.AspNetCore.Identity.Argon2PasswordHasher/issues/2 as the reason for the errors
And that led me here.
Is this something that can be resolved by either skipping ASCII 0, replacing them with another character, or adding some toggle for that, or would it be better done in the password hasher layer?

Hi. Thanks for reporting that. It seems the System.Text.Encoding.UTF8 or ASCII doesn't handle null-terminated strings at all. I'll fix that shortly.

I forged the problematic Argon2 hasher here and updated the Sodium dependency, but I still get a PostgresException 22021, incorrect encoding sequence for "UTF8": 0x00

Hello tabrath
Unfortunately i think this matter is not yet resolved. I tried to use the nuget package in a NET Core 3.1 project.
In the referenced Merge/Commit you introduced the method "UnsafeAsciiBytesToString". The method has two parts. The first one between the "NETSTANDARD1_6" compilation symbol produces a string without zero terminators, but the else block is active and produces zero terminators.
I do not understand how the compilation symbols play into the whole process of providing nuget packages. (I know i can change that symbols in the project properties, but...) I do not understand how/where it is decided which code block becomes active when i use the libsodium-core nuget package in my .net core project. That's why i can not provide you a fix. Maybe the NETSTANDARD1_6 symbol and the else block has to be removed.
To reproduce the issue you can execute the Test "ArgonHashStringTest".
Thanks for your time,
Diego

The problem are these lines: https://github.com/tabrath/libsodium-core/blob/master/src/Sodium.Core/Utilities.cs#L253-L259
@tabrath Could you have another look? The string constructor with a given length does not actually respect null terminated strings it seems. Another option I guess would be to use the .netstandard 1.6 implementation for 2.0 as well. I think that should still work just fine. The other option is the string constructor without a length, or discovering the actual length by finding the first \0 character.


Clicking the Email Acknowledgement Button should create an Activity record in the Activity History

When I click the Email Acknowledgement Button to send an email to the Primary Contact, I want it to create an Activity record in the Activity History in addition to changing the Acknowledgment Status.

:+1:

Kevin Bromer thumbs-up = assigned immediately + live in next release

**lurch: add

Tracking W-009907

Sure @mbaizman  - that's exactly how it works. ;-)
Challenge with this declaratively has always been getting the contents of the email in to the activity detail. Our solution just launches a workflow rule. May take some work to programmatically get the contents of the Email Alert. Otherwise, the admin could easily right now just clone the workflow rule and add a task with generic contents.

Hmm - when I tested this for the video recording, I didn't get the auto-activity logging, but it could certainly be an issue with my configuration (perhaps the WF rule wasn't activated). The contents aren't super necessary, but I could see them being a "nice to have."

No, I meant 'that's how it works' in response to your comment that 'Kevin Bromer thumbs-up = assigned immediately + live in next release'
As it stands right now, our workflow rule does not include an action to add an activity. Easy enough to add one, although I question if it's something we should necessarily do given that it would have to be a generic 'Acknowledgment Sent' subject with no specific customization for the message. They'd have the same data by reporting on the Acknowledgment fields. It's easy enough for the organization to clone and customize the workflow rule we provide, should that be important to them.

I don't know how much ppl need the actual body text of the ack - although I
guess if they are customizing it then maybe they would want to know. I
don't know. I hear you that they can get the same info by reporting on the
fields, which actually then makes the case that you should store the
actual body text and subject in the Activity, as it gives you all the info.

Marc Baizman
Customer Success Director | Salesforce.org
Office: +1<PHONE_NUMBER>
Mobile: +1<PHONE_NUMBER>
<EMAIL_ADDRESS>https://powerofus.force.com
--
On Wed, Apr 13, 2016 at 11:10 AM, Judi Sohn<EMAIL_ADDRESS>wrote:

No, I meant 'that's how it works' in response to your comment that 'Kevin
Bromer thumbs-up = assigned immediately + live in next release'
As it stands right now, our workflow rule does not include an action to
add an activity. Easy enough to add one, although I question if it's
something we should necessarily do given that it would have to be a generic
'Acknowledgment Sent' subject with no specific customization for the
message. They'd have the same data by reporting on the Acknowledgment
fields. It's easy enough for the organization to clone and customize the
workflow rule we provide, should that be important to them.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/SalesforceFoundation/Cumulus/issues/2009#issuecomment-209498891

Salesforce has determined that this issue will not be explored further.

Well, good thing this issue from 2016 wasn't keep me awake at night 😆


Fix responding to blockwise requests using Write

When responding to blockwise requests using ResponseWrite.Write the server would use the message ID of the first block message rather than the last. This meant that clients would fail to handle the response.
This was due to not creating a new response writer when we created a new request.

Thx for find bug and fix it. :+1:


Bug: Second Run of "npm run dev" fails

The first run of npm run dev succeeds but a second run of npm run dev (after exiting the first run) on Linux (Manjaro) fails to run the application. The application fails the load with the following error in the browser:
Error: Cannot find module './.vue'.  app.js%20line%20660%20%3E%20eval:22:41
	webpackContextResolve/< http://localhost:8080/app.js%20line%20660%20%3E%20eval:22:41
	webpackContextResolve http://localhost:8080/app.js%20line%20660%20%3E%20eval:22:22
	webpackContext http://localhost:8080/app.js%20line%20660%20%3E%20eval:19:29
	<anonymous> http://localhost:8080/app.js%20line%20804%20%3E%20eval:52:46
	<anonymous> http://localhost:8080/app.js:804:2
	__webpack_require__ http://localhost:8080/app.js:556:12
	hotCreateRequire/fn http://localhost:8080/app.js:87:20
	<anonymous> http://localhost:8080/app.js:587:19
	__webpack_require__ http://localhost:8080/app.js:556:12
	<anonymous> http://localhost:8080/app.js:579:18
	<anonymous> http://localhost:8080/app.js:1:11

@Grogglex - Did you solve the issue youeself?


add work helpers

Signed-off-by: Zhiwei Yin<EMAIL_ADDRESS>issue: https://github.com/open-cluster-management-io/addon-framework/issues/127

add work helpers
upgrade k8s to v0.24.0 because the the old pkg "github.com/googleapis/gnostic"and the new "github.com/google/gnostic/extensions" conflict

/assign @qiujian16

should this be a versioned helper? like putting this into work/v1/apply amd work/v1/builder?

should this be a versioned helper? like putting this into work/v1/apply amd work/v1/builder?

@qiujian16 I think

should this be a versioned helper? like putting this into work/v1/apply amd work/v1/builder?

@qiujian16  yes, versioned helper can help manage the api upgrade in the future.
done

@zhiweiyin318 let's use tools/work/v1 as the package name all utils/work/v1

@zhiweiyin318 let's use tools/work/v1 as the package name all utils/work/v1

@qiujian16 we have had  the tools dir  including gen swaggerdoc, so I use utils/work/v1 as tha package name.

/approve
/lgtm


PSSE Exporter Part 2: Integrate with PowerSimulations

This PR continues the effort from https://github.com/NREL-Sienna/PowerFlows.jl/pull/42 and https://github.com/NREL-Sienna/PowerFlows.jl/pull/29 (companion to https://github.com/NREL-Sienna/PowerSimulations.jl/pull/1040). Here we seek to create a standardized interface to either run a PF power flow or export a PSS/E file for each iteration of a PSI simulation.

Tests depend on https://github.com/NREL-Sienna/InfrastructureSystems.jl/pull/408

Merging this to proceed with a review of all the recent changes ensemble.


Replace banner with webinar banner

@jesse-martinez Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@jesse-martinez Thank you for signing the Contributor License Agreement!

Thank you!


Previous message appears after a chat response

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
Send a message
Expected Result:
Receive a response
Actual Result:
Receive a response and a previous message is shown after it
Workaround:
unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.1.88-14
Reproducible in staging?: Yes
Reproducible in production?: No
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @neil-marcellini
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1661161062238409
View all open jobs on GitHub

@neil-marcellini The original issue was specific to 10am post. Now it seems just a general message?
Are there reproduction steps here?

Labeling it monthly until we have some actionable steps here

Yes it happened for messages to Flo for a bit, but now it's working fine. It still happens with Chronos, so that might be the best place to focus. Are you not able to re-produce?

No :/. So I'm just messaging back and forth right? Waiting for a response to come with a previous response?
If there are no other steps I'm missing, I'm unable to reproduce

I'll close this because it's not easy to re-produce and was probably just a fluke.

I think this issue is still occurring:

I'm going to reopen it but was unable to reproduce it with a different chat.

It looks like this issue has already been triaged to Engi. @srikarparsi, do you have a sense of the repro steps for this behavior? If we can reproduce, we can figure out how to route this to solve it.

@neil-marcellini, have you been able to reproduce this recently? If not, I may close this again until we can get crisp on the reproduction steps.

No I haven't seen this issue in a while. We also have the Deprecate Sequence Numbers design doc which aims to solve this issue for good. I think it's ok to close this.

Thanks! I'll go ahead and close it 👍


Update device-management-hybrid-azuread-joined-devices-setup.md

Changed wording to match what IE11 shows in Windows 10 1709

@adamfowlerit : Thanks for your contribution! The author, @MarkusVi, has been notified to review your proposed change.

#sign-off


New build system based on scikit-build-core

I replaced the deprecated setup.py based build framework with a new build system based on scikit-build-core, which in turn uses hatchling as its backend. All the project meta-data is now in pyproject.toml. setup.py and setup.cfg are removed. Pyproject.toml can also contain options for various tools used in the project. At present, ruff configuration is written to it. In the future, I'll add more configurations to it, and remove the configuration files scattered around the project.

I think this is ready for review.

The tests are passing, but the coverage data collection is failing for some reason. I am not seeing the behavior exhibited by the runner on my Mac laptop.

Fixed the coverage combine issue. Still not sure why it worked before and not now.

@landreman This is ready for final review.


rdpsnd Mac prevents sleep

The rdpsnd_mac channel currently prevents Macs from entering sleep mode once a sound has been played at least once.
This behavior can be observed by following these steps:

Open Activity Monitor
Switch to the "Energy" tab
Launch an RDP session using FreeRDP with audio redirection enabled
Check Activity Monitor's "Preventing Sleep" column
If no audio has been played yet, it should say "No"
Now play any sound in the RDP session
"Preventing Sleep" now switches to "Yes" in Activity Monitor
Wait for the audio to finish playing
Unfortunately, from now on, sleep is prevented for the rest of the RDP session, no matter if audio continues to play or not

I guess to fix this, the AVAudioEngine probably needs to be stopped once audio playback is finished, and resumed once the next audio playback session starts. This is just a guess though as I haven't yet had the time to verify this.

Hi I feel like this is a security issue because it unexpectedly prevents the screensaver from activating and therefore the Mac never locks due to an idle timeout. The Microsoft Remote Desktop client does not exhibit this behavior.


RFC: Lambda Powertools for Python v2

Is this related to an existing feature request or issue?
No response
Which AWS Lambda Powertools utility does this relate to?
Powertools itself
Summary
The Python 3.6 Lambda Runtime was deprecated as of Aug 17th 2022. This follows Python 3.6 End-Of-Life (EOL) reached on December 23, 2021. This means it's not possible to create or update Lambda functions using that runtime.
We should take this opportunity to release a new major version of Powertools, and decide what breaking changes to include.
Use case
Customers need to upgrade their Lambda Functions to one of the supported Python runtimes (at the moment of writing, Python 3.7-3.9).
We could use this major upgrade to introduce some breaking changes on Lambda Powertools that will simplify the code and/or improve support for existing features.
Proposal
We strive to make minimal breaking changes due to timing constraints with Python 3.6 deprecation. In ideal scenarios, we would provide ample time, nightly builds, a Beta for a major version, including a linter to help detect and upgrade from breaking changes.
This means, V2 will focus primarily on the following themes:

Drop Python 3.6. Follows alignment with Lambda runtime deprecation policy. It also allows us to upgrade development dependencies and documentation niceties we couldn't before due to prolonged Python 3.6 EOL life in Lambda.
Make all dependencies optional to optimize package size. AWS SDK makes up for over 90% of our package size. We also heard from customers that they want to use additional observability providers, thus wanting X-Ray SDK to be optional.

Lambda Layer will include all optional dependencies excluding those already available at Lambda runtime to further optimize cold start. This also means dropping SAR Extras as it becomes redundant.

Remove deprecated features. Specifically sqs_batch_processor and PartialSQSProcessor in favour of BatchProcessor launched 11 months ago that improved accuracy, security, and speed due to the new Lambda integration.
Improve correctness. Event Handler (API Gateway) doesn't support multi-header and cookies by default as it requires a breaking change. Similarly, Idempotency and Tracer doesn't use fully qualified names, impacting ABC or Classes that use the exact same method name - changing it would impact billions of transactions in production.

Quick summary

Item
Issue/PR
Status
Code change required

Write What's new for v2

Update upgrade guide
#1623
✅

Remove POWERTOOLS_EVENT_HANDLER_DEBUG env var
#1620
✅

Drop support for python 3.6
#1339
✅

Remove the old batch processing legacy implementation (sqs_batch_processor, PartialSQSProcessor)
#1462
✅
Yes

Event Handler REST - multi-value Headers by default, and cookies support
#1455
✅
tests only

Use fully qualified names for idempotency
#1330
✅

Use fully qualified names for tracer subsegments
#1454
✅

Update AppConfig API in Parameters/Feature flags due to GetConfiguration deprecation
#1506
✅

Deprecate SAR Extras
#1543
✅

Make all runtime dependencies optional
#1164
✅

Update docs on required dependencies (validation, parser)
#1573
✅

Event Handler REST v1 supports trailing slash route by default
#1609
✅

Replace AttributeValue in DynamoDBStreamEvent with deserialized Python values
#1619
✅
Yes

Replace email-validator dependency with str in Parser SES Model
#1608
✅

Launch plan

[x] un-comment "deploy-prod" from publish_v2_layer.yml
[x] update docs to include SAR v2 and Layer v2
[x] review Upgrade Guide
[ ] review What's New
[ ] remove V2 banner from docs
[ ] remove V2 admonition from docs

Out of scope
We should make the breaking release as small as possible. For this we should not include in v2:

modularization to further reduce sizes
Add a default unit for the metrics utility #1180

Potential challenges
We need to decide what to do with the Lambda Powertools Layer. One option would be to release a new "V2" layer.
UPDATE: We're launching a separate V2 layer and ARM support along with it!
Dependencies and Integrations
No response
Alternative solutions
No response
Acknowledgment

[X] This feature request meets Lambda Powertools Tenets
[ ] Should this be considered in other Lambda Powertools languages? i.e. Java, TypeScript

Thank you @rubenfonseca! Let's make Event Handler Headers part of v2 as this will impact our ability to support cookies and multi-value headers without a maintenance hit -- https://github.com/awslabs/aws-lambda-powertools-python/pull/1455
We should also add that we're going to make minimal breaking changes due to not having ample time to discuss and run experiments with customers - we shall leave those to 3.0 (modularization, potentially making pydantic the default, etc.)

@heitorlessa thanks, updated! Do you know if an existing issue about removing the first batch processing implementation?

Nope, haven't created yet. We'd need to make a PR to add a deprecation warning too.
https://github.com/awslabs/aws-lambda-powertools-python/blob/develop/aws_lambda_powertools/utilities/batch/sqs.py#L24

We started creating an "Upgrade guide" with detailed upgrade steps for each breaking change, together with before/after examples. This will help everyone go faster through each major version changes.

Early days but we started documenting the breaking changes in v2: https://awslabs.github.io/aws-lambda-powertools-python/v2/upgrade/
@rubenfonseca one thing we missed is adding another bullet point on multiValueHeaders for REST v1 payload

I'd love to see strict typing supported in v2. As an example: https://github.com/awslabs/aws-lambda-powertools-python/issues/1089

Added #1506 to v2

@kapilt and everyone else interested in smaller package size - @rubenfonseca just made a breakthrough for V2.
Our new Lambda Layer (v2) will be just under 1M with all dependencies installed (using AWS SDK available at Lambda runtime, of course).
For V2 launch this month, @rubenfonseca is also completing the work for an ARM Lambda Layer.

Last update before we launch 2.0 this week

release manager: @rubenfonseca

We're working on one last change:

Event Source Data Classes DynamoDB Stream Event. Return deserialized Dict for new_image and old_image instead of AttributeValue. This will unblock customers accessing nested map objects, simplify access to DynamoDB record data, and near-interoperability with Boto3 TypeDeserializer (exception being str instead of Decimal). [PR]

In parallel, we're updating (1) GitHub Actions workflows to support v1 and v2 releases, (2) Upgrade Guide to ensure it is as clear as it can be, (3) clean up this RFC body to reflect where we are and share V1 will be in maintenance mode until Jan 31st.
Until end of the week
You should expect a (A) lengthy Release Notes (What's New in 2.0), a (B) detailed Upgrade Guide for three breaking changes that might affect you, (C) a significant package size reduction (10M-->204k), and a (D) much improved Lambda Layer with all dependencies optimized (14M-->2M), including ARM support!

@mew1033 @peterschutt after V2 is launched, let's bring typing_extensions as a runtime dependency to start working on strict typing for the entire code base. We've made significant efforts in reducing package size (>95%), and bringing typing_extensions outweigh the effort of various workarounds to make typing work for multiple Python versions.
This will open a future door that we could use mypyc to compile certain parts of our code base to be a C-extension for extra speed. Now that we fully migrated our Lambda Layer pipeline and already use Cython for Parser, it'll be a no brainier to generate platform wheels too when the time is appropriate.

@mew1033 @peterschutt after V2 is launched, let's bring typing_extensions as a runtime dependency to start working on strict typing for the entire code base. We've made significant efforts in reducing package size (>95%), and bringing typing_extensions outweigh the effort of various workarounds to make typing work for multiple Python versions.

Sounds great! I'll touch base with you after the v2 launch, congrats!

All Ready! We're gonna publish a pre-release to test all workflows, and then we start writing the official Release Notes for 2.0.
Finally! 🎉

We just released AWS Lambda Powertools Python v2! 🎉🎉🎉🎉
Don't forget to check our Upgrade Guide too :)
Thank you everyone for your help getting this our of the door! 🙏 Onwards and upwards! 🎉