Change hard coded paths to GNU Install Dirs + missing OpenEXR.pc file

This changes as many hard coded paths that I know how to change.
The important change is that it now installs to lib64 if used,
instead of lib. On Gentoo, that caused issues.
The OpenEXR.pc file was based on the one from IlmBase and updated to use GNUInstallDirs.
Signed-off by: Jonathan Scruggs<EMAIL_ADDRESS>

LGTM

I can't remember, but I think I left some hard coded paths in place as I didn't know how they would react on other systems. I'll take another look through to see if I did and report back tomorrow.

Found a bug in the .pc file. Forgot to add in Requires: IlmBase, so it causes Gimp to fail. I'll be updating this PR.

Just pushed a final round of changes.
LGTM?

I changed the .pc files to be external templates instead of writing them. OpenEXR needs to depend on pkg-config being installed to generate the files. If it's not installed, then there's no point in installing them.
Also, can someone confirm that PyIlmBase and OpenEXR_Viewers need .pc files? The autotools builder of those install them, but not the CMake build system. Should I have CMake install them as well?
Thanks.

@lgritz Another round of GNUInstallDirs goodness. :D

@lgritz I updated this to the current develop branch. There is just a few things I need to check on before this can be merged. I really hope we can schedule this for the 4.3 release.
@SoapGentoo I just updated this, would you be able to look this over? There are a few things different now, like one master CMakeLists.txt file in the root to choose the packages being compiled. This means there are some variables that will point to IlmBase inside the build directory, namely these ones:
 ~/Storage/github/openexr $ grep -nrw . -e "OPENEXR_PACKAGE_PREFIX"
./OpenEXR/IlmImf/CMakeLists.txt:6:  SET(RUNTIME_DIR ${OPENEXR_PACKAGE_PREFIX}/bin)
./OpenEXR/IlmImf/CMakeLists.txt:9:  SET(RUNTIME_DIR ${OPENEXR_PACKAGE_PREFIX}/lib)
./OpenEXR_Viewers/CMakeLists.txt:34:INCLUDE_DIRECTORIES ( ${OPENEXR_PACKAGE_PREFIX}/include/OpenEXR )
./OpenEXR_Viewers/CMakeLists.txt:35:LINK_DIRECTORIES ( ${OPENEXR_PACKAGE_PREFIX}/lib )
./OpenEXR_Viewers/CMakeLists.txt:36:MESSAGE ( "OPENEXR_PACKAGE_PREFIX = " ${OPENEXR_PACKAGE_PREFIX})

 ~/Storage/github/openexr $ grep -nrw . -e "ILMBASE_PACKAGE_PREFIX"
./OpenEXR/CMakeLists.txt:9:IF (NOT ILMBASE_PACKAGE_PREFIX)
./OpenEXR/CMakeLists.txt:10:  SET (ILMBASE_PACKAGE_PREFIX ${CMAKE_INSTALL_PREFIX})
./OpenEXR/CMakeLists.txt:40:LINK_DIRECTORIES ( ${ILMBASE_PACKAGE_PREFIX}/lib )
./OpenEXR/CMakeLists.txt:41:MESSAGE ( "ILMBASE_PACKAGE_PREFIX = " ${ILMBASE_PACKAGE_PREFIX})
./PyIlmBase/CMakeLists.txt:14:LINK_DIRECTORIES ( ${ILMBASE_PACKAGE_PREFIX}/lib )
./PyIlmBase/CMakeLists.txt:15:MESSAGE ( "ILMBASE_PACKAGE_PREFIX = " ${ILMBASE_PACKAGE_PREFIX})
./OpenEXR_Viewers/CMakeLists.txt:9:IF (NOT ILMBASE_PACKAGE_PREFIX)
./OpenEXR_Viewers/CMakeLists.txt:10:  SET (ILMBASE_PACKAGE_PREFIX ${CMAKE_INSTALL_PREFIX})

I have no idea how to handle these, because if the variable is not set, then it will go to the system, but then it will be looking in /lib instead of /lib64, for example. Would you be able to advise on how to handle this properly with GNUInstallDirs? Thanks.

Part of the problem here is that people want to try and use CMake with bundled dependencies and with system dependencies. This is messy and hard to get right with CMake, and I suggest relying solely on system packages.
The better, more long-term approach would be to using something like Meson, which supports system libraries and bundling as a first-class feature.

Just to clarify, are you saying you're getting errors in building the
current develop branch? It's still in flux at the moment, there are a
number of known problems.
On Thu, Aug 9, 2018 at 9:27 AM Jonathan Scruggs<EMAIL_ADDRESS>wrote:

@lgritz https://github.com/lgritz and @cary-ilm
https://github.com/cary-ilm
I updated this to the current develop branch. There is just a few things I
need to check on before this can be merged. I really hope we can schedule
this for the 4.3 release.
@SoapGentoo https://github.com/SoapGentoo I just updated this, would
you be able to look this over? There are a few things different now, like
one master CMakeLists.txt file in the root to choose the packages being
compiled. This means there are some variables that will point to IlmBase
inside the build directory, namely these ones:
~/Storage/github/openexr $ grep -nrw . -e "OPENEXR_PACKAGE_PREFIX"
./OpenEXR/IlmImf/CMakeLists.txt:6:  SET(RUNTIME_DIR ${OPENEXR_PACKAGE_PREFIX}/bin)
./OpenEXR/IlmImf/CMakeLists.txt:9:  SET(RUNTIME_DIR ${OPENEXR_PACKAGE_PREFIX}/lib)
./OpenEXR_Viewers/CMakeLists.txt:34:INCLUDE_DIRECTORIES ( ${OPENEXR_PACKAGE_PREFIX}/include/OpenEXR )
./OpenEXR_Viewers/CMakeLists.txt:35:LINK_DIRECTORIES ( ${OPENEXR_PACKAGE_PREFIX}/lib )
./OpenEXR_Viewers/CMakeLists.txt:36:MESSAGE ( "OPENEXR_PACKAGE_PREFIX = " ${OPENEXR_PACKAGE_PREFIX})
~/Storage/github/openexr $ grep -nrw . -e "ILMBASE_PACKAGE_PREFIX"
./OpenEXR/CMakeLists.txt:9:IF (NOT ILMBASE_PACKAGE_PREFIX)
./OpenEXR/CMakeLists.txt:10:  SET (ILMBASE_PACKAGE_PREFIX ${CMAKE_INSTALL_PREFIX})
./OpenEXR/CMakeLists.txt:40:LINK_DIRECTORIES ( ${ILMBASE_PACKAGE_PREFIX}/lib )
./OpenEXR/CMakeLists.txt:41:MESSAGE ( "ILMBASE_PACKAGE_PREFIX = " ${ILMBASE_PACKAGE_PREFIX})
./PyIlmBase/CMakeLists.txt:14:LINK_DIRECTORIES ( ${ILMBASE_PACKAGE_PREFIX}/lib )
./PyIlmBase/CMakeLists.txt:15:MESSAGE ( "ILMBASE_PACKAGE_PREFIX = " ${ILMBASE_PACKAGE_PREFIX})
./OpenEXR_Viewers/CMakeLists.txt:9:IF (NOT ILMBASE_PACKAGE_PREFIX)
./OpenEXR_Viewers/CMakeLists.txt:10:  SET (ILMBASE_PACKAGE_PREFIX ${CMAKE_INSTALL_PREFIX})
I have no idea how to handle these, because if the variable is not set,
then it will go to the system, but then it will be looking in /lib instead
of /lib64, for example. Would you be able to advise on how to handle this
properly with GNUInstallDirs? Thanks.
@meshula https://github.com/meshula Just updated this, if you are
interested in it. :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openexr/openexr/pull/242#issuecomment-411816621, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AUWxmcCKevnokB7VucJFdI9A8TFVX2_Wks5uPGLegaJpZM4O0fEU
.

--
Cary Phillips | R&D Supervisor | ILM San Francisco

@cary-ilm Just the usual developer errors. This patch changes hardcoded directories to GNUInstallDirs, which are a standard. For example, Gentoo installs 64 bit libraries to /usr/lib64, but the directories are hardcoded to just lib, thus making installation harder. GNUInstallDirs are known by packages for distros, so directories can easily be changed to whatever the distro needs, and this works for Windows and Mac. This patch then adds in the 3 missing Pkg-Config files with CMake builds.
The main thing I need help with that I asked Soap for, is the files listed in the code block as I don't know how to handle them properly in changing over to GNUInstallDirs.
I hope this is more clear. I have a major headache today as I got into a lot of dust at work that I'm allergic to.

I think the use of GNUInstallDirs makes sense if all the variables are relative to CMAKE_INSTALL_PREFIX. The documentation ----  https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html --- is ambiguous. Are the variables relative (lib, doc), respecting the CMAKE_INSTALL_PREFIX variable, or do they impose on linux /usr paths, and on windows c:/Program Files/ paths?

Finally, I think the use of the PACKAGE_PREFIX variables would be vestigial if the GNUInstallDirs works out, i.e. lines referencing the ILMBASE/OPENEXR_PACKAGE_PREFIX would have to be updated to use those CMAKE_INSTALL variables consistently.

I was thinking of using if statements for the *_PACKAGE_PREFIX variables. The modules of OpenEXR can be built individually, so in that case, you need to look at the system for the include dirs, but if you are building everything in one go, then those variables need to be set to the build directory. Though, it should be possible to build everything separately, but currently, if you want the viewers, then you need to compile it with OpenEXR instead of it using system resources, so I might need to fix that. On Gentoo, we have four different ebuilds for each module.

@meshula most of GNUInstallDirs is relative to CMAKE_INSTALL_PREFIX (there are some exceptions, especially those dealing with /etc-like directories: https://github.com/Kitware/CMake/blob/master/Modules/GNUInstallDirs.cmake#L80).
In general, I would rather hijack CMAKE_INSTALL_LIBDIR if on Windows, set it to the same value as CMAKE_INSTALL_BINDIR before including GNUInstallDirs, and then replace all occurrences of RUNTIME_DIR with CMAKE_INSTALL_BINDIR. Reducing the number of own variables for upstream/Kitware defined ones greatly reduces cognitive load, without losing anything in practice here.

I guess this didn't make it into v2.3 release. :(

@cary-ilm I guess this make it in v2.3.0 release. The CMake build system won't have Pkg-Config files for 3 modules: OpenEXR, PyIlmBase, and OpenEXR_Viewers. The OpenEXR module is the important one as not having this will break any package using Pkg-Config to find the libraries and include dirs. This is not good. I was hoping we could have gotten this PR in to fix this because this is the next minor release, which is more appropriate for these types of changes than a point release. I can create a PR with just Pkg-Config files and no GNUInstallDirs. Is there a way of convincing you to pull the current 2.3 release to add that in or make a 2.3.1 release to fix the missing Pkg-Config file issue?

@cary-ilm Thanks for replying back. I think there is a slight thing I need to fix before this is merged. I realize these are more radical changes, which is why I made the other PR with just .pc files, if you want to do more testing on this PR first. :)

Superseded by #332, #341


tut: 1.0.16 -> 1.0.17

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/RasmusLindroth/tut/releases.
meta.description for tut is: "A TUI for Mastodon with vim inspired keys"
meta.homepage for tut is: "https://github.com/RasmusLindroth/tut"
meta.changelog for tut is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.0.17 with grep in /nix/store/fgd2g92g1c0may13dfm3wys784m2nskb-tut-1.0.17
found 1.0.17 in filename of file in /nix/store/fgd2g92g1c0may13dfm3wys784m2nskb-tut-1.0.17

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
tut

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fgd2g92g1c0may13dfm3wys784m2nskb-tut-1.0.17 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A tut https://github.com/r-ryantm/nixpkgs/archive/460d0c73c7e0fb287a7bb9ecee94e77fe0e03719.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fgd2g92g1c0may13dfm3wys784m2nskb-tut-1.0.17
ls -la /nix/store/fgd2g92g1c0may13dfm3wys784m2nskb-tut-1.0.17/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

tut

Maintainer pings
cc @equirosa for testing.

Result of nixpkgs-review pr 186563 run on x86_64-darwin 1

1 package built:

tut

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

1 package built:

tut


Intallation guide links are not working

At end og guide there is links:
RTSP Experience with WebRTC: https://drive.google.com/file/d/1qIYUx82C0CnpsTycP9dTS0NX6IEqeqHD/view?usp=drivesdk
P2P Experience with WebRTC: https://drive.google.com/file/d/1qCW9XX32vInQgFF7hPqoxp-ssno2Sye9/view?usp=drivesdk
Both of these are not working anymore. Can you fix these?
Thank you!

they are not guide links, just showing how they are working locally, I will remove them. Nothing needing, thanks for raising the concern.


Show clock for each player

Possibly have a custom display to show how long the player thought about the move in addition to just showing remaining time. It can make a difference to see "took 15 seconds" vs. "took three minutes" when considering why a move was made.

Closed by 6e8961e7a1261de96359e84c846c7fb91e0eb142


Fix Issue 10902 - some phobos unittests take an excessive amount of time

Top10 before:
0.190s PASS release64 std.datetime
0.246s PASS release64 std.uni
0.296s PASS release64 std.uri
0.302s PASS release64 std.socket
0.447s PASS release64 std.digest.sha
0.678s PASS release64 std.datetime.systime
2.066s PASS release64 std.random
3.492s PASS release64 std.parallelism
5.003s PASS release64 std.algorithm.setops
5.099s PASS release64 std.process
Top10 after:
0.192s PASS release64 std.datetime
0.248s PASS release64 std.uni
0.251s PASS release64 std.algorithm.setops
0.298s PASS release64 std.uri
0.305s PASS release64 std.socket
0.447s PASS release64 std.digest.sha
0.653s PASS release64 std.datetime.systime
0.875s PASS release64 std.parallelism
0.917s PASS release64 std.process
1.370s PASS release64 std.random
For std.process I checked the time needed on my computer, it was less than 200 microseconds; I put in 200 milliseconds which is 1000 times what's needed here. I think, this should suffice.
For std.random I identified the slowest test and halved the number of samples in that test. It's still the slowest test there and maybe it should be removed for normal phobos tests alltogether?
I also made sure, that coverage did not drop.

200ms seems to be too few for the win32 machine. I moved it up to 500ms.

Nice, it would be great if you could run coverage for this (there is a bot that does it but it seems to take a while).

Nice, it would be great if you could run coverage for this (there is a bot that does it but it seems to take a while).

https://codecov.io/gh/dlang/phobos/compare/073960ecae0a9646981186818484069f81473f23...97abb919524017f87fdfcedc4e86f0aaea03cd29

Oh, it just seems to randomly comment on really old PRs and I though that was an indication of analysis time.

Auto-merge toggled on

Oh, it just seems to randomly comment on really old PRs and I though that was an indication of analysis time.

Yes, those don't have a .codecov.yml which disables the bot.
https://github.com/dlang/phobos/blob/master/.codecov.yml
The GH notification update should appear always though.


No stats produced by kahing/goofys-bench:azure-latest, fails when running goofys.

When running the benchmarking container it fails at the end.
It seems to progress normally and then it fails at the end. This is run on Linux via Docker for Mac.
The whole run looks like this:
Unable to find image 'kahing/goofys-bench:azure-latest' locally
azure-latest: Pulling from kahing/goofys-bench
35c102085707: Already exists
251f5509d51d: Already exists
8e829fe70a46: Already exists
6001e1789921: Already exists
4fa35e8994db: Pull complete
6a3f1f9908be: Pull complete
d7c9b505e6c9: Pull complete
04f70a234035: Pull complete
0db906eaedc2: Pull complete
0a52b208b49b: Pull complete
9bf8e651cde6: Pull complete
Digest: sha256:0cfe3b884716558658fcee10c4f3d075d4e18487ae63669f91233bc68e3494ca
Status: Downloaded newer image for kahing/goofys-bench:azure-latest
create_files 18.240
rm_files 8.466
create_files 18.240
rm_files 8.483
create_files 18.153
rm_files 8.454
create_files 18.518
rm_files 8.484
create_files 26.121
rm_files 12.588
create_files 22.794
rm_files 8.544
create_files 18.230
rm_files 8.470
create_files 18.633
rm_files 11.247
create_files 27.056
rm_files 15.164
create_files 19.306
rm_files 8.506
create_files_parallel 10.255
rm_files_parallel 11.296
create_files_parallel 10.268
rm_files_parallel 11.214
create_files_parallel 12.908
rm_files_parallel 11.247
create_files_parallel 10.218
rm_files_parallel 11.151
create_files_parallel 10.304
rm_files_parallel 11.230
create_files_parallel 10.284
rm_files_parallel 17.896
create_files_parallel 10.300
rm_files_parallel 11.174
create_files_parallel 12.832
rm_files_parallel 18.162
create_files_parallel 14.801
rm_files_parallel 14.732
create_files_parallel 13.749
rm_files_parallel 15.246
write_md5 163.566
read_md5 69.687
read_first_byte 75.213
write_md5 142.257
read_md5 72.885
read_first_byte 80.966
write_md5 121.293
read_md5 58.175
read_first_byte 53.897
write_md5 110.422
read_md5 56.777
read_first_byte 53.937
write_md5 93.362
read_md5 58.389
read_first_byte 53.907
write_md5 90.788
read_md5 57.199
read_first_byte 55.515
write_md5 107.344
read_md5 57.509
read_first_byte 53.986
write_md5 105.771
read_md5 56.850
read_first_byte 55.117
write_md5 97.262
read_md5 57.121
read_first_byte 53.890
write_md5 97.485
read_md5 57.011
read_first_byte 55.363
ls_files 0.482
ls_files 0.478
ls_files 0.470
ls_files 0.472
ls_files 0.472
ls_files 0.470
ls_files 0.469
ls_files 0.465
ls_files 0.464
ls_files 0.598
find_files 15.486
find_files 15.576
find_files 15.435
find_files 15.117
find_files 15.111
find_files 15.119
find_files 15.117
find_files 15.068
find_files 15.187
find_files 15.110
bench-mnt not mounted by goofys -f --stat-cache-ttl 1s --type-cache-ttl 1s   wasb://ekorn bench-mnt
2020/03/30 12:51:26.707089 main.FATAL Mounting file system: failed to open file (/root/.azure/azureProfile.json) while loading token: open /root/.azure/azureProfile.json: no such file or directory
2020/03/30 12:51:37.777600 main.FATAL Mounting file system: failed to open file (/root/.azure/azureProfile.json) while loading token: open /root/.azure/azureProfile.json: no such file or directory
/root/go/src/github.com/kahing/goofys/bench/run_bench.sh: line 81: kill: (10973) - No such process

It should be noted that the reason I ended up running the benchmark is I can't get it to run. I have  valid AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_KEY variables set but when I try to have Goofys mount the wasb container it complains the same way the benchmark run does. It can't find the azureProfile.json.
I've yet to figure out why this file is needed.
All the best.
Per.

could you try again after https://hub.docker.com/repository/registry-1.docker.io/kahing/goofys-bench/builds/5c24744a-783b-44ed-95ec-078231151028 is done?

Hi.
Everything seems to work now. Thank you for taking the time to fix it. I'm very happy to avoid the semantics of blobfuse.

Thanks for reporting the issue! goofys' azure backend is still not very widely known so I am happy that others are trying it

Since Goofys likely doesn't have a dedicated PR dept. I've tried to get you a mention on the blobfuse github: https://github.com/Azure/azure-storage-fuse/pull/379


Update MIP74.md

@blimpa Howdy! Please review the attached when you get a chance, mostly simple grammatical edits. Made the personal decision to capitalize "Permissionless Open Market Operation", as a proper noun throughout the MIP. Hope that decision is ok!
Best,  Tyler

Thank you very much, Tyler!


Cannot install it

When running bower, I get
bower PACE#^1.0.2   ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/HubSpot/pace.git", exit code of #128 fatal: Unable to find remote helper for 'https'

Hi @deleugpn
Everything is normal here, try again..


New PyPI release

Latest PyPI release has been done on 2014-10-19. Time for a new release?

@forrestp:
Thanks for 0.5.3. :)


gnome-3.pomodoro: 0.17.0 -> 0.18.0

Motivation for this change
Needed for the extension to work with the current Gnome 3 version in master.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build gnome3.pomodoro


Migrate primary branch from master to main

See https://github.com/Senzing/stream-loader/issues/283

Pull requests:

https://github.com/Senzing/postgresql-performance/pull/4


Compilation error about minSdkVersion

Error is:
Manifest merger failed : uses-sdk:minSdkVersion 21 cannot be smaller than version 23 declared in library [:react-native-android-wake-lock]
I cannot change minSdkVersion of my app because it has multiple dependencies. Is there any solutions?

Hey @muammeralkis, unfortunately the minimum SDK requirement for this library is in fact 23 😞


Partner Page Meta Capture

The OpenSearch Project is collecting the following information from partners to develop a Partner Selector Guide as well as to create individual partner pages that enable potential customers to drill down and learn more about your business.

** What is your organization's name?
** Brief description of your business and what it does (50 words or less).
Name of your relevant product(s) or service for this audience.
Logo (if it needs to be updated).
** Type of business (e.g., MSP, CSP, ISV, product/technology, services organization, other). If other, please define.
** Home/main office location or address.
** What regions do you serve (e.g.,North America, South America, Europe, Middle East, Africa, Asia Pacific, Australia)?
How can people contact you (email and phone).
** What OpenSearch technologies do you specialize in (e.g., search, analytics, observability, security, or other)?
** What industries do you specialize in (e.g. business services, consumer services, education, energy and utilities, financial services, healthcare, media and entertainment, public sector, non-profit, retail, software and technology)? Add all that apply.
Attach any additional images you’d like to provide that showcase your business (product, technology, offices, and etc).
Add links to your last three blogs that are relevant for the OpenSearch Project audience.

If you have questions or would like more information, please reach out to @pajuric

Thanks @pajuric - we'll translate these into meta fields for the new partner pages - and will need to determine which fields we enable drill-down on within a menu system.

Meta fields in our current partner pages:
Example:
name: Calyptia
logo: '/assets/media/partners/calyptia.png'
link: 'https://calyptia.com'
Net-new fields we will need:
description: 50 words or less
business-type:
region:
contact (? expand on link field? We'll need to talk though this)
opensearch-tech:
industries:
Once the fields in the template have expanded, we need to work on page layout.
Outcome of this new page should be a partner-specific URL. In this example we would have a url of:
opensearch.org/partners/calyptia
@pajuric - please add any additional notes

@krisfreedain - I edited the original issue to include two additional questions. In regards to your last comment, the only addition to the meta capture would be "main office location" so we can put a pin in where their physical HQ is located.
Are we able to provide a drop down with predefined selections for: business_type, region, opensearch-tech, and industries?

Partner Wireframe v2.pdf

Max content width of the main panel for the doc site is 1080px

Adding update wireframe based upon feedback.
Partner Wireframe v3_02_22_23.pdf

Per yesterday's meeting, I’ve created a new Issue template on our project website repo called ‘Partner page information’
@pajuric , as we discussed earlier, go ahead and have your first partner test it out:

I recommend they start here: https://github.com/opensearch-project/project-website/issues/new/choose
Partner page information
Fill out all the fields
This will allow the whole experience to be tested.

Once we confirm it works, go ahead and start sending this out to all partners to collect the info while Aaron builds out our new pages!

PLease asign this to me.

@astephanus - I will provide a spreadsheet with the resources data for each of the partners once the content is provided.

@pajuric The information for "Name of your relevant product(s) or service for the OpenSearch audience" is not included in the wireframe, and I have just noticed that I haven't statisfied any of that in my current implementation. I simply overlooked its inclusion in this issue. I see that the information is included in https://github.com/opensearch-project/project-website/issues/1392. How do we want to inclulde this information on the partner page? It would be easy to add it to the left panel as a sub list, but it somehow feels more important, and I wonder if it's something we might want to feature more prominently perhaps beneath the Description?

@pajuric I have another question. How do we want to deal with Resource links to content that do not have any sort of a hero image or similar from which to extrapolate a thumbnail for the Resource (blog/news/event/etc). For example in #1392 Only this item https://opensearch.org/blog/fluentbit20-and-opensearch/ has any sort of an image to extrapolate. Do we want the Partner to drive the recommendation? Do we want to look at the Twitter Card, or Open Graph meta data in the header? Those might not actually be unique though. Thoughts?

WIP via https://github.com/opensearch-project/project-website/pull/1403

@pajuric did we get to normalize the incoming data on the new partner pages yet?

What is the current state?
I am unclear of where this issue currently is - Do we need to add more to the new partner issue?

The changes being asked on this issue#1345 were merged into main on Jun 14, 2023 with commit f4918ea
However on that pull request PR-1403, AStefonis mentions that this was only a partial implementation?

https://github.com/opensearch-project/project-website/issues/1345 - partial resolution as there is still the need to add new data for partners.

What still needs to be done here? Looking at the new-partner-page-information, it seems like all of the requested information is present. Am I missing something?

Completed by #3082


Question: Does this support upgrades between .NET Core versions?

Does this support upgrades between .NET Core versions?
For example, if I have an ASP.NET Core 2.1 project that I want to upgrade to .NET 5 can I use this tool?

@Tiberriver256 Thanks for the question, We have not explicitly tested upgrading from an older version of .NET core but there isnt anything in code that will block you from doing it. The flow should skip the "Move to SDK-style" and "Pre-TFM Package updates" and should straight take you to the "Update TFM" step where your chosen TFM will be applied (LTS, Current or Preview). Please try it out and let us know if you see any issues.


Provide a compatibility verifier to help verify spring-boot version

add compatibility verifier to help verify the spring-boot version
add no-argument constructors to avoid no Log error in spring-boot 2.2/2.3

Do we need these classes or interfaces: CompatibilityPredicate CompatibilityVerifier SpringCloudAzureCompositeCompatibilityVerifier? If we are not expecting extensions?


error for tensorbayes

Traceback (most recent call last):
File "/home/wac/PycharmProjects/vae-clustering/gmvae.py", line 3, in
from tensorbayes.layers import Constant, Placeholder, Dense, GaussianSample
ImportError: cannot import name Constant
tensorbayes == 0.4.0
tensorflow == 1.7.0
how to fix it？

tensorbayes 0.4.0 isn't backwards compatible with this repo.
Try https://github.com/RuiShu/tensorbayes/releases/tag/0.1.1
I think that version is compatible.

and i get another error：
tensorflow == 1.7.0
tensorflow == 1.1.0
same error
Traceback (most recent call last):
File "gmvae_k.py", line 34, in
x = Placeholder((None, 784), 'x')
File "/usr/local/lib/python2.7/dist-packages/tensorbayes/layers/simple.py", line 11, in placeholder
return tf.placeholder(dtype, shape, name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/array_ops.py", line 1507, in placeholder
name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 1997, in _placeholder
name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 701, in apply_op
attr_value.type = _MakeType(value, attr_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 178, in _MakeType
(attr_def.name, repr(v)))
TypeError: Expected DataType for argument 'dtype' not 'x'.

I have the same issue, unfortunately tensorbayes is not compatible with python 3.6

I think you should use the following line
x = Placeholder((None, 784), dtype= 'float32', name = 'x')  to replace the line
x = Placeholder((None, 784), 'x').
It will be OK.


Fails on Java 10 due to outdated AWS SDK version

This SBT plugin is awesome thank you!
Unfortunately, it does not work on Java 10: java version "10.0.2" 2018-07-17 (the default Homebrew version now) because you need a version of the AWS SDK newer than April 23rd of 2018 (per issue here: https://github.com/aws/aws-sdk-java/issues/1428) to work with newer versions of Java, lest you get the dreaded [error] (common / publish) java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException from the AWS SDK s3 client.
This project is currently at val amazonSDKVersion = "1.11.236"
Changing this to the latest as of today is:
val amazonSDKVersion = "1.11.416"
However, that does not compile with the current special scalac inlining settings.  Also removing:
else Nil) ++ (if (scalaVersion.value.startsWith("2.12")) Seq(
  // Scala 2.12 specific compiler flags
  "-opt:l:inline",
  "-opt-inline-from:<sources>",
)

from build.sbt results in an artifact which I can confirms works all the way through to publish projects from sbt from a project that plugin-depends on this project, on a machine running Java 10, without Jaxb error.
Is it an acceptable solution to lose those settings @tpunder ?
Thank you,
ry

@ryan-richt Sure sounds good to me. Changed made and published as version 0.17.0.
Disabling the scalac optimizer settings shouldn't matter for this project.  Scala 2.12.7 (which is due any day now) will hopefully fix the optimizer issues on Java 9+.


Add headers helper method

I was working on cloning a Sinatra app and it seemed like it had a much easier way to add multiple headers, so I thought it may be useful to have a similar syntax for Kemal. I also had trouble using the example to add headers and had to do env.response.headers.add("foo", "bar") which was annoying.
Let me know if any of these PRs should be opened against a branch other than master for tagging/versioning purposes.

Looks good to me 👍 Could you please squash the commits?

Sure thing, should be squashed now.

"Add "headers" macro to make it easier " should be "helper", right ? :)

Yes. I should not write commit messages early in the morning. Thank goodness for git push -f :P

LGTM 👍


chore: release v1.545.0

perf: dont process global search selectors when not searching (#6298)
fix: correct token in pt and fr translations for tx descriptions (#6299)
fix: responsive issues with lp pages (#6310)
feat: savers withdraw expiry safety (#6303)
feat: thorchain LP fee curve parameters (#6304)
feat: split and inject fee curve parameters (#6301)
fix: handle lp types (#6302)
fix: make zapper opportunities great again (#6296)
feat: regenerate caip adapters (#6295)
feat: bump ethers to v6 (#6224)
fix: revert "use active opportunity on wallet switch" (#6294)
chore: point develop to prod thorchain (#6293)
fix: change price impact tooltip and remove trade fee before discount (#6287)
refactor: thorchain lp opporunity id (#6278)
Merge branch 'main' into develop
chore: lp improvements (#6282)

Seem to be having issues depositing into doge saver vault
I think its to do with the consolidation step. It did not come up when attempting a deposit in release and the tx failed to broadcast. In prod, was able to complete the consolidation step and deposit successfully.
Upon returning to check if that solved the issue in release i got the notification that deposits were halted for doge currently
https://github.com/shapeshift/web/assets/100157997/f2b395b5-bb5c-4b9b-a53f-379cf0a58374
Prod:

Back to release:

Ideally want this checked before signing off on this release


mapdl.modal_analysis() crashes apdl instance after update to v0.58.3

Updated today from v0.58.1 to v0.58.3, and when running code that was working yesterday (completely unmodified), I've found that once I get to my modal analysis cell MAPDL crashes and I get this error.
print(mapdl.modal_analysis(nmode=8))

MapdlExitedError                          Traceback (most recent call last)
<ipython-input-26-0c46b1e796be> in <module>
----> 1 print(mapdl.modal_analysis(nmode=8))

~\anaconda3\envs\pyansys\lib\site-packages\ansys\mapdl\core\mapdl.py in modal_analysis(self, method, nmode, freqb, freqe, cpxmod, nrmkey, modtype, memory_option, elcalc)
   1695             self.mxpand(elcalc='YES')
   1696
-> 1697         out = self.solve()
   1698         self.finish()
   1699         return out

~\anaconda3\envs\pyansys\lib\site-packages\ansys\mapdl\core\mapdl_functions.py in solve(self, action, **kwargs)
  30771         """
  30772         command = "SOLVE,%s" % (str(action))
> 30773         return self.run(command, **kwargs)
  30774
  30775     def nora(self, area="", ndir="", **kwargs):

~\anaconda3\envs\pyansys\lib\site-packages\ansys\mapdl\core\mapdl.py in run(self, command, write_to_log, **kwargs)
   1759             return function(command)
   1760
-> 1761         text = self._run(command, **kwargs)
   1762         text = text.replace('\\r\\n', '\n').replace('\\n', '\n')
   1763         if text:

~\anaconda3\envs\pyansys\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py in _run(self, cmd, verbose, mute)
    430             response = self._send_command_stream(cmd, True)
    431         else:
--> 432             response = self._send_command(cmd, mute=mute)
    433         self._busy = False
    434         return response.strip()

~\anaconda3\envs\pyansys\lib\site-packages\ansys\mapdl\core\errors.py in wrapper(*args, **kwargs)
    113             # Must close unfinished processes
    114             mapdl._close_process()
--> 115             raise MapdlExitedError('MAPDL server connection terminated') from None
    116
    117         if threading.current_thread().__class__.__name__ == '_MainThread':

MapdlExitedError: MAPDL server connection terminated

If I have some time, later I'll try to replicate it with a smaller test, but this has happened even after restarting jupyter kernel and manually deleting tmp files.
PS: the changes look great, specially the more pythonic geometry!

I'll take a look at the diffs, but it's a strange bug as only the geometry commands were updated.  Unit tests are running fine, so I think it might be due to some idiosyncrasies of MAPDL that I didn't account for.
If possible, restart, change (or clear) the MAPDL directory, and let me know if that fixes.

Yeah, my bad, I just ran a example (specifically the 3D beam) and it works correctly. Also after trying to downgrade, my code once again crashes at the same stage, so this point to MAPDL itself having an issue rather than pyansys. I'll try changing the directory, see if that helps. Cheers!

I'm just happy that there isn't a bug buried within the code somewhere that the unit tests aren't picking up.
When you get a chance, please check if the whitespace bug still occurs.  If not, please consider closing out this and the other issues.  When open issues gets over 25 I start sweating.

Closing as the bug I'm getting is unrelated to the update.
PS: wasn't closing issues as I thought it was the dev who had to close them, but I just now observed the big red button under the messages.


Fix attachment detection when Content-Dispotion is undefined

This request attempt to solve issue #60.
If the three conditions in getAttachments are false, "disposition" is set to "attachment".

Thanks. This is only for people who are reading through old pull request's. We may know what it does today, but others dont. Thank you for contributing!


Align Node serialization with specification

Umbrella chromium issue: https://bugs.chromium.org/p/chromium/issues/detail?id=1420968
Updated node serialization WPT failed the following tests:
1. wpt-metadata/webdriver/tests/bidi/script/call_function/result_node.py.ini;
2. wpt-metadata/webdriver/tests/bidi/script/evaluate/result_node.py.ini.

Closing in favor of tracking it in https://github.com/GoogleChromeLabs/chromium-bidi/issues/562


⚠ Samsung has degraded performance

In 63c8bfa, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2699 ms

Resolved: Samsung performance has improved in 63dadd1.


How to interface trivy.db externally using python?

According to the README, I downloaded the trivy.db file but I could not use it directly using SQLite so I checked the file type and it just returned Data. I don't know how to write an interfacing code for this, but I want to integrate this into my project. Do you have any tips for me?

Trivy DB is built with bbolt. I'm not sure there is a Python binding.

Trivy DB is built with bbolt. I'm not sure there is a Python binding.

Will check it, thanks for the info 👍


Display-oriented tweaks to docs

remove static example table from description page
more interesting aggregation examples that rely on Tile and numpy.random rather than rf_constant_tile
** this works around #315
suppress display of really long polygon WKTs in vector data section, they are distracting.

CIrcle docs build job https://circleci.com/gh/s22s/rasterframes/1311

Docs published:
https://rasterframes.io/index.html


Gray-out Create button on cloud credential creation modal until all required credentials are entered

Version: Master 2.2 (2/13/19)
What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Create any cloud credential.
Notice that we can click the Create button even though we have not filled out required fields yet (keys, etc).

Result:
NOTE: This doesn't let us submit the form so it's not the end of the world, but we would prefer the button be grayed-out until we have entered any data in all required fields.
Screenshot shows that today we can have required fields empty but the Create button is still available.

:-1: This is not a pattern we use anywhere.
If you can't submit until all the input is valid, then you need a completely different proactive mechanism to show which parts of the form are invalid in a very obvious way, because you can't just click and see what the errors are.

Is it different from this below? I have not made a selection thus the button is grayed-out here.
This issue isn't for validating just check if required fields are empty if empty then Create button grayed out. If full but with garbage then when user clicks create they get any expected error in UI if such an error/check exists.

The state's are different. The image you linked is the state when we have not selected a cloud credential. Its only checking the one field vs checking n fields on the cloud credential config.
After talking to Vince though I am going to change the UX and we'll always select the first item in the dropdown as our default cloud credential that way the user is never presented with this ux.

Version: Master 2.2 (2/20/19)
Confirmed issue.
When you create a cluster for the first time the modal automatically picks "Add New" button for you to create a cloud key.
The Create button is still available as it's not possible to gray this out if required fields are empty.

If you have not filled out the required fields you will get an appropriate error message:

Smoke tested cloud keys / node templates / cluster creation to ensure there are no issues.


Support at-everyone and at-here mentions for Mentions.TryParse

Fixes #26.
For changes regarding char.IsNumber, please take a look at the commit message of afdd3da.
cc @velddev PTAL

LOL. should have checked if the tests pass with the last change...


Version 1.2.0 now close the generator and prevent iterating

$rows = \JsonMachine\Items::fromFile('file...', ['decoder' => new \JsonMachine\JsonDecoder\ExtJsonDecoder(true)]);
$countContacts = iterator_count($rows);

foreach ($rows as $row) {
      // ...
}

will cause Exception: Cannot traverse an already closed generator

After some digging, I found out that the ability to iterate the same resource multiple times was an unintentional side effect behavior not covered by tests. It was not meant to be used like this. I'll think about what to do next. In the meantime, use the previous stable version if this blocks you, or simply create Items instance twice.


Switch new-cap eslint rule from warning to custom error and fix violations

Now new-cap rule is set as desired here:
"new-cap": ["error", { "newIsCap": true, "capIsNew": false }]

Automated message from Dropbox CLA bot
@YagoGG, it looks like you've already signed the Dropbox CLA. Thanks!

@arpith Can you give final signoff on this?  It's a pretty simple change, but I don't know the lint rules exactly.   I'm going to approve the student's GCI tasks, and if you discover anything here, one of the core Zulip folks can deal.

That should do it. Just drop me a line if further corrections are needed. :wink:

@showell looks good to me 👍 Thanks for your work @YagoGG!

Merging!  Thanks, @YagoGG and @arpith!


feat: Update org policies

Updated org policies to include following constraints:

constraints/iam.disableAuditLoggingExemption
constraints/iam.automaticIamGrantsForDefaultServiceAccounts
constraints/iam.disableServiceAccountKeyUpload
constraints/compute.disableSerialPortLogging
constraints/compute.restrictVpnPeerIPs
constraints/compute.restrictCloudNATUsage

Updated core landing zone setters.yaml file to include allowed-vpn-peering-ips for setting constraints/compute.restrictVpnPeerIPs
Added org policy exceptions:

Exception for constraints/compute.restrictCloudNATUsage in core landing zone management project
Exception for constraints/compute.restrictCloudNATUsage in client landing zone host project
Exception for constraints/compute.disableSerialPortLogging in core landing zone management project.  This is required for proper function of the GKE Autopilot cluster in the management project.

/lgtm. Thanks Borko!


Easy implementation for encounter packs

By intercepting the call for random_encounters and modifying the encounter only if it's repeatable it becomes easy for modders to implement additional encounter packs.
All you need is a phyton file with a function whose name starts with EncounterPack which returns a list of encounters to be added to the pool. The encounter logic regarding the map, the party, flags and whatever else a modder may be interested in can all be done in this file, before returning the list of encounters. I've added a naming convention to avoid having conflicting EncounterPacks names.
The original function is preserved, and untouched, it's called by my own script before checking whether to modify the encounters. The original encounters are also preserved, there's an equal chance for any of the given encounters to appear, challenge rating aside.
The only doubt I have is whether the directory specified at the line 17 of expand_encounters is correct for the final publication, or it needs to be modified accordingly.
I've also attached a testpack with a simple encounter against up to two atropal scions, it can be expanded as a guideline for modders or removed.

I'm still not sure whether my files should be moved and if I need to make any changes regarding caching and TIO's functions. If anyone can point me in the right direction I'd appreciate it.

Very nice, I'll review over the weekend.

I see, I will look into it.
13,75~ approximated is the average number of encounters in the NC version of co8,  therefore if we pull a random number from 14 + how many encounters were added through encounter packs you have a balanced chance of having a random encounter from the co8 version or the added ones.

the files no longer rely on the co8 version, I've expanded the RE_class to accomodate a maplist.
I've changed the files location, still not sure whether it's the correct one. Need to change the directory where files are found, but I'm not sure where we want that to be.
Tested both with co8 and GOG version, seems to work fine.

I'm open to suggestions, fixes and improvements. I have never worked with anything like this so far but I believe the program should work as it is.
If there's something that needs to be worked on let me know, thank you.

The file lookup should be improved, as you had noted. Also the magic number if possible ;)
Please remind me over the weekend.

I've made sure the new function is called only if we have a valid result while checking for an encounter.
Regarding expand_encounters, now encounter packs need to be added to a folder inside the main TOEE folder called encounterpacks, the name convention is still required in order to avoid conflicting names from different sources.
The magic number has been expanded to take in account sleep encounters and whether NC is enabled. It can still be improved by checking the exact number of sleep encounters depending on the map since it has a decent variance unlike wilderness encounters, I might add it in the future.
Below you'll find a test pack to be added to the folder encounterpacks in the main TOEE directory, let me know if anything else needs to be changed, added or moved.
EncounterPackTest.zip

I'll look into changing how the number of base encounter is handled.
Regarding general path handling, do you mean the ability to choose the directory where files are accessed? I have no knowledge whatsoever of linux so I'm not sure where the issue is.

/ is linux

I've been a little busy and I still am, I will need some more time before I can finish this.


Permanently mount and connect GNSS hardware

New RTK (GPS) unit should be arriving mid-Feb.  Wait on that.


Possibly unnecessary @babel/runtime?

I noticed Webpack bundles @babel/runtime and I traced it back to this module. Is it necessary to include it in prod build? I'd like to reduce build size and react-event-listener is 1.82kb while @babel/runtime is 2.3kb.

@DreadBoy Yes, it's necessary. Babel always adds helpers. Babel runtime allows to deduplicate them across many packages. However we can disable polyfilling which is usually produces es3 compatible code. By the way polifills will be disabled by default in the future versions.

@DreadBoy We have already been working on reducing the bundle size<EMAIL_ADDRESS>@babel/runtime is simply a wrapper to core-js. core-js is a dependency you are going to share with a lot of other dependencies. I fear we can't do more.

@oliviertassinari FYI babel runtime with builtins enabled doesn't use core-js at all. This makes it possible to provide pure esm output.


Icon should be display: inline-block

Since icons are typically used besides text or a label, it might make sense to add display: inline-block?

I feel that the behavior of Icon is the same as that of inline-block. Why add it? Can you give me an example?

I'm using tailwindcss in my project with Thaw, and the css reset for tailwind sets svg { display: block; }. But whenever I use Thaw icons, I always need to add class="inline-block" to fix the icons due to the reset. I'm quite sure many other people would use tailwind with Thaw and have the same issue

Understood, we can add display: inline-block to Icon.


New option to not use the provided proxy when downloading video

Checklist

[X] I'm reporting a feature request
[X] I've verified that I'm running youtube-dl version 2021.03.14
[X] I've searched the bugtracker for similar feature requests including closed ones

Description

As you know, downloading large videos over proxy is slow.
Also, sometimes we needed the proxy when downloading webpages to avoid issues like "429 Too Many Requests".
So I suggest a new option to not use the provided proxy when downloading the video.

--proxy "".

Ok. but I meant like passing the proxy which should just be used for URL extracting (downloading webpage) and not when downloading the video.
I described one situation that the option is needed. situation: frist we need to use proxy to avoid 429 error, second we do not want actual video get downloaded over proxy because of slowness.
FYI: already I'm doing it manually. I extract download URLs with youtube-dl using proxy, and then I run myself some downloader to download them.


inputTextFieldHint

I am trying to change the hint text of inputTextFieldHint but it doesnt change at all  any solution

In the sender component, the propType is "inputFieldTextHint" but on the main component, the propType is "inputTextFieldHint"..
The props is lost because of this difference.. Needs a fix

You can close this issue


Failed to update channel monitor: no such monitor registered

Just tested to fund my wallet on the Test VM and run into the following error on the coordinator.
Version:
Get10101 Test, 0.0.1 (2)
Relevant Coordinator Logs
2023-05-09 12:35:05 DEBUG lightning::ln::channel: Received valid commitment_signed from peer in channel 459830fdee6ef87ad647e7f9fa1d0c1f24b1c530ed7e873c6ae0cb3888418449, updating HTLC state and responding with our own commitment_signed and a revoke_and_ack.
2023-05-09 12:35:05 ERROR lightning::chain::chainmonitor: Failed to update channel monitor: no such monitor registered
2023-05-09 12:35:05 ERROR lightning::ln::channelmanager: Closing channel 459830fdee6ef87ad647e7f9fa1d0c1f24b1c530ed7e873c6ae0cb3888418449 due to monitor update ChannelMonitorUpdateStatus::PermanentFailure
2023-05-09 12:35:05 DEBUG lightning::ln::channelmanager: Finishing force-closure of channel with 0 HTLCs to fail
2023-05-09 12:35:05 ERROR lightning::chain::chainmonitor: Failed to update channel monitor: no such monitor registered
2023-05-09 12:35:05 ERROR lightning::ln::channelmanager: ChannelMonitor storage failure

Not sure what to do with this one. Did it happen again? I was able to fund a channel a few minutes ago.
Looking at the code in LDK it looks like it should never happen: https://github.com/lightningdevkit/rust-lightning/blob/54a768013f8fab70adacf84ddafb6ed43084794b/lightning/src/chain/chainmonitor.rs#L676-L682.

I've run into the same problem when closing a position. These are the logs from my test 10101 app on 7ac6e28:
| 2023-05-10 10:57:35.423 | LogLevel.INFO | Accepting DLC channel collaborative settlement channel_id: 266224002cffce70002ed7a38c43dd9de5bee39eaf8868a58c2f5035b000199d
| 2023-05-10 10:57:35.425 | LogLevel.ERROR | lightning::chain::chainmonitor: Failed to update channel monitor funding txo: no such monitor registered
| 2023-05-10 10:57:35.427 | LogLevel.ERROR | Failed to process message: Failed to accept DLC channel close offer for channel 266224002cffce70002ed7a38c43dd9de5bee39eaf8868a58c2f5035b000199d: Invalid parameters were provided: Misuse error: Could not update channel funding transaction. from: 03507b924dae6595cfb78492489978127c5f1e3877848564de2015cd6d41375802,kind: SubChannelCloseOffer

This type of error has actually caused our public regtest setup to break, as the coordinator ended up closing the channel with LND, making the faucet unavailable. As such I am gonna mark this as a bug.

Not related to this ticket directly but I propose ignoring LND for now and using the coordinator directly to open channels to the app.

most likely related to #627


Accessing Opaque Type twice removes type

Not really sure how to report this one.
consider:
function transformHandshakeResponse<R: Handshake>(response: R) {
  const identity = response.identity;
  if (response.identity) {
    return {
      identity,
      result: 'success',
      handshake: true,
      uuid: typeof response.uuid === 'string' ? response.uuid : 'handshake',
    };;
  }
  throw new TypeError(
    'Bad Result for Handshake Response Wrapper, expected identity',
  );
}

In the case above, you will notice I first save identity (my opaque type on the object i receive), then I check response.identity, then I use the original identity to save onto the object.  I do this because if I do:
function transformHandshakeResponse<R: Handshake>(response: R) {
  if (response.identity) {
    return {
      identity: response.identity,
      result: 'success',
      handshake: true,
      uuid: typeof response.uuid === 'string' ? response.uuid : 'handshake',
    };
  }
  throw new TypeError(
    'Bad Result for Handshake Response Wrapper, expected identity',
  );
}

then I get:
object literal
   This type is incompatible with
   object type
   ---
     Property `identity` is incompatible:
     string
     ---
        This type is incompatible with
        Datastream$Identity

I think the problem doesn't come from "Accessing Opaque Type twice", but rather from checking it agains null or undefined.
I described my case here: https://github.com/facebook/flow/issues/5266) with a shorter reproductible example

besides this, this problem is very problematic for me, as I can't find any good workaround

The second example works now.


NOTIF-622 Update schema-java to use json-schema

Oops, I missed that PR, sorry :smile:

Since you worked on that first, we should merge your PR, not mine.

Alright, thanks!


UnboundLocalError during some decodes

Got the following error during decode:
266 state: sync       valid: 1 0 25 Dthresh: 44845.00 Dtmax12: 84950.08 20388.43 tmax:  756 fmax:  -0.00 aux: [0 0 0] uw_err: 0
267 state: sync       valid: 1 0 25 Dthresh: 44733.27 Dtmax12: 84862.50 21321.94 tmax:  756 fmax:  -0.00 aux: [0 0 0] uw_err: 0
268 state: sync       valid: 1 0 25 Dthresh: 44601.70 Dtmax12: 84753.28 21953.54 tmax:  756 fmax:  -0.00 aux: [0 0 0] uw_err: 0
269 state: sync       valid: 1 0 25 Dthresh: 44570.43 Dtmax12: 85379.12 22682.92 tmax:  756 fmax:  -0.00 aux: [0 0 0] uw_err: 0
270 state: sync       valid: 1 0 25 Dthresh: 44468.64 Dtmax12: 84869.13 20998.22 tmax:  756 fmax:  -0.00 aux: [0 0 0] uw_err: 0
271 state: sync       valid: 1 0 25 Dthresh: 44372.59 Dtmax12: 84640.53 18784.51 tmax:  756 fmax:  -0.00 aux: [0 0 0] uw_err: 0
272 state: sync       valid: 1 0 25 Dthresh: 44366.61 Dtmax12: 85983.41 15992.07 tmax:  756 fmax:  -0.00 aux: [0 0 0] uw_err: 0
273 state: sync       valid: 0 0 25 Dthresh: 43816.69 Dtmax12: 43183.19 17047.27 tmax:  756 fmax:  -0.00 aux: [0 0 1] uw_err: 1
Traceback (most recent call last):
  File "/Users/mooneer/devel/radae/radae_rx.py", line 158, in <module>
    tmax,fmax_hat = acq.refine(rx_buf, tmax, fmax, tfine_range, ffine_range)
  File "/Users/mooneer/devel/radae/radae/dsp.py", line 226, in refine
    self.D_fine = Dt1[tmax_ind,:]
UnboundLocalError: local variable 'tmax_ind' referenced before assignment

File used for decode: FreeDV_FromRadio_20240820-113011.wav.zip

Thanks.  Just confirming - you tried to decode a wave file, not the zip file?

@tmiw - also, what Git #?

So I tried:
unzip ~/Downloads/FreeDV_FromRadio_20240820-113011.wav.zip
 ./ota_test.sh -r __MACOSX/._FreeDV_FromRadio_20240820-113011.wav
-----------------------------------------------
Process receiver sample
-----------------------------------------------
sox FAIL formats: can't open input file `__MACOSX/._FreeDV_FromRadio_20240820-113011.wav': WAVE: RIFF header not found

and:
file __MACOSX/._FreeDV_FromRadio_20240820-113011.wav
__MACOSX/._FreeDV_FromRadio_20240820-113011.wav: AppleDouble encoded Macintosh file

however the bug was real: https://github.com/drowe67/radae/pull/20/commits/49a2244f976d170568b7ccf2841c71bf370a2af2

@tmiw - also, what Git # and command line to reproduce the problem (ota_test.sh -r <filename> I assume)?

Looks like this got fixed but I was using 99a3f2b2f966ef34c0313d85841366853dbe4798 before. And this was that radae_demo_rx.sh script I was working on over in freedv-gui.

sox FAIL formats: can't open input file `__MACOSX/._FreeDV_FromRadio_20240820-113011.wav': WAVE: RIFF header not found

and:

file __MACOSX/._FreeDV_FromRadio_20240820-113011.wav
__MACOSX/._FreeDV_FromRadio_20240820-113011.wav: AppleDouble encoded Macintosh file

FYI the __MACOSX folder is something special because the Apple filesystem has some filesystem-specific stuff that wouldn't get copied over otherwise. The actual .wav file is not in that folder :)

@drowe67, new issue on 2a382621842cd9175bf5a991c2f42240a2e8977c using radae_demo_rx.sh:
Traceback (most recent call last):
  File "/Users/mooneer/devel/radae/radae_rx.py", line 158, in <module>
    tmax,fmax_hat = acq.refine(rx_buf, tmax, fmax, tfine_range, ffine_range)
  File "/Users/mooneer/devel/radae/radae/dsp.py", line 227, in refine
    self.D_fine = Dt1[tmax_ind,:]
IndexError: index 171 is out of bounds for axis 0 with size 16

Audio file: tx.wav.zip

Pls describe how to repeat the issue (e.g. command line)

Pls describe how to repeat the issue (e.g. command line)

Hmm, I can't seem to duplicate it now with the following:
sox ~/Downloads/tx\ 2.wav -t raw -c 1 -L -e signed-integer -r 8000 - pad 0 2 | python3 -u int16tof32.py --zeropad |     python3 -u radae_rx.py model19_check3/checkpoints/checkpoint_epoch_100.pth -v 2 --auxdata |     build/src/lpcnet_demo -fargan-synthesis - /dev/null

Might have been something not related to the scripts causing the problem. I'll go ahead and close for now.


any changes made to get_element_facets(element_id) ?

Discussed in https://github.com/cwapi3d/cwapi3dpython/discussions/203

Originally posted by roehligas August  7, 2024
Hi,
one of our scripts throws an error that wasn't there before.
Traceback (most recent call last):
  File "K:\02 KONSTRUKSJON\04 CADWORK\Cadwork_lib\userprofil_30\3d\API.x64\GenerateDoorBeams\GenerateDoorBeams.py", line 73, in <module>
    ess.main()
  File "//dc-1/Felles\02 KONSTRUKSJON/04 CADWORK/Cadwork_lib/USERPROFIL_30/3d/API.x64/GenerateDoorBeams\GenerateDoorBeams_lib.py", line 315, in main
    create_doorbeams([ae])
  File "//dc-1/Felles\02 KONSTRUKSJON/04 CADWORK/Cadwork_lib/USERPROFIL_30/3d/API.x64/GenerateDoorBeams\GenerateDoorBeams_lib.py", line 266, in create_doorbeams
    for i in range(len(facet)-1):
TypeError: object of type 'cadwork.vertex_list' has no len()

Have changes been made to this function? Before a python list containing a list of point3d objects was returned, now it is it's own class.
I need some documentation on this new class so that i can update our scripts

@roehligas changes/fixes will be available within the next cadwork 3d live-update
import element_controller as ec
import cadwork
import geometry_controller as gc

ec.get_active_identifiable_element_ids()
[62748055]
facets = gc.get_element_facets(62748055)
len(facets)
6
facets[6]
Traceback (most recent call last):
  File "<pyshell#8>", line 1, in <module>
    facets[6]
IndexError: index out of range!


There is difference in .json file , if the user create bucket from node command and aws mb command

Environment info

NooBaa Version: noobaa-core-5.15.0-20240125.el9.x86_64 (downstream build)
Platform:Stand alone RHEL 9.2

Actual behavior
There is a field "owner_account": "65b3c68b59ab67b16f98c26e" in .json file ,if I create the bucket from aws mb command. However this field is not there if I create the bucket from node command or mms3 cli
For eg:
Bucket created from aws mb command
[root@anrhel92-x-master ~]# mms3 bucket list bucket1234-mb01
{
"response": {
    "code": "BucketStatus",
    "reply": {
      "_id": "65b3c86288ae7bef05f17ea6",
      "name": "bucket1234-mb01",
      "owner_account": "65b3c68b59ab67b16f98c26e",
      "system_owner": "accnt1234",
      "bucket_owner": "accnt1234",
      "versioning": "DISABLED",
      "creation_date": "2024-01-26T14:57:38.664Z",
      "path": "/mnt/fs1/accnt1234/bucket1234-mb01",
      "should_create_underlying_storage": true,
      "fs_backend": "GPFS"
    }
  }
}

Bucket created via mms3 cli which internally uses node command
[root@anrhel92-x-master ~]# mms3 bucket list bucket1234
{
"response": {
    "code": "BucketStatus",
    "reply": {
      "name": "bucket1234",
      "system_owner": "accnt1234",
      "bucket_owner": "accnt1234",
      "creation_date": "2024-01-26T14:50:53.664Z",
      "versioning": "DISABLED",
      "path": "/mnt/fs1/accnt1234/bucket1234",
      "should_create_underlying_storage": false,
      "fs_backend": "GPFS",
      "_id": "65b3c6cd9e1d36a692bab6ba"
    }
  }
}

Expected behavior
.json file should be similar if I create via aws cli or mms3 cli

Verified on upstream build 02/12/2024.
Can see the property owner_account. @shirady you may close this ticket
[root@ananrhel92-x-worker1 ~]# jq '.' /gpfs/fs-ces-shared/ces/s3-config/buckets/buck1.json
{
  "_id": "65cb53e1608ad91509d9a471",
  "name": "buck1",
  "owner_account": "65cb4abec6e190a1e73964cb",
  "system_owner": "anandhu",
  "bucket_owner": "anandhu",
  "versioning": "DISABLED",
  "creation_date": "2024-02-13T11:34:57.544Z",
  "path": "/mnt/fs1/anandhu1/buck1",
  "should_create_underlying_storage": false,
  "fs_backend": "GPFS"
}

closing per the last comment


Terminal code mappings for RouteTable

Issue #, if available: 1362
Description of changes:

Removed InvalidVpcId.NotFound, InvalidVpcId.Malformed and InvalidParameterValue terminal codes for Route Table resource.
Removed Integration test that exists for InvalidVpcId.NotFound terminal code.

I tried adding integration test for the InvalidParameterValue by passing an invalid parameter, but it leaves a dangling VPC resource which is incorrect, tested locally by using patch and found dangling resource being created. Considering these scenarios, removed the above mentioned terminal codes for Route Table resource.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@LikithaVemulapalli couple questions:

Is InvalidVpcId.Malformed removed because if Vpc is malformed the InvalidVpcId.NotFound will be returned instead?
Which parameter(s) were under test for InvalidParameterValue?

I tried adding integration test for the InvalidParameterValue by passing an invalid parameter, but it leaves a dangling VPC resource which is incorrect, tested locally by using patch and found dangling resource being created. Considering these scenarios, removed the above mentioned terminal codes for Route Table resource.

I'm a little confused on the dangling resource. VPC should already exist when creating RouteTable (unless you're testing with references). Aside from that, after looking thru the code, I think InvalidParameterValue should still map to a terminal condition. I would expect providing invalid Routes to result in no resource (RouteTable) being created and an error returned: https://github.com/aws-controllers-k8s/ec2-controller/blob/main/pkg/resource/route_table/sdk.go#L423

@LikithaVemulapalli couple questions:

Is InvalidVpcId.Malformed removed because if Vpc is malformed the InvalidVpcId.NotFound will be returned instead?

Yes, if we provide a malformed VPC ID, we get InvalidVpcId.NotFound error, so removed both the terminal codes.

Which parameter(s) were under test for InvalidParameterValue?

I used destinationCIDRBlock to check the InvalidParameterValue terminal code.

I tried adding integration test for the InvalidParameterValue by passing an invalid parameter, but it leaves a dangling VPC resource which is incorrect, tested locally by using patch and found dangling resource being created. Considering these scenarios, removed the above mentioned terminal codes for Route Table resource.

I'm a little confused on the dangling resource. VPC should already exist when creating RouteTable (unless you're testing with references). Aside from that, after looking thru the code, I think InvalidParameterValue should still map to a terminal condition. I would expect providing invalid Routes to result in no resource (RouteTable) being created and an error returned: https://github.com/aws-controllers-k8s/ec2-controller/blob/main/pkg/resource/route_table/sdk.go#L423

I passed an invalid CIDR block both initially and cross-checked by updating the patch routes with invalid CIDR block, I thought it's leaving a dangling resource (VPC) after running route table test file as VPC is being created and I'm getting cleanup errors as VPC cannot be deleted due to dependencies.

/retest


V1 10 stable

Make sure you have checked all steps below.
Jira

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

https://issues.apache.org/jira/browse/AIRFLOW-XXX
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a Jira issue.

Description

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

Tests

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

Commits

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

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

Documentation

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

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[ ] Passes flake8

we are running a DAG with some tasks, when the task is still running it is exiting from the DAG and there is nothing showing up in in the logs. and we have checked that dag having enough resources/memory to run the dag. can any one help us finding solution

Reach out on the mailing list please or slack channel. PRS are used for code changes.

can you please give us the mail id

<EMAIL_ADDRESS>or http://apache-airflow.slack.com/


Ignore .github directory

currently we fail like this. We should not require .github in the source dist
[FAIL] Git tree at provided revision matches source archive
/tmp/tmppa_5v1dw/git/incubator-zipkin/.github is only in the git checkout
See above for a full output of diff.

That's weird, https://github.com/openzipkin-contrib/apache-release-verification/commit/b51359fa2857c91302e18411a8e2745d8dfad921 should fix that. How exactly did you invoke the tool?

That's weird, b51359f should fix that (from ~2 weeks ago).

@adriancole assuming you were using the docker command, did you docker pull abesto/openzipkin-contrib-apache-release-verification before running it to make sure you have the latest image?

I'm gonna assume this was a case of an outdated checker version and close, please re-open if the issue persists.


bug: contract account nonce is not incremented since it is using protocol-level nonce

Bug Report
Kakarot version: https://github.com/kkrt-labs/kakarot/commit/c0c80301d4dfe384247b423a3bc2726522b5d1a8

Current behavior:

Extending ef test issue on mismatched nonce https://github.com/kkrt-labs/ef-tests/issues/33
For contract accounts, we moved to using protocol-level nonce in this pr. This is causing the following issues

nonce is not updated for the target contract account when this create tx is executed
test fails because expected nonce should be 1

Expected behavior:

Nonce should be incremented for contract accounts
Steps to reproduce:

clone ef-tests: https://github.com/kkrt-labs/ef-tests
run the following

make setup
make fetch-dump
make target=InitCollision_d0g0v0_Shanghai ef-test

Related code:

Managed nonce here:
https://github.com/kkrt-labs/kakarot/blob/c0c80301d4dfe384247b423a3bc2726522b5d1a8/src/kakarot/accounts/library.cairo#L25
Other information:

We also need to add nonce increment after CREATE/CREATE2, see :
https://github.com/ClementWalter/kakarot/blob/bf4a98365bf9a66e40cd8f34e8c252ac913d6833/src/kakarot/instructions/system_operations.cairo#L943


Change labels to be displayed in individual colors for each task

Hello, I changed labels to be displayed in individual colors for each task like a following screenshot. Please review. (Inspired by tj's debug module.)

Wow, thank you for contributing!
Looks good to me.
I will merge it within a few day.

Thanks for your review, and congrats to release 4.0.0!


Allow a window to exist on multiple workspaces

Use case: I have a notes workspace with note-taking program open but I also want to see that window on my dev workspace (or my web workspace, etc) at times.
One solution I had in mind was something akin to DWM's tagmasks.
Not sure how or if I can label this as an enhancement. I'm looking into adding this feature on my fork and will be submitting a PR if no one beats me to it.

This is a great idea! Currently, it would be rather hard, because I am not inspecting window contents, only listening for WinEvent hooks, and telling windows to move/resize.
However, this is something that I've been thinking about. I've been toying with the idea of hooking into DWM (not the DWM you referenced, but Window's Desktop Window Manager, called dwm.exe) to grab the Direct3D textures that are used to draw the windows on screen. If that is done, it should be relatively trivial to "repeat" a window on another monitor (interaction with it would be tricky, but probably not impossible?).
This is not something that I can tackle right now, but something that we might be able to do in the future!

Oh wow I hadn't even considered seeing the same window on multiple monitors but that is a natural consequence of this! Redrawing the window is a pretty clever idea.

@rickbutton and @ianelletson, fantastic ideas!


Adds config option to make starting quadrants each have one tribe

I didn't want to mess with the randomization code for generating tribe tags, but we might have to. Picture this: there are 2 starting quadrants (so 2 tribes with the config option turned on) and 800 agents. The quadrants are both 20x20, so there are exactly 800 spawn locations. However, the tribes will not be perfectly 50/50—there will be a few more in one and a few less in the other. We will run out of spawning locations for the tribe with more agents. We could:

Adjust the tag generation code so that exactly the right amount of agents per tribe are spawned, avoiding the issue
Discard any agents generated after the quadrant fills up, which will make the starting population incorrect
?

Thoughts?
Also, a default cell has to be generated for the initialization of agents' debug (which goes through cell.environment.debug). We could get around this by passing in debug some other way.

When I first thought of this (and quickly moved on to other things), I had an integer option in mind. Something like environmentTribesPerQuadrant. If the number of tribes % number of active quadrants wasn't zero, round down the number of tribes to the closest number which would result in zero (and print a warning message similar to when too many starting agents are requested).
I'm coming around to preferring this option be a Boolean like environmentTribePerQuadrant and cap it at 1 tribe in each active quadrant. If there are more tribes than active quadrants, set the number of tribes to the number of active quadrants. If there are more active quadrants than number of tribes, set the number of tribes to the number of quadrants. Always adjust the number of tribes to spatial availability, never the other way around.
From there, you could actually force the tribes per quadrant. The formula for how many 0s and 1s need to be in a tag for a specific tribe is known. For a given quadrant, force agents' tags in that quadrant to match the median number of 0s and 1s (to prevent immediate tribe flipping when interacting with other tribes). This could be done during agent creation or done after all agents are placed (walk through the list of agents, figure out their quadrant, and arbitrarily set their tags as needed).

The number of tribes is set to the number of quadrants, so we're in agreement there.

It sounds like you prefer the name environmentTribePerQuadrant over agentTribalStartingQuadrants?
Will I mess up the md5 hashing if I just figure out the number of zeros and ones for each tribe and then randomly permute them for each agent in that tribe? It looks like it'll be fine but I just wanted to check. I'm not exactly sure what the purpose of the hashing is.

The hashing is used to maintain determinism. Each config option is hashed which provides a proper and consistent ordering of options. It is statistically improbable that hash conflicts will occur from this. Thanks to @WillemHueffed for that fix.
Correct on the name preference. This is setting up a property of the simulation environment, not individual agents.
If you want to permute tags for tribe members, that should be fine. By invoking the random library, this solution will consume random numbers and break from the current determinism. But, this is also a brand new (and to be rarely used) feature, so it should have a net zero impact on the main use case of the software.

Changed tribe cutoff logic from using math.floor() to using round. Previously, with 4 tribes and tag length 11, the interval lengths of number of zeroes per tribe were 2, 2, 2, and 5. Now, they are more evenly distributed—3, 3, 3, 2. This might have some edge cases.

With 10 tribes and 10 agents, I get 5 tribes present. One tribe has 4 members.

With tribe quadrants on or off? Either way, with lower numbers of agents, the perfect randomization of tags (or location if tribe quadrants are on) means that you probably won't get an even distribution. This also happens with the current repo. Do you want to guarantee that tribes are distributed evenly? I can do that for tribe quadrants fairly easily by looping through the quadrants. With tribe quadrants turned off, though, we'd need to change the tag creation logic using random.rangerange() in randomizeAgentEndowments to be closer to the other endowments where you increment the number of zeroes over the range.

Looks like it's working pretty well now. Tribes are uniformly distributed over the number of agents at simulation start, and tags generated by tribe return the correct tribe from findTribe. The binomial distribution actually occurs pretty quickly—you'll see that with three tribes blue quickly takes over because it's the "middle" tribe for tag zeroes.

I will fixing GUI colors in a commit soon. That and color 5 and color 8 are remarkably similar for having what I thought were different enough hex values.

Also, I am fairly certain the book authors constrained their experiments to two tribes only otherwise this distribution issue would have become readily apparent.


Team service tests use mocks

Acceptance Criteria

Team service tests uses mocked api requester and crud

Won't do. This being an integration test will suffice. Don't need to convert or add unit test for it.


NO-JIRA make automountServiceAccountToken in _pod.tpl configurable

Please ensure your pull request adheres to the following guidelines:

[x] explain your motives to contribute this change: what problem you are trying to fix, what improvement you are trying to make
[x] Document your Changes in the CHANGELOG.md file of the respected chart as well as the Chart.yaml

Our setup of SonarQube is using CloudSQL and the authentication is going via CloudSQL Proxy which needs automountServiceAccountToken to be set to true in order ot be able to authenticate via IAM Service Account.

Hello @vladimirddimov, could i ask you to rebase and propagate the fix also to the DCE chart?
Also the changes are to be set in 10.7.0 as we are releasing at the same time as the upcoming SonarQube version.
Thanks a lot again for your contribution

Hey @davividal, considering this PR has not received any updates, could you either close it or take over and build on top of the contribution?

As we don't see further reaction on this PR, we decided to create a hardening ticket about this feature.
Thanks again @vladimirddimov for your contribution.


Mod issue

heres the full log,
crash-2020-12-24_12.14.43-server.txt

This happened right as I booted up the mod again
Log:
crash-2020-12-24_12.18.39-server.txt

this also may be a duplicate of issue #66

Yes, it is.


Defer webhook creation to project reload

Do NOT test now, will end up creating a webhook for every single repo it has access to :/

Will keep on my instance for a while and check over once more, this is a way more intrusive change than I was hoping for.

@mergify unqueue

@mergify rebase

I actually just wanted to rebase this, not merge it.

Did we merge this by another PR? The code from this seems to be in master

Did we merge this by another PR? The code from this seems to be in master

Looks like https://github.com/nix-community/buildbot-nix/pull/203?

Oh yeah, you're right, i even wrote that code :sweat_smile: I really have the memory of a goldfish (might be an insult to goldfish all over the world)


Count fraction whitout   UI

How i do thi pivot with "Count as Fraction of rows" instead "sum" ?
i used
var sum = $.pivotUtilities.aggregatorTemplates.sum;
but wen i replace sum for fractionOf, an error occurs
obs. the # are variables of coldfsusion code
$(function(){
        var rawData = #serializeJSON(QueryToStruct( selUtilizacaoDados ))#;
        var derivers = $.pivotUtilities.derivers;
        var renderers = $.extend($.pivotUtilities.renderers,
                                  $.pivotUtilities.c3_renderers,
                    		  $.pivotUtilities.export_renderers
                                );
        var sum = $.pivotUtilities.aggregatorTemplates.sum;
        var numberFormat = $.pivotUtilities.numberFormat;
        var intFormat = numberFormat({digitsAfterDecimal: 2});
          $("##output").pivot(rawData, {
            aggregator: sum(intFormat)(["#valorAgregador#"]),
            cols: ['#replace(elementosColuna,",","','")#'],
            rows: ['#replace(elementosLinhas,",","','")#'],
            aggregatorName: "#tipoAgregador#",
            vals: ["#valorAgregador#"],
            rendererName: "#tipoRender#",
            renderers: renderers
        });

	});

also a tried this
    var fractionOf = $.pivotUtilities.aggregatorTemplates.fractionOf(count(),'row');
    var numberFormat = $.pivotUtilities.numberFormat;
    var percFormat = numberFormat({
							    digitsAfterDecimal: 2,
							    suffix: "%"
							  });
      $("##output").pivot(rawData, {
        aggregator: fractionOf(percFormat)(["#valorAgregador#"]),
        cols: ['#replace(elementosColuna,",","','")#'],
        rows: ['#replace(elementosLinhas,",","','")#'],
        aggregatorName: "#tipoAgregador#",
        vals: ["#valorAgregador#"],
        rendererName: "#tipoRender#",
        renderers: renderers
    });

What is the error that occurs?

The data dont appears
Em 11 de out de 2016 1:10 PM, "Nicolas Kruchten"<EMAIL_ADDRESS>escreveu:

What is the error that occurs?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nicolaskruchten/pivottable/issues/566#issuecomment-252964420,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHUxqAL2j3OjgXOWQ5ssVFxosOGD8YiMks5qy7TWgaJpZM4KPAWT
.

May be syntax mistake at $("##output")

Its The coldfusion Language, is The same #divId If i wroted in html
Em 12 de out de 2016 11:25 PM, ":state"<EMAIL_ADDRESS>escreveu:

May be syntax mistake at $("##output")
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nicolaskruchten/pivottable/issues/566#issuecomment-253396523,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHUxqG1TCQt_LCE8So1oPLXbfGTBVyy7ks5qzZaugaJpZM4KPAWT
.


Action doesn't find cache, tries to overwrite downloaded file and fails on self-hosted runner

Hello there!
I hope I am right here to report an issue.
I am using a self-hosted GitHub runner (version 2.312.0) on an Ubuntu based server.
I've got the following action setup:
name: Godot Build

on:
  push:
    branches: ["main"]
  pull_request:
    branches: ["main"]

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        godot-version: [4.2.1]

    runs-on: self-hosted
    container: ubuntu:lunar-20231128

    steps:
      - uses: actions/checkout@v4
        name: Checkout

(... Dependencies & C# Installation ...)

      - uses: chickensoft-games/setup-godot@v1
        name: Setup Godot
        with:
          version: ${{ matrix.godot-version }}
          use-dotnet: true
          godot-sharp-release: true

(... project build ...)

This runs for the first time perfectly fine, but each succession run fails with:

Run chickensoft-games/setup-godot@v1
  with:
    version: 4.2.1
    use-dotnet: true
    path: godot
    downloads-path: downloads
    bin-path: bin
    godot-sharp-release: false
  env:
    CSharpVersion: 8.0.x
    DOTNET_ROOT: /usr/share/dotnet
/usr/bin/docker exec  5e2c1ad8c330fffd7346e349d1c6c50f514aa8d2275524780db7477a68ae8d1a sh -c "cat /etc/*release | grep ^ID"
🐧 Running on Linux
🏝 Environment Information
  📁 Checkout directory: /__w/MyProject/MyProject
  🤖 Godot version: 4.2.1
  🤖 Godot version name: Godot_v4.2.1-stable_mono_linux_x86_64
  🟣 Use .NET: true
  🤖 Godot download url: https://github.com/godotengine/godot-builds/releases/download/4.2.1-stable/Godot_v4.2.1-stable_mono_linux_x86_64.zip
  🧑💼 User directory: /github/home
  🌏 Downloads directory: /github/home/downloads
  📥 Godot download path: /github/home/downloads/Godot_v4.2.1-stable_mono_linux_x86_64.zip
  📦 Godot installation directory: /github/home/godot
  🤖 Godot installation path: /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64
  🤖 Export Template url: https://github.com/godotengine/godot-builds/releases/download/4.2.1-stable/Godot_v4.2.1-stable_mono_export_templates.tpz
  📥 Export Template download path: /github/home/downloads/export_templates.zip
  🤖 Export Template Path: /github/home/.local/share/godot/export_templates/4.2.1.stable.mono
  📂 Bin directory: /github/home/bin
  🤖 GodotSharp release: false
📂 Ensuring working directories exist...
  ✅ Working directories exist
🤔 Checking if Godot is already in cache...
  🙃 Previous Godot download not found in cache
📥 Downloading Godot to /github/home/downloads/Godot_v4.2.1-stable_mono_linux_x86_64.zip...
  Destination file path /github/home/downloads/Godot_v4.2.1-stable_mono_linux_x86_64.zip already exists
  Waiting 19 seconds before trying again
  Destination file path /github/home/downloads/Godot_v4.2.1-stable_mono_linux_x86_64.zip already exists
  Waiting 16 seconds before trying again
  Error: Error: Destination file path /github/home/downloads/Godot_v4.2.1-stable_mono_linux_x86_64.zip already exists

I see two issues here:
First, according to the GitHub Cache panel, a cache named https://github.com/godotengine/godot-builds/releases/download/4.2.1-stable/Godot_v4.2.1-stable_mono_linux_x86_64.zip (870 MB) exists. Just ... for another branch it seems.
I don't know if it's possible to have a universal cache with the Godot files, instead of a per-branch one. This would also save resources.
And secondly, it then tries to re-download the Godot ZIP (and afterwards the export templates ZIP ...) although them still existing in the GitHub self-hosted runner download directory:
$ find . -type f -name *.zip -exec ls -al {} \;
-rw-r--r-- 1 root root 55091892 Jan 29 02:13 ./_work/_temp/_github_home/downloads/Godot_v4.2.1-stable_mono_linux_x86_64.zip
-rw-r--r-- 1 root root 856438762 Jan 29 02:13 ./_work/_temp/_github_home/downloads/export_templates.zip

A check whether this files already exists would be great :)
Alternatively, overwrite/delete the existing file first.

Short-follow up: When on the same branch (with cache on the 2nd run), it also fails! This time due to trying to create a symlink instead of the ZIP files:
Run chickensoft-games/setup-godot@v1
  with:
    version: 4.2.1
    use-dotnet: true
    godot-sharp-release: true
    path: godot
    downloads-path: downloads
    bin-path: bin
  env:
    CSharpVersion: 8.0.x
    DOTNET_ROOT: /usr/share/dotnet
/usr/bin/docker exec  2713b43f2a219d08297b25c77ce5a146d23e5bf9493cf9c02f3e1032a58b2d66 sh -c "cat /etc/*release | grep ^ID"
🐧 Running on Linux
🏝 Environment Information
  📁 Checkout directory: /__w/MyProject/MyProject
  🤖 Godot version: 4.2.1
  🤖 Godot version name: Godot_v4.2.1-stable_mono_linux_x86_64
  🟣 Use .NET: true
  🤖 Godot download url: https://github.com/godotengine/godot-builds/releases/download/4.2.1-stable/Godot_v4.2.1-stable_mono_linux_x86_64.zip
  🧑💼 User directory: /github/home
  🌏 Downloads directory: /github/home/downloads
  📥 Godot download path: /github/home/downloads/Godot_v4.2.1-stable_mono_linux_x86_64.zip
  📦 Godot installation directory: /github/home/godot
  🤖 Godot installation path: /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64
  🤖 Export Template url: https://github.com/godotengine/godot-builds/releases/download/4.2.1-stable/Godot_v4.2.1-stable_mono_export_templates.tpz
  📥 Export Template download path: /github/home/downloads/export_templates.zip
  🤖 Export Template Path: /github/home/.local/share/godot/export_templates/4.2.1.stable.mono
  📂 Bin directory: /github/home/bin
  🤖 GodotSharp release: true
📂 Ensuring working directories exist...
  ✅ Working directories exist
🤔 Checking if Godot is already in cache...
  Received 0 of 912852344 (0.0%), 0.0 MBs/sec
  Received 4194304 of 912852344 (0.5%), 2.0 MBs/sec
  Received 33554432 of 912852344 (3.7%), 10.7 MBs/sec
  Received 67108864 of 912852344 (7.4%), 16.0 MBs/sec
  Received 100663296 of 912852344 (11.0%), 19.2 MBs/sec
  Received 134217728 of 912852344 (14.7%), 21.3 MBs/sec
  Received 159383552 of 912852344 (17.5%), 21.7 MBs/sec
  Received 184549376 of 912852344 (20.2%), 22.0 MBs/sec
  Received 213909504 of 912852344 (23.4%), 22.7 MBs/sec
  Received 243269632 of 912852344 (26.6%), 23.2 MBs/sec
  Received 272629760 of 912852344 (29.9%), 23.6 MBs/sec
  Received 293601280 of 912852344 (32.2%), 23.3 MBs/sec
  Received 327155712 of 912852344 (35.8%), 24.0 MBs/sec
  Received 356515840 of 912852344 (39.1%), 24.3 MBs/sec
  Received 377487360 of 912852344 (41.4%), 24.0 MBs/sec
  Received 402653184 of 912852344 (44.1%), 24.0 MBs/sec
  Received 432013312 of 912852344 (47.3%), 24.2 MBs/sec
  Received 461373440 of 912852344 (50.5%), 24.4 MBs/sec
  Received 486539264 of 912852344 (53.3%), 24.4 MBs/sec
  Received 515899392 of 912852344 (56.5%), 24.6 MBs/sec
  Received 541065216 of 912852344 (59.3%), 24.6 MBs/sec
  Received 570425344 of 912852344 (62.5%), 24.7 MBs/sec
  Received 599785472 of 912852344 (65.7%), 24.9 MBs/sec
  Received 624951296 of 912852344 (68.5%), 24.8 MBs/sec
  Received 658505728 of 912852344 (72.1%), 25.1 MBs/sec
  Received 679477248 of 912852344 (74.4%), 24.9 MBs/sec
  Received 696254464 of 912852344 (76.3%), 24.6 MBs/sec
  Received 729808896 of 912852344 (79.9%), 24.8 MBs/sec
  Received 759169024 of 912852344 (83.2%), 25.0 MBs/sec
  Received 788529152 of 912852344 (86.4%), 25.1 MBs/sec
  Received 817889280 of 912852344 (89.6%), 25.2 MBs/sec
  Received 847249408 of 912852344 (92.8%), 25.2 MBs/sec
  Received 868220928 of 912852344 (95.1%), 25.1 MBs/sec
  Received 901775360 of 912852344 (98.8%), 25.3 MBs/sec
  Received 908658040 of 912852344 (99.5%), 24.7 MBs/sec
  Cache Size: ~871 MB (912852344 B)
  /usr/bin/tar -xf /__w/_temp/6bf6f624-8f68-4cee-9054-e93a013786e4/cache.tgz -P -C /__w/MyProject/MyProject -z
  Received 912852344 of 912852344 (100.0%), 24.2 MBs/sec
  Cache restored successfully
  🎉 Previous Godot download found in cache!
📄 Showing cached files recursively...
  📁 /github/home/godot
    📁 /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64
      📁 /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/GodotSharp
        📁 /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/GodotSharp/Api
          📁 /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/GodotSharp/Api/Debug
            📄 GodotPlugins.dll
            📄 GodotPlugins.pdb
            📄 GodotPlugins.runtimeconfig.json
            🚀 GodotSharp.dll
            📄 GodotSharp.pdb
            📄 GodotSharp.xml
            📄 GodotSharpEditor.dll
            📄 GodotSharpEditor.pdb
            📄 GodotSharpEditor.xml
          📁 /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/GodotSharp/Api/Release
            📄 GodotPlugins.dll
            📄 GodotPlugins.pdb
            📄 GodotPlugins.runtimeconfig.json
            🚀 GodotSharp.dll
            📄 GodotSharp.pdb
            📄 GodotSharp.xml
            📄 GodotSharpEditor.dll
            📄 GodotSharpEditor.pdb
            📄 GodotSharpEditor.xml
        📁 /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/GodotSharp/Tools
          📄 GodotTools.BuildLogger.dll
          📄 GodotTools.BuildLogger.pdb
          📄 GodotTools.Core.dll
          📄 GodotTools.Core.pdb
          📄 GodotTools.IdeMessaging.dll
          📄 GodotTools.IdeMessaging.pdb
          📄 GodotTools.ProjectEditor.dll
          📄 GodotTools.ProjectEditor.pdb
          📄 GodotTools.Shared.dll
          📄 GodotTools.Shared.pdb
          📄 GodotTools.deps.json
          📄 GodotTools.dll
          📄 GodotTools.pdb
          📄 GodotTools.runtimeconfig.json
          🚀 JetBrains.Rider.PathLocator.dll
          🚀 Microsoft.Build.Locator.dll
          🚀 Newtonsoft.Json.dll
          📁 /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/GodotSharp/Tools/nupkgs
            📄 Godot.NET.Sdk.4.2.1.nupkg
            📄 Godot.SourceGenerators.4.2.1.nupkg
            📄 GodotSharp.4.2.1.nupkg
            📄 GodotSharp.4.2.1.snupkg
            📄 GodotSharpEditor.4.2.1.nupkg
            📄 GodotSharpEditor.4.2.1.snupkg
      🚀 Godot_v4.2.1-stable_mono_linux.x86_64
  📁 /github/home/.local/share/godot/export_templates/4.2.1.stable.mono
    📄 android_debug.apk
    📄 android_release.apk
    📄 android_source.zip
    📄 ios.zip
    🚀 linux_debug.arm32
    🚀 linux_debug.arm64
    🚀 linux_debug.x86_32
    🚀 linux_debug.x86_64
    🚀 linux_release.arm32
    🚀 linux_release.arm64
    🚀 linux_release.x86_32
    🚀 linux_release.x86_64
    📄 macos.zip
    📄 version.txt
    🚀 windows_debug_x86_32.exe
    🚀 windows_debug_x86_32_console.exe
    🚀 windows_debug_x86_64.exe
    🚀 windows_debug_x86_64_console.exe
    🚀 windows_release_x86_32.exe
    🚀 windows_release_x86_32_console.exe
    🚀 windows_release_x86_64.exe
    🚀 windows_release_x86_64_console.exe
  ✅ Files shown
🚀 Executables:
    🚀 /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/GodotSharp/Api/Debug/GodotSharp.dll
    🚀 /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/GodotSharp/Api/Release/GodotSharp.dll
    🚀 /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/GodotSharp/Tools/JetBrains.Rider.PathLocator.dll
    🚀 /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/GodotSharp/Tools/Microsoft.Build.Locator.dll
    🚀 /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/GodotSharp/Tools/Newtonsoft.Json.dll
    🚀 /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/Godot_v4.2.1-stable_mono_linux.x86_64
  ✅ Executables shown
🚀 Resolve Godot Executables:
  🚀 Godot executable found at /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/Godot_v4.2.1-stable_mono_linux.x86_64
  🚀 GodotSharp.dll found at /github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/GodotSharp/Api/Release/GodotSharp.dll
🔦 Update PATH...
  🔦 Added Bin Directory to PATH: /github/home/bin
🔗 Creating symlinks to executables...
  Error: Error: EEXIST: file already exists, link '/github/home/godot/Godot_v4.2.1-stable_mono_linux_x86_64/Godot_v4.2.1-stable_mono_linux.x86_64' -> '/github/home/bin/godot'

Maybe there's an error with how we define our cache keys or something?

I wouldn't say error, but it seems like each branch (and PR) this action is run on, creates its own cache. Each time downloading the ZIP files, uploading them, etc.
Apparently, according to GitHub's Docs, an action can access its branch cache, but also the default (usually main) branch's cache. Switching the cache to the repositories default branch would resolve the issue with multiple caches & save a lot of downloading/uploading :)

Either way, you're saying the immediate band-aid is to just delete any existing file before downloading?

Yes! I've added a pre-step before the checkout to my CI:
      - name: Pre-Cleanup
        run: |
          find . -delete || true
          find /github -delete || true
        if: always()

This removes any remains from existing Godot (and .NET) installations, the ZIP files, and any remaining repository files as they are kept on self-hosted runners by-default.
Unfortunately. this also triggers the redownloading in the setup-godot step.
Note, that just removing the Godot files under:

/github/home/downloads/*.zip
/github/home/bin/*
/github/home/godot/
Also works. find just cleans this quicker.

(...) if you have bandwidth to contribute that's more than appreciated too

I am not familiar with the code of this repository, but I can try having a look later :)

@definitelyokay I just made a PR fixing all the issues above :)
When you have some time, please check it for me.


Raw types when inheriting from HashMap, instead of <Object,Object>

This implementation choice makes it impossible to use json-simple with Scala
without modification. However, everything works fine when updating the
JSONObject declaration to the following:

public class JSONObject extends HashMap<Object, Object> implements
Map<Object, Object>, JSONAware, JSONStreamAware{

This is also probably a Scala bug, but people seemed to think it is a better
practice to use typed HashMap instead of raw.

See <http://old.nabble.com/Complicated-type-error-with-
org.json.simple.JSONObject:put-td26716918.html> for full details.

Cheers,

 -- Sébastien

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 15 Dec 2009 at 1:20

I just want to note that this issue has been addressed in my fork (which is fully compatible with this library if you're using java 7+). You can find more details about it here: https://cliftonlabs.github.io/json-simple/


specified character names do not work with two word names

Because of the args indexing, specified character names have to currently be one word. Needs fixing via better command indexing method.

Partially fixed, as searching by first, last, and full name is now supported. However, two word first/last names are still not working.

duplicate of issue #3, will be solved with that issue.


bitcoin logo in start menu on windows 64 bit

https://github.com/navcoindev/navcoin-core/issues/38
Closed here


HTTPS with Apache httpd

This patch documents how to enable HTTPS for Opencast using Apache httpd
as reverse proxy.
Your pull request should…

[x] have a concise title
[x] close an accompanying issue if one exists
[x] be against the correct branch (features can only go into develop)
[x] include migration scripts and documentation, if appropriate
[ ] pass automated testing
[x] have a clean commit history
[x] have proper commit messages (title and body) for all commits
[x] have appropriate tags applied

Thanks for the suggestions. They make sense. I included them.

Maybe, instead of the Opencast configuration, it would make sense to set:
  Header edit Set-Cookie ^(.*)$ $1; HttpOnly; Secure; SameSite=None

@pascalseeland, did you also try using Header edit Set-Cookie ^(.*)$ $1; HttpOnly; Secure; SameSite=None instead of the Jetty settings? That's probably easier if it works.

I did not try it out, but we have this line running in production for a different system for the same purpose.

Okay, thanks. That helps. Then, I'll update the docs with that and merge this afterwards.


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit 71d2121:
:clock10: Pending: waiting for processors (24 builds ahead of you)
:warning: Docs Build is busy, currently there are 24 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 71d2121:
:clock10: Full build: the average full build time is 5 min(s) 7 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit 71d2121:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:warning:Warning
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)
Details

docs-ref-conceptual/testing.md

[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.
[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.
[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.