Fix deadlock detection in the parallel checker

The integration test  nr. 20 fails, as deadlock detection is broken in the parallel checker:
apalache check --length=5 --inv=Inv test/tla/HandshakeWithTypes.tla

I seem to have run into broken deadlock checking when checking EWD840 with v0.15.0-3-gd5138a3 from unstable.  How do I disable parallel checking to make sure this is indeed the issue?

The parallel checker is not in the unstable yet. What kind of problem do you have?

For any N, https://github.com/tlaplus/Examples/blob/master/specifications/ewd840/EWD840.tla (with type annotation in diff below) deadlocks after termination has been detected.  For N up to ~7 (haven't bothered to check larger values).  TLC finds the deadlock within less than 10 steps (bottom), but Apalache doesn't report the deadlock:
markus@avocado:~/src/TLA/_specs/models/tutorials/ewd840(main)$ apalache check EWD840
# Tool home: /home/markus/src/TLA/_community/apalache
# Package:   /home/markus/src/TLA/_community/apalache/mod-distribution/target/apalache-pkg-0.15.1-SNAPSHOT-full.jar
# JVM args: -Xmx4096m -DTLA-Library=/home/markus/src/TLA/_community/apalache/src/tla
#
# APALACHE version 0.15.1-SNAPSHOT build v0.15.0-3-gd5138a3
#
# WARNING: This tool is in the experimental stage.
#          Please report bugs at: [https://github.com/informalsystems/apalache/issues]
#
# Usage statistics is ON. Thank you!
# If you have changed your mind, disable the statistics with config --enable-stats=false.

Checker options: filename=EWD840, init=, next=, inv=              I@17:46:23.395
Tuning:                                                           I@17:46:23.885
PASS #0: SanyParser                                               I@17:46:23.886
Parsing file /home/markus/src/TLA/_specs/models/tutorials/ewd840/EWD840.tla
Parsing file /tmp/Naturals.tla
PASS #1: TypeCheckerSnowcat                                       I@17:46:24.608
 > Running Snowcat .::.                                           I@17:46:24.608
 > Your types are great!                                          I@17:46:24.971
 > All expressions are typed                                      I@17:46:24.972
PASS #2: ConfigurationPass                                        I@17:46:25.011
  > EWD840: Loading TLC configuration                             I@17:46:25.019
  > No TLC configuration found. Skipping.                         I@17:46:25.029
  > Command line option --init is not set. Using Init             I@17:46:25.029
  > Command line option --next is not set. Using Next             I@17:46:25.030
  > Set the initialization predicate to Init                      I@17:46:25.030
  > Set the transition predicate to Next                          I@17:46:25.032
PASS #3: DesugarerPass                                            I@17:46:25.109
  > Desugaring...                                                 I@17:46:25.109
PASS #4: UnrollPass                                               I@17:46:25.182
  > Unroller                                                      I@17:46:25.281
PASS #5: PrimingPass                                              I@17:46:25.368
  > Introducing InitPrimed for Init'                              I@17:46:25.394
PASS #6: CoverAnalysisPass                                        I@17:46:25.478
PASS #7: InlinePass                                               I@17:46:25.479
  > InlinerOfUserOper                                             I@17:46:25.481
  > LetInExpander                                                 I@17:46:25.561
  > InlinerOfUserOper                                             I@17:46:25.606
Leaving only relevant operators: CInitPrimed, Init, InitPrimed, Next I@17:46:25.623
PASS #8: VCGen                                                    I@17:46:25.645
  > No invariant given. Only deadlocks will be checked            I@17:46:25.645
PASS #9: PreprocessingPass                                        I@17:46:25.660
  > Before preprocessing: unique renaming                         I@17:46:25.661
 > Applying standard transformations:                             I@17:46:25.678
  > PrimePropagation                                              I@17:46:25.688
  > Desugarer                                                     I@17:46:25.714
  > UniqueRenamer                                                 I@17:46:25.739
  > Normalizer                                                    I@17:46:25.785
  > Keramelizer                                                   I@17:46:25.805
  > After preprocessing: UniqueRenamer                            I@17:46:25.839
PASS #10: TransitionFinderPass                                    I@17:46:25.883
  > Found 1 initializing transitions                              I@17:46:25.980
  > Found 4 transitions                                           I@17:46:26.067
  > No constant initializer                                       I@17:46:26.070
  > Applying unique renaming                                      I@17:46:26.074
PASS #11: OptimizationPass                                        I@17:46:26.130
 > Applying optimizations:                                        I@17:46:26.139
  > ConstSimplifier                                               I@17:46:26.141
  > ExprOptimizer                                                 I@17:46:26.148
  > ConstSimplifier                                               I@17:46:26.153
PASS #12: AnalysisPass                                            I@17:46:26.199
 > Marking skolemizable existentials and sets to be expanded...   I@17:46:26.205
  > SkolemizationMarker                                           I@17:46:26.208
  > ExpansionMarker                                               I@17:46:26.211
 > Running analyzers...                                           I@17:46:26.228
  > Introduced expression grades                                  I@17:46:26.247
  > Introduced 2 formula hints                                    I@17:46:26.247
PASS #13: PostTypeCheckerSnowcat                                  I@17:46:26.247
 > Running Snowcat .::.                                           I@17:46:26.248
 > Your types are great!                                           N-1
 Color == {"white", "black"}

markus@avocado:~/src/TLA/_specs/examples/specifications/ewd840(master)$ tlc EWD840
TLC2 Version 2.15 of Day Month 20?? (rev: ba14c21)
Warning: Please run the Java VM, which executes TLC with a throughput optimized garbage collector, by passing the "-XX:+UseParallelGC" property.
(Use the -nowarning option to disable this warning.)
Running breadth-first search Model-Checking with fp 54 and seed -8107755520121129892 with 1 worker on 4 cores with 5952MB heap and 64MB offheap memory [pid: 622554] (Linux 5.4.0-70-generic amd64, Ubuntu 11.0.10 x86_64, MSBDiskFPSet, DiskStateQueue).
Parsing file /home/markus/src/TLA/_specs/examples/specifications/ewd840/EWD840.tla
Parsing file /tmp/Naturals.tla (jar:file:/opt/toolbox/tla2tools.jar!/tla2sany/StandardModules/Naturals.tla)
Parsing file /home/markus/src/TLA/_specs/examples/specifications/ewd840/SyncTerminationDetection.tla
Semantic processing of module Naturals
Semantic processing of module SyncTerminationDetection
Semantic processing of module EWD840
Starting... (2021-04-03 17:44:40)
Computing initial states...
Computed 2 initial states...
Computed 4 initial states...
Computed 8 initial states...
Computed 16 initial states...
Computed 32 initial states...
Computed 64 initial states...
Computed 128 initial states...
Computed 256 initial states...
Computed 512 initial states...
Computed 1024 initial states...
Computed 2048 initial states...
Computed 4096 initial states...
Computed 8192 initial states...
Computed 16384 initial states...
Computed 32768 initial states...
Computed 65536 initial states...
Finished computing initial states: 114688 distinct states generated at 2021-04-03 17:44:42.
Progress(2) at 2021-04-03 17:44:45: 1,205,284 states generated (1,205,284 s/min), 118,336 distinct states found (118,336 ds/min), 67,549 states left on queue.
Error: Deadlock reached.
Error: The behavior up to this point is:
State 1: <Initial predicate>
/\ tpos = 0
/\ active = ( 0 :> FALSE @@
  1 :> FALSE @@
  2 :> FALSE @@
  3 :> FALSE @@
  4 :> FALSE @@
  5 :> FALSE @@
  6 :> FALSE )
/\ tcolor = "black"
/\ color = ( 0 :> "white" @@
  1 :> "white" @@
  2 :> "white" @@
  3 :> "white" @@
  4 :> "white" @@
  5 :> "white" @@
  6 :> "white" )

State 2: <InitiateProbe line 40, col 3 to line 45, col 43 of module EWD840>
/\ tpos = 6
/\ active = ( 0 :> FALSE @@
  1 :> FALSE @@
  2 :> FALSE @@
  3 :> FALSE @@
  4 :> FALSE @@
  5 :> FALSE @@
  6 :> FALSE )
/\ tcolor = "white"
/\ color = ( 0 :> "white" @@
  1 :> "white" @@
  2 :> "white" @@
  3 :> "white" @@
  4 :> "white" @@
  5 :> "white" @@
  6 :> "white" )

State 3: <PassToken line 58, col 3 to line 63, col 43 of module EWD840>
/\ tpos = 5
/\ active = ( 0 :> FALSE @@
  1 :> FALSE @@
  2 :> FALSE @@
  3 :> FALSE @@
  4 :> FALSE @@
  5 :> FALSE @@
  6 :> FALSE )
/\ tcolor = "white"
/\ color = ( 0 :> "white" @@
  1 :> "white" @@
  2 :> "white" @@
  3 :> "white" @@
  4 :> "white" @@
  5 :> "white" @@
  6 :> "white" )

State 4: <PassToken line 58, col 3 to line 63, col 43 of module EWD840>
/\ tpos = 4
/\ active = ( 0 :> FALSE @@
  1 :> FALSE @@
  2 :> FALSE @@
  3 :> FALSE @@
  4 :> FALSE @@
  5 :> FALSE @@
  6 :> FALSE )
/\ tcolor = "white"
/\ color = ( 0 :> "white" @@
  1 :> "white" @@
  2 :> "white" @@
  3 :> "white" @@
  4 :> "white" @@
  5 :> "white" @@
  6 :> "white" )

State 5: <PassToken line 58, col 3 to line 63, col 43 of module EWD840>
/\ tpos = 3
/\ active = ( 0 :> FALSE @@
  1 :> FALSE @@
  2 :> FALSE @@
  3 :> FALSE @@
  4 :> FALSE @@
  5 :> FALSE @@
  6 :> FALSE )
/\ tcolor = "white"
/\ color = ( 0 :> "white" @@
  1 :> "white" @@
  2 :> "white" @@
  3 :> "white" @@
  4 :> "white" @@
  5 :> "white" @@
  6 :> "white" )

State 6: <PassToken line 58, col 3 to line 63, col 43 of module EWD840>
/\ tpos = 2
/\ active = ( 0 :> FALSE @@
  1 :> FALSE @@
  2 :> FALSE @@
  3 :> FALSE @@
  4 :> FALSE @@
  5 :> FALSE @@
  6 :> FALSE )
/\ tcolor = "white"
/\ color = ( 0 :> "white" @@
  1 :> "white" @@
  2 :> "white" @@
  3 :> "white" @@
  4 :> "white" @@
  5 :> "white" @@
  6 :> "white" )

State 7: <PassToken line 58, col 3 to line 63, col 43 of module EWD840>
/\ tpos = 1
/\ active = ( 0 :> FALSE @@
  1 :> FALSE @@
  2 :> FALSE @@
  3 :> FALSE @@
  4 :> FALSE @@
  5 :> FALSE @@
  6 :> FALSE )
/\ tcolor = "white"
/\ color = ( 0 :> "white" @@
  1 :> "white" @@
  2 :> "white" @@
  3 :> "white" @@
  4 :> "white" @@
  5 :> "white" @@
  6 :> "white" )

State 8: <PassToken line 58, col 3 to line 63, col 43 of module EWD840>
/\ tpos = 0
/\ active = ( 0 :> FALSE @@
  1 :> FALSE @@
  2 :> FALSE @@
  3 :> FALSE @@
  4 :> FALSE @@
  5 :> FALSE @@
  6 :> FALSE )
/\ tcolor = "white"
/\ color = ( 0 :> "white" @@
  1 :> "white" @@
  2 :> "white" @@
  3 :> "white" @@
  4 :> "white" @@
  5 :> "white" @@
  6 :> "white" )

3988314 states generated, 151126 distinct states found, 3753 states left on queue.
The depth of the complete state graph search is 8.
Finished in 09s at (2021-04-03 17:44:49)

That seems to be an issue both in 0.11.0 and 0.15.0. A bug must have sneaked in. See #711.

It's a bigger issue. So I have scheduled it in #712.

We are not going to merge the current version in the multicore branch. Closing this issue. The related issue on deadlock detection is filed in #712.


fix(inlay_hints): Stop nvim from rendering wrong characters

This seems to fix the issue I described in #161. I feel a bit like this should possibly be considered a bug in neovim itself, but I figured either way this workaround might be useful here too.

After some further testing, I also filed neovim/neovim#17860. At least for the moment, I think it would still be useful to fix it here though.

Thanks for the fix!


KeyPath support

Hi looks like this library has great potential building dynamic feature.
I am looking for a possibility to get the full string of a keypath.
let keyPath = \Obj.values[1].title
let reflected = reflect(keyPath) // "Obj.values[1].title"

Is this possible with Echo?

Sorry for not commenting on this sooner. Currently this library has basic support for getting the keypath string (only for stored properties) because there's metadata for those components. There's not enough metadata to recover getting the values name (there might be a way to show the 1, but I'm unsure).
Ideally the standard library adds support for this because the runtime information I'm getting this from is unstable and not ABI, so future versions of Swift could break my basic printing support (which I plan to remove because of the unstableness).

Thanks for the details answer :)
Looks like I need to create my first proposal


pylint test

Adding pylint workflow
Checklist before merge:

[ ] Reviewers confirm new code works as expected.
[ ] Tests are passing.
[ ] Coverage does not decrease.
[ ] Documentation is updated.

Pylint is complaining about some things, but I think the workflow itself is working..
However, I have not much experience with workflows so I'm not sure this is done correctly

Ok I see now that the tests are actually failing... Let me try to fix it

Ok now it should be working. The tests are failing because of the way I was trying to do abstraction but this is unrelated


error with audiotsm

Traceback (most recent call last):
File "jumpcutter.py", line 162, in
tsm.run(reader, writer)
File "/Library/Python/2.7/site-packages/audiotsm/base/tsm.py", line 76, in run
_, finished = self.write_to(writer)
File "/Library/Python/2.7/site-packages/audiotsm/base/analysis_synthesis.py", line 240, in write_to
n = self._out_buffer.write_to(writer)
File "/Library/Python/2.7/site-packages/audiotsm/utils/cbuffer.py", line 344, in write_to
n = writer.write(self._data[:, start:end])
File "/Library/Python/2.7/site-packages/audiotsm/io/wav.py", line 128, in write
frames = (buffer.T.reshape((-1,)) * 32676).astype(np.int16).tobytes()
AttributeError: 'numpy.ndarray' object has no attribute 'tobytes'

sorry I just realized this was alredy posted


Can't play any video, error: "TypeError: function missing required argument 'line1' (pos 2)"

Bug report
Your Environment

Netflix add-on version: 1.20
Operating system version/name: LibreElec 19
Device model:  Raspberry Pi 3+

Used Operating system:

[ ] Android
[ ] iOS
[ ] Linux
[ ] OSX
[ v] Raspberry-Pi
[ ] Windows

Describe the bug

After trying to play any movie or show in the add-on the error appears
Expected behavior

play the selected movie
Actual behavior

error appears, movie doesn't play
Steps to reproduce the behavior

select any movie
hit play

Possible fix

Debug log

The debug log can be found from this link:
https://drive.google.com/open?id=1AXjk4v9FPc8Fg2u6Ttg4i31peB1gjFuH
Additional context or screenshots (if appropriate)
Installation

[ ] I'm using other Netflix Repo
[ ] I'm using a different source

Other information

Screenshots

This problem is with inputstreamhelper, your build of Kodi 19 is old, you need to use the newest build or try using an older version of inputstreamhelper, try installing this one manually.
https://github.com/emilsvennesson/script.module.inputstreamhelper/releases/download/v0.4.4/script.module.inputstreamhelper-0.4.4+matrix.1.zip

i updated my Kodi build and it works now. Thank you!


when the milestone 2 release?

hi they, when the milestone 2 release?
does it support syntax="proto3"?

All new development for parser and code generator is done in new repo: https://github.com/protostuff/protostuff-compiler
It can parse and generate code for proto3. Generated code is compatible with protostuff-core:1.4.4.


Error in decoding as error in callback

When one image cannot be parsed, the callback receives a second parameter with the related error message.
I also have updated the readme and made some updates in browser test.
Regards.

Thanks !


getHealth() always returns a nil error

Fixes: https://github.com/edgexfoundry/edgex-go/issues/2345
Signed-off-by: Michael Estrin<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://wiki.edgexfoundry.org/display/FA/Contributor's+Guide
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: https://github.com/edgexfoundry/edgex-go/issues/2345
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Are there any specific instructions or things that should be known prior to reviewing?
Other information

Codecov Report

Merging #2400 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2400   +/-   ##
=======================================
  Coverage   37.92%   37.92%
=======================================
  Files         157      157
  Lines       12786    12786
=======================================
  Hits         4849     4849
  Misses       7675     7675
  Partials      262      262

Continue to review full report at Codecov.

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


Testing upgrade to 10.7.6 and seeing a huge performance hit on queries compared to 5.5.2

Goals
Upgrade App to 10.7.x and MongoDB Realm
Expected Results
We completed the transition to the new SDK and expected the same or at least similar database performance with queries etc.
Actual Results
We are seems very large decrease in performance - 10x or 100x slower when performing complex queries compared to what we were used to getting with v5.5.1/2
Steps for others to Reproduce

we don't have a test app to reproduce this yet

Code Sample
We don't have a test app with queries to reproduce this yet
Version of Realm and Tooling
Realm framework version: SPM v10.7.6
Xcode version: 12.5
iOS/OSX version: macOS 11.3
Dependency manager + version: N/A

OK I just downloaded the v10.7.6 binaries and am using them instead of the SPM version and performance is back to more or less like it was with 5.5.2.
Is there some Xcode/compiler setting that might help ensure the SPM version runs faster - particularly when running in debug mode ?

@duncangroenewald because the binaries are not built with any debug code you will see a performance increase. With SPM because everything is built from source the compiler will inject any debug code it deems necessary and this is the cause of your slowdown. I don't believe there is any workaround to have your App's target in debug mode while having the SPM target in release.

@leemaguire do you know if we use debug versions of core in those debug builds? Because those are very slow.

I guess I'll stick with the binaries then.

@bmunkholm Core will be built from source with SPM so it will be a debug build.

Not knowing what flags are used for Core there, we could perhaps consider adjusting them. Core (at least used to) be built with abundant checking and 4-leaf tree instead of 1000. That's useful for testing, but not for any users using this.

Well let me know if you fix that and I'll try the SPM again.

We aren't doing anything particularly slow in the debug builds for SPM. It's just the lack of compiler optimizations being enabled and that's not something we can adjust.

Closing as the answer Thomas provided explains the issue.


iOS cannot find the homebridge device

Expected Behavior
iOS (iPad on 11.3.1 & iPhone on 12pb5) should find the Homebridge as a Homekit device
Current Behavior
iOS (iPad on 11.3.1 & iPhone on 12pb5) does not see the Homebridge as a Homekit device and/or cannot find it either
Steps to Reproduce (for bugs)
Install Homekit as described, modify config.json, launch, error
Versions

Homebridge: 0.4.44
Node:      6.3.0 (also didnt work with 5.10.0 or 5.6.0)
OS:         Rasbian Jessie w/ Kernel ver 4.9.35-v7+
System:   Raspberry 3B

Configuration

{
   "bridge": {
      "name": "Homebridge",
      "username": "B8:27:EB:41:2A:25",
      "port": 51826,
      "pin": "031-45-154"
   },

   "description": "RGB TestLED ",

   "accessories": [{
      "accessory": "HTTP-RGB",
      "name": "RGB LED",

      "switch": {
         "status": "http://<IP_ADDRESS>:80/status",
         "powerOn": "http://<IP_ADDRESS>:80/on",
         "powerOff": "http://<IP_ADDRESS>:80/off"
      },

      "color": {
         "status": "http://<IP_ADDRESS>:80/color",
         "url": "http://<IP_ADDRESS>:80/set/%s"
      },

      "brightness": {
         "status": "http://<IP_ADDRESS>:80/bright",
         "url": "http://<IP_ADDRESS>:80/set/%s"
      }
   }],

   "platforms": []

}

Homebridge Log / Command Output

NOTE:
Installed also "homebridge-better-http-rgb" but the error was existing before

Have you tried adding it with the default config?

Yes. But with that, homebridge even refuses to start.
``
pi@rpi-Alex:/ $ homebridge
[2018-8-9 14:47:42] Loaded config.json with 1 accessories and 1 platforms.
[2018-8-9 14:47:42] ---
[2018-8-9 14:47:42] Loaded plugin: homebridge-httptemperaturehumidity
[2018-8-9 14:47:42] Registering accessory 'homebridge-httptemperaturehumidity.HttpTemphum'
[2018-8-9 14:47:42] ---
[2018-8-9 14:47:42] Loading 1 platforms...
/usr/lib/node_modules/homebridge/lib/api.js:122
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^
Error: The requested platform 'PhilipsHue' was not registered by any plugin.
at API.platform (/usr/lib/node_modules/homebridge/lib/api.js:122:13)
at Server._loadPlatforms (/usr/lib/node_modules/homebridge/lib/server.js:315:45)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:85:36)
at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:43:10)
at Object. (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
``
I got the config sample from here:
https://github.com/nfarina/homebridge/blob/master/config-sample.json

I had this error too I wiped my Pi and then it fixed it self. Goodluck

I see your using Rapsbarian Jessie I tried Lite try that and do it headless or not depends on you.

Are you connected through LAN? I had the same issue, and fixed it by unplugging the lan cable and run homebridge on the wifi interface of the PI..

A small update for you guys.. (thanks to @iRayanKhan for the tipp) I did reinstall my RasbPI OS and is now running Debian Stretch. And with that I could get this thing to work.
@gerrit-goed wifi would not have been any option because the supposed place is in the cellar.

@AlexHuebi to close this thread there should be an option that says close or comment and close.


Make docker-compose SELinux compatible

In order to mount volumes into a Docker container with SELinux enabled
on the Hostsystem, we need to add ":Z" to the volume mount, as to proper
label the volume content mounted into a container

Kann ich nicht einschätzen. Müsstest mal Daniel und Sascha befragen...

@iris-ersc do you think this is still relevant? :thinking:

@iris-ersc do you think this is still relevant? thinking

I don't use docker anymore after all. But the 'z' ensures that SELinux does not complain during execution. However, when creating the container, all files are tagged with this label. This can sometimes take time.

@iris-ersc do you think this is still relevant? thinking

I don't use docker anymore after all. But the 'z' ensures that SELinux does not complain during execution. However, when creating the container, all files are tagged with this label. This can sometimes take time.

I am going to close this for now then, as this is more or less an "edge case".
However, anyone can feel free to open a new issue, if this issue continues to reappear.


add support for multiple include files

Leave the "IncludeFile sites.txt" directive currently included in the puppet-ezproxy module but allow for multiple other IncludeFile lines.

Nice mod.
What rationale would you have for splitting out different database definitions to different files?
I have switched to maintaining all of my definitions in hiera which the default module code assembles into sites.txt
Including additional files, would mean that those definitions weren't being maintained by the module itself?

That is correct, we do not have the module managing those files.  We already had the database definition file managed by puppet/git.
While i could have used the module to import a remote file into the sites.txt i began to question why that was necessary since the EzProxy config allows for multiple database import files.
I had attempted to load our database (puppet concat) into sites.txt but that was cumbersome due to the module managing the sites.txt file.
Additionally, converting my current database file to yaml would have nearly doubled the number of lines since we would now have to represent everything in key/values pairs.
I really like the module but if I had more time to spend on it I would probably parameterize the decision on where to store the database entries since it's somewhat arbitrary to enforce entry into sites.txt.

I've had something like this in mind as part of a refactor to add group support but haven't had the time to add it in yet, so thanks for the commit!
Yeah, database management is kinda arbitrary at the moment. For me, it was the best option I had at the time. I'd inherited an EZProxy config that was at least ten years old and had been maintained by folks with varying technical proficiency throughout. I suppose the nice way to put it is that it had grown organically. I'd probably say it had metastasized into an enormous pile of bullsh..., well let's say technical debt.
It's true that opting for yaml can increase the number of lines, but I went this route as I'd rather have it be more easily parsable at a glance in its yaml form since the config file we build for the server is intended to be more efficient and less human readable. That said, just because this works for me doesn't mean I want to tell anybody else how to run their hotdog stand.


Document/Improve include_mmd! file reading and panic message

currently, the value of the include_mmd attribute (the path) is just directly:
https://github.com/mersinvald/aquamarine/blob/6701fdb94ce2bcf1f6559648b2c77d73427b5bf4/src/attrs.rs#L107
though it's unclear what the current path in this context is when invoked via cargo doc in a workspace.
At the very least the panic should include the current working dir and the path that does not exist.

closed by #47


Bug: Issue with the find method in Widget Case

I wanted to retrieve a checkbox widget, but the manager.find() method always returned -1. After debugging a bit, I discovered that the issue is related to the Case widget. It turns out that in the Case widget, the check is performed as shown in the image below. In the Case widget, you need to pass a dictionary with texts, and if the key in this dictionary is a string, the find() method of the string is called. This can result in unexpected behavior, making it impossible to retrieve the desired widget.

it is already fixed since 2.0.0b18
https://github.com/Tishka17/aiogram_dialog/commit/fff17f779e506b90a748c61b3d6238b843668f3a


dev 0.11 new text field in settings will fail

Laravel Version: 5.4.x
Voyager Version: 0.11.x
PHP Version: 7.0
Database Driver & Version: mysql 5.7

Description:
Creating a new textarea or textfield will fail as it's missing a non optional field "details" which can not be left blank but it's not present on the form.
It will produce this message:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'details' cannot be null (SQL: insert into settings (display_name, key, type, details, order, value) values (Name, Key, text, , 10, ))
Seems like either the field should have that field as nullable or if it's actually needed on these 2 types have the form updated to omit this error.
Steps To Reproduce:
Fresh Laravel and Voyager install
Attempt to create a text or textarea in the sittings page.

Possible duplicate #706

Please use version v0.11.0.


(doc) Typos, acronyms and some rewording

Description Of Changes
I read the documentation and wanted to provide a few updates for typos, consistency, rewording and remove the acronyms.
Motivation and Context
See above.
Testing

[x] I have previewed these changes using the Docker Container or another method before submitting this pull request.

Change Types Made

[x] Minor documentation fix (typos etc.).
[ ] Major documentation change (refactoring, reformatting or adding documentation to existing page).
[ ] New documentation page added.
[ ] The change I have made should have a video added, and I have raised an issue for this.

Issue #

Change Checklist

[ ] Requires a change to menu structure (top or left hand side)/
[ ] Menu structure has been updated

Related Issue
N/A

@pauby thanks for getting these changes added!  They will be merged once the CI build completes.


EXPERIMENTAL_AUTO_CPP_THREAD_ATTACH - add option to replace use of thread_local with pthread_create_key

EXPERIMENTAL_AUTO_CPP_THREAD_ATTACH uses a thread_local object's destructor to detach a thread from the JVM
on exit - if it was previously attached due to a call across the JNI boudary.
The hooks to run a thread_local object's destructor have compatibility problems on some implementations
of Android L's libc, in call to cxa_thread_atexit_impl.
Add new define EXPERIMENTAL_AUTO_CPP_THREAD_ATTACH_NO_THREAD_LOCAL that does the same thing, but using
pthread_create_key/pthread_setspecific.  This has no dependency on cxa_thread_atexit_impl

Apologies - please disregard.  Bad merge target in PR.


Evaluate Tink as a solution for Cert rotation and hosting

https://github.com/google/tink

Not considering anytime soon. Close


Support for HATEOAS

What do you think would be "clean" implementations of HATEOAS  using Clean Architecture?
Few options that we are looking into:
Base class for Dto with links and populate link in controller
public abstract class LinkResourceBaseDto
{
        public List<LinkDto> Links { get; set; } = new List<LinkDto>();
}

(Personally I feel like this is polluting dto models)
Or create HATEOAS response formatter
https://docs.microsoft.com/en-us/aspnet/core/web-api/advanced/custom-formatters?view=aspnetcore-3.1

Hi @akolodkin,
Thanks for your suggestion on the Northwind project.  Introducing HATEOS is not a direction we want to go in.  With the use of code generators, consumers of the API are easily able to get a strongly typed client to interact with the API.  We far prefer this model over having a more loosely typed discoverable API.


Add web consoles doc page

This PR adds a new doc page containing information about Druid's web consoles.

Updated the router docs to reference the new web console

License check passes for new page, skipping other CI for doc-only change


MacOS installer is broken

Downloading from get.webmr.io yields the following error:

Is this related to code signing? If so, what happens on a custom generated cert with the same .travis.yml steps?

Attempted fix in https://github.com/webmixedreality/exokit/commit/1aa018c63c37171faa536f8b781427de40587996

The release dropped with this works for me: https://github.com/webmixedreality/exokit/releases/tag/v0.0.248
@shawwn Can you confirm?

The bug was an Apple Developer ID certificate was required (we already had one).
Signed the .dmg but now the issue is the .app + dylibs apparently need to be signed as well. Related research: https://successfulsoftware.net/2012/08/30/how-to-sign-your-mac-os-x-app-for-gatekeeper/

Decent first pass is in https://github.com/webmixedreality/exokit/pull/58

Closing in favor of newer issue https://github.com/webmixedreality/exokit/issues/613.


Could not set socket to non-blocking:No error

How to fix?
Detail: Unable to subscribe to device add/remove events

@Anselz can you confirm that Apple Mobile service is running?
and you can try to run as admin

closing the issue since no reply form OP


Phantom variable ngilogo

From where come from the ngilogo variable?
https://github.com/nf-core/rnaseq/blob/e8376373da8c1dfb0cae5372947cf5b241056076/main.nf#L1232

Hmm, looks like an update error - the line above also isn't used: https://github.com/nf-core/rnaseq/blob/e8376373da8c1dfb0cae5372947cf5b241056076/main.nf#L1230-L1232
This doesn't really matter though - the main template code doesn't have this error, so it's just one more thing that needs to be scooped in to https://github.com/nf-core/rnaseq/issues/94 to bring this pipeline in line with the main template.
Because this pipeline is one of the oldest it's ironically one that's furthest from the main template pipeline (which should be the gold standard for nf-core pipelines). So yes, syncing the two should be a high priority.

As template branch has been synced now, we can close this 👍


Strange buffer pointers in LwIPReceiveUDPMessage on ESP32

Problem
Derived from #19289 — added some pbuf logging on master and ran all-clusters-app on M5Stack (patch and sample log attached).
Every pbuf handed to LwIPReceiveUDPMessage() seems to have a bad payload pointer, outside the buffer. The pointers vary from run to run but are somewhat consistent within a run; for the same pbuf, the payload pointer is often (but not always) the same. The payload pointers always seem to be moderately close to the pbuf (within 32K), but seem to never be within the buffer.
Examples extracted from the attached log —
      pbuf pointer   pbuf->payload, offset len         AllocSize
      -------------- --------------------- ----------- -----------
UDP   pb: 0x3fff07c0 pay: 0x3fff099c   476 len: 0x0024 asz: 0x05D8
UDP   pb: 0x3fff07c0 pay: 0x3fff099c   476 len: 0x0028 asz: 0x05D8
UDP   pb: 0x3fff07c0 pay: 0x3fff099c   476 len: 0x0046 asz: 0x05D8
UDP   pb: 0x3fff07c0 pay: 0x3fff099c   476 len: 0x0056 asz: 0x05D8
UDP   pb: 0x3fff07c0 pay: 0x3fff099c   476 len: 0x005E asz: 0x05D8
UDP   pb: 0x3fff07c0 pay: 0x3fff099c   476 len: 0x00D8 asz: 0x05D8
UDP   pb: 0x3fff07c0 pay: 0x3fff099c   476 len: 0x017A asz: 0x05D8
UDP   pb: 0x3fff07c0 pay: 0x3fff099c   476 len: 0x017B asz: 0x05D8
UDP   pb: 0x3fff2ec4 pay: 0x3fff348c  1480 len: 0x0028 asz: 0x05D8
UDP < pb: 0x3fff23d0 pay: 0x3fff0f8c -5188 len: 0x0024 asz: 0x05D8
UDP < pb: 0x3fff23d0 pay: 0x3fff0f8c -5188 len: 0x0028 asz: 0x05D8
UDP < pb: 0x3fff23d0 pay: 0x3fff0f8c -5188 len: 0x0046 asz: 0x05D8
UDP < pb: 0x3fff23d0 pay: 0x3fff0f8c -5188 len: 0x005E asz: 0x05D8
UDP < pb: 0x3fff23d0 pay: 0x3fff0f8c -5188 len: 0x00A9 asz: 0x05D8
UDP < pb: 0x3fff23d0 pay: 0x3fff0f8c -5188 len: 0x00D6 asz: 0x05D8
UDP < pb: 0x3fff23d0 pay: 0x3fff0f8c -5188 len: 0x017A asz: 0x05D8
UDP < pb: 0x3fff2eb8 pay: 0x3fff0f8e -7978 len: 0x001A asz: 0x05D8
UDP > pb: 0x3ffee54c pay: 0x3fff1122 11222 len: 0x00B1 asz: 0x05D8
UDP > pb: 0x3fff0224 pay: 0x3fff3e06 15330 len: 0x0033 asz: 0x05D8
UDP > pb: 0x3fff0238 pay: 0x3fff0f8e  3414 len: 0x02E0 asz: 0x05D8
UDP > pb: 0x3fff0238 pay: 0x3fff5446 21006 len: 0x0033 asz: 0x05D8
UDP > pb: 0x3fff05e4 pay: 0x3fff0f8c  2472 len: 0x004D asz: 0x05D8
UDP > pb: 0x3fff05e4 pay: 0x3fff0f8c  2472 len: 0x005E asz: 0x05D8
UDP > pb: 0x3fff05e4 pay: 0x3fff0f8c  2472 len: 0x017A asz: 0x05D8
UDP > pb: 0x3fff05e4 pay: 0x3fff3762 12670 len: 0x0022 asz: 0x05D8
UDP > pb: 0x3fff05e4 pay: 0x3fff3762 12670 len: 0x002A asz: 0x05D8
UDP > pb: 0x3fff05e4 pay: 0x3fff3d56 14194 len: 0x02E0 asz: 0x05D8
UDP > pb: 0x3fff07fc pay: 0x3fff1040  2116 len: 0x0024 asz: 0x05D8
UDP > pb: 0x3fff07fc pay: 0x3fff1040  2116 len: 0x00A4 asz: 0x05D8
UDP > pb: 0x3fff07fc pay: 0x3fff1040  2116 len: 0x00A9 asz: 0x05D8
UDP > pb: 0x3fff07fc pay: 0x3fff1040  2116 len: 0x00D6 asz: 0x05D8
UDP > pb: 0x3fff07fc pay: 0x3fff1040  2116 len: 0x017A asz: 0x05D8
UDP > pb: 0x3fff07fc pay: 0x3fff1040  2116 len: 0x017B asz: 0x05D8
UDP > pb: 0x3fff0818 pay: 0x3fff348c 11380 len: 0x0046 asz: 0x05D8
UDP > pb: 0x3fff0818 pay: 0x3fff348c 11380 len: 0x00D6 asz: 0x05D8
UDP > pb: 0x3fff194c pay: 0x3fff3b32  8678 len: 0x0033 asz: 0x05D8
UDP > pb: 0x3fff194c pay: 0x3fff43fa 10926 len: 0x02E0 asz: 0x05D8
UDP > pb: 0x3fff1960 pay: 0x3fff3b30  8656 len: 0x004D asz: 0x05D8
UDP > pb: 0x3fff23d0 pay: 0x3fff348c  4284 len: 0x00D8 asz: 0x05D8
UDP > pb: 0x3fff23d0 pay: 0x3fff348e  4286 len: 0x0022 asz: 0x05D8
UDP > pb: 0x3fff2c0c pay: 0x3fff47ae  7074 len: 0x02E0 asz: 0x05D8
UDP > pb: 0x3fff2cec pay: 0x3fff41d4  5352 len: 0x0090 asz: 0x05D8
UDP > pb: 0x3fff2d00 pay: 0x3fff3b30  3632 len: 0x00D6 asz: 0x05D8
UDP > pb: 0x3fff2ec4 pay: 0x3fff348c  1480 len: 0x0090 asz: 0x05D8
UDP > pb: 0x3fff2ec4 pay: 0x3fff348c  1480 len: 0x00A4 asz: 0x05D8
UDP > pb: 0x3fff2ec4 pay: 0x3fff348c  1480 len: 0x00D6 asz: 0x05D8
UDP > pb: 0x3fff2ec4 pay: 0x3fff348c  1480 len: 0x017B asz: 0x05D8
UDP > pb: 0x3fff2ec4 pay: 0x3fff3b32  3182 len: 0x0033 asz: 0x05D8
UDP > pb: 0x3fff2ec4 pay: 0x3fff3e06  3906 len: 0x0033 asz: 0x05D8
UDP > pb: 0x3fff2ec4 pay: 0x3fff43fa  5430 len: 0x0033 asz: 0x05D8

0001-LOG.patch.txt
log.chip-all-clusters-app.20220608181346.txt

@dhrishi

The payload pointer may be outside the pbuf depending how it's allocated. You'd have to trace the path for incoming packets

The payload pointer may be outside the pbuf depending how it's allocated. You'd have to trace the path for incoming packets

It looks like that is the case; the incoming buffers are PBUF_REF with the payload somewhere else.
The current PacketBuffer code, and the LwIP receive path, fundamentally assume that the pbuf and payload are part of one contiguous block, and use the space in betwwn, so this isn't going to work.

Oh, wow.  So the fact that it ever worked at all was basically just luck?  We were stomping on parts of the pbuf pool, but they happened to be ok to stomp on, by accident???

I think the reason it ‘works’ is that LwIP reads the whole low-level frame into a buffer, and then consumes up through the IP header, and returns a payload pointer to that point. So when the code reuses that space, by accessing it relative to the payload pointer, it works. #19244 tried accessing it relative to the header, and crashed.
EnsureReservedSize() always claims success, because ReservedSize() casts the pointer difference to unsigned, so everything looks like a large reserve.
I don't think there's any hope of replacing all the ‘reserve’ code and uses for 1.0, so I think the path forward is:

Reconfigure incoming LwIP on ESP32 (and possibly others) to use one of the contiguous LwIP buffer types, PBUF_RAM or PBUF_POOL (I don't know where to do this);
Document that CHIP_SYSTEM_CONFIG_PACKETBUFFER_LWIP_PBUF_TYPE must be one of these buffer types;
Wherever we get an LwIP pbuf (LwIPReceiveUDPMessage() and PacketBuffer::New() that I know of), do VerifyOrDie(p->flags & PBUF_TYPE_FLAG_STRUCT_DATA_CONTIGUOUS).

We do what you suggest above, send the packetinfo in the reserved space.  This probably requires LwIP to do a copy of the data, right?

That may be so, though I don't know LwIP internals. (I speculate that it may be using the separate-payload model because some hardware may make a page-aligned payload advantageous.)

We keep doing what we do now, with static asserts that a packetinfo is always smaller than the IP header .... Seems dubious.
We allocate (heap? pool?) a struct that has the packetinfo and the pointer to the pbuf, and then pass that to the Matter thread.

Yes, @tcarmelveilleux suggested similar in #17213. But I naïvely thought that just fixing the alignment would be enough for now…
If the reserve concept doesn't get ripped out entirely (which would definitely simplify PacketBuffer), then  ReservedSize() should also check for the CONTIGUOUS flag and return zero otherwise.

If the reserve concept doesn't get ripped out entirely

I think we use it quite a bit on the save path to pre-reserve space for our headers....

then ReservedSize() should also check for the CONTIGUOUS flag and return zero otherwise.

Yes, that would make a lot of sense.

I checked how IPPacketInfo class is used in UDPEndPointImplLwIP.cpp. The packet info is copied in UDPEndPointImplLwIP::HandleDataReceived.
We can modify the signature to void HandleDataReceived(chip::System::PacketBufferHandle && aBuffer, const PacketInfo &aPacketInfo); and pass the packet info explicitly in the lambda.
Code will be like:
  364     IPPacketInfo pktInfo;
  365     pktInfo->SrcAddress  = IPAddress(*addr);
  366     pktInfo->DestAddress = IPAddress(*ip_current_dest_addr());
  367     pktInfo->Interface   = InterfaceId(ip_current_netif());
  368     pktInfo->SrcPort     = port;
  369     pktInfo->DestPort    = pcb->local_port;
  370
  371     ep->Retain();
  372     CHIP_ERROR err = ep->GetSystemLayer().ScheduleLambda([ep, p = System::LwIPPacketBufferView::UnsafeGetLwIPpbuf(buf), pktInfo] {
  373         ep->HandleDataReceived(System::PacketBufferHandle::Adopt(p), pktInfo);
  374         ep->Release();
  375     });

Will this eliminate the need to access the IP and link layer header of the pbuf? Doing such thing is always dangerous.

That's basically sweeping the heap-allocation of the IPPacketInfo under the rug into the lambda allocation, right?  I would rather make any sort of sizeable allocations explicit, so if they fail we gracefully return error instead of throwing uncaught exceptions or whatever happens if we fail to allocate the lambda....

@kpschoedel In the SVE test the issue showed up again in group message tests.
In SessionManager.cpp we are cloning the packet buffer:
659     while (!decrypted && iter->Next(groupContext))
660     {
661         // Optimization to reduce number of decryption attempts
662         if (groupId != groupContext.group_id)
663         {
664             continue;
665         }
666         msgCopy = msg.CloneData();
667         CryptoContext::NonceStorage nonce;
668         CryptoContext::BuildNonce(nonce, packetHeader.GetSecurityFlags(), packetHeader.GetMessageCounter(),
669                                   packetHeader.GetSourceNodeId().Value());
670         decrypted = (CHIP_NO_ERROR ==
671                      SecureMessageCodec::Decrypt(CryptoContext(groupContext.key), nonce, payloadHeader, packetHeader, msgCopy));
672     }

The msg.CloneData() fails because the pbuf does not fit in the packet buffer's memory model at all. We have to find a way to handle the lwIP pbufs with an isolated payload.


Add version of icu-macos-fix with no brew install

Will be useful for making a brew formula where we can list icu4c as a
dependency there

I am not on a mac, is this thing ok to land?

I'm away from mac, can check only in 12+ hours

Didn't have time to check today. But it's pretty mechanical change and everything looks fine.


Howto Link CPPurses To project

Hello , again . how can i add cppurses to a cmake project ?

For the latest commit on the master branch, this is how I would link with cppurses, if it is installed:
...
add_executable(main main.cpp)
target_link_libraries(main -lcppurses -lncurses -pthread)
...

If you have the library archive file local to your project, then you can specify the path to it directly instead of -lcppurses.
I have very recently updated the master branch and the library archive name has been changed, so if you are using an older commit the linker flag would be -llibcppurses. And just a heads up, the newest commit on master has breaking API changes.


allow .🥒 as a file extension

Feature request: I think it would be nice if we could put a "pickle" (it's really a cucumber) as the file extension, in addition to .pkl. this is similar to mojo files accepting .🔥 as the file extension. https://docs.modular.com/mojo/faq.html#why-does-mojo-have-the-file-extension
I would also accept any other pickled food emojis.

Yeah, absolutely. Actually, Pkl isn't picky; it already does!

well I'll be darned, thank you for humoring me, ahahaha. i wonder how angry that makes the nvim plugin, im sure theres some place i can change the file extension.


Remove the 'akas' column and tidy up the documents for aws_backup_job table

Integration test logs

Logs
Add passing integration test logs here

Example query results

Results
Add example SQL query results here (please include the input queries as well)

@khushboo9024 could you please fix the formatting in table_aws_backup_job.go file?

The akas column has been removed since the API does not return an ARN for this resource.
Reference doc - https://docs.aws.amazon.com/aws-backup/latest/devguide/API_BackupJob.html


Process 'msbuild.exe' exited with code '1'.

The build job on vsts always runned fine. But now the build job is broken and i don't know why.
We use our own build agent (not the hosted agent) and we get always this error since some days.
I attached the log files of the vsts build job.
Maybe you can figure out what is the problem here?
For your information we have a second build for another .NET product that is running fine... So i think the problem is not our own build server ...
With kind regards,
SickAmente
logs_1888.zip

If msbuild returned 1 and the build failed then the CI system ( and this task which runs msbuild ) did its job correctly.  You have to figure out why your build failed

Hi Bryan,
but the Log of the VSTS Console shows that there are no build errors. For what shall I search then?

The log clearly shows that msbuild exited with a return code of 1, that's a failure.


Memory leak in daemon

Hi,
we are using client send in daemon and we have memory leak. During debug I found next
Example of code
package main

import (
	"context"
	cloudevents "github.com/cloudevents/sdk-go/v2"
	"log"
	"net/http"
	_ "net/http/pprof"
	"sync"
)

func main() {
	wg := sync.WaitGroup{}

	wg.Add(1)
	go func() {
		defer wg.Done()
		log.Println(http.ListenAndServe("localhost:6060", nil))
	}()

	c, err := cloudevents.NewClientHTTP()
	if err != nil {
		log.Fatalf("failed to create client, %v", err)
	}

	queue := make(chan struct{}, 100)

	for i := 0; i < 500; i++ {
		queue <- struct{}{}

		go func() {
			// Create an Event.
			event :=  cloudevents.NewEvent()
			event.SetSource("example/uri")
			event.SetType("example.type")
			event.SetData(cloudevents.ApplicationJSON, map[string]string{"hello": "world"})

			// Set a target.
			ctx := cloudevents.ContextWithTarget(context.Background(), "http://localhost:14046/health-check")

			// Send that Event.
			if result := c.Send(ctx, event); cloudevents.IsUndelivered(result) {
				log.Fatalf("failed to send, %v", result)
			}
			<-queue
		}()
	}

	wg.Wait()
}

If I sending 500 request in example in debug goruitine we will see 1000 not close gorutine 500 for read 500 for write
http://localhost:6060/debug/pprof/goroutine?debug=1
goroutine profile: total 1005
500 @ 0x103b8a5 0x104c7d7 0x132aae7 0x1071c61
#	0x132aae6	net/http.(*persistConn).readLoop+0x966	/usr/local/Cellar/go/1.16.4/libexec/src/net/http/transport.go:2203

500 @ 0x103b8a5 0x104c7d7 0x132bef7 0x1071c61
#	0x132bef6	net/http.(*persistConn).writeLoop+0xf6	/usr/local/Cellar/go/1.16.4/libexec/src/net/http/transport.go:2382

1 @ 0x103b8a5 0x103421b 0x106c155 0x10c8f25 0x10c9b55 0x10c9b37 0x12289cf 0x1234571 0x130a418 0x1071c61
#	0x106c154	internal/poll.runtime_pollWait+0x54		/usr/local/Cellar/go/1.16.4/libexec/src/runtime/netpoll.go:222
#	0x10c8f24	internal/poll.(*pollDesc).wait+0x44		/usr/local/Cellar/go/1.16.4/libexec/src/internal/poll/fd_poll_runtime.go:87
#	0x10c9b54	internal/poll.(*pollDesc).waitRead+0x1d4	/usr/local/Cellar/go/1.16.4/libexec/src/internal/poll/fd_poll_runtime.go:92
#	0x10c9b36	internal/poll.(*FD).Read+0x1b6			/usr/local/Cellar/go/1.16.4/libexec/src/internal/poll/fd_unix.go:166
#	0x12289ce	net.(*netFD).Read+0x4e				/usr/local/Cellar/go/1.16.4/libexec/src/net/fd_posix.go:55
#	0x1234570	net.(*conn).Read+0x90				/usr/local/Cellar/go/1.16.4/libexec/src/net/net.go:183
#	0x130a417	net/http.(*connReader).backgroundRead+0x57	/usr/local/Cellar/go/1.16.4/libexec/src/net/http/server.go:692

1 @ 0x103b8a5 0x103421b 0x106c155 0x10c8f25 0x10c9b55 0x10c9b37 0x12289cf 0x1234571 0x130a999 0x1101988 0x110267d 0x11028d4 0x12a4436 0x1305eaa 0x1305eab 0x130be3d 0x1310a45 0x1071c61
#	0x106c154	internal/poll.runtime_pollWait+0x54		/usr/local/Cellar/go/1.16.4/libexec/src/runtime/netpoll.go:222
#	0x10c8f24	internal/poll.(*pollDesc).wait+0x44		/usr/local/Cellar/go/1.16.4/libexec/src/internal/poll/fd_poll_runtime.go:87
#	0x10c9b54	internal/poll.(*pollDesc).waitRead+0x1d4	/usr/local/Cellar/go/1.16.4/libexec/src/internal/poll/fd_poll_runtime.go:92
#	0x10c9b36	internal/poll.(*FD).Read+0x1b6			/usr/local/Cellar/go/1.16.4/libexec/src/internal/poll/fd_unix.go:166
#	0x12289ce	net.(*netFD).Read+0x4e				/usr/local/Cellar/go/1.16.4/libexec/src/net/fd_posix.go:55
#	0x1234570	net.(*conn).Read+0x90				/usr/local/Cellar/go/1.16.4/libexec/src/net/net.go:183
#	0x130a998	net/http.(*connReader).Read+0x1b8		/usr/local/Cellar/go/1.16.4/libexec/src/net/http/server.go:800
#	0x1101987	bufio.(*Reader).fill+0x107			/usr/local/Cellar/go/1.16.4/libexec/src/bufio/bufio.go:101
#	0x110267c	bufio.(*Reader).ReadSlice+0x3c			/usr/local/Cellar/go/1.16.4/libexec/src/bufio/bufio.go:360
#	0x11028d3	bufio.(*Reader).ReadLine+0x33			/usr/local/Cellar/go/1.16.4/libexec/src/bufio/bufio.go:389
#	0x12a4435	net/textproto.(*Reader).readLineSlice+0xd5	/usr/local/Cellar/go/1.16.4/libexec/src/net/textproto/reader.go:57
#	0x1305ea9	net/textproto.(*Reader).ReadLine+0xa9		/usr/local/Cellar/go/1.16.4/libexec/src/net/textproto/reader.go:38
#	0x1305eaa	net/http.readRequest+0xaa			/usr/local/Cellar/go/1.16.4/libexec/src/net/http/request.go:1027
#	0x130be3c	net/http.(*conn).readRequest+0x19c		/usr/local/Cellar/go/1.16.4/libexec/src/net/http/server.go:986
#	0x1310a44	net/http.(*conn).serve+0x704			/usr/local/Cellar/go/1.16.4/libexec/src/net/http/server.go:1878

1 @ 0x103b8a5 0x103421b 0x106c155 0x10c8f25 0x10ca632 0x10ca614 0x1229885 0x123b832 0x123a885 0x13157c5 0x13154da 0x13a97a5 0x13a97a6 0x1071c61
#	0x106c154	internal/poll.runtime_pollWait+0x54		/usr/local/Cellar/go/1.16.4/libexec/src/runtime/netpoll.go:222
#	0x10c8f24	internal/poll.(*pollDesc).wait+0x44		/usr/local/Cellar/go/1.16.4/libexec/src/internal/poll/fd_poll_runtime.go:87
#	0x10ca631	internal/poll.(*pollDesc).waitRead+0x211	/usr/local/Cellar/go/1.16.4/libexec/src/internal/poll/fd_poll_runtime.go:92
#	0x10ca613	internal/poll.(*FD).Accept+0x1f3		/usr/local/Cellar/go/1.16.4/libexec/src/internal/poll/fd_unix.go:401
#	0x1229884	net.(*netFD).accept+0x44			/usr/local/Cellar/go/1.16.4/libexec/src/net/fd_unix.go:172
#	0x123b831	net.(*TCPListener).accept+0x31			/usr/local/Cellar/go/1.16.4/libexec/src/net/tcpsock_posix.go:139
#	0x123a884	net.(*TCPListener).Accept+0x64			/usr/local/Cellar/go/1.16.4/libexec/src/net/tcpsock.go:261
#	0x13157c4	net/http.(*Server).Serve+0x284			/usr/local/Cellar/go/1.16.4/libexec/src/net/http/server.go:2981
#	0x13154d9	net/http.(*Server).ListenAndServe+0xb9		/usr/local/Cellar/go/1.16.4/libexec/src/net/http/server.go:2910
#	0x13a97a4	net/http.ListenAndServe+0x84			/usr/local/Cellar/go/1.16.4/libexec/src/net/http/server.go:3164
#	0x13a97a5	main.main.func1+0x85				/Users/a.ryazanov/go/src/test/sdk-go/sdk-go.go:18

1 @ 0x103b8a5 0x104d2a5 0x104d28e 0x106db85 0x107da25 0x13a9705 0x103b476 0x1071c61
#	0x106db84	sync.runtime_Semacquire+0x44	/usr/local/Cellar/go/1.16.4/libexec/src/runtime/sema.go:56
#	0x107da24	sync.(*WaitGroup).Wait+0x64	/usr/local/Cellar/go/1.16.4/libexec/src/sync/waitgroup.go:130
#	0x13a9704	main.main+0x1a4			/Users/a.ryazanov/go/src/test/sdk-go/sdk-go.go:49
#	0x103b475	runtime.main+0x255		/usr/local/Cellar/go/1.16.4/libexec/src/runtime/proc.go:225

1 @ 0x106bd9d 0x1398cee 0x1398ac5 0x1395652 0x13a6f25 0x13a8777 0x1311ec4 0x1313d4d 0x13153e3 0x1310c0d 0x1071c61
#	0x106bd9c	runtime/pprof.runtime_goroutineProfileWithLabels+0x5c	/usr/local/Cellar/go/1.16.4/libexec/src/runtime/mprof.go:716
#	0x1398ced	runtime/pprof.writeRuntimeProfile+0xcd			/usr/local/Cellar/go/1.16.4/libexec/src/runtime/pprof/pprof.go:724
#	0x1398ac4	runtime/pprof.writeGoroutine+0xa4			/usr/local/Cellar/go/1.16.4/libexec/src/runtime/pprof/pprof.go:684
#	0x1395651	runtime/pprof.(*Profile).WriteTo+0x3f1			/usr/local/Cellar/go/1.16.4/libexec/src/runtime/pprof/pprof.go:331
#	0x13a6f24	net/http/pprof.handler.ServeHTTP+0x384			/usr/local/Cellar/go/1.16.4/libexec/src/net/http/pprof/pprof.go:253
#	0x13a8776	net/http/pprof.Index+0x8d6				/usr/local/Cellar/go/1.16.4/libexec/src/net/http/pprof/pprof.go:371
#	0x1311ec3	net/http.HandlerFunc.ServeHTTP+0x43			/usr/local/Cellar/go/1.16.4/libexec/src/net/http/server.go:2069
#	0x1313d4c	net/http.(*ServeMux).ServeHTTP+0x1ac			/usr/local/Cellar/go/1.16.4/libexec/src/net/http/server.go:2448
#	0x13153e2	net/http.serverHandler.ServeHTTP+0xa2			/usr/local/Cellar/go/1.16.4/libexec/src/net/http/server.go:2887
#	0x1310c0c	net/http.(*conn).serve+0x8cc				/usr/local/Cellar/go/1.16.4/libexec/src/net/http/server.go:1952

for fix this problem need to close Body.Close() https://github.com/cloudevents/sdk-go/blob/main/v2/protocol/http/protocol_retry.go#L36
example
resp, err := p.Client.Do(req)

if resp != nil {
  defer resp.Body.Close()
}

thanks! I will look into this and the linked PR

I think this was fixed by https://github.com/cloudevents/sdk-go/pull/689, but we have not had a chance to make a release yet.
Could you try your test again with what is at HEAD?

Ok awesome, I will wait for you to confirm and then run a release tomorrow. Thanks for the report!!

All fine. The code from the latest main branch works as expected. All read/write goroutines are closed. No memory leak or overhead memory limit using. Thanks for fast answer, we need it release for our production using.

awesome, will make a release then, thanks!


readarr: init at <IP_ADDRESS>0

Description of changes
This adds Readarr a Usenet/BitTorrent ebook/audiobook downloader. One of the many *arr tool
Closes https://github.com/NixOS/nixpkgs/issues/179941
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)
[x] 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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 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
[x] (Module addition) Added a release notes entry if adding a new NixOS module
[x] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

The package should build for aarch64-linux and x86_64-darwin but I cannot test these. I was able to build the application and run it nix-build -A readarr ./ and ./result/bin/Readarr
As I never added a module I'm not sure how to test it given that I'm using flakes in my configuration and I only found ways to test it when not using flakes. If someone can explain how to test it when using flakes, I can test it as well.

@purcell: Would you mind giving this PR a quick review please?

Hey, pkgs/servers/readarr/default.nix looks good to me, I can't really comment on best practices for the tests and updating release notes etc.

Anything in particular blocking this from getting merged?

I'm not aware of any blocker, and assume that it has languished due to the suggestion that we instead build from source. From my perspective, that might be preferable, but needn't hold it up because readarr/sonarr also do so.

@jocelynthode Hey, sorry I haven't come around to this sooner. Are you willing to rebase it to address the conflict?
I fully agree with the comment by @purcell.

@etu Thanks for taking a look at this. I've rebased and also updated to the latest version via the update script present :). I've also retested via nix-build -A readarr ./ and running the resulting Readarr binary with success.


[BEAM-11088] Enable TestStream tests on Dataflow

Enable TestStream primitive tests on Dataflow since the primitive should be supported.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.


ContainerWait() waits until the context closed

fix bug when hyperctl build on devicemapper storage.
Signed-off-by: Lai Jiangshan<EMAIL_ADDRESS>

https://github.com/hyperhq/runv/pull/205

LGTM


Add information/link on how can the users buy tokens

This has become more obvious with the H2O integration. There is no information on our market teaching our users how they can buy certain tokens and interact with the datasets available.
Suggestion: If the user doesn't have enough tokens in his wallet to do a certain operation(like in the screenshot below), we could add a little question mark with a link towards an exchange or how the users can actually get H2O/Ocean tokens.

Thanks @corrie-sloot for raising this

You could add a link to the text at the bottom, "You do not have enough  in your wallet to purchase this asset", "Click here to find out how to obtain ."
The link would point to some user documentation on how to purchase the token.

I could also see this as a quick possible integration

and the widget has a very intuitive UX

but only if multiple factors are already true, like user is logged into that site. Otherwise these are the steps:

create account on embr.org
submit passport and stuff and get through KYC
go back to Ocean Market, login again
buy tokens, hope your credit card doesn't get locked by your bank

And we have to hope that embr.org never gets hacked, otherwise we have given attacker full control over our app deployments cause we load in javascript from there.
The one and only place we send people to get OCEAN is this page, as we can not assume users having account on one specific site https://oceanprotocol.com/token

Sooo, is there any actionable conclusion on this?

Sooo, is there any actionable conclusion on this?

I do see value in allowing for Credit Card purchases as an alternative to Metamask. This is how NFT marketplaces onboarded thousands of new users during the bull market.
Is Embr the best option? Maybe not. But if we agree that there is value in CC purchases (fiat -> token -> purchase) I can then continue researching other possible alternatives currently available on the market, with their pros/cons.

With regard to the information, we have a related issue on the docs for explaining what H2O is and where to get it from and we can link to a few different exchanges from there (https://github.com/oceanprotocol/docs/issues/1093). My suggestion is that we keep the info in the docs and then in the market we can just have a link to the docs. An advantage of doing it that way is that we can link to multiple exchanges and the format gives us space to explain that we aren't necessarily endorsing them.


Fix namespace for migrations

Update namespace/path pairs to search for migrations in config/packages/doctrine_migrations.yaml
Replace :
'DoctrineMigrations': '%kernel.project_dir%/src/Domain/Migrations'

by
'App\Domain\Migrations': '%kernel.project_dir%/src/Domain/Migrations'

What do you think about that @Rantignac ?

I approve this, since DoctrineMigrationsBundle v 3.1 the configuration has changed: https://symfony.com/doc/master/bundles/DoctrineMigrationsBundle/index.html#configuration


Update groupId

Despite 5bb2ce95cb4ed88fd32bed591cabbf5604be91a4 the groupId is still io.github.znetworkw.znpcservers in Maven central.
Alternatively, I think you could resolve this by releasing the 3.7 version.

Hey, thanks for this, the current code is for version 3.7 (not finished), so it hasn't been released on spigot yet. There's nothing you can use safely on this version since it will probably be changed, I'll relocate the project on maven central to the new name when is finish.


Initiative, indicator fixes

Enable delete protection on initiative groups
fixed indicators.add() for existing indicator
fixed indicators.add() for indicator not present in any solution template

closes #44 closes #46

@ManushiM this is OK to merge - but you will need to resolve the merge conflicts with master. That should be straight-forward to fix.


React Native - Expo, Password Reset, redirect URL and Exchange authorization code.

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.
Related issues (#5663), (https://github.com/supabase/auth-helpers/issues/567)

Describe the bug
I am encountering difficulties with the password reset feature in while developing a React Native Expo application. The password reset is not functioning as expected, and I am experiencing inconsistent behavior with the redirect URL. Additionally, how to handle reset password after redirect what is code ?

Actual Behavior

Sometimes it's redirect to base URL exp://<IP_ADDRESS>:8081 and some time it is redirecting to provided URL exp://<IP_ADDRESS>:8081/--/resetPassword,

Then at final approach as supabase docs:

// The code is retrieved from the query parameter - use whichever mechanism is recommended
// for your app/framework. This is just an example.
const code = url.searchParams.get('code')

// call the Supabase API to exchange the code for a session
await supabase.auth.exchangeCodeForSession(code)

However, the query parameter looks like this:
exp://<IP_ADDRESS>:8081/--/resetPassword#access_token=123&expires_in=3600&refresh_token=123&token_type=bearer&type=recovery"

Redirect URLs

Code snippets:
supabase.ts

import "react-native-url-polyfill/auto";
import * as SecureStore from "expo-secure-store";
import { createClient } from "@supabase/supabase-js";
import { SUPABASE_ANON_KEY } from "@env";
import { SupabaseAuthClientOptions } from "@supabase/supabase-js/dist/module/lib/types";

const ExpoSecureStoreAdapter = {
  getItem: (key: string) => {
    return SecureStore.getItemAsync(key);
  },
  setItem: (key: string, value: string) => {
    SecureStore.setItemAsync(key, value);
  },
  removeItem: (key: string) => {
    SecureStore.deleteItemAsync(key);
  },
};

const supabaseUrl = "https://bbrkeceesipzffkdvfpd.supabase.co";
const supabaseAnonKey = SUPABASE_ANON_KEY;

export const supabase = createClient(supabaseUrl, supabaseAnonKey, {
  auth: {
    storage: ExpoSecureStoreAdapter as SupabaseAuthClientOptions["storage"],
    autoRefreshToken: true,
    persistSession: true,
    detectSessionInUrl: false,
  },
});

LoginScreen.ts
    const resetPassword = async (email: string) => {

      const resetPasswordURL = Linking.createURL("resetPassword");

      const { data, error } = await supabase.auth.resetPasswordForEmail(email, {
        redirectTo: resetPasswordURL,
      });
    };

Gotcha supabase/supabase#2: Supabase's Unconventional Query Parameters

Screenshots

System information

React Native: 0.72.3
Expo: ^49.0.0
Expo Linking: ~5.0.2
Supabase: ^2.32.0

To take advantage of the exchange code route method, you need to set auth > flowType option to pkce for your supabase client

However, the query parameter looks like this:
exp://<IP_ADDRESS>:8081/--/resetPassword#access_token=123&expires_in=3600&refresh_token=123&token_type=bearer&type=recovery"

Multiple problems here:

As @j4w8n mentioned you need flowtype set to pkce.
You need to replace the # with ? to be able to extract it from the query.

Augment this for PKCE flow once you have that enabled. You also new URL polyfill to be installed.
const parsedUrl = url_with_code_as_hashtag.replace("#", "?");
const url = new URL(parsedUrl);
const access_token = url.searchParams.get("access_token");
const refresh_token = url.searchParams.get("refresh_token");

// Handle code exchanges

However, the query parameter looks like this:
exp://<IP_ADDRESS>:8081/--/resetPassword#access_token=123&expires_in=3600&refresh_token=123&token_type=bearer&type=recovery"

Multiple problems here:

As @j4w8n mentioned you need flowtype set to pkce.
For non PKCE flow you need to replace the # with ? to be able to extract it from the query.

Augment this for PKCE flow once you have that enabled. You also need URL polyfill to be installed.
const parsedUrl = url_with_code_as_hashtag.replace("#", "?");
const url = new URL(parsedUrl);
const access_token = url.searchParams.get("access_token");
const refresh_token = url.searchParams.get("refresh_token");

// Handle code exchanges

I'm using Supabase without PKCE with success from the above code.

That is by design. The supabase client, in non-pkce mode, should be handling that scenario automatically.

That is by design. The supabase client, in non-pkce mode, should be handling that scenario automatically.

Yes I'm aware. Not Supabase problem I'm mentioning.


Cannot delete class 'Liked UNSAFE'

Hi,
I have somehow created a class with the name 'Liked UNSAFE' that has the space character in the name. I am not able to select from or delete this class. Can you help me delete this class?
From the console I see these messages:
> info class 'Liked UNSAFE'
CLASS 'Liked UNSAFE'

Super classes........: [E]
Default cluster......: liked unsafe (id=21)
Supported clusters...: liked unsafe(21)
Cluster selection....: round-robin
Oversize.............: 0.0

> select from `Liked UNSAFE`

Error: com.orientechnologies.orient.core.exception.OQueryParsingException: Error on parsing query at position #7: Error on parsing command at position #0: Error on parsing query
Query:  `Liked UNSAFE`
------------^

Error: com.orientechnologies.orient.core.exception.OCommandExecutionException: Class '`LIKED' was not found in current database

> info
CLASSES
---------------------+----------------------+------------+----------------+
 NAME                | SUPERCLASS | CLUSTERS   | RECORDS        |
---------------------+----------------------+----- --+----------------+
Liked                    | [E] | 28 | 1619 |
Liked UNSAFE               | [E] | 21 | 892 |

> delete edge `Liked UNSAFE` where out=#24:22033

Error: com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #0: Class '`LIKED' was not found

OrientDB Version, operating system, or hardware.
OrientDB console v.2.1.10 (build 2.1.x@r877c28613f3b79e91ee40f58e551f3b82d814bcf; 2016-02-04 17:14:18+0000) www.orientdb.com
Operating System:
Linux

Hi @larryaasen
I think the problem is already solved in latest release (I mean, the problem of being able to create classes with spaces).
I'm afraid the only way you have to fix the problem is to connect via Java in embedded mode and delete the class from the schema:
db.getMetadata().getSchema().dropClass("Liked UNSAFE");

thanks
Luigi

Hi @luigidellaquila
Thanks for the response. I am not sure how to connect via Java in embedded mode. I am using the Go client https://github.com/istreamdata/orientgo and don't use Java. I can use the Console app with 2.2.5 and see if that works. Does that connect via Java?

Hi @larryaasen
I'm afraid from the console you won't be able to do it.
The complete Java code to do it is
import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx;

public class Test {
  public static void main(String[] agrs){
    ODatabaseDocumentTx db = new ODatabaseDocumentTx("plocal:/your/db/folder");
    db.open("admin", "admin");
    db.getMetadata().getSchema().dropClass("Liked UNSAFE");
    db.close();
  }
}

I strongly suggest you to at least update to 2.1.20 (latest stable in 2.1.x branch), that contains important fixes compared to 2.1.10
Thanks
Luigi

@luigidellaquila - a wild shot in the dark, but could a function do this kind of schema manipulation? It would be a wicked workaround, if it could. :smile:
Scott

Ah, right! Thanks Scott!!!
Let me write a simple function to do it, I'll be back in short
Thanks
Luigi

Here it is
db = orient.getGraphNoTx();
db.getRawGraph().getMetadata().getSchema().dropClass("your class name here");

Just copy-paste this in OrientDB Studio function editor, give the function a name and choose Javascript as the function programming language. Then save and run it
Let me know if it works
Thanks
Luigi

The server side functions and triggers are really cool features. It is a shame the documentation doesn't cover them a lot better. Is there a way to read into the Java code to understand what is possible with with the server-side functions? If there is, and you could point me in the right directions, I'd be willing to help with making better docs for the functions feature. I could open another issue, should it be possible.
Scott

Hi Luigi,
I used this command to drop the class 'Liked UNSAFE' and it worked:
jss orient.getGraphNoTx().getRawGraph().getMetadata().getSchema().dropClass("Liked UNSAFE");end;
I first had to enable server side Javascript, restart the OrientDB server, reconnect with the console, and then enter that command into the console.
Thanks for your help.
Larry

Great, I'm closing this issue then, as the problem should not occur anymore in v 2.2
Thanks
Luigi


Missing secretsmanager:GetSecretValue policy action

Description
The module is using the ECS module as a source for the ECS resources. It creates ECS task/service role without policy for reading secrets from secrets manager.
The ECS Fargate tasks are failing due to missing permission to read the secrets.
We need the IAM policy in place for this to be functional. Currently we do it by manual edit of the IAM policy but this creates a difference in the TF plan later:
# module.shared.module.atlantis.module.ecs_service.aws_iam_policy.task_exec[0] will be updated in-place
  ~ resource "aws_iam_policy" "task_exec" {
        id          = "arn:aws:iam::032650762539:policy/atlantis-20231116125849259700000003"
        name        = "atlantis-20231116125849259700000003"
      ~ policy      = jsonencode(
          ~ {
              ~ Statement = [
                    {
                        Action   = [
                            "logs:PutLogEvents",
                            "logs:CreateLogStream",
                        ]
                        Effect   = "Allow"
                        Resource = "*"
                        Sid      = "Logs"
                    },
                  ~ {
                      ~ Action   = [
                            # (3 unchanged elements hidden)
                            "ecr:BatchCheckLayerAvailability",
                          - "secretsmanager:GetSecretValue",
                        ]
                        # (3 unchanged attributes hidden)
                    },
                    {
                        Action   = "ssm:GetParameters"
                        Effect   = "Allow"
                        Resource = "arn:aws:ssm:*:*:parameter/*"
                        Sid      = "GetSSMParams"
                    },
                    # (1 unchanged element hidden)
                ]
                # (1 unchanged attribute hidden)
            }
        )
        tags        = {
            "Environment" = "preproduction"
            "Terraform"   = "true"
        }
        # (6 unchanged attributes hidden)
    }

We have https://github.com/terraform-aws-modules/terraform-aws-atlantis/blob/5dedfb1b36fc761c4fec65f88a6b84f230bd914f/main.tf#L402C3-L402C24 which has a default value, but users are encouraged to provide the specific ARNs (or [] if they wish to remove the permission). This maps to the permission in the ECS service module https://github.com/terraform-aws-modules/terraform-aws-ecs/blob/32f1169f8fd2f1beb224a0b0f040d8825eb01c05/modules/service/main.tf#L825-L831


Re-run the license task on the project configurations/dependencies ch…

…anges
The idea is simple - as the license task depends on the Gradle build script itself
let's mark the build script as the task input.
A slight drawback of this approach is that the license task will re-run after every
build script change, i.e. it will be UP-TO-DATE less often. But changing the build
script should not happen that often compared to the code changes and Gradle would
need to re-configure the project anyway during the next build so re-running the license
task should be acceptable.
An alternative approach could be to declare all project properties that affect
the task outcome as inputs to the task.
Closes #212.

@sergeys-opera Does this "cache" the buildFile itself? What happens if someone is using a dependencies.gradle(.kts) or libs.versions.toml?

Does this "cache" the buildFile itself?

Yes.

What happens if someone is using a dependencies.gradle(.kts) or libs.versions.toml?

Hm, I haven't really thought about it.
In many cases it's not an issue though as you would need to add a new dependency to the module's build.gradle file anyway regardless of whether you use libs.versions.toml or not and, thus, you would need to modify the build file.
The problem might occur if you add dependencies dynamically in the external script file or if a library changes its license in a new version (then update of a version stored libs.versions.toml wouldn't trigger the re-run of the task).
So my fix is not optimal, however it's much better than the current broken logic.
The proper fix would be to declare the project configurations and dependencies as input properties of the license task.

Lets' merge this for now. Thanks!


Add a New Video Link in Under. 26. async/await

I want to add add new Video link which helps to understands Async and Await better,Please assign this issue to resolve @leonardomso

i can take this

I want to resolve this issue please assign me this

Hi @leonardomso ,Can you assign this task to me ?

Hey @leonardomso , i think you are too busy to allow us that who is working on this task so i am going to work on this task

I want to add video link and notes - concept of DOM manipulation. please assign me for this task


Please Add SolBerry Token Name and Logo

[x] I will not ping on Discord/Twitter/email about this pull request.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address: EWS2ATMt5fQk89NWLJYNRmGaNoji8MhFZkUB4DiWCCcz
Token Name: SOLBERRY
Token Symbol: SOLBERRY
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token: https://www.solberry.tech
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

sir i have resolved token-list  file conflicts please merge  @bartosz-lipinski

already merged


Runtime Warnings with PromiseKit/Alamofire GET Request

I realize this issue may be off-topic, but I am unable to pin down the exact cause of two runtime warnings that are associated with my PromiseKit/Alamofire GET Request.
I installed PromiseKit/CorePromise and PromiseKit/Alamofire from Cocoapods.
I have the following method for performing GET requests with PromiseKit/Alamofire:
    func getRequest<T: Decodable>(url: String, params: Parameters? = nil, type: T.Type) -> Promise<T> {

        let headers: HTTPHeaders = [
            "Authorization": "Bearer " + (SessionManager.shared.credentials?.accessToken ?? ""),
            "Accept": "application/json"
        ]

        let requestURL = Server_Url + url

        return firstly {
            Alamofire.request(requestURL, method: .get, parameters: params, headers: headers)
                .validate(statusCode: 200..<300)
                .validate(contentType: ["application/json"])
                .responseJSON()
            }.map { (arg) -> T in
                let (_, response) = arg
                guard let getData = response.data else {
                    throw NetworkControllerError.NilResultError
                }
                let decodedData = self.decodeJson(data: getData, type: type.self)
                if decodedData == nil {
                    throw NetworkControllerError.DecodingError
                }
                return decodedData!
            }
    }

Using Xcode's breakpoints, I found that the following runtime warnings would appear directly after the Alamofire request was finished. I realize that other processes might be occurring at the same time on other threads, but I'm not sure how to resolve these issues. Can anyone point me in the right direction?
objc[24119]: Class _TtGCs23_ContiguousArrayStorageFT_T__ is implemented in both ?? (0x7fdf3b08a870) and ?? (0x7fdf380f5638). One of the two will be used. Which one is undefined.

and
[framework] CUICatalog: Invalid asset name supplied: ''

The first warning is a Swift symbol: https://developer.apple.com/documentation/swift/contiguousarray
This suggests you maybe have a build system issue that is causing 2 versions of some swift symbols to be used in your final binary. Not PromiseKit related.
The second is related to XCAssets management. Not PromiseKit related.

Thank you! This helps a lot.


Requests 2.30.0 incompatible, pinning for now

Pinning to requests 2.29.0 for now, added this here so we don't forget

Fixed by cb70aebe73a0e12ceae5273ae67387804ca14b48


ADD rguktrkv.ac.in domain

Official college website: https://www.rguktrkv.ac.in
IT related course offered by the university: https://www.rguktrkv.ac.in/Academics.php?view=AcademicProgrammes
Information about faculty and their mail id's with domain rguktrkv.ac.in: https://www.rguktrkv.ac.in/Institute.php?view=ContactUs

Student domain proof

Admin domain proof

@saijayanth59 First stage of verification passed, official domain for Rajiv Gandhi University of Knowledge Technologies, Andhra Pradesh is rguktrkv.ac.in as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@philipto Thanks for confirming the official domain for Rajiv Gandhi University of knowledge technologies, looking forward to the final decision.

@saijayanth59 Pull request merged. Please start requesting the licenses in about an hour, to let the changes to propagate through our system. Thank you.


Support for multi-credential / multi-vault

Addresses https://github.com/ansible/tower-cli/issues/404 and https://github.com/ansible/tower-cli/issues/525

Hello @AlanCoding
Thank you for taking into consideration our request regarding supporting multiple vaults using the CLI.

Removing history line (to add back later)
 - Multi-credential support attaching to job templates and launching jobs

give me some of that multi-cred support please


issue-671 createNumberMask integer limit doesn't work when we enter negative (minus) value

createNumberMask integer limit doesn't work when we enter negative (minus) value.
If we have set integerLimit to 16 digit and also allowed negative value (allowNegative). If we enter value in negative it only allow to enter 14 digit instead of 16. If we enter positive value (without - sign) it allows to enter 16 digit.

@msafi If you can look, it will be great.

@zchauhan This looks good to me, but I haven't been involved with the project for awhile. @lozjackson has most context and is the decision maker.

@lozjackson It will be appreciated if you have a look.

@SpaceK33z

Hi, I'm not even a collaborator of this project so don't know why you ping me, but to get this merged I'd first suggest to write a test for it which would fail without your fix.


skip_download on a get question..

hi, this is not so much an issue as it is a question.
trying to make sense of what i'm seeing.
i've been trying to use skip_download on a get as documented and it never seemed to work.
is this new release version 0.6 the first release to enable this feature?
why is the field of type string?
thanks in advance. / eitan

thanks.


Implement a Kitura-Credentials plugin for authentication using the Google web login

Reviewed and updated README.md a bit


adding an event for a day in the next week adds it to a day that's passed

System Information:

Version: 2.6
Language: en-US
Timezone Offset: +02:00
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36

What steps will reproduce the problem?

Click the plus to add a new event.
Type the text for the new event, including the name of a day that has passed earlier in the week (e.g. on Tuesday, type "Monday 12:00 lunch". Click "ADD".
Event will be added earlier in the week, rather than on the correct day in the coming week.

What is the expected result?
Event should be added on the correct day in the coming week.
What happens instead?
Event will be added earlier in the week.
If I wanted to add an event to a day that had already passed, I would either do that from the full calendar view, or else I should be able to type "last Monday" or "yesterday".

Same issue. Happens all the time.

Please complain here: https://productforums.google.com/forum/#!topic/calendar/xXZXRVUWdo8
Same as #239.


generate default story id based on the component status

BlankSlate and PageHeader component stories are broken in https://primer.style/design because the default stories are always rendered as components-<componentname>--default and doesn't take component status into account. For draft components, our default story id is draft-components-<componentname>--default. This PR adds this logic into it.
Merge checklist

[ ] Added/updated tests
[ ] Added/updated documentation
[ ] Changes are SSR compatible
[ ] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

Once https://github.com/primer/react/pull/3717 is out, hopefully PageHeader and BlankSlate story ids should be fixed and it will render the right stories. If it works as expected we can close https://github.com/primer/react/pull/3623 and https://github.com/primer/react/pull/3670


Add limit to docs for named maps

Named maps have a limit of 4096. If users need more, they probably want to use templates.

@eightysteele , I added this to the MAPS API content. Just waiting for the merge.  Thanks!

@csobier haha I think I beat you to it in #354 :dancer:
Should I close that PR so we're not duplicating?

Yes, please :-)

Done :)

Thanks. I'll close this issue once I verify the changes are appearing live.

+1


Update release notes

I just noticed that v0.6 was released, but I didn't get a notification because you guys didn't update the release notes. Could you do so? Thanks! 😄

Awesome, you guys added the release notes!


bug: actor exit on aggretate or table (set-returning) function error

Describe the bug
We implemented error tolerance in streaming for normal expressions in #4625. However, special expr-like structures including aggregate or set-returning functions can also produce evaluation errors. These are currently not tolerated and cause actor exit.
Error message/log
No response
To Reproduce
create table t (v decimal);

create materialized view mv1 as select generate_series(1.0, 2.0, v) from t;
insert into t values (0); -- Invalid parameter step: step size cannot equal zero

create materialized view mv2 as select sum(v) from t;
insert into t values (4e28);
insert into t values (4e28); -- Numeric out of range

Expected behavior
Not sure. For set-returning function, maybe output 0 rows. For aggregate function, maybe return null.
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
Inspired by #11905, which signifies the difference in evaluation of normal exprs and special expr-like ones.
#11586 points out a limitation / error in existing error tolerance of normal expr.

Seems same as #11256

related #12474

See https://github.com/risingwavelabs/risingwave/issues/12474 https://github.com/risingwavelabs/risingwave/issues/11256

As the table (set-returning) function's has been fixed by https://github.com/risingwavelabs/risingwave/pull/17156, let me close this issue now. While for aggretate functions, let's create another issue to note down.


Small refactoring - don't return nulls!

Coverage remained the same at 100.0% when pulling 1f701d0f1a288a4c44967dbc01ca800f0099d23a on jeffgbutler:master into 3377f9395955702845de8f914aefa097e66fb05d on mybatis:master.


@stylexjs/eslint-plugin: Support variable font weight

Describe the issue
Stylex ESLint forces predetermined font weights, but variable fonts support any number from 1 to 1000.
Expected behavior
Stylex ESLint accepts any value for font weight, ex. 625.
Steps to reproduce

Create a style with fontWeight property
Use value outside the type, for example 625 or 850.
Try linter

Test case
const styles = stylex.create({
    example: {
        fontWeight: 625,
    },
});

Additional comments
No response

Hi @robinlahtinen, you are right. This is repeated here as well. @nmn I want to work on this if there is no argument on why we should only have these predetermined numbers (I understand why the string ones such as normal and bold are fixed).


Custom loading shimmer color

Hey! It would be great to have a possibility to set custom shimmer color via xml attribute ;)

Perhaps you could try make a PR for the enhancement?


Checkpoint File Size After Using convert_lit_checkpoint

A Discord community member has pointed out that the output of using convert_lit_checkpoint is unexpectedly large (~129GB).
Is this an expected behavior?

What's the model size? This will depend on the precision used.

It is Llama-2-70b

70B at half precision (2 bytes) is 140 GB. So the size seems correct. You'll notice that https://huggingface.co/meta-llama/Llama-2-70b-hf/tree/main has 14 .bin files of 10 GB each, which matches our 140 GB number.
If anything, the checkpoint is a bit small

The problem was not about the size. Am I supposed to copy the config files from the Llama-2-70b-hf model? There are no other config files with it. I edited to config files from Llama-2-70b-hf to just support the single file and it worked for inference but with a warning that the files have been edited.

@JustinGoheen yes, it would be much more convenient to have the matching config files for the fine-tuned model after the conversion. Or at least some documentation on how to create these files. For example: pytorch_model.bin.index.json had to be customized to only support one file instead of 15 in the base model.

@windprak just checking that I am understanding correctly so that I can action this.
are you suggesting that we:

save a lit_config
save a finetuning_config
save a conversion_config

Closing this issue as a duplicate of https://github.com/Lightning-AI/lit-gpt/issues/483


disabled logger to provide all PII details

I have requested for feedback on this PR and the related issue. Will hold reviewing this until we get some inputs.


Compile the plugin against Java 8

While the plugin itself is not useful in a build using JDK 8, it cannot be included and conditionally applied without jumping through hoops:
buildscript {
	repositories {
		maven {
			url 'https://plugins.gradle.org/m2/'
		}
	}
	dependencies {
		classpath 'org.openjfx:javafx-plugin:0.0.8'
	}
}

plugins {
	// ...
	// this does not work due to Gradle attempting to load the classes anyway:
	// id 'org.openjfx.javafx-plugin' version '0.0.8' apply false
	// also, it is not permitted to use if statements in this block.
}

if (JavaVersion.current().java11Compatible) {
	apply plugin: 'org.openjfx.javafxplugin'

	javafx { ... }
}

The use case is a project which can be compiled against Java 8 and Java 11.

@Clashsoft This branch has a possible version of the plugin that runs with any JDK 8+.
If you want to give it a try, clone, build (with any JDK), and install (./gradlew clean publishToMavenLocal), and use id 'org.openjfx.javafxplugin' version '0.0.9-SNAPSHOT' in your project. It should work on any JDK 8+ (obviously the source code should be adapted, i.e. if you use module-info).
Any feedback is welcome.

@jperedadnr hello! I try complie and get error:
17:37:47<EMAIL_ADDRESS>javafx-gradle-plugin master export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8-openj9.jdk/Contents/Home/
17:45:01<EMAIL_ADDRESS>javafx-gradle-plugin master ./gradlew clean publishToMavenLocal
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 5s

How compile correct?

@jperedadnr sorry, i'm mess with branch :(

Is there any chance of this happening on the main branch so that JavaFX Library projects will be able (without any hassle) to add the plugin?

Is there any chance of this happening on the main branch so that JavaFX Library projects will be able (without any hassle) to add the plugin?

As we know, Gradle itself can run on Java 8, so this would also be convenient for JavaFX applications that use toolchain for compilation and testing: they could document that their build can be ran on any Java version Gradle can run on, even though they were a JavaFX 21 application.
If giving up Java 11 syntax in the plugin gives you muscle spasms, maybe consider writing [part of] the plugin in Groovy 😉

Bumping this at it is still an issue.

Bumping this as well, would love to see it work with java toolchain.

It can be done!
Add this to build.gradle
tasks.named('updateDaemonJvm') {
    jvmVersion = JavaVersion.VERSION_22
    jvmVendor = "adoptium"
}

And run:
 ./gradlew updateDaemonJvm
It creates a file 'gradle/gradle-daemon-jvm.properties' that should be added to the version control system


[Question] About Email Inputs

Hello,
First of all thanks for creating this framework!
Question about email inputs. I noticed that the framework doesn't include support for some inputs like email.
I ended up creating a property as such:
        [ControlDefinition("input[@type='email']")]
        [FindById("some_id")]
        public Input<string,_> Email { get; private set; }

I'm curious, is there a reason this type of input was excluded?
Thanks again!

Hi Ben,
You know, I just missed some input types. With HTML5 there is a lot of them: https://www.w3schools.com/tags/att_input_type.asp. I will try to add extra controls for inputs within the next Atata release. Maybe some other HTML elements that are missing as controls?
Also you can skip [ControlDefinition("input[@type='email']")] in the case when you do accurate control search, like by ID. Just:
[FindById("some_id")]
public Input<string,_> Email { get; private set; }

Input<T, TOwner> will find element with email type as it has such [ControlDefinition("input[@type!='button' and @type!='submit' and @type!='reset']")].


Tailwind Transforms

If there a way to do this in tailwind
Without having to use a plugin like https://github.com/benface/tailwindcss-transforms
?
.subscription__card:hover {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
}

@adamwathan would love your thoughts on this one.

Why don't you just add that to your stylesheet?

Tailwind doesn't include transform classes so you either need to write them yourself (we have docs on how to do this: https://next.tailwindcss.com/docs/adding-new-utilities) or use an existing plugin.

@adamwathan thanks. I'll use a plugin, I was just wondering why certain classes (like transform) aren't included.

I see transforms in the documentation now, but they aren't working for me https://tailwindcss.com/docs/skew/#app


We have some recording problem

We are using the nodejs-speech library for a call transcription feature on our web application. But we have noticed an issue that it's also converting the caller's voice when I set loudspeaker mode. Which leads to duplication on both sides. I think it depends on the library that records from the microphone. But If it is possible could you please suggest to us the best way to solve that problem?

The library will transcribe the audio it's given — without knowing more about your setup, it's tricky to debug, but possibly this overview will be of assistance? https://cloud.google.com/architecture/architecture-for-production-ready-live-transcription-tutorial


Support for color temperature

Hi, I have asked here: Cloudef/wlc#174 if there was a way to have support of applications like redshift in wlc.
It appears that it is needed to add a protocol in sway to support it, like it is done in this compositor https://github.com/giucam/orbital/blob/gamma/protocol/gamma-control.xml ?
Thanks for reading !

I think this belongs in wlc.


Add calculator page

Add calculator page
Add context
Add basic buttons
Add calculator controllers
Add table headers
Add table header component
Refactor ImpCalculatorItems component and add
ItemsTableHeader and QuotedItems components
Refactor ImpCalculatorControllers and
ImpCalculatorItems components
Fix grid layout in ImpCalculatorItems component
Add TypeScript ESLint parser and plugin
Refactor ImportCalculator types and components
Refactor ImpCalculatorControllers and
ImpCalculatorItems components
Add autocalculate input filed
Add select on focus
Update eslint configuration
Update input definition
Update textField to handle autocalculations
Update quoted items fields
Fix formatting issues in InputField component
Add lot settings
Handle errors
Refactor ImpCalculatorLot component
Fix grid layout in ImpCalculatorItems component
Add calculation script
Disable SSR for calculator
Update how calculation and submition works separatedly
Add Notes sections
Update notes sections
Delete unused field
Add name to notes field
Add note for development

Current dependencies on/for this PR:

main

PR #17

PR #18

PR #19   👈

This stack of pull requests is managed by Graphite.

Merge activity

Nov 21, 7:33 PM: @williamrolando88 started a stack merge that includes this pull request via Graphite.


Use native RTCPeerConnection API on Edge when available

Description
Prevent overriding the original implemented RTCPeerConnection API when it is available.
Purpose
Since WebRTC API is introduced in the latest release version of edge as noted here, it would be awesome to use the native implemented RTCPeerConnection API when available.

I signed it!

As noted in the blog post, this RTCPeerConnection implements a pre-1.0 "legacy" version of the API.
Among other things it doesn't implement ontrack so tests will fail.

Makes sense. Is there a plan to do a polyfill from the pre-1.0 legacy WebRTC API instead of the ORTC API?


PLAT-78973: Updated Icon to support arbitrary strings as icon names

Checklist

[x] I have read and understand the contribution guide

[x] A CHANGELOG entry is included

[ ] At least one test case is included for this feature or bug fix

[x] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added
Icon names longer than one character that are outside of the iconsList were being treated as URLs.
Resolution
Updated the checker code to look for URL-like symbols to determine "URL-ness" of a string.

Added a bunch of tests to validate the new code is working and catches edge-cases.


Create a separate test group for spatial convergence testing of selected test cases

context
We would like to make sure that our benchmark cases (or a selected subgroup) runs correctly upon grid refinement.
ideas
Take the grid refinement study from @bischtob, done in ClimaCore.jl, and adapt it to work with a test group in ClimaAtmos.
next steps
Use this script https://github.com/CliMA/ClimaCore.jl/blob/tb/box_2d_refinement/test/convergence_integration.jl, and adapt it.

Sounds good. I was thinking about closing #95 and tracking things in this issue. What do you think?

Now done in ClimaCore.


Option for reading dbdc config from ENV['DATABASE_COM_URL']

Hi,
I work for salesforce.com and working database.com heroku addon. Do you mind adding an option for reading database.com config (in the Controller.rb class) from environment variable 'DATABASE_COM_URL'  as well, similar to databasedotcom's Client.rb.
For example,something similar to this.
    def dbdc_client
      unless @dbdc_client
        if ENV['DATABASE_COM_URL']
          @dbdc_client = Databasedotcom::Client.new
        else
          config = YAML.load_file(File.join(::Rails.root, 'config', 'databasedotcom.yml'))
          @dbdc_client = Databasedotcom::Client.new(config)
        end
        @dbdc_client.authenticate(:username => @dbdc_client.username, :password => @dbdc_client.password)
      end
      @dbdc_client
    end

Thanks
Babu

I'll gladly accept a pull request.  Please make sure that it includes tests as well as implementation.

Hi Danny,
Thanks. I am not yet comfortable in spec (for testing). Let me learn that and I'll request for a pull.
Thanks
Babu
On Dec 7, 2011, at 11:04 PM, Danny Burkes wrote:

I'll gladly accept a pull request.  Please make sure that it includes tests as well as implementation.

Reply to this email directly or view it on GitHub:
https://github.com/dburkes/databasedotcom-rails/issues/1#issuecomment-3058319


Callback to get reponseHeaders

When processing the HTTP response, I'd like to get the response headers that are processed in validateResponse(). In those headers, I have IDs that are generated by my loadbalancer to simplify debugging.
Please add a callback to handle this headers.

Hi @vonox7 !
Thank you for the feedback, maybe you can help out with PR for this? :)

Already on it, I'll keep the same style is the recently made onPong PR.

@fassko could you take a look at https://github.com/daltoniam/Starscream/pull/570 ?
Thanks!


add several plugins

Because this awesome :sunglasses: list needs some more awesome :sunglasses:

Looks great, thank you!


How to get multi audio ?

I want to play 4k mkv file which runs fine, but can we control different audio ?

Well you can stream after fusing the video and audio you want ?

Closing this issue as this is not a bug