pgbouncer connection speed regression

I suspect this was due to something done towards the fastboot changes in #141 . Initial connection to pgbouncer takes a substantially longer period, and has errors in the logs:
May 11 14:11:55 db-XXX pgbouncer[1095]: S-0xaaaaf77db2b0: postgres/pgbouncer@<IP_ADDRESS>:5432 new connection to server (from <IP_ADDRESS>:50612)
May 11 14:11:55 db-XXX pgbouncer[1095]: C-0xaaaaf77c2c10: postgres/supabase_admin@<IP_ADDRESS>:54319 login attempt: db=postgres user=supabase_admin tls=TLSv1.3/TLS_AES_256_GCM_SHA384
May 11 14:12:01 db-XXX pgbouncer[1095]: C-0xaaaaf77c2c10: postgres/supabase_admin@<IP_ADDRESS>:54320 login attempt: db=postgres user=supabase_admin tls=TLSv1.3/TLS_AES_256_GCM_SHA384
May 11 14:12:01 db-XXX pgbouncer[1095]: sbuf_connect failed: Address family not supported by protocol
May 11 14:12:01 db-XXX pgbouncer[1095]: S-0xaaaaf77db4e0: postgres/supabase_admin@[::1]:5432 closing because: connect failed (age=0s)

vs a connection to an older, non-fastboot instance:

May 11 14:12:33 db-XXX pgbouncer[1418]: C-0xaaaafa3d74d0: (nodb)/(nouser)@<IP_ADDRESS>:54332 registered new auto-database: db=postgres
May 11 14:12:33 db-XXX pgbouncer[1418]: S-0xaaaafa4357a0: postgres/pgbouncer@<IP_ADDRESS>:5432 new connection to server (from <IP_ADDRESS>:60092)
May 11 14:12:33 db-XXX pgbouncer[1418]: C-0xaaaafa3d74d0: postgres/supabase_admin@<IP_ADDRESS>:54332 login attempt: db=postgres user=supabase_admin tls=TLSv1.3/TLS_AES_256_GCM_SHA384
May 11 14:12:37 db-XXX pgbouncer[1418]: C-0xaaaafa3d74d0: postgres/supabase_admin@<IP_ADDRESS>:54334 login attempt: db=postgres user=supabase_admin tls=TLSv1.3/TLS_AES_256_GCM_SHA384
May 11 14:12:44 db-XXX pgbouncer[1418]: C-0xaaaafa3d74d0: postgres/supabase_admin@<IP_ADDRESS>:54335 login attempt: db=postgres user=supabase_admin tls=TLSv1.3/TLS_AES_256_GCM_SHA384
May 11 14:12:44 db-XXX pgbouncer[1418]: S-0xaaaafa4359d0: postgres/supabase_admin@<IP_ADDRESS>:5432 new connection to server (from <IP_ADDRESS>:60094)

Deleting the IPv6 entry for localhost from /etc/hosts resolves the issue. I'm not sure why pgbouncer started trying to use ipv6 now, though.

I'm quite sure, IPv6 was disabled on fastboot-ami.
$ cat /sys/module/ipv6/parameters/disable
1

Do you have proj-ref for older ami? I want to check whether it has IPv6 enabled?
Reg your solution to delete /etc/hosts IPv6 entry: Should  we just create /etc/hosts with only <IP_ADDRESS>	localhost entry by modifying init script? or need to re-create the ami for this change? what is the recommended approach?

realted: https://fritshoogland.wordpress.com/2021/04/09/pgbouncer-and-slow-server-pool-increase/

That's basically it-the older AMIs don't disable IPv6, so having that entry in /etc/hosts doesn't present a problem. We should definitely fix the AMI; in the interim, if you want to get a patch out sooner, using init-scripts is fine.
We'll also want to fix this in existing fastboot-based projects.

okay, I think IPv6 got disabled because it created issue with some package (may be vector - I can't re-collect exact the reason, atm). Need to verify that before enabling IPv6.
Lets use init-scripts for a quick patch for new launches and then fix the ami image after verifying IPv6 doesn't create new issues.

Hi everyone.
Experimenting with supabase and pgbouncer today. The connection using pgbouncer and port 6543 is significantly slower. Is there anything we need to update in supabase to solve the issue? What is the recommended approach?

Hello @msevestre , We resolved issues related to IPV6 few months ago. Are you still facing this issue?

Problem seems resolved


[MDEPLOY-312] - merge resolved artifacts back into project model

This merges resolved snapshot version for deployed artifacts back into the maven project model, for use in downstream plugins, which is how the plugin worked prior to 3.0.0.

Following this checklist to help us incorporate your
contribution quickly and easily:

[x] Make sure there is a JIRA issue filed
for the change (usually before you start working on it).  Trivial changes like typos do not
require a JIRA issue.  Your pull request should address just this issue, without
pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [MDEPLOY-XXX] - Fixes bug in ApproximateQuantiles,
where you replace MDEPLOY-XXX with the appropriate JIRA issue. Best practice
is to use the JIRA issue title in the pull request title and in the first line of the
commit message.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean verify to make sure basic checks pass. A more thorough check will
be performed on your pull request automatically.
[x] You have run the integration tests successfully (mvn -Prun-its clean verify).

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.
To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

[x] I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004

[ ] In any other case, please file an Apache Individual Contributor License Agreement.

This PR should not be merged until we clear up things, see JIRA https://issues.apache.org/jira/browse/MDEPLOY-312

Approach suggested in jira issue works for us.


Grafana-agent should monitor all enabled collectors

Bug Description
When one of the collectors defined in grafana-agent goes down or hangs, it would be nice to have an alert, for it. Some collectors are generating such rules on it's own like hardware observer charm. Others are not. Also this apply to collectors provide by grafana-agent itself. For example node_exporters send node_scrape_collector_success metrics which is 1 when the last attempt was successful and 0 if it is not. So this is an obvious rule, however some in depth research is needed here
To Reproduce

Deploy grafana-agent, for now it will install snap without --classic option.
Check node_scrape_collector_success metrics
This applied to other exporters, but I wasn't able to identify a good metric for them. Some kind of grafan-agent scrape error counter could be used for that. But I wasn't able to find one

Environment

Relevant log output
-

Additional context
No response

We should find the analogue of node_scrape_collector_success to all the "enabled by default" collectors.
We should also document somewhere that we need to add those self checks when enabling "disabled by default" collectors.


make squash parameter to filter() true by default

Resolves #215

Same thing here. We should rename the current tests to something like filter_no_squash and add new ones for the expected behavior of the current implementation which test both the filtered data frame and the graph.

This one is ready for review right?

This one is ready to go.


Version of the plugin and download link are behind on https://alexanderobenauer.com/labnotes/exp001/

Just wanted to let you know that your website still points to version 0.2.0 not sure if this is intentional but I thought I'd let you know.
Thanks a ton for putting this plugin together (I heard about it on the stack overflow podcast). I've been using it for about a week now and it has fundamentally changed the way I organise and go through my obsidian vault and made it all a thousand times better experience!

Just came to say the same as bastienboutonnet
As aside, after "kicking the tires"  with your test vault I decided to install the plugin in my main vault:
Most importantly I did not run into any speed or resource hoarding complications - this on a vault with 12,500 notes and many dozen tags.    Off to refactor a bit in order to make better use of my existing nested tag structure to male better use of your tool.
Thank you!


feat(108) - Define 2 status fields for adapters & bridges

We need to be able to express 2 status' for adapters and bridges. We now have runtimeStatus and connectionStatus.

Merged - note the IT need merging in the test project. //TODO simon


Weight vector

Basic implementation, did not account for numerical accuracy.

@kaiamann  Can you review this?

Done.


1Password browser extension (1Password 6 Mini) not excluded

Hi.
I've read in the code that 1Password mini has been excluded (in ExcludeAppService.swift) but it doesn't seems to work for me. I'm running 1Password 6 and my Clipy version shows v1.2.1.

I'm also experiencing the same issue with Clipy v1.2.1 still copying from 1Password 6 mini
I've also added 1Password 6 mini to excluded apps.


create JMS adapter support for QBit

create JMS adapter support for QBit
Add ability to send messages over JMS

in progress https://github.com/advantageous/qbit/commit/4c76d8293faae24c6735890bbf488378ef5313b3


Support for Allo Sparky SBC

Will this work or can be implemented?

The code is very Pi specific so my guess is that it will not work, unless that SBC is a hardware compatible Pi clone.

Has pi compatible gpio just slightly different cpu

Different CPU = different SoC, which means DMA and SPI peripheral accesses need to be rewritten. Looks like it has a PowerVR GPU and not a VideoCore one, so VC mailbox and DispmanX accesses also need some alternative. If Sparky has detailed specs, you can try to develop a port of the above based on the spec sheets. I'll mark this as retired.


Future of x11fs

@sdhand, I could not find a way of contacting you outside Github, so I'll post this as an issue here (feel free to email me in response or query me on Freenode).
I was wondering what your plans for future development of x11fs are. Do you have a plan of what you would like to see added and what kind of vision you have for the project?

discussed off-list.


[X ] question about how to use this project

Summary
I'm not sure what I'm doing wrong, but following the example to upload a still image, the file uploads successfully, but I get a black image with a line of random colors at the very top. I've tried a PNG (rgba), and also exported a .rgba file from GIMP since I noticed that was the extension used in the upload example but I get the same thing. Is there a specific format the file needs to be in? Thanks for your help.

It definitely is a format issue. I've been trying more things, and I exported an uncompressed .rgba file from GIMP and it kinda sorta works, but it's the image mirrored and repeated about 12 times. I noticed in the convertRGBAToYUV422 function it has a comment that says // BT.709 or BT.601. Is that saying something about the required format? Is there a way to convert a PNG into something like that?

Rec709/601 are colour space encodings. 709 is current for HD, and 601 is old-skool SD.
The only significant artefact of use of 601 in a modern HD switcher would be 'bad colour'.
https://blog.maxofs2d.net/post/148346073513/bt601-vs-bt709

We are generating the rgba frames via the following ffmpeg commands:
Windows
ffmpeg.exe -i .\inFileName.tga -pix_fmt rgba -f rawvideo ./outFileName.rgba

Linux
ffmpeg -i inFileName.tga -pix_fmt rgba -f rawvideo ./outFileName.rgba

I don't think we have looked at how best to convert from a PNG or other formats, we should add some examples somewhere once this is figured out.
Make sure that the file you are uploading is the same resolution as the atem is running, I don't remember if there are guards in place to check it is correct

That worked! Thank you! My rabbit hole had led me to try converting with ffmpeg last night, but I couldn't get it to convert from PNG to rgba. It seemed like they were incompatible formats, but I guess the important piece I was missing was -f rawvideo and I was able to convert the PNG as well. I don't need the source file to be a PNG, it's just what I'd already been using to upload through the ATEM Software Control. I expected their API to accept the same thing as the frontend, but I guess that is doing some converting as well. Thanks again for your help! That was a real roadblock in my plans.


F/fast farm unit

Initialization of variable Un to prevent VTK file from being closed by ReadVTK_SP_info. This is required by some compilers.

Thanks, @ebranlard, this bug fix looks good to me.


[No review] DEbug mem alloc.

Closing as issue doesn't repro and this PR has served to debug the issue.


Copy command is not working properly i.e Ctrl+C ?

Hello developers !! copy command is not working properly. When i hit the command 3 or 4 times then it works. Please check the issue. By the way the brackets code editor is very good in all the aspects.

Hi @Engrkartik Is there any extension installed. Can you please try this:-

Debug > Reload Without Extension
Now try your steps

Still, you are facing this issue then can you please check, is there any console error for that you need to open Debug > Show Developer Tools.

Closing this issue. If you still have any issues around this, please feel free to reopen this.


Add NUMA affinity control for NVIDIA GPUs

What does this PR do?
This PR adds the ability to launch using numactl, which acts as an inbetween stage when launching from torchrun etc.
Before:
trampoline.sh

#!/usr/bin/bash

# Query the bus ID for device LOCAL_RANK
BUS_ID=$(nvidia-smi --query-gpu=pci.bus_id -i $LOCAL_RANK --format=csv,noheader)
BUS_ID=${BUS_ID,,}

# Find the numa node for device LOCAL_RANK
NODE=$(cat /sys/bus/pci/devices/${BUS_ID:4}/numa_node)

echo "Starting local rank $RANK on numa node $NODE"
numactl --cpunodebind=$NODE --membind=$NODE "$@"

torchrun --nproc_per_node=8 --monitor-interval=1 --no-python ./trampoline.sh python3 -c "print('hello')"

After:
accelerate launch --num_processes 8 --monitor-interaval 1 --enable-numa-affinity python3 -c "print('hello')"

Or through the config:
compute_environment: LOCAL_MACHINE
deepspeed_config: {}
distributed_type: 'MULTI_GPU'
...
enable_numa_affinity: true

accelerate launch myfile.py

Fixes https://github.com/huggingface/accelerate/issues/2241
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[x] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[x] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@BenjaminBossan @stas00

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@stas00 I think this should fully enable you now. You can either set enable_cpu_affinity to True in your config.yaml, or set the env variable ACCELERATE_CPU_AFFINITY=1

Despite my best efforts couldn't get away from using pynvml 😭 However it seems to come auto-installed (probably with PyTorch?) so did a simple import check. As we get more libs/backend support we can look at appropriate interfaces rather than reinvent the wheel :)

Confirmed with @stas00 the load balancing looks proper, once tests pass will merge ✅


missing_formula: message for postgres rename.

PostgreSQL is being renamed to always be a versioned formula so handle when people type brew install postgresql.

Review period will end on 2022-08-11 at 14:17:02 UTC.

Review period ended.

Merging now because:

this does nothing if there's a postgresql formula
it seems we have agreement on the approach
this let's us have this tagged before https://github.com/Homebrew/homebrew-core/pull/107726 has landed


Update VSCode doc

The doc for vscode doesn't mention setting it as the formatter or the default formatter. It should include examples of that for people.
"editor.defaultFormatter": "csharpier.csharpier-vscode" is probably what is needed, but double check.

been using this for quite a while and works good
{
  // ...

  "[csharp]": {
    "editor.defaultFormatter": "csharpier.csharpier-vscode"
  }

  // ...
}

I use this:
  "[csharp]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "csharpier.csharpier-vscode"
  }


Remove prototype release

Prototype features are not present in the release binaries
cc @datumbox @sallysyw

There is one more definition of unittest_prototype near the end of the yml files, under the unit-test section.


confirm domain ownership to Facebook

Facebook is implementing restrictions on what level of control you have over the stuff you post. If you confirm ownership of your domain name, you will retain full control of posts linked to this domain. I've requested that our FB page is associated with the gbif.org domain, but to confirm this one of the below two options is required:

a TXT record in the DNS of gbif.org

@ IN TXT facebook-domain-verification=6z4d6a8uxbgxx69n273nnqwa81mjn2

HTML verification file accessible from gbif.org website

This file must be accessible by visiting http://gbif.org/6z4d6a8uxbgxx69n273nnqwa81mjn2.html
Let me know if you need additional details.

Info from Facebook

I opt for the DNS one if it is easy @MattBlissett because then i don't have to do something specific for prod builds (since the file shouldn't be on uat/dev I assume. Or adding it to the build for prod only?

Done, please check if it works.

Thanks. Verification done. Fairly sure you can remove the record again...


Make Kong Gateway reactive

Summary
To be more efficient, Zuul2 and Spring Cloud Gateway are reactive now, supporting NIO (non-blocking IO). Does Kong Gateway or Kong Enterprise also support this feature?

If by IO you mean Network IO, then yes, all that is non-blocking. The code looks "blocking", but everytime there is a Network IO, the light thread yields, allowing worker to process other light threads and requests. The file io, not that much, but you should not do file io in general with Kong. I can hardly think any reason to do so. You can surely write blocking io code, with Kong, but then that is your problem. The key is to use Nginx primitives, like ngx.socket.*. OpenResty uses Nginx scheduler to schedule the light threads, but you can also in some cases schedule on your own, co-operatively as Lua / OpenResty also has coroutines. The architecture is 1 master process + n worker processes (usually the number of cores) (also possible to configure some thread pools, but you need to measure if these help or hurt).


added bitcrowd

Please review our Contribution Guidelines to ensure your changes abides by it.
Review your changes and complete the checklist below.

[X] Company name
[X] Company description
[X] GitHub link
[ ] How Elixir is used
[X] Sorted alphabetically

Thank you @bitboxer 👍


fix fix create udf function with uppercase database name can't recognize

when create function with database, eg: create function MYTEST.addfunc(int) ....

it's will change MYTEST to lowercase mytest, so can't use this function in other database

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.96 seconds
load time: 477 seconds
storage size:<PHONE_NUMBER>7 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230203150332_clickbench_pr_90280.html

LGTM


Adds Info for usage of expressive-pipeline-from-config

I ran into the trouble that using the expressive-pipeline-from-config tool my routes haven't been found. That's because at some points the expressive-skeleton application didn't have the configuration for the routing- and dispatch-middlewares in their configs, as they were programmatically added.
This patch provides additional information that it will most likely be required to manually add them to your middleware_pipeline configuration.

I've just added this as a paragraph, however, it might be worth to add a full config example as well. Thoughts?

@manuakasam I'm not sure I understand the problem you are running into.
At that point in the guide, you will have run expressive-pipeline-from-config, which creates config/pipeline.php for you, and this does make the calls to pipeRoutingMiddleware() and pipeDispatchMiddleware() for you, so long as you defined them in your configuration to begin with (see the Generator class for details).
If you did not have these in your configuration, it does not add them. The assumption at that point is that you have your own custom router and/or dispatcher, and you're not using those provided by Expressive.
As such, I'm unclear what you're trying to clarify here.

@weierophinney the issue I ran into is that the skeleton does not provide this configuration (in array form inside configs). When you run the config generator on a naked skeleton, the routing- and dispatch-middlewares are lost, as they aren't configured anywhere by default.
This is what I want to raise awareness for.

@manuakasam What version of the skeleton are you running the tool on?
On v2, the pipeline is already programmatic.
On v1, we did configure the routing and dispatch middleware by default: https://github.com/zendframework/zend-expressive-skeleton/blob/887baee15c6e019f11427c6d517b095fb5be18ee/config/autoload/middleware-pipeline.global.php#L47-L59
Is it possible you removed that configuration in your application?

@weierophinney Yes, the pipeline is programmatic and the dispatch and routing middlewares are within the default pipeline.php
However, if you then run the tool again (because you added more modules routes n stuff via modules configs), the initial pipeline will be replaced. Because the pipelines for route and dispatch are NOT configured anywhere, they are then lost.
Simple reproduction should be: simply do a new install of a skeletton. Instantly run the pipeline and route generator script. The pipeline.php will then no longer have the middlewares for routing and dispatching piped.
Am I making myself any clearer? If NOT, I suppose this could then be considered a local problem and I created a non-existing case on my end :P

However, if you then run the tool again

Honestly, this was never a use case we envisioned; the tool was meant for an initial migration, not for repeated use.
What we could do is add some detection in the tool for existing config/pipeline.php and/or config/routes.php files, and have it raise an error early in those cases. If you think that would be useful, could you please raise an issue on the zend-expressive-tooling repo?


[WIP] Adding mixup to timm_image model

Issue #, if available:
Description of changes:
Add mixup with a single function. More mixup mode will be added to expand mixup as a class.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-1730-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1730/1/index.html

Job PR-1730-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1730/2/index.html

Job PR-1730-3 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1730/3/index.html

Job PR-1730-6 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1730/6/index.html

We may later have a tutorial to explain what types of data augmentations we adopted in AutoMM.

Job PR-1730-7 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1730/7/index.html

@Linuxdex What's the status of this PR?

@Linuxdex Will you merge upstream/master and trigger CI again? The problem in core has been fixed.

Job PR-1730-30 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1730/30/index.html

Job PR-1730-32 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1730/32/index.html


polish docs

@giovp can you check regarding "best" use of squidpy please?

I think it looks good,. In paper, we leverage the fact that the spatial coordinates are already basically arranged so that without library key the points are still arranged properly. i think it's fine either way!


Overriding product-slider content using the category layout tab fails

Description:
When assigning a layout with a product-slider/image slider to a category, overriding the manually assigned products/image produces the wrong result after saving. This happens if there are products/images manually assigned on the cms-page, but the user wants to override these values using the category layout editor.
As a result, the user can not properly delete/add products/images to the product-slider/image-slider.
Steps to reproduce:
Create a Shopping Experience with a product-slider/image slider and assign 2 products/images. (Manually assigned)
Assign this layout to a category.
Switch to the layout tab on the category and delete 1 of the 2 inherited products/images in the product-slider. And Save category.
After saving, the deleted product/image reappears in the multi-select.
Expected result:
Assigned product/image on the category-layout view, override the assigned products/images of the cms page.
Actual result:
The products/images assigned on the category layout tab are merged with the products/images assigned on the cms page.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-36162.
[created from NEXT-36162, comment 486587]


nixos/nat: substitute iptables for compat under nftables

(Migrated from #84949 due to a wonderful demonstration of PEBKAC)
Motivation for this change
Currently, NAT will not work if you have nftables enabled (and therefore default firewall disabled (and therefore ip_tables unloaded/blacklisted)). This allows those using nftables to enable nat and have it work with minimal code change, thanks to the good work of those who created iptables-nftables-compat.
Debugging why my containers had no network access was a pain, this change fixed my issue, I'm using it right now.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/145

closing not because it's solved, but because no activity and I don't really care enough to keep pushing.


invite @xinbenlv to write an article about how to integrate Wechaty with HaoShiYou App

The goal of HaoShiYou is to help Chinese students in Silicon Valley to find/rent a room with other students. @xinbenlv is working at Google, founded HaoShiYou in his spare time, developed the App, and managed many 500 people Wechat group, which is a massive work for human.
After using Wechaty, he uses a bot to help him managing all Wechat works, such as add/del people in a group, save rent/lease information from Wechat message, even OCR the screenshot to read it by the bot. And here's his Bot: https://github.com/xinbenlv/haoshiyou-bot
It would be wonderful if @xinbenlv could share his experience from his HaoShiYou project, I'm looking for your article, thanks!

Sure

It would be great if the view mode of markdown has code syntax highlight,
it seems not
can you check if we can add this support?
http://prose.io/#Chatie/blog/blob/master/_posts/2017-04-16-how-chatie-is-used-in-haoshiyou-project.md
Zainan Victor Zhou, 周载南
Senior Software Engineer, Tech Lead at Google
650-336-5691
On Sun, Apr 16, 2017 at 4:09 PM, Huan LI<EMAIL_ADDRESS>wrote:

Closed #12 https://github.com/Chatie/blog/issues/12 via #16
https://github.com/Chatie/blog/pull/16.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/Chatie/blog/issues/12#event-1044481386, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAnFRRLi4E2eToQsH2Vpd_oHKNuekRKUks5rwp-rgaJpZM4Mio7d
.

Yes, we should fix it.
It looks like what we should do exactly described at here:
https://yaitloutou.github.io/blog/2017/01/22/jekyll-code-highlighting/


Force redirect from HTTP to HTTPS

What is the context of this PR?
This PR ensures that we redirect http requests to https.
The /status endpoint has been modified to allow access via http to allow Kubernetes readiness checks to pass as those requests are made via http.
For dev purposes, ensure FLASK_ENV is development so that localhost doesn't redirect to https.
How to review
Ensure:

That any requests made using http is redirected to https. Ideally, test by deploying the app to GCP.
Requests can be made to /status via http.

Working Deployed Example: http://mebin-runner.gcp.dev.eq.ons.digital (should redirect to https)
Status page: http://mebin-runner.gcp.dev.eq.ons.digital/status

Closing in favour of the solution to only allow HTTPS traffic.


Updated test imports and todo assertions

commented out unused functions and imports for js lint testing. Updated ToDo assertions. updated imports for linting and missing object for document tests.

@swgamerx thanks for doing this! I ended up restructuring some things to make needed work more clear after you PR'd this, and cleaned up a bunch of these errors in the process. I'm going to close this but please pick up from master and keep working to get us over the line! :)


<EMAIL_ADDRESS>decompress error

gimp fails to unpacked and installed
gives following error in log file:
Signature detected: Inno Setup Setup Data (6.3.0)
This is not directly supported, but i'll try to unpack it as version 5602
; Version detected: 6300

Duplicates #14126.


Address CVE-2022-42889 by updating commons-text

Signed-off-by: Andriy Redko<EMAIL_ADDRESS>Description
Address CVE-2022-42889 by updating commons-text
Issues Resolved
Closes https://github.com/opensearch-project/ml-commons/issues/485
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@reta should we backport to 2.x?

@reta should we backport to 2.x?

Yes, I will take of that, thanks @ylwu-amzn

Thanks for addressing this so quickly @reta!
Would it be possible to have this backported to 1.x as well? If I understand correctly the 1 major version is still within its maintenance window and addressing CVE-2022-42889 (9.8 score CVE) is probably a suitable security patch to want backported.

Would it be possible to have this backported to 1.x as well?

@Ayril sure, will do that shortly, thank you

@reta For better clarity, from which version of 1.x these fixes are available and when it be released?

@reta For better clarity, from which version of 1.x these fixes are available and when it be released?

@nslokesh that would be question to maintainers, @jngz-es could you spot some light please?

Manually backported to 1.3. https://github.com/opensearch-project/ml-commons/pull/520.

from OS 1.3.7, these fixes are available and it will be released when 1.3.7 is released.


Extension Installation Issue

Lens gets stuck on the extension installation
While trying to install the extension installation lens stucks after pasting the .tgz file or @mirantis/lens-extension-cc
I had to go to Lens status bar icon and quit app and then restart the app and the extension was there. This is missing from the installation guide.
Environment

Lens Version: 5.3.4
OS: Windows 64
Installation method (e.g. snap or AppImage in Linux):  npm pack @mirantis/lens-extension-cc

This seems to be the case when that extension was previously installed into the ~/.k8slens/extensions folder.


Move GECKO to its own repository

We're planning to submit GECKO to OBO. Hopefully other groups will use GECKO independently of the IHCC data harmonization work, so it makes sense to separate the ontology into its own repo. Here's a first draft of a plan:

create https://github.com/IHCC-cohorts/GECKO repo
create src/ontology/ with gecko.tsv and gecko.ttl, better imports
create new, smaller Makefile
update this repo to pull gecko.owl

I think we should still use the same mappings Google Sheet as the source for gecko.tsv, at least for now.

Just to confirm this will all be based to the traditional structure with the edit files and the purl managed releases?

Yes, it will be an ontology repository similar to other OBO projects.
But OBO projects are increasingly using templates for their terms, and I want to do the same. For example, well over half of all OBI term are defined in templates; we're trying to convert existing branches to templates; and most new terms are added to templates.
https://github.com/obi-ontology/obi/tree/master/src/ontology/templates

just pinging this up - are you able to assess whether this is doable before end of May?

Yes, I will get it done. It shouldn't take long at all.
I planned to have this done already, but OXO is taking more time than I expected.

https://github.com/IHCC-cohorts


Kubectl Access to AKS through Azure Firewall

I have kubectl installed on a vm within azure. I have added a route table to route <IP_ADDRESS>/0 to an azure firewall. I know kubectl (and my config) works when the azure firewall is not in play. To start simple, from that box I am allowing all outbound traffic on 443 so I can be certain FQDN rules are not getting in the way. I can access google.com using curl from this box over HTTPS, however I cannot access my AKS cluster (management api) with kubectl. I've done a TCP dump to verify that the only traffic being generated is on 443.  I've looked at the traffic when it is through the firewall vs. not and it appears that there may be an asymmetrical call during the TLS handshake that is getting snagged by azure FW.
With that said, it would be nice to know whether or not this set up works/is supported.  Beyond that, if this scenario doesn't work, it would be nice to create a route table entry for just the management api IP so that traffic can have a route override to go directly to the internet.  With that said, I'm doing deployments via terraform and it doesn't appear that from the azure RM that the static IP associated with the management api is returned, just the FQDN that can't be used for creating routes.
Anyway, any guidance would be appreciated.  Thanks in advance.

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

ID: a38439d0-0125-3445-1c0a-a03b940e315d
Version Independent ID: c6436a35-94b9-6396-3b13-9291f0a17b21
Content: Restrict egress traffic in Azure Kubernetes Service (AKS)
Content Source: articles/aks/limit-egress-traffic.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

@michaelschmit  Thanks for the question! We are investigating and will update you shortly.

Are you using authenticated ip feature in AKS?  https://docs.microsoft.com/en-us/azure/aks/api-server-authorized-ip-ranges
I will also repro this in my environment and let you know

Yes, I am.  Perhaps I should add the FW external IP address to the the IP range?

That seems to have resolved my issue. I appreciate the hint that got me on the right path.


Appveyor / Windows continuous integration for Python

scikit-learn can be used as a model for installing the correct dependencies in Appveyor and running the test suite
https://github.com/scikit-learn/scikit-learn/blob/master/appveyor.yml
this is some work, though, but can be mostly copy-and-pasted if someone wants to take a look

Superseded by Arrow's CI


df: Golang implemenation

The Data Flow Facilitator portion of DFFML would be great to port to other languages. As it's just a helper to use a data flow architecture. Go is probably the most straightforward port.
APIs should be kept the same. If needed we'll change the python APIs to match so that it's all one API.

Data Flow Programming

Explainer on what data flow programming is and how it works.
Alice thinks in parallel.

Rolling Alice: Architecting Alice: She's Arriving When?

The following is reproduced from the above WIP tutorial on dataflows (originally #1279)

It provides a minimal example of concurrent download in Python.
The full execution loop exists within dffml/df/memory.py

Tutorials on DFFML Operations / DataFlows

https://intel.github.io/dffml/main/examples/shouldi.html
https://intel.github.io/dffml/main/examples/dataflows.html
https://github.com/intel/dffml/blob/alice/entities/alice/CONTRIBUTING.rst#finding-data-types-to-work-with

Talk snippit explaining above tutorial

https://youtu.be/D9puJiKKKS8?t=873

Concuptual docs on data flow execution

https://github.com/intel/dffml/blob/alice/docs/about.rst#what-is-key-objective-of-dataflows
https://intel.github.io/dffml/main/concepts/dataflow.html

Misc. References

https://en.wikipedia.org/wiki/Dataflow_programming
https://www.gamedeveloper.com/programming/tips-on-writing-code-for-data-oriented-design
https://www.youtube.com/watch?v=aPh4Z3SioB8

We need to come up with serveral metrics to track and plot throughout.
We also need to plot in relation to other metrics for tradeoff analysis.
We could also make this like a choose your own adventure style tutorial,
if you want to do it with threads, here's your output metrics. We can
later show that we're getting these metrics by putting all the steps
into a dataflow and getting the metrics out by running them. We could then
show how we can ask the orchestrator to optimize for speed, memory, etc.
Then add in how you can have the orchestrator take those optimization
constriants from dynamic conditions such as how much memory is on the
machine you are running on, or do you have access to a k8s cluster. Also
talked about power consumption vs. speed trade off for server vs. desktop.
Could add in edge constraints like network latency.
Will need to add in metrics API and use in various places in
orchestrators and expose to operations to report out. This will be the
same APIs we'll use for stub operations to estimate time to completion,
etc.

Make sure to measure speed and memory useage with ProcessPoolExecutor
ThreadPoolExecutor. Make sure we take into accout memory from all
processes.

Start to finish speed

Plot with number of requests made

Memory consumed

Plot with number of requests made

This could be done as an IPython notebook.

Show basic downloader code

Observe speed bottleneck due to download in series

Parallelize download code

Observe increase in speed

Observe error handling issues

Add in need to call out via subprocess

Observe subprocess issues

Move to event loop

Observe increase in speed (? Not sure on this yet)

Observe successful error handling

Observe need to track fine grained details

Move to event based implemention with director (orchestrator, this file
minus prev pointers in Base Event)

Observe visablity into each event state of each request

Observe lack of visablity into chain of events

Add prev pointers

Open Liniage

Move to data flow based implemention

Demo full DFFML data flow using execution on k8s

Use k8s playground as target environment

"""
License: Public Domain
Source: https://gist.github.com/f6fe1a39bd4e66e7d0c6e7802872d3b5
"""
import os
import asyncio
import pathlib
import contextlib
import dataclasses
import urllib.parse
import concurrent.futures

import bs4
import dffml
import aiohttp

DOWNLOAD_PATH = pathlib.Path(__file__).parent.joinpath("downloads")
if not DOWNLOAD_PATH.is_dir():
    DOWNLOAD_PATH.mkdir()

def parse_bs4(html_doc):
    return bs4.BeautifulSoup(html_doc, "html.parser")

def mkurl(endpoint, **kwargs):
    url = urllib.parse.urlparse(endpoint)
    url = url._replace(**kwargs)
    return urllib.parse.urlunparse(url)

@dataclasses.dataclass
class SiteContext:
    username: str
    password: str
    endpoint: str = "https://site.com/"
    headers: dict = dataclasses.field(
        default_factory=lambda: {
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0",
            "Connection": "keep-alive",
        }
    )

    def mkurl(self, **kwargs):
        return mkurl(self.endpoint, **kwargs)

async def main_with_stacks(ctx: SiteContext, loop, stack, astack):
    # Create thread pool for CPU bound tasks
    pool = stack.enter_context(concurrent.futures.ThreadPoolExecutor())
    # Create aiohttp client session which pools TCP connections for reuse
    session = await astack.enter_async_context(
        aiohttp.ClientSession(headers=ctx.headers)
    )
    # Get initial web page
    async with session.get(ctx.endpoint) as response:
        # Read home page
        initial_page_body_text = await response.read()
        # Parse home page
        initial_page_body_soup = await loop.run_in_executor(
            pool, parse_bs4, initial_page_body_text
        )
        # Find authenticity_token (This is the CSRF token)
        authenticity_token = initial_page_body_soup.find(
            "input",
            {"name": "authenticity_token"},
        )
        authenticity_token = authenticity_token.get("value")
    # Login. Server sends cookie which is used to authenticate us in subsequent
    # requests. The cookie is stored in the ClientSession.
    # Cookie might be only sent if something like "rememeber" is sent.
    # Use chrome devtools Network tab to see login request data, make sure to
    # check "Preserve Log" before you trigger the login page. Incognito window
    # can be helpful for getting a logged-out session.
    await session.post(
        ctx.mkurl(path="/login"),
        data={
            "authenticity_token": authenticity_token,
            "username": ctx.username,
            "password": ctx.password,
            "remember": "on",
        },
    )

async def main():
    # Grab loop
    loop = asyncio.get_event_loop()
    # Create a context using our credentials
    ctx = SiteContext(
        username=os.environ["USERNAME"],
        password=os.environ["PASSWORD"],
    )
    with contextlib.ExitStack() as stack:
        async with contextlib.AsyncExitStack() as astack:
            await main_with_stacks(ctx, loop, stack, astack)

if __name__ == "__main__":
    asyncio.run(main())

DFFML's Current Working Data Flow Execution Model
graph TD
  subgraph dataflow_execution[Data Flow Execution]

    inputs[New Inputs]
    operations[Operations]
    opimps[Operation Implementations]

    ictx[Input Network]
    opctx[Operation Network]
    opimpctx[Operation Implementation Network]
    rctx[Redundency Checker]
    lctx[Lock Network]

    opctx_operations[Determine which Operations may have new parameter sets]
    ictx_gather_inputs[Generate Operation parameter set pairs]
    opimpctx_dispatch[Dispatch operation for running]
    opimpctx_run_operation[Run an operation using given parameter set as inputs]

    inputs --> ictx

    operations -->|Register With| opctx
    opimps -->|Register With| opimpctx

    ictx --> opctx_operations
    opctx --> opctx_operations

    opctx_operations --> ictx_gather_inputs
    ictx_gather_inputs --> rctx
    rctx --> |If operation has not been run with given parameter set before| opimpctx_dispatch

    opimpctx_dispatch --> opimpctx

    opimpctx --> lctx

    lctx --> |Lock any inputs that can't be used at the same time| opimpctx_run_operation

    opimpctx_run_operation --> |Outputs of Operation become inputs to other operations| inputs
  end


[Question]: removing a specific relese of a library

Describe the request
Hi guys,
I had a Question regarding the Library indexer.
How can I achieve that a specific version will be removed from the index.
For example I provided a release 0.1.0 and a more improved one with 1.0.0.
And I want to remove the 0.1.0 from the index.
How  can I achieve this?
Describe the current behavior
Is it possible to do this automatically by the Arduinobot?
Additional context
No response
Issue checklist

[X] I searched for previous requests in the issue tracker
[X] My request contains all necessary details

Hi @hasenradball.

I want to remove the 0.1.0 from the index.
How can I achieve this?

The procedure for requesting the removal of a release is documented here:
https://github.com/arduino/library-registry/blob/main/FAQ.md#how-can-i-remove-a-release-of-my-library-from-library-manager
If you have any questions or problems while following those instructions, feel free to comment here on this issue thread. I'll be happy to provide assistance.

Is it possible to do this automatically by the Arduinobot?

No. We have only automated library submissions. All other types of operations are handled manually by the maintainers of this repository and the Library Manager index system. That means that it takes some time before we can get to accommodating release removal requests. But we are sure to get it done without too much delay.

For example I provided a release 0.1.0 and a more improved one with 1.0.0.
And I want to remove the 0.1.0 from the index.

I should add that you shouldn't request the removal of releases frivolously. It should only be done in the case of a serious emergency such as if it was later discovered to contain copyrighted content used without permission of the owner.
In your example where you simply made an improvement to the library in the new release, you should NOT submit a removal request for the previous version. The process of removing a release is fairly time consuming so if library maintainers abuse the system to submit requests for such frivolous reasons we would be quickly overwhelmed by thousand of request and would have to stop offering this service.
The Arduino Library Manager always offers the newest version by default so a user would have to intentionally chose to install an older version. They will only ever install the older version of the library if there is a very good reason for doing so, such as if there is a serious regression or incompatibility in the latest version. Arduino Library Manager also automatically offers updates to those users using older versions of a library.


ingress controller: use shared informers

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
d41f864adb7e613a500b78963b40bc2bd4284fc3
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
d41f864adb7e613a500b78963b40bc2bd4284fc3
link
/test lint_istio

unit-tests_istio
d41f864adb7e613a500b78963b40bc2bd4284fc3
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
d41f864adb7e613a500b78963b40bc2bd4284fc3
link
/test unit-tests_istio

lint_istio
7bd87227e4408d026fdec97b8932003aba966890
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
fae42a5dd48efc37d8059c9e4b7743915e4a7deb
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
fae42a5dd48efc37d8059c9e4b7743915e4a7deb
link
/test lint_istio

gencheck_istio
fae42a5dd48efc37d8059c9e4b7743915e4a7deb
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
fae42a5dd48efc37d8059c9e4b7743915e4a7deb
link
/test lint_istio

gencheck_istio
fae42a5dd48efc37d8059c9e4b7743915e4a7deb
link
/test gencheck_istio

unit-tests_istio
fae42a5dd48efc37d8059c9e4b7743915e4a7deb
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
fae42a5dd48efc37d8059c9e4b7743915e4a7deb
link
/test lint_istio

gencheck_istio
fae42a5dd48efc37d8059c9e4b7743915e4a7deb
link
/test gencheck_istio

unit-tests_istio
fae42a5dd48efc37d8059c9e4b7743915e4a7deb
link
/test unit-tests_istio

analyze-tests_istio
fae42a5dd48efc37d8059c9e4b7743915e4a7deb
link
/test analyze-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
fae42a5dd48efc37d8059c9e4b7743915e4a7deb
link
/test unit-tests_istio

analyze-tests_istio
5aca1193ae0488ba9e71615ae4a956979c2d1ada
link
/test analyze-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


clickable list brackets in type signatures

If you click on a [ or ] list brace in an implementation or doc example, it takes you to the doc for the List type; that's a really nice touch!
But a [ or ] in a type signature doesn't get the same treatment. For example in the type signature for Stream.toList it would be nice if I could click on either of the braces in [a].

Hmm this looks to be a bit of a deeper issue than would appear on the surface. In signatures, it looks like we're not pretty printing them as a reference at all, but as a delimiter char.
I think this would have to be changed in the pretty printer somehow. @aryairani any thoughts?


Hh rearrange

I have rearranged files and the code itself. Apparently when you're using click(), you cannot call the python function from Jupyter. I have implemented a hack to make it work as suggested by a developer in click's gh . If you approve, could you please also publish this into pip ? I could install 'runner' in other projects (e.g. kg-microbe)

Great! Thanks for the PR 👍


Correction for raw affiliation Jenifer Chao is a visiting post-doctoral researcher at the Photographic History Research Centre at De Montfort University, Leicester. Her current research project examines various transnational visual representations connected to China’s latest round of economic developments in Africa.

Correction needed for raw affiliation Jenifer Chao is a visiting post-doctoral researcher at the Photographic History Research Centre at De Montfort University, Leicester. Her current research project examines various transnational visual representations connected to China’s latest round of economic developments in Africa.
raw_affiliation_name: Jenifer Chao is a visiting post-doctoral researcher at the Photographic History Research Centre at De Montfort University, Leicester. Her current research project examines various transnational visual representations connected to China’s latest round of economic developments in Africa.
new_rors: 0312pnr83
previous_rors:
works_examples: W2358715037
contact: 2ca707d94f83a4fbca8942a1157d8386:eceb4e @ dmu.ac.uk

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


loading fonts and images from static folder

First of all, great tool. The entire storybook suite has made UI dev much, much faster.
Here's my issue: I have some static files (fonts and images) that I need to load in my stories. These work great locally. But, once deployed onto github pages (https://awei01.github.io/sui-stateless-components), <img src> references and css url() references stop working.
Specifically an <img src='/images/foo.png'> which worked locally now breaks because github pages appends the project name after my github pages url.
Specific links which illustrate this issue:

https://awei01.github.io/sui-stateless-components/?selectedKind=Button&selectedStory=icon&full=0&down=1&left=1&panelRight=0
https://awei01.github.io/sui-stateless-components/?selectedKind=Image&selectedStory=<Image> default&full=0&down=1&left=1&panelRight=0

Is there a workaround for this issue?

ok, sorted out the issue with webpack. not a deployer issue.

@awei01  How you sorted out? Can you please share webpack code

@arpitprod Had to dig around for something that is 4 years old, but I found it: https://github.com/awei01/sui-stateless-components/blob/master/.storybook/webpack.config.js#L21-L35


Remove unused use ($app) at anonymous function at ApplicationFactory::createCollectionMapper()

I've made this change already in #428, which will land in develop this week; since that patch contains substantial additional refactoring, I'm closing this one to prevent merge issues later.
Thanks for finding and reporting this, though!


Developer using Rasa should be able to start HTTP server easily from within Python

As a developer using Rasa, I want to start the Rasa HTTP server easily from within a Python program, so that I can start a standalone Rasa server as if I had called python -m rasa_nlu.server from the command-line (for example, for testing interaction between two Python processes, one of which is a Rasa server).
One simple solution is to just place that code into a main() function and then simply call main() in the body of the if statement. A workaround that works right now is to essentially copy and paste the code under the if __name__ == '__main__': guard in the rasa_nlu.server module to the program where I want to start the process.

do you really want this? once you started server, you will be not able to kill it (easily).
You might want to use a thread or queue...

What is the use case, @jfinkels?

@jfinkels any response?
@tmbo want me to leave it open or close it if we don't get a use case. I am assuming close.

You can use subprocess.Popen("start /wait python -m rasa_nlu_server .....", shell = True) to spawn the server process in a new child window.

In the previous version of Rasa, there was a Flask app for which I could
create a test client for unit tests using create_app().test_client(). I'd
like to be able to do something similar with the Klein app, but I'm not
familiar with the Klein framework. One way of solving the problem is to
allow the user to spawn a new process in the setup test fixture and kill
that process in the teardown.
On Wed, Oct 25, 2017 at 5:25 AM kunalm37<EMAIL_ADDRESS>wrote:

You can use subprocess.Popen("start /wait python -m rasa_nlu_server
.....", shell = True) to spawn the server process in a new child window.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RasaHQ/rasa_nlu/issues/623#issuecomment-339270120,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHbmwL3pp4vhMYIYvcRfFdt-ncgpPQPks5svv6AgaJpZM4PxC9G
.

@PHLF I am sure I am awakening the beast, but any comment?

If this is for testing purposes, have a look at the current server tests: you should use a StubTreq object from the treq lib to fake a http server.

thanks @PHLF, @jfinkels post back if you want me to re-open.

I'll check it out, thank you.
On Thu, Nov 2, 2017 at 6:49 AM Caleb M. Keller<EMAIL_ADDRESS>wrote:

Closed #623 https://github.com/RasaHQ/rasa_nlu/issues/623.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RasaHQ/rasa_nlu/issues/623#event-1322741535, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAHbm3xmsj8-pX2Q10BZLTSoqFToKub7ks5syZ4tgaJpZM4PxC9G
.


feat: add support for similarly named edges on different ent objects …

Summary

add support for similarly named edges on different ent objects to use a common edge orderBy field.

the generated var name was not unique enough, and would have a conflict if the same edge name and field was used from two different ent schemas
for example two ent schemas can each have a created by edge to a user and both use a common sorting field on the edge

added edges to Todo and Groups to show that code generation succeeds

@a8m Here's the pull request. I think we need to consider the edge owner name when creating the variable holding the order term.

@giautm Can you help review this?

Hey @michaelcaulley! I fixed that with https://github.com/ent/contrib/pull/565. I really sorry, I used amend accidentally instead of taking your commit (merge commit). I appreciate your contribution to ent and its community, and I hope you will have more opportunities to contribute soon.
Thanks again 🙏🏻

No worries. Thanks for helping get the fix into the main branch.


[DOCU-2360] Portal email recipients and developer metadata

Summary

Following up on https://github.com/Kong/docs.konghq.com/pull/3995 with a couple more additions that we snuck into <IP_ADDRESS>.
Reason

https://konghq.atlassian.net/browse/DOCU-2360
Testing

https://deploy-preview-3999--kongdocs.netlify.app/gateway/changelog
https://deploy-preview-3999--kongdocs.netlify.app/gateway/latest/reference/configuration/#portal_smtp_admin_emails
https://deploy-preview-3999--kongdocs.netlify.app/gateway/latest/developer-portal/theme-customization/emails/

@mheap FYI - we should probably adjust the generated content check to stop triggering once the ci:check-skipped:generated-files label has been set. Otherwise, it triggers over and over with every commit.


[feature request] use kube-webhook-certgen manage webhook certificate

What would you like to be added:
Use kube-webhook-certgen to generate webhook certificate, like [ingress-nginx](https://github.com/kubernetes/ingress-nginx/tree/main/charts/ingress-nginx/templates/admission-webhooks or kubevela.
Why is this needed:
yurt-app-manager and raven-controller-manager implement generate certificate by themself, which is not easy to maintenance. Detail code show in file  webhook_controller.go
others
/kind feature

/assign @kadisi @zzguang @DrmagicE @njucjc
@huiwq1990 It looks like we will import a new component(kube-webhook-certgen) in OpenYurt cluster if we use kube-webhook-certgen to generate webhook certificate. so would you be able to introduce the differences and advantages of kube-webhook-certgen?

@huiwq1990 Maybe we can discuss this issue in the next community meeting.

Ok, I will attend a meeting.

/assign @kadisi @zzguang @DrmagicE @njucjc
@huiwq1990 It looks like we will import a new component(kube-webhook-certgen) in OpenYurt cluster if we use kube-webhook-certgen to generate webhook certificate. so would you be able to introduce the differences and advantages of kube-webhook-certgen?

@rambohe-ch @huiwq1990 Sounds we would have at least four repo's in need of cert generation for webhook (openyurt, yurt-app-manager, raven, pool-coordinator). We do need a common API for this. How do we do that? We have theses choices:

Use https://github.com/jet/kube-webhook-certgen
Add a new certs repo under openyurt.io
Expose this part from yurt-app-manager
Add an API repo for the whole OpenYurt, then add certs related functions into this repo.

Which one is the best?

@gnunu @rambohe-ch I recommend the first one. As:

kube-webhook-certgen could patch k8s webhooks and generate certs for https server;
If we maintain the certs code, we need cover unit tests and there are not difference in implementing mechanisms;
Some famous projects use it too, it's relatively mature;

https://github.com/kubevela/kubevela/discussions/4490

Someone post the admissionregistration/v1beta1 issue in https://github.com/jet/kube-webhook-certgen/issues/30 . jet/kube-webhook-certgen does not want to solve it and recommand use https://github.com/kubernetes/ingress-nginx/tree/main/images/kube-webhook-certgen. So does we maintain the code ourself?
@rambohe-ch @gnunu

kubevela/kubevela#4490 @rambohe-ch @gnunu the project alreay maintian the webhook patch function, we can follow it.

@huiwq1990 I think it's not good idea to maintain a kube-webhook-certgen repo in OpenYurt. If kubevela has maintained a  repo, maybe we can use it or leverage it.

yurt-app-manager and yurt-edgex-manager have already used kube-webhook-certgen to manage webhook certificate.


API Request: Flipside API

🚀 API Request
Describe the new external data source API you're proposing
I propose for the Flipside API to be included in the LiveQuery Approved API's list.
What benefits would this new API bring to you and other users?
Reduce the duplication of queries when a user wants to show intermediate results along aggregated data.
A simplified example is shown in the following dashboard:
https://flipsidecrypto.xyz/flyingfish/2023-06-19-05-48-pm-nmiJ7W
Provide an example of how the API might be accessed
One option would be to implement something similar to how results are fetched with the SDK.
Ideal and simpler option would be with:
SELECT
livequery.live.udf_api('https://api-v2.flipsidecrypto.xyz/{query_id}') as response

Additional context
In the example dashboard, Query 1 will need to run 2 times (once on it's own and a 2nd time when included in Query 3).
Not knowing the details of engine behind the data app, i think there might be an improvement if Query 3 would only need to fetch the results instead of re-running Query 1 and Query 2.
Anything else you'd like to add?
No more details.

this is live


[MRG] add kaggle requirement summary

Closes https://github.com/MLSysOps/MLE-agent/issues/206
Before submitting this PR, please make sure you have:

[x] confirmed all checks still pass OR confirm CI build passes.
[x] verified that any code or assets from external sources are properly credited in comments and/or in
the credit file.

We also need to update the GitHub README.md

We also need to update the GitHub README.md

Sure


refactor: improve config files

Improve config files to be able to use firebase functions:config:set for different stages.

👍


Torch not working

I am using the QrReader component successfully, but the torch (environment camera light) is not turning on when configured using the "constraints" prop of the component (tested Android and iOS devices). I am defining such property as follows:
constraints={{'torch' : true, facingMode: 'environment'}}
According to https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints the torch property should be a boolean value. Is this MediaTrack Constraint actually being taken care of in this component?

same issue . I have tried
constraints={{ facingMode: "environment", advanced: [{ torch: true }] }}
but it doesn't work

Is there any update on this? I'm facing the same issue

Is there any update on this? I'm facing the same issue

I've been doing research on this for about a week. I don't believe its possible with IOS from what I've read due to apple.

@Webbwhite98
According to my knowledge of MediaTrackConstraints torch property is not available in video tracks.
I feel that's the reason we can't pass the torch as props in the QR reader component.


[Settings] : Tooltip is not appearing for 'Close/Open' Navigation button, when user jump to Settings page using "Ctrl + ," keys.

Windows Terminal version
1.12.3472.0
Windows build number
22509.1011
Other Software
**Test Environment: **
OS: Windows 11 Version Dev (OS Build 22509.1011)
App: Windows Terminal Preview
Steps to reproduce
**Repro Steps: **
1.Open Windows Terminal.
2.Open Settings page using 'Ctr+,'
3.Focus will land on 'Close/open' Navigation button.
4.Verify whether Tooltip is appearing for 'Close/Open' Navigation button or not.
**User Experience: **
Users who rely on keyboard will get impacted here & may not know the exact purpose of the control, if Tooltip not appears for 'Close/Open' Navigation button, when user jump to Settings page using "Ctrl + ," keys.
Attachment :
Tooltip is not appearing for 'Close or Open' Navigation button, when user jump to Settings page using Ctrl + , keys..zip
Expected Behavior
Tooltip should appear for 'Close/Open' Navigation button, when user jump to Settings page using "Ctrl + ," keys.
Actual Behavior
Tooltip is not appearing for 'Close/Open' Navigation button, when user jump to Settings page using "Ctrl + ," keys.
-->On opening 'settings' using 'Ctrl + ,' keys, focus is landing on 'Close/Open' Navigation button & Tooltip is not appearing for 'Close/Open' Navigation button.
Observation :
Issue do not repro, while navigating in the opened 'Settings' window.

Weird. I don't think we're doing anything particularly weird with the focus here. Correct solution might be to make sure that the NavigationView, when added to the UI tree and focused with Keyboard focus, displays the tooltip automatically. I don't believe we're doing anything out of the ordinary to get in the way of that...

Similarly, the XAML Controls Gallery can repro the same issue:

Open the Xaml Controls Gallery
immediately type "NavigationView" into the search box and hit enter, which should bring you to the NavigationView page.
Note that the focus is on this nav view

within the page
tab to focus the next NavigationViewItem, note that the tooltip appears (after a brief delay)
shift+tab to focus the original NavigationViewItem (the hamburger menu), note that the tooltip appears (after a brief delay)

So I'm thinking this is a bug that should be moved upstream to https://github.com/microsoft/microsoft-ui-xaml/, @Saiteja341 can you confirm?


[imgur via reddit] None of the reddit users imgur albums seems to be downloading.

v1.7.96-6-425a444a
Win10 x64 home.
It seems just empty folders are saved on the drive in anticipation of the downloads.  None of the folders contain the images.
The links in the users profile are all albums. At this time I am not aware if directly linked single Imgur images work.
This user (NSFW)
https://www.reddit.com/user/Lilbekkah101/

you have a log file? on linux this seems to work.

I'll grab a log file.

just copy pasted your url.


Button scale

The button in a form has 100% width. On hover, it scales too much:

I think that's the reason why people prefer color change rather than scale.
Also during scale text inside the button is blurry. It's possible to use ::before to scale only the background, but still, there is a previous problem.

I tried to use box-shadow to add scale-like effect using size, not percent. It looks cool with a solid button. But a border button just does not work in such a method. So I will just switch to ::before for scaling. Yeah, it doesn't scale text, but it's even better. No more blur.

Scale kills me. I want to add scale down on a click. But if the cursor is out of the button in active state it will not be counted as a click.
https://user-images.githubusercontent.com/103932583/235919228-b981271b-a190-4721-bfcd-e6e71ad3f51b.mp4

I think I got it. Size is changed, not scale. ::before working. Just should remake styles for different buttons.
https://user-images.githubusercontent.com/103932583/236020662-00c9a899-2113-4581-aa8d-cb4700a00b5b.mp4

I came back to scale, but scale X much less than Y


Fixing file with rules E302, I001 cause infinite loop

ruff 0.5.5+379 (a3e67abf4 2024-07-31)
ruff check *.py --select E302,I001 --no-cache --fix --unsafe-fixes --preview --output-format concise --isolated

file content(at the bottom should be attached raw, not formatted file - github removes some non-printable characters, so copying from here may not work):
import time
#替换环境

#测试环境，替换eb部分3台服务器及其代码
def web_replace():
    bg=time.time()

error
/tmp/tmp_folder/data/5053444380204826248.py:1:1: I001 Import block is un-sorted or un-formatted
Found 501 errors (500 fixed, 1 remaining).
[*] 1 fixable with the --fix option.

debug error: Failed to converge after 500 iterations in `/tmp/tmp_folder/data/5053444380204826248.py` with rule codes I001:---
import time

#替换环境

#测试环境，替换eb部分3台服务器及其代码
def web_replace():
    bg=time.time()
---

Ruff build, that was used to reproduce problem(compiled on Ubuntu 22.04 with relase mode + debug symbols + debug assertions + overflow checks) - https://github.com/qarmin/Automated-Fuzzer/releases/download/Nightly/ruff.7z
python_compressed.zip

Huh, that's funny. Thanks for reporting!


History page e2e tests

We have no e2e tests for our history page. History items we should test for should include:

[ ] application edits
[ ] RFI
[ ] Assessments
[ ] Conditional Approval
[ ] GIS upload
[ ] Announcements
[ ] SoW/Change request
[ ] Community Progress Report (history not implemented at the time of writing)
[ ] ...? any others I am missing here

Closing as this is a duplicate of #2088


docs: add Glossary of Terms

I think it's better to add Glossary of Terms to the documentation because:

beginners don't know what we are talking about, so for me, it's better to add a Glossary of Terms before starting the introduction.

Glossary of Terms
We will use some words that may be difficult to understand for the beginners, please read the items below to understand the words we will be using:

Blockchain
Decentralized Autonomous Organization (DAO)
Decentralized applications (Dapp)
Middleware
Open Source Software (OSS)
STAKER APY
CREATOR APY
Tokenomics
P2P
ERC20

Here's what I found on the documentation, is there any more suggestion?

Blockchain
A blockchain is essentially a digital ledger of transactions that is duplicated and distributed across the entire network of computer systems on the blockchain. Each block in the chain contains a number of transactions, and every time a new transaction occurs on the blockchain, a record of that transaction is added to every participant’s ledger. The decentralised database managed by multiple participants is known as Distributed Ledger Technology (DLT).

STAKER APY
STAKER APY is the percentage of staking rewards that are distributed annually to users who stake a project. DEV tokens will be distributed.

CREATOR APY
CREATOR APY is the percentage of staking rewards distributed to a project by supporters according to the amount of staking on their project. DEV tokens will be distributed.

This will continue with the help of @KukretiShubham.
I missed my brother here @kazu80 👀


Warnings about "rejected withstatus code HTTP/2.0 200 OK" etc

In a Unity 4.6.4 Web Player build, we're getting various warning messages depending on browser that state things like:
"Google Analytics hit request rejected withstatus code HTTP/2.0 200 OK"
"Google Analytics hit request rejected withstatus code 200 OK"
I'm assuming these are actually accepted, but the the "STATUS" header value is not exactly matching "HTTP/1.1 200 OK" so it is warning about it.

Relevant Debug.Log statements are in GoogleAnalyticsMPV3.cs in HandleWWW.

Thanks for the fix!


Unauthorized error for routes requiring authorization header

The following request accepts the user to be authenticated by supplying an authorization header with a valid token:
curl http://localhost:4000/graphql \
-H "authorization: bearer <token>" \
-H "content-type: application/json" \
-d '{ "query": "query {\n  getSelf {\n    email\n  }\n}\n" }'

The equivalent REST API call successfully returns a JSON response with the expected data:
curl http://localhost:5000/self \
-H "authorization: bearer <token>"

Whereas the GraphQL query, mentioned above, results in the following error response:
{
  "errors": [
    {
      "extensions": {
        "method": "get",
        "path": "/Self",
        "statusText": "Unauthorized",
        "statusCode": 401,
        "responseHeaders": {
          "connection": "close",
          "content-length": "0",
          "date": "Tue, 06 Oct 2020 22:44:35 GMT",
          "server": "Kestrel",
          "www-authenticate": "Bearer"
        },
        "responseBody": ""
      },
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "message": "Could not invoke operation GET /Self",
      "name": "GraphQLError",
      "nodes": [
        {
          "kind": "Field",
          "name": {
            "kind": "Name",
            "value": "getSelf",
            "loc": {
              "start": 10,
              "end": 17
            }
          },
          "arguments": [],
          "directives": [],
          "selectionSet": {
            "kind": "SelectionSet",
            "selections": [
              {
                "kind": "Field",
                "name": {
                  "kind": "Name",
                  "value": "email",
                  "loc": {
                    "start": 24,
                    "end": 29
                  }
                },
                "arguments": [],
                "directives": [],
                "loc": {
                  "start": 24,
                  "end": 29
                }
              }
            ],
            "loc": {
              "start": 18,
              "end": 33
            }
          },
          "loc": {
            "start": 10,
            "end": 33
          }
        }
      ],
      "originalError": {
        "message": "Could not invoke operation GET /Self",
        "extensions": {
          "method": "get",
          "path": "/Self",
          "statusText": "Unauthorized",
          "statusCode": 401,
          "responseHeaders": {
            "connection": "close",
            "content-length": "0",
            "date": "Tue, 06 Oct 2020 22:44:35 GMT",
            "server": "Kestrel",
            "www-authenticate": "Bearer"
          },
          "responseBody": ""
        },
        "name": "GraphQLError",
        "stack": [
          "GraphQLError: Could not invoke operation GET /Self",
          "    at graphQLErrorWithExtensions (/Documents/blue-moon/node_modules/@graphql-mesh/openapi/index.cjs.js:1888:12)",
          "    at /Documents/blue-moon/node_modules/@graphql-mesh/openapi/index.cjs.js:1404:23",
          "    at processTicksAndRejections (internal/process/task_queues.js:97:5)",
          "    at async /Documents/blue-moon/node_modules/@graphql-mesh/runtime/index.cjs.js:134:32",
          "    at async Promise.all (index 0)",
          "    at async graphqlMiddleware (/Documents/blue-moon/node_modules/express-graphql/index.js:166:18)"
        ]
      },
      "path": ["getSelf"],
      "positions": [10],
      "source": {
        "body": ["query {", "  getSelf {", "    email", "  }", "}", ""],
        "name": "GraphQL request",
        "locationOffset": {
          "line": 1,
          "column": 1
        }
      },
      "stack": [
        "GraphQLError: Could not invoke operation GET /Self",
        "    at graphQLErrorWithExtensions (/Documents/blue-moon/node_modules/@graphql-mesh/openapi/index.cjs.js:1888:12)",
        "    at /Documents/blue-moon/node_modules/@graphql-mesh/openapi/index.cjs.js:1404:23",
        "    at processTicksAndRejections (internal/process/task_queues.js:97:5)",
        "    at async /Documents/blue-moon/node_modules/@graphql-mesh/runtime/index.cjs.js:134:32",
        "    at async Promise.all (index 0)",
        "    at async graphqlMiddleware (/Documents/blue-moon/node_modules/express-graphql/index.js:166:18)"
      ]
    }
  ],
  "data": {
    "getSelf": null
  }
}

On the other hand, requests which do not require authentication resolve just fine.

See https://github.com/Urigo/graphql-mesh/discussions/622#discussioncomment-30341

See #622 (comment)

Thanks for pointing me to the discussion, however even after having updated my `.meshrc.yml the error persists:
sources:
  - name: Default
    handler:
      openapi:
        source: http://localhost:5000/swagger/v3/swagger.json
        baseUrl: http://localhost:5000/
        operationHeaders:
          authorization: "{context.headers.authorization}"

This is the config file, whereas the error is identical. I tried restarting the server after changing the configuration.

Could

Could you share a reproduction repo?

Could you share a reproduction repo?

I cannot share this all's source code, however I can create a minimal reproduction repo tommorow. I may even notice something along the way which will lead me closer to a solution.

We are seeing the same issue. It seems the operationHeaders setting is completely ignored. To reproduce:

We have forked the stripe sample on the graphql-mesh site
The only change is we used the value somedummykey as Bearer token value
https://codesandbox.io/s/black-frost-81pl8?file=/.meshrc.yml
When executing the query the resulting error message in the response is:

We debugged this locally and found that no auth headers are set at all. So we hardcoded the auth header inside the<EMAIL_ADDRESS>
And the the response is as expected:

Note:

When replacing somedummytoken with our stripe key (inside the<EMAIL_ADDRESS>we can query the stripe api just fine as expected

@ardatan I've created a simple express server with a JSON endpoint using express-generator. Next, I set up a log to determine whether headers are reaching the handler. The answer is negative, however it could be that the fix is trivial. Here's the link to the repo.

Some observations:
There are only 2 places where operationHeaders are read from the config as far as I can tell:

Its used to initialize headersFactory, which seems like the right place we should look

https://github.com/Urigo/graphql-mesh/blob/0f17c58c6f8678eeed83ceb4b807fb2b914e165f/packages/handlers/openapi/src/index.ts#L47
the headersFactory in turn is used only in a single place inside the resolverMiddleware function
https://github.com/Urigo/graphql-mesh/blob/0f17c58c6f8678eeed83ceb4b807fb2b914e165f/packages/handlers/openapi/src/index.ts#L74
When we set a console log on the top the body of the  resolverMiddleware function we saw that this method does NOT get executed at all
This leads us to believe that there is something wrong with the logic that decides when the resolverMiddleware is executed.

And its used todo something we are not clear on

https://github.com/Urigo/graphql-mesh/blob/0f17c58c6f8678eeed83ceb4b807fb2b914e165f/packages/handlers/openapi/src/index.ts#L102
Since in this line only the values are used and keys are ignored, this line is either

Not responsible for setting the headers
Or its a bug

The second one is used for getting the names of arguments so we can add them to the fields in the schema.

@ardatan Have you made any progress regarding the matter? It's still early in my investigation however the issue probably doesn't lie in the interpolation library.
function getInterpolatedHeadersFactory(nonInterpolatedHeaders = {}) {
  console.log('nonInterpolatedHeaders', nonInterpolatedHeaders); // logged initially
  return resolverData => {
        console.log('resolverData', resolverData); // not logged even when request is performed
        const headers = new fetchache.Headers();
        for (const headerName in nonInterpolatedHeaders) {
            const headerValue = nonInterpolatedHeaders[headerName];
            if (headerValue) {
                headers.set(headerName, stringInterpolator.parse(headerValue, resolverData));
            }
        }
        return headers;
    };
}

Should be available in<EMAIL_ADDRESS>Could you confirm it works?

I can confirm that the header is now passed correctly! Thank you for the VERY speedy turnaround on this.


Any interest / plans to support REST APIs

This lib looks great, thanks for maintaining it.
We're looking at the Primo REST APIs so we can avoid dealing with whitelisting IPs. Is that anywhere on your roadmap? We (at Temple) would be happy to contribute dev cycles if that's something y'all are planning, or have ideas about.

Hey @bibliotechy, thanks for reaching out. Though there is no formal road map this is a legacy library for us and using the REST APIs for future projects is preferred. I'd like to shift away from a wrapper for everything primo and begin developing modular libraries for individual components of the REST API. We can also build them out as we need to use them which is an easier endeavor than rewriting this library. I think we'll have a use case for this in the next several months but currently that's pretty vague.

@barnabyalter OK, interesting. I'd love to hear more about your modular structure. We're going to be working with the Primo REST Api in the next few weeks, so we will be putting something together for the PNX search and item detail endpoints to start with.
We have started working on an alma api wrapper that's meant to be pretty light weight and unopinionated, but it is still WIP. We're doing users, bibs, acquisitions, etc in the same gem, just separated classes. Our Primo work will probably follow a similar pattern. Would be great to chat at some point about seeing if there is room for shared dev.


Revert "riak-cs: add to nixpkgs"

Reverts NixOS/nixpkgs#20129
See my comment on the original pull request. I think it's messing up Travis.

I'm pretty sure this is normal, unrill hydra has finished the build.

I'm pretty sure this error is normal. Look at this: https://travis-ci.org/NixOS/nixpkgs/jobs/177520347#L776-L783 . It simply exits because the package wasn't meant to be built with an i686 machine. I can check as to why the machine is attempting a build with an i686 machine.

@falsifian this shouldn't even trigger the i686 system. https://github.com/NixOS/nixpkgs/pull/20129/files#diff-9882359e392e39a6115bbac06b20b56eR63

@falsifian got it! Seems like it's a problem with adding a default package to the service module. https://github.com/NixOS/nixpkgs/blob/98a9d815e05dd56aba0f9040d96092335cd90444/nixos/modules/services/databases/riak.nix#L21-L27 <- if you look at this, there's a reason riak avoids a default: when generating the manual, the system attempts to reference derivations of packages that have already been built. On an i686 machine, this is impossible to perform; therefore, the i686 system fails.
I'll delete the default option within the package to make it congruent with the riak package.

@falsifian seems like the system should build now that the default option is removed. Weird that the system would respond as such with that...

f7c097556ba96375bf69b13ed3b0613e59722011 has this issue as well, I think

@mdaiter you ought to use defaultText

@joachifm but stanchion builds fine...hm.
I'll use defaultText and test

@joachifm just pushed with defaultText.

 So we can't provide default options if they don't work on i686 because of travis?
I want hydra pr support. 🙁

@joachifm how should I test against your TravisCI system? Should I open another PR?

@mdaiter but it too adds a service module with a default value set to a package. Always use defaultText for stuff that shouldn't be evaled during manual build (really, anything but trivial data).

@joachifm I'll open another PR with my stanchion default -> defaultText change.

@mdaiter to test, you can build the manual, as in nix-build nixos/release.nix -A manual

@joachifm I'll open that PR for stanchion asap

@joachifm https://github.com/NixOS/nixpkgs/pull/20597
Riak-CS is also up -- just on my branch. Let's get this merged in first.

@joachifm @LnL7 just merged in https://github.com/NixOS/nixpkgs/pull/20597 . Just pushed my Riak CS update to my nixpkgs. Should I open another PR?

I think you can reopen the previous one, since it was reverted

@LnL7 GitHub isn't displaying the option. I'll just open another PR.

@LnL7 https://github.com/NixOS/nixpkgs/pull/20598 <- for the original riak package

@LnL7 @joachifm https://github.com/NixOS/nixpkgs/pull/20599 <- for the new PR


Jf/feature/bam 97

Hey @jzillmann, just found the issue with the EC2 shutdown problem when another instance is running. Could you please give me go for this? Thank you :)

GO! :)


Draft: Use XSLT3 for stylesheets

Description
Changes XSLT style templates from version 1.0 and 2.0 to version 3.0.
There are no changes to the actual code; only the stylesheet headers.
Motivation and Context
This is a pipecleaner change to flush out any external or third-party incompatibilities that might result from switching to XSLT3. Because there are no code changes, the version change is easily reversed to troubleshoot or work around issues.
How Has This Been Tested?
TBD
Type of Changes

New feature (non-breaking change which adds functionality)

Documentation and Compatibility
TBD
Checklist

My code follows the code style of this project.

https://github.com/dita-ot/dita-ot/wiki/XSLT-Coding-Conventions

@stefan-jung - agreed! This will be an exciting step forward in code expressiveness.
When the time comes to actually use some features, I can run the refactoring operation in #4123 to make some code updates programmatically.


Add v5.0.0 upgrade

Describe your changes and provide context
Register v5.0.0 upgrade and update changelog (updated with compare links due to large number of commits
Testing performed to validate your change

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.88%. Comparing base (008ff68) to head (21b9cb6).

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1573      +/-   ##
==========================================
+ Coverage   60.78%   60.88%   +0.09%
==========================================
  Files         366      366
  Lines       26020    26020
==========================================
+ Hits        15816    15841      +25
+ Misses       9203     9175      -28
- Partials     1001     1004       +3

Files
Coverage Δ

app/upgrades.go
40.74% <ø> (ø)

... and 2 files with indirect coverage changes


Support for Xiaomi Mi Temperature and Humidity Sensor 2 (miaomiaoce.sensor_ht.t2)

Device model
miaomiaoce.sensor_ht.t2
Device name
Xiaomi Mi Temperature and Humidity Sensor 2
Does the device require a MiCloud connection?
Do not know but now it does not work without MiCloud force connection
Anything special about the device?
It work with property monitor, but shows luxes instead % of humidity

Added in version 1.6.0

Nice)


Edit state of SI entry

*Issue:*https://github.com/bcgov/entity/issues/18726
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

/gcbrun

Temporary Url for review: https://bcregistry-btr-dev--pr-95-sq27aeed.web.app

/gcbrun

Temporary Url for review: https://bcregistry-btr-dev--pr-95-sq27aeed.web.app

/gcbrun

Temporary Url for review: https://bcregistry-btr-dev--pr-95-sq27aeed.web.app


[FEATURE] Postgres connection driver

Will native PostgreSQL connection driver will be available in Hyperf3? Swoole already included postgres extension in core code, it would be nice to have native driver that will be completely compatible with models/migrations/eloquent etc :) Eloquent in laravel already supports postgres connections

#4436 working on it, if it goes well, maybe it will also be released in Hyperf 2.2

Hi @huangzhhui, any update? Thanks a lot.

already support


Slow

HI,
Your code is brilliant but the output is too slow. How can I increase the frames so its more smoother when trying to do real-time face recognition

`# file: videocaptureasync.py
import threading
import cv2
import copy
class VideoCaptureAsync:
def init(self, width=2688, height=1520):
self.src = 0 #0 if is the camera in your computer or "ip....." if is an ip camera
self.cap = cv2.VideoCapture(self.src)
self.cap.set(cv2.CAP_PROP_FRAME_WIDTH, width)
self.cap.set(cv2.CAP_PROP_FRAME_HEIGHT, height)
self.grabbed, self.frame = self.cap.read()
self.started = False
self.read_lock = threading.Lock()
def set(self, var1, var2):
    self.cap.set(var1, var2)

def start(self):
    if self.started:
        print('[!] Asynchroneous video capturing has already been started.')
        return None
    self.started = True
    self.thread = threading.Thread(target=self.update, args=())
    self.thread.start()
    return self

def update(self):
    while self.started:
        grabbed, frame = self.cap.read()
        with self.read_lock:
            self.grabbed = grabbed
            self.frame = frame

def read(self):
    with self.read_lock:
        frame = self.frame.copy()
        grabbed = self.grabbed
    return grabbed, frame

def stop(self):
    self.started = False
    self.thread.join()

def __exit__(self, exec_type, exc_value, traceback):
    self.cap.release()`

if your main file instead of cap = VideoCapture(0) use this
cap = VideoCaptureAsync()
cap.set(cv2.CAP_PROP_FRAME_WIDTH, 1280)
cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 720)
cap.start()
```

have a method calls read as the VideoCapture
 and befor the cv2.destroyAllwindows use this:
cap.stop()

and done :D hope works for you

Do you have any other methods, such as threading or multiprocessing? I tried the examples but they don't work as fast as I want them to.

have you tried this one?

Well,maybe we have the same problem.


NERTagger stops tagging at first: ? ! .

How to reproduce:
from nltk.tag.stanford import NERTagger
import sys, os

classifier = '/opt/stanford-ner/classifiers/hgc_175m_600.crf.ser.gz'
ner = '/opt/stanford-ner/stanford-ner.jar'
nt = NERTagger(classifier, ner, 'utf-8')

nt.tag('einen schönen. guten abend. freue mich sehr, dass sie dabei sind herzlich'.split())

output:
[(u'einen', u'O'), (u'sch\xf6nen', u'O'), (u'.', u'O')]

However POSTagger works without problem with same texts.

This is an issue with the Stanford Named Entity Tagger, and @longdt219 has reported it here:
https://mailman.stanford.edu/pipermail/java-nlp-user/2015-January/006722.html

@longdt219 issue was because the stanford tools commands in NLTK's API are static:

POS: https://github.com/alvations/nltk/blob/develop/nltk/tag/stanford.py#L126
NER: https://github.com/alvations/nltk/blob/develop/nltk/tag/stanford.py#L159

Hi @alvations,
The problem is not about keeping newlines with -tokenizerOptions "tokenizeNLs=true"
The problem is how to stop stanford tokenizer because the input is already tokenized.
This was done in stanford POS by passing the argument -tokenize false
However this is not implemented in NER and using `-tokenizerFactory edu.stanford.nlp.process.WhitespaceTokenizer's didn't solve the problem as I reported in
https://mailman.stanford.edu/pipermail/java-nlp-user/2015-January/006722.html

@longdt219  please follow up with the java-nlp-user forum.


haskell.packages.ghc910 05/09 fixes of some packages

Description of changes
this is me upstreaming the fixes i used on my flake, the changes are all in one commit but if neccessary i can split either per type of fix or per package.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@eldritch-cookie Do you mind sharing which packages you primarily meant to fix this way?
tbh. maintaining all of these overrides is a bit of a hazzle because of the combination that:

the will quickly produce eval errors when new versions are released for any of the overriden packages and
when we have no hydra jobs for those overrides we won’t notice these eval errors.

The result would also be that you don’t provide much from this being upstream because when it breaks you and we will only notice once it reaches your deployment.
So I am not heavy set on a policy here, but I‘d generally say we shouldn’t accumulate brittle fixes for packages<->ghc combination for which we don’t have CI. Open for suggestions though.

These fixes in specific are mainly hoogle dependencies + dependencies of my own latest project. I thought to contribute them as it could save someone some time.
I understand your concerns and yes unless we evaluate a subsection of the package set, eventually some fixes will become stale but i don't see how that is any worse than not accepting the fixes.
if that is not enough maybe we could build packages with alternative GHC versions only if the package has a maintainer on nixpkgs for that package.

Yeah, makes sense.
So 1. we do actually build hoogle for all ghcs, so this is great. Can you maybe just enable the hoogle job like you enabled the hls job before?
2. sure let’s merge the rest as well, will probably not hurt anyone.

Can you maybe just enable the hoogle job like you enabled the hls job before?

did i enable the hls job? my memory is pretty bad so i may have done that,but i do not remember how to do it


F18 - The "<>" displayed in game when a radio is in use is displayed on the ipad as "d"

Steps to repeat the bug:
-Start Free Fly Mission
-Press ""
-Press "F5" for ATC menu
-Press "F1" to call Batumi
-Press "F1" to call Inbound
-Note the COMM 2 channel window on the iPad changes to "d" during both transmissions instead of the in game symbol that resembles "<>".

Version 1.1(5)
-Start Free Fly Mission
-Press ""
-Press "F5" for ATC menu
-Press "F1" to call Batumi
-Press "F1" to call Inbound
-Note the COMM 2 channel window on the iPad changes to "/" during both transmissions instead of the in game symbol that resembles "<>". I assume this is due to iPad text imitations.
Initial bug seems resolved.

yes, I couldn't find the exact same symbol in the font I'm using.


no taglist , python source code

no taglist , python source code
had installed on ubuntu:

ctags

You can try symbols-tree-nav, that lets you choose an alternate ctags binary (see options). (The one provided for linux may be buggy).