clear figs/ (previously figure_src)

Hi @abriz97,
There is a need to clean the scripts in figs https://github.com/MLGlobalHealth/phyloSI-RakaiAgeGender/tree/main/figs...
Do you think you could have a look at this?
In particular:
1/ We do not want to have a R reader, i.e.,
>  args_line <-  as.list(commandArgs(trailingOnly=TRUE))
print(args_line)
if(length(args_line) > 0)

without a pbs job to call it
2/ there's so much redundancy with run_stan. For example, it's just very confusing to have sensitivity analysis switchs there. If the figures created do not compare sensitivity analysis, but are for one given analysis, we should transform the script as a postprocessing script (like src/transmission_flows/postprocessing_figures). In the latter, the env from rstan is loaded so there's no need to redefined the switchs and data every time...
3/ the paths fo the function should be updated

Hi Melodie,
I did some changes.

concerning the script similar to run_stan.R , I function-ized the pair-selection so if any changes are made, they are loaded in both instances, and took away some unnecessary definitions.
concerning the "postrpoc' ones, I did remove the args_line, but I am not sure whether this is really ideal (why not use the HPC if posteriors are involved)


Support Multiple Clock Definition in Testbench and SDC Generators

Motivate of the pull request

[ ] To address an existing issue. If so, please provide a link to the issue.
[X] Breaking new feature. If so, please describe details in the description part.

Describe the technical details

What is currently done? (Provide issue link if applicable)
OpenFPGA only accepts a single operating clock frequency to be considered in the testbench and SDC generators.
This has become a critical barrier when implementing multi-clock FPGA fabrics and verification.

What does this pull request change?
This PR introduces new XML syntax to the simulation setting description.
Now users are allowed to define multiple clock names and frequency.
The clock names should be validated to match a clock port in the FPGA fabric.
The clock frequencies are used in the generating testbenches and timing constraints in SDC format.

Which part of the code base require a change
In general, modification on existing submodules are not acceptable. You should push changes to upstream.

[ ] VPR
[X] OpenFPGA libraries
[X] FPGA-Verilog
[ ] FPGA-Bitstream
[X] FPGA-SDC
[ ] FPGA-SPICE
[ ] Flow scripts
[X] Architecture library
[ ] Cell library

Checklist of the pull request

[X] Require code changes.
[ ] Require new tests to be added
[X] Require an update on documentation

Impact of the pull request

[ ] Require a change on Quality of Results (QoR)
[ ] Break back-compatibility. If so, please list who may be influenced.

@tpagarani Please refer to this pull request about how to define different clock signals in simulation settings.

@tpagarani Please refer to this pull request about how to define different clock signals in simulation settings.

A quick example about how to define 4 different clock signals

A quick example about how to define 4 different clock signals


Add custom requirements file to install custom packages

Fixed https://github.com/amancevice/superset/issues/107
Add the ability to install custom python packages

This is something of an anti-pattern in Docker applications. What you are trying to do would be better accomplished by authoring your own image.
Your Dockerfile would look something like:
FROM amancevice/superset:<some-version>
USER root
RUN pip install <your pips>
USER superset

You would then build your image using the command:
docker build -t <my-image-name> .

Installing things after the container has been created is not advisable at all.


[Feature] Alby should prompt to setup nostr keys if none are set

Feature description
Currently the user has a poor experience on most nostr clients if they have the extension but haven't setup nostr keys.
Describe the solution
window.nostr should always be available, but if accessed when no nostr keys are setup, Alby should ask if the user wants to setup nostr keys, and if yes launch a nostr onboarding page.
Describe alternatives
No response
Additional context
https://t.me/getAlby/5729/10503
Are you working on this?
None

In the future we could also allow the user to switch accounts if the current account does not have a nostr key (not sure how many people will have this issue though)


Fix collection-optimized paths for Batch

The Batch operator contains similar problems to those addressed in issue #943/PR #946. This PR removes all collection optimizations, since they are all based on caching the collection count at initial call instead of run-time.

Oops. Wilco.
Will restore for now, and issue separate PR to remove them after this PR is pulled in. Discussion to be tabled until then.

and issue separate PR to remove them after this PR is pulled in

What's the reason behind removing them at all?

Thanks for the follow-up, but I am afraid the test and the implementation don't look right. See my comments.

Bah! Too many branches on too many projects. :)

@viceroypenguin Any chance we can merge this soon?


vpnc-scripts: unstable-2021-09-24 -> unstable-2023-01-03

Description of changes
A few fixes and notably support for split DNS.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

This does at least build on aarch64-linux. Can't test it properly because the VPN I have access to has SSO which doesn't quite work in OpenConnect yet.


feat(theme): Update design tokens and defaultTheme

Summary
Design Tokens
Github issue: #747
Change List
Storybook

New story Badges in the preview header (Stable, Beta, Needs Revision, Work in progress)
New story Badges in the sidebar list (Stable, Beta, Needs Revision, Work in progress)
New categorization for stories (Bases, Components, Data Viz, Deprecated)
Added Bases category to Storybook to cover Borders, Colors, Corners, Shadows and Spaces

DefaultTheme and Design Tokens
All design tokens have been updated to the latest values based on the Figma Refactor outputs. Token names have been changed to reflect the new semantic structure. DefaultTheme has been created based on new design tokens, and it's ready to implement a multi-theme approach.
Component Styles
All components have been refactored and are now using the latest design tokens from the palette. All hardcoded spacings, colors, borders, etc., have been replaced with corresponding values from the theme Palette, making the whole design system dynamic and ready to use different theme files.
Icons

All SDS icons have been replaced with newly re-exported icons with larger 16 x 16 and 24 x 24 sizes.
Loading icons have been re worked to show the animation.
Icon names are now PascalCase instead of camelCase
Some icon names have changed (a full list of changes will be included in the migration documentation).

Updated Icon sizes for some components
Since the icons are a bit larger by default now, the s size chevron icon in some components has been replaced with xs size for better visuals.

Accordion
ButtonDropdown
InputDropdown

Storybook Stories

Component props are excluded from all stories except for the default story.

Updated intent and color props
The accepted values for intent / color props in SDS components has changed to semantic alternates

primary => accent
info => info
error => negative
warning => notice
success => positive
beta => beta

Reworked components
Some SDS components have been reworked and bug-fixed.

InputCheckbox, InputRadio: Component structure has changed, and this bug (#441) is resolved.
InputToggle
InputSearch: The search icon has been relocated to the left side of the input, and a new Clear icon has been added to the right side.
SegmentedControl
Link: The Link component now accepts two new props, sdsSize and fontWeight
Tag: The color prop is no longer required, and the Tag component will be rendered as a neutral tag if no colors are provided.

Awesome thanks for updating the PRs and addressing the comments, Masoud! Love this design token driven way so much 🌟 👏 🤩  !
One last request, can you help going through the code to separate storybook only code from the production code like you did in the last commit for some components, so it's consistent too 🙏 ?
I know it's a lot of components to go through, so no rush if you wanna do it in separate PRs too lol
Thanks so much!

Awesome thanks for updating the PRs and addressing the comments, Masoud! Love this design token driven way so much 🌟 👏 🤩 !
One last request, can you help going through the code to separate storybook only code from the production code like you did in the last commit for some components, so it's consistent too 🙏 ?
I know it's a lot of components to go through, so no rush if you wanna do it in separate PRs too lol
Thanks so much!

Thanks for reviewing the code, @tihuan. 🎉😍
The latest commit organizes Storybook files and breaks down large Storybook files into smaller and manageable stories. Here is the general structure of each SDS component:
Component
 ┣ 📂 __storybook__
 ┃ ┣ 📂 stories
 ┃ ┃ ┣ default.tsx
 ┃ ┃ ┣ livePreview.tsx
 ┃ ┃ ┗ test.tsx
 ┃ ┣ constants.ts
 ┃ ┣ index.stories.tsx
 ┃ ┗ style.ts
 ┣ 📂 __tests__
 ┃ ┣ 📂 __snapshots__
 ┃ ┃ ┗ index.test.tsx.snap
 ┃ ┣ Component.namespace-test.tsx
 ┃ ┗ index.test.tsx
 ┣ 📁 components
 ┣ index.tsx
 ┗ style.tsx

Wow your new file structure is a piece of art, @masoudmanson ! WE SHOULD FRAME IT 🤩 😆 🖼 🥇 👏
You're one of the best engineers I've had the honor to work with. Thanks so much for all the hard work 🙏
LGTM TO THE MAX!! 🚀

Thank you so much for your kind words! 🤩🥳😍🎉 I appreciate your support.
So excited to keep pushing forward together! 🚀🎉🥳


Update content for README.md

Added some stuff below, see if there's anything else to add on

Codecov Report

Merging #43 (b4817df) into master (66d076f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #43   +/-   ##
=========================================
  Coverage     65.99%   65.99%
  Complexity      411      411
=========================================
  Files            77       77
  Lines          1394     1394
  Branches        138      138
=========================================
  Hits            920      920
  Misses          438      438
  Partials         36       36

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 66d076f...b4817df. Read the comment docs.

LGTM!


[Backport v2.6] Upgrade OPA Gatekeeper 3.10.0

Backport to 2.6.10
SURE-5447

Getting the following error while trying to install gatekeeper.
Error: parse error at (rancher-gatekeeper/templates/gatekeeper-audit-deployment.yaml:128): unexpected {{end}}
Gatekeeper-crd is installed without any error.

https://github.com/rancher/charts/pull/2228

Tested the OPA gatekeeper 100.3.2+up3.10.0 on Rancher v2.6.9. Created the constraints using the default templates for Namespace and Repository and it's working as expected.


Schedule task every X hours from a date in the past

Hello, I'm using this method to schedule a task:
// Begin job at a specific date/time
t := time.Date(2019, time.November, 10, 15, 0, 0, 0, time.Local)
gocron.Every(1).Hour().From(&t).Do(task)

My aim is to schedule a task every 3 hours from midnight, but it seems that at startup it starts counting from the script execution time. My code is the below:
today := time.Now()
t := time.Date(today.Year(), today.Month(), today.Day(), 0, 0, 0, 0, time.Local)
gocron.Every(3).Hours().From(&t).Do(task)

For example if I run this code at 2:00 AM, I'd like that task starts at 3:00 AM, not at 5:00 AM.
Is there a method to do this?
Thanks.

@antoniocapizzi95 hey, this repo is no longer maintained (per the note in the readme) - we have a maintained fork over at https://github.com/go-co-op/gocron and recently added support for this exact use! https://github.com/go-co-op/gocron/issues/106

@JohnRoesler thank you very much, I will try this fork.


Do reverse geocoding after filtering

Moved geocoder down in pipeline after filter to prevent unnecessary requests.

Merged, thanks.


Back to bt <IP_ADDRESS>

Revert the BT client library from <IP_ADDRESS> to <IP_ADDRESS>, because of a known issue in <IP_ADDRESS>. Version 1.0.0 will have the fix, but is not out yet.

👍

👍

Codecov Report

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

@@            Coverage Diff            @@
##             master     #342   +/-   ##
=========================================
  Coverage     46.64%   46.64%
  Complexity     2616     2616
=========================================
  Files           627      627
  Lines         16640    16640
  Branches       1217     1217
=========================================
  Hits           7761     7761
  Misses         8422     8422
  Partials        457      457

Impacted Files
Coverage Δ
Complexity Δ

...oic/metric/bigtable/BigtableConnectionBuilder.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

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 3a59ead...fdd7c55. Read the comment docs.

FYI, the issue with <IP_ADDRESS>:
This version exhibited an issue where read and write operations could get stuck indefinitely sometimes. Heroic has an internal limit on the number of outstanding write requests, so when it hit that no more write requests would be allowed through, which stopped writes altogether.


Handle struct with list fields having dim >1

https://github.com/dantrim/parquet-writer/blob/8ad86996a59a3b884aff9aa31b06c318e10f5d20/src/cpp/parquet_writer.cpp#L596

Resolved by b51b5169b93ae0537d694a95c6c46a2e7d8eb590


[WIP] i18n: add missing translation files

@hnyman @jow-
I would like to add and sync the missing po files for languages that are already add to luci.mk
I have noticed this by adding the po files for new app luci-app-xfrpc.
I have also seen that we have languages in luci-app-acl ( and mybe in some other applications) that do not have an entry in luci.mk!

Why?
Weblate initializes missing languages automatically when somebody actually starts translation.
What is the benefit from adding files without any actual translation done?

@hnyman I was not aware that weblate does that but that is create!
But there is still a problem.
At first I was wondering why there are translation files even there is no entry in luci.mk.
As an example, I would like to point out the translation bo (Bosnian) https://github.com/openwrt/luci/tree/master/applications/luci-app-acl/po does exist but could not be build as a package because I cannot select this under make menuconfig Luci -> Modules -> Translation
If that is the case, that weblate does all this, then we should also adapt the luci.mk and add the missing LUCI_LANG.* entries.

Some of those languages are started but only a few strings have actually translated. (There aren't that many enthusiasts for small languages and the initial person may tire quickly.)
E.g. Hindi, Malay, Sinhala, Swahili, yue
https://hosted.weblate.org/projects/openwrt/#languages
There was some forum(?) discussion some time ago about adding new languages, and the general feeling was that at base.po should be first translated to some extent before the language has been added to luci.mk.
I have selectively added new languages to luci.mk when I have noticed serious translation activity about a language.
There is no automation, as weblate allow starting translation for any language in its catalog, and we have a static list in luci.mk
If you feel that there are half-translated languages that should be enabled, just add them to luci.mk.

Thank you for the explanation. Then everything should fit so far


cargo build doesn't work

Hi Team,
I am new to Rust. I just cloned the repo and did a cargo build, it fails and gives the following message on console:
`_error[E0432]: unresolved import self::platform::PlatformImpl
--> src/lib.rs:14:9
|
14 | pub use self::platform::PlatformImpl as System;
|         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no PlatformImpl in platform. Did you mean to use Platform?
error[E0412]: cannot find type PlatformMemory in this scope
--> src/data.rs:92:26
|
92 |     pub platform_memory: PlatformMemory,
|                          ^^^^^^^^^^^^^^ not found in this scope
error: aborting due to previous error(s)
error: Could not compile systemstat._`
Could you please look into this?

Looks like your operating system is not supported yet. What OS are you on?

Mac OS Sierra

Yeah, there's zero macOS support, as you can see it's not listed in the README. I sold all of my modern Macs, so I haven't worked on Mac support.
Feel free to contribute it! :) You'll be able to reuse some of the existing BSD support.

@myfreeweb thanks for the clarification, will contribute to the repo. 👍


mu parametrization for multi-head attention / grouped convolution

Hi, in Appendix E.2 - Number of Attention Heads, there is a use case that fixes d_head (dimension size per head) and scales n_head (number of heads). Do we need to change anything when we use such multi-head attention with scaled n_head? Or we still follow the same way as shown in the provided Transformer example (scale d_head, only change 1/sqrt(d) to 1/d and keep other settings the same).
Similarly, when applying to the muP to grouped convolution which keeps dim size per group and scales number of groups, is there any special rule we should follow?
Thanks!

Or we still follow the same way as shown in the provided Transformer example (scale d_head, only change 1/sqrt(d) to 1/d and keep other settings the same).

Yes. If you follow the README here or the Transformer example, then it automatically scales n_head correctly as well as d_head.

Does it mean that if we fix d_head and scale n_head, we can simply use 1 / sqrt(d_head)?

Yes.

The same rule should also apply to the grouped convolution if we fix dim size per group and scale number of groups.

We have not thought about grouped convolution before but I think that's the case after looking at it.

Got it. Thank you for your answer!


Unable to find fragment matching then name

Describe the bug
When a fragment is imported into a query, the following is returned:
 graphql-codegen --config codegen.yml
  ✔ Parse configuration
  ❯ Generate outputs
    ❯ Generate src/generated/graphql.tsx
      ✔ Load GraphQL schemas
      ✔ Load GraphQL documents
      ✖ Generate
        → Unable to find fragment matching then name "DealFragment"! Please make sure it's loaded.

 Found 1 error

  ✖ src/generated/graphql.tsx
    Error: Unable to find fragment matching then name "DealFragment"! Please make sure it's loaded.

To Reproduce
Steps to reproduce the behavior:

My GraphQL schema:

type Query {
   deals: [Deal!]
}

type Deal {
   id: ID!
}

My GraphQL operations:

# Put your operations here

My codegen.yml config file:

overwrite: true
schema: "../admin-server-nexus/src/generated/schema.graphql"
documents:
  - "src/containers/**/*.tsx"
generates:
  src/generated/graphql.tsx:
    plugins:
      - "typescript"
      - "typescript-operations"
      - "typescript-react-apollo"

Expected behavior
Compile generated types
Environment:

OS: MacOS 10.14.4
@graphql-codegen/...: 1.0.7
NodeJS: 11.11

Additional context
The following works when placed in the same file...
// query.tsx
...
const DealFragment = gql`
  fragment DealFragment on Deal {
   id
  }
`

const DEALS = gql`
  query deals {
    deals {
      ...DealFragment
    }
  }
  ${DealFragment}
`

But when DealFragment is imported, it returns the above error.  e.g.
// dealFragment.tsx
...
export const DealFragment = gql`
  fragment DealFragment on Deal {
   id
  }
`

// query.tsx
import { DealFragment } from "./dealFragment"
...

const DEALS = gql`
  query deals {
    deals {
      ...DealFragment
    }
  }
  ${DealFragment}
`

Thank you for the brilliant work with this project!  It's helped me a ton.

Hi @LawJolla , can you please create a small reproduction in a repo? It will make it easier to reproduce 👍

https://github.com/LawJolla/graphql-code-generator-error
https://cl.ly/30296b15fc84

@LawJolla in the issue's description I see you have:
documents: "src/containers/**/*.tsx"
But in your example, you include only one file:
https://github.com/LawJolla/graphql-code-generator-error/pull/1
I included a fragment.tsx and it seems to work.

This does work, thank you.  I guess it should be obvious that importing the file isn't enough -- the fragment needs to be covered in the documents glob.  🍻


[feature] Add Google Cloud Storage Support

Refer to: https://github.com/qor/oss/pull/16

Fixed by: https://github.com/casdoor/oss/pull/11


Get notified about when the Jitsi view gets created and destroyed

It would be great to get notified about when the Jitsi view gets created and destroyed to be able to for example only activate a button, when there is no Jitsi view currently running.
This is required, because conferenceJoined is only called, when joining a conference and readyToClose is called before the view got completely destroyed (see https://github.com/jitsi/jitsi-meet-flutter-sdk/issues/77).
jitsi_met_wrapper has this implemented. The implementation can be used as a blueprint.

This SDK is implemented with the entire activity. There is content in the view even when the conference hasn't been joined, for example when the pre-join screen is displayed.
Additionally, and barring bugs, readyToClose means the acitvity will disappear and resources will be closed in the background.

Yeah, that exactly is my point. Sometimes the SDK is just used to launch a meeting and the launching code needs to know when the launch succeeded, failed and finished to give appropriate feedback to the user.

I understand where you are coming from, but our API doesn't work that way.
First, let's get the readyToClose issue away. I have fixed it in master and we'll make a new SDK release this week, so consider that solved.
Now, many things can happen in a meeting, including errors, but those are often recoverable. If connectivity fails we'll reconnect and there is nothing you need to do.
From user of the API prespective, launch will always succeed, because joining the meeting takes time. Once everything is said and done readyToClose will be called and that's when the meeting is done for.
There are intermediate events, but they are not very useful in general, because you can see things like conference joined multiple times in case the user goes in and out of breakout rooms for example.
This SDK is designed to be high level, if you need lower level control of the meeting state you'll need to work on it yourself, that is not something we are currently planning to do.
Hope that helps!


KeyError at /saml2/logout/

I am using djangosaml2 as SP, where IdP is auth0.com. I don't have any problems logging in, The redirect works and the assertion is posted. When I try to logout i get the following error:
KeyError at /saml2/logout/ '2=urn%3Aoasis%3Anames%3Atc%3ASAML%3A1.1%3Anameid-format%3Aunspecified,4=auth0%7C56e5560a9e61a71f4694c1d8'
I have look   into the code, and after assertion the object client has the field 'users'  with the field under the clinent.users.cache._db with the key given above. But when I try to logout the client.users.cache_db is empty.
Here is the Traceback
Request Method: GET
Request URL: http://localhost:8000/saml2/logout/
Django Version: 1.9.5
Python Version: 2.7.6
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'djangosaml2']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']

Traceback:

File "/home/milutin/PycharmProjects/venvs/saml_sp/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  149.                     response = self.process_exception_by_middleware(e, request)

File "/home/milutin/PycharmProjects/venvs/saml_sp/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  147.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/milutin/PycharmProjects/venvs/saml_sp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  23.                 return view_func(request, *args, **kwargs)

File "/home/milutin/PycharmProjects/venvs/saml_sp/local/lib/python2.7/site-packages/djangosaml2/views.py" in logout
  292.     result = client.global_logout(subject_id)

File "/home/milutin/PycharmProjects/venvs/saml_sp/local/lib/python2.7/site-packages/saml2/client.py" in global_logout
  161.         entity_ids = self.users.issuers_of_info(name_id)

File "/home/milutin/PycharmProjects/venvs/saml_sp/local/lib/python2.7/site-packages/saml2/population.py" in issuers_of_info
  46.         return self.cache.entities(name_id)

File "/home/milutin/PycharmProjects/venvs/saml_sp/local/lib/python2.7/site-packages/saml2/cache.py" in entities
  145.         return list(self._db[cni].keys())

Exception Type: KeyError at /saml2/logout/
Exception Value: '2=urn%3Aoasis%3Anames%3Atc%3ASAML%3A1.1%3Anameid-format%3Aunspecified,4=auth0%7C56e9560e9e61a7af469fc1d8'

and the SAML settings
SESSION_EXPIRE_AT_BROWSER_CLOSE = True

from os import path
import saml2
from saml2.saml import NAMEID_FORMAT_PERSISTENT, NAMEID_FORMAT_UNSPECIFIED

BASEDIR = path.dirname(path.abspath(__file__))

SAML_ATTRIBUTE_MAPPING = {
    'http://schemas.auth0.com/user_id': ('username',),
}

SAML_CREATE_UNKNOWN_USER = True

SAML_CONFIG = {
  # full path to the xmlsec1 binary programm
  'xmlsec_binary': '/usr/bin/xmlsec1',

  # your entity id, usually your subdomain plus the url to the metadata view
  'entityid': 'http://localhost:8000/saml2/metadata/',
  'allow_unknown_attributes' : 'true',
  # directory with attribute mapping
  # this block states what services we provide
  'service': {
      # we are just a lonely SP
      'sp': {
          'authn_requests_signed': 'false',
          'logout_requests_signed': 'false',
          'allow_unsolicited': 'true',
          'name': 'Djangosaml2',
          'name_id_format': NAMEID_FORMAT_UNSPECIFIED,
          'endpoints': {
              # url and binding to the assetion consumer service view
              # do not change the binding or service name
              'assertion_consumer_service': [
                  ('http://localhost:8000/saml2/acs/',
                   saml2.BINDING_HTTP_POST),
                  ],
              # url and binding to the single logout service view
              # do not change the binding or service name
              'single_logout_service': [
                  ('http://localhost:8000/saml2/ls/',
                   saml2.BINDING_HTTP_REDIRECT),

                  ('http://localhost:8000/saml2/ls/post',
                   saml2.BINDING_HTTP_POST),
                  ],
              },

           # attributes that this project need to identify a user
      #    'required_attributes': ['username'],

           # attributes that may be useful to have but not required
       #   'optional_attributes': ['eduPersonAffiliation'],

          # in this section the list of IdPs we talk to are defined
          'idp': {
              # we do not need a WAYF service since there is
              # only an IdP defined here. This IdP should be
              # present in our metadata

              # the keys of this dictionary are entity ids
              'https://blahblahblah.auth0.com/samlp/metadata/blahblahblahblahblahblah': {
                  'single_sign_on_service': {
                      saml2.BINDING_HTTP_REDIRECT: 'https://blahblahblah.auth0.com/samlp/blahblahblahblahblahblah',
                      },
                  'single_logout_service': {
                      saml2.BINDING_HTTP_POST: 'https://blahblahblah.auth0.com/samlp/blahblahblahblahblahblah/logout',
                      },
                  },
              },
          },
      },

  # where the remote metadata is stored
  'metadata': {
      'local': [path.join(BASEDIR, 'remote_metadata.xml')],
      },

  # set to 1 to output debugging information
  'debug': 1,

  # certificate
  'key_file': '', #path.join(BASEDIR, "mycert.key"),  # private part
  'cert_file': '', # path.join(BASEDIR, "mycert.pem"),  # public part

  # own metadata settings
  'contact_person': [
      {'given_name': 'Lorenzo',
       'sur_name': 'Gil',
       'company': 'Yaco Sistemas',
       'email_address'<EMAIL_ADDRESS>       'contact_type': 'technical'},
      {'given_name': 'Angel',
       'sur_name': 'Fernandez',
       'company': 'Yaco Sistemas',
       'email_address'<EMAIL_ADDRESS>       'contact_type': 'administrative'},
      ],
  # you can set multilanguage information here
  'organization': {
      'name': [('Yaco Sistemas', 'es'), ('Yaco Systems', 'en')],
      'display_name': [('Yaco', 'es'), ('Yaco', 'en')],
      'url': [('http://www.yaco.es', 'es'), ('http://www.yaco.com', 'en')],
      },
  'valid_for': 24,  # how long is our metadata valid
  }

I have the same problem, but I think this pull request fixes it. If I add those lines to my cache.py file, it seems that I have the key in the object.
Now it fails with TypeError: <saml2.saml.NameID object at 0x7fcfcf494e90> is not JSON serializable but that's another story ;)

@MiguelSR Thanks for testing it. In addition, could you please test if it works for you with PR #9 changes and the latest pysaml2 (not yet released - please install directly from the repo. Thank you for your help.

Hi everybody, thanks for the testing. Last night I have managed to find and fix the bug. I am not sure if everyghing is ok but works for me, since I have only one IdP. It si similar like one from the pull that MiguelSR pointed out. Here is how my solution looks like:
def sync(self):
        self._set_objects(self)
        self.session.modified = True

Th change is in the class DjangoSessionCacheAdapter
I will probably change it to the code from the MiguelSR push.

Thanks @ajsmilutin, your fix is the least verbose solution, I still don't know why it is needed though. Anyway, it seems innocent otherwise and if there's really nobody who could explain it, I guess we have to take the pragmatic approach and "just include it". Would you please create a PR?

No problem @knaperek . I guess that PR means Pull request. I'll make it later today.

Even with the given fixes - I still run into the problem - I am using django 1.9 and memcache with pylibmc

Please note that the self._set_objects(self) line seems to cause https://github.com/knaperek/djangosaml2/issues/40

@sheepsy90 what kind of problems do you experience? Would you mind sharing the details, thanks!

Closing this for no activity. @sheepsy90 please reopen if you're still experiencing the issues in the latest djangosaml2 version.


Error when running package under Windows

when trying to run the packaged .exe on windows, it always throws the error:

I am using Windows 10, node 5.11.1 and performed the following steps:

clone the Repo
npm install
npm run dev (works well)
npm run package (runs with no erros as well)
But executing the resulting ElectronReact.exe always produces the error statet above

Am I missing something here?

Possibly a webpack issue

I've tested on Windows 10, there is no such problem. Could you list release/win32-x64/ElectronReact-win32-x64/resources/app/node_modules?

Of course, the build command:
C:\daten\code\electron-react-boilerplate>npm run package

><EMAIL_ADDRESS>package C:\daten\code\electron-react-boilerplate
> cross-env NODE_ENV=production node -r babel-register package.js

start pack...
Packaging app for platform win32 x64 using electron v1.2.2
win32-x64 finished!

The node_modules directory afterwards:
C:\daten\code\electron-react-boilerplate>dir release\win32-x64\ElectronReact-win32-x64\resources\app\node_modules
 Volume in Laufwerk C: hat keine Bezeichnung.
 Volumeseriennummer: BEDC-4FDF

 Verzeichnis von C:\daten\code\electron-react-boilerplate\release\win32-x64\ElectronReact-win32-x64\resources\app\node_modules

12.06.2016  10:38    <DIR>          .
12.06.2016  10:38    <DIR>          ..
12.06.2016  10:38    <DIR>          font-awesome
12.06.2016  10:38    <DIR>          source-map
12.06.2016  10:38    <DIR>          source-map-support

This should work without errors. Reference the appveyor build.

@chris-me are you still experiencing issues or did you solve it?

Yes it works now, thank you!


iPhone and pc needs word wrap

In admin product description as it's impossible to highlight everything in iPhone

I don't see this fixed either :( (on pc)


Better handle Redis failure

This patch handles failure of Redis operations in a better way and is aimed to especially allow failure of an Amazon Elasticache node to trigger immediate logging and reconnection of all Redis connection MSM currently uses. The current code has multiple deficiencies in this respect, especially
(a) it wouldn't detect the failure in all cases since not all failures lead to a JedisConnectionException (the new code catches Exception instead of JedisConnectionException)
(b) It reconnects all Redis connections even when a single failure occurs to make sure when the failure is detected no old defunct connections are laying around (this might lead to hard-to-track down errors at later)
(c) It does proper INFO / ERROR logging to allow debugging the problem later in logs instead of just doing DEBUG logging which is likely switched off on a live system
Note that this patch assumes that every Redis error is an indication that the node failed, which however should be safe to assume in production systems.

@msellinger what's the status here, are you waiting for me merging this or are you going to change anything?

@magro This is to inform you that we are currently testing this patch (based on the current MSM version), we will also switch to Tomcat 8.5 in the process. Once everything is tested, I will report back, then I will apply again for including this in mainline.

We have the current master plus this pull request running in production for several weeks now and did not notice any regressions. From my side, this pull request is ready to be merged.


detektMain is noisy "Ignoring a file detekt cannot handle"

Expected Behavior
This kind of messages doesn't appear
> Task :common:core:detektDebugUnitTest
Ignoring a file detekt cannot handle: /Users/brais.gabin/projects/XXXXX/Class.java

Current Behavior
If I run ./gradlew detekt this messages never appear. But if I run ./gradlew detektMain or ./gradlew detektTest they do appear.
Context
Now that we have support to Android variants I'm moving my detekt configuration to use detektMain instead of detekt so I can use Type resolutions

Similar warnings with classpath entries:
> Task :detekt-core:detektMain
warning: classpath entry points to a non-existent location: /home/artur/git/repos/detekt/detekt-metrics/build/classes/java/main
warning: classpath entry points to a non-existent location: /home/artur/git/repos/detekt/detekt-tooling/build/classes/java/main
warning: classpath entry points to a non-existent location: /home/artur/git/repos/detekt/detekt-api/build/classes/java/main
warning: classpath entry points to a non-existent location: /home/artur/git/repos/detekt/detekt-parser/build/classes/java/main
warning: classpath entry points to a non-existent location: /home/artur/git/repos/detekt/detekt-psi-utils/build/classes/java/main
warning: classpath entry points to a non-existent location: /home/artur/git/repos/detekt/detekt-report-html/build/classes/java/main
warning: classpath entry points to a non-existent location: /home/artur/git/repos/detekt/detekt-report-txt/build/classes/java/main
warning: classpath entry points to a non-existent location: /home/artur/git/repos/detekt/detekt-report-xml/build/classes/java/main

I get this line results into the whole src/main/kotlin directory instead of a set of kotlin files like the plain detekt task does.
https://github.com/detekt/detekt/blob/5e03bd951fbc60c25e16f4093a6db4111ea9b7ed/detekt-gradle-plugin/src/main/kotlin/io/gitlab/arturbosch/detekt/internal/DetektJvm.kt#L27
This warning is from detekt-core. We could change info to debug:
https://github.com/detekt/detekt/blob/5a0fe624e571d20e1619b1e42360c2b1f513a2ce/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/KtTreeCompiler.kt#L31

The original issue is still there at 1.16.0-RC2

@Jacks0N23 Can you provide a reproducer? Also is the issue happening only with Type Resolution or also with the plain detekt task?

I have a production project with many modules
some of them contains java and kotlin code in common src/main/java source set
when I'm run detekt or detektMain or detektBaseline I see many lines like:
Ignoring a file detekt cannot handle: /Users/me/StudioProjects/myProject/sources/commons/common-dao/src/main/java/my/company/package/common_dao/DaoUtils.java
and so on…

also I saw files from res/ folder. Yes, I could exclude those packages, but why detekt doesn't filter them at configuration?
Also I would notice that I have default input param, didn't override it


mxnet编译问题，no conversion from 'const int' to 'void *const '

在windows下进行配置。在编译的过程中，出现以下错误。请教一下，这是什么问题？？？
Error	50	error C2446: '!=' : no conversion from 'const int' to 'void *const ' (D:\projects\mxnet\src\engine\threaded_engine.cc)	D:\projects\mxnet\dmlc-core\include\dmlc\logging.h	95	1	mxnet
Error	51	error C2040: '!=' : 'void *const ' differs in levels of indirection from 'const int' (D:\projects\mxnet\src\engine\threaded_engine.cc)	D:\projects\mxnet\dmlc-core\include\dmlc\logging.h	95	1	mxnet
Error	52	error C2446: '!=' : no conversion from 'const int' to 'void *const ' (D:\projects\mxnet\src\engine\threaded_engine_perdevice.cc)	D:\projects\mxnet\dmlc-core\include\dmlc\logging.h	95	1	mxnet
Error	53	error C2040: '!=' : 'void *const ' differs in levels of indirection from 'const int' (D:\projects\mxnet\src\engine\threaded_engine_perdevice.cc)	D:\projects\mxnet\dmlc-core\include\dmlc\logging.h	95	1	mxnet
Error	60	error C2446: '!=' : no conversion from 'const int' to 'void *const ' (D:\projects\mxnet\src\engine\threaded_engine_pooled.cc)	D:\projects\mxnet\dmlc-core\include\dmlc\logging.h	95	1	mxnet
Error	61	error C2040: '!=' : 'void *const ' differs in levels of indirection from 'const int' (D:\projects\mxnet\src\engine\threaded_engine_pooled.cc)	D:\projects\mxnet\dmlc-core\include\dmlc\logging.h	95	1	mxnet
Error	68	error C1001: An internal error has occurred in the compiler.	d:\projects\mxnet\src\ndarray\ndarray.cc	175	1	mxnet
Error	72	error D8040: error creating or communicating with child process	D:\projects\mxnet\build\cl	mxnet

Try pull the latest code. Should be fixed

感谢回复，我拉了代码，重新cmake->编译，仍然存在以下问题：
Error	50	error C1001: An internal error has occurred in the compiler.	d:\projects\mxnet\src\engine\threaded_engine.cc	298	1	mxnet
Error	51	error D8040: error creating or communicating with child process	D:\projects\mxnet\build\cl	mxnet

@yajiedesign Any ideas?

@PoisonBOx  i am test no problem.do you have  update submodule?

问题已解决。需要把Microsoft Visual C++ Compiler Nov 2013 CTP的内容覆盖到vs2013的VC路径下。

I've encountered the same problem.
How you override the path? From where and to where?
Thanks in advanced....

If you encountered problem "no conversion from 'const int' to 'void *const '", update your code.
If you encountered problem "Error 50 error C1001: An internal error has occurred in the compiler. ", maybe you should download "Microsoft Visual C++ Compiler Nov 2013 CTP" and copy to your VS2013/VC path.
Hope it helps.

I use the latest release "mxnet-0.9.3". The cmake is successful. But in VS2013, when I compile the codes under win64-release, the fatal error c1001 keeps coming(:
error C1001: 编译器中发生内部错误。	\mxnet-0.9.3\nnvm\src\pass\order_mutation.cc (line 114)
I have copied all the file under "Microsoft Visual C++ Compiler Nov 2013 CTP" to the VS2013 VC folder and the submodule of nnvm is the latest (nnvm-97727ac7cd73619aad620ab204a5a1881a51e048)
Any suggestion? @piiswrong
Thanks!

@changcheng1987 please use vs2015

Thanks a lot! VS2015 works!!! @yajiedesign

I encountered problem "Error 50 error C1001: An internal error has occurred in the compiler ". Then I install Microsoft Visual C++ Compiler Nov 2013 CTP:

What should I do next to fix this problem?

@louiskoo520 use vs2015

VS2015 error:
D:\Python\MXNet\mxnet1\mxnet\nnvm\src\pass\order_mutation.cc(114): fatal error C1001: 编译器中发生内部错误。
3>  (编译器文件“f:\dd\vctools\compiler\cxxfe\sl\p1\c\trees.h”，第 884 行)

@louiskoo520 what is f:\dd\vctools\compiler\cxxfe\sl\p1\c\trees.h?

@yajiedesign  I don't know and I don't even have f in my computer.

@louiskoo520 Try reinstalling vs2015,You may need to reinstall the system.and not install "Microsoft Visual C++ Compiler Nov 2013 CTP"

I used cmake of  VS2013 compiler to get  mxnet.sln and then used vs2015 to try to compile to get libmxnet.dll.     @yajiedesign

@louiskoo520 you can cmake of vs2015


Set AWS_DEFAULT_REGION

Set AWS_DEFAULT_REGION as well if set in profile config

Eventually I get it working :-D #30

And please update homebrew-formulae if you accept the pull request

@qoomon were you ever able to get it working the homebrew was never updated.

@alexkoepke actually I wrote my own CLI to tackle my needs see https://github.com/qoomon/aws-session

Interesting I'll check it out.


[Feature Request] Test logging / sharing

It would be great to be able to log all test runs (client ip, client geoloc, download, upload, jitter, ping) in a datasource (ie mysql), and ideally also provide a durable URL that users can use to share a result they got running the tool with others.

Already we have this option
Edit Index.html
var saveData = true;
var saveDataURL = "//yourDatabase.Server.com:4500/save?data=";
You need a PHP/MySQL, Node.JS or any other backend
From the post request you can get the client IP and read the data from the URL.
Put it in to a database.
client geoloc can be get from the ipaddress using some ip api
" durable URL that users can use to share a result they got running the tool with others."
After test if you click the application UI , it will take you to
this page
https://openspeedtest.com/results/show.php?&d=104.02&u=103.92&dd=143.64&ud=144.37&p=0.4&j=0
Client can Email this page to support staff or keep it for future ref.
Another option
if you use SelfHosted iframe you can
http://openspeedtest.com/admin
view the results from our database
Fully self hosted, docker image with MySQL or any other database and a dashboard to view all test results is in my todo list. and will work on this later.
But most likely it will be a separate docker image or tag
because most people don't need a database, so why we need to waste resources.


Problem with async update TIWBSText Content in RawText mode

Plase drop on form TIWBSText component, set RawText:=True and fill Lines with simple unorder list html code.
Next drop on form TIWBSButton and in OnAsyncClick event modify TIWBSText.Lines property (i.e. add option).
After button click page is not updated.
I think it's work properly in version before  Oct 8, 2015

Fixed in latest commit.
Take care to replace wwwroot/iwbs/iwbs.js with latest one.
Please test it.

TIWBSText component is updated properly.
But I have another problem. I add own script in WebApplication.CallbackResponse.AddJavaScriptToExecute to do something with updated component (i.e. reinitialize updated data table). Unfortunately, my script is executed before updating the content of the component and is working on its outdated content.
Is there any way to solve this problem?

There are several ways to correctly approach it, (but you need to download latest commit):
a) Put script in the Script property of the component. This script will be rendered inside the tag after the html so any change in object or script will be automatically reflected when anything change. You also have a ScriptParams property that replace values in string. (See bootstrap tables on Demo) .
b) Execute "WebApplication.CallbackResponse.AddJavaScriptToExecute" on OnAsyncRender event of the control. This event happens after component is updated.
c) If you have several controls in you page, for example select inputs, and you want to apply same javascript to all of them (refresh some third party plugin) yo can use global hook "gIWBSOnRenderAsync". See BOOTSTRAPSELECT in ServerController.pas on Demo.
Regards

Thanks for your suggestions. You can close this issue.
Regards

Please, if you can, I'll appreciate if you first test the tree ways I suggest to you and let me know if they all works correctly.
I prefer to close this issue after that.

I checked all three ways and work for me properly.
For global hook I prefer solutions based on a list of procedures that I can register individually instead of a single procedure. This makes it easier to build the program in a modular way.

For global hook I prefer solutions based on a list of procedures that I can register individually
Could you explain me that a little more? May be an example?


spring.rabbitmq.listener.simple.missing-queues-and-exchanges-fatal-during-startup

Enhancement
Please see
Make Spring RabbitMQ fail on missing exchange here is a problem with solution/workaroun RabbitMQ CachingConnectionFactory and publisherReturns configuration. This is also in topic Check if the Exchange with a specified name exist in rabbitmq.
My problem is: I would like application to fail to start when it can't create a @ Bean Binding on startup.
There is nice property
spring.rabbitmq.listener.simple.missing-queues-fatal=true
Wouldn't it be usefull to allow user to configure Rabbit and Spring Context in a way to stop whole application when exception containing "reply-code=404, reply-text=NOT_FOUND" in regard to missing queue or exchange appears?
I would like to make binding do such check (as an option). I just don't want application to start when it can't create a binding. On the other hand possibly I would't like it to stop later, after it starts when an Exchange is not available during running (maybe it was removed and will be recreated in a moment - but I don't know if it's a good reason).
Do you see any sens in what I wrote? Is my problem really a problem? Is there a scope for enhancement in this area, or I just should do all validations manually before creation of Binding as described in Check if the Exchange with a specified name exist in rabbitmq?

Unlike queues configured for containers, the framework has no knowledge of which exchange(s) might be used by the application so it can't impose a check like this.
Use a passive declaration in your startup code instead.

Thx, I did it as described here https://stackoverflow.com/questions/25201931/check-if-the-exchange-with-a-specified-name-exist-in-rabbitmq/25204215#25204215.
Thx for help.

Yes, I did it as described in https://stackoverflow.com/questions/25201931/check-if-the-exchange-with-a-specified-name-exist-in-rabbitmq/25204215#25204215.
Thx for help.


Support drawing thin/Bresenham lines

Godot version
4.0
System information
Vulkan
Issue description
Not sure if this is technically a bug, but I consider it a regression introduced in Godot 4 with Vulkan. Line rendering (e.g. with draw_line, Line2D, etc.) relies on the graphics backend, and the default behavior for line rendering is different between OpenGL and Vulkan. OpenGL uses the familiar Bresenham style lines, while Vulkan uses something a bit different.

Even in OpenGL compatibility mode, the lines are drawn in the Vulkan style. The OpenGL behavior was preferable for many use-cases, and is especially important for pixel art games and pixel art editors (which is what I'm making at the moment).
It seems that the best solution to this might be to use VK_EXT_line_rasterization to (optionally?) provide this behavior, though as I understand it there might be some portability issues there (I don't think MoltenVK supports VK_EXT_line_rasterization yet for instance).
Steps to reproduce
Use draw_line in Godot 3
Use draw_line in Godot 4 and notice that it looks different
Minimal reproduction project
N/A

Are you talking different lines in 4.0 and 3.x or between Forward+ and compatibility?

Between 4.0 and 3.x.
Forward+ and Compatibility both use Vulkan style line rendering

That is weird as the compatibility backend is OpenGL, not Vulkan

Unfortunately VK_EXT_line_rasterization is not very widely supported it seems, so not sure how likely this is to be supported, considering relatively minor visual difference

That is weird as the compatibility backend is OpenGL, not Vulkan, don't know what it is doing

My best guess would be that Compatibility is doing something like translating Vulkan code.

Unfortunately VK_EXT_line_rasterization is not very widely supported it seems, so not sure how likely this is to be supported, considering relatively minor visual difference

It's a shame it's not yet very widely supported. The visual difference may seem minor, but to me and perhaps many others it is essential. I will roll my own line renderer or something rather than settle for this (which is both a pain to do and perhaps significantly less performant).

It probably depends on the OS/driver. I can't reproduce this.
Vulkan API 1.3.224 - Forward+ - Using Vulkan Device #0: Intel - Intel(R) UHD Graphics 630 (CML GT2)

https://user-images.githubusercontent.com/47700418/229897469-8fe4ca25-2170-4a01-93d3-e8e3589584f5.mp4

Ooh, that's interesting... I thought it was defined behavior in the spec.
No, this happens for me with the default width = -1.0 as well

No, this happens for me with the default width = -1.0 as well

This is weird, it works for me correctly for width < 0.
Note that in 3.x this also doesn't work for thick lines (width > 1.001 - see #69851 for details).

I am going to update my graphics drivers to see if that helps, but it would be a tad odd if the behavior of my app relied on having up-to-date drivers...

it would be a tad odd if the behavior of my app relied on having up-to-date drivers...

See also #74714. This is less efficient as you will need to draw pixel by pixel (this method is more useful for Image, BitMap, TileMap).

Okay, I can confirm the problem still exists with the latest NVIDIA drivers installed.

With a bit of work I was able to get it to launch with Intel Integrated Graphics, and there it does indeed use Bresenham-style lines...

I suggest documenting this caveat for now, as support for the extension isn't great:

This part surprises me though:

Even in OpenGL compatibility mode, the lines are drawn in the Vulkan style.

I'm fairly sure the code used for line drawing is identical between 3.x GLES3 and 4.0 Compatibility, so unless thin lines are being drawn using polygons, this shouldn't happen.

@Calinou added two, one in Godot 4 showing the issue, and one in Godot 3 showing the previous behavior

Oddly, compatibility mode seems to now be rendering lines the old way. Maybe it didn't properly switch or something, not sure

Line rendering is done by the hardware, so it is up to the hardware vendor how to implement it in the GPU driver. We don't control it in 3.x or in 4.x. VK_EXT_line_rasterization is really poorly supported, so from our end there isn't much reason to expose it.
Currently (in 3.x and 4.x) if you rely on having bresenham-exact lines, then you need to rasterize your lines on the CPU. While this isn't as efficient as GPU-rendering, it is the only way to have complete control over your rendering pipeline and not find yourself reliant on GPU drivers.

VK_EXT_line_rasterization is really poorly supported, so from our end there isn't much reason to expose it.

Well the Bresenham lines feature does appear to be supported on, e.g. modern NVIDIA cards which happen to also be the ones posing the problem. But I can understand this position.

We don't control it in 3.x or in 4.x

While the behavior isn't directly controlled by Godot in 3.x, it does behave in a consistent manner across platforms because the OpenGL spec is stricter in this area. But I agree that this is ultimately more a failing of Vulkan than Godot...

... you need to rasterize your lines on the CPU

Yep, I've come to the same conclusion (though I suppose Compatibility could work...), but it kind of sucks, especially for other applications that rely more on realtime graphics.
Looking forward to #74714 and perhaps a proper solution in the future if VK_EXT_line_rasterization becomes sufficiently supported or a good workaround is found.

On a 7000 series AMD cards (and I'm fairly sure Vega and 6000 series), vulkaninfo shows the following, FYI:
VkPhysicalDeviceLineRasterizationFeaturesEXT:
    rectangularLines         = false
    bresenhamLines           = true
    smoothLines              = false
    stippledRectangularLines = false
    stippledBresenhamLines   = true
    stippledSmoothLines      = false

I think it's been like this since Vega at least, I'm not going to install my old HD7970 in something to check on that if it even has vulkan drivers.  :-)

Device coverage has increased a little bit.

We should also consider how many of these unsupported devices would actually be supported by Godot anyway (a lot of them use old API versions. Feel free to correct this, but as I understand it, Godot requires an API version of 1.2 or higher. Also from what I can tell some devices appear to be listed in both the supported and unsupported categories, possibly due to drivers updating to support it).
Though this would be the topic for another issue, it might make some sense to have an option that enables "strict lines" (these are the Vulkan-style lines I mentioned, and while I don't like them and they are often undesirable, it makes some sense to have this option since all Vulkan devices must support them, so the output would at least be consistent across platforms).
But by default it would perhaps be best to simply enable the extension if it is available. Then the few devices which are supported by Godot, don't supportVK_EXT_line_rasterization, and don't use bresenham for non-strict lines, can simply be ignored (we can document the possibility of this happening) as it is likely a tiny subset of devices.
Is there any reason why the extension couldn't be enabled for platforms that support it?

Feel free to correct this, but as I understand it, Godot requires an API version of 1.2 or higher.

Godot currently only requires Vulkan 1.0 (though in practice, devices that don't support at least Vulkan 1.1 have pretty broken support).

Good to know. If it does have an appreciable performance penalty, I suppose it would be better to have as an option (say in project settings). Then for applications where performance is critical, it could be disabled, whereas for applications that prize consistent nice looking lines, it could be enabled when available. I suppose that decision would be made after benchmarking though.
I might look into making a fork/PR tentatively implementing this, though I am not so certain I am up to the task.

An interesting alternative(?) to using VK_EXT_line_rasterization for this: VK_IMG_relaxed_line_rasterization

An interesting alternative(?) to using VK_EXT_line_rasterization for this: VK_IMG_relaxed_line_rasterization

That looks very interesting. For context though the "IMG" in the name means it's not an official extension. It's a "vendor extension" meaning it's something made by IMGTec and it's only for their devices. So it can't be used on non IMGTec devices.


No graphs for "Diagnosing memory leaks" scenario

Bug Report
Which version of the demo you are using? (please provide either a specific
commit
hash
or a specific
release).
Current main 02837fe7b71dd3b85db0efb253a97a693b5d5e3a - it downloads 1.4.0-beta images.
Symptom
What is the expected behavior?
Data similar to https://opentelemetry.io/docs/demo/scenarios/recommendation-cache/
What is the actual behavior?
Following charts are not displayed under demo dashboard http://localhost:8080/grafana/dashboards

Recommendation Service (CPU% and Memory)
Service Latency (from SpanMetrics)
Error Rate
Reproduce

Download repository
Execute  docker compose up (note it will download
Enable recommendationCache feature flag
Wait some time (tested 1h+)

Additional Context
Tested on Windows 10 with Docker with Linux containers.

Most of graphs in "OpenTelemetry Collector" dashboard also has no data.

Hi, Mr. Kielek
I met the same problem.
I wonder if you resolve this problem?

I have a similar problem in that I don't have any data in the recommendation graphs. I noticed that the metric runtime_cpython_cpu_time is not available in Prometheus. I only have runtime_cpython_cpu_time_seconds_total.

It might be just a metric name mismatch in Grafana vs Prometheus. For example for the latency graph click on its title, edit, and replace the metric name duration_milliseconds_bucket with duration_bucket in all four queries. The error rate one might need to be updated to calls instead of calls_total.
Notice also that the $service variable might need to be updated (go to dashboard setup > variables). If you update this variable definition to 'label_values(service_name)' the 'service' drop down menu on top right of the dashboard will show all services for selection (it won't work for all graphs though e.g. the Recommendations Count graph will obviously only work with the recommendation service selected at the drop down.

Closing this as part of issue cleanup. If there's anything that needs to be done, please create a new issue.

@austinlparker Can you please reopen it? I do not look that the bugs have been addressed.

Can you provide a repro case for 1.8? I feel like this was fixed.

Can you provide a repro case for 1.8? I feel like this was fixed.

Please assign it to me. I will take a look tomorrow or on Wednesday if the issue still exists.

@austinlparker It is fixed. Feel free to close.

@pellared the problem still exists.
I have run a helm repo upgrade and then helm upgrade <release>
Then when I run helm history <release> the app version is still the same.
REVISION	UPDATED                 	STATUS    	CHART                    	                   APP VERSION	DESCRIPTION
1       	Thu Feb 29 10:25:31 2024	superseded	opentelemetry-demo-0.29.0	   1.8.0      	         Install complete
2       	Sun Mar 10 18:40:00 2024	deployed  	opentelemetry-demo-0.29.0	   1.8.0      	         Upgrade complete
Can this issue please be reopened and looked into for resolution.


Dummy commit to trigger GH actions

Codecov Report

Merging #2414 (681e8e8) into develop (8a2d802) will decrease coverage by 0.56%.
The diff coverage is 2.94%.

@@              Coverage Diff              @@
##             develop    #2414      +/-   ##
=============================================
- Coverage      66.14%   65.58%   -0.57%
- Complexity      2169     2398     +229
=============================================
  Files            908      830      -78
  Lines          30952    26389    -4563
  Branches        3801     3183     -618
=============================================
- Hits           20474    17307    -3167
+ Misses          8861     7676    -1185
+ Partials        1617     1406     -211

Impacted Files
Coverage Δ
Complexity Δ

...affer/store/operation/handler/GetWalksHandler.java
5.55% <0.00%> (-0.95%)
0.00 <0.00> (ø)

.../operation/graphframe/GetGraphFrameOfElements.java
96.55% <ø> (ø)
14.00 <0.00> (ø)

...va/uk/gov/gchq/gaffer/operation/impl/GetWalks.java
65.42% <10.00%> (-5.72%)
30.00 <1.00> (+1.00)
:arrow_down:

...hq/gaffer/accumulostore/operation/MultiInputB.java

...tore/retriever/impl/AccumuloSingleIDRetriever.java

...ore/coprocessor/processor/ValidationProcessor.java

...q/gaffer/hbasestore/HBaseSerialisationFactory.java

...n/handler/SampleElementsForSplitPointsHandler.java

...er/accumulostore/AccumuloSerialisationFactory.java

.../gchq/gaffer/accumulostore/AccumuloProperties.java

... and 183 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 eec0c3f...681e8e8. Read the comment docs.


Franchises

Pull Request Test Coverage Report for Build 318146620

32 of 137 (23.36%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-6.6%) to 69.875%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/front-end/server/games_handlers.go
20
22
90.91%

cmd/front-end/server/franchises_handlers.go
2
24
8.33%

cmd/api/server/franchise_handlers.go
4
39
10.26%

pkg/client/franchises.go
0
46
0.0%

Totals

Change from base Build 312172891:
-6.6%

Covered Lines:
784

Relevant Lines:
1122

💛  - Coveralls


Checkpoint Feedback Implementation

Changes Unknown when pulling dcee04260375f15fd272bb3f8f88e11bc9511f91 on feedback into ** on develop**.

Changes Unknown when pulling 2b46888cc5a1f3c5424ac8fe6a791faa7ce5997e on feedback into ** on develop**.


Add opening tutorial and consumer tutorial.

The following are added in this PR:

An opening tutorial to provide a suggested tutorial sequence that a reader should follow.
A digital twin consumer tutorial.

Updates to the digital twin provider tutorial were included in this PR.

The markdown-link-check states that https://aka.ms/opensource/security/pgpkey is a dead link. This link is valid.


Update README.md

Minor spelling mistake removed. "cummunicate" changed to "communicate".

Good catch! Thanks! :cake: :tada:


[NODE-1096] Converting tests to run with mongodb-test-runner, round 2

@mbroadst here are the rest of the tests

@malexandert Hmm looks like the build is failing for a non-obvious reason: https://travis-ci.org/christkv/mongodb-core/jobs/265363148#L555

Generally LGTM after you get the error above fixed. Ready to merge after a successful CI run.

@mbroadst the CI run is passing now. There was a bug in the test runner causing the non-obvious failure, and I added .skip to a couple of flaky pool tests


Change system_information_string according to request from Spotify

In communication with @sashahilton00, Spotify requested us to use a system_information_string that looks like librespot_[short sha]_[random 8 characters build id].
Original PR: #207
It extends version.rs, which is generated by vergen. The build script will only execute if there is no cache or the file changed - so generating a new ID (or version information) after the first build has to be done with cargo clean && cargo build.
Of course pushing this or a similar functionality upstream should be considered afterwards.

For me, this works! Thanks!

This works and has been added to LibreELEC

Perfect! It works again. Thank you.
Now I've got this issue #102
Does anybody else have this issue or is it a merge error by me?

Yes. Your are right. I havent found this fix cause the thread was closed. Compiled with this fix works for me . THX .-)

Thanks

@Bebowi
I doubt the error you are experiencing is related to this PR, since my commit does not touch anything directly related to the audio pipeline. Please try to use another backend or continue in #102
@plietar
You're welcome, glad I could help. Thanks for merging!


move add migration stub model for tenant

/cc @gtanzillo @jrafanie

:+1: Much better, thanks :)

Good work @kbrock, we were seeing who'd find the mistake.  You win :star2:
:confused:


Reading in CESM history file catalog using intake-esm

When reading back in the catalog created from the cesm_history_file parser, using the following arguements:
b.save(
    # File path - could save as .csv (uncompressed csv) or .csv.gz (compressed csv)
    "/glade/work/mgrover/cesm-hist-test.csv",

    # Column name including filepath
    path_column='path',

    # Column name including variables
    variable_column='variables',

    # Data file format - could be netcdf or zarr (in this case, netcdf)
    data_format="netcdf",

    # Which attributes to groupby when reading in variables using intake-esm
    groupby_attrs=["component", "stream", "case"],

    # Aggregations which are fed into xarray when reading in data using intake
    aggregations=[
        {
            "type": "join_existing",
            "attribute_name": "date",
            "options": {"dim": "time", "coords": "minimal", "compat": "override"},
        }
    ],
)

And read in/subset using the following:
# Open catalog
col = intake.open_esm_datastore(
    "/glade/work/mgrover/cesm-hist-test.json",
    csv_kwargs={"converters": {"variables": ast.literal_eval}}, sep="/"
)

# Search for the variable TEMP
cat = col.search(variables='TEMP',
                 case='b.e20.b1850.f19_g17.test')

# Use to_dataset_dict to read in the data
dsets = cat.to_dataset_dict(cdf_kwargs={'use_cftime': True, 'chunks': {'time':10}})

The dictionary of datasets is constructed using component/stream/case/date/frequency/variables/path which is not what was specified by the aggregation specifications. Any idea of what could be going wrong here @andersy005 ?

@mgrover1, it turns out that there's a bug in ecgtools :( The following entries are supposed to be under an aggregation_control key in the json.
"variable_column": "variables",
  "groupby_attrs": [
    "component",
    "stream",
    "case"
  ],
  "aggregations": [
    {
      "type": "join_existing",
      "attribute_name": "date",
      "options": {
        "dim": "time",
        "coords": "minimal",
        "compat": "override"
      }
    }
  ],

ecgtools should write this as
"aggregation_control":
{
"variable_column": "variables",
  "groupby_attrs": [
    "component",
    "stream",
    "case"
  ],
  "aggregations": [
    {
      "type": "join_existing",
      "attribute_name": "date",
      "options": {
        "dim": "time",
        "coords": "minimal",
        "compat": "override"
      }
    }
  ],
}

I'm going to find the bug, and will ping you once I have a solution in mind...

Reading in the catalogs now returns
KeyError: 'variable_column_name'

Could this be fixed by replacing variable_column with variable_column_name within the dictionary/json?

Good catch... variable_column is a typo / bug. Updating these lines should resolve the issue:
https://github.com/NCAR/ecgtools/blob/0f11d116e7e642a6defdd56f6bd4bda78518828a/ecgtools/builder.py#L39
https://github.com/NCAR/ecgtools/blob/0f11d116e7e642a6defdd56f6bd4bda78518828a/ecgtools/builder.py#L215
A PR is greatly appreciated.


[Modal] .scrolling.content’s scrollbar can’t be dragged in Firefox (55.0.3)

In Scrolling Content Modal, the slider is not draggable to scroll but works fine with mouse wheel. If only you click and hold the slider then drag it to the middle of the screen, somehow you can scroll up and down. Still looking for the problem.

Hi @ashkonBG, I couldn’t reproduce. What version of Chrome were you using when you noticed that?

Hey Andrew, there's no need to reproduce it just go to here, find the Scrolling Content press Run Code to launch the modal. Now if you drag the slider, it won't scroll unless dragged to the middle of screen.
Works fine with Chrome but not in Firefox (55.0.3).

@ashkonBG Custom scrollbars apply to Webkit-based browsers only, so they don’t affect Firefox. I’ve just tested 55.0.3, and it works as expected. What’s your OS?

Windows 10

@Banandrew i don't think this is a custom scrollbar, it's just a nested scroll. Maybe I am wrong, don't know.

@ashkonBG Could you please post the modal’s markup that you’re using, the one with scrolling content?

Yes, the one says Scrolling Content with "New in 2.2.11" teal label in front of it.
Maybe I should make a video out of it!

@ashkonBG When I asked for the modal’s markup, I meant the HTML that you’re using.

@ashkonBG Nevermind, I understood what you said incorrectly.

@Banandrew like I said there's no need to see what I am using or how to reproduce the scenario. Even the official example in here doesn't work.

@ashkonBG Yes, sorry, it’s been a busy day, and my mind seems to be shutting off. In any case, I can’t see it on a very similar setup (also Windows 10), and we can’t fix it without some way of debugging it. Please record a video of it, and I’ll leave the issue opened in case there will be people that can confirm it.
The documentation has custom scrollbars enabled by default, so the last thing I can suggest for you to try is to disable them locally: put @useCustomScrollbars: false; in installation_folder/src/site/globals/site.variables and rebuild the framework. I don’t think it will work, because it doesn’t make much sense, but it’s worth a try.

Let me record a video or something just to be clear of what I mean. If you don't face the same thing, there's probably something wrong with my machine, since we both have similar setup.

@Banandrew I am also having the same issue. It seems to work fine if I use mousewheel to do the scrolling but it doesn't work if I try to drag the scrollbar. And just like @ashkonBG said, even the official modal example is not working.
I am on Windows 10 using FF Developer Edition 56.0b9 (64-bit)

@Banandrew should I create a new issue as you are not responding on this one?

Hi @ashkonBG, no. I’m not responding, because there is nothing for me to say.

@Banandrew were you able to reproduce this issue or what? The only label is "Cannot Reproduce" right now, so if you were not able to reproduce the issue I can post a screencast for you to take a look.

@ashucg We can’t fix what we can’t reproduce, so if you guys have time to investigate it, please do.

@Banandrew I will try to investigate this issue as of now I have noticed that this issues occurs on FF when screen width >= 800

@ashkonBG @Banandrew Removing perspective: 2000px; for .ui.page.dimmer fixed this issue for me.

@ashucg, you are right. Removing perspective from .ui.dimmer.modals does make it draggable.
@Banandrew it definitely got something to do with the media queries, since we all have same setup and you can't reproduce it.

I am also having the same issue.

@linjingming I have removed the perspective rule to fix this issue, I would recommend you to do the same.

In our team, we are experiencing the issue with:

Windows 10
Firefox 58

Is there any progress in this issue?
We'd like to provide our customers a fix from from Semantic UI core itself, without the need to write some override CSS...

@srissel It is working fine on Firefox 58.0.1x64 and Firefox 59.0b5x64 (Dev. Edition) on Linux and on Windows 10 (tested using Virtual Box), but if you are facing this issue, you can still use the fix that has been mentioned above.
I don't think any changes have been made to the semantic core regarding this issue because this is related to only Firefox (browser specific) and has been already fixed in latest Firefox versions (working fine for me since Firefox 57).

@ashucg , thanks for your reply.
All of my colleagues and me (5 persons in total) are able to reproduce this issue on your own Semantic UI modal page: https://semantic-ui.com/modules/modal.html#scrolling-content
We all use most recent Firefox 58.0.1 64bit on Windows 10.
A fix from Semantic UI is highly appreciated, otherwise we'd have to incorporate this fix manually a vast number of our customer themes via overrides.

@srissel, sorry but I am just a guy who has faced this issue in past. I have create a pull request (#6132) though.


Add info when approving or rejecting expenses from email

I got an email saying there was an expense, I clicked the Approve button.
Site opened and I waited for .... 20-30 seconds while nothing at all showed up. Site appeared dead.
Then the page loaded and almost immediately jumped to this :

I would just like to see the details of what expense I successfully approved. This is useful in case I clicked approve on multiple of them.
Not a big change, just a link "back to expense" or a summary of the expense or anything.
This is really important, especially in the context of such confusingly long load times.

Sort of related to #2188 - all approval screens should have basic info about what you're approving.

@mixmix We've had other reports of crazy load times from New Zealand. If you get more data about this at some point we'd love to have it so we can better understand what's the problem.
Regarding this specific issue I totally agree that we should display info about the expense that has been approved here. I also agree with @alanna's comment above:

all approval screens should have basic info about what you're approving.

I'll try to see if we can create a simple pattern on the approval page so contributors can add details easily.
In the mean time, I'll try to see if we can have the full expense displayed here or at least the most important info (submitter, title, amount...etc).

Yeah a simple improvement of basic info sounds perfect.
I'll try to snapshot asset and api load times if I hit a slow load in
future. Past couple of weeks we're noticeably better. Mysterious
On Fri, 26 Jul 2019, 00:52 Benjamin Piouffle<EMAIL_ADDRESS>wrote:

Closed #2193
https://github.com/opencollective/opencollective/issues/2193 via
opencollective/opencollective-frontend#2234
https://github.com/opencollective/opencollective-frontend/pull/2234.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opencollective/opencollective/issues/2193?email_source=notifications&email_token=AAUK3HTTAT5AHFKUKCEMXDLQBGO2FA5CNFSM4H5AQ3W2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSWJHBSQ#event-2509402314,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUK3HX72MDBTVHXGEU5JCDQBGO2FANCNFSM4H5AQ3WQ
.

hey @Betree I just approved an expense and saw the solution to this issue in action!
my heart sang for the clarity I experienced in the process.
THANK YOU :heart: :heart: :heart:

Thanks for the feedback @mixmix! Really happy to hear that :smiley:


ES6 for-of is not parsed correctly

It seems to me ES6 for-of is not correctly parsed.
Uglifier.new.compile("for (var value of myArray) { console.log(value) }")
# => Uglifier::Error: Unexpected token name «of», expected punc «;»

Wondering if others experience same issue.

ES6 support in uglifyjs is still more or less experimental and not enabled by default in Uglifier. Uglifier.new(harmony: true).compile("for (var value of myArray) { console.log(value) }") works.


Empty yaml documents should be ignored when importing lists

What version of CUE are you using (cue version)?

$ cue version
cue version 0.9.2

go version go1.22.5
      -buildmode pie
       -compiler gc
       -trimpath true
  DefaultGODEBUG httplaxcontentlength=1,httpmuxgo121=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1
     CGO_ENABLED 1
          GOARCH amd64
            GOOS linux
         GOAMD64 v1
cue.lang.version v0.9.2

Does this issue reproduce with the latest stable release?
Yes.
What did you do?
Import a list of yaml documents and transform it with -l.
❯ cue import -l "strings.ToLower(kind)" --list abc.yaml
error evaluating label strings.ToLower(kind): reference "kind" not found

abc.yaml
---
kind: Deployment
---
---
kind: Deployment

What did you expect to see?
It would be nice if this just didn't add anything to the list instead of failing. I use cue import a lot to import Helm charts and often, because Helm is just a bad text templating engine, it will include empty yaml documents. I therefore have to find the empty documents myself and run the import again.
What did you see instead?
error evaluating label strings.ToLower(kind): reference "kind" not found

This seems reasonable. Do you want to send a patch with a test?

I would like to take a look at this issue

@haoqixu yes, I think that's fine. The YAML spec strongly hints that an empty document is equivalent to a null value.

I also filed https://github.com/cue-lang/cue/issues/3608 for an idea we had to extend the YAML encoding a bit too, so that it is able to omit empty or null documents entirely from an input. However, that's not needed to resolve the issue here with cue import --path.


Add docker-ecr-auth rule to testing Makefile

Issue #, if available:
Description of changes:
Add docker-ecr-auth rule to testing Makefile
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/ok-to-test


tooltip is not hidden when setting value to null (duplicate of 4352)

Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-issue-tooltip-aap9et
Steps to reproduce

Create Tooltip
Set nz-tooltip to some value
Set nz-tooltip to null

What is expected?
Tooltip should not be visible when set to null.
What is actually happening?
Previously set tooltip title will continue to be visible.

Environment
Info

ng-zorro-antd
8.5.2

Browser
Chrome

Was listed as fixed before.  Maybe a regression? https://github.com/NG-ZORRO/ng-zorro-antd/issues/4352
This happens with nz-tooltip and nzTooltipTitle

Closed in this commit. Will be shipped in 9.0.0. For now please use nzVisible as a hack.

Closed in this commit. Will be shipped in 9.0.0. For now please use nzVisible as a hack.

nzVisible is doesn't work because it shows it all the time then, and not on hover.  But I can use the hack from the other ticket with nzOverlayStyle.
When is 9.0.0 coming?

Closed in this commit. Will be shipped in 9.0.0. For now please use nzVisible as a hack.

nzVisible is doesn't work because it shows it all the time then, and not on hover. But I can use the hack from the other ticket with nzOverlayStyle.
When is 9.0.0 coming?

They're aiming for a release before February

I am closing this since 9.0.0 had been released.


New Release?

Should we release 0.1.11 soon? there are quite a lot of updates since october

yea, i think so too


What authentication options do you provide?

Hello,
By default there is localhost authentication and no one can access website from outside. Do you provide other middleware configuration for authentication which can be easily switched?

You can use the same configurations as in the IdentityManager:
https://github.com/IdentityManager/IdentityManager/wiki/Security-Configuration


HTTPS support

Hi friends! Thanks again for the wonderful project.
I realized that when trying to fetch() the analytics for a page on HTTPS, it fails, since the micro-analytics server is HTTP, so Chrome rejects the fetch because it's an "insecure resource".
Looks like micro can be set up with HTTPS pretty simply. There's an example here.
I'm considering forking this project to implement it, but I first wanted to check if there wasn't a simpler way to do this that I was overlooking? Has anyone else implemented this for an HTTPS page?
Thanks!

Hm, I don't think you want to go with a self-signed certificate, otherwise everybody would have to add a security exception before they can request the analytics?

Hm, I don't think you want to go with a self-signed certificate, otherwise everybody would have to add a security exception before they can request the analytics?

Ah, hm. You're probably right. I was imagining that it would show a warning if you were to visit the page, but that a fetch() would still work.
I can generate a cert with LetsEncrypt's certbot pretty simply, do you have any suggestions for how micro-analytics could consume it?

You're probably better served by just putting a proxy with a SSL cert in front?

I agree with @mxstbr that a proxy like nginx would be a good option for this. We have some pointers for setting up nginx in docs/server-setup.md, but it lacks info about ssl. Maybe we should add a note about that?
@joshwcomeau Is there anything that hinders you from using a proxy?

Ah, right! That should be pretty straightforward. I think once you know how to set up nginx, adding SSL support is a pretty small jump.
I think the reason this wasn't immediately intuitive to me is because the node app is abstracted from the user using the CLI. For some reason, it hadn't occurred to me that I could just treat it as any of my other node apps.
I think this is likely just momentary forgetfulness on my part, though, and not a generalized problem. I don't really think anything needs to be changed with the docs... if anything, just a link to the DigitalOcean docs on setting up nginx with lets-encrypt would suffice :)
Gonna close, since the issue is resolved IMO :) thanks for the quick feedback!


Issue with k8s.io/docs/tutorials/configuration/configure-redis-using-configmap/

On this particular page the kubectl apply -k . does not work, should it be kubectl apply -f . ?
Even when using this the validation fails and nothing is created...

I later found that minikube has kubernetes version 1.14 but kubectl 1.13 which is causing this confusion.
The current online playgrounds both appear to have this issue...
Therefore it is a little bit confusing but not technically an issue, the documentation

@gjanders I am facing the same issue.
I am using kubernetes v1.14.0 and minikube v0.35
Do you know a workaround for this?

The online versions are not yet running v1.14.0 or newer so you either need to install minikube locally or you have to work around the instructions...


Filter on sub-relations not possible according to BNF

I have tables team and player. I want to express something like:
or=(player.name.in.(Messi,Suarez),player.active.is.true)
In chat, Joe provided link to BNF: https://github.com/begriffs/postgrest/issues/1017. Unless I am misreading the BNF, this does not seem to be possible. This is becuase of the following rule:
<and-or-clause> ::= <string> "." <filter-type1> "." <string> | <string> "." <filter-type2> ".(" R ")"
Should it be something like the following to support the query above?
<and-or-clause> ::= (<string> ".")+ <filter-type1> "." <string> | (<string> ".")+ <filter-type2> ".(" R ")"
Thank you!

Sidenote, it surprises me that an and or or does not just embed a filter directly.

Answered on chat:
Try player.or=(name.in.(Messi,Suarez),active.is.true), there are other examples on the tests here https://github.com/begriffs/postgrest/blob/master/test/Feature/AndOrParamsSpec.hs#L28-L41
It works! Thanks!


Refactor request configuration internal representation

Refactor how request configuration is represented internally from a purely extension-based model into a centralized struct. This reduces the generalized code somewhat, but makes it easier to understand for people less familiar with the codebase.
More importantly, this delivers a 5-10% performance improvement in synthetic benchmarks, since it greatly reduces the number of wasteful hashmap lookups we do when trying to apply request configuration to an easy handle.

@teto-bot rustfmt


VS Code won't load snippet extension in Extension Development Host

Does this issue occur when all extensions are disabled?:  What type of extension do you want to create? New Code Snippets
Folder location that contains Text Mate (.tmSnippet) and Sublime snippets (.sublime-snippet) or press ENTER to start with a new snippet file.
? Folder name for import or none for new:
? What's the name of your extension? simple-markdown-snippets
? What's the identifier of your extension? simple-markdown-snippets
? What's the description of your extension? Snippets for simple markdown like bold, code, frontmatter, etc.
Enter the language for which the snippets should appear. The id is an identifier and is single, lower-case name such as 'php', 'javascript'
? Language id: markdown
? Initialize a git repository? Yes
Added object in snippets.code-snippets
fn + f5
create .md file and try out the snippet

Expected Behavior
See the snippet I made
Actual Behavior
It does nothing
Additional Info
I also tried adding the extension folder into my .vscode/extensions folder but no changes. In the debug console I saw the angular-folder-switcher extension load, so I tried disabling the extension but yea, nothing happens. No errors displayed in debug console.
The JSON in my snippets.code-snippets
{     "Markdown Code Snippet": {         "prefix": "!code",         "body": [             "```<language> title='Title'",             "```"         ],         "description": "Markdown 'code' template for docusaurus"     } }

create .md file and try out the snippet

How do you try it out? Via F1 > Insert Snippet? Via suggest?

Oh... doing > Insert Snippet showed my snippet. I tested by going to a .md file and typing '!code' to see if a suggestion would pop up.

Got it to show in intellisense, needed to add this to my settings.json before running the dev host
    "[markdown]": {         "editor.quickSuggestions": {             "other": "on",             "comments": "inline",             "strings": "inline"         }     }
Thanks for leading me to the right direction 😂


Scroll element into view before click

It seems that currently there is no automated way to scroll an element into view before clicking onto it.
FlaUI.Core.AutomationElements.Infrastructure.AutomationElement.PerformMouseAction(bool, Action) calls GetClickablePoint() which throws an exception if the control is out of view, at least in my case with a WinForms application.
Does UIA provide any methods for this?
If not, should we search for elements which support the ScrollPattern among the Parents of the control to be clicked and check if their BoundingRectangle contains the control and if not, scroll them?

There is a ScrollIntoView in the ScrollItemPattern. So items that support that pattern can be scrolled to with that.

Unfortunately in my case the control which is out of view does not support the ScrollItemPattern, although its ancestor supports the ScrollPattern. The only way of getting around (except changing the tested application which is very complex) would be to implement something which finds the scrollable ancestor(s) and scroll.

@dbtfsbre I have had to do this in our application as well since our grids do not support ScrollItemPattern. Essentially I made it so when retrieving the a row I would wrap it in a decorator that had a callback on it. Then I could call BringIntoView on the row and it would tell the grid to bring itself into view.

Just wanted to bring this up to ask if this kind of logic should be implemented in FlaUI.
Now I have implemented the described logic and it is working quite well.
@maxinfet In my case it is not an option to change the code of the tested application.

Also, if this would be added to FlaUI, should it be called by default before each MouseOperation on an AutomationElement? The method would go through all ancestors to verify if any of them needs to be scrolled (it is possible that multiple views need to be scrolled).
I didn't see any performance influence with WinForms and WPF controls, but still, the whole tree would be walked through in every call.

I had a similar problem, and here is what I did.  Count is the number of rows (in my case in a listbox).  As I process them, I check to see if the IsOffscreen is true, and if it is then I use the ScrollDown method of the vertical scrollbar.
' make sure the row is visible (or else the capture doesn't work)
For i As Integer = 0 To count - 1
If i < count - 1 AndAlso uie.lv.Rows(i + 1).IsOffscreen Then ' need to look at the next one, because if it's partially onscreen it returns false
' need to scroll down
If scrollBar Is Nothing Then
LogError("No scroll bar exists when an element is offscreen.")
Else
scrollBar.ScrollDown()
End If
End If

@maxinfet Yes, it would be nice to see your solution. So far I am using the code in my pull request because in complex views with 3rd party controls this is reliably working. However it might be better to use the scrollbar instead of only the ScrollPattern of parent views.

In my case the problem is an application window with different docking areas. In this case, if one of the docked views has to be scrolled, the controls within that view have been rendered already.
In case of a list view or grid this might not be the case, so it is unknown where the control actually is before scrolling. This requires scrolling for an unknown number of times and if the ScrollPattern is not available on parent controls, also for an unknown value.

Created new pull request #160 which only scrolls hidden standard controls into view using the ScrollPattern


On-screen messages

These are messages that appear on screen.
They can be used for:

current zone name
vehicle name when ped enters it
inflicted damage
messages sent from server

This should be implemented after transition from imGUI to uGUI.

Done as of commit 29b7ae65f036cf611f200a5b6d31b1184c77e2c3.


update subscription (service) attributes are not received by service

[Build] 16.1 fix3 15.12.2016 (pre-fix4)
[Steps to reproduce]

create custom subscription and customer attributes as supplier
publish mock product service as supplier
as customer subscribe to service
set subscription attributes when provisioning
update subscription attributes

[Expected result]
Check the mockproduct for the new parameters after update
[Observed result]
Subscription (Service) attributes are not received, only the customer attributes.

I updated the modification flag to recognize uda only modifications. Fix merged to master.

[Build] 16.12.2016 16.1 fix4
verified


Loop unrolling and initialization expressions

The following does not work as intended:
let x = 1;
for (let i = 0; i != 10; ++i)
{
    let y = x + i; // temporary assignment to y in unrolled loop (different value on each iteration);
    printd(y);     // will print 1 each time (value on first iteration).
}

For now, use for* instead to suppress loop unrolling when this bug is encountered.

Fixed -> needed an extra condition before renaming the temp


v.1.1.0 Beta 2, Skip Previous still not fixed

You can still see it for yourself

That's odd, it looks fine in the emulator. I've made a slight change to the xml file for that icon, but I don't want to commit it unless I know it works. I've compiled a debug build that has a few very minor code optimizations in addition to the change I mentioned before which you can download here. You can install it like a normal apk, but it won't overwrite your current installation since it has a different package name.
Let me know if this fixes it for you, and thanks again for testing.

Alright I'll give it a try and report when I get time :) :+1:

I added a potential fix with 49813a9. It's not the same one as in the apk I linked to before, but it should still work (probably). The patch has rolled out in 1.1.0 beta 3, so I've taken down the link I sent before.
Let me know if this resolves it when you have the time.

The debug version had the bug fixed.


Cf提示error 1003

https://your-worker-url.com/https://example.com/ 以上面这种样式就会出现下面报错.
但这种就没问题https://your-worker-url.com/example.com/
注： 开了自定域名
Please enable cookies.
Error 1003
Ray ID:xxxx • 2024-09-21 03:23:15 UTC
Direct IP access not allowed
What happened?
You've requested an IP address that is part of the Cloudflare network. A valid Host header must be supplied to reach the desired website.
What can I do?
If you are interested in learning more about Cloudflare, please visit our website.
Was this page helpful?  Yes  No
Thank you for your feedback!
Cloudflare Ray ID:xxx • Your IP: Click to reveal xxxx • Performance & security by Cloudflare

我也是


Added GROUP syntax

Implements #5257

@pekkaklarck I think i am done.
The one open thing i am aware of is the User Guide.
I would ask you to write that, then i can focus on the certs and the exam question.
Let me know if i shall do changes.

Test failures were due to my changes to master. I've fixed all minor issues that I noticed. Assuming tests pass, I'll merge this and then handle templates afterwards.