[msgpack] Update to 6.1.1

[x] Changes comply with the maintainer guide.
[X] SHA512s are updated for each updated download.
[X] The "supports" clause reflects platforms that may be fixed by this new version.
[X] Any fixed CI baseline entries are removed from that file.
[X] Any patches that are no longer applied are deleted from the port's directory.
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

Tested feature boost successfully in the following triplet:

x86-windows
x64-windows
x64-windows-static
x64-linux


Feature/alpine java

Needed this for one of my projects so added alpine java with oracle jdk 8 here.

Hi @whithajess,
thanks for you PR. Alpine support is planned for the third release from now (but it may change depending on KM releases). So I won't merge in master for now. But we have a alpine branch (https://github.com/sheepkiller/kafka-manager-docker/tree/alpine) and an automatic build if you use alpine as tag. It's a second class citizen image for now, I'll review you change later today (timezone: CEST) and give you a more detailed feedback.

Ah ok didn't see the branch its similar just without java envs which aren't required and a README update.

No problem. The alpine branch is just a test bed for now, mostly because I'd like to drop jdk from the final image. I don't know for now if I  use a kind of noop build-only layer which depends on jdk and the install jre, or if I maintain unofficial builds of kafka-manager.
BTW, I was unable to lock some time today to review your changes and  give you the decent feedback you deserve.


Routes not auto generated

Environment
Nuxt 3.6.5
Nuxt-i18n 8.0.0.rc-2 or 8.0.0.beta-13
Reproduction
Created routes and migrated to 3.6.5 from 3.0.0
Describe the bug
So we are migrated from 3.0.0.rc-10 and i started works with adding nuxt-i18n. Nuxt-i18n auto installed nuxt 3.6.2 and everything is worked. But when i pulled new branch with migrated Nuxt 3.6.5, all my configs stop working. I checked routes, checked how it is included, adding module before @nuxtjs/i18n and all of this is not working
For example:
Routes not auto generated, and when i use starategy: 'prefix', and go to localhost, prefix not added. I check in Vue Devtools route component and name of component is same of route, and prefix not added
@kazupon you can check of this bug, or this is only in my project ?)
Additional context
No response
Logs
No response

Thank you for reporting your issue!
Unfortunately your description is not sufficient for us to figure out what is causing your issue, could you please provide a minimal reproduction project for us to debug locally?

switchToLocaePath not working

prefix not added
@BobbieGoede show my source code ?)

@BobbieGoede where i can see auto generated routes in .nuxt directory? And how auto generate is works, because routing is works, but nuxt-i18n can't resolve of the files for auto generate

@BobbieGoede show my source code ?)

A minimal reproduction is a project that reproduces your issue, this could be your source code (which is understandably not ideal), or more preferably a new small project with a similar configuration that recreates the same issue you are experiencing. You could for example use the nuxt starter for this.

@BobbieGoede where i can see auto generated routes in .nuxt directory? And how auto generate is works, because routing is works, but nuxt-i18n can't resolve of the files for auto generate

As you mentioned, usually you can see which routes have been generated in Vue Devtools in the Routes tab, or enable [Nuxt DevTools)[https://nuxt.com/docs/api/configuration/nuxt-config#devtools] and see all routes in the Pages window.

all functionality is works perfect but strategy not working, and i think i cannot do all things in new project 🥲

I've backed from short vacation.
as mention @BobbieGoede, We need minimal reproduction because we cannot reproduce your issue in out enviroment.
nuxt i18n module issue guidline says:

Please use a template below to create a minimal reproduction, and provide to us your issue cases
👉 https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz

https://github.com/nuxt-modules/i18n/issues/new?assignees=&labels=pending+triage&projects=&template=bug-report.yml
Could you give your minimal reproduction to us please?

sorry, next week i will be continue investigate, why is autogenerate is not working
i think it is my local problem with packages, because my old realization is working, before we are ending migration to nuxt 3.6.5

i think it is because of layouts, when i integrated layouts works in extended pages level, now it is works by layouts direcory, and routes works in extended pages

all problem it is redirect in main path, we deleted redirect in main, and all routing is worked


fix reactive css for website

Description
Fix issues when displaying website front page on mobile
Checklist

[ ] My changes follow the contributing guidelines of this project.
[ ] I have performed a self-review of my code.
[ ] I have made corresponding changes to the documentation.
[ ] I have added tests that prove my fix is effective or that my changes work.
[ ] New and existing unit tests pass locally with my changes.

Coverage remained the same at 90.695% when pulling 99d6af08d19231e9a82e2157f195d9982f07c07e on fix/website-mobile-css into ee0c305e273021c53e5ae18288392cb8d5579941 on main.


[Data grid] [Behaviour] Bulk Actions

Introduction
Users can perform batch actions on multiple table items simultaneously. When an item is selected, a bulk actions bar switches between the headers row, offering actions to apply to all selected items. This enhances efficiency by reducing the need to repeat actions on individual items. In bulk mode, single action icons and overflow menus on each row should be disabled.
### Tasks
- [ ] [Data Grid] UI of the Bulk Actions
- [ ] [Data Grid] Development of the Bulk Actions


Allow generation of a single item from the settings without changing other items

Use case:

Many procedures may be in the process of being changed in a given database.
One team member is working on just 1 procedure and wants to make sure other changes aren't applied to generated code yet
Team member could provide information to Data Access Generation to run just procedure named and not delete other items

Trying to determine if the benefits outweigh the extra complexity.

I don't think the added complexity is worth it.


[Suggestion] Multiple final destinations (for JBOD setups)

Would be great if we could specify multiple final destination directories/drives and have the plotter skip destinations that become full ;)

I think we need to keep this as a plotter and not a plotting manage or the scope becomes too big. It's trivial to set up a bash or python script to do this. No need to bloat the plotter and introduce dependencies.

I agree. That sort of thing is best left to a script and/or plot manager (plotman, Swar etc.) This project should just be the barebones plotter - best to focus on performance and bug fixes at the moment rather than admittedly useful, but unnecessary, features.

Yes, this is planned.

Is anyone working on scripting this, + next plot as soon first start to be copied?

Honestly the check if full isn't needed but seriously the ability to use 2 destination directories and switch back and forth every other between then really is a needed feature considering SMR drives are slower than you can plot.......it creates a bottle neck which wouldn't be as much of an issue if it switched between 2 or more specified directories in series.

Would be great if we could specify multiple final destination directories/drives and have the plotter skip destinations that become full ;)

Lightweight wrapper script I wrote to address this (and some other pains I have): https://github.com/tobernguyen/madmax-manager

As from the old days I've plotman on my plotter machines, I use the archive function of plotman to move my plots in place...
Since plotman v0.4 the archive part does also support local archive dirs...
So i run one tmux session for chia-plotter:
chia_plot ... -t /mnt/tmp -d /mnt/dst -n -1
And in another tmux session i ran:
plotman archive

Hey, I'd like this feature very much as well. I have a suggestion about how we can get a middle-ground between madmax being a "plot manager" and a "plotter."
Perhaps there could be a flag to fork if plotting is finished and we are only waiting for the final transfer. This way a script running sequential chia_plot commands will move on to the next drive while a transfer finishes. Another possibility is to fork in general for transfers to make it trivial for a script to know whether chia_plot is plotting or transferring. At the moment a script needs to read the chia_plot output to determine if it's time to start plotting the next drive, but with just a minor change like I've mentioned, a script could just look for if there is a running instance of the primary madmax plotting software.

Honestly the check if full isn't needed but seriously the ability to use 2 destination directories and switch back and forth every other between them really is a needed feature considering SMR drives are slower than you can plot.......it creates a bottle neck which wouldn't be as much of an issue if it switched between 2 or more specified directories in series.

This is also a very good point, albeit somewhat tangential to the original feature request. I do my best to only plot onto directly attached SAS or SATA disks, but occasionally I end up plotting to NAS or USB drives which leads to severely dimished plots per day. Scripting the alternation is of course possible, but much messier than it could be if there was some support in chia_plot. Once again, as my last post way saying, this doesn't need to be implemented fully, but there could be some sort of flag and communication system added to make it so a script can manage this without parsing logs.

In my opinion, there must be a clear and solid line between a "plot manager" and "plotter", initiating plotting instances can invoked via a plot manager, having a mix of both would void the purpose of a plot manager and further complicate the development and maintenance of the plotter.


tegra: delta updates cboot support fix

See review and discussion in https://github.com/OE4T/meta-mender-community/pull/11
Also included changes to test scripts for validation purposes and update to test documentation.
Moved deploy script into tegra-demo-distro with https://github.com/OE4T/tegra-demo-distro/commit/b034c9293c6a7cc5fcc11cf00e6df42c1600c20b

@kacf and @TheMeaningfulEngineer this should be ready to merge.

Thanks @dwalkes
Waiting for the automatic tests to finish and will merge


Wrong propTypes

Hi @mu29,
I'm using your package in my project and have come across a few weird React warnings in Chrome devTools. After a couple of searches. It turned out that you're using wrong prop type check in your code. As in this issue discuss. Could you fix it :) Thank you!

Fixed here, and I just released a new version.
Thank you!

Great! Thanks for the quick update. really appreciate your hard work!

Thanks. It was very helpfull.


Crash on screen rotate

When sending a motor command, and the screen rotates, something crashes (bets on a NullPointerException)
Discovered at Austin Maker Faire

Fixed.
597e8c6


Add multipartfile model in Azure.Core

fix https://github.com/Azure/typespec-azure/issues/1380

All changed packages have been documented.

:white_check_mark: @azure-tools/typespec-azure-core

Show changes
@azure-tools/typespec-azure-core - feature ✏

Add model MultiPartFile with required filename and contentType

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


What server is being currently investigated?

I'm not sure if this could be filed as a feature request or (from end user perspective) an issue. I let this one for you to decide.
In many of tabs it isn't clear which server is currently on the focus. This is in many cases really confusing. Check the image attached. I got here by clicking on one my servers and some minutes later I wasn't sure which server this one was as I have many of them with the same databases. All I could say was, this is a one of my many empty (newly installed as a template) database servers. I could also make other screenshots but I think the attached image clearly demonstrate my point.
It should be possible to say, at all time, what Server we are currently investigating.

Thanks for the suggestion - It should be possible to put the server name in the title bar.

The current position in the tree is highlighted when using the tree to navigate:

The position is just the current instance/db - it could be expanded to show the full tree path.
For the DB space tab you can navigate down from the root level Checks node to view a specific instance.  You are still at the root level of the tree but are viewing an individual instance.  The tab page should be changed to show the selected instance\db.

I agree with your suggestion / explanation BUT that wasn't the main point of the opened issue.
We need to have a foucs on User Experience here.
One way or another anyone could find where he/she currently is. This of course means additional user clicks and wondering around which in return results in end user time loss / focus. End users shouldn't wonder around in the application but use the features and focus on the data/tasks.
Additional clicks also means extra queries which will be sent back to DB server and ... rest should be known to everyone.
And just for additional explanation how I ended up to the image I sent:
1- Click the "Checks" in the root folder
2- Click the "DB Space" Tab
3- Click on one of the Servers Link
4- Went for a short coffee Break :D
5- Came back and I wasn't sure where I am
I would probably know where I was if I had a unique database on the server but as I mentioned before, the server in the image is just a template server and I got many of them at the same time so the identification over unique hosted DBs isn't possible.
I find the idea of adding the Server Name to the Main Window Title (or something similar) is a good one for a start and relatively easy implementation.
Another (maybe a bit more complex) idea would be: After clicking any Server Link in the main panel (from the root level or ANY other location), the selected server should be synced in the navigation panel as selected item in the navigation tree. This idea is also covers very well from the logical point of view because if one is reviewing the data of ONE server, then he/she has left the overall review at the root level and also it is alway important to let the end use know where he/she is. Implementation of this ideas may of course require additional stuff to be taken into account.

Some usability improvements are coming in this area. It will now look like this at the root level when you drill down:

Similar changes will be made elsewhere to ensure you always know what instance you are looking at.

The fix is included in 2.22.5 🎉


Do not inject monitoring, system, logging and other related namespaces

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I'm not sure I understood your problem correctly, but if you want to ignore some namespaces for odigos functionality. There's ignoredNamespaces field you can use this.

I'd prefer to include to the namespaces I want to be injected instead of excluding some of them. Also, my list is dynamic, I'd like to specify a namespace selector (matchLabels or matchExpressions, I guess the best would be to allow both options) instead of a static list.

Writing a summary of all the comments just to make sure we are all on the same page:
We should probably support 4 ways to select the target applications:

Opt out: instrument everything besides well-known ignored namespaces (kube-system,etc)
Opt out + additional ignored namespaces: instrument everything besides the selected namespaces (as @eugercek said this is possible by using the ignoredNamespaces feature).
Opt in (applications scope): select specific applications by name / labels / annotations
Opt in (namespace scope) - select specific namespaces by name / labels / annotations

Does that sound right to everyone? can you think of a use case that we don't cover using these 4 ways to select applications?


Utils.jl

Basic description of hfun and lx functions.

I brought this in, thanks a lot for laying the base work :heart:


How disable eslint-plugin-react(react-in-jsx-scope) rules?

I'm using the OXC VS Code extension and I'm getting the slint-plugin-react(react-in-jsx-scope): 'React' must be in scope when using JSX help: When using JSX, expands toReact.createElement("a"). Therefore the React variable must be in scope. warning from this extension, but in my .eslintrc.json I have:
"react/react-in-jsx-scope": "off",
"react/jsx-props-no-spreading": "off",

I want to remove that intrusive warning from the editor without import React, that isn't needed nowadays.

This doesn't sound like a correctness rule, I'll remove it from the defaults.
Reading configuration from vscode is still work in progress.

Is this from v0.2.1? Previous versions had a bug turning on these unwanted rules.

I'll check the version

I updated and reload all my VS Code and it's solved, thanks!

My mistake releasing a badly tested version 😅


text-multiple-hyperlinks doesn't recognize multiple lines

Sample (which sample are you having trouble with)
text-multiple-hyperlinks
What Should Happen
In a multi line of text column, inserting multiple lines on links it should format them individually.
What Actually Happens
I have a document library with a document set and using this custom json to format a multiple line column just gives me a single clickable text (button like) with all the lines I insert in the column concatenated. It takes the string in the first square brackets as text and concatenate all the rest in the href (all other urls and strings in brackets).
I tried using the first commit version from the PR (https://github.com/gdk-max/List-Formatting-link-to-documentset/blob/994613c91ea518fc1d79c45841ac06c1dfd943a9/column-samples/text-multiple-hyperlinks/text-multiple-hyperlinks.json) and this one works just fine.

Hi @mbrivio .
Is it possible to tell me what value is set for multi-line text?

Hi @tecchan1107,
well I actually also tried the example values from the readme file with the same results.
It is happening in a document set but other than that there's nothing particular about it.

Thank you for the reply @mbrivio 🙏✨
I will check and verify again on my end!

Thank you for the reply @mbrivio 🙏✨
I'll check and verify again on my end!

Hi @mbrivio and @tecchan1107 ,
I am trying to figure out why you have the incorrect result and the only way I can create the issue is by not using [ square brackets.
Could you test with these values?
[Learnia]https://www.learnia.be
[Office]https://www.office.com
[List Formatting Samples]https://github.com/pnp/List-Formatting

@gdk-max
When I used this code, the links were displayed!

@tecchan1107
Yes, I don't see a problem either. It would be useful to test with the values from @mbrivio

Since there are no replies, I'm closing this issue.


Changing Lock Screen Image?

When I change our lock screen image to the company logo on Windows 10 Pro, SSPR from the login screen no longer functions. If says "Please Waiting" and then goes right back to the lock screen.

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

ID: c2015c6c-60c7-bb74-469c-e9320301d08a
Version Independent ID: 0ff19de6-c892-10ff-5fe8-f6a70abfa3f5
Content: Azure AD self-service password reset for Windows - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-sspr-windows.md
Service: active-directory
Sub-service: authentication
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

Hello @clintbennett  thanks for your feedback, we'll be investigating this and letting you know our updates.

Can you please provide a screenshot of the issue occurring? Can you try performing this action again? This is not expected functinoality

I just shared a video of the issue from my OneDrive to you via email.

Hey @ClintBennett Thanks for letting us know about this. I'm going to connect with you offline in regards to this issue, as such I'll be closing out this github issue.


Long boot time for template VM.

If I just try to power on the ubuntu 16.04 template with cloud-init installed, bootup takes quite long (126 additional seconds at least).
After looking into cloud-init logs I see that cloud-init tries to get http://<IP_ADDRESS>/latest/meta-data/instance-id from DHCP server <IP_ADDRESS> and fails. And finally settles to load  'datasource DataSourceNone', instead of DHCP  <IP_ADDRESS>.
...
2017-03-31 18:17:09,861 - DataSourceCloudStack.py[DEBUG]: Found DHCP identifier <IP_ADDRESS>
2017-03-31 18:17:09,862 - util.py[DEBUG]: Reading from /var/lib/cloud/seed/cs/meta-data (quiet=False)
2017-03-31 18:17:09,862 - url_helper.py[DEBUG]: [0/1] open 'http://<IP_ADDRESS>/latest/meta-data/instance-id' with {'timeout': 50.0, 'url': 'http://<IP_ADDRESS>/latest/meta-data/instance-id', 'method': 'GET', 'headers': {'User-Agent': 'Cloud-Init/0.7.9'}, 'allow_redirects': True} configuration
2017-03-31 18:17:09,897 - url_helper.py[WARNING]: Calling 'http://<IP_ADDRESS>/latest/meta-data/instance-id' failed [0/120s]: request error [[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)]
...
2017-03-31 18:19:16,689 - DataSourceCloudStack.py[CRITICAL]: Giving up on waiting for the metadata from ['http://<IP_ADDRESS>/latest/meta-data/instance-id'] after 126 seconds
2017-03-31 18:19:16,689 - handlers.py[DEBUG]: finish: init-network/search-CloudStack: SUCCESS: no network data found from DataSourceCloudStack
2017-03-31 18:19:16,689 - handlers.py[DEBUG]: start: init-network/search-None: searching for network data from DataSourceNone
2017-03-31 18:19:16,690 - init.py[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceNone.DataSourceNone'>
2017-03-31 18:19:16,690 - handlers.py[DEBUG]: finish: init-network/search-None: SUCCESS: found network data from DataSourceNone
2017-03-31 18:19:16,690 - stages.py[INFO]: Loaded datasource DataSourceNone - DataSourceNone
=================================
/run/resolvconf/resolv.conf contains this data:
...
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
search eng.vmware.com nimbus.eng.vmware.com vmware.com
and similar entries in /run/resolvconf/interface/ens160.dhclient, /run/systemd/timesyncd.conf.d/01-dhclient.conf
So looks like <IP_ADDRESS> is serving as name server, DHCP as well as NTP server for the template.

All the logs starting with 2017-03-31 is the old ones left in the template and can be ignored.
I also observed the long startup time for the template VMs.
The reason seems is inside kops-configuration service.
The service keeps waiting for missing packages including libltdl7, nfs-common, python-apt...
System log shows:
syslog:Apr 20 01:29:43 master-us-west-2a nodeup[1780]: I0420 01:29:43.600519    1780 executor.go:157] Executing task "Package/libltdl7": Package: libltdl7
syslog:Apr 20 01:29:43 master-us-west-2a nodeup[1780]: I0420 01:29:43.600582    1780 package.go:134] Listing installed packages: dpkg-query -f ${db:Status-Abbrev}${Version}\n -W libltdl7
syslog:Apr 20 01:29:43 master-us-west-2a nodeup[1780]: I0420 01:29:43.999295    1780 package.go:259] Installing package "libltdl7"
syslog:Apr 20 01:29:43 master-us-west-2a nodeup[1780]: I0420 01:29:43.999493    1780 package.go:307] running command [apt-get install --yes libltdl7]
syslog:Apr 20 01:29:44 master-us-west-2a nodeup[1780]: W0420 01:29:44.187272    1780 executor.go:109] error running task "Package/libltdl7" (8759h59m36s remaining to succeed): error installing package "libltdl7": exit status 100: Reading package lists...
syslog:Apr 20 01:29:44 master-us-west-2a nodeup[1780]: Package libltdl7 is not available, but is referred to by another package.
syslog:Apr 20 01:29:44 master-us-west-2a nodeup[1780]: E: Package 'libltdl7' has no installation candidate

When I manually tried apt-get install libltdl7, I got same error:
root@master-us-west-2a:~# apt-get install nfs-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nfs-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

@maplain assigning to you since this is related to #63

we should not use cloud-init for this going forward, but rather build topical (master/worker) vms with all the packages already installed. In addition to that it might be worth looking at leveraging the ovfenv info for configuring the vm with things like hostname and such.

This issue was moved to kubernetes/kops#2746


TypeError: StableDiffusionImg2ImgPipeline.call() missing 1 required positional argument: 'init_image'

pip install diffusers==0.10.0

@st.cache --> # @st.cache

The problem has been solved


New Privacy and Policy is added

Issue: https://github.com/param-code/counter-app/issues/231
Privacy and Policy page is added to the footer, when the user clicks on that link it will be redirected to a different webpage.

Issue: #231
Privacy and Policy page is added to the footer, when the user clicks on that link it will be redirected to a different webpage.

Okay @TanmayKalra09 .


Mobile API

Changes to implement a REST-like API. There is only one endpoint right now.
Added several NuGet packages to implement many of the recommendations in this article.
Includes

Refit for the API definition
Connectivity plug-in
fusillade for request prioritization and perhaps we will use its request caching mechanism
Polly for retry handling on exceptions
akavache is something we might use for more thorough caching.

This is dependent on changes in PR #645. This code and the code in that PR are up to date with Xamarin release Cycle 7.
In preparation for the codeathon on 6/18/16.
@BillWagner @tonysurma James Sturtevant

I reset the build configuration to work for these two pull requests (but for now they just build the crisischeckinweb projects and  not the xamarin stuff) so we can verify those builds continue to work at least.  I also reran the builds for these PRs.
Before Saturday or during Saturday we should get xamarin and the api stuff integrated - in fact the api stuff should get added into crisischeckinweb etc. so we can deploy that to the azure websites just like the web code. (duplicating this comment in the other PR so we have it in both)

I just verified the API stuff is in the crisischeckinweb project (yay!) so we are good on that and the build is building/testing that (for however many tests there are there).

@brunck I just merged #645  If you can manage the conflicts on this one, I'll merge it in. Then, we should be in a good position to merge the mobile-rework branch into master.
That will be exciting, and get us ready to move forward on all fronts!

Ok, will do.
🎉

@BillWagner could you merge master into mobile-rework?
I think that will help simplify things for me to manage the conflicts via my fork.

@BillWagner Merged. It looks good!


shopify/frontend: update wallet adapter

This updates the versions of wallet-adapter used. The major changes include revamped UI components and improved detection of installed/loadable browser wallets.
This shouldn't be merged yet though -- something is broken with WalletAdapter's modules + Create React App.

cc @oJshua sounds like you may have already done some of this

Superseded by #28


[Toolkit bug]: AI Tools do not free video memory

Describe the bug
After texture upscale video memory goes full and does not cleared.
How do you reproduce the bug?
Open AI Tools and process a dds texture into PNG files.
What is the expected behavior?
Free video memory after processing texture.
Version
2024.1.1

This is a duplicate of this issue: https://github.com/NVIDIAGameWorks/rtx-remix/issues/310 which was fixed and will be available in the next release of the app!


Should validating a file fail if it is not named CITATION.cff?

I think a question for @sdruskat, @jspaaks, @arfon and others(?)
The CFF spec says that the CFF file should be named CITATION.cff. The ruby-cff gem has two levels of validation:

validating the internal model/data structure;
validating a CFF file directly.

The first case is useful for validating a structure that you are building programmatically; the second is for validating an existing file. So, should the second case fail if the file that is being validated is not CITATION.cff?

I think there's value in requiring a standard name (i.e., validation should fail if the name isn't CITATION.cff)

I'll implement this, but I'll leave it until after the 0.8 release.


error: main.c: No such file or directory

I followed exactly your instructions to build on Linux but get an error message:
$ sudo apt install libupnp-dev
$ mkdir build
$ gcc main.c -o build/libupnp_example -lupnp
gcc: error: main.c: No such file or directory

What to do?

Check your current working directory and/or file listing:
> pwd
/path/to/repository/libupnp_example
> ls
build  CMakeLists.txt  doc  LICENSE  main.c  README.md  tools

It should be the root of the libupnp_example repository. You need to run gcc from there.


Add other libraries from purescript owner?

Batteries includes almost every library from the purescript owner on GitHub. Here are the ones it doesn't include:

[ ] purescript-arrows
[x] purescript-functors
[x] purescript-graphs
[x] purescript-monad-eff
[ ] purescript-profunctor
[ ] purescript-quickcheck
[ ] purescript-semirings
[ ] purescript-validation

Should it include any of those?

purescript-arrows seems like a reasonable addition. The only thing it exports that could collide with other packages is Static.

purescript-functors only exports the Product newtype. It could be useful, but I have never needed it.

purescript-graphs seems too specific to include with a prelude.

purescript-monad-eff has been deprecated for purescript-eff, which is already included.

purescript-profunctor seems useful. It reminds me of Control.Arrow from Haskell.

purescript-quickcheck is probably too specific to include in a prelude.

purescript-semirings only exports the Free newtype. That collides with the Free data type from purescript-free. I'm not sure which one is preferred, but I'm assuming it's the one from purescript-free.

prescript-validation looks useful, but I don't know if Batteries should re-export Data.Validation or Data.Validation.Semiring. They have identical exports and I'm not sure which is preferred or more general. The bare one uses semigroups, the other one (obviously) uses semirings.

Unfortunately Data.Profunctor exports lmap and rmap, which collide with Data.Bifunctor.


Simplify getAllArray

Just a small tweak :)

Thanks @JustMaier ! Sorry for the long delay with PRs on this repo.
This commit got in #44


feature: support Installing pouch on various distributions

Signed-off-by: Zhanchun Zhang<EMAIL_ADDRESS>1.Describe what this PR did
build rpm and deb packages for pouch
2.Does this pull request fix one issue?
fixes #67
3.Describe how you did it
4.Describe how to verify it
5.Special notes for reviews

The CRI tests failed because CRI_FOCUS="" and CRI_SKIP="", all tests are run. We may need to fix this in branch 0.1.0. WDYT @allencloud

Do we need to push these files to the master branch? @zzchun

The CRI tests failed because CRI_FOCUS="" and CRI_SKIP="", all tests are run. We may need to fix this in branch 0.1.0.

I am afraid my answer is no. Actually we could fix them in master, and make sure the 0.2.x will never have the same issue. This work does not need us to do backporting. @zzchun @Letty5411
So maybe pushing to master is what we need urgently. If we can reach consensus, let us kick the ball ASAP.

@allencloud these files have been merged to the master branch , I am trying push to 0.1.x now

I think we have not ubuntu distribution's installing Pouch yet. Could you first complete https://github.com/alibaba/pouch/blob/master/INSTALLATION.md#ubuntu first. I think this is really important for our users. @zzchun

I think this could be closed, right. Since we will never update 0.1.x branch. And we will remove this branch soon. Right?
If you confirmed this, please close this PR. Thanks. @zzchun


[JAST-013] Code Deobfuscation

As a user, I would like to be able to de-obfuscate the code of a map so that it is more readable.

Closed following component split, remade here: https://github.com/zach-cloud/JSyntaxTree/issues/2


Standalone improvements

These improvements allow us to use the multiuser bundle out of the box with just the single user

:shipit:


one to one relation error

one to one relation error happening on diff.py line 80 where field object does not have attribute default if onetoonerel type field. suggested patch
if hasattr(field, 'default'):
value = field.default if field.default is not NOT_PROVIDED else None
else:
value = None

hey, can you provide a stack trace or test case that shows the error?

Same error also suggesting one line patch
value = field.default if getattr(field, 'default', NOT_PROVIDED) is not NOT_PROVIDED else None
stack trace:
File "pkgs/auditlog/diff.py", line 135, in model_instance_diff
new_value = get_field_value(new, field)
File "pkgs/auditlog/diff.py", line 80, in get_field_value
value = field.default if field.default is not NOT_PROVIDED else None
AttributeError: 'OneToOneRel' object has no attribute 'default'

I was also hitting this, when using the audit log with django-polymorphic
Here is a pull request ;)

Fixed in https://github.com/jazzband/django-auditlog/commit/a56d0e6f784f3d0e1107f41c8c7a3f2423686c14


How to configure tsc command?

Where can I specify the tsc bin path and add command switches?

The plugin is shipped with a copy of tsc.js that you can use for building. Though I'm not sure what you mean exactly by "command switches".

For setting options, you'll want to look into adding a tsconfig.json.
Right now tsserver.js is just bundled in the tsserver directory. You can always swap in an alternate version by cloning from https://github.com/Microsoft/TypeScript, performing a build, and copying in the appropriate files from TypeScript's build/local directory.

I see. I just saw ~/.config/sublime-text-3/Packages/TypeScript/tsserver. I was planning to do exactly that @DanielRosenwasser . Thanks!

No problem.
Alternatively, you set this repository in "development mode" (see here) where your clone is a sibling directory to the TypeScript clone. You can then run jake update-sublime from the TypeScript directory.

Great, even better. I will try that. Thanks


modal not shown

hi all I'm using angular2 modal in my web app and here I'm using the modal to show delete dialog
deleteFUnction()
{
this.deleteModal.confirm()
.isBlocking(false)
.showClose(true)
.keyboard(27)
.okBtn("delete")
.cancelBtn("cancel")
.title('delete row')
.body('do you want to delete this row')
.open();
.then((resultPromise) => {
return resultPromise.result.then((result) => {
// here goes the delete action
});
jQuery('body').removeClass('modal-open');
}, () => {//on cancel do nothing }
});
}
the problem is that the dialog is not shown on the screen (shown as a very thin line) although it is working properly in other views!!
please advice.

experiencing the same issue when i use the demo code
openModal() {
this.modal.alert()
    .size('lg')
    .showClose(true)
    .title('A simple Alert style modal window')
    .body(`

Alert is a classic (title/body/footer) 1 button modal window that
        does not block.

        Configuration:

Non blocking (click anywhere outside to dismiss)

Size large

Dismissed with default keyboard key (ESC)

Close wth button click

HTML content

`)
    .open();

}
I see a 1px line with no content in the following

I am experiencing the same issue, modal sometimes only shows a thin line, when trying to open a custom dialog component.
I open the LoginComponent (custom modal) from the NavbarComponent (which is always open). However, the modal only fails on some occations, seemingly dependent on what page I am showing beneath the navbar:

If showing page A, and opening modal, it works.
If showing page B first, then navigating to page A and opening the modal, it does NOT work.
If showing page B it works, no matter how much I navigate back and fourth before opening modal

The times where it is not working, it seems like the angular2-modal cannot find or start the LoginComponent (custom modal component), because the constructor is never called for this component.
My code:
This is from the NavbarComponent (from where I open the modal)
`  login() {
const builder = new BSModalContextBuilder(
{  } as any,
undefined,
LoginComponentContext);
  let overlayConfig: OverlayConfig = {
      context: builder.toJSON()
  }

  this.modal.open(LoginComponent, overlayConfig);
  var dialog = this.modal.open(LoginComponent, overlayConfig);

  dialog
    .then((d) => d.result)
    .then((r) => {
      // success
      console.log("Dialog ended with success: ", r);
     }, (error) => {
       // failure
       console.log("Dialog ended with failure: ", error);
    });

}`
This is the the LoginComponent (custom modal component itself):
`import { Component, OnInit } from '@angular/core';
import { DialogRef, ModalComponent } from 'angular2-modal';
import { BSModalContext } from 'angular2-modal/plugins/bootstrap';
import { LoginService } from '../core/login.service';
export class LoginComponentContext extends BSModalContext {
constructor(){
super();
}
}
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.scss']
})
export class LoginComponent implements OnInit, ModalComponent {
context: LoginComponentContext;
private email: string = '';
private password: string = '';
constructor(
public _loginService: LoginService,
public dialog: DialogRef
) {
this.context = dialog.context;
this.context.dialogClass = 'modal-centered';
}
ngOnInit() {
}
login() {
this._loginService.login(this.email, this.password).subscribe(x => {
console.log("other x", x);
this.close();
});
}
close() {
this.dialog.close();
}
}
`

You all probably have some missing CSS classes some where...
I hope adding Componetn support to the body function will solve this, see #272

@shlomiassaf thanks for the reply.
I might be wrong, but it doesn't seem like a css issue, at least in my case.
Inside the  the component markup is nowhere to be found.
I only see

However, in the cases when the modal works as intented, the custom component is injected here.

     <app-login>
           ....
     </app-login>

In my case it predictably works in some cases and fails in others, seemingly only dependent on what route the app is currently at. It doesn't seem to find the app-login component for some app routes, even though I launch the modal from the navbar-component, which should be the same, and is "alive" all the time.
Hope this helps :)

Update
I realized I was setting the defaultViewContainer in another component than app.component. When I removed this and made sure the following code only was in app.component it solved some of the issues:
 constructor(overlay: Overlay, vcRef: ViewContainerRef, public modal: Modal) {
    overlay.defaultViewContainer = vcRef;
  }

However, the error still occurs for a dialog another place in the app, so I'll continue researching what causes it :)

Same issue for me as well.
I simply copied your example from here:
https://github.com/shlomiassaf/angular2-modal/blob/master/src/demo/app/bootstrap-demo/bootstrap-demo-page/custom-modal-sample.ts
And the usage from here:
https://github.com/shlomiassaf/angular2-modal/blob/88bcadaedd22277cf7b6dd55dcb3e48ed10589fb/src/demo/app/bootstrap-demo/bootstrap-demo-page/bootstrap-demo-page.ts
So there are no errors in compilation and the Modal seams to load but it is empty, i.e. template isn't rendering.

I solved a problem changing bootstrap4 to bootstrap3.

@JonasJuss , removing

overlay.defaultViewContainer = vcRef;

from all the containers calling the modal solved my problem. I was blocked.
Thank you

Exactly what @AsmaGargouri said.

We had the same problem and it was caused by having overlay.defaultViewContainer = vcRef; in a modal that was opening another modal. This would then effectively break all the other modals that we had.
Removing that line from all modal components fixes this issue.
To be able to open a modal in a modal, we had to pass in the original ViewContainerRef so that it could be reused by the nested modal.
From base component:
constructor(
    private vcRef: ViewContainerRef,
    private overlay: Overlay,
    private modal: Modal
) {
    overlay.defaultViewContainer = vcRef;
}

public openModal(): void {
    this.modal
        .open(MyAwesomeModalComponent, overlayConfigFactory({ viewContainerRef: this.vcRef }, BSModalContext))
        .then(dialog => {
            return dialog.result.then(result => {
                // Handle result
            });
        });
}

Then in your modal component, you can use the passed in ViewContainerRef for any subsequent modals:
export class MyAwesomeModalComponent implements ModalComponent<BSModalContext> {
    constructor(
        public dialog: DialogRef<BSModalContext>,
        private overlay: Overlay,
        private modal: Modal
    ) {
        // The view container is now set to the root view container.
        // This will then allow you to open modals from modals as long as you pass the root view container to the other modals
        overlay.defaultViewContainer = dialog.context.viewContainerRef;
    }
}


Coverage measurement for Cython code

Currently spin test supports --coverage and --gcov arguments for measuring coverage of python or C code respectively. For python-flint the one outstanding item in moving from setuptools to spin/meson is coverage measurement of Cython code.
A meson project needs to have some sort of configuration option for coverage of Cython e.g.:
if get_option('coverage')
   add_project_arguments('-X', 'linetrace=True', language : 'cython')
   add_project_arguments('-DCYTHON_TRACE=1', language : 'c')
endif

In python-flint's case we need this separately from b_coverage=true and spin's --gcov option because we explicitly do not want to measure coverage of C code (which is all Cython-generated).
I'm not sure what the best approach would be for spin to implement spin test --coverage-cython given that there is not a standard meson option for this.
Maybe spin could configure the CYTHON_TRACE and linetrace directly?
Currently it seems that Cython's coverage plugin does not work in a spin build-install directory which I think is because the plugin tries to look for Cython source files adjacent to the C files. Possibly that is something that needs to be fixed in Cython or maybe it is possible for spin to tell coverage where to find the source files.

I've made a repo that demonstrates how to get working Cython coverage with setuptools but also shows what does not work with spin:
https://github.com/oscarbenjamin/cython_coverage_demo
At least some change in Cython's coverage plugin is needed.
Also possibly the way that spin/meson generate the .c files results in them containing the wrong path.

@oscarbenjamin I'd like to see Cython coverage work. I'm a bit tied up for the next few days, but will take a look after that, if you haven't found a solution by then already.

The primary blocker to Cython code coverage with spin/meson is that changes are needed in Cython's coverage plugin. I opened a related Cython issue https://github.com/cython/cython/issues/6186.

I have described in https://github.com/cython/cython/issues/6186#issuecomment-2099397259 how I think we can make coverage work with Cython for a spin/meson-based project.
I think that the proper solution is that spin/meson needs to make something like a json file that tells the coverage plugin where all the files are.

I have opened a Cython PR with the minimal fix needed to make this work which is just to ensure that the trace events from Cython are usable: https://github.com/cython/cython/pull/6341.
In combination with that I managed to get coverage measurement working for python-flint but it involved a significant rewrite of Cython's coverage plugin: https://github.com/flintlib/python-flint/pull/188.
I'm wondering now what makes sense to do with that rewritten plugin. It does not share much code with the original Cython coverage plugin and would not be compatible with it. Much of its code is meson-specific because it is a lot easier to write the plugin if you can just use the build system to figure out where all the files are. Cython's current plugin has a bit of a mess of (setuptools-based) heuristics to try to locate all the files and it would be difficult to mix meson-specific code in there I think. It is possible that a clean break from that plugin is just better for everyone because I doubt I could change it easily without breaking workflows.
Potentially it would make sense for the rewritten plugin to be part of spin though. I'm sure it would need further work to generalise it beyond python-flint's needs. One limitation for now is that I've hard-coded the use of a src-layout. Obviously for spin that would need to be configurable somehow.

Having looked at your PR, it looks like the plugin can easily be shipped stand-alone, and it probably doesn't make sense to limit its use to only projects that use spin?

it probably doesn't make sense to limit its use to only projects that use spin?

Maybe. It is very specific to meson in the way that it is written.
I'm still simplifying it a bit now but I doubt that I am personally going to turn it into something sufficiently general that other projects could use it unless they are very similar to python-flint (spin, meson, src-layout, particular types of cython files...). It has already been a bunch of work and it would take some more to make it more widely usable.
I'm very happy for anyone to fork it under whatever license though. (Although I still need to remove the bits that came from Apache-licensed Cython first...)

Actually I've simplified it down enough now that it looks plausible to include in Cython itself if they don't mind having some meson-specific code. I guess ultimately that would be the best thing.

One thing that does need changing in spin actually is that it ignores .coveragerc. With my setup this works:
spin run -- coverage run -m flint.test -tq

However this does not:
spin test --coverage

I think it fails because it is not looking at my .coveragerc and so does not activate any coverage plugin.
[run]
plugins = coverage_plugin

We call coverage via pytest:
        pytest_args = [
            *pytest_args,
            "--cov-report=term",
            f"--cov-report=html:{coverage_dir}",
            f"--cov={package}",
        ]

pytest --help says:
  --cov-config=PATH     Config file for coverage. Default: .coveragerc

So, not sure why it's not picking up your .coveragerc :/

So, not sure why it's not picking up your .coveragerc :/

I think it is because the working directory was changed. I can run pytest like this:
$ export PYTHONPATH="/home/oscar/current/active/python-flint/build-install/usr/local/lib/python3.11/site-packages"
$ PYTHONPATH=$(pwd):$PYTHONPATH pytest --pyargs flint.test --cov=flint

Apparently I have to include $(pwd) in PYTHONPATH this way to pick up coverage_plugin which is a module in the current directory. If I don't then I get:
$ pytest --pyargs flint.test --cov=flint
Traceback (most recent call last):
...
ModuleNotFoundError: No module named 'coverage_plugin'

In other words pytest saw the .coveragerc but did not allow the coverage_plugin module to be imported because . is not in sys.path.
When I use spin test it claims that it uses cd before invoking pytest:
$ spin test --coverage
Invoking `build` prior to running tests:
$ meson compile -C build
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /home/oscar/.pyenv/shims/ninja -C /home/oscar/current/active/python-flint/build
ninja: Entering directory `/home/oscar/current/active/python-flint/build'
ninja: no work to do.
$ meson install --only-changed -C build --destdir ../build-install
$ export PYTHONPATH="/home/oscar/current/active/python-flint/build-install/usr/local/lib/python3.11/site-packages:/home/oscar/current/active/python-flint/build-install/usr/local/lib/python3.11/site-packages"
$ export PYTHONPATH="/home/oscar/current/active/python-flint/build-install/usr/local/lib/python3.11/site-packages"
$ /home/oscar/.pyenv/versions/3.11.3/envs/python-flint-3.11/bin/python3.11 -P -c 'import flint'
Removing `/home/oscar/current/active/python-flint/build/coverage/`
$ cd /home/oscar/current/active/python-flint/build-install/usr/local/lib/python3.11/site-packages
$ /home/oscar/.pyenv/versions/3.11.3/envs/python-flint-3.11/bin/python3.11 -P -m pytest --import-mode=importlib --pyargs flint --cov-report=term --cov-report=html:/home/oscar/current/active/python-flint/build/coverage/ --cov=flint
======================================== test session starts ========================================
platform linux -- Python 3.11.3, pytest-7.4.3, pluggy-1.2.0
rootdir: /home/oscar/current/active/python-flint
plugins: hypothesis-6.84.2, cov-4.1.0, split-0.8.1, timeout-2.1.0, doctestplus-1.0.0, xdist-3.3.1
collected 52 items

flint/test/test_all.py ....................................................                   [100%]/
...
home/oscar/.pyenv/versions/3.11.3/envs/python-flint-3.11/lib/python3.11/site-packages/coverage/report_core.py:115: CoverageWarning: Couldn't parse '/home/oscar/current/active/python-flint/build-install/usr/local/lib/python3.11/site-packages/flint/flint_base/flint_base.pyx': No source for code: '/home/oscar/current/active/python-flint/build-install/usr/local/lib/python3.11/site-packages/flint/flint_base/flint_base.pyx'. (couldnt-parse)
  coverage._warn(msg, slug="couldnt-parse")
...

There are lots of "coudnt-parse" errors which come from the coverage plugin not being enabled.
I don't know exactly how to interpret the line
cd /home/oscar/current/active/python-flint/build-install/usr/local/lib/python3.11/site-packages

as seen in the spin output. Is it literally changing the working directory or at least setting a new directory for subprocesses?
Either way I assume that the cd is what causes the .coveragerc to be unnoticed.

Yes, that's exactly it; we try to get away from the source dir to avoid source files being picked up, in a non-editable install.
We could copy certain special files over to the site-packages dir; I don't think it can cause harm. It is a bit "magical", though.

Coverage docs say:

A different location for the configuration file can be specified with the --rcfile=FILE command line option or with the COVERAGE_RCFILE environment variable.

So there is an environment variable that can be set for coverage at least.
I'm not sure if it would be better to put these things in pyproject.toml somehow and I'm not sure how coverage gets its configuration when run via pytest.
This picks up the .coveragerc:
PYTHONPATH=$(pwd) COVERAGE_RCFILE=$(pwd)/.coveragerc spin test --coverage

However then my plugin fails:
rout.py:372: CoverageWarning: Disabling plug-in 'coverage_plugin.Plugin' due to an exception:
  Traceback (most recent call last):
    File "/home/oscar/.pyenv/versions/3.11.3/envs/python-flint-3.11/lib/python3.11/site-packages/coverage/inorout.py", line 357, in should_trace
      file_tracer = plugin.file_tracer(canonical)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/oscar/current/active/python-flint/coverage_plugin.py", line 116, in file_tracer
      return CyFileTracer(srcpath)
             ^^^^^^^^^^^^^^^^^^^^^
    File "/home/oscar/current/active/python-flint/coverage_plugin.py", line 131, in __init__
      assert (src_dir / srcpath).exists()
  AssertionError

    self.warn(f"Disabling plug-in {plugin_name!r} due to an exception:\n{tb}")

I guess this is because coverage generates different paths when the CWD changes and the plugin needs to account for that.

That would be a better solution. Think you can make your plugin work with that configuration? I so I can add the coverage option whenever .coveragerc is present.

Think you can make your plugin work with that configuration?

Maybe. It is not straight-forward though.
The way this works is that the plugin registers itself and then coverage calls the plugin's file_tracer method for each file and then the plugin either returns None or returns a FileTracer which will handle the file.
I just tested and under the configuration:
PYTHONPATH=$(pwd) COVERAGE_RCFILE=$(pwd)/.coveragerc spin test --coverage

the plugin did not even receive the .pyx file paths except for 1 out of about 40. The one that it did receive was:
/home/oscar/current/active/python-flint/build-install/usr/local/lib/python3.11/site-packages/flint/flint_base/flint_context.pyx

It looks like something in coverage filters out paths (based on CWD somehow) before the plugin gets a chance. I assume that a change in coverage would be needed to prevent this from happening.

Actually there is another problem with cding into another directory: how is the plugin supposed to find build.ninja?

Yes, that's exactly it; we try to get away from the source dir to avoid source files being picked up, in a non-editable install.

Note that this problem comes from not using src-layout. It shouldn't be necessary to change the working directory like this because the source files should not be implicitly importable by virtue of cwd.

That's right; but most scientific Python projects, historically, do not use src layout.

I think I'm overextended on this for now but when I find time I will open an issue with coverage (the one project I have not yet discussed this with). I think I have found one or two areas where this can only be made to work fully with changes in coverage itself. Ned has always been very helpful to me in the past but I think this needs quite a lengthy explanation and I need to find the time to get it across clearly.
In the meantime if anyone wants to adapt the coverage plugin from python-flint then feel free to do so and re-license as needed (I have already removed anything nontrivial that came from the Cython codebase).

Thanks for all your hard work on making Cython debugging feasible!

No problem. Also in the meantime we await the outcome of the Cython PR: https://github.com/cython/cython/pull/6341


Delete duplicated code in SeparableConvolution2D

Deleted duplicated code in SeparableConvolution2D.

delete these if branch, because that is written in line 950.

Closing outdated PR.


Style fixes follow up to #1069

Details
Just some quick follow up changes to https://github.com/Expensify/Expensify.cash/pull/1069
Fixed Issues
None
Tests
❌

@roryabraham lmk if there is anything else you wanted to see.


Can webtor read the subtitle from the zip file URL

Well, I create an API that uses https://subscene.com/ which is way better the included one "Opensubtitle"
Now "subscene" returns a ZIP file URL.
How can I provide the STR ZIP file URL to webtor, my users will not know how to download it, extract it then upload it to webtor!
demo URL :
https://subscene.com/subtitles/arabic-text/zNFZxu6Xc74Alj4Y72CmH3QEMSVCKxpY7PzLfNjO1muraDES5rGN5o0FDvpV1LOD0kqh3vnhSULGt7cLnjr57hNtZKCCMHAys_n8_ANyPMpb94HRg5NUVp59aj5zFWLY0
BTW, a side question, do you support VAST, which we can monetize the player via displaying ads from google ads manager!
Am looking to subscribe with the bronze plan, to test the player without popup ads! so we may need to show our ads!

or can you support https://subscene.com/ in your player?

Well, I create an API that uses https://subscene.com/ which is way better the included one "Opensubtitle"

You can inject your own subtitles via SDK, check documentation
Subtitles must be in SRT or VTT format.

BTW, a side question, do you support VAST, which we can monetize the player via displaying ads from google ads manager!

You can use IMA SDK as overlay.
Don't forget to find demand with good CPM. Connecting to Google Ad Manager is just the beginning of the way.

Am looking to subscribe with the bronze plan, to test the player without popup ads! so we may need to show our ads!

Well, you have to start with Silver to remove ads.

Please check this

Well, you have to start with Silver to remove ads.

"No ads" is for end user, who is visiting webtor.io directly. This doesn't apply to embeds. Sorry for misleading you.

What do you mean?
The payment for the sdk, it is make no sense to pay whatever price and have
ads...
On Fri, Mar 11, 2022, 6:08 PM Pavel Tatarskiy @.***>
wrote:

"No ads" is for end user, who is visiting webtor.io directly. This
doesn't apply to embeds. Sorry for misleading you.
—
Reply to this email directly, view it on GitHub
https://github.com/webtor-io/embed-sdk-js/issues/64#issuecomment-1065256556,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDLT27DMILDFYUUDIIYG5LU7NVYXANCNFSM5QON2ZFA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Let me try to clarify all the things.
Originally all these membership levels (Bronze, Silver, Gold, etc) only removed ads and increased bandwidth for users that come directly to webtor.io site. So you can sign in at webtor.io with your Patreon account and get all benefits of your donation level.
At some point I introduced webtor embed SDK for site owners and they started to ask me about removing ads from webtor player at their own site. To fulfil this requirement, I just ask site owner to become my Patreon for any donation level starting from Silver.
Summering things up. To remove ads from your instance of embed SDK you have to get Patreon donation level starting from Silver and send me your site domain name in DM at Patreon.

@kovacevica00 Sure! https://t.me/vintikzzzz


KnownSubType should emit error if referenced subtype has no shape

An analyzer should make sure KnownSubType attributes refer to types for which a [GenerateShape] shape has been generated (possibly indirectly).

Closed by #13


Request for Hardware and Runtime Information

Hello, if possible, could the authors provide recommended hardware (CPU/GPU counts) and expected runtimes for the jobs described in the "Training" section? I am attempting to run these jobs and data loading seems to be a major bottleneck for my runtime. For example, training one epoch on Penn Action is taking about 30 minutes each. Is this normal?

In my paper, I train the model on 4 P40 or 4 V100 GPUs.
Considering you might not have access to V100 GPU, I also test the code on one 1080ti GPU with the following command.
python -m torch.distributed.launch --nproc_per_node 1 train.py --workdir ~/datasets --cfg_file ./configs/scl_transformer_action_config.yml --logdir ~/tmp/scl_transformer_action_logs
It takes about 10 minutes for one epoch.
CPU info: Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz. 12 Cores.

Thanks!


Create some demo use cases

[ ] All targeted shells/programs:

[ ] curl
[ ] wget
[ ] PowerShell

[ ] all templates
[ ] all languages

Can try out asciinema for that.

Some work towards this was done in 79c61a8.

79f20b8b622108a626996989e3243c583357805b can stand in as the 'mother of all demos', since it's a live showcase for anyone to try out. Let's scrap showcasing all templates and languages for now. Showcasing languages is boring and there's only one template 🤷

Done with 2e8de72a7dc43e1fc0147b07fefb0bd757233205, where a screenshot of the live demo was added, taken with/in:

curl <IP_ADDRESS>

ancv 0.19.1

Windows Terminal

PowerShell 7

FiraCode Nerd Font

this Windows Terminal color scheme:
 {
     "background": "#263238",
     "black": "#000000",
     "blue": "#82AAFF",
     "brightBlack": "#546E7A",
     "brightBlue": "#82AAFF",
     "brightCyan": "#89DDFF",
     "brightGreen": "#C3E88D",
     "brightPurple": "#C792EA",
     "brightRed": "#FF5370",
     "brightWhite": "#FFFFFF",
     "brightYellow": "#FFCB6B",
     "cursorColor": "#FFFFFF",
     "cyan": "#89DDFF",
     "foreground": "#EEFFFF",
     "green": "#C3E88D",
     "name": "Material",
     "purple": "#C792EA",
     "red": "#FF5370",
     "selectionBackground": "#FFFFFF",
     "white": "#FFFFFF",
     "yellow": "#FFCB6B"
 },

From that scheme, we know the background color (#263238). Taking a screenshot of the terminal (scaled way up for retina quality), we can then remove that background color: convert in.png -transparent "#263238" out.png, yielding a perfectly transparent PNG:

That can then be superimposed onto the prepared SVG terminal mock, yielding:

This method is still tedious and not entirely reproducible/automatable, but:

rich's save_svg is excellent but garbled emojis:

other methods didn't work at all; having the output entirely SVG and not as a bitmap would be nice but it has too many pitfalls; only a bitmap can really display what's on screen, with no ambiguity as to how it's rendered (on GitHub, ...)


BUG: Inconsistent Non central T pdf output

Describe your issue.
When trying to plot the non-central-t pdf for different degreed of freedom, the output is infinity (when it should not). For example, the code below with n = 13 will result in only 3 data points, the rest are inf. If one runs the code with n = 14 then a complete pdf is obtained. Can't figure out if it may be related to issue #8344
Reproducing Code Example
import matplotlib.pyplot as plt
import numpy as np
from scipy import stats
from scipy import special

n = 15
alpha = 0.05
Kp = stats.norm.ppf(0.99)
nc1 = special.nctdtrinc(n - 1, 1 - alpha, -Kp * n ** 0.5)
print(nc1)
nctv = stats.nct(n - 1, nc1)
x = np.linspace(nctv.ppf(0.00001), nctv.ppf(0.99995), 150)
y = nctv.pdf(x)
plt.plot(-x / (n **0.5), y, alpha=0.6)
plt.show()

Error message
No error message. Output does not make sense as one changes the degrees of freedom

SciPy/NumPy/Python version and system information
1.11.3 1.26.1 sys.version_info(major=3, minor=11, micro=4, releaselevel='final', serial=0)
{
  "Compilers": {
    "c": {
      "name": "gcc",
      "linker": "ld.bfd",
      "version": "10.3.0",
      "commands": "cc"
    },
    "cython": {
      "name": "cython",
      "linker": "cython",
      "version": "0.29.36",
      "commands": "cython"
    },
    "c++": {
      "name": "gcc",
      "linker": "ld.bfd",
      "version": "10.3.0",
      "commands": "c++"
    },
    "fortran": {
      "name": "gcc",
      "linker": "ld.bfd",
      "version": "10.3.0",
      "commands": "gfortran"
    },
    "pythran": {
      "version": "0.14.0",
      "include directory": "C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-dic8cvan\\overlay\\Lib\\site-packages/pythran"
    }
  },
  "Machine Information": {
    "host": {
      "cpu": "x86_64",
      "family": "x86_64",
      "endian": "little",
      "system": "windows"
    },
    "build": {
      "cpu": "x86_64",
      "family": "x86_64",
      "endian": "little",
      "system": "windows"
    },
    "cross-compiled": false
  },
  "Build Dependencies": {
    "blas": {
      "name": "openblas",
      "found": true,
      "version": "0.3.21.dev",
      "detection method": "pkgconfig",
      "include directory": "/c/opt/64/include",
      "lib directory": "/c/opt/64/lib",
      "openblas configuration": "USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS= NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= SKYLAKEX MAX_THREADS=2",
      "pc file directory": "c:/opt/64/lib/pkgconfig"
    },
    "lapack": {
      "name": "openblas",
      "found": true,
      "version": "0.3.21.dev",
      "detection method": "pkgconfig",
      "include directory": "/c/opt/64/include",
      "lib directory": "/c/opt/64/lib",
      "openblas configuration": "USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS= NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= SKYLAKEX MAX_THREADS=2",
      "pc file directory": "c:/opt/64/lib/pkgconfig"
    },
    "pybind11": {
      "name": "pybind11",
      "version": "2.11.0",
      "detection method": "config-tool",
      "include directory": "unknown"
    }
  },
  "Python Information": {
    "path": "C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-_etjukwv\\cp311-win_amd64\\build\\venv\\Scripts\\python.exe",
    "version": "3.11"
  }
}

This is essentially a duplicate of gh-19348, so I don't think they need to be tracked separately. I'll include a note there that this issue has some additional test cases.


Detect disk drive health (SSD corruption, bad blocks, errors)

This feature would help to detect hard drive becoming unstable and that begin to requires a potential replacement.
(included in unaccessible server post mortem)

Can use the smartctl tools, in package smartmontools. Return the S.M.A.R.T. of the HDD, like
smartctl -d ata -H /dev/sda

smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022   068   035   045    Old_age   Always   In_the_past 32 (2 27 32 31 0)

Nice! But it looks like we need the root rights :( is there any other way?

There is also an indicator to get the overall health of a SSD:
>>> sudo smartctl -s on -a /dev/sda | grep Media
233 Media_Wearout_Indicator 0x0013   098   098   000    Pre-fail  Always       -       16584277

The 098 is an indicator on 100 about the SSD health


Change map axis labels

@jread-usgs

can you add (degrees North) etc?

@jread-usgs thoughts on this? More map-like.

👍


Are Ambient Temp and Inverter Temp correct registers

When comparing the registers used for this FoxESS modbus integration I've noticed that the registers used for Ambient Temp and Inverter Temp are revered when compared to the integration offered by StealthChesnut.
I'm not in a position to say which is correct so am just pointing out the difference;
In https://github.com/StealthChesnut/HA-FoxESS-Modbus/wiki/Data-Register-Reference---H1-AC1
11024 = InvTemperation
11025 = AmbientTemperature
In this integration as defined in xx1_aux_sensors.py
SensorDescription(
    key="invtemp",
    address=11025,
    name="Inverter Temp",
    device_class=SensorDeviceClass.TEMPERATURE,
    state_class=SensorStateClass.MEASUREMENT,
    native_unit_of_measurement="°C",
    scale=0.1,
),
SensorDescription(
    key="ambtemp",
    address=11024,
    name="Ambient Temp",
    device_class=SensorDeviceClass.TEMPERATURE,
    state_class=SensorStateClass.MEASUREMENT,
    native_unit_of_measurement="°C",
    scale=0.1,
),

These are for the USR/USB connection

Good spot, checked against Fox Cloud and fixed in #68

If so, please fix it in xx1_lan_sensors.py if necessary.
Thanks

@Ndrinta can you confirm the values are switched vs. fox cloud on LAN please? My LAN isn't plugged in anymore.

They are indeed.


Example/rails-000-app

subj

Hi, @IvanShamatov
Thank you very much for your interest in werf and werf guides!  We added the first part of the Rails application in Russian.
Regards


Get config from package managers where possible

The current .github/config.yml is very specific to this app. Package managers often include some of the relevant fields (e.g. description, authors), so it'd be great to add support for fetching as much data as possible from NPM, RubyGems, etc.

@bkeepers #17 both are same right?


Spelling Error in ChangeLog

Steps to reproduce

Navigate to the Flutter Github Repo.
In the root folder open the ChangeLog.MD file
In the latest documentation, there is a spelling error on 3.24.3 changelog addressing issue #153574

Expected results
The changelog should read as follows:
[Impeller][iOS] Fixes an issue when using Impeller on iOS when using backdrop filers on older iPads,causing the GPU to hang.
Actual results
The changelog now reads as follows:
[Impeller][iOS] Fixes an issue when using Impeller on iOS when using backdrop filers on older iPads,causing the GPU to hand.
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

There's another typo in that particular message. It says backdrop filers instead of backdrop filters.

@rennylangat would you like to send a PR?


Added list dataset

For now, we don't push you to follow any predefined schema of issue, but ensure you've already read our contribution guide: https://open-metric-learning.readthedocs.io/en/latest/from_readme/contributing.html.

@churnikov
We are discussing the possibility to use several bounding boxes for each image.
How we can implement this idea:

Filenames are unique, for each image we send list of boxes to ListDataset https://github.com/OML-Team/open-metric-learning/pull/210#discussion_r1010309582
Prepare list of non-unique filenames outside of ListDataset and flat nested bounding boxes

For me, 2 approach is better:

We can implement __getitem__ for sample (image, bbox)
We don't need to implement nested calculations in datasets

What do you think @churnikov ?

I can implement the second one, but I think that it could be a bit unintuitive. On the other hand, the first approach has a drawback right now of having potentially a lot of empty nested lists (when there are no boxes for image). But it could be solved with replacement of empty lists to None. And I agree that __getitem__ is better
But if it's just me, and you think that the second approach is intuitive, then I'll do it of course

@churnikov the rest of the repo assumes that 1 line in the df.csv is one box (object), so the second approach fits OML better

Okay, I'll redo it tomorrow :)

Hi!
I've applied requested changes :)

@churnikov thx for the updates, let us know in comments when your PR is ready to check

Hi!
I think I did everything suggested 😊

To the top 🚀
Going to get to top 3 most discussed PR :))

@churnikov Some of the PRs also had a long history of discussion, but they were conducted offline :)

@churnikov Everything is fine now, but you missed my message:

Please, don't forget to add the new class into docs (see docs/source/contents/datasets)

@churnikov congratulations with the 1st contribution to OML!


Build 'share this message' component

Each choice page will have a shareable pre-made message specific to the page.
It would be shareable to:

[ ] Twitter
[ ] Facebook
[ ] Whatsapp
[ ] LinkedIn
[ ] Email

This component will be the same on all choice pages but there are 3 places where the descriptive text is custom to the page, and each of the share messages will be custom.
It would be great if we could set up one component for this that works across all choice pages, with one place to input the unique content for each one.

I'd like to take this one @shylands.  I've not used SASS before, so it will be a nice easy one for me to get started with.

@rachelfranklin1 Great sounds good! Any questions let me know. Thanks for your help.

hey @shylands can you send me the whatsapp icon you are using please?

@rachelfranklin1 Yeah here they all are, includes the new Facebook icon.
icons.zip

@rachelfranklin1 Hey had another thought here to add in a copy link button, which copies the current page URL to clipboard when pressed. Maybe just a bubble that appears over the screen that says copied to clipboard like the attached example, but any obvious visual feedback would do. Thanks!

link-icon.svg.zip

Hey @rachelfranklin1 I've been writing content for these and was wondering a couple of things about the FB message.

The implementation used a Facebook quote, is there any reason we should be doing this other than a message? I just think if the message bit is already pre-filled instead the user is more likely to share as some might not want to think of a message to write (or know they don't have to write one).
Is it possible to have multiple FB hashtags? No big deal if not.

Thanks!


Rework api resources

Changes:

Splited all base resources into separate modules to clean things up (nyuki/api/)
Resources can be put anywhere, but needs to be referenced from the nyuki that is using it.
version is now versions and is a list of versions for this resource (always optional).
The nyuki must now be accessed from the resources using self.nyuki.

@resource('/my_resource', versions=['v1', 'v2'])
class MyApiResource:

    async def get(self, request):
        await self.nyuki.bus.publish({})

class MyNyuki(Nyuki):

    HTTP_RESOURCES = Nyuki.HTTP_RESOURCES + [MyApiResource]

better to use extends than +

if you want workflow capabilities HTTP_RESOURCES = WorkflowNyuki.HTTP_RESOURCES must be used !!


Unexpected remapping of brackets and umlauts on German keyboard

Hey there,
I encountered unexpected behavior when trying to remap keys on a German keyboard. There seems to be a confusion between German and American keyboard layouts.
Environment:

macOS version: 14.4
Hardware: Apple M2 chip
Logitech MX Mechanical, QWERTZ Layout

Minimal Example:
(defcfg
  input (iokit-name)
  output (kext)
  fallthrough true
  allow-cmd false
)

(defsrc
  1  2  3  4  5  6  7  8  9
)

(deflayer base
  [  ]  {  }  ü  +  ö  ä  #
)

Output:
1 -> ü
2 -> +
3 -> Ü
4 -> *
5 -> Äu
6 -> `
7 -> Äo
8 -> Äa
9 -> §

This is not at all what I expected.
The first four mappings (1 -> ü, 2 -> +, etc.) are somewhat explainable due to the physical key positions in German and American keyboards. If you put the German and American keyboards next to each other, you can see that [ ] on the American keyboard is on the same keys as ü and + on the German keyboard. And you get { } on the American keyboard with Shift, while you get Ü and * on the same positions with Shift on the German keyboard.
Then I checked what would happen with ü and +, but I have no idea what happens there. Strangely all umlauts get an Ä as a prefix.
Could this be a configuration error on my part, or is this an indication of a bug? Any insight or suggestions would be greatly appreciated.
Thanks in advance!

Do you set some kind of localisation settings afterwards? (as in, do you have your keyboard layout set to "German" or some other setting?)

the ä ö ü in kmonad is translated as a coompose sequence which then gets translated via your keyboard layout. Kmonad remaps the key codes (effectively the physical keys).

meaning?

KMonad remaps keycodes. for [ and ] they are 26 and 27 respectivly on us qwerty. for german layouts they are ü and +. { and } are shifted [ and ] (again on us qwerty). Coinciding with German Ü and *. + and # are on shifted positions. Again the difference comes from the difference in layers.
ä, ö and ü are not on the us qwerty layout, so intuitively we would say it's impossible to type them with said layout.
KMonad uses a feature known as Compose Sequences.
Wikipedia describes it as follows:

A compose key (sometimes called multi key) is a key on a computer keyboard that indicates that the following (usually 2 or more) keystrokes trigger the insertion of an alternate character, [...].
For instance, typing Compose followed by ~ and then n will insert ñ.

For ä, ö and ü the sequences (leaving out the (configurable) compose key):

ä -> "a
ö -> "o
ü -> "u

" is shifted ' which lies exactly on the letter ä on the standard german layout.
this explains the shifted Ä prefix prior to those buttons.
The compose key itself probably either gets ignored in the german layout (or maybe not enabled) or noticies that Ä does not appear in any compose sequence, so it gets typed as is.

basically you have to convert everything you want to do to qwerty:
changing ä to something means you have a ' in you layer. Mapping to ä is mapping to '.

This part could probably be implemented without much difficulty in KMonad. The challanging bits are taking the mapping from the system keyboard


HandleLongPress doesn't exist anymore

This change is necessary to make the library work without using moveOnItemPress

Thanks


Cast agtype to array

Is your feature request related to a problem? Please describe.
I am trying to cast some properties of a vertex to Postgres' type. That property can be an array of any type. Currently, I only see casting is available for integer array and scalar type only.
Describe the solution you'd like
I would like to cast properties to native Postgres array.
Describe alternatives you've considered
If I can get the entire property as a JSONB object, I can still make my query work.
Additional context
N/A

@rafsun42 You mean casting some property in the properties object, that is an array, as an array?

@jrgemignani Yes. I have a property-
{array: ['a', 'b', 'c']}
I would like to return ['a', 'b', 'c'] as text[] array.

We should generalize. Any agtype (scalar, object, array) should be mapped to native Postgres type. It will be useful when user wants to pass agtype as an argument to a non-age function.

@jrgemignani
I am trying to return a property as json in the following example. But it throws an 'unable to cast' error.
I have this vertex:
CREATE (m:Person
        {
                name: 'Matt',
                edu: [
                        {school:'NSU', cgpa: 4.4},
                        {school:'York', cgpa: 4.3}
                ]
        }
) RETURN (m.edu)

The following queries work (returning 'edu' as 'agtype'):
test=# SELECT * FROM cypher('my_graph', $$ MATCH (m: Person) RETURN m.edu $$) as (a agtype);
                                 a
-------------------------------------------------------------------
 [{"cgpa": 4.4, "school": "NSU"}, {"cgpa": 4.3, "school": "York"}]
(1 row)

But, the the following does not work (returning 'edu' as 'json'):
test=# SELECT * FROM cypher('my_graph', $$ MATCH (m: Person) RETURN m.edu $$) as (a json);
ERROR:  cannot cast type agtype to json for column "a"
LINE 1: SELECT * FROM cypher('my_graph', $$ MATCH (m: Person) RETURN m.e...

I found an workaround. The following querying wraps the property into agtype_out to make it return as a json string. It can then be parsed into json using Posgres' json functions.
SELECT * FROM cypher('my_g', $$ MATCH (m: Person) RETURN ag_catalog.agtype_out(m.edu) $$) as (a text);

But, I think the failed query should work without the workaround. You mentioned that the functionality is already there, but sadly I cannot find it. I found datum_to_agtype but not vice versa. Is there a function 'agtype_to_datum', perhaps named differently?

@rafsun42 Sorry for the delay.
There is a function agtype_value_to_agtype is that what you need?
I'm not sure about the JSON issue above. However, I can add that AGTYPE is based off of JSONB, not JSON. I'm not sure if that helps, though.


Implement ClaimID search for support command

If a user runs the support command, allow the ability to use other than direct claimID and search for a claim based on name, perm-URL, etc.

Regex for later /@(?<channel>\w+)[:#]\w\/(?<title>\w+)[:#]\w^/
lbry.searchClaim({ text, channel })


cilium-operator deployment significantly delays node draining on infra failure

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
In AWS EKS, and in CAPI (CAPC) clusters, and maybe others not tested, when a VM backing a worker node fails, and that node is hosting the cilium-operator pod, node deletion is delayed significantly (15 mins+) by spurious attempts of the cilium-operator deployment to keep a cilium-operator pod running on the failed node while repeated drain attempts are being made.  This results in (typically) 15 terminating instances of the cilium-operator pod, all of which have to reach their deletion grace timeout (typically 5m) before they're forcibly terminated, one-by-one.
While this is merely inefficient in EKS (where the autoscaler has already replaced the failed node), in CAPI clusters node replacement by MachineHealthCheck doesn't occur until the failed node has been successfully deleted, so scale and availability are impacted for this extended period of time.  In both environments the cilium-operator's controller would not be active until this extended draining period completes.
Demonstrating with EKS:

Provision an EKS cluster as described in https://docs.cilium.io/en/stable/gettingstarted/k8s-install-default/.
I configured 3 nodes, to match my CAPI test configuration.

Install and verify Cilium, as described in the same document.

Confirm cluster health with kubectl get nodes

Identify the node hosting the cilium-operator pod with kubectl -n kube-system get pods -o wide

In the AWS console, terminate the EC2 instance implementing that node.  (Match the node name to the instance's DNS name).
In my test run I terminated node ip-192-168-102-184.us-east-2.compute.internal.

Inspect the cluster nodes, observing that the terminated node becomes un-schedulable.

Begin repetitively monitoring the pods with kubectl -n kube-system get pods -o wide
Observe that additional cilum-operator pods, all-but-one in terminating state / one pending, begin accumulating.
These are reported to be placed on the failed node.

After about 15 of these accumulate, observe that they begin being force-deleted.

When all are deleted, the failed node is finally drained and gets deleted.

Attached find the output of a kubectl -n kube-system get pods -o wide illustrating the many cilium-operator pods in terminating state (except one pending) that ultimately accumulated in my test run, all placed on ip-192-168-102-184.us-east-2.compute.internal, the VM that was stopped.
ciliumGetPods.txt
Cilium Version
cilium version
cilium-cli: v0.9.3 compiled with go1.17.3 on darwin/amd64
cilium image (default): v1.10.5
cilium image (stable): v1.11.2
cilium image (running): v1.10.5
Kernel Version
I do not have ssh access to the EKS instances that hosted the workers to determine this.
Kubernetes Version
v1.21.5-eks-9017834
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks for the well-written bug report! Looking through the attached ciliumGetPods.txt output, it seems to me like for some reason Kubernetes is scheduling this deployment to the node that is down. I wonder whether there is some configuration in Kubernetes that needs to be tweaked in order to handle this failure condition more gracefully?
While Cilium does provide the deployment for the kube-apiserver, this only has nominal impact on the scheduling selection. On the other hand, it appears in this scenario that for some reason Kubernetes is not considering the failed node to be unschedulable, but somehow continues to attempt to run pods on that node. Presumably Kubernetes also has settings that govern the node failure condition detection and decide when to give up on the node and so on.

It seems to be this could be controller via node taints as Joe is suggesting above. https://github.com/kubernetes/kubernetes/pull/60009 has been implemented for some time. Is that being used in these environments?

Thanks for your replies @joestringer and @christarazi.  I'm not having luck finding either of these PRs in release notes, so I'm not entirely clear on which releases incorporate them.  I do see #67734 in 1.12, which seems to address the matter of tainting failed nodes.  My test bed is running 1.21.5 (specifically v1.21.5-eks-bc4871b), so I do imagine it would incorporate this.
My test bed taints nodes with unreachable (stopped) VMs with node.kubernetes.io/unreachable:NoExecute.
The cilium-operator pods in my test bed have tolerations of op:Exists, so I believe they'll ignore all taints.

@jweite-amazon The cilium-operator default tolerations seems to be the root cause here I'd imagine. op:Exists will tolerate all taints. When installing via Helm, it's possible to configure the Operator pod's tolerations via --set operator.tolerations=.... Can you try that and see if it resolves your issue?

@christarazi, Helm game me a bit of grief wrt how to define a map parameter on the cli against the 1.10.5 chart.  I eventually gave up and provisioned cilium with Helm without a toleration override defined and then edited the toleration on the deployment to be the same as I saw used for core-dns: CriticalAddonsOnly:NoSchedule op=Exists.
I confirmed that the running pods now had this.  (node.kubernetes.io/not-ready:NoExecute op=Exists for 300s and node.kubernetes.io/unreachable:NoExecute op=Exists for 300s showed up on the running pods too...) and stopped an EC2 instance for a node hosting one of the cilium-operator pods.
K8s quickly scheduled a replacement pod on an available node.  No spurious nodes were created.  Nice.
kubectl -n kube-system get pods -o wide:
Before:
cilium-operator-778867f959-dtpkp   1/1     Running   0          29m   <IP_ADDRESS>    ip-192-168-128-79.us-east-2.compute.internal    <none>           <none>
cilium-operator-778867f959-nvjfh   1/1     Running   0          63m   <IP_ADDRESS>   ip-192-168-104-236.us-east-2.compute.internal   <none>           <none>

During:
cilium-operator-778867f959-dtpkp   1/1     Running             0          30m   <IP_ADDRESS>    ip-192-168-128-79.us-east-2.compute.internal    <none>           <none> cilium-operator-778867f959-gd625   0/1     ContainerCreating   0          7s    <IP_ADDRESS>    ip-192-168-177-57.us-east-2.compute.internal    <none>           <none> cilium-operator-778867f959-nvjfh   1/1     Terminating         0          63m   <IP_ADDRESS>   ip-192-168-104-236.us-east-2.compute.internal   <none>           <none>
Shortly after:
cilium-operator-778867f959-dtpkp   1/1     Running       0          30m   <IP_ADDRESS>    ip-192-168-128-79.us-east-2.compute.internal    <none>           <none> cilium-operator-778867f959-gd625   1/1     Running       0          29s   <IP_ADDRESS>    ip-192-168-177-57.us-east-2.compute.internal    <none>           <none> cilium-operator-778867f959-nvjfh   1/1     Terminating   0          64m   <IP_ADDRESS>   ip-192-168-104-236.us-east-2.compute.internal   <none>           <none>
10m after:
cilium-operator-778867f959-dtpkp   1/1     Running       0          40m     <IP_ADDRESS>    ip-192-168-128-79.us-east-2.compute.internal    <none>           <none> cilium-operator-778867f959-gd625   1/1     Running       0          10m     <IP_ADDRESS>    ip-192-168-177-57.us-east-2.compute.internal    <none>           <none> cilium-operator-778867f959-nvjfh   1/1     Terminating   0          74m     <IP_ADDRESS>   ip-192-168-104-236.us-east-2.compute.internal   <none>           <none>
I'm not sure why k8s hasn't force deleted the terminating pod after 10 mins...

@jweite-amazon Are you able to run kubectl describe on the pod that gets stuck in terminating?

@jweite-amazon Coming back to this, it seems to me that the above circular dependency can likely be resolved if the Operator deployment run with HA, i.e. with more than one replica. That way there's never a situation where the sole Operator is decommissioned and when a new node is created, it cannot be bootstrapped because the Operator and Agent (on the new node) require each other to bootstrap.

Thanks @christarazi, that looks good.  I ran the above EKS test scenario with three cilium operator replicas on the three nodes node terminations were dealt with cleanly: the new operator pod was always launched on the newly provisioned node with no spurious launch attempts on the terminated node.


Create JWT credential does not auto generate key

Summary
When creating JWT credentials for consumers, Kong does not auto generate JWT keys for me.
Steps To Reproduce

curl -X POST http://kong:8001/plugins --data "name=jwt"
curl -X POST http://kong:8001/consumers --data "username=hellojosh"
curl -X POST http://kong:8001/consumers/hellojosh/jwt

I receive a response with HTTP code 415.

curl -X POST http://kong:8001/consumers/hellojosh/jwt --data "key="

This creates a JWT credentials with an empty key:
{
"consumer_id":"dbfc3c24-d4b1-45dc-937b-4bfb0f5214f2",
"id":"8350afd0-822c-4efd-a5aa-1ee3bdf8d56b",
"secret":"443652d2751f4180ba3ba35a5275ad1c",
"key":"",
"created_at":1472166023000,
"algorithm":"HS256"
}
Additional Details & Logs

Kong version: 0.9.0
Kong configuration: JWT enabled
Operating System: Mac 10.11.5 running Docker

I having this issue too, any solutions?

Using this should work, but i don't know what is the difference
curl -H "Content-Type: application/json" -X POST -d '{}' http://localhost:8001/consumers/hellojosh/jwt

When -X POST is applied with no form data, no Content-Type header is sent, which is an error in the Admin API. The docs do not make this immediately clear, and are being fixed in https://github.com/Mashape/getkong.org/pull/392


Newer version (1.0.2) causes 'No locale data has been added to IntlMessageFormat for: ' error

The error is thrown by core.js in line 251. With the 1.0.1 version, no error occurs.

Can you provide some more details and a simplified reproducible examples?

@dignatjew: See https://github.com/yahoo/intl-messageformat/releases/tag/v1.0.2
If you're using Browserify or Webpack, you'll need to find a way to load the locale-specific data (or load them all, if you want). The locale data can be found in https://github.com/yahoo/intl-messageformat/tree/master/dist/locale-data.
Otherwise, you can also look at how the package https://github.com/yahoo/grunt-extract-cldr-data pulls the data from https://github.com/papandreou/node-cldr and come up with your own strategy to load this data.

with webpack you can use the expose-loader and to do something like:
require('expose?IntlMessageFormat!intl-messageformat');
require('intl-messageformat/dist/locale-data/fr');

I'm closing this, but it can be reopened if there's a reproducible example added.


Automated cherry pick of #4295: Add unit test for pkg/agent/route
#4419: Set NO_FLOOD to IPsec tunnel ports
#4470: Fix that Service routes may get lost when starting on Windows
#4654: Restore NO_FLOOD to OVS ports after reconnecting the OVS
#4711: Fix route deletion for Service ClusterIP and LoadBalancerIP

Cherry pick of #4295 #4419 #4470 #4654 #4711 on release-1.7.
#4295: Add unit test for pkg/agent/route
#4419: Set NO_FLOOD to IPsec tunnel ports
#4470: Fix that Service routes may get lost when starting on Windows
#4654: Restore NO_FLOOD to OVS ports after reconnecting the OVS
#4711: Fix route deletion for Service ClusterIP and LoadBalancerIP
For details on the cherry pick process, see the cherry pick requests page.

/test-all


Praat 6.0+ does not use praatcon on Windows

Not sure if node-praat knows about this.

(commenting just for other folks who come across this question like me)
Looking at the code: yes, node-praat knows about this. Would be nice if the readme was updated, FWIW.

Hey, I'm not actively maintaining this package but I'm happy to merge any relevant PRs including README updates. Also, please note that I haven't published a new version of this since Praat 6.0.05 (>4 years ago).


Crashing with GattStatusException status=GATT_ERROR(133) on Android

Our app is crashing  when trying to connect to the BLE.
This is from starting the app and then trying to connect.
com.juul.kable.GattStatusException: OnCharacteristicRead(characteristic=00002a28-0000-1000-8000-00805f9b34fb, value=0 bytes, status=GATT_ERROR(133))
at com.juul.kable.AndroidPeripheral.read(Peripheral.kt:710)
at com.juul.kable.AndroidPeripheral$read$1.invokeSuspend(Unknown Source:15)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@afe4f6e, Dispatchers.IO]

Unfortunately 133 failure covers many possible failure cases on Android, so it is hard to know what exactly is going wrong for you.
We've commonly seen 133 when a peripheral is out-of-range.
If this is occurs when calling Peripheral.connect then you should probably catch this exception and handle as your app sees appropriate (e.g. inform the user that connection failed, or attempt to reconnect automatically).

I am facing the same issue. This error is constantly happening. Usually it takes 2 to 3 retries until a connection is established.
I have seen that connection is stablished with "autoConnect" false .e.g.
https://github.com/JuulLabs/kable/blob/main/core/src/androidMain/kotlin/BluetoothDevice.kt#L84
which may cause this error according to<EMAIL_ADDRESS>

I am facing the same issue. This error is constantly happening. Usually it takes 2 to 3 retries until a connection is established. I have seen that connection is stablished with "autoConnect" false .e.g. https://github.com/JuulLabs/kable/blob/main/core/src/androidMain/kotlin/BluetoothDevice.kt#L84
which may cause this error according to<EMAIL_ADDRESS>
Thanks for pointing this out @matsch82, I've rolled this issue into #410.