Allow Radix primitives to use CSS transitions to suspend unmount while animation plays out (currently only CSS Animation detected)

Feature request
From the docs:
You can use CSS animation to animate both mount and unmount phases. The latter is possible because the Radix Primitives will suspend unmount while your animation plays out.
I was curious how this worked and discovered that the implementation in:
https://github.com/radix-ui/primitives/blob/c86881840053c52cd34483f3c9e2d5a6ac0cba99/packages/react/presence/src/Presence.tsx#L112-L118
If we detect that the animation is from a CSS Transition
stylesRef.current.transition !== undefined

instead we can use:
node.addEventListener('transitionstart', handleTransitionStart);
node.addEventListener('transitioncancel', handleTransitionEnd);
node.addEventListener('transitionend', handleTransitionEnd);

//There is also a 'transitionrun' event. It might be important regarding the transition state?

It probably isn't as straightforward as adding these event listeners as there might be some subtle differences between CSS animation and transitions.
Examples in other libraries
This component and proposed CSS transition detection is also implemented in the Transition component in the HeadlessUI library
https://headlessui.dev/react/transition
https://github.com/tailwindlabs/headlessui/blob/main/packages/%40headlessui-react/src/components/transitions/transition.tsx
So you might want to take a look to see if it sparks any inspiration
Desired Result
This is the CSS Transition implmentation of the example given in the animation docs (https://www.radix-ui.com/docs/primitives/overview/animation)
.dialog-overlay[data-state='open'],
.dialog-content[data-state='open'] {
  opacity: 1;
  transition: opacity 500ms
}

.dialog-overlay[data-state='closed'],
.dialog-content[data-state='closed'] {
  opacity: 0;
  transition: opacity 500ms
}

There is also the issue that CSS transitions will handle interruption smoother than CSS animations.
If a user decides to close and open again before the close animation is complete, CSS Animations will restart at 0% while CSS transition values will keep their transit state while trying to transition back to the closed state.

We used to support transitions in Presence but unfortunately had to remove it due to edge-case issues that came with it.
Our Presence doesn't do the same thing as the libraries you have linked to as it doesn't add any animation or transition styles for you, it simply postpones the unmount phase when it detects an animation in your CSS.
The "detecting" is the tricky part because transitions needed multiple requestAnimationFrames in our code to detect them and then trigger them on mount whereas animations are much easier to detect and execute on mount: https://codesandbox.io/s/modest-ramanujan-vo7s1?file=/src/App.js.
Usually most things can be achieved with CSS animation so we have historically pushed back on requests to add transition components/support. I'm curious what your use-case is that would benefit from transitions instead?

If a user decides to close and open again before the close animation is complete, CSS Animations will restart at 0% while CSS transition values will keep their transit state while trying to transition back to the closed state.

This is an interesting point so it would be great to see an example of where you have needed this? There may be some new ways that we can solve for transitions if needed but would need to understand use-cases first.
Some high level thinking if we were to revisit this:
.fade { transition: opacity 500ms; }
.fade[data-state="open"] { opacity: 1; }
.fade[data-state="closed"] { opacity: 2; }

<TransitionPresence className="fade">
  <Dialog.Content />
</TransitionPresence>

This way Presence can instantly detect there is a TransitionPresence via context and bypass all the imperative detecting. The only requestAnimationFrame it would need would be to make sure that adding data-state="open" is delayed slightly after mount.

Adding transition detection seems to be more complicated than I expected. You're right that CSS animations does the job fine and the radix API allows the developer to implement more complex animations if necessary.
My thinking was that the extra option of using transitions may lead to more succinct patterns in addition to keeping the transit state may create smoother experiences. This is basically a 'nice to have' feature as any uses cases that demand more sophisticaed animation interactions can be added through a controlled component. (As intended by the wonderful radix design architecture)

Adding transition detection seems to be more complicated than I expected

Haha, welcome to our world 😅 I'm always thinking "sure, that's easy enough" and then realise I couldn't be more wrong.

This is basically a 'nice to have' feature as any uses cases that demand more sophisticaed animation interactions can be added through a controlled component.

Agreed it would be nice, and tbh if we provided a <PresenceAnimation /> component too we would be able to reduce some of the complexity in the Presence bundle but I think the beauty of Presence is that things "Just Work™" which would be taken away if we provided components instead.

I created a reproduction for this: https://codesandbox.io/s/radix-animation-not-interuptable-q2tcu1?file=/App.js
If you hit cancel while the Dialog is opening you can see it immediately becomes fully opaque/open and then transitions to being closed. It would be ideal if it could stop where it is and transition to being closed, which is how CSS transitions would work

If you hit escape while the Dialog is opening you can see it immediately becomes fully opaque/open and then transitions to being closed. It would be ideal if it could stop where it is and transition to being closed, which is how CSS transitions would work

Unfortunately this is the nature of key frame animations and we can’t provide a better experience without adding significant complexity (both to the code, and the api)
We’ve found that the vast majority of users find the out-of-box animation support intuitive and sufficient for their needs, though for those who need a higher fidelity option or wish to support more sophisticated micro interactions we recommend using one of the many dedicated animation libraries and handing over Radix lifecycle via forceMount

As there are other good alternatives in the community, this isn't something we will tackle in Radix.

https://github.com/radix-ui/primitives/issues/994#issuecomment-1088770709


Requesting routing when current location can't be obtained crashes the app

Here's an example on the WPF version of the app running on a Win7 x64 virtual machine.
Searching for a location (i.e. Portland, OR) and then clicking the route button leads to this effort before the app crashes.

Confirmed this has been fixed on Android and on iOS.

Confirmed this works on both UWP and WPF as well.
Routing to a location when not logged in will prompt the sign-in dialog.
Clicking the 'current location' when the application has not been granted access to device location does nothing.


a small fix for when not using auto frame divide

i didn't notice any issues but i think this is the proper way to do things. just adds one if block checking for if auto frame divide is enabled that i forgot previously

Good point. I am kinda embarrassed I didn't see that when reviewing your code!


Add support for multiple outputs from executable stages

Note that this does not properly support multiple outputs as of yet. This is because output targets need to be properly mapped to their corresponding output tags in order to correctly identify union coders.


[SPIKE] Determine source of truth for translations

We use Crowdin for translations, and currently a number of our string resources for other languages just feature English.
Going to Crowdin, we have multiple projects, Android, iOS, a common project. It's unclear what source of truth we should be using for pulling translations into the app. We need this before going live.
Outcome:

We know and document which Crowdin project to pull from, and we are confident in its content quality.
We remove projects that are not relevant or accurate.

We know and document which Crowdin project to pull from, and we are confident in its content quality.

Android should use the Android project to translate in-app strings. Some strings differ across platforms, hence the need for separate Android and iOS projects.
Quality is, as far as I can tell, going to be up to whomever translates the strings for us (this being a crowdsourced translation service)

We remove projects that are not relevant or accurate.

All of the existing projects are relevant

@PaulKlauser in what forum should I document the above for posterity?


Added last heaters file; important labels question

One potential issue about labels: When I downloaded the merged layout and read the corresponding EBeam.txt  file, I saw that the measurement labels were not included for most people's heater layouts in the text file. I followed the instructions on EdX and labeled mine with "opt_TE..." for heaters, which is different from "opt_in_TE..." for passives. But it looks like the labels "opt_in_TE..." got printed in the text file for people who used the apparently wrong convention, while the labels "opt_TE..." didn't get printed for people who used the right convention. Could this cause label recognition issues for measurements?
On a related note: in this EBeam_heaters_LeelaQv6.gds and my heaters_v5 design as well, I have multiple bond pads with the exact same label. This is because the optical input goes to multiple (connected) devices with heaters, so there is not a one-to-one match between optical input and electrical pads. Both heaters will have applied voltage at the same time. Will having 2 pads with the same label be an issue? (Note that the ,unique-device-id> is still used for only one optical input, but for multiple ground pads and multiple signal pads.)

opt vs. opt_in in the text file - that should be ok.
pads: let us check and get back to you.

Your layout here looks okay. But, if you are submitting multiple designs, please make sure the labels are unique (optical and electrical)

Your layout here looks okay. But, if you are submitting multiple designs, please make sure the labels are unique (optical and electrical) -- unique device IDs across your designs.

Ah, I see, thanks for pointing this out. Let me change the optical input labels on one of my gds files then. Within a gds file, all my optical input labels are unique, but I believe I have the same labels on two different gds files. I will commit a new version and make a pull request shortly.

No changes needed for heater file submissions. Will you please merge EBeam_heaters_LeelaQv6.gds?
(The changes I made were for passive designs in the other folder.)


Don't ignore errors in Vm#running_processes

The Vm#running_processes method currently logs all errors/exceptions
instead of raising them up.  This causes the tasks to look like they
were successful even though there are warnings in the log about
mis-configuration which should be corrected by the user.
The bottom two tasks were from before this change, they actually failed but look successful in the task list.  The top two tasks were from after this change.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1534023

Not sure who best to review this as the code is so ancient, @bdunne what do you think?

unless WMIHelper.connectServer raises if it fails to connect...

Hm right we want it to try the next IP address, but then if they all fail we want to raise an error...

I gave it some bogus creds and the connect doesn't fail, it does throw an exception deep down in manageiq-gems-pending-e29e0b0d8abd/lib/gems/pending/util/win32/miq-wmi-linux.rb:
[----] E, [2018-03-28T10:07:39.904641 #18528:2ab91025af50] ERROR -- : [NoMethodError]: undefined method `include?' for nil:NilClass  Method:[block in method_missing]
[----] E, [2018-03-28T10:07:39.905703 #18528:2ab91025af50] ERROR -- : /home/agrare/.gem/ruby/2.4.3/bundler/gems/manageiq-gems-pending-e29e0b0d8abd/lib/gems/pending/util/win32/miq-wmi-linux.rb:77:in `run_query'
/home/agrare/.gem/ruby/2.4.3/bundler/gems/manageiq-gems-pending-e29e0b0d8abd/lib/gems/pending/util/win32/miq-wmi-linux.rb:140:in `get_instance'
/home/agrare/.gem/ruby/2.4.3/bundler/gems/manageiq-gems-pending-e29e0b0d8abd/lib/gems/pending/util/miq-process.rb:171:in `process_list_wmi'
/home/agrare/.gem/ruby/2.4.3/bundler/gems/manageiq-gems-pending-e29e0b0d8abd/lib/gems/pending/util/miq-process.rb:154:in `process_list_all'
/home/agrare/src/manageiq/manageiq/app/models/vm.rb:93:in `block in running_processes'
/home/agrare/src/manageiq/manageiq/app/models/vm.rb:88:in `each'
/home/agrare/src/manageiq/manageiq/app/models/vm.rb:88:in `running_processes'

@bdunne What do you think about just raising the validation errors since that should catch most of the issues

Thanks @bdunne !


After completing a skill quest, e.g 70 skill, there is no data sent to server in order to save the status

In Lua scripts, the corresponding event just checks the the necessary item, robs them and save the quest to the state 2 and that is it, but somehow client know that and does the skills available to the user.However, since there is no data sending and saving, after re-login, the skills becomes unavailable again.
What is or what should be the logic in here ? Any idea would help.
Note that, I'm using binary client.
The reason why I am writing in here is that since it a open source project, the important discussions should also be open to everyone, I think.

Yes, this is a perfect place to post this kinda stuff. Do you happen to know the event id for this? Also, what's the zone and what is your class/gender/race?

EventID : 6010 , Class: 112 (Mastered Priest) , Zone: 1, Race : Karus

By the way, I kinda discovered something :).Since, the skill data is, somehow, sent to client.While updating the user data, I guess it happens every 5 min, the skill data also can be saved to the database although it is clearly not a good way to do that.

K, good to know. I'll have a look at this

Addition to my previous comment, a couple of minutes after earning the skill through the quest, the skill becomes unavailable to use again, which, I assume, happens when the user data is updated to database (exec UPDATE_USER_DATA).Therefore, we can confidently say that there is no info sent to client, but somehow and very weirdly client knows that the quest is done and it should make the skill available to the user.

Maybe on this one we can make a hash check for both sides in order to ensure the data have been sent and stored?

I don't know what do you mean by hash check ? I think we should first find the part that the client sends, at least recognise the quest, because if it indeed sends the skill data to source, I don't think we have anything to process that data.If I don't remember wrong, it might be send with the packet 56, and  we don't even process the these packet in the source.

Packet 0x56 is the WIZ_NPC_SAY on the server-side and N3_QUEST_TALK on the client-side. We do process these packets and the two extra DWORDs that were added to this packet might have something to do with how this feature is implemented.
void CUIQuestTalk::Open(DataPack *pDataPack, int &iOffset)

This issue was moved to ApexKO/OpenKO#4


GUI: Basic Functionality

GUI: Implement Remaining Basic Functionality

[x] Add rulebook
[x] Delete rulebook
[x] Add configFile
[ ] Delete configFile
[x] configFile 'check' button -> API call (mock)
[x] Remove (comment out):

[x] buttons to check rulebooks
[x] button to check all rulebooks
[x] button to check all configFiles

Adding new RulebookFile should:

[ ] create basic scaffold of Rulebook JSON object in file contents before refreshing View

Adding new ConfigFile should:

[ ] add absolute path of new file to selected RulebookFile Files array

Deleting a configFile should:

[x] ask for confirmation
[x] remove its path from all rulebooks containing it
[ ] refresh the configFiles View

Note: current behavior seems to be buggy based on which file is open in the editor at the time


Spawned player example does not work properly

ENV File:
VALHEIM_LOG_FILTER_CONTAINS_Spawned=Got character ZDOID from
ON_VALHEIM_LOG_FILTER_CONTAINS_Spawned={ read l; l=${l//*ZDOID from /}; l=${l// :*/}; msg="[Helheim] Player $l spawned into the world"; curl -sfSL -X POST -H "Content-Type: application/json" -d "{\"username\":\"Valheim Server\",\"content\":\"$msg\"}" "$DISCORD_WEBHOOK"; }

Logs:
valheim_1  | Feb 21 12:16:36 /supervisord: valheim-server 02/21/2022 12:16:36: Got character ZDOID from Elonmir : -982226279:1
Current behaviour in discord:

Expected behaviour in discord:
[Helheim] Player Elonmir spawned into the world

I've got the same issue. It started a while ago, maybe around start of this year. I tried both CONTAINS and REGEXP versions:
VALHEIM_LOG_FILTER_CONTAINS_Spawned=Got character ZDOID from
ON_VALHEIM_LOG_FILTER_CONTAINS_Spawned=read l; l=${l//*ZDOID from /}; l=${l// :*/}; curl -sfS -XPUT -d "{\"msgtype\":\"m.notice\",\"body\":\"$l spawned\"}" "$MATRIX_BOT_SERVER/_matrix/client/r0/rooms/$MATRIX_BOT_ROOM_ID/send/m.room.message/$(date +%s-%N)?access_token=$MATRIX_BOT_ACCESS_TOKEN"

VALHEIM_LOG_FILTER_REGEXP_Spawned=\bGot character ZDOID from \b\w*\b : [^0]\d*:[^0]\b
ON_VALHEIM_LOG_FILTER_REGEXP_Spawned=read l; l=${l//*ZDOID from /}; MESSAGE_CHARACTER=${l// :*/}; curl -sfS -XPUT -d "{\"msgtype\":\"m.notice\",\"body\":\"${MESSAGE_CHARACTER} spawned\"}" "$MATRIX_BOT_SERVER/_matrix/client/r0/rooms/$MATRIX_BOT_ROOM_ID/send/m.room.message/$(date +%s-%N)?access_token=$MATRIX_BOT_ACCESS_TOKEN"

and the messages I get are always missing the player name, similar to the screenshot above.

I'm having a similar issue. When i use the exact same lines in my .env file i can't compile the docker-compose.yml file.
I have tried all the variations of this code I could find on this github page.
I get the following errors:
WARN[0000] The "l" variable is not set. Defaulting to a blank string.
WARN[0000] The "msg" variable is not set. Defaulting to a blank string.
Invalid template: "{ read l; l=${l//*ZDOID from /}; l=${l// :*/}; msg=\"[Helheim] Player $l spawned into the world\"; curl -sfSL -X POST -H \"Content-Type: application/json\" -d \"{\\\"username\\\":\\\"Valheim Server\\\",\\\"content\\\":\\\"$msg\\\"}\" \"$DISCORD_WEBHOOK\"; }"

My compose file:
version: '3.7'
services:

# Valheim Server
  valheim:
    image: lloesche/valheim-server
    container_name: valheim-server
    cap_add:
      - sys_nice
    volumes:
      - /root/Valheim-server/config:/config
      - /root/Valheim-server/data:/opt/valheim
    ports:
      - 2456-2457:2456-2457/udp
      - 9001:9001/tcp
    network_mode: host
    env_file:
      - /root/Valheim-server/valheim.env
    restart: always
    stop_grace_period: 2m

Does this have anything to do with the version 3.7 of my compose file?

I am also running into this issue, did you figure it out?

Same problem here, too. I feel like I've tried every suggested fix, but it always returns a blank string for $l.
I'm using docker-compose and setting the environment variables in an env_file.
VALHEIM_LOG_FILTER_CONTAINS_ConnectedSteam=Got connection SteamID ON_VALHEIM_LOG_FILTER_CONTAINS_ConnectedSteam=read l; l=${l//*SteamID /}; msg="$l logged on"; curl...
I've tried ...ConnectedSteam='{read l... to the same result.

I got it working with a workaround/hack such as this:
VALHEIM_LOG_FILTER_CONTAINS_Spawned=Got character ZDOID from
ON_VALHEIM_LOG_FILTER_CONTAINS_Spawned={ cat > /tmp/character_login && curl -sfSL -X POST -H "Content-Type: application/json" -d "{\"username\":\"Valheim\",\"content\":\"Player $(cat /tmp/character_login | sed -e 's/.* ZDOID from \(.*\) : .*/\1/') spawned into the world\"}" "$DISCORD_WEBHOOK"; }

@Kirbo Thanks for sharing! Saved me from learning sed/awk again..


Use vim tag stack facility

Describe your question, feature request, or bug.
Is it possible to use vim's original tag stack facility in LeaderF?
For instance, I'd like to jump to a tag by pressing Ctrl + ] directly or open a source file by vim +t [tags] which is the original vim behaviour.
The settings in .vimrc could be:
set cscopetag " use cscope as tags command
set cscopeprg='gtags-cscope' " use gtags-cscope instead of cscope

Since LeaderF has automatically genreated the gtags files to the specified directory, how can I add this path to gtags-cscope?

If you use Leaderf gtags, I don't think you need to use cscope.

Leaderf gtags has been a part of my life for my daily work. :)
Nevertheless, I think the vim tags command is still very helpful in some scenarios.
Just as I demonstrated in the post, I'd like to jump to a specified location in a project's directory by vim +t [tag]. But in current workflow, I have to:

open vim editor
open leaderf rg, type the [tag]
jump to the location

If leaderf could help to add project's gtags - generated to a specified cached directory - to cscope automatically, that would be very neat.

The gtags files generated is under $HOME/.LfCache/gtags/%PATH%OF%YOUR%PROJECT/, where %PATH%OF%YOUR%PROJECT is replacing the / or \ in the path with %.
Suppose you have the following map,
noremap <C-]> :<C-U><C-R>=printf("Leaderf! gtags -d %s --auto-jump", expand("<cword>"))<CR><CR>

I think you can achieve the same effect as using cscope except that <C-T> can not be used, but you can use <C-O> instead.


Convert the rest of the cli to not use GRPC

I decided to tackle this in one PR to not have a ton of intermediary hacks in the integration tests, and it really shouldn't be too big of a PR. (load will be the most difficult)

[X] load
[x] unload
[x] list
[X] pull-bytecode
[x] fixup integration tests to use bpfman only as a library, while the k8s integration tests will still use the GRPC api

Fixes #936 #937 #938 #939 #940 #941 #942 #943 #944 #945 #946 #947 #948 #949 #950 #952

Updated still need to figure out some image manager bits.

TODO Integration Tests are passing locally but running much slower

Ok @dave-tucker @anfredette This should be ready for review 🥳


Replacing old logo with new one Fix #17

The name isn't very clear, maybe should you include fedora in the title


Issue 11

Added event cards to the main page using bootstrap components.
A slight difference between the MVP and the information provided by the Event model is the difference between the event name, the game name and the type of event. The MVP features the game name as the primary heading for each card and the event name as a subheading. The Event model includes an event name and event type so I have used the event name as the primary header and the event type as the subheading in the place of the event name in the MVP.
So far I've only tested the view on browsers so I'm not sure if there will be issues with phone/tablet viewing.

Looks good man, nice work! In the future we may want to add the code for the cards into their own template. Merging for now as we can do this later.


Link to latest docs, not 3.0

Also link to generated docs in the readme
I didn't realize that there were generated docs, and they're actually quite helpful!

Looks good, thanks!


Add some support for web.xml

It should be possible to make use of a couple known properties from web.xml if present - for example, the JSP configuration properties. Beyond that, this could also be a way to register servlets in a "normal" way.

As part of working on https://github.com/OpenNTF/org.openntf.xsp.jakartaee/issues/469, I've added initial support for web.xml, currently only reading context-param properties.


Improve Neighborhood Loopkup

Replaced the neighborhood logic with lookup tables and removed some of the unused stuff.
The lookup a bit more than twice as fast now, and overall it improves the speed of ESDF generation by 4-7%.

@helenol ptal


chore(deps): update terraform terraform-ibm-modules/landing-zone-vpc/ibm to v7.18.0

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/landing-zone-vpc/ibm (source)
module
minor
7.17.1 -> 7.18.0

Release Notes

terraform-ibm-modules/terraform-ibm-landing-zone-vpc (terraform-ibm-modules/landing-zone-vpc/ibm)
v7.18.0
Compare Source
Features

add authorization policy for spoke -> hub DNS access (#775) (2a5932f)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline


New mod - Access Randomizer

This commit should have only affected the new "AccessRandomizer" mod - I don't know what's causing the verification to fail on a lot of other mods.


Update Campaign RB Totals upon Reportback File Save

Per convo with @sergii-tkachenko today re: #3874
Instead of relying on the Review Form to calculate Entity Reportback totals, calculate the relevant total per saving a Reportback File.
This PR calculates the total for the node reported back on. Following PR will update the node's Cause term totals.

Looks good, just one note above.


Error:  Mo::utils version 0.22 required--this is only version 0.2

There seems to be a mismatch between the minimum Mo::utils version specified in the configuration (0.2) and required in Data/MARC/Leader.pm (0.22):
#   Failed test 'use Data::MARC::Leader;'
#   at t/Data-MARC-Leader/01-use.t line 10.
#     Tried to use 'Data::MARC::Leader'.
#     Error:  Mo::utils version 0.22 required--this is only version 0.2 at /home/cpansand/.cpan/build/2024021122/Data-MARC-Leader-0.05-1/blib/lib/Data/MARC/Leader.pm line 7.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2024021122/Data-MARC-Leader-0.05-1/blib/lib/Data/MARC/Leader.pm line 7.
# Compilation failed in require at t/Data-MARC-Leader/01-use.t line 10.
# BEGIN failed--compilation aborted at t/Data-MARC-Leader/01-use.t line 10.

#   Failed test 'require Data::MARC::Leader;'
#   at t/Data-MARC-Leader/01-use.t line 14.
#     Tried to require 'Data::MARC::Leader'.
#     Error:  Attempt to reload Data/MARC/Leader.pm aborted.
# Compilation failed in require at (eval 17) line 2.
# Looks like you failed 2 tests of 3.
t/Data-MARC-Leader/01-use.t .............................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
...

Ah, thanks. Fixed in 0.06


Tests: add test cases for cli/init-osm-controller

Please describe the Improvement and/or Feature Request

Add test cases for cmd/init-osm-controller validateCLIParams(), when osmNamespace is not specified.

Scope (please mark with X where applicable)

New Functionality          [ ]
Install                    [ ]
SMI Traffic Access Policy  [ ]
SMI Traffic Specs Policy   [ ]
SMI Traffic Split Policy   [ ]
Permissive Traffic Policy  [ ]
Ingress                    [ ]
Egress                     [ ]
Envoy Control Plane        [ ]
CLI Tool                   [ ]
Metrics                    [ ]
Certificate Management     [ ]
Sidecar Injection          [ ]
Logging                    [ ]
Debugging                  [ ]
Tests                      [x]
CI System                  [ ]
Demo                       [ ]
Project Release            [ ]

Possible use cases

Ref #1489


Issue with brotlipy 0.7 and future python 3.8.x

Hi,
Just for info I have opened an issue on brotlipy: I am testing some major packages with the future version of Python 3.8.
Here is the link: https://github.com/python-hyper/brotlipy/issues/147
Have a nice day,

Hi, this issue has been fixed in CFFI
https://bitbucket.org/cffi/cffi/issues/403/build-fails-on-38-dev-pyinterpreterstate
While the new version of CFFI is not released, I suppose you will keep it as open.


From HongKong User, can't see in browser

Hi Mr. McDaniel,
I am reading your post and would like to try out your way to install Rstudio but have some questions after following your steps of doing so. I am not quite familiar with functions to raise questions via Github so I am checking if you could help through e-mail.
(that's the link to your post: https://yakdata.com/best-download-install-rstudio-desktop-mac-windows-2022/)
I am a Windows user, so I unzipped the folder and save it in
C:>cd \Users\spook\Documents\SmartDesktop-RStudio-4.1.2\
and then I did install the docker, but your command is not working I guess for Windows: docker-compose up -d
So I copied and pasted the command given by the docker
docker run -d -p 80:80 docker/getting-started
I assumed the command works

but I cannot see the new RStudio IDE from Chrome http://localhost:4120/

Do you have any idea how I can get and use RStudio?
Thanks for taking the time and looking into the issue!
Best,
Y W

I have updated the documentation with better details. Please try this following the steps once again. Thanks!
UPDATED README.md and updated 4.1.2 release to update the README.md there as well.


Checked links, updated/deleted info, read all-caps

r @softprops
Apps

CityPulse doesn't mention Meetup in description or site -> deleted

Daytripper link went to this description: "This app is deprecated and will be removed soon. Get new version from here.
https://play.google.com/store/apps/details?id=com.vocifery.daytripper" -> updated link

Meetapp site had invalid link to App Store; search in App store revealed no results --> deleted

MeetupGroup links didn't work, checked in App Store, they restructured their apps into a v2 iPad app and a lite and v2 iPhone app --> created one more entry, updated links

WinMeetupViewer has "2.09999990463257 stars out of 5 (19)" -> deleted, SHOULD I KEEP?

WP-Meetup-Activity has 1 review of 1 star -> deleted, SHOULD I KEEP?

Yoke linked to more general url --> updated URL to Meetup-specific link

changed 12 /us/app/ links for apps to /app/ for internationalization

Sites

GatheringPoint site is dead -> deleted
SocialReport says analytics can include Meetup accounts, but Meetup not mentioned or highlighted like other companies --> kept, SHOULD I DELETE?

-added note about maintaining alphabetical order

It looks like this branch some how has conflicts with master. Can you pull master into this branch and check?

Done, no conflicts now


remove packages imported twice

What type of PR is this?
/kind cleanup
What does does this PR do / why we need it:
See $SUBJECT
Which issue(s) this PR fixes:
Cleaning up code
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

[X] I have read the test guidelines

How to test changes / Special notes to the reviewer:
All tests should pass no new functionality was added

/retest

level=error
level=error msg="Error: Error creating VPC: VpcLimitExceeded: The maximum number of VPCs has been reached."
level=error msg="\tstatus code: 400, request id: 9fb00ad4-f954-4f61-b08f-3e03428b8f20"
level=error
level=error msg="  on ../tmp/openshift-install-244746410/vpc/vpc.tf line 6, in resource \"aws_vpc\" \"new_vpc\":"
level=error msg="   6: resource \"aws_vpc\" \"new_vpc\" {"
level=error
level=error
level=fatal msg="failed to fetch Cluster: failed to generate asset \"Cluster\": failed to create cluster: failed to apply Terraform: failed to complete the change"
2020/12/02 15:21:46 Failed to upload $KUBECONFIG: timed out waiting for the condition: stat /tmp/secret/kubeconfig: no such file or directory
error: failed to execute wrapped command: exit status 1


Attach image to profile

PT Story
https://www.pivotaltracker.com/story/show/160220309
As an Artist
In order to promote ourself/myself
We/I would like to be able to attach images to our/my profile

Pull Request Test Coverage Report for Build 5

43 of 49 (87.76%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.6%) to 88.599%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/models/performer.rb
7
13
53.85%

Totals

Change from base Build 47:
1.6%

Covered Lines:
272

Relevant Lines:
307

💛  - Coveralls


add $deleteChannelsByName[name1;name2;etc...] pls

Type

[x] Functions: $deleteChannelsByName
[ ] Callbacks:
[ ] Handlers:
[ ] Others:

Description
$deleteChannelsByName[name1;name2;name3] - Like bdfd, it will remove ALL channels with the same name, this can be used to unraid a server in which many channels have been created as: #server-raided-lol for example.
I know there is $deleteChannels, but it would only delete one channel called #server-raided-lol and not all, right?

$deleteChannels[$channelID[channel name];$channelID[channel name]]

It's ridiculous to turn something that is already possible into a separate function, as in BDFD
$deleteChannels[$channelID[channel name];$channelID[channel name]] already exists


Eligibility or Benefit Additional Info (Place of Service)

Support for EligibilityOrBenefitAdditionalInformation - additional_information property added to EligibilityOrBenefit to handle III*ZZ* segments
Adds place_of_service enum for corresponding additional_information property
Cleans up unittest warnings (assertEquals replaced with assertEqual)
More descriptive and reliable .to_dict and .to_json methods.

Test added - test_271_benefit_additional_info.py
Updated changelog on README (recommended as v0.3.2)
Added clarification on README for running unittests for non-django implementations

Sorry for messy commit history - had to make to_dict and to_json could cover more data types and output all info (was skipping some segments/values). Had to fix a Python3 iteration error as well.
Started adding the optional "place of service" implementation, then realized standard implementation was more than just location_limits.
BCBS implementation guide - CTRL+F for "place of service" to see guidance on III*ZZ*... segment.
Another guide for implementing the segment

Very nice @CloudCray ! Thanks for the Python 3 fixes too.

I will try to release this today.

https://pypi.org/project/TigerShark/

👍  thanks @jdavisp3


Support vigoux/notifier.nvim

Would it be possible to add https://github.com/vigoux/notifier.nvim as a backend alternative to nvim-notify?

Yes! I actually submitted a PR there that got merged so I can integrate :)

https://github.com/vigoux/notifier.nvim/issues/19

I'm still planning to integarte notifer.nvim, but I've also added a new mini view to Noice. I basically had all the components already to make something like this :)
See https://github.com/folke/noice.nvim/blob/main/lua/noice/view/mini.lua
Replace routes with anything that you want. Like for any route, view, you can use custom formatters and position the lines anywhere you would like. Bottom-right is the default.
Example:
  local noice = require("noice")
  noice.setup({
    routes = {
      {
        view = "mini",
        filter = {
          any = {
            { event = "msg_show", kind = { "", "echo" } },
          },
        },
      },
    },
  })

Integration doesn't seem possible for now. If that would change in the future, I can revsist this or someone else can submit a PR.

Pity. Looking forward to the mini LSP progress component then!

@clason it already exists, I just didn't find the time to document it.
By default it's a bit flashy though, with spinners AND a progress bar 😄
https://user-images.githubusercontent.com/292349/196055721-9f3de915-414f-4937-bbed-f17b459b1cc6.mp4
But you can easily customize the format like this:
noice.setup({
  debug = false,
  lsp_progress = {
    enabled = true,
    format = {
      { "{data.progress.message} " },
      "({data.progress.percentage}%) ",
      { "{data.progress.title} ", hl_group = "NoiceLspProgressTitle" },
      { "{data.progress.client} ", hl_group = "NoiceLspProgressClient" },
    },
  },
})

That config is a bit less flashy:

I saw the commit, but I took "disabled and non-documented" seriously ;)
Thanks! I love how configurable everything is.

@folke With the mini module in place, and the example above, is nvim-notify still a hard dependency? Or can it be optional?

@ranjithshegde yep, you're right. Can be made optional. I'll make some changes tomorrow, so one can specify the default backend. That way you dont need to override all the existing routes.

Fantastic!
Thank you for your excellent work! Cheers


ENH: signal.filtfilt: add support for complex signals

Reference issue
Partial solution to https://github.com/scipy/scipy/issues/17877
What does this implement/fix?
Adds support for complex signals to filtfilt.
Additional information
Support for complex filters is also needed, and not addressed by this PR.

I think we should think about the extension process. "Even" and "odd" are overly simplistic. One can desire to extend the real and imaginary parts in opposite ways, or the same way. For this PR I have chosen the opposite way - if "even" is chosen, that applies to the real part but the imag part is extended in an odd fashion; whereas if "odd" is chosen, that applies to the real part but the imag part is extended in an even fashion. That works for some (possibly very small class) of signals. Also, the left and right extension could be handled independently - current behavior extends both ends of the input signal in the same way. I can envision abstracting this with a more general rule set.
The unittest as written (test sinusoid) is contrived to end at exactly the zero crossing of a sinusoid, so "odd" extension is the perfect thing to do in that case - but how typical is that case? In the PR I added a test sinusoid complex, where the real part ends perfectly with 1.0 (a cosine) and the imaginary part ends perfectly with 0 (a sine), so "even" / "odd" (for real / imag) is the perfect thing to do for that signal. This seems even more contrived.
For now, I propose we hold off on this PR until we discuss and brain storm a clean general solution to the signal extension issue. We can also add support for complex filters.
Thoughts?

cc @roryyorke

I don't think the conjugates are needed on the time-reversed signal; the operations of a real-coefficient filter and conjugation are commutative.
A real-coefficient LTI filter can be written with real matrices A, B, C, D:
$$
\begin{aligned}
x_{i+1} &= A x_i + B u_i\
y_i &= C x_i + D u_i
\end{aligned}
$$
Suppose we have some complex $x_0$ and $u_0$; then the above gives $y_0 = C x_0 + D u_0$.
Let's conjugate the initial state and input, so that $x'_0=x_0^*$ and $u'_0=u_0^*$.  Then we have $y_0 = C x_0^* + D u_0^* = (C x_0 + D u_0)^* = y_0^*$.  A similar argument holds for $x'_1$ and $x_1$.  So the claim of conjugation holds for a single iteration, and so for the whole signal.
If $F$ is the filter operator, $u$ the signal, and $x_0$ the initial conditions, $F(u^*, x_0^*) = F(u, x_0)^*$.
Or, try the below; needs python-control to generate random SS system:
import numpy as np
from scipy import signal
from control import drss

sys=drss(states=10); b, a = signal.ss2tf(sys.A, sys.B, sys.C, sys.D); b=np.asarray(b.flat);

u = np.random.normal(size=100) + 1j * np.random.normal(size=100)
zi = np.random.normal(size=10) + 1j * np.random.normal(size=10)

print('conjugate u only')
print(max(abs(signal.lfilter(b, a, u.conj(), zi=zi)[0]
              -signal.lfilter(b, a, u, zi=zi)[0].conj())))

print('conjugate zi only')
print(max(abs(signal.lfilter(b, a, u, zi=zi.conj())[0]
              -signal.lfilter(b, a, u, zi=zi)[0].conj())))

print('conjugate u and zi')
print(max(abs(signal.lfilter(b, a, u.conj(), zi=zi.conj())[0]
              -signal.lfilter(b, a, u, zi=zi)[0].conj())))


Remove the checkout action

Probably not needed, nothing is done with the checked out code...

@seanconroy2021, did you have future plans for having the checkout action in the example?

If needed we can add the checkout in with the use of it.

Yeah, there is no real use for it unless someone intends to input an image using a path within the repository.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Sort results

Dealing with larger plans is harder if results are not sorted.

Replaced deprecated Linter
Added sorting logic
Added test to cover GetAllOutputChanges and GetAllResourceChanges

Hey @dineshba any idea when this can be released?

Sorry for the delay. I was in vacation. Just merged and release new version v0.3.11

I am facing some issue with release. I will release in coming week. Sorry for the delay @lcssanches

I was able to release yesterday. Sorry for the delay and once again thanks for the PR


HVX Acceleration support

I successfully built and ran the test application from tensorflow/tree/master/tensorflow/contrib/hvx. I'd now like to benchmark HVX against the CPU implementations of tensorflow/tools/benchmark, and the Android camera demo, but I wasn't able to find any documentation describing how to build said apps with HVX support (my builds run on the CPU). I'm testing on the Open-Q 820 development board with Android 7.0.
Is it possible to utilize HVX acceleration outside the HVX test application, preferably with the benchmark and Android camera demos? If so, could someone please point me in the right direction?

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!


spring-cloud-azure-eventhubs-stream-binder:1.2.8 leads to NoSuchMethodError if used together with spring-cloud-azure-appconfiguration-config-web

We use the following three dependencies in our maven-managed spring-boot project:

com.microsoft.azure:spring-cloud-azure-eventhubs-stream-binder:1.2.8
com.microsoft.azure:spring-cloud-azure-appconfiguration-config-web:1.2.7
com.microsoft.azure:spring-cloud-azure-feature-management-web:1.2.7

After upgrading the first one to release 1.2.8, we encounter the following error during runtime, when a message is going to be sent to the eventhub:
java.lang.NoSuchMethodError: 'void com.azure.core.util.logging.ClientLogger.warning(java.lang.String)'
    at com.azure.core.amqp.implementation.AmqpChannelProcessor.onSubscribe(AmqpChannelProcessor.java:69)

For the other two depenencies, there is no 1.2.8 release available, so we must keep them on 1.2.7.
The error can be reproduced with the following complete example project:
https://github.com/ulrichwinter/azure-eventhub-demo
I were only able to avoid this error, by reverting to the 1.2.7 release.
I also tried to avoid this situation using the azure-spring-boot-bom: the mentioned dependencies above still required manually defined versions.
How can I use the released  com.microsoft.azure:spring-cloud-azure-eventhubs-stream-binder:1.2.8 together with the mentioned appconfiguration and/or featuremanagement libs?

Please provide a way to declare consistently compatible dependency versions for spring-cloud-azure modules.
or:
Please provide newer releases for the mentioned spring-cloud-azure dependencies, which are compatible with the newest spring-cloud-azure-eventhubs-stream-binder release.

I also asked this question on stackoverflow:
https://stackoverflow.com/questions/65426745/how-should-spring-cloud-azure-dependencies-be-managed-in-a-spring-boot-service

Thanks for reaching out to us. Since we've deprecated this repo and support all of our issues in the azure-sdk-for-java repo now. So I copied this issue there and will close this one now.

Thanks for reaching out to us. Since we've deprecated this repo and support all of our issues in the azure-sdk-for-java repo now. So I copied this issue there and will close this one now.


Insert json string into JSONB column

Hello!
I have a JSON string that I wish to insert into a JSONB column directly rather than parse into a map to then be serialized again by pgo. Is this possible?
Thanks,
Louis

That should work. The default is to just take whatever the user passes and assume it is json: https://github.com/tsloughter/pg_types/blob/master/src/pg_jsonb.erl#L21-L22
Only if you supply a json_config does it try to encode it, like application:set_env(pg_types, json_config, {jsone, [], [{keys, atom}]}),

Oh! I wonder what I did wrong. I'll have to try again and get back to you.

I noticed there is no test for this.. It only tests that encoding with jsone in pgo works, so I do need to add a test and maybe there is an issue :)

@lpil were you able to test this?

It works! I don't know what my error was. I'll have to dig in and re-open if I work out the issue.


Client seems to expect 200 for resumable uploads.

I got exceptions from the Java client when running the emulator, and looking at the Java client source code it expects a 200 response instead of 201 when creating with resumable uploads.
  I swear at some point we'd have run this against real GCS... of course the behavior could have changed over time.  Can you verify that real GCS sends a 200 here?

Could it be that other client libraries than the Java one perhaps allows more status codes?


fix(Enterprise Usage Reports): regen service to get Pager

PR summary
This commit contains a re-gen of the service to
leverage the new Pagers emitted by the SDK generator.
Signed-off-by: Phil Adams<EMAIL_ADDRESS>PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

:tada: This PR is included in version 0.28.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Problem with train model

I try training intents with me data and get this mistake
ValueError: Dimension 1 in both shapes must be equal, but are 17 and 2. Shapes are [100,17] and [100,2]. for 'Assign_24' (op: 'Assign') with input shapes: [100,17], [100,2].
How I can fix this?

Hello!
Could you, please, provide more information about error (lines of code where error arised, for example).

@dilyararimovna
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/core/common/params.py", line 117, in from_params
component = cls(**dict(config_params, **kwargs))
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/core/models/tf_backend.py", line 47, in call
obj.init(*args, **kwargs)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/core/models/tf_backend.py", line 28, in _wrapped
return func(*args, **kwargs)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/models/classifiers/intents/intent_model.py", line 113, in init
self.model = self.load(**params)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/core/models/tf_backend.py", line 28, in _wrapped
return func(*args, **kwargs)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/core/models/keras_model.py", line 157, in load
model.load_weights(str(weights_path))
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/keras/engine/topology.py", line 2622, in load_weights
load_weights_from_hdf5_group(f, self.layers)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/keras/engine/topology.py", line 3143, in load_weights_from_hdf5_group
K.batch_set_value(weight_value_tuples)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 2247, in batch_set_value
assign_op = x.assign(assign_placeholder)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 615, in assign
return state_ops.assign(self._variable, value, use_locking=use_locking)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/ops/state_ops.py", line 283, in assign
validate_shape=validate_shape)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/ops/gen_state_ops.py", line 60, in assign
use_locking=use_locking, name=name)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3392, in create_op
op_def=op_def)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1734, in init
control_input_ops)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1570, in _create_c_op
raise ValueError(str(e))
ValueError: Dimension 1 in both shapes must be equal, but are 17 and 7. Shapes are [100,17] and [100,7]. for 'Assign_24' (op: 'Assign') with input shapes: [100,17], [100,7].
Traceback (most recent call last):
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1567, in _create_c_op
c_op = c_api.TF_FinishOperation(op_desc)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Dimension 1 in both shapes must be equal, but are 17 and 7. Shapes are [100,17] and [100,7]. for 'Assign_24' (op: 'Assign') with input shapes: [100,17], [100,7].
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/main.py", line 3, in
main()
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/deep.py", line 64, in main
train_evaluate_model_from_config(pipeline_config_path)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/core/commands/train.py", line 157, in train_evaluate_model_from_config
model = fit_chainer(config, iterator)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/core/commands/train.py", line 73, in fit_chainer
component = from_params(component_config, mode='train')
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/core/common/params.py", line 117, in from_params
component = cls(**dict(config_params, **kwargs))
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/core/models/tf_backend.py", line 47, in call
obj.init(*args, **kwargs)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/core/models/tf_backend.py", line 28, in _wrapped
return func(*args, **kwargs)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/models/classifiers/intents/intent_model.py", line 113, in init
self.model = self.load(**params)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/core/models/tf_backend.py", line 28, in _wrapped
return func(*args, **kwargs)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/DeepPavlov/deeppavlov/core/models/keras_model.py", line 157, in load
model.load_weights(str(weights_path))
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/keras/engine/topology.py", line 2622, in load_weights
load_weights_from_hdf5_group(f, self.layers)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/keras/engine/topology.py", line 3143, in load_weights_from_hdf5_group
K.batch_set_value(weight_value_tuples)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 2247, in batch_set_value
assign_op = x.assign(assign_placeholder)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 615, in assign
return state_ops.assign(self._variable, value, use_locking=use_locking)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/ops/state_ops.py", line 283, in assign
validate_shape=validate_shape)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/ops/gen_state_ops.py", line 60, in assign
use_locking=use_locking, name=name)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3392, in create_op
op_def=op_def)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1734, in init
control_input_ops)
File "/mnt/c/Users/User/1_MY_WORK/1_Data_Scientist_and_ML_Project/GoodLine/DeepPavlov/env/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1570, in _create_c_op
raise ValueError(str(e))
ValueError: Dimension 1 in both shapes must be equal, but are 17 and 7. Shapes are [100,17] and [100,7]. for 'Assign_24' (op: 'Assign') with input shapes: [100,17], [100,7].

You are trying to load some pre-trained model which shapes do not coincide with input shapes for current launch.
Please, try to check all input shapes to be the same as for pre-trained model.

ty. in pre-treained model 7 classes, but in my data i have 15 classes. I cann't find where i must change shape 7 on 15. If i use only 7 classes in my data - the model is work? but i need 15.
can you help me?

You should change all save and load paths (save_path and load_path) including vocab's paths (now it tries to load SNIPS pre-trained model with its 7 classes that even do not coincide with yours) and model's paths.


Flake: waiter_test is flaky

It seems that after the merging of: https://github.com/tektoncd/pipeline/pull/6511
There are lots of failing flaky unit tests:
https://prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_pipeline/7167/pull-tekton-pipeline-unit-tests/1714307892095488000
https://prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_pipeline/7204/pull-tekton-pipeline-unit-tests/1714305917400387584
https://prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_pipeline/7167/pull-tekton-pipeline-unit-tests/1714304663337046016
https://prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_pipeline/7193/pull-tekton-pipeline-unit-tests/1714303905107546112
The PR itself also has several times of failures. We shouldn't ignore this by just re-running the tests when it is a new flaky test
https://prow.tekton.dev/pr-history/?org=tektoncd&repo=pipeline&pr=6511
/kind flake

@chengjoey do you want to take a look since you have more contexts?

/assign

because goroutine was added to entrypointer in #6511, the fakeWaiter append cancel file in the TestEntrypointer test is uncertain.https://github.com/tektoncd/pipeline/blob/6bb051379880d17931a50bd844dfcac03f7106e5/pkg/entrypoint/entrypointer.go#L175-L181

Version 0.52x and before
in the for loop, the file will be detected directly without waiting for the first time.
https://github.com/tektoncd/pipeline/blob/e7b5e5821a100d38a97eee50be60ce6580ec863e/cmd/entrypoint/waiter.go#L50-L75
in latest version:
for the first time, need to wait for waitPollingInterval before file detection is performed. The select statement block should be moved to the bottom
https://github.com/tektoncd/pipeline/blob/6bb051379880d17931a50bd844dfcac03f7106e5/cmd/entrypoint/waiter.go#L52-L88


Add 'IS_DDEV_PROJECT' to $_ENV

The Problem/Issue/Bug:
We occasionally need to use the same settings/configuration files between local development and dev/test/prod environments, but want to set different settings for those environments.
How this PR Solves The Problem:
This creates a "IS_DDEV_PROJECT" variable on $_ENV with a set value of "true" to ease code readability (e.g. if ($_ENV['IS_DDEV_PROJECT']) { ... })
Manual Testing Instructions:
Automated Testing Overview:

Related Issue Link(s):
Release/Deployment notes:

Thanks! In what context do you want to use $IS_DDEV_PROJECT? Only in web container? On host?
Mostly we've used any one of the other DDEV environment variables for this purpose (check existence).
Note that you can also accomplish this for your own team or projects with custom environment variables if you're interested in setting them inside the various containers.

The biggest way I envision using this is in Drupal 8's settings files when doing the initial project configuration. We had an issue the other day with ddev's drushrc overriding something internal in Pantheon hosting leaving the Site URI as 'https://site-name.ddev.site' while on pantheon servers. Additionally, we had the settings.ddev.php in the repository and it's included if the file is present, but we really only want the file included if running on a ddev environment.

BTW, the reason all the tests fail is that it doesn't compile.

Please compile and test, it doesn't even actually require golang installed, although that probably comes out cleaner; actual building can be done with just make and it will build the OS you're working on.
Minor build/test docs at https://github.com/drud/ddev/blob/master/docs/developers/building-contributing.md
pkg/testcommon/testcommon.go:218:20: syntax error: unexpected newline, expecting comma or }
pkg/testcommon/testcommon.go:218:20: syntax error: unexpected newline, expecting comma or }

Interesting, I'm also not sure where it came from then, as I'm running v1.11.1
The issue I experienced came after merging a couple branches back together, so I'll have to investigate that.

Thanks. Avoiding leakage of ddev-specific things is a high priority, so please let us know if you can figure out how the leakage happened. We're always working on better ways to do the drush integration too.

One thing I'd like to make sure happens perhaps in this PR is to make absolutely sure that settings.ddev.php doesn't get included unless ddev is the local dev.

Rebased this to current upstream/master

Suggestion from @warped in slack: We should have a way to determine if a project is started as well as whether it's a project.

This is still valid and alive. I just want to evaluate it in the context of improving drush support.

Rebased this, we're going to get it in!

I'm still saving this for when I work on drush multisite support again, which I think will be soon. Maybe I'll get it in there before then. It's a great idea and going to be great benefit, sorry it's going so slowly.

@andy-blum I finally got back to this, after some drush study and settings study and such. I hope you'll take a look and see if you like the results.

I don't really understand how ddev's source code works, but from what I can gather this looks good.
Is there a way to download this and test it (preferably without breaking my Homebrew install)?

Great question, yes artifacts for this one are at https://circleci.com/gh/drud/ddev/21963#artifacts/containers/0
You have to open the hierarchy to get to the downloads:


import WIP to tables template

Please import the WorkInProgress component into the TablesTemplate found inside components/ContentTemplates folder.
Then render the WorkInProgress component instead of the current div and placeholder sentence.
See the AlertsTemplate component if unsure how to do this and follow the same pattern.

Assigned to @huluvu424242

Thanks for assigning


donesn't vite2  remove configserver config?

vite1 has the  config in  vite.config.js
configureServer: function ({ app }) {
},
and i can write some middleware here to solve some problem, when in vite2  ,how can i do ?

https://vitejs.dev/guide/api-plugin.html#configureserver

https://vitejs.dev/guide/api-plugin.html#configureserver

So only plugin？
------------------ Original ------------------
From: sqal<EMAIL_ADDRESS>Date: Mon,Jan 11,2021 0:04 AM
To: vitejs/vite<EMAIL_ADDRESS>Cc: Jeromy<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [vitejs/vite] donesn't vite2  remove configserver config? (#1472)
https://vitejs.dev/guide/api-plugin.html#configureserver
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

So only plugin？
------------------ Original ------------------
From: sqal<EMAIL_ADDRESS>Date: Mon,Jan 11,2021 0:04 AM
To: vitejs/vite<EMAIL_ADDRESS>Cc: Jeromy<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [vitejs/vite] donesn't vite2  remove configserver config? (#1472)
https://vitejs.dev/guide/api-plugin.html#configureserver
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

yup it's part of the plugin API, but it's very easy to write your own plugin as you can see

yup it's part of the plugin API, but it's very easy to write your own plugin as you can see

Plugin only now.

Plugin only now.


Added a test for rendering html by Stencil Template Engine

Issue https://github.com/IBM-Swift/Kitura-StencilTemplateEngine/issues/19

Codecov Report

Merging #73 into master will decrease coverage by 1.08%.
The diff coverage is 92%.

@@            Coverage Diff             @@
##           master      #73      +/-   ##
==========================================
- Coverage   90.23%   89.15%   -1.09%
==========================================
  Files           1        1
  Lines         215      212       -3
==========================================
- Hits          194      189       -5
- Misses         21       23       +2

Flag
Coverage Δ

#KituraSampleRouter
89.15% <92%> (-1.09%)
:arrow_down:

Impacted Files
Coverage Δ

Sources/KituraSampleRouter/RouterCreator.swift
89.15% <92%> (-1.09%)
: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 1874f9d...6739513. Read the comment docs.


List types don't work in the Typing: New form

For example, neither of these fields works:
fields {
  tags:    List[Tag[dynamic=true]]
  choices: List[Choice["A", "B", "C"]]
}

When you try to create a tag, or choose one of the choices, the field just gets cleared out.
Another user ran into the same issue in this video at the linked timestamp:
Obsidian Typing BETA Plugin!

You should use Ctrl+Enter or Cmd+Enter instead of Enter to submit a value when inside list.

Gotcha, thanks for the explanation!


add Taskfile, gofmt code, fix lint issues

Added Taskfile.yml that formats, lints, and tests code.
Added a boat load of error checks and some other linter fixes.

This PR is too busy. I'm breaking the updates suggested here into multiple smaller PRs to follow. Thanks for the comments @rocktavious 🎉  I will be referring back to them for the next PRs


OIDC4VP : direct_post.jwt (JARM)

In case of response_mode = "direct_post.jwt"
teh wallet must send the vp_token, id_token and presentation_submission in side a JWT, with a response attribute in the body
POST /post HTTP/1.1
   Host: talao.co/sandbox/verifier
   Content-Type: application/x-www-form-urlencoded

   response=eyJra...9t2LQ

the jwt  is like the below example :
{
    "iss": "did:example:ebfeb1f712ebc6f1c276e12ec21",
    "aud": "https://client.example.org/cb",
    "exp":<PHONE_NUMBER>,
    "vp_token": "eyJhb...YMetA",
    "presentation_submission": {
        "definition_id": "example_jwt_vc",
        "id": "example_jwt_vc_presentation_submission",
        "descriptor_map": [
            {
                "id": "id_credential",
                "path": "$",
                "format": "jwt_vp",
                "path_nested": {
                    "path": "$.vp.verifiableCredential[0]",
                    "format": "jwt_vc"
                }
            }
        ]
    }
}

with iss = client_id of the wallet
aud = verifier identifier (see the verifier request client_id)
exp = must be now + 100 sec
signature with the key of the wallet
Becarefull iss of the jwt represnets the client_id of the wallet so it can be a DID or the sub of the wallet attestation if the wallet attestation is used

Test OIDC4VP 10


added findByPk method to the Model

findById and findByPrimary are now deprecated
changes in sequelize: https://github.com/sequelize/sequelize/commit/1bc8b0e82d4635ff22cbd4c048c042fed30a036f
I wasn't sure if I should also push a PR to https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sequelize, as the findByPk method was just added a few days ago (in above referenced commit), so if users aren't using the latest 4.x sequelize version.

@tzellman Thanks for adding.
The sequelize typings doesn't affect sequelize-typescript in that case


Decoding nested struct on ARM (works on x86_64)

I'm having a problem decoding the following TOML on ARM (32 bit).
[[tanks]]
mqttTopic = "sensors/MusicRoomTank/depthCm"
tankDepthCm = 48
microsToCmFactor = 55.0

[[tanks]]
mqttTopic = "sensors/MainTank/depthCm"
tankDepthCm = 200
microsToCmFactor = 55.0

The code (reduced) to decode:
/+ dub.sdl:
    name "tomltest"
    dependency "toml-foolery" version="~>1.0"
+/

import toml_foolery;
import std.stdio;
import std.file;

struct Config
{
    TankSensor[] tanks;

    struct TankSensor
    {
        string mqttTopic;
        int tankDepthCm;
        float microsToCmFactor;
        int countMeasures;
        int runningTotal;
    }
}

void main()
{
    auto config = readText("tankconfig.toml").parseToml!Config;
    writefln("Tanks config length: %s, content: %s", config.tanks.length, config.tanks);
}

The same code/config works fine on x86_64.

Actually, this might be a cross-compilation issue. Seems to work compiling on Raspberry Pi using LDC 1.17.

No. The cross-compilation theory is a red herring. Looking further into it, the problem appears with a release build, but not with a debug build:
pi@pidrie:~/code/anvil/tankdepth $ dub build --single test.d
Performing "debug" build using /home/pi/Downloads/ldc2-1.17.0-linux-armhf/bin/ldc2 for arm, arm_hardfloat.
datefmt 1.0.4: target for configuration "library" is up to date.
pegged 0.4.5: target for configuration "default" is up to date.
toml-foolery 1.0.0: target for configuration "library" is up to date.
tomltest ~master: building configuration "application"...
To force a rebuild of up-to-date targets, run again with --force.
pi@pidrie:~/code/anvil/tankdepth $ ./tomltest
Tanks config length: 2, content: [TankSensor("sensors/MusicRoomTank/depthCm", 48, 55, 0, 0), TankSensor("sensors/MainTank/depthCm", 200, 55, 0, 0)]
pi@pidrie:~/code/anvil/tankdepth $ dub build --single --build=release test.d
Performing "release" build using /home/pi/Downloads/ldc2-1.17.0-linux-armhf/bin/ldc2 for arm, arm_hardfloat.
datefmt 1.0.4: target for configuration "library" is up to date.
pegged 0.4.5: target for configuration "default" is up to date.
toml-foolery 1.0.0: target for configuration "library" is up to date.
tomltest ~master: building configuration "application"...
To force a rebuild of up-to-date targets, run again with --force.
pi@pidrie:~/code/anvil/tankdepth $ ./tomltest
toml_foolery.decode.exceptions.TomlDecodingException@/home/pi/.dub/packages/toml-foolery-1.0.0/toml-foolery/source/toml_foolery/decode/set_data.d(114): Could not place value "sensors/MusicRoomTank/depthCm" of type "string" inside field "tanks" of type "TankSensor[]" in struct "Config". This might be a bug — please file a report.
----------------
??:? [0x1817f7]
??:? [0x18ce93]
??:? [0x1719cf]
??:? [0x10eaf]
??:? [0x1055b]
??:? [0x10017]
??:? [0xf93f]
??:? [0xbbbb]
??:? [0x171603]
??:? [0x1714bb]
??:? [0x17134b]
??:? __libc_start_main [0x76d52717]
pi@pidrie:~/code/anvil/tankdepth $

Note test.d contains the code in my comment above, and tankconfig.toml contains the TOML config shown above.

Just to confirm, platform x86_64 and LDC latest version (1.27-beta) gives exactly the same result: Works in debug build, fails in release.
dev@devbox:~/code/gitlab/anvil/tankdepth$ dub build --single test.d
Performing "debug" build using /home/dev/Downloads/ldc2-1.27.0-beta1-linux-x86_64/bin/ldc2 for x86_64.
datefmt 1.0.4: target for configuration "library" is up to date.
pegged 0.4.5: target for configuration "default" is up to date.
toml-foolery 1.0.0: target for configuration "library" is up to date.
tomltest ~master: building configuration "application"...
Linking...
To force a rebuild of up-to-date targets, run again with --force.
dev@devbox:~/code/gitlab/anvil/tankdepth$ ./tomltest
Tanks config length: 2, content: [TankSensor("sensors/MusicRoomTank/depthCm", 48, 55, 0, 0), TankSensor("sensors/MainTank/depthCm", 200, 55, 0, 0)]
dev@devbox:~/code/gitlab/anvil/tankdepth$ dub build --single --build=release test.d
Performing "release" build using /home/dev/Downloads/ldc2-1.27.0-beta1-linux-x86_64/bin/ldc2 for x86_64.
datefmt 1.0.4: building configuration "library"...
/home/dev/.dub/packages/datefmt-1.0.4/datefmt/source/datefmt.d(410,17): Deprecation: variable `i` is shadowing variable `datefmt.Interpreter.parse.__foreachbody4.i`. Rename the `foreach` variable.
pegged 0.4.5: building configuration "default"...
toml-foolery 1.0.0: building configuration "library"...
tomltest ~master: building configuration "application"...
Linking...
dev@devbox:~/code/gitlab/anvil/tankdepth$ ./tomltest
toml_foolery.decode.exceptions.TomlDecodingException@/home/dev/.dub/packages/toml-foolery-1.0.0/toml-foolery/source/toml_foolery/decode/set_data.d(114): Could not place value "sensors/MusicRoomTank/depthCm" of type "string" inside field "tanks" of type "TankSensor[]" in struct "Config". This might be a bug — please file a report.
----------------
??:? [0x560d9e0b2525]
??:? [0x560d9e0b3fa6]
??:? [0x560d9e09720f]
??:? [0x560d9deec4e0]
??:? [0x560d9deeaf81]
??:? [0x560d9dee499b]
??:? [0x560d9e096ef7]
??:? [0x560d9e096df4]
??:? [0x560d9e096c4d]
??:? __libc_start_main [0x7f0d4978009a]
??:? [0x560d9dee48a9]
dev@devbox:~/code/gitlab/anvil/tankdepth$

Hmm, strange. Thanks for the detailed report. I'll have some time during the weekend to dig into it.

I pushed a fix, it's available in v1.0.1. The example you gave now works in both debug and release modes. Specifically, the problem showed up when assertions were disabled. Let me know if you still have trouble :)

Verified this works with v1.0.1. Thanks @andrejp88!


Index file

Create index file, @classroom-demonstrations should provide list with index codes. Create python file that searches each document and creates at the bottom an index. (code snippet program is available)

Update me when a list with index codes has been made available!


using deploy-url and base-href yields in wrong assets path

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.
@angular/cli: 1.1.1
node: 8.1.1
os: darwin x64
Repro steps.
create a new application and use a --base-href=/ui/ and --deploy-url=/ui/ while having a stylesheet of:
.login-body {
  background: rgba(0, 0, 0, 0) url("/assets/images/bg.png") no-repeat scroll 0 0 / cover;
}

The output will then be .login-body{background:transparent url(/ui/ui/assets/images/bg.png) no-repeat scroll 0 0/cover} in both, build --prod --deploy-url=/ui/ --base-href=/ui/ and on serve --deploy-url=/ui/ --base-href=/ui/
Mention any other details that might be useful.
Actually if I remove one of the things either base-href and deploy-url it would work, however if I omit base-href routing will actually re-initialize the application everytime I open a [href] or ng-href link (hybrid app). if I omit deploy-url i will get 404 well I might make it work without deploy-url since I proxy the ng serve in my application and I can strip the path, but I still think that setting both shouldn't end in a assets path of /ui/ui/.
What's even more strange is that the $icon-font-path and $fa-font-path of font-awesome and boostrap are working correctly and don't double add a /ui/
Basically I think that without --deploy-url I can fully use my application since angular-cli omits relative url's so the script path is ui/.... However it would've been great to use absolute-urls for everything which I can enforce with --deploy-url.

In regards to deployment, using --base-href=/ui/ and --deploy-url=/ui/ is the equivalent of just --base-href=/ui/.  There's no reason to use deploy-url if they are the same value  (with the current development caveat that ng serve doesn't yet account for --base-href; PR #6320 will correct that).
You are correct that the asset path should not be /ui/ui/.  This is indeed a bug.

I just had the exact problem as described by @schmitch.  Instead of url("/assets/images/bg.png"), try to use the ../ so something like url("../../../assets/images/bg.png") depending on however many directories up the assets folder is.
In response to @clydin: I don't experience what you describe with --base-href and --deploy-url. If I just use --base-href by itself then none of my js resources get loaded up because they're trying to be loaded from / instead of /ui/

I have same problem as @schmitch
--base-href /something
ads /something to scripts paths in index.html and assets urls in scss
--deploy-url /angular
add /something to base href in index.html, paths in components html, and assets url in scss
So I end with wrong urls in css

https://github.com/angular/angular-cli/pull/6320 may have fixed this case, it's release in v1.4.0-rc.2. Can you try it please?

In my case I used it with ng build not ng serve

@filipesilva i am still having this issue with ng build --base-href /test/ --deploy-url /test/. When i deploy to the server, assets path is falling back to root of the server and failing lo load.

@clydin can you take a look please?

We are having the same problem with --base-href and --deploy-url prepending the service prefix twice on image URL's in the /assets folder. 😢

Guys, this is important for us. You built an app, you deploy it and you can't show it to a client because of this! The app seem completely broken to a client!

Changing to relative paths fixed this for me when doing a prod build with a specified --base-href. For example changing:

to

Worked for me thx @manbearwiz

I was having the same problem with getting my css
/* src/app/app.component.css */
.app {
  background: url('../assets/background.jpg');
}

to correctly resolve when hosted as a GitHub Project Page (keego.github.io/angular-test-app).
I was using ng build --base-href /angular-test-app --deploy-url /angular-test-app with different asset paths:

'../assets/background.jpg'
'./assets/background.jpg'
'assets/background.jpg'
'/assets/background.jpg'

All of which produced weird results:

https://keego.github.io/background.966932addf40da9dccfa.jpg
https://keego.github.io/angular-test-appbackground.966932addf40da9dccfa.jpg
https://keego.github.io/angular-test-app/angular-test-app/background.966932addf40da9dccfa.jpg

instead of the desired:

https://keego.github.io/angular-test-app/background.966932addf40da9dccfa.jpg

I finally got the path to resolve correctly by including trailing slashes to the paths in the ng build command:
ng build --base-href /angular-test-app/ --deploy-url /angular-test-app/
combined with the original asset path:
'../assets/background.jpg'

Is this is still not solved? I'm using angular cli 6.2.3, ng build with the base-href. For example ng build --c prod --base-href /app/. Problem is  IIS tries to look for assets in the the root folder not in the app folder specified.  It should be here /myserver/app/assets/. But it tries to find stuff in /myserver/assets/. So it obviously fails. This is more than just a little annoying, Google??

Still having the same issue, deploying the assets over iis with a deploy script;
ng build -c local
the local configuration goes to my site name + /dist/dev
All my JS Assets and fonts are loading correctly, not the fonts.


SCSS files aren't rebuilt when .scss files change (v3 branch)

Changing SCSS files doesn't seem to update the compiled CSS files when the SCSS plugin is activated and cactus is watching the directory as a server (ie. cactus serve).
Looking at the project files, it appears the compiled CSS files are never compiled in either static/css or .build/static/css when cactus serve is running even though the standard build message (*** Rebuilding (/path/to/project changed)) is displayed in the console.
Furthermore, the SCSS files are compiled to CSS files when non-SCSS (e.g. .html) files are saved, when the server is launched (cactus serve) or relaunched (via quitting the server with CTRL+C and restarting with cactus serve).
My expectation would be that SCSS files are compiled to CSS when a .scss file is saved.
Happy to help debug in any way that I can. I spent a little bit of time digging through the cactus source to try to find a place to start and submit a patch but I'm a bit stuck so I thought I'd try submitting an issue.

This never worked for me with v3. Always get a sass file or directory not found message. No matter what I do the sass file located in static/css/ is never compiled.

any updates on this issue? the only workaround I see is saving the main .scss file which collects all the partials — only then Cactus reloads the page.
Thanks!
—A

I re-installed SASS (on El Capitan Beta) and it worked for me. Started compiling again.

Seems that the scss-plugin is the function definition.
After the line with CSS_PATH, I added
def postBuild(site):
and indented the rest, now it seems to be working as it should.


fix Image_SCSI_Characteristics_Define_DM usage

Image_SCSI_Characteristics_Define_DM expects all options
to be there and this assumption is wrong, we should allow
most of them (except the name of the user ) to be optional

@bjhuangr can you help on this? Thanks


RabbitMQ undocumented configs

I have noticed that for the RabbitMQ integration, there are options for increasing the number of detailed monitored queues/exchanges. I have been using those since by default in some cases this might be necessary, however, is this something that should be documented by Datadog? I can't find docs for those.
Options:

max_detailed_exchanges
max_detailed_queues
max_detailed_nodes

PS: Happy to open an MR documenting those if that's the expected outcome here.
Relevant links:
https://github.com/DataDog/integrations-core/blob/master/rabbitmq/datadog_checks/rabbitmq/data/conf.yaml.example
https://github.com/DataDog/integrations-core/blob/master/rabbitmq/datadog_checks/rabbitmq/const.py#L11-L13
https://github.com/DataDog/integrations-core/blob/8386537099f5497a05192b97e69d97d47e316f78/rabbitmq/datadog_checks/rabbitmq/rabbitmq.py#L75-L79
Describe the results you received:
There are no docs explaining best practices around the options
Describe the results you expected:
Docs explaining the best practices around the number of detailed queues/exchances monitored

I have shared this question on DD public slack and got this reply:

The answer that Greg has given you is totally correct.
To that answer I would add that we have planned a revamp of the RabbitMQ integration in the coming months and it is not worth making changes now.
In any case, thank you very much for your observation.


can't play kindle book

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Can't play kindle book.
Briefly summarize your issue:

when I say "alexa, play kindle book",the sampleApp responds book's name  then it  does not read any book but just replay " something went wrong". This account didn't play any kindle books before with SDK-1.17。 Now SDK-1.20 this problem happens.
And When change another account which can read kindle books normally with SDK-1.17, it can  normally read books on  SDK 1.20.
What is the expected behavior?

it can play kindle books
What behavior are you observing?

can't not read kindle book. It syas "something went wrong"
Provide the steps to reproduce the issue, if applicable:

just say "play kindle books"
Tell us about your environment:

What version of the AVS Device SDK are you using?
  <1.20.0>

Tell us what hardware you're using:
Other - tell us more:
linux with crossed compile
Tell us about your OS (Type & version):

[x] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

Hi @Guoina, can you please reproduce the problem and capture DEBUG9 logs?  Thanks!

alexa.log
I capture DEBUG9 logs  of sdk_1.20  for this problem. please handle it .

HI @Guoina, thanks for the log file.  In the log file, it seems there's no AudioPlayer.Play directive to play the book so it seems to be a cloud issue.  I have filed an internal ticket to investigate further.  Thanks!

@kclchan Thanks for your reply and I really respect the resolution of this issue.

Hi @Guoina, we just got a response that the issue is fixed already.  Could you try again and see if you can still reproduce this?  If it's still a problem, please attach the latest DEBUG9 log.  Thanks!

Hi @kclchan,  the issue is solved perfectly and thanks for your response very much.


ci.adoptopenjdk.net SSL cert auto-renewal doesn't work

Ref: https://adoptopenjdk.slack.com/archives/C53GHCXL4/p1615720070130300 , #1568 , #1569
Something is wrong with the cron job on the ci.adoptopenjdk.net server, as it didn't automatically renew the cert. I don't think it's anything wrong with the command itself, given that the root user can execute it fine:
root@Ubuntu-1604-xenial-64-minimal ~ # /etc/cron.weekly/sslcert_renewal
Your system is not supported by certbot-auto anymore.
certbot-auto and its Certbot installation will no longer receive updates.
You will not receive any bug fixes including those fixing server compatibility
or security problems.
Please visit https://certbot.eff.org/ to check for other alternatives.

No hooks were run.
 There is an example of cron-hourly working, so, I've put the renewal script in there to see if syslog tells me anything about it.

Ah ... I just ran this:
root@Ubuntu-1604-xenial-64-minimal ~ # run-parts --report /etc/cron.hourly/
/etc/cron.hourly//sslcert_renewal:
run-parts: failed to exec /etc/cron.hourly//sslcert_renewal: Exec format error
run-parts: /etc/cron.hourly//sslcert_renewal exited with return code 1

Seems something's wrong with the script.

Following this: https://unix.stackexchange.com/a/487471
Which contains a lot of useful debug stuff for Cron jobs, for future reference.
It was the lack of #!/bin/bash at the beginning of the script. Adding that gives:
root@Ubuntu-1604-xenial-64-minimal ~ # run-parts --report /etc/cron.hourly/
/etc/cron.hourly//sslcert_renewal:
Your system is not supported by certbot-auto anymore.
certbot-auto and its Certbot installation will no longer receive updates.
You will not receive any bug fixes including those fixing server compatibility
or security problems.
Please visit https://certbot.eff.org/ to check for other alternatives.

No hooks were run.
 I'll make the same changes to /etc/cron.weekly/sslcert_renewal, remove the script from /etc/cron.hourly/, and run run-parts --report /etc/cron.weekly/ just in case.

Same output as the hourly one:
root@Ubuntu-1604-xenial-64-minimal ~ # run-parts --report /etc/cron.weekly/
/etc/cron.weekly//sslcert_renewal:
Your system is not supported by certbot-auto anymore.
certbot-auto and its Certbot installation will no longer receive updates.
You will not receive any bug fixes including those fixing server compatibility
or security problems.
Please visit https://certbot.eff.org/ to check for other alternatives.

No hooks were run.
 I'll have to keep an eye on it. For future references, and anybody else, the SSL cert expiration can be monitored in Nagios, so if this breaks again, it should be obvious- if people look at Nagios, that is ... :grimacing:


VS Code - Cosmetic issue - rearrange language name aliases

please complete the following information:

OS version: Win 10
Editor version 1.65.2:
Programming language: C++, C, ...
TabNine extension version: 3.5.38

Issue Details:
Tabnine changes default name aliases that are shown on the bottom of VS Code window. For example it changes C++ name to cpp, C name to c etc.
I managed to change this back to names I like, but it would be nice to not override default aliases that are already in VS Code.
I edited package.json to this look (package.json in package.zip), I would prefer if this would be default one:
package.zip
gz#12957

Hi @pitris90
Thanks for raising this issue!
I've shared it with the team. We will look into it and update.

Hi @pitris90
The issue was fixed in the new version. Appreciate your assistance on this.


Remove deprecated and removed route

This route hasn't been in use for over a year.

@timneutkens just curious if you guys have statistics for these things?

@stramel not sure what you mean? 🤔 This route was just a leftover from a refactor over a year ago.


Add is_mixture_of_unitaries and is_coherent methods to NoiseModel

Part of #2432

Just to clarify: with the solution you're proposing in which the simulator applies the noise model right before simulating a moment, it would simulate a circuit until running into something it can't simulate and then raise a runtime error, right? I'm fine with that; that would remove the need for the methods introduced here.

Or, are you proposing to expand the circuit completely and check if it can be simulated before starting the simulation? That might be a better idea.

Expand first, then analyze, then simulate.

Ok let's go with that.


Arduino mkr1000 GCP IoT Core and MQTT connect failure

Hello, I'm trying to get an arduino mkr1000 board connected to IOT core via MQTT.
I'm following the guide described in this repo (GoogleCloudPlatform/google-cloud-iot-arduino) README.md.  When I get to the end of the guide where the device attempts to connect to GCP, it fails with the following messages in the Serial console
Refreshing JWT
not connected
Settings incorrect or missing a cyper for SSL
Connect with mqtt.googleapis.com:8883
ClientId: projects/a-test-project/locations/us-central1/registries/MKR_GCP_Tutorial/devices/CESMKR1000
Waiting 60 seconds, retry will likely fail

Here is a summary of what I did according to the README and my results.
Hardware/Software Environment
Host Computer is Debian x86_64, v10.10
Arduino IDE 1.8.13
Comments Regarding Quickstart procedure

I've tried various mqtt samples and libraries and "Google Cloud IoT JWT" library was already installed.
GCP has a IoT Core Registry without any authtencation keys added as per the guide
GCP IoT Core Registry has just MQTT protocol enabled.  Initially I had both.  An issue in this repo has a comment where someone mentioned enabling both MQTT and HTTP was a problem.  Enabling both does not seem to effect my problem.  In fails either way.
I generated the .pem files according to the Eliptic Curve procedure.  I uploaded only the public pem to the device I created in GCP as described.  I removed any previous keys from older attempts.  In GCP the device authentication section lists one key with the following properties

key format E256
key value  its not shown.  It shows _
expiration time is not specified.  Its shows -

Since I am using an older Arduino MKR1000, I used the file->examples->google cloud iot core jwt -> mkr1000-lwmqtt example.
I extracted the private key bytes as described using this command openssl ec -in ec_private.pem -noout -text  and updated the example sketch ciotc_config.h accordingly.  I also modified this file for wifi, gcp settings.
In this git repo's README.md "Notes on the certificate" section, it specifies if you are using the MKR1000, then you need to add SSL cert to the MKR1000.  A link is provided to hackster.io.  I used this  process to run a firmware updater program on the MKR1000 and then use another program to download the cert from google.  I was able to run the program to fetch the cert and update the MKR1000 while it was running the firmware update program described on that page.  No warnings or errors.
There is a following section after above in this projects README.md.  It has a section on "Create Registry keys" and a "Create Eliptic device keys".  I did not do this.   There is an earlier section on the device key which I did use.  The earlier section seemed to imply that registry keys were not needed.  I'm not sure what this section is for or why its specified.  I've used other devices previously without a registry key and the gcp help docs says its not required.  Regardless, I added a CA Cert as shown to see if that fixed my problem.  It did not.

Any advice is appreciated.

I should also note that in GCP for the device, clicking the "view logs" link pulls up the logs but nothing is recorded.  I have also changed default log level to Debug.  Ie. Registry details says that cloud logging is "Debug".  I thought this would show connection errors.  Even when I was using other samples, nothing is ever shown on the gcp logging.

I should also note, the README.md mentions jwt.io website.  I was unfamiliar with this site, but inserting a print of the jwt in the getJWT() routine, I get a jwt string which I can paste at the jwt.io website.  It decodes the jwt and lists the following:
Headers
{
  "alg": "ES256",
  "typ": "JWT"
}

payload/data
{
  "iat":<PHONE_NUMBER>,
  "exp":<PHONE_NUMBER>,
  "aud": "a-test-project"
}

Regarding this last part, the payload, it has an entry for EXP.  I am not sure what these fields are, but EXP seems like expiration.  I did not specify a key having a time limit, so I am not sure if this is an error or not.

FWIW, I tried to use wireshark to diagnose this problem.  Here is a write up on that effort.
https://gist.github.com/netskink/4f59d0d91944e85229947889bdb6911c

I have the same issue. I think there is a fundamental flaw in the instructions since far too many people are getting this issue.

I've got another sample im using also.  I am trying to figure it out.  I recently made a wireshark capture file.  However its with a sample that uses the mkr1000 crypto's chip.  If you will, please take a look at this capture.  It might be related to this source.  I'll make a capture of this one soon.  I did full markdown with screenshots so its more than the giest above.
https://github.com/netskink/ssl_publy/blob/main/capture_dump.md

I got this working with arduino example which uses crypto chip and this sample which does the crypto in software.  The github repo above shows how I got it working.

I got this working with arduino example which uses crypto chip and this sample which does the crypto in software. The github repo above shows how I got it working.

have you found a viable solution for mkr1000?


koa custom error handler

Error handlers are specific only to express. But they are a must, even the default validation error is not presentable enough to be used. We need to format errors before they are sent. How can that be done with Koa?

A global middleware can easily handle that.


Picker undefined is not an object: child.props.value

Issue Description
I am trying to return Picker.Item from an array but I face an error after upgrade from version 2.12.2 to 2.13.4 before works fine (with same code), this error is only on iOS in my case.
Version
Native base: 2.13.4
React Native: 0.60.4
Expected behaviour
Everything should render properly
Actual behaviour
Error screen error:
TypeError: undefined is not an object: (evaluating 'child.props.value')
Steps to reproduce
<Picker>
        <Picker.Item label="Item 0" value="0" />
        {this.state.data.map((values, key) => {
            return (<Picker.Item label={values.label} value={values.value} key={key}/>);
        })}
</Picker>

but this for example works:
<Picker>
        <Picker.Item label="Item 0" value="0" />
        <Picker.Item label="Item 1" value="1" />
</Picker>

Any other additional info which would help us debug the issue quicker.
Related issues closed: https://github.com/GeekyAnts/NativeBase/issues/983

At the moment i found this workaround:
render {
    let data = this.state.data;
    data.unshift(<Picker.Item label="Item 0" value="0" />);
    return (
        <Picker>
            {data.map((values, key) => {
                return (<Picker.Item label={values.label} value={values.value} key={key}/>);
            })}
        </Picker>
    );
}

Please try our latest release v2.12.5.

Hi , you're fix it is'nt fixed yet , the picker behaviour is cant accept empty or undefined data . Make sure you pass conditional data when the data is empty just pass empty array .


fix: add schema name to datasource field in chart list

SUMMARY

see title and linked ticket
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

CI
verify that schema name is rendered in dataset name for the charts list view

ADDITIONAL INFORMATION

[x] Has associated issue: fixes #11265
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #11278 into master will decrease coverage by 5.72%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##           master   #11278      +/-   ##
==========================================
- Coverage   65.43%   59.71%   -5.73%
==========================================
  Files         831      393     -438
  Lines       39528    24831   -14697
  Branches     3598        0    -3598
==========================================
- Hits        25866    14828   -11038
+ Misses      13553    10003    -3550
+ Partials      109        0     -109

Flag
Coverage Δ

#cypress
?

#javascript
?

#python
59.71% <28.57%> (-0.83%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/models/slice.py
86.36% <28.57%> (-1.66%)
:arrow_down:

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/databases/commands/create.py
31.91% <0.00%> (-59.58%)
:arrow_down:

superset/db_engine_specs/hive.py
53.90% <0.00%> (-30.08%)
:arrow_down:

superset/views/database/mixins.py
59.64% <0.00%> (-22.81%)
:arrow_down:

superset/databases/commands/update.py
85.71% <0.00%> (-8.17%)
:arrow_down:

superset/databases/api.py
81.38% <0.00%> (-7.98%)
:arrow_down:

superset/databases/dao.py
94.11% <0.00%> (-5.89%)
:arrow_down:

superset/views/database/validators.py
78.94% <0.00%> (-5.27%)
:arrow_down:

superset/databases/schemas.py
94.77% <0.00%> (-5.23%)
:arrow_down:

... and 453 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 634676d...de9ff97. Read the comment docs.


pythonPackages: sphinxcontrib-wavedrom: init at 2.0.0, wavedrom: init at 0.1

Motivation for this change
Things done

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

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

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

Are there any updates on this pull request, please?

Nothing happening so closing.

Any plans on integrating sphinxcontrib-wavedrom 3.0+ to nixpkgs? Especially since wavedrom is already a part of it.


Series comparison fill_value not supported

Currently dask Series comparison operation methods (e.g. .eq(), .lt(), etc) don't support the fill_value keyword like pandas Series do. For example,
import numpy as np
import pandas as pd
import dask.dataframe as dd

s = pd.Series([1, 2, 4, np.nan, 7, 2])
s_nan = pd.Series([1, 2, 4, 5, 7, 2])

ds = dd.from_pandas(s, npartitions=3)
ds_nan = dd.from_pandas(s_nan, npartitions=3)

eq_pd = s.eq(s_nan, fill_value=4)
print(f'eq_pd = {eq_pd}')

eq_dd = ds.eq(ds_nan, fill_value=4)
print(f'eq_dd = {eq_dd}')

throws an unexpected keyword error:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-1-18b77b3714d3> in <module>()
     14 print(f'eq_pd = {eq_pd}')
     15
---> 16 eq_dd = ds.eq(ds_nan, fill_value=4)
     17 print(f'eq_dd = {eq_dd}')

TypeError: meth() got an unexpected keyword argument 'fill_value'

Seems like this should be easy to fix.  My guess is that just passing along
the keyword argument might work.
On Tue, Nov 27, 2018 at 12:31 PM James Bourbeau<EMAIL_ADDRESS>wrote:

Currently dask Series comparison operation methods (e.g. .eq(), .lt(),
etc) don't support the fill_value keyword like pandas Series do. For
example,
import numpy as npimport pandas as pdimport dask.dataframe as dd
s = pd.Series([1, 2, 4, np.nan, 7, 2])
s_nan = pd.Series([1, 2, 4, 5, 7, 2])
ds = dd.from_pandas(s, npartitions=3)
ds_nan = dd.from_pandas(s_nan, npartitions=3)
eq_pd = s.eq(s_nan, fill_value=4)print(f'eq_pd = {eq_pd}')
eq_dd = ds.eq(ds_nan, fill_value=4)print(f'eq_dd = {eq_dd}')
throws an unexpected keyword error:

TypeError                                 Traceback (most recent call last)
 in ()
14 print(f'eq_pd = {eq_pd}')
15
---> 16 eq_dd = ds.eq(ds_nan, fill_value=4)
17 print(f'eq_dd = {eq_dd}')
TypeError: meth() got an unexpected keyword argument 'fill_value'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/4249, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszLGVJKJ56BR-7EwmWdbPGs6pG86hks5uzXcEgaJpZM4Y1_SC
.