MetaCardis_2020_a: dataType of list elements is different

When I use this code to get the MetaCardis data:
metacardis <-
  filter(sampleMetadata, study_name == 'MetaCardis_2020_a') |>
  filter(body_site == "stool") |>
  select(where(~ !all(is.na(.x)))) |>
  returnSamples("relative_abundance", rownames = "short", counts = TRUE)

I got this error message:
Error: dataType of list elements is different

Here's my sessioninfo, which showed the curatedMetagenomicData is the latest version.
Please help me with this issue thank you!
R version 4.1.2 (2021-11-01)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS 13.1

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats4    stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
 [1] DT_0.27                        dplyr_1.1.1                    curatedMetagenomicData_3.7.2
 [4] TreeSummarizedExperiment_2.2.0 Biostrings_2.62.0              XVector_0.34.0
 [7] SingleCellExperiment_1.16.0    SummarizedExperiment_1.24.0    Biobase_2.54.0
[10] GenomicRanges_1.46.1           GenomeInfoDb_1.30.1            IRanges_2.28.0
[13] S4Vectors_0.32.4               BiocGenerics_0.40.0            MatrixGenerics_1.6.0
[16] matrixStats_0.63.0

loaded via a namespace (and not attached):
  [1] ggbeeswarm_0.7.1              colorspace_2.1-0              ellipsis_0.3.2
  [4] scuttle_1.4.0                 BiocNeighbors_1.12.0          rstudioapi_0.14
  [7] MultiAssayExperiment_1.20.0   ggrepel_0.9.3                 bit64_4.0.5
 [10] interactiveDisplayBase_1.32.0 AnnotationDbi_1.56.2          fansi_1.0.4
 [13] decontam_1.14.0               splines_4.1.2                 sparseMatrixStats_1.6.0
 [16] cachem_1.0.7                  scater_1.22.0                 jsonlite_1.8.4
 [19] cluster_2.1.4                 dbplyr_2.3.2                  png_0.1-8
 [22] shiny_1.7.4                   BiocManager_1.30.20           compiler_4.1.2
 [25] httr_1.4.5                    Matrix_1.5-1                  fastmap_1.1.1
 [28] lazyeval_0.2.2                cli_3.6.1                     later_1.3.0
 [31] BiocSingular_1.10.0           htmltools_0.5.5               tools_4.1.2
 [34] rsvd_1.0.5                    gtable_0.3.3                  glue_1.6.2
 [37] GenomeInfoDbData_1.2.7        reshape2_1.4.4                rappdirs_0.3.3
 [40] Rcpp_1.0.10                   vctrs_0.6.1                   ape_5.7-1
 [43] nlme_3.1-162                  ExperimentHub_2.2.1           DECIPHER_2.22.0
 [46] DelayedMatrixStats_1.16.0     stringr_1.5.0                 beachmat_2.10.0
 [49] mime_0.12                     lifecycle_1.0.3               irlba_<IP_ADDRESS>
 [52] AnnotationHub_3.2.2           zlibbioc_1.40.0               MASS_7.3-58.3
 [55] scales_1.2.1                  promises_<IP_ADDRESS>              parallel_4.1.2
 [58] yaml_2.3.7                    curl_5.0.0                    memoise_2.0.1
 [61] gridExtra_2.3                 ggplot2_3.4.1                 yulab.utils_0.0.6
 [64] stringi_1.7.12                RSQLite_2.3.0                 BiocVersion_3.14.0
 [67] ScaledMatrix_1.2.0            permute_0.9-7                 tidytree_0.4.2
 [70] filelock_1.0.2                BiocParallel_1.28.3           rlang_1.1.0
 [73] pkgconfig_2.0.3               bitops_1.0-7                  lattice_0.20-45
 [76] purrr_1.0.1                   htmlwidgets_1.6.2             treeio_1.18.1
 [79] bit_4.0.5                     tidyselect_1.2.0              plyr_1.8.8
 [82] magrittr_2.0.3                R6_2.5.1                      generics_0.1.3
 [85] DelayedArray_0.20.0           DBI_1.1.3                     withr_2.5.0
 [88] mgcv_1.8-42                   pillar_1.9.0                  KEGGREST_1.34.0
 [91] RCurl_1.98-1.10               tibble_3.2.1                  crayon_1.5.2
 [94] utf8_1.2.3                    mia_1.2.7                     BiocFileCache_2.2.1
 [97] viridis_0.6.2                 grid_4.1.2                    vegan_2.6-4
[100] blob_1.2.4                    digest_0.6.31                 xtable_1.8-4
[103] tidyr_1.3.0                   httpuv_1.6.9                  munsell_0.5.0
[106] DirichletMultinomial_1.36.0   beeswarm_0.4.0                viridisLite_0.4.1
[109] vipor_0.4.5

Hi @lynngao, I am confirming you have found a bug. The issue you are facing might impact studies beyond just MetaCardis_2020_a, so I will open another issue with a broader scope and close this one shortly. To resolve your issue in the short term, I would recommend removing the counts = TRUE argument as follow.
library(curatedMetagenomicData)
library(dplyr)

metacardis <-
    filter(sampleMetadata, study_name == 'MetaCardis_2020_a') |>
    filter(body_site == "stool") |>
    select(where(~ !all(is.na(.x)))) |>
    returnSamples("relative_abundance", rownames = "short")

This will allow you to work with the data until I can understand the issue better and create a patch.


Add --only flag to bundles activate

@paetling cc @tleach. QoL improvement, makes it easier to deactivate bundles en masse if you only care about running a specific bundle right now.

:ghost: :cow:


Update Composer dependencies (2022-02-24-00-12)

Visual regression test passed!
View the visual regression test report


Request for a way to make citekeys out of the Date Added field using a specific date and time format

I'd like to generate citekeys using the Date Added field from Zotero items using a specific date and time format.
The desired behavior for this feature should be that the text from the Date Added field can be converted into a different date and time format which would be used for citekeys.
I think that this could be a filter similar to the date-formatting filter but for the time too, or a time-formatting filter that could be combined in some way with the existing date-formatting filter.
An example of the behavior is as follows: if the Date Added field of an item is 5/19/2021, 1:08:47 PM, then a possible resulting citekey could be<PHONE_NUMBER>0847, which translates to 2021(year)05(month)19(day)13(hour)08(minutes)47(seconds).

You don't want this anymore? Otherwise I'll need a support log as described in point 1 by the label gun bot.

I wanted to make a feature request, not report a bug. I wanted to close this because I didn't know how to proceed after the bot came up and added the label. I also made a duplicate of the issue which got the same label. Sorry! Let me know what I should do.

Here it is: 697JQBAD-refs-euc. Hope it's not too late. (Dismiss the backticks).

No problem

Is there anything else that I should do?

Nope, that's all, thanks

Alrighty.

You can get the key you want using the pattern [DateAdded:format-date=%Y%m%d%H%M%S]

Thanks a ton! I'll use this right away :D

Please let me know if it works, and I'll merge it into the next release.

Something's not right with the citekeys generated. The citekey of my latest item is<PHONE_NUMBER>5852, while the date of addition from the Date Added field is 5/22/2021, 4:58:52 PM. The hour in the citekey differs from that of the Date Added field by 3 hours.
The pattern for the citation key format is the one that you sent.
Do you have any idea what's going on?

The date added is in UTC. If you open your library in a different country, the "date added" shown in Zotero will change according to the local timezone dynamically, but the time stored is UTC.

How can I open my library in a country that uses UTC? I couldn't find any information about this in the Zotero documentation, though if there is this, I missed it.
Otherwise, the filter works fine.

You'd do that by eg setting your OS to region Iceland. I don't think you'd want to do that. If you want keys to have the local time, I'd have to add a filter to add or subtract the requisite number of hours. Timezone handling however is not trivial so unless there's a library that does it for me, that filter would just add a configurable but fixed number of hours.

Otherwise, the filter works fine.

The filter hasn't changed. The function for DateAdded was added.

Note to self: https://www.w3schools.com/jsref/jsref_gettimezoneoffset.asp might help.

does this do what you want?

The link returns "Page not found".

Yes, that's perfect!

Yes, that's perfect!


As a developer, I can see the App Icon after generating the project

Why
Currently, we can not upload a build to TestFlight after generating the project because of App Icon. I think it is better to have an App Icon after generating the project.
Acceptance Criteria

Setup the app icon while generating a new project
Use our logo for the app icon: https://assets.nimblehq.co/logo/dark/logo-dark-icon-1024.png

Design
Nimble Logo: https://assets.nimblehq.co/logo/dark/logo-dark-icon-1024.png

Currently, the TestFlight test workflow is using this image https://github.com/nimblehq/ios-templates/blob/main/fastlane/Tests/appicon.png we can remove this image and use dark icon one provided by Su in the TestFlight test, to reduce the number of files in the template and not confuse the users.


(Map Editor) (Bloodborne) Cannot open any model

When I try to open a mappiece or Char in a Bloodborne project with the latest source I get a crash

Objects and Parts CAN be opened though.

So it only doesn't work for Mappieces and Chars.

Hmm, sometimes I CAN open chr models though. So it's weird.

Fixed for the next release. The BB structure wasn't being handled correctly, so it was trying to load a direct FLVER as a BND.

Awesome, thanks for all your fast commits!


feat: add kurtosis cloud load to CLI

Description:
In this PR we are adding the kurtosis cloud load <instance_id> option that enables the user to load the config from the cloud and automatically switch the context.
To use the command the user must export an API key to the env var: KURTOSIS_CLOUD_API_KEY
Is this change user facing?
YES
References (if applicable):

Note, the GitGuardian complaint about an API key being found can be ignored. It was a test key that's burned and no api keys are in the source code


ERROR: Service 'vote' failed to build: image operating system "windows" cannot be used on this platform

Description
Hi team,
I am pretty new to docker and devOps in general and so was trying to follow the docker dashboard tutorial for windows and I ran into the following error whe trying to setup the example voting app:
I receive the following error:
ERROR: Service 'vote' failed to build: image operating system "windows" cannot be used on this platform
when i try and run the first command from the instructions for windows:
docker-compose -f docker-compose-windows.yml build
I have git cloned the repo and I am trying to run the command in said repo.
Steps to reproduce the issue, if relevant:

git clone git@github.com:dockersamples/example-voting-app.git
cd example-voting-app
docker-compose -f docker-compose-windows.yml build

Describe the results you received:
ERROR: Service 'vote' failed to build: image operating system "windows" cannot be used on this platform
Describe the results you expected:
Succesfull command line execution so that the new commands:
docker-compose -f docker-compose-windows.yml up -d
could be run.
If you need anymore information, please let me know. As I mentioned I am new to all this (currently studying) so might be missing something obvious!
Thanks in advance,
Harry
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
Client: Docker Engine - Community
 Cloud integration: 1.0.7
 Version:           20.10.2
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        2291f61
 Built:             Mon Dec 28 16:14:16 2020
 OS/Arch:           windows/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.2
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       8891c58
  Built:            Mon Dec 28 16:15:28 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.3
  GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
 runc:
  Version:          1.0.0-rc92
  GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Output of docker info:
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.5.1-docker)
  scan: Docker Scan (Docker Inc., v0.5.0)

Server:
 Containers: 3
  Running: 2
  Paused: 0
  Stopped: 1
 Images: 3
 Server Version: 20.10.2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 269548fa27e0089a8b8278fc4fc781d7f65a939b
 runc version: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.128-microsoft-standard
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 6.074GiB
 Name: docker-desktop
 ID: Q4RB:5J7I:HJSM:PVVK:K522:JNX6:3DJ7:UJDD:REQU:LFHH:YXKM:DFUE
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false

WARNING: No blkio weight support
WARNING: No blkio weight_device support
WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

Additional environment details (AWS, Docker for Mac, Docker for Windows, VirtualBox, physical, etc.):

Hello @hs14428
Above issue has been resolved?
Server: Docker Engine - Community
Engine:
OS/Arch:          linux/amd64
You can use docker-compose up under example-voting-app .
No need to use docker-compose-windows.yml in your case.

We're sorry for the late response. Linux images have been refreshed, cleaned up, and are now multi-platform. If you're still having issues with the latest images, feel free to reopen this ticket.


Should mention limitation wrt federated authentication with ADFS

[Enter feedback here]
Page should mention limitations as described in https://github.com/MicrosoftDocs/azure-docs/issues/64773.

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

ID: 9ff64a31-7310-b2e8-28ba-690790b9b00d
Version Independent ID: bd83c309-bd2b-6211-8d86-6d9713822c2b
Content: Compare Active Directory-based services in Azure
Content Source: articles/active-directory-domain-services/compare-identity-solutions.md
Service: active-directory
Sub-service: domain-services
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@softwarecraft
Thanks for your feedback! We will investigate and update as appropriate.

PR merged


Use cache for unstructured object in the default client for ansible operator

Bug Report
What did you do?
Attempting to use the cache for unstructured in the default client
What did you expect to see?
No request to the kubernetes API for the call.
What did you see instead? Under which circumstances?
The request was made to the kubernetes api
Possible Solution
This needs a release of controller runtime that contains: https://github.com/kubernetes-sigs/controller-runtime/pull/227
Then the ansible operator should define the NewClient function for the manager.

/remove-lifecyle stale


Too slow first loading

:warning: We have copied additional data to your clipboard. Make sure to paste here. :warning:
:warning: Make sure to attach these files from your home-directory: :warning:
-prof-4d5lnYNr.main.cpuprofile.txt

/needsPerfInfo


ScrollArea is not properly clipping items near the bottom edge

The repro steps are in the gif bellow:

I'm trying to figure out how to fix it and propose a PR, but if anyone knows where we need to apply a patch let us know.
This is a rendering from egui integrated in my game engine, but the same can be reproduced with the latest main.

I've done a lot of testing with the ScrollArea and haven't seen that behavior, except when debug_ignore_clip_rects is enabled.
You can check and mutate the value with something like this:
let mut tessellation_options = ctx.memory().options.tessellation_options;
dbg!(tessellation_options);
tessellation_options.debug_ignore_clip_rects = false;
ctx.memory().options.tessellation_options = tessellation_options;

You can also enable debug_paint_clip_rects the same way, or even use ctx.settings_ui() to make these kinds of changes at runtime like the demo app does.

I forgot to do a crucial test case, to get the egui code I have in my engine and plug it into egui_demo_app.
I did that and indeed the clipping problem goes away. When I said is there with the latest main I actually meant that I plugged egui as a dependency to the cloned repo from my disk that was at the latest commit on main.
Now I'm investigating your suggestion. Thank you!

I'm closing this issue.
Using the settings window to debug the clip rectangles I concluded that it is related to the fact that the tessellator is doing just a coarse test. I need to use the clip rect of the ClippedMesh to do the true clipping when I render.


dfu-util -a 0 stays stuck at 0% on second launch

First launch:
(tinyvision-3.11) lap1$ dfu-util -a 0 -D hardware.bin
dfu-util 0.11

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Warning: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release
Opening DFU capable USB device...
Device ID 1209:b1c0
Run-Time device DFU version 0101
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 0101
Device returned transfer size 256
Copying data from PC to DFU device
Download        [=========================] 100%       104090 bytes
Download done.
DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
DFU state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present
Resetting USB to switch back to runtime mode
Done!
(tinyvision-3.11) lap1$

Second launch right after
(tinyvision-3.11) lap1$ dfu-util -a 0 -D hardware.bin
dfu-util 0.11

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Warning: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release
Opening DFU capable USB device...
Device ID 1209:b1c0
Run-Time device DFU version 0101
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 0101
Device returned transfer size 256
Copying data from PC to DFU device
Download        [                         ]   0%            0 bytesdfu-util: Error during download get_status (LIBUSB_ERROR_TIMEOUT)
(tinyvision-3.11) lap1$

Fixed in v1.5.0


Jwks doesn't have key to match kid or alg from Jwt

Description:

When OIDC provider rotates the keys, Envoy fails to refetch the keys and returns the following error:

Jwks doesn't have key to match kid or alg from Jwt

Repro steps:

Create a security policy with JWKS using a provider that rotates keys (for example, Zitadel). Wait for the key to expire and try the route associated with the security policy.

Environment:

Envoy Gateway 1.1.0
Envoy 1.31.0

Notes

The OpenID Connect spec specifies that the verifier should try to refetch the keys if it encounters an unknown key, see: https://openid.net/specs/openid-connect-core-1_0.html#RotateSigKeys

cc @zhaohuabing @denniskniep


Add mysql quote

Ithink it  very common  to quote mysql table, column names.
The only problem is which sub-project this should be placed in.

@jilen quill-core is fine, just rename it to something generic like BacktickEscape.

Current coverage is 97.19%

Merging #126 into master will decrease coverage by -0.11% as of 2ce0eb8

Powered by Codecov. Updated on successful CI builds.

@jilen also, please update the readme: https://github.com/getquill/quill#naming-strategy

@fwbrasil This  only escape table/column name, should I name it BackticketMetaEscape ?

@jilen hmm, I think it'll be too abstract. Let's keep it as MysqlEscape then. :)
Please let me know when the docs are updated so I can merge the PR.

@fwbrasil  I've updated the doc.


Remove coverage step for all pipelines

For #8615

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[ ] Has a news entry file (remember to thank yourself!)
[ ] Appropriate comments and documentation strings in the code
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated
[ ] Test plan is updated as appropriate
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed)
[ ] The wiki is updated with any design decisions/details.

Deleted merge_upload_coverage but not generate_upload_coverage because the latter is also used in test phases.

Codecov Report

Merging #8683 into master will decrease coverage by 0.37%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #8683      +/-   ##
=========================================
- Coverage   59.17%   58.8%   -0.38%
=========================================
  Files         521     521
  Lines       23981   23981
  Branches     3874    3869       -5
=========================================
- Hits        14190   14101      -89
- Misses       8874    8955      +81
- Partials      917     925       +8

Impacted Files
Coverage Δ

src/client/testing/serviceRegistry.ts
48.64% <0%> (-46.85%)
:arrow_down:

src/client/testing/codeLenses/main.ts
44.44% <0%> (-33.34%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
66.66% <0%> (-33.34%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
75% <0%> (-25%)
:arrow_down:

...ience/jupyter/jupyterDebuggerRemoteNotSupported.ts
75% <0%> (-25%)
:arrow_down:

src/client/common/utils/platform.ts
64.7% <0%> (-23.53%)
:arrow_down:

...cience/jupyter/jupyterDebuggerNotInstalledError.ts
60% <0%> (-20%)
:arrow_down:

src/client/common/utils/icons.ts
83.33% <0%> (-16.67%)
:arrow_down:

src/client/api.ts
78.57% <0%> (-14.29%)
:arrow_down:

src/client/datascience/cellFactory.ts
57.69% <0%> (-12.83%)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

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


Can't compile the sources

Linux platform:
At first I tried to compile on Ubuntu 12.04,  cmake 3.10 says -- Could NOT find Boost. I tried to install boost 1.46 and boost 1.48 from the ubuntu packages. Could you please add to the cmake output minimal required version of the Boost?
Then I ordered 1GB RAM Ubuntu 14.04 VPS and tried to compile it again. cabal install update-install drops with out of memory exception. Please add minimum RAM requirements to the documentation.
Also, what is a required mono version for building cs.sln? Will it be built with mono 3.10?
Windows platform:
I followed the steps in documentation (install cmake, haskell, update cabal, open cs.sln in Visual Studio 2013) and run the build. The build has failed on the step:
Generating C:/Projects/bond/compiler/cabal.sandbox.config
Could not find target path

The path C:\Projects\bond\compiler exists on the machine.

The minimal Boost version required is 1.54. I will update the cmake files to provide better diagnostics.
I haven't tested C# version on Mono. If you encounter issues a pull request would be welcome.
Regarding the build problem on Windows, is there more information in the build logs?

MS VS logs:
1>------ Build started: Project: Compiler, Configuration: Release Win32 ------
1>  Building Bond Compiler...
1>  -- Configuring done
1>  -- Generating done
1>  -- Build files have been written to: C:/Projects/bond/cs/Release
1>  Microsoft (R) Build Engine версии 12.0.31101.0
1>  [Microsoft .NET Framework версии 4.0.30319.18444]
1>  (C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.
1>
1>  Сборка начата 11.01.2015 13:45:18.
1>  Проект "C:\Projects\bond\cs\Release\compiler.vcxproj" в узле 1 (целевые объекты по умолчанию).
1>  Проект "C:\Projects\bond\cs\Release\compiler.vcxproj" (1) выполняет сборку "C:\Projects\bond\cs\Release\ZERO_CHECK.vcxproj" (2) в узле 1 (целевые объекты по умолчанию).
1>  InitializeBuildStatus:
1>    Создание "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild", так как было задано "AlwaysCreate".
1>  CustomBuild:
1>    Для всех выходных данных обновления не требуется.
1>  FinalizeBuildStatus:
1>    Файл "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" удаляется.
1>    Обращение к "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
1>  Сборка проекта "C:\Projects\bond\cs\Release\ZERO_CHECK.vcxproj" завершена (целевые объекты по умолчанию).
1>  InitializeBuildStatus:
1>    Обращение к "Win32\Debug\compiler\compiler.tlog\unsuccessfulbuild".
1>  CustomBuild:
1>    Building Custom Rule C:/Projects/bond/compiler/CMakeLists.txt
1>    CMake does not need to re-run because C:\Projects\bond\cs\Release\CMakeFiles\generate.stamp is up-to-date.
1>    Generating C:/Projects/bond/compiler/cabal.sandbox.config
1>    Системе не удается найти указанный путь.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" завершилась с кодом 3. [C:\Projects\bond\cs\Release\compiler.vcxproj]
1>  Сборка проекта "C:\Projects\bond\cs\Release\compiler.vcxproj" завершена (целевые объекты по умолчанию) с ошибкой.
1>
1>  Ошибка сборки.
1>
1>  "C:\Projects\bond\cs\Release\compiler.vcxproj" (целевой объект по умолчанию) (1) ->
1>  (Целевой объект CustomBuild) ->
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" завершилась с кодом 3. [C:\Projects\bond\cs\Release\compiler.vcxproj]
1>
1>      Предупреждений: 0
1>      Ошибок: 1
1>
1>  Затраченное время: 00:00:00.63
2>------ Build started: Project: IO, Configuration: Release Any CPU ------
3>------ Build started: Project: cloning, Configuration: Release Any CPU ------
3>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Attributes". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
3>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Bond". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
3>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Bond.IO". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
3>  ""C:\Projects\bond\cs\build..\bin\gbc.exe"" не является внутренней или внешней
3>  командой, исполняемой программой или пакетным файлом.
3>C:\Projects\bond\cs\build\bond.cs.targets(81,5): error MSB3073: The command ""C:\Projects\bond\cs\build..\bin\gbc.exe" c# --import-dir="C:\Projects\bond\cs\build..\inc"  --namespace=bond=Bond --output-dir="obj\Release\." @"obj\Release\bondfiles.tmp"" exited with code 9009.
2>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Bond". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
2>C:\Projects\bond\cs\src\io\unsafe\InputBuffer.cs(12,32,12,36): error CS0246: The type or namespace name 'Safe' could not be found (are you missing a using directive or an assembly reference?)
2>C:\Projects\bond\cs\src\io\unsafe\InputBuffer.cs(12,50,12,73): error CS0308: The non-generic type 'System.ICloneable' cannot be used with type arguments
2>C:\Projects\bond\cs\src\io\unsafe\InputStream.cs(12,45,12,68): error CS0308: The non-generic type 'System.ICloneable' cannot be used with type arguments
2>C:\Projects\bond\cs\src\io\unsafe\OutputBuffer.cs(9,33,9,37): error CS0246: The type or namespace name 'Safe' could not be found (are you missing a using directive or an assembly reference?)

Thanks. Could you check one more thing? Run:
cabal sandbox init

in C:/Projects/bond/compiler
Does that succeed?
Could you also attach the generated file C:\Projects\bond\cs\Release\compiler.vcxproj?

C:\Projects\bond\compiler>cabal sandbox init
Writing a default package environment file to
C:\Projects\bond\compiler\cabal.sandbox.config
Warning: C:\Projects\bond\compiler\cabal.config: Unrecognized field
require-sandbox on line 1
Creating a new sandbox at C:\Projects\bond\compiler.cabal-sandbox
compiler.vcxproj content

CMake Rules

CMake Rules

CMake Rules

CMake Rules

{3A6A4052-8DAD-4F71-9340-2122F94F52E6}

This warning:
Warning: C:\Projects\bond\compiler\cabal.config: Unrecognized field require-sandbox on line 1

Indicates that your version of cabal is not required 1.2x. You can check running cabal --version.
Could you run cabal install cabal-install? From the output you should see if the update succeeded or not. If it fails, please send the error you are getting.

You're right, the version is 1.18. That's strange, I've ran cabal install cabal-install before. I ran it again and version still not updated. I'll try to figure out, what is going on. Also, in cs solution cmake configuration should check for cabal version and output an error if it's not satisfied to required version. This will help alot to diagnose environment misconfiguration.
C:\Projects\bond\cs\Release\CMakeFiles>cabal install cabal-install
Resolving dependencies...
Configuring cabal-install-<IP_ADDRESS>...
Building cabal-install-<IP_ADDRESS>...
Installed cabal-install-<IP_ADDRESS>
C:\Projects\bond\cs\Release\CMakeFiles>cabal --version
cabal-install version <IP_ADDRESS>
using version <IP_ADDRESS> of the Cabal library

It might be that the new cabal is not in PATH. See if this gives you the right version:
%APPDATA%\cabal\bin\cabal --version

CMake should still find it in %APPDATA% and should output error if it doesn't. Run the C++ building instruction from command line and you should see error from CMake if it doesn't find cabal. If it does find it then try to delete cs\Release directory and run cs.sln build again.

I will investigate if there is problem with CMake diagnostics when we run it from cs.sln.

Hi sapek,
Could you please release a binary build for the tools?
I also suffered some strange issues when tried to build the solution, but I just want to have a try to use it.
Thank you!

We will release a NuGet package.
Could you provide more information about the build issues? Build logs? Thanks.

So, actually, I'm not familiar with the Haskell build process, so just have a try with your guide.
C:\g\Downloads\bond-master\cs>cabal --version
cabal-install version <IP_ADDRESS>
using version <IP_ADDRESS> of the Cabal library
C:\g\Downloads\bond-master\cs>cabal update
Downloading the latest package list from hackage.haskell.org
cabal: failed
C:\g\Downloads\bond-master\cs>cabal install cabal-install
Warning: The package list for 'hackage.haskell.org' does not exist. Run 'cabal
update' to download it.
cabal: There is no package named 'cabal-install'.
You may need to run 'cabal update' to get the latest list of available
packages.
C:\g\Downloads\bond-master\cs>
The Visual Studio 2013 told me some errors:
Error	2	error MSB6006: "cmd.exe" exited with code 1. [C:\g\Downloads\bond-master\cs\Debug\compiler.vcxproj]	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets	170	5	Compiler
Error	7	The command ""C:\g\Downloads\bond-master\cs\build..\bin\gbc.exe" c# --import-dir="C:\g\Downloads\bond-master\cs\build..\inc"  --namespace=bond=Bond --output-dir="obj\Debug\." --using="SynchronizedList=SynchronizedCollection<{0}>" "schema.bond"" exited with code 9009.	container_alias

@gaochundong cabal update command has failed. You can check why it happened by running cabal update --verbose=3 for example

@sapek I installed cabal globally, using cabal intstall cabal-install --global, add all files to the path, deleted Release directory, but still have the same issue. cabal --version from command line shows 1.22.
I suspect, that the non-ascii symbols in the user name can affect the build. How can I see, what the command is failed to test it through command line?
Cmake in build makes the appropriate cheks for the version, As far I remember last time (before setting cabal 1.22 globally) cmake has done it too and has found cabal 1.22
1>------ Build started: Project: Compiler, Configuration: Release Win32 ------
1>  Building Bond Compiler...
1>  -- Building for: Visual Studio 12 2013
1>  -- The C compiler identification is MSVC 18.0.31101.0
1>  -- The CXX compiler identification is MSVC 18.0.31101.0
1>  -- Check for working C compiler using: Visual Studio 12 2013
1>  -- Check for working C compiler using: Visual Studio 12 2013 -- works
1>  -- Detecting C compiler ABI info
1>  -- Detecting C compiler ABI info - done
1>  -- Check for working CXX compiler using: Visual Studio 12 2013
1>  -- Check for working CXX compiler using: Visual Studio 12 2013 -- works
1>  -- Detecting CXX compiler ABI info
1>  -- Detecting CXX compiler ABI info - done
1>  -- Found Cabal: C:/Users/Єё/AppData/Roaming/cabal/bin/cabal.exe (found suitable version "<IP_ADDRESS>", minimum required is "<IP_ADDRESS>")
1>  -- Found GHC: C:/Program Files/Haskell Platform/2<IP_ADDRESS>/bin/ghc.exe (found suitable version "7.8.3", minimum required is "<IP_ADDRESS>")
1>  -- Configuring done
1>  -- Generating done
1>  -- Build files have been written to: C:/Projects/bond/cs/Release
1>  Microsoft (R) Build Engine версии 12.0.31101.0
1>  [Microsoft .NET Framework версии 4.0.30319.18444]
1>  (C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.
1>
1>  Сборка начата 12.01.2015 11:27:52.
1>  Проект "C:\Projects\bond\cs\Release\compiler.vcxproj" в узле 1 (целевые объекты по умолчанию).
1>  Проект "C:\Projects\bond\cs\Release\compiler.vcxproj" (1) выполняет сборку "C:\Projects\bond\cs\Release\ZERO_CHECK.vcxproj" (2) в узле 1 (целевые объекты по умолчанию).
1>  PrepareForBuild:
1>    Создание каталога "Win32\Debug\ZERO_CHECK".
1>    Создание каталога "C:\Projects\bond\cs\Release\Debug".
1>    Создание каталога "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog".
1>  InitializeBuildStatus:
1>    Создание "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild", так как было задано "AlwaysCreate".
1>  CustomBuild:
1>    Checking Build System
1>    CMake does not need to re-run because C:/Projects/bond/cs/Release/CMakeFiles/generate.stamp is up-to-date.
1>  FinalizeBuildStatus:
1>    Файл "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" удаляется.
1>    Обращение к "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
1>  Сборка проекта "C:\Projects\bond\cs\Release\ZERO_CHECK.vcxproj" завершена (целевые объекты по умолчанию).
1>  PrepareForBuild:
1>    Создание каталога "Win32\Debug\compiler".
1>    Создание каталога "Win32\Debug\compiler\compiler.tlog".
1>  InitializeBuildStatus:
1>    Создание "Win32\Debug\compiler\compiler.tlog\unsuccessfulbuild", так как было задано "AlwaysCreate".
1>  ComputeCustomBuildOutput:
1>    Создание каталога "C:\Projects\bond\cs\Release\build\gbc".
1>  CustomBuild:
1>    Building Custom Rule C:/Projects/bond/compiler/CMakeLists.txt
1>    CMake does not need to re-run because C:\Projects\bond\cs\Release\CMakeFiles\generate.stamp is up-to-date.
1>    Generating C:/Projects/bond/compiler/cabal.sandbox.config
1>    Системе не удается найти указанный путь.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" завершилась с кодом 3. [C:\Projects\bond\cs\Release\compiler.vcxproj]
1>  Сборка проекта "C:\Projects\bond\cs\Release\compiler.vcxproj" завершена (целевые объекты по умолчанию) с ошибкой.
1>
1>  Ошибка сборки.
1>
1>  "C:\Projects\bond\cs\Release\compiler.vcxproj" (целевой объект по умолчанию) (1) ->
1>  (Целевой объект CustomBuild) ->
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" завершилась с кодом 3. [C:\Projects\bond\cs\Release\compiler.vcxproj]
1>
1>      Предупреждений: 0
1>      Ошибок: 1
1>
1>  Затраченное время: 00:00:00.94

The command that fails is cabal sandbox init. I bet you are right that it is about non-ascii chars in path. It might be related to #5. I will figure it out tomorrow. Thanks a lot for helping to track this down.

This should be resolved by 3d5905a but I will wait with closing the issue until you confirm. Thanks again for help.

I confirm the issue with cabal is resolved, I was able to compile gbc.exe. But now I've got the issues with compilng csharp projects, only Bond.Attributes.dll has compiled successfuly, other assemblies fail with the errors
1>  Сборка успешно завершена.
1>
1>  "C:\Projects\bond\cs\Debug\compiler.vcxproj" (целевой объект по умолчанию) (1) ->
1>  (Целевой объект CustomBuild) ->
1>ghc.exe : warning : _wchmod from msvcrt is linked instead of __imp__wchmod [C:\Projects\bond\cs\Debug\compiler.vcxproj]
1>
1>      Предупреждений: 1
1>      Ошибок: 0
1>
1>  Затраченное время: 00:01:23.03
1>  Скопировано файлов:         1.
2>------ Build started: Project: IO, Configuration: Debug Any CPU ------
3>------ Build started: Project: cloning, Configuration: Debug Any CPU ------
2>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Bond". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
2>C:\Projects\bond\cs\src\io\unsafe\InputBuffer.cs(12,32,12,36): error CS0246: The type or namespace name 'Safe' could not be found (are you missing a using directive or an assembly reference?)
2>C:\Projects\bond\cs\src\io\unsafe\InputBuffer.cs(12,50,12,73): error CS0308: The non-generic type 'System.ICloneable' cannot be used with type arguments
2>C:\Projects\bond\cs\src\io\unsafe\InputStream.cs(12,45,12,68): error CS0308: The non-generic type 'System.ICloneable' cannot be used with type arguments
2>C:\Projects\bond\cs\src\io\unsafe\OutputBuffer.cs(9,33,9,37): error CS0246: The type or namespace name 'Safe' could not be found (are you missing a using directive or an assembly reference?)

Looks like there was an error building project Bond (other projects depend on it). Could find and post what failed there?

I'm trying to figure it out. At the first when I open cs.sln in VS 2013 it asks me to convert some projects to new format - is this expecting behaviour? Then it complains about the absence of the Profile 259 on the machine for projects Core, Attributes, Json and asks to switch the projects to .NET 4.5 profile. If I change profile it does not build, says that IO project is targeted to 4.0 framework, while Bond assembly is targeted .NET 4.5. If I don't change, the bond.dll is not compiled. Currently I'm trying to repair VS 2013 installation and reinstall PCL libraries. I think this issue with PCL libraries is raised because I've got Xamarin Studio installed before VS 2013. I'll let you know about results when repair will be completed.

Functional changes required
Visual Studio will automatically make functional changes to the following projects in order to open them. The project behavior will change as a result. You will be able to open these projects in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1.
- Attributes, "C:\Projects\bond\cs\src\attributes\Attributes.csproj"
- Bond, "C:\Projects\bond\cs\src\core\Bond.csproj"
- JSON, "C:\Projects\bond\cs\src\json\JSON.csproj"
Non-functional changes required
Visual Studio will automatically make non-functional changes to the following projects in order to enable them to open in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1. Project behavior will not be impacted.
- cs, "C:\Projects\bond\cs\cs.sln"
No changes required
These projects can be opened in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- IO, "C:\Projects\bond\cs\src\io\IO.csproj"
- Examples, "Examples"
- Tests, "Tests"
- Compiler, "C:\Projects\bond\cs\Compiler.vcxproj"
- Compat, "C:\Projects\bond\cs\test\compat\Compat.csproj"
- Core, "C:\Projects\bond\cs\test\core\Core.csproj"
- Expressions, "C:\Projects\bond\cs\test\expressions\Expressions.csproj"
- Internal, "C:\Projects\bond\cs\test\internal\Internal.csproj"
- blob, "C:\Projects\bond\examples\cs\core\blob\blob.csproj"
- cloning, "C:\Projects\bond\examples\cs\core\cloning\cloning.csproj"
- container_alias, "C:\Projects\bond\examples\cs\core\container_alias\container_alias.csproj"
- date_time, "C:\Projects\bond\examples\cs\core\date_time\date_time.csproj"
- decimal, "C:\Projects\bond\examples\cs\core\decimal\decimal.csproj"
- generics, "C:\Projects\bond\examples\cs\core\generics\generics.csproj"
- guid, "C:\Projects\bond\examples\cs\core\guid\guid.csproj"
- marshaling, "C:\Projects\bond\examples\cs\core\marshaling\marshaling.csproj"
- polymorphic_container, "C:\Projects\bond\examples\cs\core\polymorphic_container\polymorphic_container.csproj"
- protocol_transcoding, "C:\Projects\bond\examples\cs\core\protocol_transcoding\protocol_transcoding.csproj"
- runtime_schema, "C:\Projects\bond\examples\cs\core\runtime_schema\runtime_schema.csproj"
- serialization, "C:\Projects\bond\examples\cs\core\serialization\serialization.csproj"
- serializer, "C:\Projects\bond\examples\cs\core\serializer\serializer.csproj"
- simple_json, "C:\Projects\bond\examples\cs\core\simple_json\simple_json.csproj"
- simple_xml, "C:\Projects\bond\examples\cs\core\simple_xml\simple_xml.csproj"
- stream, "C:\Projects\bond\examples\cs\core\stream\stream.csproj"
- untagged_protocols, "C:\Projects\bond\examples\cs\core\untagged_protocols\untagged_protocols.csproj"

I checked, that 259 profile is installed on my machine, the files C:\Program Files(x86)\Referenced Aseemblies\Microsoft\Framework.NETPortable\v4.5\Profile\Profile259 exist (Profile78 too), Visual Studio 2013 (Update 4) can successfully create new portable library project targeted Profile259.
But when I open cs.sln it does not allow to load Attributes, Bond and JSON projects complaining that the profile259 for .NET 4.5 is not installed on the machine. I don't know why this happened for cs.sln project.

Bond builds against PCL profile 78 when targeting .Net 4.5 and against full framework when targeting .Net 4.0. I'm not sure how profile 259 comes into picture.
I will try to reproduce your environment here.

I installed Xamarin but couldn't repro.
Can you try to remove these lines? This isn't a solution but would tell us if this is related to setting portable profile.

I changed Profile78 string to Profile259 in Common.Internal.targets and Portable.Internal.props and now I can compile the whole solution. I have no idea why Profile78 does not work, it's installed on my system like Profile259.

Thanks a lot for the info. I will close the issue. I think support for Profile 259 is something we should look at anyways, it is required for WP 8.1 as I understand.


[Incompatible] Iris 1.19.2

You are force over writing a required rendering for Iris to work.
This error is, as far as I know, only happens in 1.19.2.
This is the same issue as the one from #13 except in 1.19.2

Also see: https://github.com/DaFuqs/Spectrum/issues/135

Iris appears to load fine and function normally in worlds with the latest commit of IC 1.19.2


Add email into user metadata.

Our case is using email to validate if the user has privilege to send a command.
So email is very important and convenient if we could have it in user metadata.

The failed message from ci is :
Using ice_nine 0.11.2
Gem::InstallError: rack requires Ruby version >= 2.2.2.
Looks like this repo is out of maintenance???


Script for disabling cookies (opt-in / opt-out)

Need a script or code snippet for disabling cookies (for opt-in and opt-out cases).
Thank you very much.

This is provided on the Cookie Consent website:
https://cookieconsent.insites.com/documentation/disabling-cookies/
My question regarding this is: Should I paste that code right into the snippet provided by Cookie Consent or elsewhere on my site?

I am also interested in this question.
Is your plugin provide disabling cookies on the site or I have to write my own code in callbacks?

You have to implement it by yourself. For opt-in, how should cookieconsent know, which scripts to load or cookies to allow?
For opt-out, I'm using the aproach to expire all cookies that are not crucial for the site to remain functional. You may have a look at the script of this fork for a first idea of how you can achive this.
But note, there is no perfect way to delete all all of the users cookies. From the js-cookie FAQ;

It's not possible to remove literally all cookies from the user's browser. Some of them might have been created with a separate domain or path attribute than the one the user is currently in or even created with the httpOnly attribute and therefore they might not be visible.

If you want to give it a try, maybe this solution from stackoverflow will help.

I also struggled with this, as I wanted an actual opt-in function. I finally worked around this hosting it on my own website and using Google Tag Manager. If you have your Cookies (like GA, Facebook etc.) set up in GTM, it is relatively easy to create an opt-in function.
In that case you can set new triggers such that when the event "cookieconsent_status" equals "allow" the cookies/tags you want are fired.
It is basically an adoption/combination of these sources: https://stuifbergen.com/2016/07/google-tag-manager-cookie-consent-dialog/ and https://www.analyticsmania.com/post/google-tag-manager-cookie-consent/.
Hope it might help out some people

@julianchristmas this doesn't seem to work?

@klhkm if you go to https://meetintelligo.com you will be able to see the script in action with working tracking codes :-)

@julianchristmas I can see it working correctly on that site but the above code doesn't send anything to the console log.

Thanks for the heads up @ultrono , you are ever so right.
I have updated the script, so it now uses the onStatusChange hook as well.
Furthermore, I nested all the tracking scripts in a function for a bit cleaner look and feel.
For reference please see this snippet:
<script>
function trackingScripts() {
				// Tracking codes
 }
window.addEventListener("load", function(){
window.cookieconsent.initialise({
  "palette": {
    "popup": {
      "background": "#efefef",
      "text": "#404040"
    },
    "button": {
      "background": "#8ec760",
      "text": "#ffffff"
    }
  },
  "type": "opt-in",
  "content": {
    "message": "Hjemmesiden bruger cookies for at forbedre din oplevelse, vurdere brugen af de enkelte elementer på siden og til at støtte markedsføringen af vores services. Er det i orden med dig?",
    "dismiss": "Fjern bjælke",
    "allow": "Ja, tillad cookies",
    "link": "Læs mere",
    "href": "https://meetintelligo.com/legal/privacypolicy"
  },
  onInitialise: function (status) {
		 var type = this.options.type;
		 var didConsent = this.hasConsented();
		 if (type == 'opt-in' && didConsent) {
			trackingScripts()

		  }
		  if (type == 'opt-out' && !didConsent) {
		    // disable cookies
		  }
	},

  onStatusChange: function(status, chosenBefore) {
	  	  var type = this.options.type;
		  var didConsent = this.hasConsented();
		  if (type == 'opt-in' && didConsent) {
		    trackingScripts()
		  }
		  if (type == 'opt-out' && !didConsent) {
		    // disable cookies
		  }
},
})
});
</script>

I've effectively set up opt-in using Google Tag Manager the same way @TheSteg94 described.

This is discussed further here


Update RepoUpdater.sh

Update hard reset

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


Hyperledger Besu block explorer unable to deploy sample contract

Hi, I am following current latest guide on Hyperledger Besu
https://besu.hyperledger.org/stable/private-networks/tutorials/quickstart#deploy-your-own-dapp
Able to bring up everything until contract deploying. Was facing this error when deploying

Already set the network in Metamask

Running on VM in AWS. Attached RPC url is the VM IP address.
Anyone have idea? Thanks

Hello @leeronkit
Can you make RPC calls directly to that endpoint? If so the endpoint & explorer are working fine and you need to raise this in Metamask as an issue.
Cheers

Hi @joshuafernandes
Yes I am able to make RPC directly to the endpoint and able to get responses

Hi @leeronkit , thanks for confirming. This needs to be opened as an issue for MM then, there is no reason Im aware of that would throw that error


Pod failover testing with node affinity

What type of PR is this?

What this PR does / why we need it:

If the use-node-affinity flag is set to true, the node affinity label will be applied to (podCount+1)/2 number of nodes.
The pods are created with the affinity rules, so that they are scheduled only on the labeled nodes.
For this test, the number of pods should be kept such that at least one of the nodes has number of pods >=2. This is desirable to simulate the real world scenario where a node goes down when multiple pods are running on it.
With these changes, we find the nodes that have more that 2 pods running, select a random node from that list of nodes, cordon off that node and then delete all the pods on that node.
We keep repeating step 4 for the entire duration of the test.

Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 42.925%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
182

Relevant Lines:
424

💛  - Coveralls


benchmark/performance overview?

I currently test the package using this benchmark guide benchmark-repo but it seems the render time of components I used from the package is much better than native itself.
Also the package increases the release apk by ~ 2MB in size if you have any idea to decrease that it would be appreciated.
I'm not sure about my benchmark test if I did it well or not by I hope you provide a one.
Thank you.

No performance test cases.😬
benchmark
This example is written with reference to benchmark-repo.


⚠ Bofrost.fr has degraded performance

In 8274a68, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 889 ms

Resolved: Bofrost.fr performance has improved in 70dfcb4 after 7 minutes.


automata: fix incorrect offsets reported by reverse inner optimization

Sadly it seems that my days of squashing optimization bugs are still before me. In this particular case, the reverse inner literal optimization (which is a new optimization introduced in regex 1.9) resulted in reporting incorrect match offsets in some cases. The offending case here is:
$ regex-cli find match meta --no-table -p '(?:(\d+)[:.])?(\d{1,2})[:.](\d{2})' -y '888:77:66'
0:1:9:888:77:66

The above reports a match at 1..9, but the correct match is 0..9. The problem here is that the reverse inner literal optimization is being applied, which splits the regex into three (conceptual) pieces:

(?:(\d+)[:.])?(\d{1,2})
[:.]
(\d{2})

The reverse inner optimization works by looking for occurrences of (2) first, then matching (1) in reverse to find the start position of the match and then searching for (3) in the forward direction to find the end of the match.
The problem in this particular case is that (2) matches at position 3 in the 888:77:66 haystack. Since the first section of numbers is optional, the reverse inner optimization believes a match exists at offset 1 by virtue of matching (1) in reverse. That is, the (\d{1,2}) matches at 1..3 while the (?:(\d+)[:.])? doesn't match at all. The reverse search here is correct in isolation, but it leads to an overall incorrect result by stopping the search early. The issue is that the true leftmost match requires (2) to match at 6..7, but since it matched at 3..4 first, it is considered first and leads to an incorrect overall match.
To fix this, we add another "trip wire" to the reverse inner optimization (of which there are already several) that tries to detect cases where it cannot prove that the match it found is actually the leftmost match. Namely, if it reports a match offset greater than the start of the search and otherwise could have kept searching, then we don't know whether we have the true leftmost match. In that case, we bail on the optimization and let a slower path take over.
This is yet another example of how the nature of regex searching, and in particular leftmost searching, inhibits the composition of different regex strategies. Or at least, makes them incredibly subtle.


Docs: RequestMirror filter needs to be documented

What would you like to be added:
A new guide showing how to mirror HTTP requests with HTTPRoute. This guide should be similar to https://gateway-api.sigs.k8s.io/guides/http-header-modifier/ or https://gateway-api.sigs.k8s.io/guides/traffic-splitting/.
For an example of how to configure our RequestMirror filter, you can refer to the relevant conformance test:
https://github.com/kubernetes-sigs/gateway-api/blob/195d9882f816c9002eede96b2eda171ac454a6c1/conformance/tests/httproute-request-mirror.yaml#L42-L47
Why this is needed:
We are currently lacking documentation for request mirroring.

                          Mirroring HTTP requests using HTTPRoute

Mirroring HTTP requests using HTTPRoute in Kubernetes Gateway API is a technique where a copy of incoming requests is sent to a secondary service for testing or analysis, without impacting the primary service handling these requests. The filter available to meet the requirement is requestMirror
This guide shows how to use these features.
To mirror a HTTP request, use a filter of the type RequestMirror, with the backendRef action and the name, namespace and port of the request:
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
name: Mirroring-http-request
spec:
parentRefs:
- name: acme-gw
rules:
- matches:
- path:
type: PathPrefix
value: /add-a-request-header
filters:
- type: RequestMirror
requestMirror:
backendRef:
name: infra-backend-v2
namespace: gateway-conformance-infra
port: 8080

If this supports set or remove action, that can be added too

Attached is a draft and the updated one is shared


Default help doesn't adapt to cova.Command.Custom.FromConfig setting

I set .attempt_short_opts = false, when converting from a struct with cova.Command.Custom.from(). The resulting help output shows -null as the short option instead of excluding it from the help output. This happens on both 0.9.1 and current main branch. See here:
        Temperature:
            -null,--temperature <temperature (f16)>
            The 'temperature' Option of type '?f16'.

I did just realize that -u and -h are set to enabled by default, maybe the fact that they have short options but the others don't is where the formatting goes wrong?

@AdjectiveAllison Appreciate you pointing this out. I remember tackling this previously, so I must've had a regression. I'll look into it this week and squash it properly.

0d38429a094053d78a69e1fe32e5f47d78c24766
Additional fixes that should solve this issue more effectively.


fix: allow norm_cast to use zeta and beta

This PR adjusts the simp configuration that norm_cast uses, to allow zeta and beta (but still not zetaDelta). This makes norm_cast continue to work in Mathlib post #6123.

@kim-em Would "zeta" in this PR include "zetaDelta"?  Personally, I think that most tactics should not do zetaDelta reduction by default.  I hope to change ring and abel in Mathlib in this way soon (see #19120), although of course this would require community discussion.

@kim-em Would "zeta" in this PR include "zetaDelta"? Personally, I think that most tactics should not do zetaDelta reduction by default. I hope to change ring and abel in Mathlib in this way soon (see leanprover-community/mathlib4#19120), although of course this would require community discussion.

@hrmacbeth, no zetaDelta := false is the default in Simp.Config, and this is still the cast in norm_cast, both before and after this PR.
The explanation for this (still experimental) change is that norm_cast has historically been using very strict settings (good!) However when it then made internal calls to e.g. isDefEq, these were happening back at default settings. We've now trying, in #6123, to change this behaviour so that changes to settings propagate to internal calls to other functions. Hence the historical strict settings for norm_cast would now cause isDefEq to try less hard, and this results in many norm_cast calls in Mathlib to start failing.
This PR is an experiment to find out what, if any, downside there is to just relaxing the settings for norm_cast overall (still without zetaDelta!) If it doesn't look good, or even otherwise, we will have to work out how to run norm_cast with strict settings, but then relax the settings for internal calls to other functions.
(And thanks for investigating stricter settings in ring and abel! I hope this works. :-)

We've decided not to proceed with this, and instead we won't propagate zeta and beta from Simp.Config to Meta.Config.


Bug Issue

that's not a bug. It's a python linting error. Python has some code guidelines. code should be in that format.
we are in the development phase now so we are ignoring it for now. we will update the code base with guidelines when the development phase will complete.
@TimTemi

@codePerfectPlus Alright.


Blazor WASM - Flowbite js does not get loaded on nav or refresh

Describe the bug
I am implementing some Flowbite components into our project, and am currently running into an annoying bug.
We are building a Component Library with a Razor Class Library project that gets packaged into a nuget package to be consumed in our various frontend projects. One of the components is a Flowbite datepicker.
After following the steps described in the getting started for WASM.

@inject IJSRuntime Js

@inject NavigationManager NavigationManager
@inherits LayoutComponentBase
@using Ignis.Components.HeadlessUI
@using Ignis.Components.HeroIcons.Outline
@using Blazored.Toast.Configuration
@using Blazored.Toast

<Transition AsElement="div" class="flex flex-col w-full h-full max-h-full" Show="true"
  Enter="transform transition duration-700" EnterFrom="opacity-0" EnterTo="opacity-100" Appear="true">
  <AgfaHeader ApplicationName="KOBRA ROL" ApplicationLogo="AgfaLogos.kobra" />
  <div class="flex flex-1 max-h-[calc(100%-60px)]">
    <AgfaSideNav>
      <AgfaSideNavItem Name="Home" Target="home" NavLinkMatchAll>
        <Icon>
          <HomeIcon class="w-6" />
        </Icon>
      </AgfaSideNavItem>
      <AgfaSideNavItem Name="Producten" Target="producten" NavLinkMatchAll="false">
        <Icon>
          <BeakerIcon class="w-6" />
        </Icon>
        <SubNav>
          <AgfaSideNavSubItem Name="Fabricagesoorten" Target="producten/fabricagesoorten" NavLinkMatchAll="false">
            <Icon>
              <BeakerIcon class="w-6" />
            </Icon>
          </AgfaSideNavSubItem>
          <AgfaSideNavSubItem Name="Aflevertypes" Target="producten/aflevertypes" NavLinkMatchAll="false">
            <Icon>
              <FilmIcon class="w-6" />
            </Icon>
          </AgfaSideNavSubItem>
          <AgfaSideNavSubItem Name="Verkoopssoorten" Target="producten/verkoopssoorten" NavLinkMatchAll="false">
            <Icon>
              <BanknotesIcon class="w-6" />
            </Icon>
          </AgfaSideNavSubItem>
        </SubNav>
      </AgfaSideNavItem>
    </AgfaSideNav>

    <article
      class="relative flex items-center justify-center flex-1 max-h-full transition-all duration-300 ease-in-out bg-gray-100 dark:bg-[#333D3C]">
      @Body
    </article>
  </div>
</Transition>

<BlazoredToasts Position="ToastPosition.BottomRight" Timeout="10" ShowProgressBar="true" RemoveToastsOnNavigation />

@code {

  [CascadingParameter] protected Task<AuthenticationState> AuthStat { get; set; } = default!;

  protected async override Task OnInitializedAsync()
  {
    var user = (await AuthStat).User;
    if (!user.Identity.IsAuthenticated)
    {
      NavigationManager.NavigateTo($"login?returnUrl={Uri.EscapeDataString(NavigationManager.Uri)}");
    }
  }

  protected override async Task OnAfterRenderAsync(bool isFirstRender)
  {
    if (isFirstRender)
    {
      await Js.InvokeVoidAsync("window.initializeFlowbite");
    }
  }
}

Everything works perfectly on first load, but once the page is refreshed or the user navigates to another url, flowbite stops working and we no longer get to see the datepicker. Presumably because the layout file rerenders and as such the following code does not fire as it is not the first render. Also note that we check if the user is logged in here and if not redirect, maybe this has something to do with it?
if we drop the firstRender check this is solved and the datepicker now renders after refresh, However this breaks some other stuff as now flowbite get reinitialized on every render, such as when I click a date the dialog does not close and does not highlight the newly picked date.
I have also already tried some other solutions I saw in issues:
<script>
      window.initializeFlowbite = () => {
        initFlowbite();
      };
      Blazor.addEventListener('enhancedload', function () {
        initFlowbite();
      });
      window.onload = function () {
        initFlowbite();
      };
    </script>

Any help?

I would like to mention here that we found a workaround by having the following function in our component itself instead of in the MainLayout file. This seems to fix the issues we were experiencing.
protected override async Task OnAfterRenderAsync(bool isFirstRender)
  {
    if (isFirstRender)
    {
      await Js.InvokeVoidAsync("window.initializeFlowbite");
    }
  }

However I will leave this issue as open as I think this is something that should be evaluated and maybe adjusted in the docs.


InvalidArgumentError while finetuning on new dataset

InvalidArgumentError (see above for traceback): indices[0] = 1043672 is not in [0, 793471)
I am using new dataset as per the instructions and I am getting this error. Could you please help me.
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1334, in
_do_call
return fn(*args)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1319, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1407, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: indices[0] = 1043672 is not in [0, 793471)
[[{{node lm/sampled_softmax_loss_1/embedding_lookup_1}}]]
[[{{node clip_by_global_norm/clip_by_global_norm/_8}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "bin/restart.py", line 57, in
main(args)
File "bin/restart.py", line 42, in main
restart_ckpt_file=ckpt_file)
File "/usr/local/lib/python3.6/dist-packages/bilm-0.1.post5-py3.6.egg/bilm/training.py", line 861, in train
feed_dict=feed_dict
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1328, in _do_run
run_metadata)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: indices[0] = 1043672 is not in [0, 793471)
[[node lm/sampled_softmax_loss_1/embedding_lookup_1 (defined at /usr/local/lib/python3.6/dist-packages/bilm-0.1.post5-py3.6.egg/bilm/training.py:506) ]]
[[node clip_by_global_norm/clip_by_global_norm/_8 (defined at /usr/local/lib/python3.6/dist-packages/bilm-0.1.post5-py3.6.egg/bilm/training.py:913) ]]
Caused by op 'lm/sampled_softmax_loss_1/embedding_lookup_1', defined at:
File "bin/restart.py", line 57, in
main(args)
File "bin/restart.py", line 42, in main
restart_ckpt_file=ckpt_file)
File "/usr/local/lib/python3.6/dist-packages/bilm-0.1.post5-py3.6.egg/bilm/training.py", line 705, in train
model = LanguageModel(options, True)
File "/usr/local/lib/python3.6/dist-packages/bilm-0.1.post5-py3.6.egg/bilm/training.py", line 72, in init
self._build()
File "/usr/local/lib/python3.6/dist-packages/bilm-0.1.post5-py3.6.egg/bilm/training.py", line 430, in _build
self._build_loss(lstm_outputs)
File "/usr/local/lib/python3.6/dist-packages/bilm-0.1.post5-py3.6.egg/bilm/training.py", line 506, in _build_loss
num_true=1)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/nn_impl.py", line 1864, in sampled_softmax_loss
seed=seed)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/nn_impl.py", line 1399, in _compute_sampled_logits
biases, all_ids, partition_strategy=partition_strategy)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/embedding_ops.py", line 316, in embedding_lookup
transform_fn=None)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/embedding_ops.py", line 133, in _embedding_lookup_and_transform
result = _clip(array_ops.gather(params[0], ids, name=name),
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/dispatch.py", line 180, in wrapper
return target(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/array_ops.py", line 3273, in gather
return gen_array_ops.gather_v2(params, indices, axis, name=name)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 3748, in gather_v2
"GatherV2", params=params, indices=indices, axis=axis, name=name)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py", line 3300, in create_op
op_def=op_def)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py", line 1801, in init
self._traceback = tf_stack.extract_stack()
InvalidArgumentError (see above for traceback): indices[0] = 1043672 is not in [0, 793471)
[[node lm/sampled_softmax_loss_1/embedding_lookup_1 (defined at /usr/local/lib/python3.6/dist-packages/bilm-0.1.post5-py3.6.egg/bilm/training.py:506) ]]
[[node clip_by_global_norm/clip_by_global_norm/_8 (defined at /usr/local/lib/python3.6/dist-packages/bilm-0.1.post5-py3.6.egg/bilm/training.py:913) ]]

This is an indexing error where there vocabulary file is longer then the pretrained softmax matrix.  Make sure the vocabulary file, vocabulary size in the options file, and checkpoint are all consistent between pretraining and fine tuning.


Error:infer_grn(),

Hi,When I was running this function, I encountered the following error, I checked my motif matrix and gene name, but I did not find a number beginning, I feel very confused, can you give me the answer?

This is my code:
scARC=readRDS("./Data/scARC_celltype.rds")
DefaultAssay(scARC) <- "peaks"
seqlevelsStyle(BSgenome.Mmulatta.UCSC.rheMac10) <- 'Ensembl'
scARC <- initiate_grn(scARC, rna_assay = 'RNA',peak_assay = 'peaks')
pwm_set <- getMatrixSet(x = JASPAR2022, opts = list(species = 9606, all_versions = FALSE))
plan("multisession", workers = 20)
#查找 TF 结合位点
scARC <- find_motifs(scARC,pfm = pwm_set,genome = BSgenome.Mmulatta.UCSC.rheMac10)
#推断 GRN
genes <- scARC<EMAIL_ADDRESS>filtered_text <- grep("1_.", x, value=TRUE)
genes <- genes[!grepl("^ID3.", genes)]
scARC <- infer_grn(scARC,genes=genes,peak_to_gene_method = 'Signac',method = 'glm')
plan("sequential")
coef(scARC)

Hello @joschif
Thank you for the detailed tutorials! I have a similar issue to the one reported above. I followed the tutorials and at this part of the code, I got an error when trying to infer the grn for highly variable genes. Removing the genes argument below did not help.
library(doParallel)
registerDoParallel(4)
muo_data <- infer_grn(
  muo_data,
  peak_to_gene_method = 'GREAT',
  genes=top_variable_genes,
  verbose=2,
  tf_cor=0,
  #genes = patterning_genes$symbol
  parallel = T
)

Here is my error:

Selecting candidate regulatory regions near genes
Preparing model input
Fitting models for 1525 target genes
Error in { :
task 3 failed - "x and y should have the same number of rows"

I have tried many possible ways to solve this but I have not succeeded. Would you please help?
> muo_data
An object of class "GRNData"
Slot "grn":
A RegulatoryNetwork object based on 1136 transcription factors

No network has been inferred

Slot "data":
An object of class Seurat
128093 features across 1136 samples within 2 assays
Active assay: peaks (91492 features, 0 variable features)
 2 layers present: counts, data
 1 other assay present: RNA

I have my RNA and ATAC data as follows:
> coembed <- merge(x = pbmc_atac_filtered, y = rna_seurat)
> print(coembed)
An object of class Seurat
128093 features across 1136 samples within 2 assays
Active assay: peaks (91492 features, 0 variable features)
 2 layers present: counts, data
 1 other assay present: RNA
> coembed[['RNA']]
Assay (v5) data with 36601 features for 579 cells
Top 10 variable features:
 CXCL8, HIST1H2AC, AFF3, NRG1, PDE4D, IL1B, EREG, AL163541.1, ADGRB3, NEGR1
Layers:
 counts, data
> coembed[['peaks']]
ChromatinAssay data with 91492 features for 557 cells
Variable features: 0
Genome:
Annotation present: TRUE
Motifs present: FALSE
Fragment files: 0

> muo_data <- initiate_grn(
  coembed,
  rna_assay = 'RNA',
  peak_assay = 'peaks',
  regions = phastConsElements20Mammals.UCSC.hg38
)

Hello @joschif
I am updating this issue. I tried keeping common cells within both assays so now both my RNA and ATAC data have 557 cells. The error I get changed as follows.
> registerDoParallel(4)
> muo_data <- infer_grn(
+   muo_data,
+   peak_to_gene_method = 'Signac', #GREAT',
+   genes=top_variable_genes,
+   verbose=2,
+   tf_cor=0,
+   #genes = patterning_genes$symbol
+   parallel = T
+ )

Loaded glmnet 4.1-8
Selecting candidate regulatory regions near genes
Preparing model input
Fitting models for 1525 target genes
Error in { :
task 3 failed - ""CRsparse_colSums" not resolved from current namespace (Matrix)"

Would you please let me know if you have any suggestions?
Thank you so much in advance.

Hi @elhaam, unfortunately it's very hard to tell what the exact problem is here. However, it seems to stem not from the Pando code itself but from the Matrix package. Maybe you can try updating it or installing a different version.

Thanks @joschif! Yes, this is correct that Matrix package was problematic. Following this solution and this one worked for me if anyone faced this issue in the future.

Same issue as @wxpbioinfo. I have tried with a few genes and I still get the error with genes other than ‘RSPO4’, but the same ‘20_’. The only thing different from the tutorial is the use of NCBI peak name style. Any suggestions for not having to do the preprocessing with the USCS style (because of the impossibility to change it in the seurat object). Very nice package by the way!
`

> grn_object <- infer_grn(grn_object, peak_to_gene_method = 'Signac', method = 'glm', verbose = T) Selecting candidate regulatory regions near genes Preparing model input Fitting models for 1278 target genes   \|+++                                               \| 4 % ~01m 10s      Error en str2lang(x): :1:11: unexpected input 1: RSPO4 ~ 20_               ^
--

`


Tangram::LngLat::operator == (...) must be const.

TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:

Create two const objects of type LngLat
Compare them

const LngLat lngLat1, lngLat2;
assert(lngLat1 == lngLat2);
RESULT:
Compilation error, attempt to call non-const method on const object.
EXPECTED RESULT:
Compilation success.
ENVIRONMENT:
Any OS and device.
Version of Tangram from master.
OTHER:
https://github.com/tangrams/tangram-es/blob/c323375f6249a655ddb3684d5f09770a1f58aeee/core/include/tangram/util/types.h#L27

@Hsilgos good catch! Fix should be merged shortly.


Fix typos of NXroot elements in pynxtools

https://manual.nexusformat.org/classes/base_classes/NXroot.html#nxroot defines specifically named attributes which pynxtools (tested via pynxtools-apm) auto-decorates, however:

[ ] Attributes named "File_*" have to be lower-case

@domna mentioned and I confirm H5Web capitalizes attribute names which mislead me but "convenience feature" makes inspections of compliance with schemas more difficult, maybe a topic for the H5Web developers?

Closing this as this requires no action in pynxtools


Date instruction and file instructions are not internationalized

Some instructions are not internationalized. Namely:

"Select a date"
"Select a file"

To reproduce run the all_widgets.py test file with language='hebrew'
Note that this relates to the discussion in this pull request #248
My system:

OS Windows 10
Python Version 3.6.1
Gooey version 1.0.0

This has been fixed here https://github.com/chriskiehl/Gooey/commit/64727fada87a606972664306edc04974c0012df6
It'll be part of the next release. Thanks for the report! :+1:


BUG: CreateTables will panic if using PostgreSQL

I use PostgreSQL and find casdoor  has a panic error during startup since v1.334.0:
goroutine 1 [running]:
github.com/casdoor/casdoor/object.CreateTables(0x58?)
/go/src/casdoor/object/adapter.go:60 +0x4c
main.main()
/go/src/casdoor/main.go:43 +0x3e
panic: pq: syntax error at or near "NOT"
And I see this code:
func (a *Adapter) CreateDatabase() error {
	engine, err := xorm.NewEngine(a.driverName, a.dataSourceName)
	if err != nil {
		return err
	}
	defer engine.Close()

	_, err = engine.Exec(fmt.Sprintf("CREATE DATABASE IF NOT EXISTS %s default charset utf8mb4 COLLATE utf8mb4_general_ci", a.dbName))
	return err
}

Maybe the  reason of the error is PostgreSQL doesn't support the “IF NOT EXISTS” option for the CREATE DATABASE command.

@zedzhu fixed by: https://github.com/casdoor/casdoor/commit/fc9528be43290c8d3c2f8cb4f0f63d17143952ac


Support for OpenCV viz module?

I have the following installed in a virtualenv with Python 3.6.4:
opencv-python==<IP_ADDRESS>
opencv-contrib-python==<IP_ADDRESS>
on a OSX 10.13.3. I had expected the compiled viz code and corresponding Python bindings.
https://docs.opencv.org/3.4.1/d9/d62/namespacecv_1_1viz.html
Neither of them are present. I'd never installed OpenCV on this machine. I've historically gone through the installation process manually, which isn't pleasant, and I've been able to access the viz module both via C++ and Python on Linux and Mac.
The prospect of being able to install everything without having to compile binaries is compelling, and I'd love for this to work. Is this behavior expected? If so, is there any plan to support the viz module in the future?

Afaik viz module requires that OpenCV is built with VTK. These packages are not built with it.
It might be possible to enable the viz module in the future given that:

VTK can be built or installed easily to the CI environments (Windows, macOS and CentOS 5)
VTK license allows redistribution

Yep...that was definitely a requisite step when building and installing manually. And getting Qt and VTK to play nice with each other and native graphics drivers has introduced some pain points...at least for me.
Many thanks for the quick response!

I'll look into this after I've solved some issues which are currently blocking Linux builds.

Thanks very much. You're doing great work!

@damzam , did you managed to use Viz on Python?
I used it with C++ on Linux, but many people use opencv with Python on Windows and they complain about not having viz.
What are the steps to get Viz running on Python?
And, because there's no documentation about vis for Python, any suggestion about how to use de methods?
Thank you

No. I ended up just writing the libraries I needed in C++. Sorry not be of
more help.
On Fri, Dec 6, 2019 at 5:27 AM AlejandroSilvestri<EMAIL_ADDRESS>wrote:

@damzam https://github.com/damzam , did you managed to use Viz on
Python?
I used it with C++ on Linux, but many people use opencv with Python on
Windows and they complain about not having viz.
What are the steps to get Viz running on Python?
And, because there's no documentation about vis for Python, any suggestion
about how to use de methods?
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skvark/opencv-python/issues/76?email_source=notifications&email_token=AAH55PDKAYWFPBWFGZDM3ETQXJHMFA5CNFSM4EUOCDFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGECNUY#issuecomment-562570963,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH55PH4ZTD2VKBOX3ESYWLQXJHMFANCNFSM4EUOCDFA
.

Related discussion in OpenCV: https://github.com/opencv/opencv/issues/19490


Skill - Amische

Another gimmick skill, that prevents the user from using non-iron weapons.
I'll just get out in front of this one and say: before you reject it consider that not all skills have to contribute to making characters roided death machines. There can be skills that help contribute to narrative as well. Ones that help flesh out certain characters by having certain personality traits (like religion) reflected in the gameplay.

not all skills have to contribute to making characters roided death machines

Well I think you failed to understand the reason on rejection.
You need to think about two things.

Is there any deference on judging name string rather than name msg index?
Is there any deference on judging character index rather than character name msg index?
Should community project served for customized plot for specific story?

The reaspm why project is named as "kernel" is just because it should limit its functionality to meet the basic needs of the vast majority of users, this is also necessary to maintain code reliability. Yes ofcourse the game-designer what their game create more unique gameplay functionality, but that's just their own work rather than a feature need community project should support for.

it should limit its functionality to meet the basic needs of the vast majority of users

And this is also the reason I think this PR should be rejected. If you feel that this feature is useful for your game plot, you should put it in your personal customized ROM instead of submitting it to the public repository.

Is there any difference on judging name string rather than name msg index?

Not sure, this was my first attempt at this. I'm sure you'll say "Then you should research it first" which is fine, but I don't see myself making another skill like this.

Is there any difference on judging character index rather than character name msg index?

Two or more characters could potentially have the same name if the hack creator so desires it.

Should community project served for customized plot for specific story?

I feel it's about giving people options. Very few users are going to have the technical know-how to implement such skills themselves. So I didn't see a reason to limit ourselves in that department.

The reason why project is named as "kernel" is just because it should limit its functionality to meet the basic needs of the vast majority of users
Then I have learned something new : D

On a slighly different note, your standards for what contributes 'vast majority of users' are not clearly defined. I think this would be good to have in a contributor's note somewhere.
We're fast approaching the point where such gimmick skills will soon be the only ground we haven't touched. I'm more than happy to make a seperate branch for these and keep them away from your project, but it'd be nice to know in advance what's left in this list of skills that don't meet your standards. Otherwise I'm just wasting both our times. https://docs.google.com/spreadsheets/d/1zd99uevX953OZQiA_oJU9R3hqFao5mrW78wMHKPco-U/edit?gid=681794002#gid=681794002

Take pre-battle calc as an example, we left pad function at here: https://github.com/MokhaLeee/fe8u-cskillsys-kernel/blob/main/Wizardry/Core/BattleSys/data.event#L12
This allows gameplay designers to directly replace these functions to implement their own functionality.
This also allows them to directly use the release as a base rom and do secondary customization.


Puppeteer hangs with no error message

Bug description
I'm running puppeteer in headless mode in a docker container. The puppetter function is executed inside a javascript while loop.
Without any consistency (may be after 10s or 2 hours), the code freezes at one of the stages. It's rarely consistent : it may freeze at browser launch, at page open, at browser close, etc.
And the difficult part is that I don't have any error message. As you will see in my code, I've tried to catch error at every stage but without luck.
My puppeteer function
try {

            await console.log(" -> Launching browser")

            try {
                browser = await puppeteer.launch({
                    pipe: true,
                    headless: true,
                    ignoreHTTPSErrors: true,
                    args: ['--ignore-certificate-errors',
                        '--disable-gpu',
                        '--no-sandbox',
                        '--disable-setuid-sandbox',
                        '--disable-dev-shm-usage',
                        '--single-process',
                        '--disable-accelerated-2d-canvas'
                    ]
                });
            } catch (e) {
                console.log("  --> browser error " + e)
            }

            await console.log("  --> Opening page")
            try {
                page = await browser.newPage();
            } catch (e) {
                console.log("  --> page open error " + e)
            }

            await console.log("  --> Going to page")

            try {
                await page.goto("xxxx");
            } catch (e) {
                console.log("  --> goto error " + e)
            }

            await console.log("  --> Waiting for table")
            try {
                await page.waitForSelector('table')
            } catch (e) {
                console.log("  --> wait for selector error " + e)
            }

            await console.log("  --> Getting data")
            try {
                data = await page.evaluate(() => {
                    let results = []
                    let items = document.querySelectorAll('tbody tr')
                    items.forEach((item) => {

                        results.push({
                            reason: item.querySelector('td:nth-child(6)').innerText,
                        })
                    })
                    return results

                });
            } catch (e) {
                console.log("  --> page evaluate error " + e)
            }
            await console.log("  --> Done.
RUN npm ci
RUN mkdir -p logs/snapshots

EXPOSE 8081
CMD ["npm", "start"]

Puppeteer version
^12.0.1
Node.js version
v14.18.1
npm version
7.17.0
What operating system are you seeing the problem on?
Linux
Relevant log output
No response

I have the same issue! It only started when I upgraded from alpine 3.13 to 3.15, which involved upgrading to Chromium 93.
Have you tried adding dumpio: true to launchBrowser? That gave me the following dump:
Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Failed to read DnsConfig.
Failed to load /usr/lib/chromium/swiftshader/libGLESv2.so: Error loading shared library /usr/lib/chromium/swiftshader/libGLESv2.so: No such file or directory
Exiting GPU process due to errors during initialization
Failed to load /usr/lib/chromium/swiftshader/libGLESv2.so: Error loading shared library /usr/lib/chromium/swiftshader/libGLESv2.so: No such file or directory
Exiting GPU process due to errors during initialization
VAAPI video acceleration not available for disabled
Passthrough is not supported, GL is disabled

I had a similar issue. I ended up finding a workaround of closing and reopening the page occasionally in the script. I assume it is a memory issue.

Thanks for you anwsers. I tried @rclmenezes solution and indeed there are a lot of errors. I ended up by not running my puppeteer and functions in a docker container but directly on a ubuntu server.

Version 13.2.0 released today and the issue described here seems to be resolved in Chromium 99.

See https://monorail-prod.appspot.com/p/chromium/issues/detail?id=1198567 for a quick workaround (haven't checked it yet): Adding '--disable-gpu' to args may solve this issue.

See https://monorail-prod.appspot.com/p/chromium/issues/detail?id=1198567 for a quick workaround (haven't checked it yet): Adding '--disable-gpu' to args may solve this issue.

Didn't help me.

'--disable-gpu'

This seems to fix the issue when running on Raspberry PI 4.


[HOSTING-430] Upload permissions for new plugin

This request is for Jenkins account user sag47 upload permissions to artifactory for the scm-branch-pr-filter plugin.
See also:

HOSTING-430
JENKINS-47091

Description

Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[x] Add link to resolved HOSTING issue in description above

For a new permissions file only

[x] Make sure the file is created in permissions/ directory
[x] artifactId (pom.xml) is used for name (permissions YAML file).
[x] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[x] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

This is for a new plugin.
My Jenkins account is sag47.
I've logged into artifactory before to release other plugins.

@daniel-beck at least this has scm and filter in the plugin name, though it would be much better if the scm-filter was at the start or the end of the plugin name/artifactId.
In this case the branch-pr part is correct though as it is a filter for both branches and prs, so if there has not been a release then either scm-filter-branch-pr or branch-pr-scm-filter would be a much better name to use.

@stephenc It would be helpful for you to write a mini-guide "Developing filter plugins" that includes your desired naming convention? Perhaps as part of CONTRIBUTING.md that also explains you don't want them in the branch source?

I released it; however, it's brand new so I'm okay with deleting the old name and going through a renaming effort if that's desired.

@stephenc Please see Sam's comment, what name to use?

Let’s pick the rule that all generic scm filter plugins start with scm-filter-... whereas a git specific filter would be git-scm-filter-...
I’ll update SCM API’s docs later today.

https://github.com/jenkinsci/scm-api-plugin/blob/master/docs/implementation.adoc#naming-your-plugin

@stephenc @daniel-beck I have renamed the git repository and my wiki page.  Please rename my JIRA component from scm-branch-pr-filter-plugin to scm-filter-branch-pr-plugin.

Also, what do we do about unpublishing the original release?  Currently, I've bumped it but in the update center it will look like two plugins with similar names.
Search scm-branch-pr-filter-0.1.hpi at https://repo.jenkins-ci.org/webapp/

We can blacklist it in the update centre.

Okay, please review https://issues.jenkins-ci.org/browse/INFRA-1358

I have updated INFRA-1358 to say blacklist instead of remove.  Please review @stephenc.

New version has been released to artifactory.  Search scm-filter-branch-pr-0.2*.


how to use with mongoose?

I'm trying the lib and want to integrate with my existing mongoose Schema, like below:
var formTypeSchema = mongoose.Schema({

  name:{type:String},
  title:{type:String, default:''},
  mainKey:{type:String, default:'_id'},
  desc:{type:String, default:''},

  createAt:{ type: Date, default: function(){ return new Date() } },
  createBy:{type:_ObjectId , ref:'Person' },

  updateAt:{ type: Date, default: function(){ return new Date() } },
  updateBy:{type:_ObjectId , ref:'Person' },

  template: Mixed

})

with a sample data:
{
  name:"form1",
  title:"test for form1",
  template: { any:"object" }
}

trying but don't know where to start

Hey @futurist. The goal of this project is to focus on defining/modeling json:api payloads rather than focusing on defining the backing data store. I've recently merged some changes to the README to explain the motivations behind a config-driven approach to building an API.
What does this mean for your use case? In a nutshell, you'll need to:

Define the resource's attributes that Clients will be interacting with - the docs here should help.
Create/Pick a handler - an object exposing operations to create/search/find/delete/update resources. If you're using mongodb you could consider using jsonapi-store-mongodb which will deal with the mongodb storage layer for you.

The only difficulty you may run into will be around creation and updated dates. If you need to enforce those yourself (as in, you can't trust your clients to do it) you'll need to define your own handler to inject/update the dates into the users payloads before handing over to your data layer.
If all else fails, take a look over the example implementation (that uses the in-memory handler) here: https://github.com/holidayextras/jsonapi-server/tree/master/example

Thank you for the detailed reply. I've tried json-api, which using mongoose as store, but now I leave that lib and begin using jsonapi-server + jsonapi-sotre-mongodb, it's so far the best node lib to serve json-api IMO.
After test therer's an issue in my side:
Source code:
var jsonApi = require("jsonapi-server");
var MongoStore = require("jsonapi-store-mongodb");

jsonApi.setConfig({
  base: "",
  port: 4000,
});

jsonApi.define({
  resource: "photos",
  handlers: new MongoStore({
    url: "mongodb://localhost:27017/test2",
  }),
  attributes: {
    title: jsonApi.Joi.string(),
    url: jsonApi.Joi.string().uri(),
    height: jsonApi.Joi.number().min(1).max(10000).precision(0),
    width: jsonApi.Joi.number().min(1).max(10000).precision(0)
  }
});

jsonApi.start();

A. POST below data to url /photos
{"data":{"type":"photos","attributes":{"title":"test photo", "url":"http://www.baidu.com", "height":20, "width":30 }}}

B. server returned body:
{"jsonapi":{"version":"1.0"},"meta":{},"links":{"self":"/photos/baff0a1d-5ad5-4042-abb2-5d9dfdbb571e"},"data":null}

here data is null;  but if changing handlers: new jsonApi.MemoryHandler() the data is right.
C. check mongodb test2 db, collections photos exists and contained a document as below
{ "_id" : BinData(4,"YmFmZjBhMWQtNWFkNS00MDQyLWFiYjItNWQ5ZGZkYmI1NzFl"), "id" : "baff0a1d-5ad5-4042-abb2-5d9dfdbb571e", "type" : "photos", "title" : "test photo", "url" : "http://www.baidu.com", "height" : 20, "width" : 30, "meta" : null }

but GET /photos/baff0a1d-5ad5-4042-abb2-5d9dfdbb571e, returned data is null

Beside, the project now need a feature, that user can interact with the data structure, similar to typeform.com
The need is, in above source code, after jsonApi.start(), in a later time want to add a new resource type in jsonApi.define, e.g.:
jsonApi.start();

...... // at a later time
jsonApi.define({
  resource: "location",
  ....
})
jsonApi.close();
jsonApi.start();
// now there should have 2 resource types: photos, location

Question is: is this possible / right way to add new resources? any side effects except for the server down shortly?

Hi @futurist - You can call jsonApi.define() whenever you like. jsonApi.close() is provided to enable all handlers to gracefully shutdown.
var jsonApi = require("jsonapi-server");

// jsonApi.define() here will work

jsonApi.setConfig({
  base: "",
  port: 4000,
});

// jsonApi.define() here will work

jsonApi.start();

// jsonApi.define() here will work

With regards to jsonapi-store-mongodb, it looks like you've found a bug. You can see the validation error if you start jsonapi-server using DEBUG=jsonApi:* as per the debugging documentation.
The bug occurs because of the way MongoDB handles null and undefined values (undefined gets coerced to null, which fails the Joi validation). You can work around it for now by passing in an empty meta block:
$ curl -X POST --header "Content-Type: application/json" --data '{"data":{"type":"photos","attributes":{"title":"test photo", "url":"http://www.baidu.com", "height":20, "width":30}, "meta": { }}}' http://localhost:16006/rest/photos

Fixing the bug won't be too hard, we're currently pushing some more features into jsonapi-store-mongodb with the intention of putting it in production over the new few weeks. I'll add this bug to the todo-list.

This one line fix: https://github.com/holidayextras/jsonapi-store-mongodb/pull/10/files#diff-4219f7be27f0b8a5bb43a23c247c204cR33 resolves the bug mentioned above.

My updates have been merged, can you try again with v1.1.0 of jsonapi-store-mongodb?

POST same test data above without meta:{},  the returned JSON is right now:
{
  "jsonapi": {
    "version": "1.0"
  },
  "meta": {},
  "links": {
    "self": "/photos/008ef600-0cad-4fb5-860a-958414defde7"
  },
  "data": {
    "type": "photos",
    "id": "008ef600-0cad-4fb5-860a-958414defde7",
    "attributes": {
      "title": "test photo",
      "url": "http://www.baidu.com",
      "height": 20,
      "width": 30
    },
    "links": {
      "self": "/photos/008ef600-0cad-4fb5-860a-958414defde7"
    }
  }
}

But when GET links.self prop: /photos/008ef600-0cad-4fb5-860a-958414defde7, the returned JSON:
{
  "jsonapi": {
    "version": "1.0"
  },
  "meta": {},
  "links": {
    "self": "/photos008ef600-0cad-4fb5-860a-958414defde7"
  },
  "data": {
    "type": "photos",
    "id": "008ef600-0cad-4fb5-860a-958414defde7",
    "attributes": {
      "title": "test photo",
      "url": "http://www.baidu.com",
      "height": 20,
      "width": 30
    },
    "links": {
      "self": "/photos/008ef600-0cad-4fb5-860a-958414defde7"
    }
  },
  "included": []
}

the links.self lost a back-slash

Also noticed in the according mongodb document:
{ "_id" : BinData(4,"MDA4ZWY2MDAtMGNhZC00ZmI1LTg2MGEtOTU4NDE0ZGVmZGU3"), "id" : "008ef600-0cad-4fb5-860a-958414defde7", "type" : "photos", "title" : "test photo", "url" : "http://www.baidu.com", "height" : 20, "width" : 30 }

_id and id stored the same UUID in hex and string? can it only be one to optimize the doc size a little?

When you set the config, I think you're missing some important bits, you'll need:
jsonApi.setConfig({
  protocol: "http",
  hostname: "localhost",
  port: 16006,
  base: "rest"
});

The missing config will make all the links absolute instead of relative and should fix up your issue.
I can see where you got the minimal config from, sorry about that, I'll raise an issue to update that example in the documentation.

You're right about storing the id twice, it'd be great to only store it once. I'm going to leave that one until a colleague gets back from holiday, I'd like to run it by him before changing it. He might know something I don't.

If want to serve the api in a root path, say: http://localhost:16006/photos without rest in path, is that possible?
I've tried base:"" and base:"/", both with a slash missing; the config you gave worked.

Nice find again, it's fixed here: https://github.com/holidayextras/jsonapi-server/pull/79 from jsonapi-server v1.0.4 you'll be able to omit the base config and it'll behave as you expect.


TeamWritePermDeniedError

if you tried to modify git settings for a team where you were a writer or below you used to get:
▶ ERROR DB error (code 2625)
now it says:
▶ ERROR permission denied to modify team
is there an easier way to pipe the error message from the server directly?

I'm not sure what you mean by easier.  you could supply the code in the api arg in the AppStatusCodes field, then it will get handled.  Is that what you mean?

The server returns an error message but it's not show outside of devel, was wondering if there was a way to get it to show without a client change.. AppStatusCodes is a little simpler than before though